SPECS: synce-sync-engine.spec - update to 0.11, noarch now

glen glen at pld-linux.org
Sun Jan 27 02:07:58 CET 2008


Author: glen                         Date: Sun Jan 27 01:07:58 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- update to 0.11, noarch now

---- Files affected:
SPECS:
   synce-sync-engine.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/synce-sync-engine.spec
diff -u SPECS/synce-sync-engine.spec:1.2 SPECS/synce-sync-engine.spec:1.3
--- SPECS/synce-sync-engine.spec:1.2	Sun Sep  2 18:57:16 2007
+++ SPECS/synce-sync-engine.spec	Sun Jan 27 02:07:53 2008
@@ -2,12 +2,12 @@
 Summary:	SynCE - Synchronization engine
 Summary(pl.UTF-8):	SynCE - silnik synchronizacji
 Name:		synce-sync-engine
-Version:	0.10.0
-Release:	0.1
+Version:	0.11
+Release:	1
 License:	GPL v2+
 Group:		Libraries
-Source0:	http://dl.sourceforge.net/synce/%{name}-%{version}.tar.gz
-# Source0-md5:	aa70ab8804c0d981e84963010852d3c5
+Source0:	http://dl.sourceforge.net/synce/sync-engine-%{version}.tar.gz
+# Source0-md5:	6c8c6a0ef0e8228269b2f2c00e4c732b
 URL:		http://www.synce.org/
 BuildRequires:	python
 BuildRequires:	rpm-pythonprov
@@ -17,11 +17,12 @@
 Requires:	python-libxml2
 Requires:	python-libxslt
 Requires:	python-pygobject
-Requires:	python-pyrapi2 >= 0.10.0
-Requires:	python-pyrra >= 0.10.0
+Requires:	python-pyrapi2 >= 0.11
+Requires:	python-pyrra >= 0.11
 Requires:	python-pyrtfcomp >= 1.1
-Requires:	synce-odccm >= 0.10.0
+Requires:	synce-odccm >= 0.11
 Requires:	synce-pywbxml >= 0.1
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,23 +32,20 @@
 SynCE - silnik synchronizacji.
 
 %prep
-%setup -q
+%setup -q -n sync-engine-%{version}
 
 # Change python package path to normal on 'tools' folder
 sed -i -e "#sys.path.insert(0,#d" tools/*.py
 
+%build
+python setup.py build
+
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name},%{py_sitedir},%{_libdir}/%{name}/python-plugins}
-install sync-engine $RPM_BUILD_ROOT%{_bindir}
-install tools/*.py $RPM_BUILD_ROOT%{_bindir}
-cp -a engine/* $RPM_BUILD_ROOT%{py_sitedir}
-cp -a config.xml $RPM_BUILD_ROOT%{_datadir}/%{name}
-cp -a tests $RPM_BUILD_ROOT%{_datadir}/%{name}
-cp -a opensync-plugin.py $RPM_BUILD_ROOT%{_libdir}/%{name}/python-plugins/synce.py
+python setup.py install \
+	--root=$RPM_BUILD_ROOT
 
-%py_comp $RPM_BUILD_ROOT%{py_sitedir}
-%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -56,16 +54,27 @@
 %defattr(644,root,root,755)
 %doc CHANGELOG
 %attr(755,root,root) %{_bindir}/clean_partnerships.py
+%attr(755,root,root) %{_bindir}/configure_bindings.py
 %attr(755,root,root) %{_bindir}/create_partnership.py
 %attr(755,root,root) %{_bindir}/delete_partnership.py
-%attr(755,root,root) %{_bindir}/do_sync.py
 %attr(755,root,root) %{_bindir}/list_partnerships.py
-%attr(755,root,root) %{_bindir}/select_partnership.py
 %attr(755,root,root) %{_bindir}/sync-engine
-%{_datadir}/synce-sync-engine
-%{_libdir}/synce-sync-engine
-%{py_sitedir}/*.py[co]
-%{py_sitedir}/formats
+%attr(755,root,root) %{_bindir}/synce-install-plugins.py
+%{py_sitescriptdir}/*.egg-info
+%dir %{py_sitescriptdir}/SyncEngine
+%dir %{py_sitescriptdir}/SyncEngine/formats
+%dir %{py_sitescriptdir}/SyncEngine/formats/tzutils
+%dir %{py_sitescriptdir}/SyncEngine/formats30
+%dir %{py_sitescriptdir}/SyncEngine/formats30/tzutils
+%dir %{py_sitescriptdir}/plugins
+%{py_sitescriptdir}/SyncEngine/*.py[co]
+%{py_sitescriptdir}/SyncEngine/formats/*.py[co]
+%{py_sitescriptdir}/SyncEngine/formats/*.xsl
+%{py_sitescriptdir}/SyncEngine/formats/tzutils/*.py[co]
+%{py_sitescriptdir}/SyncEngine/formats30/*.py[co]
+%{py_sitescriptdir}/SyncEngine/formats30/*.xsl
+%{py_sitescriptdir}/SyncEngine/formats30/tzutils/*.py[co]
+%{py_sitescriptdir}/plugins/*.py[co]
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -73,6 +82,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008-01-27 01:07:53  glen
+- update to 0.11, noarch now
+
 Revision 1.2  2007-09-02 16:57:16  qboosh
 - pl
 - revised deps
================================================================

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



More information about the pld-cvs-commit mailing list