From 76118a59a5a02e1eefafa5446cd66275b2656da6 Mon Sep 17 00:00:00 2001 From: Brian Read Date: Thu, 26 Oct 2023 11:20:45 +0100 Subject: [PATCH] initial commit of file from CVS for perl-Quota on Thu 26 Oct 11:20:45 BST 2023 --- .gitattributes | 1 + .gitignore | 3 ++ Makefile | 21 ++++++++++ Quota-1.8.2.tar.gz | 3 ++ README.md | 10 ++++- contriborbase | 1 + perl-Quota.spec | 98 ++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 136 insertions(+), 1 deletion(-) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 Quota-1.8.2.tar.gz create mode 100644 contriborbase create mode 100644 perl-Quota.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f087b42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1534ba5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.rpm +*.log +*spec-20* diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f7d2a76 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: perl-Quota +# $Id: Makefile,v 1.1 2016/02/04 13:15:53 vip-ire Exp $ +NAME := perl-Quota +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/Quota-1.8.2.tar.gz b/Quota-1.8.2.tar.gz new file mode 100644 index 0000000..657a55d --- /dev/null +++ b/Quota-1.8.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:425bce290a11aa54476c5eb089b9a9ba6bc9bf9697fc5a4d907915a69cf769d6 +size 56793 diff --git a/README.md b/README.md index 1ccb9c5..848e660 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ # perl-Quota -3rd Party (Maintained by Koozali) git repo for perl-Quota smeserver \ No newline at end of file +3rd Party (Maintained by Koozali) git repo for perl-Quota smeserver + +## Description + +
*This description has been generated by an LLM AI system and cannot be relied on to be fully correct.* +*Once it has been checked, then this comment will be deleted* +
+ +Perl-Quota is a Perl library that provides an interface to the file system quota facility on Unix systems. This allows a system administrator to set limits on the amount of disk space and number of files that users can have in specified directories. The library provides functions for checking the current usage, setting quotas, and retrieving user and group information. diff --git a/contriborbase b/contriborbase new file mode 100644 index 0000000..ef36a67 --- /dev/null +++ b/contriborbase @@ -0,0 +1 @@ +sme10 diff --git a/perl-Quota.spec b/perl-Quota.spec new file mode 100644 index 0000000..43b204c --- /dev/null +++ b/perl-Quota.spec @@ -0,0 +1,98 @@ +# $Id: perl-Quota.spec,v 1.4 2023/07/24 22:25:07 trevorb Exp $ +# Authority: shuff +# Upstream: Tom Zoerner + +%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) +%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) + +%define real_name Quota + +Summary: Perl interface to file system quotas +Name: perl-Quota +Version: 1.8.2 +Release: 1%{?dist} +License: Artistic/GPL +Group: Applications/CPAN +URL: http://search.cpan.org/dist/Quota/ + +Packager: Steve Huff +Vendor: Dag Apt Repository, http://dag.wieers.com/apt/ + +Source: http://www.cpan.org/modules/by-module/Quota/Quota-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root + +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::Manifest) +BuildRequires: perl(ExtUtils::ParseXS) +BuildRequires: quota quota-devel + +%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 -n %{real_name}-%{version} + +%build +CFLAGS="%{optflags} -fPIC" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" +%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags} -fPIC" + +%install +%{__rm} -rf %{buildroot} +%{__make} pure_install + +### Clean up buildroot +find %{buildroot} -name .packlist -exec %{__rm} {} \; + +### Clean up docs +find contrib/ -type f -exec %{__chmod} a-x {} \; + +%clean +%{__rm} -rf %{buildroot} + +%files +%defattr(-, root, root, 0755) +%doc CHANGES INSTALL MANIFEST META.yml README contrib/ +%doc %{_mandir}/man3/Quota.3pm* +%{perl_vendorarch}/auto/Quota/ +%{perl_vendorarch}/Quota.pm + +%changelog +* Thu Oct 26 2023 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + + +* Tue Jul 25 2023 Trevor Batley - 1.8.2-1.sme +- Update to latest version 1.8.2 [SME: 12386] +- add additional perl modules in BuildRequires + +* Fri Feb 1 2013 Shad L. Lords - 1.6.7-2.sme +- Add buildrequires so building on rhel6 works [SME: 7253] + +* Fri Apr 13 2012 Steve Huf - 1.6.7-1 +- Updated to version 1.6.7. + +* Wed Jul 22 2009 Christoph Maser - 1.6.3-1 +- Updated to version 1.6.3. + +* Wed Jan 23 2008 Dag Wieers - 1.6.2-1 +- Updated to release 1.6.2. + +* Tue Dec 04 2007 Dag Wieers - 1.6.1-1 +- Updated to release 1.6.1. + +* Sun Nov 18 2007 Dag Wieers - 1.6.0-1 +- Updated to release 1.6.0. + +* Sat Nov 5 2005 Dries Verachtert - 1.5.1-1 +- Updated to release 1.5.1. + +* Wed Dec 08 2004 Dries Verachtert - 1.5.0 +- Initial package.