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) 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-google-calendar
BuildRequires:  libopensync-devel python-httplib2
Url:            http://www.opensync.org
Version:        0.22
Release:        149
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