diff --git a/.perl-Crypt-OpenSSL-Random.metadata b/.perl-Crypt-OpenSSL-Random.metadata new file mode 100644 index 0000000..eba6cd8 --- /dev/null +++ b/.perl-Crypt-OpenSSL-Random.metadata @@ -0,0 +1 @@ +641375f49f715dccb5ea064160ff11978be877ac SOURCES/Crypt-OpenSSL-Random-0.04.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/perl-Crypt-OpenSSL-Random-name.patch b/SOURCES/perl-Crypt-OpenSSL-Random-name.patch new file mode 100644 index 0000000..fe300c7 --- /dev/null +++ b/SOURCES/perl-Crypt-OpenSSL-Random-name.patch @@ -0,0 +1,15 @@ +2010-01-27 Stepan Kasal + + * Random.xs: fix PACLAGE_NAME + +--- Crypt-OpenSSL-Random-0.04/Random.xs.name 2006-01-06 15:49:32.000000000 +0100 ++++ Crypt-OpenSSL-Random-0.04/Random.xs 2010-01-27 17:49:01.000000000 +0100 +@@ -4,7 +4,7 @@ + + #include + +-#define PACKAGE_NAME "Crypt::OpenSSL::RSA" ++#define PACKAGE_NAME "Crypt::OpenSSL::Random" + + MODULE = Crypt::OpenSSL::Random PACKAGE = Crypt::OpenSSL::Random + void diff --git a/SPECS/perl-Crypt-OpenSSL-Random.spec b/SPECS/perl-Crypt-OpenSSL-Random.spec new file mode 100644 index 0000000..331eb08 --- /dev/null +++ b/SPECS/perl-Crypt-OpenSSL-Random.spec @@ -0,0 +1,126 @@ +Name: perl-Crypt-OpenSSL-Random +Version: 0.04 +Release: 19%{?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 +Patch0: perl-Crypt-OpenSSL-Random-name.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: openssl +BuildRequires: openssl-devel +BuildRequires: perl(AutoLoader) +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Crypt::OpenSSL::Random - Routines for accessing the OpenSSL +pseudo-random number generator + +%prep +%setup -q -n Crypt-OpenSSL-Random-%{version} +%patch0 -p1 -b name + +%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 -o \ + -name '*.bs' -empty \) -exec rm {} \; +find %{buildroot} -depth -type d -empty -exec rmdir {} \; +%{_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 +* Tue Nov 27 2012 Jitka Plesnikova - 0.04-19 +- Update dependencies +- Add perl_default_filter + +* Fri Jul 20 2012 Fedora Release Engineering - 0.04-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Jun 08 2012 Petr Pisar - 0.04-17 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.04-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Jun 15 2011 Marcela Mašláňová - 0.04-15 +- Perl mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 0.04-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Dec 16 2010 Marcela Maslanova - 0.04-13 +- 661697 rebuild for fixing problems with vendorach/lib + +* Fri Apr 30 2010 Marcela Maslanova - 0.04-12 +- Mass rebuild with perl-5.12.0 + +* Wed Jan 27 2010 Stepan Kasal - 0.04-11 +- fix the package name for error messages + +* Fri Dec 4 2009 Stepan Kasal - 0.04-10 +- rebuild against perl 5.10.1 + +* Fri Aug 21 2009 Tomas Mraz - 0.04-9 +- rebuilt with new openssl + +* Sat Jul 25 2009 Fedora Release Engineering - 0.04-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering - 0.04-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Jan 17 2009 Tomas Mraz - 0.04-6 +- rebuild with new openssl + +* Wed Mar 5 2008 Tom "spot" Callaway - 0.04-5 +- rebuild for new perl + +* Mon Feb 18 2008 Fedora Release Engineering - 0.04-4 +- Autorebuild for GCC 4.3 + +* Wed Dec 05 2007 Release Engineering - 0.04-3 + - Rebuild for deps + +* Wed May 23 2007 Wes Hardaker - 0.04-2 +- Add document file: LICENSE + +* Mon May 21 2007 Wes Hardaker - 0.04-1 +- Update to upstream 0.4 with proper license + +* Mon May 14 2007 Wes Hardaker - 0.03-3 +- BuildRequire perl(ExtUtils::MakeMaker) + +* Tue May 8 2007 Wes Hardaker - 0.03-2 +- Add BuildRequire openssl-devel +- Don't manually require openssl +- Use vendorarch instead of vendorlib + +* Thu Apr 19 2007 Wes Hardaker - 0.03-1 +- Initial version