X-Git-Url: https://git.pld-linux.org/?p=packages%2Fperl-Crypt-Blowfish.git;a=blobdiff_plain;f=perl-Crypt-Blowfish.spec;h=85726cf01d241f8dc7a79551da58310e0cb5c250;hp=c368f7b7cd594ac119fa0d70b429a9c82ec16691;hb=HEAD;hpb=17e4ab5644fcf697415502980d2c08aa24d8e3a7 diff --git a/perl-Crypt-Blowfish.spec b/perl-Crypt-Blowfish.spec index c368f7b..c5705aa 100644 --- a/perl-Crypt-Blowfish.spec +++ b/perl-Crypt-Blowfish.spec @@ -2,28 +2,30 @@ # Conditional build: %bcond_without tests # do not perform "make test" # -%include /usr/lib/rpm/macros.perl %define pdir Crypt %define pnam Blowfish Summary: Crypt::Blowfish - Perl Blowfish encryption module -Summary(pl): Crypt::Blowfish - modu³ Perla dla szyfrowania Blowfish +Summary(pl.UTF-8): Crypt::Blowfish - moduł Perla dla szyfrowania Blowfish Name: perl-Crypt-Blowfish -Version: 2.09 +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 +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 contains an implementation of the Blowfish cryptography algorithm. -%description -l pl -Modu³ Perla Crypt::Blowfish zawiera implementacjê algorytmu +%description -l pl.UTF-8 +Moduł Perla Crypt::Blowfish zawiera implementację algorytmu kryptograficznego Blowfish. %prep @@ -33,6 +35,7 @@ kryptograficznego Blowfish. %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} \ + CC="%{__cc}" \ OPTIMIZE="%{rpmcflags}" %{?with_tests:%{__make} test} @@ -51,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*