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