From 2d2f338241a8d9d4ecf2e1d592cfa8be8c643212 Mon Sep 17 00:00:00 2001 From: Wes Hardaker Date: Fri, 1 Jun 2007 21:17:00 +0000 Subject: [PATCH] initial import --- .cvsignore | 1 + perl-Crypt-OpenSSL-RSA.spec | 69 +++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 71 insertions(+) create mode 100644 perl-Crypt-OpenSSL-RSA.spec diff --git a/.cvsignore b/.cvsignore index e69de29..dfc9bb8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Crypt-OpenSSL-RSA-0.25.tar.gz diff --git a/perl-Crypt-OpenSSL-RSA.spec b/perl-Crypt-OpenSSL-RSA.spec new file mode 100644 index 0000000..c2e45ad --- /dev/null +++ b/perl-Crypt-OpenSSL-RSA.spec @@ -0,0 +1,69 @@ +Name: perl-Crypt-OpenSSL-RSA +Version: 0.25 +Release: 1%{?dist} +Summary: Perl interface to OpenSSL for RSA +License: Artistic or GPL +Group: Development/Libraries +URL: http://search.cpan.org/dist/Crypt-OpenSSL-RSA/ +Source0: http://www.cpan.org/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-RSA-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: openssl openssl-devel +BuildRequires: perl(Crypt::OpenSSL::Random) perl(Crypt::OpenSSL::Bignum) +BuildRequires: perl(Test) perl(ExtUtils::MakeMaker) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(Crypt::OpenSSL::Random) + +%description +Crypt::OpenSSL::RSA - RSA encoding and decoding, using the openSSL libraries + +%prep +%setup -q -n Crypt-OpenSSL-RSA-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install PERL_INSTALL_ROOT=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc Changes README LICENSE +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Crypt/ +%{_mandir}/man3/* + +%changelog +* Thu May 31 2007 Wes Hardaker - 0.25-1 +- head to upstream 0.25 +- doc the new LICENSE file + +* Mon May 14 2007 Wes Hardaker - 0.24-4 +- Reverse terms in license to match perl rpm exactly + +* Mon May 14 2007 Wes Hardaker - 0.24-3 +- BuildRequire perl(Test) perl(ExtUtils::MakeMaker) perl(Crypt::OpenSSL::Bignum) +- Fixed source code URL + +* Tue May 8 2007 Wes Hardaker - 0.24-2 +- Add BuildRequire openssl-devel +- Don't manually require openssl +- Use vendorarch instead of vendorlib + +* Thu Apr 19 2007 Wes Hardaker - 0.24-1 +- Initial version diff --git a/sources b/sources index e69de29..1091e61 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fdf19c9093f47cffb851ae937d053c14 Crypt-OpenSSL-RSA-0.25.tar.gz