]> git.pld-linux.org Git - packages/perl-Data-Dump.git/commitdiff
- new RA-1_0 STABLE perl-Data-Dump-0_04-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 13 Jul 2002 18:39:04 +0000 (18:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Data-Dump.spec -> 1.1

perl-Data-Dump.spec [new file with mode: 0644]

diff --git a/perl-Data-Dump.spec b/perl-Data-Dump.spec
new file mode 100644 (file)
index 0000000..bb90ba5
--- /dev/null
@@ -0,0 +1,53 @@
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Data
+%define        pnam    Dump
+Summary:       Data::Dump perl module - pretty printing of data structures
+Summary(pl):   Modu³ perla Data::Dump - do ³adnego wy¶wietlania struktur danych
+Name:          perl-Data-Dump
+Version:       0.04
+Release:       1
+License:       Artistic or GPL
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains the Data::Dump module. It is a simplification of
+Sarathy's Data::Dumper. This module provides a single function called
+dump() that takes a list of values as argument and produce a string as
+result. The string contains perl code that when evaled will produce a
+deep copy of the original arguments. The string is formatted for easy
+reading.
+
+%description -l pl
+Ten pakiet zawiera modu³ Data::Dump. Jest on uproszczeniem modu³u
+Data::Dumper Sarathy'ego. Ten modu³ dostarcza pojedyncz± funkcjê o
+nazwie dump(), która przyjmuje jako argument listê warto¶ci i zwraca
+w wyniku ci±g znaków. Ci±g ten zawiera perlowy kod, który po wykonaniu
+zwraca kopiê oryginalnych argumentów. Ci±g ten jest sformatowany tak,
+by by³ ³atwo czytelny.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_sitelib}/Data/Dump.pm
+%{_mandir}/man3/*
This page took 0.043126 seconds and 4 git commands to generate.