%include /usr/lib/rpm/macros.perl
%define pdir Digest
%define pnam BubbleBabble
-Summary: Digest::BubbleBabble Perl module - create bubble-babble fingerprints
-Summary(pl): Modu³ perla Digest::BubbleBabble - tworz±cy odciski palca "bubble-babble"
+Summary: Digest::BubbleBabble - create bubble-babble fingerprints
+Summary(pl.UTF-8): Digest::BubbleBabble - tworzenie odcisków palców "bubble-babble"
Name: perl-Digest-BubbleBabble
-Version: 0.01
+Version: 0.02
Release: 1
-License: Artistic or GPL
+# same as perl
+License: GPL v1+ or Artistic
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-BuildRequires: perl >= 5.6
-BuildRequires: rpm-perlprov >= 3.0.3-16
+# Source0-md5: 4d7edd5b0a904db8194aa660d502fbe0
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Digest::BubbleBabble takes a message digest (generated by either of
-the MD5 or SHA-1 message digest algorithms) and creates a fingerprint
-of that digest in "bubble babble" format. Bubble babble is a method of
-representing a message digest as a string of "real" words, to make the
-fingerprint easier to remember. The "words" are not necessarily real
-words, but they look more like words than a string of hex characters.
-
-%description -l pl
-Modu³ Digest::BubbleBabble przyjmuje skrót wiadomo¶ci (wygenerowany
-algorytmem skrótu MD5 lub SHA-1) i tworzy odcisk palca tego skrótu w
-formacie "bubble babble". Format ten to sposób reprezentowania skrótu
-wiadomo¶ci jako ci±gu "prawdziwych" s³ów, aby uczyniæ odcisk
-³atwiejszym do zapamiêtania. "S³owa" niekoniecznie s± prawdziwymi
-s³owami, ale wygl±daj± jak s³owa bardziej ni¿ ci±g cyfr
+Digest::BubbleBabble pPerl module takes a message digest (generated by
+either of the MD5 or SHA-1 message digest algorithms) and creates a
+fingerprint of that digest in "bubble babble" format. Bubble babble
+is a method of representing a message digest as a string of "real"
+words, to make the fingerprint easier to remember. The "words" are
+not necessarily real words, but they look more like words than a
+string of hex characters.
+
+%description -l pl.UTF-8
+Moduł Perla Digest::BubbleBabble przyjmuje skrót wiadomości
+(wygenerowany algorytmem skrótu MD5 lub SHA-1) i tworzy odcisk palca
+tego skrótu w formacie "bubble babble". Format ten to sposób
+reprezentowania skrótu wiadomości jako ciągu "prawdziwych" słów, aby
+uczynić odcisk łatwiejszym do zapamiętania. "Słowa" niekoniecznie są
+prawdziwymi słowami, ale wyglądają jak słowa bardziej niż ciąg cyfr
szesnastkowych.
%prep
%setup -q -n %{pdir}-%{pnam}-%{version}
%build
-%{__perl} Makefile.PL
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
%{__make}
%install
%files
%defattr(644,root,root,755)
%doc Changes
-%{perl_sitelib}/Digest/BubbleBabble.pm
+%{perl_vendorlib}/Digest/BubbleBabble.pm
%{_mandir}/man3/*