File python-vobject.spec of Package python-vobject
#
# spec file for package python-vobject (Version 0.8.1c)
#
# Copyright (c) 2006 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/
#
# neededforbuild libusb python-devel
# norootforbuild
Name: python-vobject
BuildRequires: python-devel
Version: 0.8.1c
Release: 0
Summary: A Python iCalendar library
License: Apache 2.0
Group: System/Libraries
Url: http://vobject.skyhouseconsulting.com/
Source0: vobject-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-setuptools
Requires: python-dateutil
%description
vobject is intended to be a full featured Python package for parsing
and generating vCard and vCalendar files. It is being developed in
concert with the Open Source Application Foundation's Chandler project.
%prep
%setup -n vobject-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" \
python setup.py build
%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --root=$RPM_BUILD_ROOT --prefix=%{_prefix}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README.txt LICENSE-2.0.txt ACKNOWLEDGEMENTS.txt
%{python_sitelib}/*
%{_bindir}/*
%changelog
* Sun May 8 2011 - tanktarta@blueyonder.co.uk
- Initial version