]> git.pld-linux.org Git - packages/perl-Digest.git/blame - perl-Digest.spec
use generic url
[packages/perl-Digest.git] / perl-Digest.spec
CommitLineData
5cf740ff 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4
fbc12823 5%define pdir Digest
30fc5ac3 6%include /usr/lib/rpm/macros.perl
bd48186d 7Summary: Digest - Perl modules that calculate message digests
c42e67f8 8Summary(pl.UTF-8): Digest - moduły do obliczania skrótów komunikatów
63cc0b45 9Name: perl-Digest
5d80bff1 10Version: 1.17
04acad0d 11Release: 1
bd48186d 12# same as perl
13License: GPL v1+ or Artistic
63cc0b45 14Group: Development/Languages/Perl
8621d51b 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
5d80bff1 16# Source0-md5: 2f8a38f7f6c1bd2df36feb16d8208d6d
30fc5ac3 17URL: http://search.cpan.org/dist/Digest/
05922936 18BuildRequires: perl-devel >= 1:5.8.0
fccb3fb6 19BuildRequires: rpm-perlprov >= 4.1-13
63cc0b45
JB
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24This is just a simple frontend module for autoloading of various
30fc5ac3
ER
25Digest:: modules. It also provide documentation of the interface that
26all Digest:: modules should provide.
63cc0b45 27
4937d600
JR
28%description -l pl.UTF-8
29Ten moduł jest prostym frontendem do automatycznego wczytywania
30różnych modułów Digest::. Zawiera także dokumentację do interfejsu
31ogólnego dla wszystkich modułów Digest::.
63cc0b45
JB
32
33%prep
34%setup -q -n %{pdir}-%{version}
35
36%build
fccb3fb6 37%{__perl} Makefile.PL \
0f3dab47 38 INSTALLDIRS=vendor
63cc0b45 39%{__make}
5cf740ff 40%{?with_tests: %{__make} test}
63cc0b45
JB
41
42%install
43rm -rf $RPM_BUILD_ROOT
44
45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
53%doc Changes README
fccb3fb6 54%{perl_vendorlib}/Digest.pm
5cf740ff 55%{perl_vendorlib}/Digest/*
63cc0b45 56%{_mandir}/man3/*
This page took 0.078409 seconds and 4 git commands to generate.