77a8c8a
Name: 		pyxattr
77a8c8a
Summary: 	Extended attributes library wrapper for Python
9f4a63e
Version: 	0.5.0
9f4a63e
Release: 	1%{?dist}
04cb5a8
#license version is precised on a website
9f05f3b
License: 	LGPLv2+
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
9f05f3b
#python-setuptools package is required since 0.4.0
9f05f3b
BuildRequires:	python-devel, libattr-devel, python-setuptools
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
9f05f3b
#Python Eggs already in source distribution
9f05f3b
#(without compiled content, can be simple included in RPM package)
16bdc9a
%{_libdir}/python*/site-packages/*egg-info
9f05f3b
%doc COPYING NEWS README
77a8c8a
77a8c8a
%changelog
9f4a63e
* Sun Dec 27 2009 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.5.0-1
9f4a63e
- updated to 0.5.0
9f4a63e
- added support for unicode filenames (bug 479417)
9f4a63e
9f4a63e
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-4
9f4a63e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9f4a63e
818594d
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-3
818594d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
818594d
9f05f3b
* Sat Dec 6 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.4.0-2
9f05f3b
- added python-setuptools in BuildRequires which is needed in build process
9f05f3b
since version 0.4.0 (thanks to Kevin Fenzi)
9f05f3b
9f05f3b
* Fri Dec 5 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.4.0-1
9f05f3b
- updated to 0.4.0
9f05f3b
- License Tag adjusted to current licensing LGPLv2+
9f05f3b
- modified Python Eggs support due to its usage in source distribution 
9f05f3b
a0b6ecb
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.2.2-4
a0b6ecb
- Rebuild for Python 2.6
a0b6ecb
12b3bf0
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.2.2-3
12b3bf0
- Autorebuild for GCC 4.3
12b3bf0
1830d73
* Tue Jan 15 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.2-2
1830d73
- added compatibility with Python Eggs forced in F9 
1830d73
c2ccf79
* Mon Aug 27 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.2-1
04cb5a8
- upgraded to 0.2.2
c2ccf79
c2ccf79
* Sun Aug 26 2007 Kevin Fenzi <kevin@tummy.com> - 0.2.1-5
c2ccf79
 - Updated License tag
04cb5a8
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)