| 1 | Name: perl-Crypt-OpenSSL-Guess |
|---|
| 2 | Version: 0.11 |
|---|
| 3 | Release: 5%{?_dist_release} |
|---|
| 4 | Summary: Guess OpenSSL include path |
|---|
| 5 | License: GPL+ or Artistic |
|---|
| 6 | URL: https://metacpan.org/release/Crypt-OpenSSL-Guess/ |
|---|
| 7 | Vendor: Project Vine |
|---|
| 8 | Distribution: Vine Linux |
|---|
| 9 | Source0: https://cpan.metacpan.org/authors/id/A/AK/AKIYM/Crypt-OpenSSL-Guess-%{version}.tar.gz |
|---|
| 10 | BuildArch: noarch |
|---|
| 11 | BuildRequires: make |
|---|
| 12 | BuildRequires: perl(ExtUtils::MakeMaker) |
|---|
| 13 | BuildRequires: perl(strict) |
|---|
| 14 | # Run-time |
|---|
| 15 | BuildRequires: perl(Config) |
|---|
| 16 | BuildRequires: perl(Exporter) |
|---|
| 17 | BuildRequires: perl(ExtUtils::MM) |
|---|
| 18 | BuildRequires: perl(File::Spec) |
|---|
| 19 | BuildRequires: perl(Symbol) |
|---|
| 20 | BuildRequires: perl(warnings) |
|---|
| 21 | # Tests |
|---|
| 22 | BuildRequires: perl(Test::More) |
|---|
| 23 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
|---|
| 24 | Requires: perl(Exporter) |
|---|
| 25 | Recommends: openssl |
|---|
| 26 | |
|---|
| 27 | %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(Exporter\\)\\s*$ |
|---|
| 28 | |
|---|
| 29 | %description |
|---|
| 30 | Crypt::OpenSSL::Guess provides helpers to guess OpenSSL include path on any |
|---|
| 31 | platforms. |
|---|
| 32 | |
|---|
| 33 | %prep |
|---|
| 34 | %setup -q -n Crypt-OpenSSL-Guess-%{version} |
|---|
| 35 | |
|---|
| 36 | perl -pi -e 's/use ExtUtils::MakeMaker.*$/use ExtUtils::MakeMaker;/' Makefile.PL |
|---|
| 37 | |
|---|
| 38 | %build |
|---|
| 39 | perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 |
|---|
| 40 | make %{?_smp_mflags} |
|---|
| 41 | |
|---|
| 42 | %install |
|---|
| 43 | make pure_install DESTDIR=$RPM_BUILD_ROOT |
|---|
| 44 | %{_fixperms} $RPM_BUILD_ROOT/* |
|---|
| 45 | |
|---|
| 46 | find %{buildroot}%{perl_vendorarch} -name .packlist | xargs rm -f |
|---|
| 47 | |
|---|
| 48 | %check |
|---|
| 49 | make test |
|---|
| 50 | |
|---|
| 51 | %files |
|---|
| 52 | %license LICENSE |
|---|
| 53 | %doc Changes README.md |
|---|
| 54 | %{perl_vendorlib}/* |
|---|
| 55 | %{_mandir}/man3/* |
|---|
| 56 | |
|---|
| 57 | %changelog |
|---|
| 58 | * Sun May 19 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.11-5 |
|---|
| 59 | - rebuilt with perl-5.26. |
|---|
| 60 | |
|---|
| 61 | * Sun Nov 18 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 0.11-4 |
|---|
| 62 | - initial build for Vine Linux. |
|---|
| 63 | |
|---|
| 64 | * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.11-3 |
|---|
| 65 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
|---|
| 66 | |
|---|
| 67 | * Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-2 |
|---|
| 68 | - Perl 5.28 rebuild |
|---|
| 69 | |
|---|
| 70 | * Mon Jun 18 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.11-1 |
|---|
| 71 | - Specfile autogenerated by cpanspec 1.78. |
|---|