%define rname pylibacl Summary: Posix ACL module for Python Name: python-%{rname} Version: 0.5.1 Release: %mkrel 2 License: GPL Group: Development/Python URL: http://%{rname}.sourceforge.net Source0: https://github.com/downloads/iustin/%{rname}/%{rname}-%{version}.tar.gz BuildRequires: acl-devel BuildRequires: python-devel BuildRequires: python-setuptools Provides: %{rname} = %{version}-%{release} Obsoletes: %{rname} %description This is an extension for Python which implements POSIX ACLs (POSIX.1e). %prep %setup -q -n %{rname}-%{version} %build env CFLAGS="%{optflags}" python setup.py build %install rm -rf %{buildroot} python setup.py install --root=%{buildroot} --record=INSTALLED_FILES %clean rm -rf %{buildroot} %files -f INSTALLED_FILES %defattr(-,root,root) #%doc README %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.5.1-2.mga3 + Revision: 379375 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Sep 08 2012 philippem <philippem> 0.5.1-1.mga3 + Revision: 290088 - New upstream release 0.5.1 * Thu Apr 14 2011 ahmad <ahmad> 0.5.0-2.mga1 + Revision: 85433 - imported package python-pylibacl