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

Name: perl-Data-Dump
Summary: Pretty print data
Version: 1.23
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Data-Dump/
Description: This package contain the Data::Dump module. It can be used for pretty printing data.

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: dries
# Upstream: Gisle Aas <gisle$ActiveState,com>

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

%define real_name Data-Dump

Summary: Pretty print data
Name: perl-Data-Dump
Version: 1.23
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Data-Dump/

Source: http://www.cpan.org/modules/by-module/Data/Data-Dump-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)

%description
This package contain the Data::Dump module. It can be used for pretty
printing data.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%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 MANIFEST META.yml README
%doc %{_mandir}/man3/Data::Dump.3pm*
%doc %{_mandir}/man3/Data::Dump::Trace.3pm*
%doc %{_mandir}/man3/Data::Dump::Filtered.3pm*
%dir %{perl_vendorlib}/Data/
%{perl_vendorlib}/Data/Dump/Trace.pm
%{perl_vendorlib}/Data/Dump.pm
%{perl_vendorlib}/Data/Dump/FilterContext.pm
%{perl_vendorlib}/Data/Dump/Filtered.pm

%changelog
* Sat Jun 25 2016 Dries Verachtert <dries.verachtert@dries.eu> - 1.23-1
- Updated to release 1.23.

* Sat Aug 22 2009 Christoph Maser <cmr@financial.com> - 1.15-1
- Updated to version 1.15.

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

* Tue Oct 07 2008 Dag Wieers <dag@wieers.com> - 1.11-1
- Updated to release 1.11.

* Wed Jan 03 2007 Dries Verachtert <dries@ulyssis.org> - 1.08-1
- Updated to release 1.08.

* Wed Dec 29 2004 Dries Verachtert <dries@ulyssis.org> - 1.06-1
- Updated to release 1.06.

* Tue Jun 15 2004 Dries Verachtert <dries@ulyssis.org> - 1.03-1
- Initial package.