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