/[smeserver]/rpms/perl-Quota/sme10/perl-Quota.spec
ViewVC logotype

Annotation of /rpms/perl-Quota/sme10/perl-Quota.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.4 - (hide annotations) (download)
Mon Jul 24 22:25:07 2023 UTC (16 months, 1 week ago) by trevorb
Branch: MAIN
CVS Tags: perl-Quota-1_8_2-1_el7_sme, HEAD
Changes since 1.3: +5 -2 lines
add additional perl modules BuildRequires

1 trevorb 1.4 # $Id: perl-Quota.spec,v 1.3 2023/07/24 07:55:14 trevorb Exp $
2 vip-ire 1.1 # Authority: shuff
3     # Upstream: Tom Zoerner <tomzo$users,sourceforge,net>
4    
5     %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
6     %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
7    
8     %define real_name Quota
9    
10     Summary: Perl interface to file system quotas
11     Name: perl-Quota
12 brianr 1.2 Version: 1.8.2
13     Release: 1%{?dist}
14 vip-ire 1.1 License: Artistic/GPL
15     Group: Applications/CPAN
16     URL: http://search.cpan.org/dist/Quota/
17    
18     Packager: Steve Huff <shuff@vecna.org>
19     Vendor: Dag Apt Repository, http://dag.wieers.com/apt/
20    
21     Source: http://www.cpan.org/modules/by-module/Quota/Quota-%{version}.tar.gz
22     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
23    
24     BuildRequires: perl
25     BuildRequires: perl(ExtUtils::MakeMaker)
26 trevorb 1.4 BuildRequires: perl(ExtUtils::Manifest)
27     BuildRequires: perl(ExtUtils::ParseXS)
28 vip-ire 1.1 BuildRequires: quota quota-devel
29    
30     %description
31     The Quota module provides access to file system quotas. The
32     quotactl system call or ioctl is used to query or set quotas
33     on the local host, or queries are submitted via RPC to a
34     remote host. Mount tables can be parsed with getmntent and
35     paths can be translated to device files (or whatever the
36     actual quotactl implementations needs as argument) of the
37     according file system.
38    
39     %prep
40     %setup -n %{real_name}-%{version}
41    
42     %build
43     CFLAGS="%{optflags} -fPIC" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
44     %{__make} %{?_smp_mflags} OPTIMIZE="%{optflags} -fPIC"
45    
46     %install
47     %{__rm} -rf %{buildroot}
48     %{__make} pure_install
49    
50     ### Clean up buildroot
51     find %{buildroot} -name .packlist -exec %{__rm} {} \;
52    
53     ### Clean up docs
54     find contrib/ -type f -exec %{__chmod} a-x {} \;
55    
56     %clean
57     %{__rm} -rf %{buildroot}
58    
59     %files
60     %defattr(-, root, root, 0755)
61     %doc CHANGES INSTALL MANIFEST META.yml README contrib/
62     %doc %{_mandir}/man3/Quota.3pm*
63     %{perl_vendorarch}/auto/Quota/
64     %{perl_vendorarch}/Quota.pm
65    
66     %changelog
67 brianr 1.2
68 trevorb 1.4 * Tue Jul 25 2023 Trevor Batley <trevor@batley.id.au> - 1.8.2-1.sme
69 brianr 1.2 - Update to latest version 1.8.2 [SME: 12386]
70 trevorb 1.4 - add additional perl modules in BuildRequires
71 brianr 1.2
72 vip-ire 1.1 * Fri Feb 1 2013 Shad L. Lords <slords@mail.com> - 1.6.7-2.sme
73     - Add buildrequires so building on rhel6 works [SME: 7253]
74    
75     * Fri Apr 13 2012 Steve Huf <shuff@vecna.org> - 1.6.7-1
76     - Updated to version 1.6.7.
77    
78     * Wed Jul 22 2009 Christoph Maser <cmr@financial.com> - 1.6.3-1
79     - Updated to version 1.6.3.
80    
81     * Wed Jan 23 2008 Dag Wieers <dag@wieers.com> - 1.6.2-1
82     - Updated to release 1.6.2.
83    
84     * Tue Dec 04 2007 Dag Wieers <dag@wieers.com> - 1.6.1-1
85     - Updated to release 1.6.1.
86    
87     * Sun Nov 18 2007 Dag Wieers <dag@wieers.com> - 1.6.0-1
88     - Updated to release 1.6.0.
89    
90     * Sat Nov 5 2005 Dries Verachtert <dries@ulyssis.org> - 1.5.1-1
91     - Updated to release 1.5.1.
92    
93     * Wed Dec 08 2004 Dries Verachtert <dries@ulyssis.org> - 1.5.0
94     - Initial package.

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed