File libopensync-plugin-google-calendar.spec of Package libopensync-plugin-google-calendar

#
# spec file for package libopensync-plugin-google-calendar (Version 0.22)
#
# Copyright (c) 2007 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-google-calendar
BuildRequires:  libopensync-devel python-httplib2
URL:            http://www.opensync.org
Version:        0.22
Release:        36
Summary:        Google Calendar Synchronization Plug-In for OpenSync
License:        GPL v2 or later
Group:          Productivity/Other
Autoreqprov:    on
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       python-httplib2 pyxml
%define prefix   /usr

%description
This plug-in allows applications using OpenSync to synchronize to and
from Google Calendar.

Additionally install the libopensync package.



Authors:
--------
    Eduardo Pereira Habkost <ehabkost@raisama.net>

%prep
%setup -q

%build
autoreconf -sfi
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --libdir=%{_libdir} \
%if "%_lib" != "lib" 
	--enable-libsuffix=64 \
%endif
	--localstatedir=%{_localstatedir} \
	--libexecdir=%{_libdir}/opensync
make

%install
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-, root, root)
%doc COPYING README
%{_libdir}/opensync/plugins/*
%{_datadir}/opensync/defaults/*
%{_libdir}/opensync/google-cal-helper

%changelog
* Thu Mar 29 2007 - cstender@suse.de
- bumped up version to 0.22
* Tue Nov 14 2006 - dgollub@suse.de
- adding missing pyxml requires to get parsing of the Google calendar
  API working.
* Mon Nov 06 2006 - cstender@suse.de
- updated to version 0.20
  o fixed out of tree build (OpenSync #374)
* Thu Oct 26 2006 - cstender@suse.de
- require python-httplib2
* Fri Oct 20 2006 - dgollub@suse.de
- initial version of libopensync-plugin-google-calendar (0.19)
openSUSE Build Service is sponsored by