nigelj a7e015
Name:           perl-Crypt-Rijndael
nigelj a7e015
Version:        1.06
nigelj a7e015
Release:        2%{?dist}
nigelj a7e015
Summary:        Crypt::CBC compliant Rijndael encryption module
nigelj a7e015
License:        LGPLv2+
nigelj a7e015
Group:          Development/Libraries
nigelj a7e015
URL:            http://search.cpan.org/dist/Crypt-Rijndael/
nigelj a7e015
Source0:        http://www.cpan.org/modules/by-module/Crypt/Crypt-Rijndael-%{version}.tar.gz
nigelj a7e015
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
nigelj a7e015
BuildRequires:  perl(ExtUtils::MakeMaker)
nigelj a7e015
BuildRequires:  perl(Test::Manifest) >= 1.14
nigelj a7e015
BuildRequires:  perl(Test::More)
nigelj a7e015
BuildRequires:  perl(Test::Pod)
nigelj a7e015
BuildRequires:  perl(Test::Pod::Coverage)
nigelj a7e015
Requires:       perl(Test::Manifest) >= 1.14
nigelj a7e015
Requires:       perl(Test::More)
nigelj a7e015
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
nigelj a7e015
nigelj a7e015
%description
nigelj a7e015
This module implements the Rijndael cipher, which has just been selected as
nigelj a7e015
the Advanced Encryption Standard.
nigelj a7e015
nigelj a7e015
%prep
nigelj a7e015
%setup -q -n Crypt-Rijndael-%{version}
nigelj a7e015
nigelj a7e015
%build
nigelj a7e015
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
nigelj a7e015
make %{?_smp_mflags}
nigelj a7e015
nigelj a7e015
%install
nigelj a7e015
rm -rf $RPM_BUILD_ROOT
nigelj a7e015
nigelj a7e015
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
nigelj a7e015
nigelj a7e015
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
nigelj a7e015
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
nigelj a7e015
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
nigelj a7e015
nigelj a7e015
%{_fixperms} $RPM_BUILD_ROOT/*
nigelj a7e015
nigelj a7e015
%check
nigelj a7e015
make test
nigelj a7e015
nigelj a7e015
%clean
nigelj a7e015
rm -rf $RPM_BUILD_ROOT
nigelj a7e015
nigelj a7e015
%files
nigelj a7e015
%defattr(-,root,root,-)
nigelj a7e015
%doc Changes COPYING LICENSE NEWS README
nigelj a7e015
%{perl_vendorarch}/auto/*
nigelj a7e015
%{perl_vendorarch}/Crypt*
nigelj a7e015
%{_mandir}/man3/*
nigelj a7e015
nigelj a7e015
%changelog
nigelj a7e015
* Mon Jun 23 2008 Nigel Jones <dev@nigelj.com> - 1.06-2
nigelj a7e015
- Missing Test::Pod deps
nigelj a7e015
nigelj a7e015
* Mon Jun 23 2008 Nigel Jones <dev@nigelj.com> - 1.06-1
nigelj a7e015
- Specfile autogenerated by cpanspec 1.77.