[packages/libopensync02-plugin-synce-rra] - initial
qboosh
qboosh at pld-linux.org
Sun Feb 1 21:24:51 CET 2015
commit 0430ca02578b9f115049a250834c504d059597f0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Feb 1 21:26:56 2015 +0100
- initial
libopensync02-plugin-synce-rra-update.patch | 20 +++++++++++
libopensync02-plugin-synce-rra.spec | 53 +++++++++++++++++++++++++++++
2 files changed, 73 insertions(+)
---
diff --git a/libopensync02-plugin-synce-rra.spec b/libopensync02-plugin-synce-rra.spec
new file mode 100644
index 0000000..24d8d6b
--- /dev/null
+++ b/libopensync02-plugin-synce-rra.spec
@@ -0,0 +1,53 @@
+Summary: OpenSync 0.2x plugin for syncing pre-2005 Windows Mobile devices
+Summary(pl.UTF-8): Wtyczka OpenSync 0.2x do synchronizacji urządzeń Windows Mobile sprzed 2005
+Name: libopensync02-plugin-synce-rra
+Version: 0.22.2
+Release: 1
+License: LGPL v2.1+
+Group: Libraries
+Source0: http://downloads.sourceforge.net/synce/libopensync-plugin-synce-rra-%{version}.tar.gz
+# Source0-md5: 415b63a93262fff48ce293440c2040be
+Patch0: %{name}-update.patch
+URL: http://www.synce.org/
+BuildRequires: glib2-devel >= 2.0
+BuildRequires: libopensync02-devel >= 1:0.22
+BuildRequires: libxml2-devel >= 2.0
+BuildRequires: pkgconfig >= 1:0.9.0
+BuildRequires: synce-core-lib-devel >= 0.16
+BuildRequires: synce-rra-devel >= 0.16
+Requires: synce-core >= 0.16
+Requires: libopensync02 >= 1:0.22
+Obsoletes: libopensync-plugin-synce-rra < 0.30
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+OpenSync 0.2x plugin for syncing pre-2005 Windows Mobile devices.
+
+%description -l pl.UTF-8
+Wtyczka OpenSync 0.2x do synchronizacji urządzeń Windows Mobile sprzed
+wersji 2005.
+
+%prep
+%setup -q -n libopensync-plugin-synce-rra-%{version}
+%patch0 -p1
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/opensync/plugins/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_libdir}/opensync/plugins/synce_plugin.so
+%{_datadir}/opensync/defaults/synce-plugin
diff --git a/libopensync02-plugin-synce-rra-update.patch b/libopensync02-plugin-synce-rra-update.patch
new file mode 100644
index 0000000..d555190
--- /dev/null
+++ b/libopensync02-plugin-synce-rra-update.patch
@@ -0,0 +1,20 @@
+--- libopensync-plugin-synce-rra-0.22.2/src/synce_plugin.c.orig 2009-04-27 19:47:45.000000000 +0200
++++ libopensync-plugin-synce-rra-0.22.2/src/synce_plugin.c 2015-02-01 21:20:22.695791287 +0100
+@@ -160,7 +160,7 @@
+ env->codepage = iconv_codepage;
+
+ //1 - creating matchmaker
+- matchmaker = rra_matchmaker_new();
++ matchmaker = rra_matchmaker_new(NULL);
+ if (!matchmaker){
+ osync_context_report_error(ctx, OSYNC_ERROR_GENERIC, "building matchmaker");
+ return;
+@@ -177,7 +177,7 @@
+ osync_debug("SynCE-SYNC", 4, "partner set");
+
+ //3 -setting timezone
+- if (!rra_timezone_get(&(env->timezone))){
++ if (!rra_timezone_get(&(env->timezone), NULL)){
+ osync_context_report_error(ctx, OSYNC_ERROR_IO_ERROR, "getting timezone");
+ goto exit;
+ }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libopensync02-plugin-synce-rra.git/commitdiff/0430ca02578b9f115049a250834c504d059597f0
More information about the pld-cvs-commit
mailing list