pyxattr/pyxattr.spec

81 lines
2.5 KiB
RPMSpec
Raw Normal View History

2007-04-23 20:47:40 +00:00
Name: pyxattr
Summary: Extended attributes library wrapper for Python
Version: 0.2.2
2008-11-29 06:33:00 +00:00
Release: 4%{?dist}
#license version is precised on a website
License: GPLv2+
2007-04-23 20:47:40 +00:00
Group: Development/Libraries
URL: http://pyxattr.sourceforge.net/
Source: http://downloads.sourceforge.net/pyxattr/pyxattr-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2007-04-25 19:08:35 +00:00
#python-xattr name was used in DAG repository
Provides: python-xattr = %{version}-%{release}
Obsoletes: python-xattr <= %{version}-%{release}
2007-04-23 20:47:40 +00:00
#libattr package is already forced by RPM
Requires: python >= 2.2
BuildRequires: python-devel, libattr-devel
%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
%if 0%{?fedora} >= 9
#%{python_sitelib}/*egg-info - didn't work for me in rawhide
%{_libdir}/python*/site-packages/*egg-info
%endif
2007-04-23 20:47:40 +00:00
%doc ChangeLog MANIFEST NEWS README *.html *.txt
%changelog
2008-11-29 06:33:00 +00:00
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.2.2-4
- Rebuild for Python 2.6
2008-02-20 03:39:18 +00:00
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.2.2-3
- Autorebuild for GCC 4.3
* Tue Jan 15 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.2-2
- added compatibility with Python Eggs forced in F9
* Mon Aug 27 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.2-1
- upgraded to 0.2.2
* Sun Aug 26 2007 Kevin Fenzi <kevin@tummy.com> - 0.2.1-5
- Updated License tag
2007-04-25 19:08:35 +00:00
* Wed Apr 25 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.1-4
- added Provides/Obsoletes tags
2007-04-23 20:47:40 +00:00
* Sat Apr 21 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.2.1-3
- removed redundant after name change "exclude" tag
- comments cleanup
* Wed Apr 18 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 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 <mszpak ATT wp DOTT pl> - 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 <dag@wieers.com> - 0.2-1 - +/
- Initial package. (using DAR)