3 %bcond_without tests # do not perform "make test"
6 Summary: Digest - Perl modules that calculate message digests
7 Summary(pl.UTF-8): Digest - moduły do obliczania skrótów komunikatów
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
15 # Source0-md5: 2f8a38f7f6c1bd2df36feb16d8208d6d
16 URL: http://search.cpan.org/dist/Digest/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This is just a simple frontend module for autoloading of various
24 Digest:: modules. It also provide documentation of the interface that
25 all Digest:: modules should provide.
27 %description -l pl.UTF-8
28 Ten moduł jest prostym frontendem do automatycznego wczytywania
29 różnych modułów Digest::. Zawiera także dokumentację do interfejsu
30 ogólnego dla wszystkich modułów Digest::.
33 %setup -q -n %{pdir}-%{version}
36 %{__perl} Makefile.PL \
39 %{?with_tests: %{__make} test}
42 rm -rf $RPM_BUILD_ROOT
45 DESTDIR=$RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %{perl_vendorlib}/Digest.pm
54 %{perl_vendorlib}/Digest/*