[perl-Data-Dumper] Import
Petr Pisar
ppisar at fedoraproject.org
Fri Apr 13 13:47:19 UTC 2012
commit 83553c18b485149ddfb3b29e44d65992340c9c59
Author: Petr Písař <ppisar at redhat.com>
Date: Fri Apr 13 15:46:42 2012 +0200
Import
.gitignore | 1 +
perl-Data-Dumper.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f068d31 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Data-Dumper-2.131.tar.gz
diff --git a/perl-Data-Dumper.spec b/perl-Data-Dumper.spec
new file mode 100644
index 0000000..70febf5
--- /dev/null
+++ b/perl-Data-Dumper.spec
@@ -0,0 +1,57 @@
+Name: perl-Data-Dumper
+Version: 2.131
+Release: 1%{?dist}
+Summary: Stringify perl data structures, suitable for printing and eval
+License: GPL+ or Artistic
+Group: Development/Libraries
+URL: http://search.cpan.org/dist/Data-Dumper/
+Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/Data-Dumper-%{version}.tar.gz
+BuildRequires: perl(ExtUtils::MakeMaker)
+# Run-time:
+BuildRequires: perl(Carp)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(Scalar::Util)
+BuildRequires: perl(XSLoader)
+# Tests only:
+BuildRequires: perl(Test::More) >= 0.60
+# Optional tests:
+BuildRequires: perl(Encode)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(Scalar::Util)
+Requires: perl(XSLoader)
+
+%{?perl_default_filter}
+
+%description
+Given a list of scalars or reference variables, writes out their contents
+in perl syntax. The references can also be objects. The content of each
+variable is output in a single Perl statement. Handles self-referential
+structures correctly.
+
+%prep
+%setup -q -n Data-Dumper-%{version}
+sed -i '/MAN3PODS/d' Makefile.PL
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$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
+%doc Changes Todo
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Data*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Apr 10 2012 Petr Pisar <ppisar at redhat.com> 2.131-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..b521dec 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+653ac6576e6916446419ae4ba786073f Data-Dumper-2.131.tar.gz
More information about the scm-commits
mailing list