Summary: SynCE synchronization engine Name: sync-engine Version: 0.12 Release: %mkrel 2 License: GPLv2+ Group: Office Source0: http://prdownloads.sourceforge.net/synce/%{name}-%{version}.tar.gz Source1: synce-config.xml # Better plugin description to differentiate from the other plugin # that handles older devices - AdamW 2008/06 Patch0: sync-engine-0.11.1-description.patch # From Pawel Kot: handle phone numbers with type WORK/HOME and no # subtype (rather than expecting them to have subtype VOICE). Fixes # syncing to synce from Nokia and Blackberry, at least. - AdamW 2008/09 Patch1: sync-engine-0.12-voice.patch URL: http://synce.sourceforge.net/ Buildroot: %{_tmppath}/%{name}-%{version}-root BuildRequires: python-setuptools BuildRequires: python-devel Requires: python-libxslt Requires: python-librtfcomp Requires: python-librra Requires: librapi-python Requires: libxml2-python Requires: pywbxml Requires: python-gobject Requires: python-pyxml Requires: python-dbus Requires: python-sqlite2 %description SynCE synchronization engine. This component handles actual data exchange between a Windows Mobile 5+ device and a synchronization application. %package -n synce-opensync-plugin Summary: synce plugin for opensync Group: Office Requires: libopensync-plugin-python >= 0.22 Requires: %{name} Obsoletes: libopensync-plugin-synce < 0.22 %description -n synce-opensync-plugin SynCE plugin for OpenSync. Allows applications using the OpenSync framework to synchronise with devices handled by SynCE. This is the plugin provided by the SynCE team, rather than that provided by the OpenSync team. This plugin works with Windows Mobile 5 and later devices. %prep %setup -q %patch0 -p1 -b .description %patch1 -p1 -b .voice %build %{__python} ./setup.py build %install rm -rf %{buildroot} mkdir -p %buildroot%{_bindir} %{__python} setup.py install -O1 --skip-build --root %{buildroot} mkdir -p %{buildroot}%{_libdir}/opensync/python-plugins/ mv \ %{buildroot}%{py_puresitedir}/plugins/synce-opensync-plugin-2x.py \ %{buildroot}%{_libdir}/opensync/python-plugins/ rm -fr %{buildroot}%{py_puresitedir}/plugins/ # dbus activation file (causes sync-engine to be run when something # tries to access the dbus service) - AdamW 2008/03, with thanks to # John Carr mkdir -p %{buildroot}%{_datadir}/dbus-1/services cat > %{buildroot}%{_datadir}/dbus-1/services/org.synce.service << EOF [D-BUS Service] Name=org.synce.SyncEngine Exec=/usr/bin/sync-engine EOF # default config for opensync plugin, specifying an empty configuration # so apps like multisync know the plugin needs no config. Note this # will be different for opensync 0.3 / 0.4 - AdamW 2008/03 mkdir -p %{buildroot}%{_datadir}/opensync/defaults cat > %{buildroot}%{_datadir}/opensync/defaults/synce-opensync-plugin << EOF <config></config> EOF # install a default config file mkdir -p %{buildroot}%{_sysconfdir} install -m 0644 config/syncengine.conf.xml %{buildroot}%{_sysconfdir}/syncengine.conf.xml %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc CHANGELOG COPYING %{_bindir}/*py %{_bindir}/%{name} %{_sysconfdir}/syncengine.conf.xml %{_datadir}/dbus-1/services/org.synce.service %{py_puresitedir}/* %files -n synce-opensync-plugin %defattr(-,root,root,-) %{_libdir}/opensync/python-plugins/* %{_datadir}/opensync/defaults/synce-opensync-plugin %changelog * Thu Sep 25 2008 Adam Williamson <awilliamson@mandriva.com> 0.12-2mdv2009.0 + Revision: 288037 - add voice.patch (from Pawel Kot): handle phone number types better * Wed Jul 16 2008 Adam Williamson <awilliamson@mandriva.com> 0.12-1mdv2009.0 + Revision: 236645 - drop config.patch (no longer needed, upstream has a sane config file system now) - drop hal.patch (merged upstream) - adjust config file installation for new config file system - new release 0.12 * Tue Jun 03 2008 Adam Williamson <awilliamson@mandriva.com> 0.11.1-4mdv2009.0 + Revision: 214794 - add description.patch: better description for the opensync plugin * Tue Jun 03 2008 Adam Williamson <awilliamson@mandriva.com> 0.11.1-3mdv2009.0 + Revision: 214447 - rename the opensync plugin so we can ship both the SynCE-provided and opensync-provided ones - improve description - add hal.patch: from upstream SVN, support synce-hal * Thu Apr 24 2008 Adam Williamson <awilliamson@mandriva.com> 0.11.1-2mdv2009.0 + Revision: 197169 - resurrect and rediff config.patch: still needed as we change config.xml location * Wed Apr 16 2008 Adam Williamson <awilliamson@mandriva.com> 0.11.1-1mdv2009.0 + Revision: 194620 - drop all patches (merged upstream) - new release 0.11.1 * Tue Mar 25 2008 Adam Williamson <awilliamson@mandriva.com> 0.11-16mdv2008.1 + Revision: 190174 - reintroduce partnershipdbus.patch, fixed up properly this time * Tue Mar 25 2008 Adam Williamson <awilliamson@mandriva.com> 0.11-15mdv2008.1 + Revision: 190087 - revert last change, it seems to cause synchronization to fail for an as-yet undetermined reason * Mon Mar 24 2008 Adam Williamson <awilliamson@mandriva.com> 0.11-14mdv2008.1 + Revision: 189770 - add partnershipdbus.patch, from upstream SVN: send out a d-bus signal when a partnership is created or deleted * Thu Mar 20 2008 Adam Williamson <awilliamson@mandriva.com> 0.11-13mdv2008.1 + Revision: 189201 - add errors.patch, from upstream SVN: handles errors better, returning an error rather than failing with a python trace; will let synce-kpm behave better in this case * Thu Mar 13 2008 Adam Williamson <awilliamson@mandriva.com> 0.11-12mdv2008.1 + Revision: 187590 - only install the .py file for the opensync plugin, not the .pyo and .pyc, otherwise GUIs list it three times * Thu Mar 13 2008 Adam Williamson <awilliamson@mandriva.com> 0.11-11mdv2008.1 + Revision: 187307 - adapt opensync plugin package to upcoming 0.22 opensync reversion - better description for opensync plugin - few small cleanups * Wed Mar 12 2008 Adam Williamson <awilliamson@mandriva.com> 0.11-10mdv2008.1 + Revision: 187277 - create a dbus activation file so sync-engine gets run when anything tries to access the relevant dbus service * Wed Mar 12 2008 Adam Williamson <awilliamson@mandriva.com> 0.11-9mdv2008.1 + Revision: 187222 - add rapierror.patch, from upstream SVN: fixes bugs in rapi handling which was causing partnerships not to be re-detected when phone was re-plugged or sync-engine started - add comment on config.patch - rename config.patch with version included * Tue Mar 11 2008 Adam Williamson <awilliamson@mandriva.com> 0.11-8mdv2008.1 + Revision: 186937 - install config.xml to the appropriate place (see sync-engine-config.patch) - use %%{buildroot} instead of $RPM_BUILD_ROOT - stop libopensync-plugin-synce from obsoleting itself - add sync-engine-config.patch from upstream SVN: fix #37874 (default config file not created on first run) - slightly modified for better location of config file * Sun Feb 17 2008 Emmanuel Andry <eandry@mandriva.org> 0.11-7mdv2008.1 + Revision: 170031 - fix summary - add an advisory for firt use * Sat Feb 02 2008 Emmanuel Andry <eandry@mandriva.org> 0.11-6mdv2008.1 + Revision: 161488 - fix license - use fedora config.xml file - ship config.xml as doc - better description * Wed Jan 16 2008 Emmanuel Andry <eandry@mandriva.org> 0.11-5mdv2008.1 + Revision: 153840 - opensync plugin have now its own package - add more requires - use python macro - provide opensync plugin * Sat Jan 12 2008 Emmanuel Andry <eandry@mandriva.org> 0.11-2mdv2008.1 + Revision: 149797 - add config file - add missing requires librapi-python - add missing requires librra-python - add missing requires python-librtfcomp - requires python-libxslt * Fri Jan 11 2008 Emmanuel Andry <eandry@mandriva.org> 0.11-1mdv2008.1 + Revision: 147796 - import sync-engine