initial commit of file from CVS for perl-Quota on Thu 26 Oct 11:20:45 BST 2023

This commit is contained in:
Brian Read 2023-10-26 11:20:45 +01:00
parent 7c678126c5
commit 76118a59a5
7 changed files with 136 additions and 1 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
*.tar.gz filter=lfs diff=lfs merge=lfs -text

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*.rpm
*.log
*spec-20*

21
Makefile Normal file
View File

@ -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)

BIN
Quota-1.8.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,11 @@
# perl-Quota
3rd Party (Maintained by Koozali) git repo for perl-Quota smeserver
3rd Party (Maintained by Koozali) git repo for perl-Quota smeserver
## Description
<br />*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*
<br />
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.

1
contriborbase Normal file
View File

@ -0,0 +1 @@
sme10

98
perl-Quota.spec Normal file
View File

@ -0,0 +1,98 @@
# $Id: perl-Quota.spec,v 1.4 2023/07/24 22:25:07 trevorb Exp $
# Authority: shuff
# Upstream: Tom Zoerner <tomzo$users,sourceforge,net>
%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 <shuff@vecna.org>
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 <trevor@batley.id.au> - 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 <slords@mail.com> - 1.6.7-2.sme
- Add buildrequires so building on rhel6 works [SME: 7253]
* Fri Apr 13 2012 Steve Huf <shuff@vecna.org> - 1.6.7-1
- Updated to version 1.6.7.
* Wed Jul 22 2009 Christoph Maser <cmr@financial.com> - 1.6.3-1
- Updated to version 1.6.3.
* Wed Jan 23 2008 Dag Wieers <dag@wieers.com> - 1.6.2-1
- Updated to release 1.6.2.
* Tue Dec 04 2007 Dag Wieers <dag@wieers.com> - 1.6.1-1
- Updated to release 1.6.1.
* Sun Nov 18 2007 Dag Wieers <dag@wieers.com> - 1.6.0-1
- Updated to release 1.6.0.
* Sat Nov 5 2005 Dries Verachtert <dries@ulyssis.org> - 1.5.1-1
- Updated to release 1.5.1.
* Wed Dec 08 2004 Dries Verachtert <dries@ulyssis.org> - 1.5.0
- Initial package.