File libopensync-plugin-opie.spec of Package libopensync-plugin-opie
#
# spec file for package libopensync-plugin-opie
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libopensync-plugin-opie
BuildRequires: curl-devel
BuildRequires: glib2-devel
BuildRequires: libopensync-devel
BuildRequires: libtool
BuildRequires: libxml2-devel
BuildRequires: openssl-devel
BuildRequires: sqlite-devel
Url: http://www.opensync.org
Version: 0.22
Release: 0
Summary: Opie Synchronization Plug-In for OpenSync
License: GPL-2.0+
Group: Productivity/Other
Source: %{name}-%{version}.tar.bz2
Patch1: libopensync-plugin-opie-0.22-curl-callbacks.patch
Patch2: curl-types.patch
Patch3: libopensync-update-gcc48.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This plug-in allows applications using OpenSync to synchronize to and
from Opie/OpenZaurus and Zaurus (2.X ROM) devices.
Additionally install the libopensync package.
Authors:
--------
Tom Foottit <tom@foottit.com>
QCop support added by: Eike Lang <mail@elang.de>
%prep
%setup -q
%patch1
%patch2 -p0
%patch3
%build
autoreconf -fiv
%configure --disable-static --with-pic
make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT install
# only needed for development and currently there's no package needing it.
rm $RPM_BUILD_ROOT/%{_libdir}/opensync/plugins/opie_sync.la
rm $RPM_BUILD_ROOT/%{_libdir}/opensync/formats/opie.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%{_libdir}/opensync/plugins/opie_sync.so
%{_libdir}/opensync/formats/opie.so
%{_datadir}/opensync/defaults/opie-sync
%doc AUTHORS COPYING README NEWS
%changelog