perl-Data-Dump-Streamer/perl-Data-Dump-Streamer.spec

Name: perl-Data-Dump-Streamer
Summary: Accurately serialize a data structure as Perl code
Version: 2.09
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Data-Dump-Streamer/
Description: Accurately serialize a data structure as Perl code.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Yves Orton (demerphq)

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

Summary: Accurately serialize a data structure as Perl code
Name: perl-Data-Dump-Streamer
Version: 2.09
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Data-Dump-Streamer/

Source: http://search.cpan.org/CPAN/authors/id/Y/YV/YVES/Data-Dump-Streamer-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)

### Provides required by package itself
Provides: perl(Data::Dump::Streamer::_::Printers)

%description
Accurately serialize a data structure as Perl code.

%prep
%setup -n Data-Dump-Streamer-%{version}

%build
echo "no" | CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes INSTALL.SKIP MANIFEST MANIFEST.SKIP META.yml README
%doc %{_mandir}/man3/Data::Dump::Streamer.3pm*
%dir %{perl_vendorarch}/auto/Data/
%dir %{perl_vendorarch}/auto/Data/Dump/
%{perl_vendorarch}/auto/Data/Dump/Streamer/
%dir %{perl_vendorarch}/Data/
%dir %{perl_vendorarch}/Data/Dump/
%{perl_vendorarch}/Data/Dump/Streamer/
%{perl_vendorarch}/Data/Dump/Streamer.pm

%changelog
* Thu Jul  9 2009 Christoph Maser <cmr@financial.com> - 2.09-1
- Updated to version 2.09.

* Sat Nov 24 2007 Dag Wieers <dag@wieers.com> - 2.05-2
- Added selfcontained provides.

* Fri Nov 23 2007 Dag Wieers <dag@wieers.com> - 2.05-1
- Initial package. (using DAR)