From 92dfd1655028f083043363a8159c0b92d0d62c41 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Sat, 20 Feb 2010 23:02:06 +0000 Subject: [PATCH] initial import --- .cvsignore | 1 + import.log | 1 + perl-Data-Dumper-Concise.spec | 65 +++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 68 insertions(+) create mode 100644 import.log create mode 100644 perl-Data-Dumper-Concise.spec diff --git a/.cvsignore b/.cvsignore index e69de29..0f2c0eb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Data-Dumper-Concise-1.100.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..dc76297 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Data-Dumper-Concise-1_100-2_fc12:HEAD:perl-Data-Dumper-Concise-1.100-2.fc12.src.rpm:1266706919 diff --git a/perl-Data-Dumper-Concise.spec b/perl-Data-Dumper-Concise.spec new file mode 100644 index 0000000..005a91f --- /dev/null +++ b/perl-Data-Dumper-Concise.spec @@ -0,0 +1,65 @@ +Name: perl-Data-Dumper-Concise +Version: 1.100 +Release: 2%{?dist} +# lib/Data/Dumper/Concise.pm -> GPL+ or Artistic +License: GPL+ or Artistic +Group: Development/Libraries +Summary: A convenient way to reproduce a set of Dumper options +Source: http://search.cpan.org/CPAN/authors/id/M/MS/MSTROUT/Data-Dumper-Concise-%{version}.tar.gz +Url: http://search.cpan.org/dist/Data-Dumper-Concise +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildArch: noarch + +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Test::More) + +%{?perl_default_filter} + +%description +This module always exports a single function, Dumper, which can be +called with an array of values to dump those values or with no arguments +to return the Data::Dumper object it has created. It exists, +fundamentally, as a convenient way to reproduce a set of Dumper options +that we've found ourselves using across large numbers of applications. + +%prep +%setup -q -n Data-Dumper-Concise-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install DESTDIR=%{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 +%{perl_vendorlib}/* +%{_mandir}/man3/*.3* + +%changelog +* Sat Feb 20 2010 Chris Weyl 1.100-2 +- fix certain typos + +* Fri Feb 05 2010 Chris Weyl 1.100-1 +- submission + +* Fri Feb 05 2010 Chris Weyl 1.100-0 +- initial RPM packaging +- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8) + diff --git a/sources b/sources index e69de29..be31856 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8623d8cca85c0585d629425075fb5df9 Data-Dumper-Concise-1.100.tar.gz