SPECS: synce-kde.spec - update to 0.11, all rewritten in python

glen glen at pld-linux.org
Sun Jan 27 03:27:08 CET 2008


Author: glen                         Date: Sun Jan 27 02:27:08 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update to 0.11, all rewritten in python

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

---- Diffs:

================================================================
Index: SPECS/synce-kde.spec
diff -u SPECS/synce-kde.spec:1.13 SPECS/synce-kde.spec:1.14
--- SPECS/synce-kde.spec:1.13	Sun Nov 25 10:38:07 2007
+++ SPECS/synce-kde.spec	Sun Jan 27 03:27:02 2008
@@ -1,161 +1,58 @@
 # $Revision$, $Date$
 # TODO
-# - 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
+# - pl
+# - python deps
+Summary:	SynCE KDE PDA Manager
 Name:		synce-kde
-Version:	0.9.1
-Release:	3.4
-License:	MIT
+Version:	0.11
+Release:	0.1
+License:	GPL v2
 Group:		X11/Applications
-#Source0:	http://dl.sourceforge.net/synce/%{name}-%{version}.tar.gz
-Source0:	synce-kde-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
+Source0:	http://dl.sourceforge.net/synce/synce-kpm-%{version}.tar.gz
+# Source0-md5:	89d3f7352ddc7bc64a44353466da802e
 URL:		http://www.synce.org/
-%{?with_agsync:BuildRequires:	agsync-devel}
-BuildRequires:	autoconf
-BuildRequires:	automake
-BuildRequires:	kdelibs-devel
+BuildRequires:	python
 BuildRequires:	rpmbuild(macros) >= 1.213
-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
+#Requires:	PyQT4
+Obsoletes:	synce-kde-agsync
+Obsoletes:	synce-kde-devel
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %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 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.
+Device Manager for WM5+ devices for KDE.
 
 %prep
-%setup -q -n synce-kde
-#%patch100 -p1
-%patch0 -p1
-%patch1 -p1
-#%patch2 -p1
-%patch3 -p1
-%patch4 -p1
+%setup -q -n synce-kpm-%{version}
 
 %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}
+python setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
+python setup.py install \
+	--root=$RPM_BUILD_ROOT
+
+%py_postclean
 
-%{__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
+install -d $RPM_BUILD_ROOT%{_datadir}/synceKPM
+mv $RPM_BUILD_ROOT{/usr/synceKPM/data/*,%{_datadir}/synceKPM}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f %{name}.lang
+%files
 %defattr(644,root,root,755)
-%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
+%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
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -163,6 +60,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2008-01-27 02:27:02  glen
+- update to 0.11, all rewritten in python
+
 Revision 1.13  2007-11-25 09:38:07  qboosh
 - pl
 - added X11 to Groups
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/synce-kde.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list