source: spec/trunk/SPECS/perl-Data-Dump.spec@ 1566

Last change on this file since 1566 was 1307, checked in by Silvan Scherrer, 8 years ago

spec: perl-Data-Dump: Release version 1.23-1.

File size: 1.9 KB
Line 
1Name: perl-Data-Dump
2Version: 1.23
3Release: 1%{?dist}
4Summary: Pretty printing of data structures
5License: GPL+ or Artistic
6Group: Development/Libraries
7URL: http://search.cpan.org/dist/Data-Dump/
8Vendor: bww bitwise works GmbH
9Source0: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Data-Dump-%{version}.tar.gz
10BuildArch: noarch
11# Build
12BuildRequires: make
13#BuildRequires: perl-interpreter
14BuildRequires: perl-generators
15BuildRequires: perl(ExtUtils::MakeMaker)
16# Runtime
17BuildRequires: perl(base)
18BuildRequires: perl(Carp)
19BuildRequires: perl(Exporter)
20BuildRequires: perl(MIME::Base64)
21BuildRequires: perl(overload)
22BuildRequires: perl(strict)
23BuildRequires: perl(subs)
24# XXX: BuildRequires: perl(Term::ANSIColor)
25BuildRequires: perl(vars)
26BuildRequires: perl(warnings)
27# Tests only
28BuildRequires: perl(IO::Socket::INET)
29BuildRequires: perl(Symbol)
30BuildRequires: perl(Test)
31BuildRequires: perl(Test::More)
32Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
33# Really optional
34Suggests: perl(MIME::Base64)
35
36%description
37This module provides a single function called dump() that takes a list of
38values as its argument and produces a string as its result. The string
39contains Perl code that, when evaled, produces a deep copy of the original
40arguments. The string is formatted for easy reading.
41
42%prep
43%setup -q -n Data-Dump-%{version}
44
45%build
46perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
47make %{?_smp_mflags}
48make manifypods
49
50%install
51make pure_install DESTDIR=%{buildroot}
52find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
53%{_fixperms} %{buildroot}/*
54
55%check
56#make test
57
58%files
59%doc Changes README
60%{perl_vendorlib}/*
61%{_mandir}/man3/*
62
63%changelog
64* Fri Feb 23 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> - 1.23-1
65- initial version
Note: See TracBrowser for help on using the repository browser.