From e5086d72f3982c89fc30dfa550f086216c2d9e95 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Apr 30 2007 15:41:08 +0000 Subject: initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..76358b7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Data-Dump-1.08.tar.gz diff --git a/perl-Data-Dump.spec b/perl-Data-Dump.spec new file mode 100644 index 0000000..4b20427 --- /dev/null +++ b/perl-Data-Dump.spec @@ -0,0 +1,58 @@ +Name: perl-Data-Dump +Version: 1.08 +Release: 1%{?dist} +Summary: Pretty printing of data structures +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Data-Dump/ +Source0: http://www.cpan.org/authors/id/G/GA/GAAS/Data-Dump-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +# core +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module provides a single function called dump() that takes a list of +values as its argument and produces a string as its result. The string +contains Perl code that, when evaled, produces a deep copy of the original +arguments. The string is formatted for easy reading. + +%prep +%setup -q -n Data-Dump-%{version} + +# make rpmlint happy... +perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/* + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install PERL_INSTALL_ROOT=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc Changes README t/ +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Apr 10 2007 Chris Weyl 1.08-1 +- Specfile autogenerated by cpanspec 1.70. diff --git a/sources b/sources index e69de29..6e82044 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a61c1537bdb484b909cfb9a514853838 Data-Dump-1.08.tar.gz