]>
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 | 10 | Version: 0.2.2 |
c72401f5 | 11 | Release: 5 |
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 | 16 | URL: http://pylibacl.sourceforge.net/ |
6882473f | 17 | BuildRequires: rpmbuild(macros) >= 1.710 |
61531ff5 | 18 | BuildRequires: acl-devel |
488b82cf | 19 | BuildRequires: python-devel >= 1:2.5 |
e4198962 | 20 | BuildRequires: rpm-pythonprov |
61531ff5 AM |
21 | %pyrequires_eq python-libs |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
23 | ||
24 | %description | |
b58f3990 | 25 | A Python module for accessing Extended Attributes of the files. |
61531ff5 | 26 | |
8f3c2347 JR |
27 | %description -l pl.UTF-8 |
28 | Moduł języka Python pozwalający na dostęp do rozszerzonych atrybutów | |
29 | plików. | |
61531ff5 AM |
30 | |
31 | %prep | |
32 | %setup -q -n %{module}-%{version} | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
b57af143 | 37 | %py_install |
61531ff5 AM |
38 | |
39 | %clean | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
488b82cf | 44 | %doc *.html BENCHMARK IMPLEMENTATION PLATFORMS README ChangeLog |
61531ff5 | 45 | %attr(755,root,root) %{py_sitedir}/*.so |
488b82cf | 46 | %{py_sitedir}/*.egg-info |