/[packages]/cauldron/python-xattr/current/SPECS/python-xattr.spec
ViewVC logotype

Annotation of /cauldron/python-xattr/current/SPECS/python-xattr.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 85416 - (hide annotations) (download)
Thu Apr 14 19:24:02 2011 UTC (13 years ago) by ahmad
File size: 910 byte(s)
imported package python-xattr
1 ahmad 85416 %define real_name xattr
2    
3     Summary: Extended attributes for python
4     Name: python-xattr
5     Version: 0.6.1
6     Release: %mkrel 3
7     License: GPL
8     Group: Development/Python
9     URL: http://pypi.python.org/pypi/xattr
10     Source: http://pypi.python.org/packages/source/x/xattr/xattr-%{version}.tar.gz
11     Provides: pyxattr = %{version}-%{release}
12     BuildRequires: libattr-devel
13     BuildRequires: python-setuptools
14     BuildRoot: %{_tmppath}/%{name}--%{version}-%{release}-root
15    
16     %description
17     python-xattr is a C extension module for Python which implements
18     extended attributes manipulation. It is a wrapper on top of the
19     attr C library - see attr(5).
20    
21     %prep
22     %setup -q -n %{real_name}-%{version}
23    
24     %build
25     CFLAGS="%{optflags}" %{__python} setup.py build
26    
27     %install
28     rm -rf %{buildroot}
29     python setup.py install --root="%{buildroot}" --prefix="%{_prefix}"
30    
31     %clean
32     %{__rm} -rf %{buildroot}
33    
34     %files
35     %defattr(-,root,root)
36     %{py_platsitedir}/*
37     %{_bindir}/xattr
38    
39    

  ViewVC Help
Powered by ViewVC 1.1.30