From 77a8c8a603a84a6d1053e95dda2e035ea35b6f55 Mon Sep 17 00:00:00 2001 From: Marcin Zajaczkowski Date: Apr 23 2007 20:47:40 +0000 Subject: Initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..587b46a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +pyxattr-0.2.1.tar.gz diff --git a/pyxattr.spec b/pyxattr.spec new file mode 100644 index 0000000..120b056 --- /dev/null +++ b/pyxattr.spec @@ -0,0 +1,54 @@ +Name: pyxattr +Summary: Extended attributes library wrapper for Python +Version: 0.2.1 +Release: 3%{?dist} +License: GPL +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) +#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 +%doc ChangeLog MANIFEST NEWS README *.html *.txt + +%changelog +* 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) diff --git a/sources b/sources index e69de29..212bcf9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c2c28332bbeefc2cf0627ecb4c10c9b0 pyxattr-0.2.1.tar.gz