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:
SPECS:
   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$
 # TODO
-# - 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)
 
 %description
-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.
 
 %prep
-%setup -q -n synce-kpm-%{version}
+%setup -q -n %{name}
+#%patch100 -p1
+%patch0 -p1
+%patch1 -p1
+#%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
 
 %build
-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 \
+%endif
+	--%{?debug:en}%{!?debug:dis}able-debug%{?debug:=full} \
+	--with-qt-libraries=%{_libdir}
+
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-python setup.py install \
-	--root=$RPM_BUILD_ROOT
-
-%py_postclean
 
-install -d $RPM_BUILD_ROOT%{_datadir}/synceKPM
-mv $RPM_BUILD_ROOT{/usr/synceKPM/data/*,%{_datadir}/synceKPM}
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	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
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS Changelog README TODO
-%attr(755,root,root) %{_bindir}/synce-kpm
-%dir %{py_sitescriptdir}/synceKPM
-%dir %{py_sitescriptdir}/synceKPM/dialogs
-%dir %{py_sitescriptdir}/synceKPM/util
-%{py_sitescriptdir}/synceKPM/*.py[co]
-%{py_sitescriptdir}/synceKPM/dialogs/*.py[co]
-%{py_sitescriptdir}/synceKPM/util/*.py[co]
-%{py_sitescriptdir}/*.egg-info
-%{_datadir}/synceKPM
+%attr(755,root,root) %{_bindir}/raki
+#%attr(755,root,root) %{_bindir}/vdccm
+%{_libdir}/kde3/kio_rapip.la
+%attr(755,root,root) %{_libdir}/kde3/kio_rapip.so
+%{_desktopdir}/kde/raki.desktop
+%{_datadir}/apps/konqueror/servicemenus/cab_install.desktop
+%{_datadir}/mimelnk/application/x-raki.desktop
+%{_datadir}/services/rapip.protocol
+%{_datadir}/servicetypes/rakisynchronizer.desktop
+%{_iconsdir}/*/*/apps/raki.png
+%{_iconsdir}/*/*/apps/raki_bw.png
+%{_iconsdir}/*/*/apps/rapip.png
+%{_iconsdir}/*/*/apps/rapip_bw.png
+
+%dir %{_datadir}/apps/raki
+%{_datadir}/apps/raki/tips
+%{_datadir}/apps/raki/Infbeg.wav
+%{_datadir}/apps/raki/Infend.wav
+%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
+%defattr(644,root,root,755)
+%{_includedir}/rakiapi.h
+%{_includedir}/rakisyncfactory.h
+%{_includedir}/rakisyncplugin.h
+%{_includedir}/rapiwrapper.h
+%{_includedir}/rra.h
+
+%if %{with agsync}
+%files agsync
+%defattr(644,root,root,755)
+%{_libdir}/kde3/rakiagsync.la
+%attr(755,root,root) %{_libdir}/kde3/rakiagsync.so
+%{_datadir}/services/rakiagsync.desktop
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -60,6 +165,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+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:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/synce-kde.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list