perl-Crypt-OpenSSL-Guess/perl-Crypt-OpenSSL-Guess.spec
2018-06-28 02:57:07 +02:00

60 lines
1.6 KiB
RPMSpec

Name: perl-Crypt-OpenSSL-Guess
Version: 0.11
Release: 2%{?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
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-2
- Perl 5.28 rebuild
* Mon Jun 18 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-1
- Specfile autogenerated by cpanspec 1.78.