]> git.pld-linux.org Git - packages/perl-Crypt-RC6.git/blobdiff - perl-Crypt-RC6.spec
perl 5.38.0 rebuild
[packages/perl-Crypt-RC6.git] / perl-Crypt-RC6.spec
index c6750ac02ba5a319758721d0f72ca2cf1349ae97..a8b215f1d141787446b5cf67f2ba9f620d909314 100644 (file)
@@ -1,16 +1,22 @@
-%include       /usr/lib/rpm/macros.perl
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %define                pdir    Crypt
 %define                pnam    RC6
 Summary:       Crypt::RC6 Perl module - RC6 block cipher encryption
-Summary(pl):   Modu³ Perla Crypt::RC6 - szyfr blokowy RC6
+Summary(pl.UTF-8):     Moduł Perla Crypt::RC6 - szyfr blokowy RC6
 Name:          perl-Crypt-RC6
 Version:       1.0
-Release:       1
-License:       GPL
+Release:       23
+License:       GPL v2
 Group:         Development/Languages/Perl
-Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-BuildRequires: perl-devel >= 5.6
-BuildRequires: rpm-perlprov >= 3.0.3-16
+Source0:       http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 6cd523b2ebfea33c66fc5f4252e88ce7
+Patch0:                %{name}-endian.patch
+URL:           http://search.cpan.org/dist/Crypt-RC6/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -20,21 +26,26 @@ the Advanced Encryption Standard (AES). This implementation requires
 the use of a 16-, 24-, or 32-byte key and 16-byte blocks for
 encryption/decryption. Twenty rounds are performed.
 
-%description -l pl
-Modu³ jest zgodn± z Crypt::CBC implementacj± szyfru blokowego RC6. RC6
+%description -l pl.UTF-8
+Moduł jest zgodną z Crypt::CBC implementacją szyfru blokowego RC6. RC6
 jest ewolucyjnym rozszerzeniem RC5, opracowanym na potrzeby AES
 (Advanced Security Standard - standardu zaawansowanego
-bezpieczeñstwa). Ta implementacja wymaga u¿ycia 16, 24, lub
-32-bajtowego klucza i 16-bajtowych bloków do kodowania i dekodowania.
-Wykonywane jest dwadzie¶cia kroków.
+bezpieczeństwa). Ta implementacja wymaga użycia 16, 24, lub
+32-bajtowego klucza i 16-bajtowych bloków do kodowania i dekodowania.
+Wykonywane jest dwadzieścia kroków.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
 
 %build
-perl Makefile.PL
-%{__make} OPTIMIZE="%{rpmcflags}"
-%{__make} test
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make} \
+       CC="%{__cc}" \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -48,8 +59,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CHANGES README
-%{perl_sitearch}/Crypt/RC6.pm
-%dir %{perl_sitearch}/auto/Crypt/RC6
-%{perl_sitearch}/auto/Crypt/RC6/*.bs
-%attr(755,root,root) %{perl_sitearch}/auto/Crypt/RC6/*.so
+%{perl_vendorarch}/Crypt/RC6.pm
+%dir %{perl_vendorarch}/auto/Crypt/RC6
+%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/RC6/*.so
 %{_mandir}/man3/*
This page took 0.102945 seconds and 4 git commands to generate.