%define srcname libopensync-plugin-synce-rra Name: libopensync-plugin-synce Version: 0.22.1 Release: %{mkrel 1} Summary: Windows Mobile 2003 and earlier plugin for OpenSync License: LGPLv2+ Group: Office URL: http://www.opensync.org Source0: http://sourceforge.net/projects/synce/files/SynCE/%{srcname}-%{version}.tar.gz # Set a nonsense file sync location by default. If the file sync # location exists, the plugin seems to try and sync files even when # this doesn't make any sense, like when syncing with Evolution, which # breaks the sync. Setting the location as blank just tries to sync # every file on the device, so let's use a nonsense folder name. # - AdamW 2008/06 Patch2: libopensync-plugin-synce-0.22-no_default_file.patch BuildRequires: libopensync-devel < 0.30 BuildRequires: librra-devel BuildRequires: libsynce-devel Requires: libopensync >= 1:%{version} BuildRoot: %{_tmppath}/%{name}-%{version} %description This plugin allows applications using OpenSync to synchronise with mobile devices based on Windows Mobile 2003 and earlier, via the SynCE framework. For devices based on Windows Mobile 5 and later, use the synce-opensync-plugin package. %prep %setup -q -n %{srcname}-%{version} %patch2 -p1 -b .file autoreconf -sfi %build %configure2_5x %make %install rm -rf %{buildroot} %makeinstall_std %find_lang %{name} %clean rm -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root) %doc AUTHORS %{_libdir}/opensync/plugins/* %{_datadir}/opensync/defaults/* %changelog * Thu Jul 23 2009 Frederik Himpe <fhimpe@mandriva.org> 0.22.1-1mdv2010.0 + Revision: 399093 - Update to libopensync-plugin-synce-rra 0.22.1 - Remove patches which are not necessary anymore * Wed Jun 04 2008 Adam Williamson <awilliamson@mandriva.org> 0.22-2mdv2009.0 + Revision: 214902 - add no_default_file.patch: set a nonsense file sync location by default to avoid plugin trying to sync files when it shouldn't * Tue Jun 03 2008 Adam Williamson <awilliamson@mandriva.org> 0.22-1mdv2009.0 + Revision: 214799 - add description.patch - improve description of plugin - import libopensync-plugin-synce