File libopensync-plugin-opie.spec of Package libopensync-plugin-opie

#
# spec file for package libopensync-plugin-opie (Version 0.22)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           libopensync-plugin-opie
BuildRequires:  curl-devel glib2-devel libopensync-devel libxml2-devel openssl-devel sqlite-devel
Url:            http://www.opensync.org
Version:        0.22
Release:        101
Summary:        Opie Synchronization Plug-In for OpenSync
License:        GPL v2 or later
Group:          Productivity/Other
AutoReqProv:    on
Source:         %{name}-%{version}.tar.bz2
Patch1:         libopensync-plugin-opie-0.22-curl-callbacks.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       sqlite curl libxml2 openssl glib2
%define prefix   /usr

%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
autoreconf -sfi

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix --libdir=%_libdir --localstatedir=%_localstatedir
make

%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
* Tue Apr 01 2008 mmarek@suse.cz
- fixed build with new curl
* Thu Mar 29 2007 cstender@suse.de
- updated to version 0.22
  o fixed missing call to osync_change_set_member
  o added initial support for syncing notes
  o added support for recurrence of todos
* Mon Nov 06 2006 cstender@suse.de
- updated to version 0.20
  o fixed build against new libopensync timeapi
  o fixed build against new glib version (change of GTime)
  o avoid gcc warnings (-Wno-pointer-sign)
* Tue Oct 10 2006 cstender@suse.de
- updated to version 0.19
  o changed license to GPL
  o replaced xmlNewChild with xmlNewTextChild
  o fixed a bug with special characters in XML (OpenSync #296)
  o added initial todo handling code
  o fixed some memory leaks
  o several bugfixes
* Mon Feb 06 2006 dgollub@suse.de
- initial version of opensync plugin opie (0.18_SVN815)
openSUSE Build Service is sponsored by