initial import

This commit is contained in:
Wes Hardaker 2007-05-24 15:11:58 +00:00
parent 0b27e236ea
commit 2975e27035
3 changed files with 68 additions and 0 deletions

View File

@ -0,0 +1 @@
Crypt-OpenSSL-Random-0.04.tar.gz

View File

@ -0,0 +1,66 @@
Name: perl-Crypt-OpenSSL-Random
Version: 0.04
Release: 2%{?dist}
Summary: Perl interface to OpenSSL for Random
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Crypt-OpenSSL-Random/
Source0: http://www.cpan.org/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-Random-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: openssl openssl-devel perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Crypt::OpenSSL::Random - Routines for accessing the OpenSSL
pseudo-random number generator
%prep
%setup -q -n Crypt-OpenSSL-Random-%{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
%doc LICENSE
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Crypt/
%{_mandir}/man3/*
%changelog
* Wed May 23 2007 Wes Hardaker <wjhns174@hardakers.net> - 0.04-2
- Add document file: LICENSE
* Mon May 21 2007 Wes Hardaker <wjhns174@hardakers.net> - 0.04-1
- Update to upstream 0.4 with proper license
* Mon May 14 2007 Wes Hardaker <wjhns174@hardakers.net> - 0.03-3
- BuildRequire perl(ExtUtils::MakeMaker)
* Tue May 8 2007 Wes Hardaker <wjhns174@hardakers.net> - 0.03-2
- Add BuildRequire openssl-devel
- Don't manually require openssl
- Use vendorarch instead of vendorlib
* Thu Apr 19 2007 Wes Hardaker <wjhns174@hardakers.net> - 0.03-1
- Initial version

View File

@ -0,0 +1 @@
c56ac5dbdd46122eb9b8da59613b7b0a Crypt-OpenSSL-Random-0.04.tar.gz