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

#
# spec file for package libopensync-plugin-gnokii (Version 0.22)
#
# Copyright (c) 2008 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/
#

# norootforbuild


Name:           libopensync-plugin-gnokii
BuildRequires:  bluez-devel gnokii-devel libical-devel libopensync-devel libusb-devel
Url:            http://www.opensync.org
Version:        0.22
Release:        178
Summary:        Gnokii Synchronization Plug-In for OpenSync
License:        GPL v2 or later
Group:          Productivity/Other
AutoReqProv:    on
Source:         %{name}-%{version}.tar.bz2
Patch0:         libopensync-plugin-gnokii-add_new_entries.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       gnokii >= 0.6.13
%define prefix   /usr

%description
This plug-in allows applications using OpenSync to synchronize to and
from Nokia cell phones which don't support SyncML. Based on gnokii
library.

Additionally install the libopensync package.



Authors:
--------
    Daniel Gollub <dgollub@suse.de>

%prep
%setup -q
%patch0

%build
autoreconf -sfi
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/gnokii_sync.la
rm $RPM_BUILD_ROOT/%{_libdir}/opensync/formats/gnokii.la

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%{_libdir}/opensync/plugins/gnokii_sync.so
%{_libdir}/opensync/formats/gnokii.so
%{_datadir}/opensync/defaults/gnokii-sync
%doc AUTHORS COPYING INSTALL ChangeLog NEWS README

%changelog
* Mon Sep 15 2008 dmueller@suse.de
- adjust buildrequires
* Thu May 24 2007 ro@suse.de
- added libusb-devel to buildreq
* Thu Mar 29 2007 cstender@suse.de
- updated to version 0.22
  o added osync_change_set_member(change, env->member)
  o removed dlr3p patch
* Tue Nov 07 2006 dgollub@suse.de
- added missing conection type dlr3p to config parser [#218667]
* Mon Nov 06 2006 cstender@suse.de
- updated to version 0.20
  o fixed build against new libopensync timeapi
* Fri Sep 29 2006 cstender@suse.de
- updated to version 0.19
  o added new GN_PHONEBOOK_NUMBER type
  o added support for filter-objtype
  o added missing handler of GN_PHONEBOOK_None
  o added missing utc to localtime conversion
  o fixed conversion between localtime and utc
  o fixed wrong udev rule
* Mon Aug 28 2006 cstender@suse.de
- updated to version 0.18+svn1233
  o fixed memory leaks
  o fixed a deadlock
  o replaced xmlNewChild with xmlNewTextChild
* Thu Jul 06 2006 dgollub@suse.de
- initial import of OpenSync plugin gnokii-sync 0.18_SVN1095
openSUSE Build Service is sponsored by