3 %bcond_without tests # do not perform "make test"
7 Summary: IO::Digest - calculate digests while reading or writing
8 Summary(pl.UTF-8): IO::Digest - wyliczanie sum kontrolnych podczas odczytu lub zapisu
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 0448841e0559c2c19c7e8001ef087e26
17 Patch0: %{name}-noninteractive.patch
18 URL: http://search.cpan.org/dist/IO-Digest/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: perl-PerlIO-via-dynamic
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 The IO::Digest Perl module allows you to calculate digests while
29 reading or writing file handles. This avoids the case you need to
30 reread the same content to compute the digests after written a file.
32 %description -l pl.UTF-8
33 Moduł Perla IO::Digest umożliwia wyliczanie sum kontrolnych podczas
34 odczytu z lub zapisu do pliku. Pozwala to uniknąć ponownego odczytu
35 tej samej zawartości przy obliczaniu sum kontrolnych po zapisie do
39 %setup -q -n %{pdir}-%{pnam}-%{version}
43 %{__perl} Makefile.PL \
47 %{?with_tests:%{__make} test}
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
61 %{perl_vendorlib}/IO/Digest.pm