SPECS: synce-kde.spec - revert back to syn

glen glen at pld-linux.org
Sun Jan 27 14:57:25 CET 2008

Author: glen                         Date: Sun Jan 27 13:57:25 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- revert back to syn

---- Files affected:
   synce-kde.spec (1.14 -> 1.15) 

---- Diffs:

Index: SPECS/synce-kde.spec
diff -u SPECS/synce-kde.spec:1.14 SPECS/synce-kde.spec:1.15
--- SPECS/synce-kde.spec:1.14	Sun Jan 27 03:27:02 2008
+++ SPECS/synce-kde.spec	Sun Jan 27 14:57:20 2008
@@ -1,58 +1,163 @@
 # $Revision$, $Date$
-# - pl
-# - python deps
-Summary:	SynCE KDE PDA Manager
+# - split to subpackages
+#  - kde-kio_rapip
+#  - what else?
+# Conditional build:
+%bcond_without	agsync		# skip building agsyn
+Summary:	KDE-Integration of SynCE. Kio-slave and Tray-Icon
+Summary(pl.UTF-8):	Integracja SynCE z KDE - moduł kio-slave i ikona zasobnika systemowego
 Name:		synce-kde
-Version:	0.11
-Release:	0.1
-License:	GPL v2
+Version:	0.9.1
+Release:	5
+License:	MIT
 Group:		X11/Applications
-Source0:	http://dl.sourceforge.net/synce/synce-kpm-%{version}.tar.gz
-# Source0-md5:	89d3f7352ddc7bc64a44353466da802e
+#Source0:	http://dl.sourceforge.net/synce/%{name}-%{version}.tar.gz
+Source0:	%{name}-20071111.3047.tar.bz2
+# Source0-md5:	6f10bae63f93d16fcce968085e35d985
+#Patch100:	%{name}-branch.diff
+Patch0:		kde-common-PLD.patch
+Patch1:		kde-am.patch
+Patch2:		kde-ac260.patch
+Patch3:		kde-ac260-lt.patch
+Patch4:		%{name}-desktop.patch
+Patch5:		%{name}-am.patch
 URL:		http://www.synce.org/
-BuildRequires:	python
+%{?with_agsync:BuildRequires:	agsync-devel}
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	kdelibs-devel
 BuildRequires:	rpmbuild(macros) >= 1.213
-#Requires:	PyQT4
-Obsoletes:	synce-kde-agsync
-Obsoletes:	synce-kde-devel
-BuildArch:	noarch
+BuildRequires:	synce-dynamite-libs-devel >= 0.1-3
+BuildRequires:	synce-orange-libs-devel >= 0.3-2
+BuildRequires:	synce-rra-devel >= 0.10.0
+BuildRequires:	synce-unshield-libs-devel >= 0.5-2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Device Manager for WM5+ devices for KDE.
+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 Activesync. It claims to be better
+  than Activesync in future.
+%description -l pl.UTF-8
+Ten pakiet integruje SynCE z KDE. Składa się z modułu kio_slave
+(RAPIP), aplikacji zasobnika systemowego KDE (RAKI) i rozszerzonego
+zarządcy bezpośredniego połączenia kabelkiem (VDCCM).
+- RAPIP pozwala w sposób przezroczysty pracować z PocketPC poprzez
+  Konquerora.
+- RAKI to linuksowa wersja Activesynca; w przyszłości ma być lepsza
+  niż Activesync.
+%package devel
+Summary:	Header files for the Synce KDE
+Summary(pl.UTF-8):	Pliki nagłówkowe dla Synce KDE
+Group:		X11/Development/Libraries
+# doesn't require base
+%description devel
+Header files for the Synce KDE.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla Synce KDE.
+%package agsync
+Summary:	AvantGo Synchronizer for KDE
+Summary(pl.UTF-8):	Synchronizacja AvantGo dla KDE
+Group:		X11/Applications
+%description agsync
+AvantGo Synchronizer for KDE.
+%description agsync -l pl.UTF-8
+Synchronizacja AvantGo dla KDE.
-%setup -q -n synce-kpm-%{version}
+%setup -q -n %{name}
+#%patch100 -p1
+%patch0 -p1
+%patch1 -p1
+#%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
-python setup.py build
+cp -f /usr/share/automake/config.sub admin
+%{__make} -f admin/Makefile.common cvs
+%configure \
+%if "%{_lib}" == "lib64"
+	--enable-libsuffix=64 \
+	--%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
+	--with-qt-libraries=%{_libdir}
-python setup.py install \
-	--root=$RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/synceKPM
-mv $RPM_BUILD_ROOT{/usr/synceKPM/data/*,%{_datadir}/synceKPM}
+%{__make} install \
+	kde_htmldir=%{_kdedocdir} \
+	kde_libs_htmldir=%{_kdedocdir} \
+	kdelnkdir=%{_desktopdir}/kde \
+%find_lang %{name} --with-kde
+# note: separate on package split
+%find_lang raki --with-kde
+cat raki.lang >> %{name}.lang
+%files -f %{name}.lang
-%attr(755,root,root) %{_bindir}/synce-kpm
-%dir %{py_sitescriptdir}/synceKPM
-%dir %{py_sitescriptdir}/synceKPM/dialogs
-%dir %{py_sitescriptdir}/synceKPM/util
+%attr(755,root,root) %{_bindir}/raki
+#%attr(755,root,root) %{_bindir}/vdccm
+%attr(755,root,root) %{_libdir}/kde3/kio_rapip.so
+%dir %{_datadir}/apps/raki
+%dir %{_datadir}/apps/raki/scripts
+%attr(755,root,root) %{_datadir}/apps/raki/scripts/vdccm.sh
+%attr(755,root,root) %{_datadir}/apps/raki/scripts/dccm.sh
+%files devel
+%if %{with agsync}
+%files agsync
+%attr(755,root,root) %{_libdir}/kde3/rakiagsync.so
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -60,6 +165,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
+Revision 1.15  2008-01-27 13:57:20  glen
+- revert back to syn
 Revision 1.14  2008-01-27 02:27:02  glen
 - update to 0.11, all rewritten in python

---- CVS-web:

More information about the pld-cvs-commit mailing list