]> git.pld-linux.org Git - SPECS.git/blob - perl-Digest.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-Digest.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Digest
6 Summary:        Digest - Perl modules that calculate message digests
7 Summary(pl.UTF-8):      Digest - moduły do obliczania skrótów komunikatów
8 Name:           perl-Digest
9 Version:        1.17
10 Release:        1
11 # same as perl
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
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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.
26
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::.
31
32 %prep
33 %setup -q -n %{pdir}-%{version}
34
35 %build
36 %{__perl} Makefile.PL \
37         INSTALLDIRS=vendor
38 %{__make}
39 %{?with_tests: %{__make} test}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc Changes README
53 %{perl_vendorlib}/Digest.pm
54 %{perl_vendorlib}/Digest/*
55 %{_mandir}/man3/*
This page took 1.129133 seconds and 3 git commands to generate.