initial import
This commit is contained in:
parent
a4e90a3ee5
commit
e5086d72f3
@ -0,0 +1 @@
|
||||
Data-Dump-1.08.tar.gz
|
||||
58
perl-Data-Dump.spec
Normal file
58
perl-Data-Dump.spec
Normal 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.
|
||||
Loading…
Reference in New Issue
Block a user