rpms/perl-Data-Denter/devel import.log, NONE, 1.1 perl-Data-Denter.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Chris Weyl
cweyl at fedoraproject.org
Sat Mar 21 19:30:42 UTC 2009
Author: cweyl
Update of /cvs/extras/rpms/perl-Data-Denter/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv26526/devel
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:HEAD:perl-Data-Denter-0.15-1.fc10.src.rpm:1237663803
--- 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 at alumni.drew.edu> 0.15-1
- update for submission
* Wed Mar 18 2009 Chris Weyl <cweyl at alumni.drew.edu> 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/devel/.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 19:30:11 -0000 1.2
@@ -0,0 +1 @@
+Data-Denter-0.15.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Data-Denter/devel/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 19:30:12 -0000 1.2
@@ -0,0 +1 @@
+819e5c05fb61e90f4c1311286b080405 Data-Denter-0.15.tar.gz
More information about the Fedora-perl-devel-list
mailing list