]>
Commit | Line | Data |
---|---|---|
fdcddfd6 AM |
1 | %define module FsQuota |
2 | Summary: Interface to file system quotas on UNIX platforms | |
3 | Name: python3-fsquota | |
4 | Version: 0.1.0 | |
2a4df844 | 5 | Release: 2 |
fdcddfd6 AM |
6 | License: GPL v2 |
7 | Group: Libraries/Python | |
8 | Source0: https://pypi.debian.net/%{module}/%{module}-%{version}.tar.gz | |
9 | # Source0-md5: d741877a2247dd85e6f2daa29dedc111 | |
10 | URL: https://github.com/tomzox/Python-Quota | |
11 | BuildRequires: python3-devel >= 1:3.2 | |
12 | BuildRequires: rpm-pythonprov | |
13 | BuildRequires: rpmbuild(macros) >= 1.714 | |
14 | Requires: python3-modules >= 1:3.2 | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | The quota module allows accessing file system quotas on UNIX | |
19 | platforms. This works both for locally mounted file systems and | |
20 | network file systems (via RPC, i.e. Remote Procedure Call) for all the | |
21 | operating systems listed below. The interface is designed to be | |
22 | independent of UNIX flavours as well as file system types. | |
23 | ||
24 | %prep | |
25 | %setup -q -n %{module}-%{version} | |
26 | ||
27 | %build | |
28 | %py3_build | |
29 | ||
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | ||
33 | %py3_install | |
34 | ||
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | %files | |
39 | %defattr(644,root,root,755) | |
40 | %doc doc/* CHANGES README.md | |
41 | %attr(755,root,root) %{py3_sitedir}/%{module}*.so | |
42 | %{py3_sitedir}/%{module}-%{version}-py*.egg-info |