commit e0d9af9379f1bee540b976b7e759b99e96e13a56 Author: Marcin Krol <h...@tld-linux.org> Date: Mon Aug 27 11:40:33 2018 +0000
- new perl-Crypt-OpenSSL-Guess.spec | 51 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) --- diff --git a/perl-Crypt-OpenSSL-Guess.spec b/perl-Crypt-OpenSSL-Guess.spec new file mode 100644 index 0000000..2042f7d --- /dev/null +++ b/perl-Crypt-OpenSSL-Guess.spec @@ -0,0 +1,51 @@ +# +# Conditional build: +%bcond_without tests # Do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Crypt +%define pnam OpenSSL-Guess +Summary: Crypt::OpenSSL::Guess - Guess OpenSSL include path +Name: perl-Crypt-OpenSSL-Guess +Version: 0.11 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: https://cpan.metacpan.org/authors/id/A/AK/AKIYM/%{pdir}-%{pnam}-0.11.tar.gz +# Source0-md5: e768fe2c07826b0ac9ea604c79f93032 +URL: http://search.cpan.org/dist/Crypt-OpenSSL-Guess/ +BuildRequires: openssl-devel >= 0.9.7d +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Crypt::OpenSSL::Guess - Guess OpenSSL include path + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} \ + CC="%{__cc}" \ + OPTIMIZE="%{rpmcflags}" + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes +%{perl_vendorlib}/Crypt/OpenSSL/Guess.pm +%{_mandir}/man3/* ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/perl-Crypt-OpenSSL-Guess.git/commitdiff/e0d9af9379f1bee540b976b7e759b99e96e13a56 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit