From 9d500558e19079c4197110fb0ad8d7ed40147cbd Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Tue, 19 Jun 2018 15:22:58 +0200 Subject: [PATCH] Initial import --- .gitignore | 1 + README.md | 3 -- perl-Crypt-OpenSSL-Guess.spec | 56 +++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 perl-Crypt-OpenSSL-Guess.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ee06b19 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/Crypt-OpenSSL-Guess-0.11.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0ba5778..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# perl-Crypt-OpenSSL-Guess - -Crypt::OpenSSL::Guess provides helpers to guess OpenSSL include path on any platforms. \ No newline at end of file diff --git a/perl-Crypt-OpenSSL-Guess.spec b/perl-Crypt-OpenSSL-Guess.spec new file mode 100644 index 0000000..a5c3d99 --- /dev/null +++ b/perl-Crypt-OpenSSL-Guess.spec @@ -0,0 +1,56 @@ +Name: perl-Crypt-OpenSSL-Guess +Version: 0.11 +Release: 1%{?dist} +Summary: Guess OpenSSL include path +License: GPL+ or Artistic +URL: https://metacpan.org/release/Crypt-OpenSSL-Guess/ +Source0: https://cpan.metacpan.org/authors/id/A/AK/AKIYM/Crypt-OpenSSL-Guess-%{version}.tar.gz +BuildArch: noarch +BuildRequires: make +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(:VERSION) >= 5.8.1 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(strict) +# Run-time +BuildRequires: perl(Config) +BuildRequires: perl(Exporter) >= 5.57 +BuildRequires: perl(ExtUtils::MM) +BuildRequires: perl(File::Spec) +BuildRequires: perl(Symbol) +BuildRequires: perl(warnings) +# Tests +BuildRequires: perl(Test::More) >= 0.98 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Exporter) >= 5.57 +Recommends: openssl + +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Exporter\\)\\s*$ + +%description +Crypt::OpenSSL::Guess provides helpers to guess OpenSSL include path on any +platforms. + +%prep +%setup -q -n Crypt-OpenSSL-Guess-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%license LICENSE +%doc Changes README.md +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Jun 18 2018 Jitka Plesnikova - 0.11-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources new file mode 100644 index 0000000..305b642 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (Crypt-OpenSSL-Guess-0.11.tar.gz) = cdae7f20a15d24842cf117bfba4f3bc0ec7d1066251e0480cbadd8f0aa28c9c9573905726fc1333ea9fbbb3769a67dbf28043de8487dcce27dab5d14a0848b09