mirror of
https://github.com/xcat2/xcat-dep.git
synced 2024-11-23 01:51:54 +00:00
add perl-Crypt-Rijndael build instructions
Former-commit-id: 92f4ec61c6a2171de786d4e0347ddf7e6342c00a
This commit is contained in:
parent
dbd7838f00
commit
7362f98335
7
perl-Crypt-Rijndael/Build-notes
Normal file
7
perl-Crypt-Rijndael/Build-notes
Normal file
@ -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.
|
BIN
perl-Crypt-Rijndael/Crypt-Rijndael-1.09.tar.gz
Normal file
BIN
perl-Crypt-Rijndael/Crypt-Rijndael-1.09.tar.gz
Normal file
Binary file not shown.
76
perl-Crypt-Rijndael/perl-Crypt-Rijndael.spec
Normal file
76
perl-Crypt-Rijndael/perl-Crypt-Rijndael.spec
Normal file
@ -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 <mmaslano@redhat.com> - 1.09-2
|
||||
- Mass rebuild with perl-5.12.0
|
||||
|
||||
* Sat Apr 24 2010 Iain Arnell <iarnell@gmail.com> 1.09-1
|
||||
- update to latest upstream version
|
||||
- use perl_default_filter and DESTDIR
|
||||
- cleanup requires
|
||||
|
||||
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.06-5
|
||||
- rebuild against perl 5.10.1
|
||||
|
||||
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.06-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Mon Jun 23 2008 Nigel Jones <dev@nigelj.com> - 1.06-2
|
||||
- Missing Test::Pod deps
|
||||
|
||||
* Mon Jun 23 2008 Nigel Jones <dev@nigelj.com> - 1.06-1
|
||||
- Specfile autogenerated by cpanspec 1.77.
|
Loading…
Reference in New Issue
Block a user