Author: cweyl Update of /cvs/extras/rpms/perl-Data-Denter/F-9 In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8100/F-9 Modified Files: .cvsignore sources Added Files: import.log perl-Data-Denter.spec Log Message: Initial import. --- NEW FILE import.log --- perl-Data-Denter-0_15-1_fc10:F-9:perl-Data-Denter-0.15-1.fc10.src.rpm:1237676823 --- NEW FILE perl-Data-Denter.spec --- Name: perl-Data-Denter Version: 0.15 Release: 1%{?dist} # Denter.pod -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: An alternative to Data::Dumper and Storable Source: http://search.cpan.org/CPAN/authors/id/I/IN/INGY/Data-Denter-%{version}.tar.gz Url: http://search.cpan.org/dist/Data-Denter 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) BuildRequires: perl(YAML) # test BuildRequires: perl(Data::Dumper) BuildRequires: perl(Test) %description The main problem with Data::Dumper (one of my all-time favorite modules) is that you have to use 'eval()' to deserialize the data you've dumped. This is great if you can trust the data you're evaling, but horrible if you can't. A good alternative is Storable.pm. It can safely thaw your frozen data. But if you want to read/edit the frozen data, you're out of luck, because Storable uses a binary format. Even Data::Dumper's output can be a little cumbersome for larger data objects. Enter Data::Denter. Data::Denter is yet another Perl data serializer/deserializer. It formats nested data structures in an indented fashion. It is optimized for human readability/editability, safe deserialization, and (eventually) speed. %prep %setup -q -n Data-Denter-%{version} %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 %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Wed Mar 18 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.15-1 - update for submission * Wed Mar 18 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.15-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8) Index: .cvsignore =================================================================== RCS file: /cvs/extras/rpms/perl-Data-Denter/F-9/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 20 Mar 2009 03:12:27 -0000 1.1 +++ .cvsignore 21 Mar 2009 23:07:12 -0000 1.2 @@ -0,0 +1 @@ +Data-Denter-0.15.tar.gz Index: sources =================================================================== RCS file: /cvs/extras/rpms/perl-Data-Denter/F-9/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 20 Mar 2009 03:12:27 -0000 1.1 +++ sources 21 Mar 2009 23:07:12 -0000 1.2 @@ -0,0 +1 @@ +819e5c05fb61e90f4c1311286b080405 Data-Denter-0.15.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl Fedora-perl-devel-list mailing list Fedora-perl-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list