Author: iarnell Update of /cvs/pkgs/rpms/perl-Data-Dump-Streamer/F-10 In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14670/F-10 Modified Files: .cvsignore sources Added Files: perl-Data-Dump-Streamer.spec Log Message: initial import on branches --- NEW FILE perl-Data-Dump-Streamer.spec --- Name: perl-Data-Dump-Streamer Version: 2.08 %define tarversion %{version}-40 Release: 1%{?dist} Summary: Accurately serialize a data structure as Perl code License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Data-Dump-Streamer/ Source0: http://www.cpan.org/authors/id/Y/YV/YVES/Data-Dump-Streamer-%{tarversion}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(B::Utils) >= 0.05 BuildRequires: perl(Compress::Zlib) BuildRequires: perl(Data::Dumper) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(MIME::Base64) BuildRequires: perl(PadWalker) BuildRequires: perl(Test::More) BuildRequires: perl(Text::Balanced) Requires: perl(B::Utils) >= 0.05 Requires: perl(Compress::Zlib) Requires: perl(MIME::Base64) Requires: perl(PadWalker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Given a list of scalars or reference variables, writes out their contents in perl syntax. The references can also be objects. The contents of each variable is output using the least number of Perl statements as convenient, usually only one. Self-referential structures, closures, and objects are output correctly. %prep %setup -q -n Data-Dump-Streamer-%{tarversion} find . -type f | xargs chmod -x # Strip out private provides/requires cat << \EOF > %{name}-prov #!/bin/sh %{__perl_provides} $* |\ sed -e '/perl(Data::Dump::Streamer::_::/d' EOF %define __perl_provides %{_builddir}/Data-Dump-Streamer-%{tarversion}/%{name}-prov chmod +x %{__perl_provides} cat << \EOF > %{name}-req #!/bin/sh %{__perl_requires} $* |\ sed -e '/perl(Data::Dump::Streamer::_::/d' EOF %define __perl_requires %{_builddir}/Data-Dump-Streamer-%{tarversion}/%{name}-req chmod +x %{__perl_requires} %build %{__perl} Makefile.PL NODDS INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -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 README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Data* %{_mandir}/man3/* %changelog * Fri Dec 05 2008 Iain Arnell 2.08-1 - Specfile autogenerated by cpanspec 1.77. - strip private provides/requires Index: .cvsignore =================================================================== RCS file: /cvs/pkgs/rpms/perl-Data-Dump-Streamer/F-10/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 10 Dec 2008 03:33:59 -0000 1.1 +++ .cvsignore 13 Jan 2009 05:00:09 -0000 1.2 @@ -0,0 +1 @@ +Data-Dump-Streamer-2.08-40.tar.gz Index: sources =================================================================== RCS file: /cvs/pkgs/rpms/perl-Data-Dump-Streamer/F-10/sources,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- sources 10 Dec 2008 03:33:59 -0000 1.1 +++ sources 13 Jan 2009 05:00:09 -0000 1.2 @@ -0,0 +1 @@ +162dc81be6df36d184e516b8ef4b7701 Data-Dump-Streamer-2.08-40.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