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