]> git.pld-linux.org Git - packages/perl-Crypt-Blowfish.git/blobdiff - perl-Crypt-Blowfish.spec
perl 5.38.0 rebuild
[packages/perl-Crypt-Blowfish.git] / perl-Crypt-Blowfish.spec
index 859106deffeca308f64d164b51ec6463bd7e0370..c5705aa0f12ca0d1c5c47123056c41337baeccbc 100644 (file)
@@ -1,40 +1,31 @@
-%include       /usr/lib/rpm/macros.perl
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %define                pdir    Crypt
 %define                pnam    Blowfish
-Summary:       Crypt::Blowfish Perl module
-Summary(cs):   Modul Crypt::Blowfish pro Perl
-Summary(da):   Perlmodul Crypt::Blowfish
-Summary(de):   Crypt::Blowfish Perl Modul
-Summary(es):   Módulo de Perl Crypt::Blowfish
-Summary(fr):   Module Perl Crypt::Blowfish
-Summary(it):   Modulo di Perl Crypt::Blowfish
-Summary(ja):   Crypt::Blowfish Perl ¥â¥¸¥å¡¼¥ë
-Summary(ko):   Crypt::Blowfish ÆÞ ¸ðÁÙ
-Summary(no):   Perlmodul Crypt::Blowfish
-Summary(pl):   Modu³ Perla Crypt::Blowfish
-Summary(pt):   Módulo de Perl Crypt::Blowfish
-Summary(pt_BR):        Módulo Perl Crypt::Blowfish
-Summary(ru):   íÏÄÕÌØ ÄÌÑ Perl Crypt::Blowfish
-Summary(sv):   Crypt::Blowfish Perlmodul
-Summary(uk):   íÏÄÕÌØ ÄÌÑ Perl Crypt::Blowfish
-Summary(zh_CN):        Crypt::Blowfish Perl Ä£¿é
+Summary:       Crypt::Blowfish - Perl Blowfish encryption module
+Summary(pl.UTF-8):     Crypt::Blowfish - moduł Perla dla szyfrowania Blowfish
 Name:          perl-Crypt-Blowfish
-Version:       2.09
-Release:       4
+Version:       2.14
+Release:       6
 License:       BSD-like (see COPYRIGHT)
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: bbd037e1eb20778f3d636dff345ed02f
-BuildRequires: perl-devel >= 5.6.1
+Source0:       http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 792b43cd4e49d2c2cf4a9f6990ff7d1b
+URL:           https://metacpan.org/dist/Crypt-Blowfish
+%{?with_tests:BuildRequires:   perl-Crypt-CBC >= 1.22}
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
+BuildRequires: rpmbuild(macros) >= 1.745
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Crypt::Blowfish perl module - an implementation of the Blowfish
+Crypt::Blowfish Perl module contains an implementation of the Blowfish
 cryptography algorithm.
 
-%description -l pl
-Modu³ perla Crypt::Blowfish - implementacja algorytmu
+%description -l pl.UTF-8
+Moduł Perla Crypt::Blowfish zawiera implementację algorytmu
 kryptograficznego Blowfish.
 
 %prep
@@ -43,12 +34,17 @@ kryptograficznego Blowfish.
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
-%{__make} OPTIMIZE="%{rpmcflags}"
+%{__make} \
+       CC="%{__cc}" \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -58,6 +54,5 @@ rm -rf $RPM_BUILD_ROOT
 %doc Changes COPYRIGHT README
 %{perl_vendorarch}/Crypt/Blowfish.pm
 %dir %{perl_vendorarch}/auto/Crypt/Blowfish
-%{perl_vendorarch}/auto/Crypt/Blowfish/*.bs
-%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/Blowfish/*.so
-%{_mandir}/man3/*
+%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/Blowfish/Blowfish.so
+%{_mandir}/man3/Crypt::Blowfish.3pm*
This page took 0.259564 seconds and 4 git commands to generate.