initial import

This commit is contained in:
Chris Weyl 2007-04-30 15:41:08 +00:00
parent a4e90a3ee5
commit e5086d72f3
3 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1 @@
Data-Dump-1.08.tar.gz

58
perl-Data-Dump.spec Normal file
View File

@ -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 <cweyl@alumni.drew.edu> 1.08-1
- Specfile autogenerated by cpanspec 1.70.

View File

@ -0,0 +1 @@
a61c1537bdb484b909cfb9a514853838 Data-Dump-1.08.tar.gz