1 %include /usr/lib/rpm/macros.perl
3 %define pnam BubbleBabble
4 Summary: Digest::BubbleBabble Perl module - create bubble-babble fingerprints
5 Summary(pl): Modu³ perla Digest::BubbleBabble - tworz±cy odciski palca "bubble-babble"
6 Name: perl-Digest-BubbleBabble
9 License: Artistic or GPL
10 Group: Development/Languages/Perl
11 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires: perl >= 5.6
13 BuildRequires: rpm-perlprov >= 4.1-13
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Digest::BubbleBabble takes a message digest (generated by either of
19 the MD5 or SHA-1 message digest algorithms) and creates a fingerprint
20 of that digest in "bubble babble" format. Bubble babble is a method of
21 representing a message digest as a string of "real" words, to make the
22 fingerprint easier to remember. The "words" are not necessarily real
23 words, but they look more like words than a string of hex characters.
26 Modu³ Digest::BubbleBabble przyjmuje skrót wiadomo¶ci (wygenerowany
27 algorytmem skrótu MD5 lub SHA-1) i tworzy odcisk palca tego skrótu w
28 formacie "bubble babble". Format ten to sposób reprezentowania skrótu
29 wiadomo¶ci jako ci±gu "prawdziwych" s³ów, aby uczyniæ odcisk
30 ³atwiejszym do zapamiêtania. "S³owa" niekoniecznie s± prawdziwymi
31 s³owami, ale wygl±daj± jak s³owa bardziej ni¿ ci±g cyfr
35 %setup -q -n %{pdir}-%{pnam}-%{version}
38 %{__perl} Makefile.PL \
43 rm -rf $RPM_BUILD_ROOT
46 DESTDIR=$RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %{perl_vendorlib}/Digest/BubbleBabble.pm