]> git.pld-linux.org Git - packages/python-pylibacl.git/blob - python-pylibacl.spec
- BR: rpm-pythonprov
[packages/python-pylibacl.git] / python-pylibacl.spec
1 # TODO:
2 # - build in %build
3 # - optflags
4
5 %define         module  pylibacl
6
7 Summary:        A Python module for manipulating POSIX.1e ACLs
8 Summary(pl.UTF-8):      Moduł języka Python pozwalający na dostęp do ACL standardu POSIX.1e
9 Name:           python-%{module}
10 Version:        0.2.2
11 Release:        1
12 License:        GPL
13 Group:          Libraries/Python
14 Source0:        http://dl.sourceforge.net/pylibacl/%{module}-%{version}.tar.gz
15 # Source0-md5:  5628def6afb4b8c37040fc42f7c59eec
16 URL:            http://pylibacl.sourceforge.net/
17 BuildRequires:  acl-devel
18 BuildRequires:  python-devel >= 1:2.5
19 BuildRequires:  rpm-pythonprov
20 %pyrequires_eq  python-libs
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 A Python module for accessing Extended Attributes of the files.
25
26 %description -l pl.UTF-8
27 Moduł języka Python pozwalający na dostęp do rozszerzonych atrybutów
28 plików.
29
30 %prep
31 %setup -q -n %{module}-%{version}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35
36 %{__python} setup.py install \
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)
45 %doc *.html BENCHMARK IMPLEMENTATION PLATFORMS README ChangeLog
46 %attr(755,root,root) %{py_sitedir}/*.so
47 %{py_sitedir}/*.egg-info
This page took 0.084922 seconds and 4 git commands to generate.