5e878c
Name:		pyxattr
5e878c
Summary:	Extended attributes library wrapper for Python
5e878c
Version:	0.5.1
5e878c
Release:	5%{?dist}
5e878c
#license version is precised on a website
5e878c
License:	LGPLv2+
5e878c
Group:		Development/Libraries
5e878c
URL:		http://pyxattr.sourceforge.net/
5e878c
Source:		https://github.com/downloads/iustin/pyxattr/pyxattr-%{version}.tar.gz
5e878c
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
5e878c
#libattr package is already forced by RPM
5e878c
Requires:	python >= 2.2
5e878c
#python-setuptools package is required since 0.4.0
5e878c
BuildRequires:	python-devel, libattr-devel, python-setuptools
5e878c
5e878c
%description
5e878c
Python extension module wrapper for libattr. It allows to query, list,
5e878c
add and remove extended attributes from files and directories.
5e878c
5e878c
%prep
5e878c
%setup -q
5e878c
5e878c
%build
5e878c
CFLAGS="%{optflags}" %{__python} setup.py build
5e878c
5e878c
%install
5e878c
%{__rm} -rf %{buildroot}
5e878c
%{__python} setup.py install --root="%{buildroot}" --prefix="%{_prefix}"
5e878c
5e878c
%clean
5e878c
%{__rm} -rf %{buildroot}
5e878c
5e878c
%files
5e878c
%defattr(0644,root,root,0755)
5e878c
%{_libdir}/python*/site-packages/xattr.so
5e878c
#Python Eggs already in source distribution
5e878c
#(without compiled content, can be simple included in RPM package)
5e878c
%{_libdir}/python*/site-packages/*egg-info
5e878c
%doc COPYING NEWS README
5e878c
5e878c
%changelog
5e878c
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.5.1-5
5e878c
- Mass rebuild 2014-01-24
5e878c
5e878c
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.5.1-4
5e878c
- Mass rebuild 2013-12-27
5e878c
5e878c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-3
5e878c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5e878c
5e878c
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
5e878c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5e878c
5e878c
* Tue Jun 26 2012 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.5.1-1
5e878c
- updated to 0.5.1
5e878c
- fix bugs found with cpychecker (bug 809974)
5e878c
5e878c
* Mon Feb 27 2012 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.5.0-5
5e878c
- remove prodive/obsolete of python-xattr (bug 781838)
5e878c
- fix problem with mixed use of tabs and spaces
5e878c
5e878c
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-4
5e878c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5e878c
5e878c
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.0-3
5e878c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5e878c
5e878c
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.5.0-2
5e878c
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
5e878c
5e878c
* Sun Dec 27 2009 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.5.0-1
5e878c
- updated to 0.5.0
5e878c
- added support for unicode filenames (bug 479417)
5e878c
5e878c
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-4
5e878c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5e878c
5e878c
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-3
5e878c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5e878c
5e878c
* Sat Dec 6 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.4.0-2
5e878c
- added python-setuptools in BuildRequires which is needed in build process
5e878c
since version 0.4.0 (thanks to Kevin Fenzi)
5e878c
5e878c
* Fri Dec 5 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.4.0-1
5e878c
- updated to 0.4.0
5e878c
- License Tag adjusted to current licensing LGPLv2+
5e878c
- modified Python Eggs support due to its usage in source distribution 
5e878c
5e878c
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.2.2-4
5e878c
- Rebuild for Python 2.6
5e878c
5e878c
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.2.2-3
5e878c
- Autorebuild for GCC 4.3
5e878c
5e878c
* Tue Jan 15 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.2-2
5e878c
- added compatibility with Python Eggs forced in F9 
5e878c
5e878c
* Mon Aug 27 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.2-1
5e878c
- upgraded to 0.2.2
5e878c
5e878c
* Sun Aug 26 2007 Kevin Fenzi <kevin@tummy.com> - 0.2.1-5
5e878c
 - Updated License tag
5e878c
5e878c
* Wed Apr 25 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.1-4
5e878c
 - added Provides/Obsoletes tags
5e878c
5e878c
* Sat Apr 21 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.1-3
5e878c
 - removed redundant after name change "exclude" tag
5e878c
 - comments cleanup
5e878c
5e878c
* Wed Apr 18 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.1-2
5e878c
 - applied suggestions from Kevin Fenzi
5e878c
 - name changed from python-xattr to pyxattr
5e878c
 - corrected path to the source file
5e878c
5e878c
* Thu Apr 5 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.1-1
5e878c
 - updated to 0.2.1
5e878c
 - added python-devel in BuildRequires
5e878c
 - added more doc files
5e878c
 - added Provides section
5e878c
 - modified to Fedora Extras requirements
5e878c
5e878c
* Sun Sep 11 2005 Dag Wieers <dag@wieers.com> - 0.2-1 - +/
5e878c
- Initial package. (using DAR)