diff --git a/.cvsignore b/.cvsignore index e69de29..46c35f6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Devel-PartialDump-0.13.tar.gz diff --git a/perl-Devel-PartialDump.spec b/perl-Devel-PartialDump.spec new file mode 100644 index 0000000..b35ac6c --- /dev/null +++ b/perl-Devel-PartialDump.spec @@ -0,0 +1,57 @@ +Name: perl-Devel-PartialDump +Version: 0.13 +Release: 1%{?dist} +Summary: Partial dumping of data structures, optimized for argument printing +# from PartialDump.pm +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Devel-PartialDump/ +Source0: http://www.cpan.org/authors/id/F/FL/FLORA/Devel-PartialDump-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Moose) +BuildRequires: perl(namespace::clean) >= 0.08 +BuildRequires: perl(Sub::Exporter) +BuildRequires: perl(Test::use::ok) +BuildRequires: perl(Test::Warn) >= 0.21 +Requires: perl(namespace::clean) >= 0.08 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This module is a data dumper optimized for logging of arbitrary parameters. + +%prep +%setup -q -n Devel-PartialDump-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sun Jul 04 2010 Iain Arnell 0.13-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..e5e1b9e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +54c96daed7cab9f36ac371a209d1c445 Devel-PartialDump-0.13.tar.gz