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