]> git.pld-linux.org Git - packages/perl-Digest-SHA1.git/blame - perl-Digest-SHA1.spec
- release 7 (by relup.sh)
[packages/perl-Digest-SHA1.git] / perl-Digest-SHA1.spec
CommitLineData
a3d44a99
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
0e485ed5 5%include /usr/lib/rpm/macros.perl
2173b856 6%define pdir Digest
7%define pnam SHA1
1309fd4e 8Summary: Digest::SHA1 - interface to the SHA-1 algorithm
54ef0379 9Summary(pl.UTF-8): Digest::SHA1 - interfejs do algorytmu SHA-1
30907004 10Name: perl-Digest-SHA1
9a82b2fd 11Version: 2.13
cf4742e5 12Release: 7
1309fd4e 13# same as perl
14License: GPL v1+ or Artistic
30907004 15Group: Development/Languages/Perl
9e4a8399 16Source0: http://www.cpan.org/modules/by-module/Digest/%{pdir}-%{pnam}-%{version}.tar.gz
9a82b2fd 17# Source0-md5: bd22388f268434f2b24f64e28bf1aa35
4f874d3a 18Patch0: %{name}-reset.patch
6c8f6476 19URL: http://search.cpan.org/dist/Digest-SHA1/
4f874d3a 20BuildRequires: perl-devel >= 1:5.8.0
8526f7e0 21BuildRequires: rpm-perlprov >= 4.1-13
30907004
JR
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
1309fd4e 25The Digest::SHA1 Perl module allows you to use the NIST SHA-1 message
26digest algorithm from within Perl programs. The algorithm takes as
30907004
JR
27input a message of arbitrary length and produces as output a 160-bit
28"fingerprint" or "message digest" of the input.
29
18235d24
JR
30%description -l pl.UTF-8
31Moduł Perla Digest::SHA1 pozwala używać algorytmu skrótu NIST SHA-1 z
32programów w Perlu. Algorytm pobiera z wejścia wiadomość dowolnej
33długości, a na wyjściu produkuje 160-bitowy "odcisk palca" lub "skrót
34wiadomości" z wejścia.
4f019f20 35
18235d24
JR
36%description -l pt_BR.UTF-8
37Este módulos Perl permite a utilização do algoritmo de digest de
f7d7209d 38mensagens NIST SHA-1 em programas Perl.
39
30907004 40%prep
0e485ed5 41%setup -q -n %{pdir}-%{pnam}-%{version}
4f874d3a 42%patch0 -p1
30907004
JR
43
44%build
7284b64f 45%{__perl} Makefile.PL \
64568f25 46 INSTALLDIRS=vendor
8526f7e0 47%{__make} \
ec08435d 48 CC="%{__cc}" \
8526f7e0 49 OPTIMIZE="%{rpmcflags}"
a3d44a99
JB
50
51%{?with_tests:%{__make} test}
30907004
JR
52
53%install
54rm -rf $RPM_BUILD_ROOT
30907004 55
8526f7e0 56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
30907004 58
30907004
JR
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
9e4a8399
JB
64%doc Changes README fip180-1.{gif,html}
65%{perl_vendorarch}/Digest/SHA1.pm
66%dir %{perl_vendorarch}/auto/Digest/SHA1
9e4a8399
JB
67%attr(755,root,root) %{perl_vendorarch}/auto/Digest/SHA1/SHA1.so
68%{_mandir}/man3/Digest::SHA1.3pm*
This page took 0.055539 seconds and 4 git commands to generate.