[Comm] synce-kde.spec (was: сборка - жалоба на осутствие библиотек , которые есть)
Michael Shigorin
=?iso-8859-1?q?mike_=CE=C1_osdn=2Eorg=2Eua?=
Пн Дек 6 02:09:28 MSK 2004
On Sun, Dec 05, 2004 at 06:45:29PM +0300, Yarik wrote:
> Проблемка: не могу собрать программу (synce-kde) - жалуется на
> отсутствие библиотек RRA (checking for
> rra_matchmaker_replace_partnership in -lrra... no configure:
> error: Can't find RRA library), хотя они есть
> (librra&librra-devel). Я даже делал так: subst 's,\.la\>,.so,'
> configure - ничего не помогает. Система: Мастер 2.4
synce-kde небось самая свежайшая? Если так, то может
понадобиться обновить librra (вместе с -devel) -- это если
проблема не в банальном ./configure --with-rra или чём подобном.
На всякий -- в аттаче спек, который собирался и работал.
--
---- WBR, Michael Shigorin <mike на altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
----------- следующая часть -----------
Name: synce-kde
Version: 0.8.0
Release: alt1
Summary: KDE Integration of SynCE, kioslave and Tray Icon
License: MIT
Group: Communications
Url: http://synce.sourceforge.net
Source0: %name-%version.tar.gz
Source1: %name.menu
#Patch: synce-kde-0.7.3-alt-configure.patch
# Automatically added by buildreq on Fri Sep 03 2004
BuildRequires: XFree86-libs fontconfig freetype2 gcc-c++ hostinfo kde-settings kdelibs-devel libarts-devel libdynamite-devel libjpeg-devel liborange-devel libpng-devel libqt3-devel librapi2-devel librra-devel libstdc++-devel libsynce-devel libunshield-devel xml-utils zlib-devel
Requires: lib%name = %version
%description
This Package is a KDE-Integration of SynCE. It consists of a kio_slave
(RAPIP), a KDE System-Tray Application (RAKI) and an enhanced direct cable
connection manager (VDCCM).
RAPIP: Lets you transparently interact with your PockePC via konqueror.
RAKI: Is a Linux-Incarnation of Activsync. It claims to be better than
Activesync in future.
%package -n lib%name
Summary: Library for KDE integration of SynCE
Group: Development/C
Requires: kdebase-libkonq
%description -n lib%name
This package contains necessary files to use synchronizer plugins
%package -n lib%name-devel
Summary: Development part of library for KDE integration of SynCE
Group: Development/C
%description -n lib%name-devel
This package contains necessary files to create synchronizer plugins
%prep
%setup -q
#patch -p1
%add_findprov_lib_path %_libdir/kde3
%build
export KDEDIR=%prefix
# awful hack; real fix is to get rid of -Wl,--no-undefined
# in linker cmd line (thanks to morozov@; author contacted)
export LDFLAGS="$LDFLAGS -L%_libdir/qt3/lib -lqt-mt -lkdecore"
%__subst 's,\.la\>,.so,' configure
%configure \
--enable-shared \
--disable-static \
--enable-final \
--disable-rpath \
--with-pic \
--with-xinerama
#--with-agsync=/path/to/agsync
%install
%makeinstall
%__install -d %buildroot%_man1dir %buildroot%_menudir
%__install -m644 *.1 %buildroot%_man1dir/
%__install -m644 %SOURCE1 %buildroot%_menudir/%name
%find_lang %name
%post
%update_menus
%postun
%clean_menus
%post -n lib%name -p /sbin/ldconfig
%postun -n lib%name -p /sbin/ldconfig
# TODO:
# - wrap iptables to enable working NAT?
%files -f %name.lang
%doc AUTHORS ChangeLog NEWS README TODO
%doc %_docdir/HTML/en/*
%_bindir/*
%_datadir/applnk/*/*
%_datadir/apps/raki/
%_datadir/apps/konqueror/servicemenus/*
%_iconsdir/*/*/*/*.png
%_man1dir/*
%_menudir/*
%_datadir/mimelnk/application/*
%_datadir/services/*
%_datadir/servicetypes/*
%files -n lib%name
#_libdir/*.so.*
%_libdir/kde3/*.so
%_libdir/kde3/*.la
%files -n lib%name-devel
#_libdir/*.so
%_includedir/*
# TODO:
# - menu file: fix X-KDE-autostart-condition?
# https://listman.redhat.com/archives/xdg-list/2004-January/msg00095.html
%changelog
* Fri Sep 03 2004 Michael Shigorin <mike на altlinux.ru> 0.8.0-alt1
- 0.8.0
- hacked in missing libraries to link
(many thanks to Alexey Morozov (morozov@) for help!)
- removed lib*.so* from %%files *
* Tue Jun 15 2004 Michael Shigorin <mike на altlinux.ru> 0.7.3-alt1
- patched around faulty librra headers test
* Sun Apr 25 2004 Michael Shigorin <mike на altlinux.ru> 0.7.3-alt1
- 0.7.3
* Wed Dec 17 2003 Michael Shigorin <mike на altlinux.ru> 0.6.1-alt4
- added menu file
- added several missing desktop/protocol files
* Fri Nov 28 2003 Michael Shigorin <mike на altlinux.ru> 0.6.1-alt3
- added missing manpages
- added configure flags
* Fri Nov 28 2003 Michael Shigorin <mike на altlinux.ru> 0.6.1-alt2
- removed %_libdir/*.la
* Sat Nov 08 2003 Michael Shigorin <mike на altlinux.ru> 0.6.1-alt1
- built for ALT Linux
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя : =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Тип : application/pgp-signature
Размер : 189 байтов
Описание: =?iso-8859-1?q?=CF=D4=D3=D5=D4=D3=D4=D7=D5=C5=D4?=
Url : <http://lists.altlinux.org/pipermail/community/attachments/20041206/3e4df52b/attachment-0003.bin>
Подробная информация о списке рассылки community