From fdcddfd6b5ec8b366ae06fa7e3c95e60adf896a2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Fri, 26 Nov 2021 12:02:26 +0100 Subject: [PATCH] Initial. --- python3-fsquota.spec | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 python3-fsquota.spec diff --git a/python3-fsquota.spec b/python3-fsquota.spec new file mode 100644 index 0000000..52691a5 --- /dev/null +++ b/python3-fsquota.spec @@ -0,0 +1,42 @@ +%define module FsQuota +Summary: Interface to file system quotas on UNIX platforms +Name: python3-fsquota +Version: 0.1.0 +Release: 1 +License: GPL v2 +Group: Libraries/Python +Source0: https://pypi.debian.net/%{module}/%{module}-%{version}.tar.gz +# Source0-md5: d741877a2247dd85e6f2daa29dedc111 +URL: https://github.com/tomzox/Python-Quota +BuildRequires: python3-devel >= 1:3.2 +BuildRequires: rpm-pythonprov +BuildRequires: rpmbuild(macros) >= 1.714 +Requires: python3-modules >= 1:3.2 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The quota module allows accessing file system quotas on UNIX +platforms. This works both for locally mounted file systems and +network file systems (via RPC, i.e. Remote Procedure Call) for all the +operating systems listed below. The interface is designed to be +independent of UNIX flavours as well as file system types. + +%prep +%setup -q -n %{module}-%{version} + +%build +%py3_build + +%install +rm -rf $RPM_BUILD_ROOT + +%py3_install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc doc/* CHANGES README.md +%attr(755,root,root) %{py3_sitedir}/%{module}*.so +%{py3_sitedir}/%{module}-%{version}-py*.egg-info -- 2.44.0