[1307] | 1 | Name: perl-Data-Dump
|
---|
| 2 | Version: 1.23
|
---|
| 3 | Release: 1%{?dist}
|
---|
| 4 | Summary: Pretty printing of data structures
|
---|
| 5 | License: GPL+ or Artistic
|
---|
| 6 | Group: Development/Libraries
|
---|
| 7 | URL: http://search.cpan.org/dist/Data-Dump/
|
---|
| 8 | Vendor: bww bitwise works GmbH
|
---|
| 9 | Source0: http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/Data-Dump-%{version}.tar.gz
|
---|
| 10 | BuildArch: noarch
|
---|
| 11 | # Build
|
---|
| 12 | BuildRequires: make
|
---|
| 13 | #BuildRequires: perl-interpreter
|
---|
| 14 | BuildRequires: perl-generators
|
---|
| 15 | BuildRequires: perl(ExtUtils::MakeMaker)
|
---|
| 16 | # Runtime
|
---|
| 17 | BuildRequires: perl(base)
|
---|
| 18 | BuildRequires: perl(Carp)
|
---|
| 19 | BuildRequires: perl(Exporter)
|
---|
| 20 | BuildRequires: perl(MIME::Base64)
|
---|
| 21 | BuildRequires: perl(overload)
|
---|
| 22 | BuildRequires: perl(strict)
|
---|
| 23 | BuildRequires: perl(subs)
|
---|
| 24 | # XXX: BuildRequires: perl(Term::ANSIColor)
|
---|
| 25 | BuildRequires: perl(vars)
|
---|
| 26 | BuildRequires: perl(warnings)
|
---|
| 27 | # Tests only
|
---|
| 28 | BuildRequires: perl(IO::Socket::INET)
|
---|
| 29 | BuildRequires: perl(Symbol)
|
---|
| 30 | BuildRequires: perl(Test)
|
---|
| 31 | BuildRequires: perl(Test::More)
|
---|
| 32 | Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
---|
| 33 | # Really optional
|
---|
| 34 | Suggests: perl(MIME::Base64)
|
---|
| 35 |
|
---|
| 36 | %description
|
---|
| 37 | This module provides a single function called dump() that takes a list of
|
---|
| 38 | values as its argument and produces a string as its result. The string
|
---|
| 39 | contains Perl code that, when evaled, produces a deep copy of the original
|
---|
| 40 | arguments. The string is formatted for easy reading.
|
---|
| 41 |
|
---|
| 42 | %prep
|
---|
| 43 | %setup -q -n Data-Dump-%{version}
|
---|
| 44 |
|
---|
| 45 | %build
|
---|
| 46 | perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
---|
| 47 | make %{?_smp_mflags}
|
---|
| 48 | make manifypods
|
---|
| 49 |
|
---|
| 50 | %install
|
---|
| 51 | make pure_install DESTDIR=%{buildroot}
|
---|
| 52 | find $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
|
---|