# Conditional build:
%bcond_without tests # do not perform "make test"
#
-%include /usr/lib/rpm/macros.perl
%define pdir Crypt
%define pnam RC6
Summary: Crypt::RC6 Perl module - RC6 block cipher encryption
-Summary(pl.UTF-8): 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: 4
+Release: 23
License: GPL v2
Group: Development/Languages/Perl
-Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+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)
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
%{__make} \
+ CC="%{__cc}" \
OPTIMIZE="%{rpmcflags}"
%{?with_tests:%{__make} test}
%doc CHANGES README
%{perl_vendorarch}/Crypt/RC6.pm
%dir %{perl_vendorarch}/auto/Crypt/RC6
-%{perl_vendorarch}/auto/Crypt/RC6/*.bs
%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/RC6/*.so
%{_mandir}/man3/*