%include /usr/lib/rpm/macros.perl
%define pdir Data
%define pnam Denter
-Summary: Data::Denter - An (deprecated) alternative to Data::Dumper and Storable.
-#Summary(pl):
+Summary: Data::Denter - An (deprecated) alternative to Data::Dumper and Storable
+Summary(pl): Data::Denter - (porzucona) alternatywa dla Data::Dumper i Storable
Name: perl-Data-Denter
Version: 0.15
Release: 1
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 819e5c05fb61e90f4c1311286b080405
-BuildRequires: perl-devel >= 1:5.6
+BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
BuildRequires: perl-YAML
%description
The main problem with Data::Dumper (one of my all-time favorite
-modules) is that you have to use C<eval()> to deserialize the data
-you've dumped. This is great if you can trust the data you're evaling,
-but horrible if you can't. A good alternative is Storable.pm. It can
+modules) is that you have to use eval() to deserialize the data you've
+dumped. This is great if you can trust the data you're evaling, but
+horrible if you can't. A good alternative is Storable.pm. It can
safely thaw your frozen data. But if you want to read/edit the frozen
data, you're out of luck, because Storable uses a binary format. Even
-Data::Dumper's output can be a little cumbersome for larger data objects.
+Data::Dumper's output can be a little cumbersome for larger data
+objects.
-# %description -l pl
-# TODO
+%description -l pl
+G³ównym problemem klasy Data::Dumper (jednego z ulubionych modu³ów
+autora) jest to, ¿e trzeba u¿ywaæ eval() aby dokonaæ deserializacji
+zrzuconych danych. Jest to wspania³e, je¶li mo¿na zaufaæ danym, ale
+przera¿aj±ce, je¶li nie mo¿emy. Dobr± alternatyw± jest modu³
+Storable.pm. Mo¿e on bezpiecznie roztopiæ zamro¿one dane. Ale kiedy
+chcemy odczytaæ/zmodyfikowaæ zamro¿one dane, nie mamy szczê¶cia,
+poniewa¿ Storable u¿ywa binarnego formatu. Nawet wyj¶cie modu³u
+Data::Dumper mo¿e by nieco niewygodny dla wiêkszych obiektów danych.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
%files
%defattr(644,root,root,755)
%doc Changes README
-%{perl_vendorlib}/%{pdir}/*.pm
+%{perl_vendorlib}/Data/*.pm
%{_mandir}/man3/*