]> git.pld-linux.org Git - packages/perl-Crypt-OpenSSL-Guess.git/commitdiff
- new
authorMarcin Krol <hawk@tld-linux.org>
Mon, 27 Aug 2018 11:40:33 +0000 (11:40 +0000)
committerMarcin Krol <hawk@tld-linux.org>
Mon, 27 Aug 2018 11:40:33 +0000 (11:40 +0000)
perl-Crypt-OpenSSL-Guess.spec [new file with mode: 0644]

diff --git a/perl-Crypt-OpenSSL-Guess.spec b/perl-Crypt-OpenSSL-Guess.spec
new file mode 100644 (file)
index 0000000..2042f7d
--- /dev/null
@@ -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/*
This page took 0.087821 seconds and 4 git commands to generate.