diff --git a/.cvsignore b/.cvsignore index e69de29..b33b34e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Data-Dumper-Names-0.03.tar.gz diff --git a/perl-Data-Dumper-Names.spec b/perl-Data-Dumper-Names.spec new file mode 100644 index 0000000..9ca7a44 --- /dev/null +++ b/perl-Data-Dumper-Names.spec @@ -0,0 +1,53 @@ +Name: perl-Data-Dumper-Names +Version: 0.03 +Release: 2%{?dist} +Summary: Data::Dumper like module for printing and eval data structures +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Data-Dumper-Names/ +Source0: http://www.cpan.org/authors/id/O/OV/OVID/Data-Dumper-Names-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(Module::Build) +BuildRequires: perl(PadWalker) >= 0.13 +Requires: perl(PadWalker) >= 0.13 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +The essential module Data::Dumper is used for printing perl data structures or +suitable for eval. Data::Dumper::Names dump variables with names and without +source filter. + +%prep +%setup -q -n Data-Dumper-Names-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Apr 6 2009 Marcela Mašláňová 0.03-2 +- remove unnecessary requirement + +* Thu Apr 02 2009 Marcela Mašláňová 0.03-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..10693ff 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +87fb75627801e323f7bc4430c3c97334 Data-Dumper-Names-0.03.tar.gz