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

#
# spec file for package libopensync-plugin-google-calendar
#
# Copyright (c) 2012 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/
#


Name:           libopensync-plugin-google-calendar
Version:        0.22
Release:        0
Summary:        Google Calendar Synchronization Plug-In for OpenSync
License:        GPL-2.0+
Group:          Productivity/Other
Url:            http://www.opensync.org
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  libopensync-devel
BuildRequires:  libtool
BuildRequires:  python-httplib2
BuildRequires:  python-pyOpenSSL
Requires:       python-httplib2
Requires:       pyxml
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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

Additionally install the libopensync package.

%prep
%setup -q

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

%install
%make_install

%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
openSUSE Build Service is sponsored by