From 5e878c3b115b8949335c90d7c84af2ac851ca3c2 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 31 2019 12:31:18 +0000 Subject: import pyxattr-0.5.1-5.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6af2373 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/pyxattr-0.5.1.tar.gz diff --git a/.pyxattr.metadata b/.pyxattr.metadata new file mode 100644 index 0000000..574bba6 --- /dev/null +++ b/.pyxattr.metadata @@ -0,0 +1 @@ +1ffe50036b6b54379fa2a423f3e821105b39c6df SOURCES/pyxattr-0.5.1.tar.gz diff --git a/SPECS/pyxattr.spec b/SPECS/pyxattr.spec new file mode 100644 index 0000000..02f393c --- /dev/null +++ b/SPECS/pyxattr.spec @@ -0,0 +1,125 @@ +Name: pyxattr +Summary: Extended attributes library wrapper for Python +Version: 0.5.1 +Release: 5%{?dist} +#license version is precised on a website +License: LGPLv2+ +Group: Development/Libraries +URL: http://pyxattr.sourceforge.net/ +Source: https://github.com/downloads/iustin/pyxattr/pyxattr-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +#libattr package is already forced by RPM +Requires: python >= 2.2 +#python-setuptools package is required since 0.4.0 +BuildRequires: python-devel, libattr-devel, python-setuptools + +%description +Python extension module wrapper for libattr. It allows to query, list, +add and remove extended attributes 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/xattr.so +#Python Eggs already in source distribution +#(without compiled content, can be simple included in RPM package) +%{_libdir}/python*/site-packages/*egg-info +%doc COPYING NEWS README + +%changelog +* Fri Jan 24 2014 Daniel Mach - 0.5.1-5 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 0.5.1-4 +- Mass rebuild 2013-12-27 + +* Thu Feb 14 2013 Fedora Release Engineering - 0.5.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 0.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jun 26 2012 Marcin Zajaczkowski - 0.5.1-1 +- updated to 0.5.1 +- fix bugs found with cpychecker (bug 809974) + +* Mon Feb 27 2012 Marcin Zajaczkowski - 0.5.0-5 +- remove prodive/obsolete of python-xattr (bug 781838) +- fix problem with mixed use of tabs and spaces + +* Sat Jan 14 2012 Fedora Release Engineering - 0.5.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 0.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Jul 22 2010 David Malcolm - 0.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Sun Dec 27 2009 Marcin Zajaczkowski - 0.5.0-1 +- updated to 0.5.0 +- added support for unicode filenames (bug 479417) + +* Sun Jul 26 2009 Fedora Release Engineering - 0.4.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Dec 6 2008 Marcin Zajaczkowski - 0.4.0-2 +- added python-setuptools in BuildRequires which is needed in build process +since version 0.4.0 (thanks to Kevin Fenzi) + +* Fri Dec 5 2008 Marcin Zajaczkowski - 0.4.0-1 +- updated to 0.4.0 +- License Tag adjusted to current licensing LGPLv2+ +- modified Python Eggs support due to its usage in source distribution + +* 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-5 + - Updated License tag + +* Wed Apr 25 2007 Marcin Zajaczkowski - 0.2.1-4 + - added Provides/Obsoletes tags + +* Sat Apr 21 2007 Marcin Zajaczkowski - 0.2.1-3 + - removed redundant after name change "exclude" tag + - comments cleanup + +* Wed Apr 18 2007 Marcin Zajaczkowski - 0.2.1-2 + - applied suggestions from Kevin Fenzi + - name changed from python-xattr to pyxattr + - corrected path to the source file + +* Thu Apr 5 2007 Marcin Zajaczkowski - 0.2.1-1 + - updated to 0.2.1 + - added python-devel in BuildRequires + - added more doc files + - added Provides section + - modified to Fedora Extras requirements + +* Sun Sep 11 2005 Dag Wieers - 0.2-1 - +/ +- Initial package. (using DAR)