]> git.pld-linux.org Git - packages/perl-Quota.git/commitdiff
- initial release
authorpius <pius@pld-linux.org>
Wed, 20 Oct 1999 19:46:46 +0000 (19:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Quota.spec -> 1.1

perl-Quota.spec [new file with mode: 0644]

diff --git a/perl-Quota.spec b/perl-Quota.spec
new file mode 100644 (file)
index 0000000..f4d54d9
--- /dev/null
@@ -0,0 +1,66 @@
+Summary:       Quota perl module
+Summary(pl):   Modu³ perla Quota
+Name:          perl-Quota
+Version:       1.2.3
+Release:       3
+Copyright:     GPL
+Group:         Development/Languages/Perl
+Group(pl):     Programowanie/Jêzyki/Perl
+Source:                ftp://ftp.perl.org/pub/CPAN/modules/by-module/Quota/Quota-%{version}.tar.gz
+Patch:         perl-Quota-paths.patch
+BuildRequires: perl >= 5.005_03-10
+%requires_eq   perl
+Requires:      %{perl_sitearch}
+BuildRoot:     /tmp/%{name}-%{version}-root
+
+%description
+Quota perl module.
+
+%description -l pl
+Modu³ perla Quota.
+
+%prep
+%setup -q -n Quota-%{version}
+%patch -p0
+
+%build
+perl Makefile.PL
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/usr/src/examples/%{name}-%{version}
+
+make install DESTDIR=$RPM_BUILD_ROOT
+
+cp -a contrib $RPM_BUILD_ROOT/usr/src/examples/%{name}-%{version}
+
+strip --strip-unneeded $RPM_BUILD_ROOT/%{perl_sitearch}/auto/Quota/*.so
+
+(
+  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Quota
+  sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
+  mv .packlist.new .packlist
+)
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
+        CHANGES README
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc {CHANGES,README}.gz
+
+%{perl_sitearch}/Quota.pm
+
+%dir %{perl_sitearch}/auto/Quota
+%{perl_sitearch}/auto/Quota/.packlist
+%{perl_sitearch}/auto/Quota/autosplit.ix
+%{perl_sitearch}/auto/Quota/Quota.bs
+%attr(755,root,root) %{perl_sitearch}/auto/Quota/Quota.so
+
+%{_mandir}/man3/*
+
+/usr/src/examples/%{name}-%{version}
This page took 0.107001 seconds and 4 git commands to generate.