[perl-Storable] Import
Petr Pisar
ppisar at fedoraproject.org
Wed May 29 14:55:35 UTC 2013
commit 892e61be25e7bba4d809e33a83e6e65013ff321c
Author: Petr Písař <ppisar at redhat.com>
Date: Wed May 29 16:55:20 2013 +0200
Import
.gitignore | 1 +
perl-Storable.spec | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..c3cdcb7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Storable-2.39.tar.gz
diff --git a/perl-Storable.spec b/perl-Storable.spec
new file mode 100644
index 0000000..04100d3
--- /dev/null
+++ b/perl-Storable.spec
@@ -0,0 +1,81 @@
+Name: perl-Storable
+Version: 2.39
+Release: 1%{?dist}
+Summary: Persistence for Perl data structures
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Storable/
+Source0: http://www.cpan.org/authors/id/A/AM/AMS/Storable-%{version}.tar.gz
+BuildRequires: perl
+BuildRequires: perl(Config)
+BuildRequires: perl(ExtUtils::MakeMaker)
+# Run-time:
+# Carp substitutes missing Log::Agent
+BuildRequires: perl(Carp)
+BuildRequires: perl(Exporter)
+# Fcntl is optional, but locking is good
+BuildRequires: perl(Fcntl)
+BuildRequires: perl(IO::File)
+# Log::Agent is optional
+BuildRequires: perl(vars)
+BuildRequires: perl(XSLoader)
+# Tests:
+BuildRequires: perl(bytes)
+BuildRequires: perl(integer)
+BuildRequires: perl(overload)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(threads)
+BuildRequires: perl(Safe)
+BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(strict)
+# Optional tests:
+# Data::Dump not used
+# Data::Dumper not used
+BuildRequires: perl(B::Deparse) >= 0.61
+BuildRequires: perl(File::Spec) >= 0.8
+BuildRequires: perl(Hash::Util)
+BuildRequires: perl(Tie::Hash)
+# MD5 is deprecated and not packaged, do not require it
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+# Carp substitutes missing Log::Agent
+Requires: perl(Carp)
+Requires: perl(Config)
+# Fcntl is optional, but locking is good
+Requires: perl(Fcntl)
+Requires: perl(IO::File)
+
+%description
+The Storable package brings persistence to your Perl data structures
+containing scalar, array, hash or reference objects, i.e. anything that
+can be conveniently stored to disk and retrieved at a later time.
+
+%prep
+%setup -q -n Storable-%{version}
+# Remove bundled modules
+rm -rf t/compat
+sed -i -e '/^t\/compat\//d' MANIFEST
+
+%build
+# Be ware hints/linux.pl removes "-ON" from CFLAGS if N > 2 because it can
+# break the code.
+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 {} \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc ChangeLog README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Storable*
+%{_mandir}/man3/*
+
+%changelog
+* Fri May 24 2013 Petr Pisar <ppisar at redhat.com> 2.39-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..acf4293 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0a9b63a6715b11d234d802c63b0c76e6 Storable-2.39.tar.gz
More information about the scm-commits
mailing list