File libopensync-plugin-sunbird.spec of Package libopensync-plugin-sunbird
#
# spec file for package libopensync-plugin-sunbird (Version 0.22)
#
# Copyright (c) 2009 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-sunbird
BuildRequires: libopensync-devel neon-devel openssl-devel
Url: http://www.opensync.org
Version: 0.22
Release: 153
Summary: Mozilla Calendar / Sunbird Synchronization Plug-In for OpenSync
License: LGPL v2.1 or later
Group: Productivity/Other
AutoReqProv: on
Source: %{name}-%{version}.tar.bz2
Patch0: libopensync-plugin-sunbird-readonly-fix.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define prefix /usr
%description
This plug-in allows applications using OpenSync to synchronize to and
from Mozilla Calendar / Sunbird.
Additionally install the libopensync package.
Authors:
--------
Markus Meyer <meyer@mesw.de>
%prep
%setup -q
%patch0
%build
autoreconf -sfi
CFLAGS="$RPM_OPT_FLAGS -fgnu89-inline" ./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/sunbird_sync.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%{_libdir}/opensync/plugins/sunbird_sync.so
%{_datadir}/opensync/defaults/sunbird-sync
%doc AUTHORS COPYING INSTALL ChangeLog NEWS README
%changelog
* Wed Aug 15 2007 cstender@suse.de
- added libopensync-plugin-sunbird-readonly-fix.diff, which enables
synchronization with google-calendar
* Wed Jun 13 2007 ro@suse.de
- added -fgnu89-inline to cflags
* Thu Mar 29 2007 cstender@suse.de
- bumped version to 0.22
* Mon Nov 06 2006 cstender@suse.de
- bumped version to 0.20
* Fri Sep 29 2006 cstender@suse.de
- updated to version 0.19
* Mon Aug 28 2006 cstender@suse.de
- updated to version 0.18+svn1233
o added initial support for SSL
* Thu Jul 20 2006 olh@suse.de
- remove neon and openssl from requires
* Thu Jul 06 2006 dgollub@suse.de
- initial import of OpenSync plugin sunbird-sync - 0.18_SVN1095