]> git.pld-linux.org Git - packages/perl-Data-Dump.git/blame - perl-Data-Dump.spec
up to 1.24
[packages/perl-Data-Dump.git] / perl-Data-Dump.spec
CommitLineData
3c5a2806
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
afb89c4d 5%define pdir Data
6%define pnam Dump
92e33f15 7Summary: Data::Dump - pretty printing of data structures
0dc699de 8Summary(pl.UTF-8): Data::Dump - ładne wyświetlanie struktur danych
1d9ff0ac 9Name: perl-Data-Dump
84780b2d 10Version: 1.24
d09d2e27 11Release: 1
a3b6fa2f 12License: GPL v1+ or Artistic
1d9ff0ac 13Group: Development/Languages/Perl
b49531dc 14Source0: http://www.cpan.org/modules/by-module/Data/%{pdir}-%{pnam}-%{version}.tar.gz
84780b2d 15# Source0-md5: d6e142687cffae96f040964dc6aba488
de53e776 16URL: http://search.cpan.org/dist/Data-Dump/
bf824092 17BuildRequires: perl-devel >= 1:5.8.0
17084f23 18BuildRequires: rpm-perlprov >= 4.1-13
1d9ff0ac
JB
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23This package contains the Data::Dump module. It is a simplification of
24Sarathy's Data::Dumper. This module provides a single function called
25dump() that takes a list of values as argument and produce a string as
0f9c9bce 26result. The string contains Perl code that when evaled will produce a
1d9ff0ac
JB
27deep copy of the original arguments. The string is formatted for easy
28reading.
29
260dfa99
JR
30%description -l pl.UTF-8
31Ten pakiet zawiera moduł Data::Dump. Jest on uproszczeniem modułu
32Data::Dumper Sarathy'ego. Ten moduł dostarcza pojedynczą funkcję o
33nazwie dump(), która przyjmuje jako argument listę wartości i zwraca
34w wyniku ciąg znaków. Ciąg ten zawiera kod perlowy, który po wykonaniu
35zwraca kopię oryginalnych argumentów. Ciąg ten jest sformatowany tak,
36by był łatwo czytelny.
1d9ff0ac
JB
37
38%prep
39%setup -q -n %{pdir}-%{pnam}-%{version}
40
41%build
17084f23 42%{__perl} Makefile.PL \
49a8e57e 43 INSTALLDIRS=vendor
1d9ff0ac 44%{__make}
3c5a2806
JB
45
46%{?with_tests:%{__make} test}
1d9ff0ac
JB
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
84780b2d 59%doc Changes README.md
17084f23 60%{perl_vendorlib}/Data/Dump.pm
8b40cab2
JB
61%{perl_vendorlib}/Data/Dump
62%{_mandir}/man3/Data::Dump*.3pm*
This page took 0.098646 seconds and 4 git commands to generate.