]> git.pld-linux.org Git - packages/perl-Crypt-RIPEMD160.git/blobdiff - perl-Crypt-RIPEMD160.spec
perl 5.38.0 rebuild
[packages/perl-Crypt-RIPEMD160.git] / perl-Crypt-RIPEMD160.spec
index 086fa06d44999fa3fc4ea1e601794424d5f2f173..893b4c88f1a1773e9281060b76eb747d2f89b6a0 100644 (file)
@@ -1,19 +1,23 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
-%include       /usr/lib/rpm/macros.perl
+%bcond_without tests   # Do not perform "make test"
+#
 %define                pdir    Crypt
 %define                pnam    RIPEMD160
 Summary:       Crypt::RIPEMD160 Perl module - RIPEMD160 message digest algorithm
-Summary(pl):   Modu³ Perla Crypt::RIPEMD160 - algorytm skrótu RIPEMD160
+Summary(pl.UTF-8):     Moduł Perla Crypt::RIPEMD160 - algorytm skrótu RIPEMD160
 Name:          perl-Crypt-RIPEMD160
-Version:       0.04
-Release:       2
-License:       Artistic or GPL
+Version:       0.06
+Release:       6
+# same as perl
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-BuildRequires: perl-devel >= 5.6
-BuildRequires: rpm-perlprov >= 3.0.3-16
+# Source0-md5: f37eae17af81b230104f9d0aca1b2327
+Patch0:                %{name}-types.patch
+URL:           http://search.cpan.org/dist/Crypt-RIPEMD160/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -23,21 +27,25 @@ cryptographic hash function, designed by Hans Dobbertin, Antoon
 Bosselaers, and Bart Preneel. It is intended to be used as a secure
 replacement for the 128-bit hash functions MD4, MD5, and RIPEMD.
 
-%description -l pl
-Modu³ Crypt::RIPEMD160 pozwala na u¿ywanie algorytmu skrótu RIPEMD160
-z poziomu programów w Perlu. RIPEMD-160 jest 160-bitow±
-kryptograficzn± funkcj± mieszaj±c±, opracowan± przez Hansa Dobbertina,
-Antoona Bosselaersa i Barta Preneela. Ma byæ bezpiecznym zamiennikiem
-128-bitowych funkcji mieszaj±cych MD4, MD5 i RIPEMD.
+%description -l pl.UTF-8
+Moduł Crypt::RIPEMD160 pozwala na używanie algorytmu skrótu RIPEMD160
+z poziomu programów w Perlu. RIPEMD-160 jest 160-bitową
+kryptograficzną funkcją mieszającą, opracowaną przez Hansa Dobbertina,
+Antoona Bosselaersa i Barta Preneela. Ma być bezpiecznym zamiennikiem
+128-bitowych funkcji mieszających MD4, MD5 i RIPEMD.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
 
 %build
-%{__perl} Makefile.PL
-%{__make} OPTIMIZE="%{rpmcflags}"
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make} \
+       CC="%{__cc}" \
+       OPTIMIZE="%{rpmcflags}"
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -51,10 +59,9 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README rmd160/doc/*.html
-%{perl_sitearch}/Crypt/RIPEMD160.pm
-%{perl_sitearch}/Crypt/RIPEMD160
-%dir %{perl_sitearch}/auto/Crypt/RIPEMD160
-%{perl_sitearch}/auto/Crypt/RIPEMD160/autosplit.ix
-%{perl_sitearch}/auto/Crypt/RIPEMD160/*.bs
-%attr(755,root,root) %{perl_sitearch}/auto/Crypt/RIPEMD160/*.so
+%{perl_vendorarch}/Crypt/RIPEMD160.pm
+%{perl_vendorarch}/Crypt/RIPEMD160
+%dir %{perl_vendorarch}/auto/Crypt/RIPEMD160
+%{perl_vendorarch}/auto/Crypt/RIPEMD160/autosplit.ix
+%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/RIPEMD160/*.so
 %{_mandir}/man3/*
This page took 0.107872 seconds and 4 git commands to generate.