diff --git a/perl-Crypt-Rijndael/Build-notes b/perl-Crypt-Rijndael/Build-notes new file mode 100644 index 0000000..181f4f3 --- /dev/null +++ b/perl-Crypt-Rijndael/Build-notes @@ -0,0 +1,7 @@ +# The steps below are verified on RHEL7.1 ppc64le +1. Copy Crypt-Rijndael-1.09.tar.gz to /root/rpmbuild/SOURCES/. +2. Copy perl-Crypt-Rijndael.spec to /root/rpmbuild/SPECS/ +3. Run "rpmbuild -bb /root/rpmbuild/SPECS/perl-Crypt-Rijndael.spec" which creates /root/rpmbuild/RPMS/ppc64le/perl-Crypt-Rijndael-1.09-2.ael7a.ppc64le.rpm + + +Note: the build of perl-Crypt-Rijndael needs perl-Test-Manifest, which is not shipped with RHEL. Could build perl-Test-Manifest from source code, or download binary from internet. diff --git a/perl-Crypt-Rijndael/Crypt-Rijndael-1.09.tar.gz b/perl-Crypt-Rijndael/Crypt-Rijndael-1.09.tar.gz new file mode 100644 index 0000000..bf7308e Binary files /dev/null and b/perl-Crypt-Rijndael/Crypt-Rijndael-1.09.tar.gz differ diff --git a/perl-Crypt-Rijndael/perl-Crypt-Rijndael.spec b/perl-Crypt-Rijndael/perl-Crypt-Rijndael.spec new file mode 100644 index 0000000..de24a30 --- /dev/null +++ b/perl-Crypt-Rijndael/perl-Crypt-Rijndael.spec @@ -0,0 +1,76 @@ +Name: perl-Crypt-Rijndael +Version: 1.09 +Release: 2%{?dist} +Summary: Crypt::CBC compliant Rijndael encryption module +License: LGPLv2+ +Group: Development/Libraries +URL: http://search.cpan.org/dist/Crypt-Rijndael/ +Source0: http://search.cpan.org/CPAN/authors/id/B/BD/BDFOY/Crypt-Rijndael-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::Manifest) >= 1.14 +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +This module implements the Rijndael cipher, which has just been selected as +the Advanced Encryption Standard. + +%prep +%setup -q -n Crypt-Rijndael-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes COPYING LICENSE NEWS README +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Crypt* +%{_mandir}/man3/* + +%changelog +* Fri Apr 30 2010 Marcela Maslanova - 1.09-2 +- Mass rebuild with perl-5.12.0 + +* Sat Apr 24 2010 Iain Arnell 1.09-1 +- update to latest upstream version +- use perl_default_filter and DESTDIR +- cleanup requires + +* Fri Dec 4 2009 Stepan Kasal - 1.06-5 +- rebuild against perl 5.10.1 + +* Sat Jul 25 2009 Fedora Release Engineering - 1.06-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 1.06-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Jun 23 2008 Nigel Jones - 1.06-2 +- Missing Test::Pod deps + +* Mon Jun 23 2008 Nigel Jones - 1.06-1 +- Specfile autogenerated by cpanspec 1.77.