Name: pylibacl Summary: POSIX.1e ACLs library wrapper for python Version: 0.2.2 Release: 7%{?dist} #license version is precised on a website License: GPLv2+ Group: Development/Libraries URL: http://pylibacl.sourceforge.net/ Source: http://downloads.sourceforge.net/pylibacl/pylibacl-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Provides: python-libacl = %{version}-%{release} Obsoletes: python-libacl <= %{version}-%{release} #libacl package is already forced by RPM Requires: python >= 2.2 BuildRequires: python-devel, libacl-devel %description Python extension module for POSIX ACLs. It allows to query, list, add and remove ACLs from files and directories. %prep %setup -q %build CFLAGS="%{optflags}" %{__python} setup.py build %install %{__rm} -rf %{buildroot} %{__python} setup.py install --root="%{buildroot}" --prefix="%{_prefix}" %clean %{__rm} -rf %{buildroot} %files %defattr(0644,root,root,0755) %{_libdir}/python*/site-packages/posix1e.so %if 0%{?fedora} >= 9 #%{python_sitelib}/*egg-info didn't work for me %{_libdir}/python*/site-packages/*egg-info %endif %doc BENCHMARK IMPLEMENTATION MANIFEST PLATFORMS README *.html *.txt %changelog * Sun Jul 26 2009 Fedora Release Engineering - 0.2.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.2.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.2.2-5 - Rebuild for Python 2.6 * Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.2.2-4 - Rebuild for Python 2.6 * Tue Feb 19 2008 Fedora Release Engineering - 0.2.2-3 - Autorebuild for GCC 4.3 * Tue Jan 15 2008 Marcin Zajaczkowski - 0.2.2-2 - added compatibility with Python Eggs forced in F9 * Mon Aug 27 2007 Marcin Zajaczkowski - 0.2.2-1 - upgraded to 0.2.2 * Sun Aug 26 2007 Kevin Fenzi - 0.2.1-7 - Updated License tag * Wed Apr 25 2007 Marcin Zajaczkowski - 0.2.1-6 - added Provides/Obsoletes tags * Sat Apr 21 2007 Marcin Zajaczkowski - 0.2.1-5 - removed redundant after name change "exclude" tag - comments cleanup * Wed Apr 18 2007 Marcin Zajaczkowski - 0.2.1-4 - applied suggestions from Kevin Fenzi - name changed from python-libacl to pylibacl - corrected path to the source file * Fri Apr 6 2007 Marcin Zajaczkowski - 0.2.1-3 - fixed path to a source package * Thu Apr 5 2007 Marcin Zajaczkowski - 0.2.1-2 - added python-devel in BuildRequires - added Provides section - modified to Fedora Extras requirements * Sun Sep 11 2005 Dag Wieers - 0.2.1-1 - Initial package. (using DAR)