From 1c146fb9aef75d05e5959f777c21b94166827b02 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 09:32:54 +0100 Subject: [PATCH] automatic update by autodist [release 1.7.1-1mamba;Wed Oct 09 2013] --- README.md | 4 +++ perl-Quota.spec | 82 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 perl-Quota.spec diff --git a/README.md b/README.md index 8badd94..c8cb5f3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # perl-Quota +The Quota module provides access to file system quotas. +The quotactl system call or ioctl is used to query or set quotas on the local host, or queries are submitted via RPC to a remote host. +Mount tables can be parsed with getmntent and paths can be translated to device files (or whatever the actual quotactl implementations needs as argument) of the according file system. + diff --git a/perl-Quota.spec b/perl-Quota.spec new file mode 100644 index 0000000..915ba63 --- /dev/null +++ b/perl-Quota.spec @@ -0,0 +1,82 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-Quota +Version: 1.7.1 +Release: 1mamba +Summary: Quota :: Perl interface to file system quotas +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +Source: http://www.cpan.org/authors/id/T/TO/TOMZO/Quota-%{version}.tar.gz +URL: http://www.cpan.org +License: GPL +BuildRequires: perl-devel >= %perl_major_ver +Requires: perl >= %perl_major_ver +BuildRoot: %{_tmppath}/perl-root + +%description +The Quota module provides access to file system quotas. +The quotactl system call or ioctl is used to query or set quotas on the local host, or queries are submitted via RPC to a remote host. +Mount tables can be parsed with getmntent and paths can be translated to device files (or whatever the actual quotactl implementations needs as argument) of the according file system. + +%prep +%setup -q -n Quota-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor + +%make +#tests disabled because it needs a filesystem with quotas on +#make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Wed Oct 09 2013 Automatic Build System 1.7.1-1mamba +- automatic update by autodist + +* Mon Aug 19 2013 Automatic Build System 1.7.0-1mamba +- automatic update by autodist + +* Wed Apr 25 2012 Automatic Build System 1.6.7-1mamba +- automatic version update by autodist + +* Sat Jun 18 2011 Automatic Build System 1.6.6-1mamba +- automatic update by autodist + +* Wed Jan 05 2011 Automatic Build System 1.6.5-1mamba +- automatic update by autodist + +* Sun Jan 17 2010 Automatic Build System 1.6.4-1mamba +- automatic update by autodist + +* Fri Feb 06 2009 Silvan Calarco 1.6.3-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 1.5.1-2mamba +- automatic rebuild by autodist + +* Tue Sep 18 2007 Aleph0 1.5.1-1mamba +- update to 1.5.1 + +* Thu May 06 2004 Silvan Calarco 1.4.10-1qilnx +- first build