packages: synce-sync-engine/synce-sync-engine.spec - up to 0.15.1

glen glen at pld-linux.org
Wed Feb 23 12:34:39 CET 2011


Author: glen                         Date: Wed Feb 23 11:34:39 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.15.1

---- Files affected:
packages/synce-sync-engine:
   synce-sync-engine.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: packages/synce-sync-engine/synce-sync-engine.spec
diff -u packages/synce-sync-engine/synce-sync-engine.spec:1.15 packages/synce-sync-engine/synce-sync-engine.spec:1.16
--- packages/synce-sync-engine/synce-sync-engine.spec:1.15	Tue Nov 23 06:49:24 2010
+++ packages/synce-sync-engine/synce-sync-engine.spec	Wed Feb 23 12:34:34 2011
@@ -1,15 +1,16 @@
 # $Revision$, $Date$
 # TODO
 # - move (to private dir) or rename .py files in bindir not to be so generic
+# - %{py_sitescriptdir}/plugins/*.py[co] are duplicate in favour of %{_datadir}/libopensync1/python-plugins?
 Summary:	SynCE - Synchronization engine
 Summary(pl.UTF-8):	SynCE - silnik synchronizacji
 Name:		synce-sync-engine
-Version:	0.15
-Release:	3
+Version:	0.15.1
+Release:	1
 License:	GPL v2+
 Group:		Libraries
-Source0:	http://downloads.sourceforge.net/project/synce/SynCE/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	3ed81acc39e21effe765fb5f3b248d73
+Source0:	http://downloads.sourceforge.net/synce/%{name}-%{version}.tar.gz
+# Source0-md5:	724c50f35cdd1fe5efb62588d19ecc52
 URL:		http://www.synce.org/
 BuildRequires:	python
 BuildRequires:	python-setuptools
@@ -20,6 +21,7 @@
 Requires:	python-dbus
 Requires:	python-libxml2
 Requires:	python-libxslt
+Requires:	python-opensync >= 1:0.39-7
 Requires:	python-pygobject
 Requires:	python-pyrapi2 >= 0.12
 Requires:	python-pyrra >= 0.12
@@ -42,6 +44,8 @@
 %{__sed} -i -e "#sys.path.insert(0,#d" tools/*.py
 
 %build
+CC="%{__cc}" \
+CFLAGS="%{rpmcflags}" \
 %{__python} setup.py build
 
 %install
@@ -50,7 +54,8 @@
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
 
-install -Dp plugins/synce-opensync-plugin-3x.py $RPM_BUILD_ROOT%{_libdir}/opensync-1.0/python-plugins/synce-opensync-plugin-3x.py
+install -d $RPM_BUILD_ROOT%{_datadir}/libopensync1/python-plugins
+install -Dp plugins/synce-opensync-plugin-3x.py $RPM_BUILD_ROOT%{_datadir}/libopensync1/python-plugins
 install -Dp config/org.synce.SyncEngine.service $RPM_BUILD_ROOT%{_datadir}/dbus-1/services/org.synce.SyncEngine.service
 install -Dp config/syncengine.conf.xml $RPM_BUILD_ROOT%{_sysconfdir}/syncengine.conf.xml
 
@@ -90,7 +95,7 @@
 %{py_sitescriptdir}/plugins/*.py[co]
 %dir %{py_sitescriptdir}/SyncEngine/wbxml
 %{py_sitescriptdir}/SyncEngine/wbxml/*.py[co]
-%{_libdir}/opensync-1.0/python-plugins/synce-opensync-plugin-3x.py
+%{_datadir}/libopensync1/python-plugins/synce-opensync-plugin-3x.py
 %{_datadir}/dbus-1/services/org.synce.SyncEngine.service
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -99,6 +104,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2011/02/23 11:34:34  glen
+- up to 0.15.1
+
 Revision 1.15  2010/11/23 05:49:24  arekm
 - release 3
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/synce-sync-engine/synce-sync-engine.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list