]> git.pld-linux.org Git - packages/perl-Digest-MD5-File.git/blame - perl-Digest-MD5-File.spec
- updated to 0.08
[packages/perl-Digest-MD5-File.git] / perl-Digest-MD5-File.spec
CommitLineData
c362a9fd 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Digest
7%define pnam MD5-File
f3e73411 8Summary: Digest::MD5::File - getting MD5 sums for files and URLs
6f705809 9Summary(pl.UTF-8): Digest::MD5::File - uzyskiwanie sum MD5 dla plików i URL-i
c362a9fd 10Name: perl-Digest-MD5-File
6950b4e7 11Version: 0.08
b52a93bb 12Release: 1
c362a9fd 13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
6f705809 16Source0: http://www.cpan.org/modules/by-module/Digest/%{pdir}-%{pnam}-%{version}.tar.gz
6950b4e7 17# Source0-md5: 90daecd725bf77606c192f379aea1ff9
6f705809 18URL: http://search.cpan.org/dist/Digest-MD5-File/
c362a9fd 19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
f3e73411 22BuildRequires: perl-libwww
c362a9fd 23%endif
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
f3e73411 28Get MD5 sums for files of a given path or content of a given URL.
c362a9fd 29
d0e014bc 30%description -l pl.UTF-8
6f705809
JB
31Ten moduł pozwala uzyskać sumy MD5 dla plików o podanej ścieżce lub
32dla zawartości podanego URL-a.
c362a9fd 33
34%prep
35%setup -q -n %{pdir}-%{pnam}-%{version}
36
37%build
38%{__perl} Makefile.PL \
39 INSTALLDIRS=vendor
40%{__make}
41
42%{?with_tests:%{__make} test}
43
44%install
45rm -rf $RPM_BUILD_ROOT
46
47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
55%doc Changes README
fc85f8bc 56%dir %{perl_vendorlib}/Digest/MD5
c362a9fd 57%{perl_vendorlib}/Digest/MD5/*.pm
58%{_mandir}/man3/*
This page took 0.097155 seconds and 4 git commands to generate.