3 %bcond_without tests # do not perform "make test"
6 %include /usr/lib/rpm/macros.perl
7 Summary: Digest - Perl modules that calculate message digests
8 Summary(pl.UTF-8): Digest - moduły do obliczania skrótów komunikatów
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
16 # Source0-md5: 2f8a38f7f6c1bd2df36feb16d8208d6d
17 URL: http://search.cpan.org/dist/Digest/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 This is just a simple frontend module for autoloading of various
25 Digest:: modules. It also provide documentation of the interface that
26 all Digest:: modules should provide.
28 %description -l pl.UTF-8
29 Ten moduł jest prostym frontendem do automatycznego wczytywania
30 różnych modułów Digest::. Zawiera także dokumentację do interfejsu
31 ogólnego dla wszystkich modułów Digest::.
34 %setup -q -n %{pdir}-%{version}
37 %{__perl} Makefile.PL \
40 %{?with_tests: %{__make} test}
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.pm
55 %{perl_vendorlib}/Digest/*