%define oname vobject Name: python-vobject Version: 0.8.1c Release: %mkrel 3 Summary: A python library for manipulating vCard and vCalendar files Group: Development/Python License: ASL 2.0 Url: http://vobject.skyhouseconsulting.com/ Source0: http://vobject.skyhouseconsulting.com/vobject-0.8.1c.tar.gz Patch0: python-vobject-0.8.1c-no-ez-setup.patch BuildRequires: python-devel BuildRequires: python-dateutil BuildRequires: python-setuptools Requires: python-dateutil Requires: python-setuptools BuildArch: noarch %description VObject is intended to be a full featured python library for parsing and generating vCard and vCalendar files. %prep %setup -q -n %{oname}-%{version} %patch0 -p0 %build CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root %{buildroot} %files %{_bindir}/change_tz %{_bindir}/ics_diff %{python_sitelib}/* %doc ACKNOWLEDGEMENTS.txt LICENSE-2.0.txt README.txt %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.8.1c-3.mga3 + Revision: 379675 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Nov 18 2011 philippem <philippem> 0.8.1c-2.mga2 + Revision: 168931 - Add python-setuptools as requires since it is needed for the ics_diff script * Sun Nov 06 2011 gil <gil> 0.8.1c-1.mga2 + Revision: 164006 - imported package python-vobject