[perl-Scalar-List-Utils] initial import
Iain Arnell
iarnell at fedoraproject.org
Fri Feb 25 03:49:49 UTC 2011
commit 9e948ea80c04824f6ae67f88b121bfc5f7be39d1
Author: Iain Arnell <iarnell at gmail.com>
Date: Fri Feb 25 04:49:47 2011 +0100
initial import
.gitignore | 1 +
perl-Scalar-List-Utils.spec | 63 +++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 65 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ae6b1bb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Scalar-List-Utils-1.23.tar.gz
diff --git a/perl-Scalar-List-Utils.spec b/perl-Scalar-List-Utils.spec
new file mode 100644
index 0000000..a56feea
--- /dev/null
+++ b/perl-Scalar-List-Utils.spec
@@ -0,0 +1,63 @@
+Name: perl-Scalar-List-Utils
+Version: 1.23
+Release: 1%{?dist}
+Summary: A selection of general-utility scalar and list subroutines
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Scalar-List-Utils/
+Source0: http://www.cpan.org/authors/id/G/GB/GBARR/Scalar-List-Utils-%{version}.tar.gz
+BuildRequires: perl(bignum)
+BuildRequires: perl(Config)
+BuildRequires: perl(Devel::Peek)
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(File::Spec)
+BuildRequires: perl(IO::File)
+BuildRequires: perl(IO::Handle)
+BuildRequires: perl(List::Util)
+BuildRequires: perl(Math::BigInt)
+BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(strict)
+BuildRequires: perl(Symbol)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Tie::Handle)
+BuildRequires: perl(vars)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+This package contains a selection of subroutines that people have expressed
+would be nice to have in the perl core, but the usage would not really be
+high enough to warrant the use of a keyword, and the size so small such
+that being individual extensions would be wasteful.
+
+%prep
+%setup -q -n Scalar-List-Utils-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/List*
+%{perl_vendorarch}/Scalar*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Feb 21 2011 Iain Arnell <iarnell at gmail.com> 1.23-1
+- Specfile autogenerated by cpanspec 1.79.
diff --git a/sources b/sources
index e69de29..1460b6b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+2e7909f8737cd6eecd8520b77326916b Scalar-List-Utils-1.23.tar.gz
More information about the perl-devel
mailing list