77a8c8a
Name: 		pyxattr
77a8c8a
Summary: 	Extended attributes library wrapper for Python
77a8c8a
Version: 	0.2.1
114c596
Release: 	4%{?dist}
77a8c8a
License: 	GPL
77a8c8a
Group: 		Development/Libraries
77a8c8a
URL: 		http://pyxattr.sourceforge.net/
77a8c8a
Source:		http://downloads.sourceforge.net/pyxattr/pyxattr-%{version}.tar.gz
77a8c8a
BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
114c596
#python-xattr name was used in DAG repository
114c596
Provides:	python-xattr = %{version}-%{release}
114c596
Obsoletes:	python-xattr <= %{version}-%{release}
77a8c8a
#libattr package is already forced by RPM
77a8c8a
Requires: 	python >= 2.2
77a8c8a
BuildRequires:	python-devel, libattr-devel
77a8c8a
77a8c8a
%description
77a8c8a
Python extension module wrapper for libattr. It allows to query, list,
77a8c8a
add and remove extended attributes from files and directories.
77a8c8a
77a8c8a
%prep
77a8c8a
%setup -q
77a8c8a
77a8c8a
%build
77a8c8a
CFLAGS="%{optflags}" %{__python} setup.py build
77a8c8a
77a8c8a
%install
77a8c8a
%{__rm} -rf %{buildroot}
77a8c8a
%{__python} setup.py install --root="%{buildroot}" --prefix="%{_prefix}"
77a8c8a
77a8c8a
%clean
77a8c8a
%{__rm} -rf %{buildroot}
77a8c8a
77a8c8a
%files
77a8c8a
%defattr(0644,root,root,0755)
77a8c8a
%{_libdir}/python*/site-packages/xattr.so
77a8c8a
%doc ChangeLog MANIFEST NEWS README *.html *.txt
77a8c8a
77a8c8a
%changelog
114c596
* Wed Apr 25 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.1-4
114c596
 - added Provides/Obsoletes tags
114c596
77a8c8a
* Sat Apr 21 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.1-3
77a8c8a
 - removed redundant after name change "exclude" tag
77a8c8a
 - comments cleanup
77a8c8a
77a8c8a
* Wed Apr 18 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.1-2
77a8c8a
 - applied suggestions from Kevin Fenzi
77a8c8a
 - name changed from python-xattr to pyxattr
77a8c8a
 - corrected path to the source file
77a8c8a
77a8c8a
* Thu Apr 5 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.1-1
77a8c8a
 - updated to 0.2.1
77a8c8a
 - added python-devel in BuildRequires
77a8c8a
 - added more doc files
77a8c8a
 - added Provides section
77a8c8a
 - modified to Fedora Extras requirements
77a8c8a
77a8c8a
* Sun Sep 11 2005 Dag Wieers <dag@wieers.com> - 0.2-1 - +/
77a8c8a
- Initial package. (using DAR)