]>
Commit | Line | Data |
---|---|---|
e4198962 JB |
1 | # TODO: |
2 | # - build in %build | |
3 | # - optflags | |
61531ff5 | 4 | |
b58f3990 | 5 | %define module pylibacl |
61531ff5 | 6 | |
b58f3990 | 7 | Summary: A Python module for manipulating POSIX.1e ACLs |
58aa68ab | 8 | Summary(pl.UTF-8): Moduł języka Python pozwalający na dostęp do ACL standardu POSIX.1e |
61531ff5 | 9 | Name: python-%{module} |
488b82cf AF |
10 | Version: 0.2.2 |
11 | Release: 1 | |
61531ff5 AM |
12 | License: GPL |
13 | Group: Libraries/Python | |
69f65f8a | 14 | Source0: http://dl.sourceforge.net/pylibacl/%{module}-%{version}.tar.gz |
488b82cf | 15 | # Source0-md5: 5628def6afb4b8c37040fc42f7c59eec |
61531ff5 AM |
16 | URL: http://pylibacl.sourceforge.net/ |
17 | BuildRequires: acl-devel | |
488b82cf | 18 | BuildRequires: python-devel >= 1:2.5 |
e4198962 | 19 | BuildRequires: rpm-pythonprov |
61531ff5 AM |
20 | %pyrequires_eq python-libs |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
b58f3990 | 24 | A Python module for accessing Extended Attributes of the files. |
61531ff5 | 25 | |
8f3c2347 JR |
26 | %description -l pl.UTF-8 |
27 | Moduł języka Python pozwalający na dostęp do rozszerzonych atrybutów | |
28 | plików. | |
61531ff5 AM |
29 | |
30 | %prep | |
31 | %setup -q -n %{module}-%{version} | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
e4198962 | 36 | %{__python} setup.py install \ |
61531ff5 AM |
37 | --root=$RPM_BUILD_ROOT \ |
38 | --optimize=2 | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
488b82cf | 45 | %doc *.html BENCHMARK IMPLEMENTATION PLATFORMS README ChangeLog |
61531ff5 | 46 | %attr(755,root,root) %{py_sitedir}/*.so |
488b82cf | 47 | %{py_sitedir}/*.egg-info |