]> git.pld-linux.org Git - packages/perl-Crypt-OpenSSL-Guess.git/blame - perl-Crypt-OpenSSL-Guess.spec
- noarch, release 2
[packages/perl-Crypt-OpenSSL-Guess.git] / perl-Crypt-OpenSSL-Guess.spec
CommitLineData
e0d9af93
MK
1#
2# Conditional build:
3%bcond_without tests # Do not perform "make test"
4#
e0d9af93
MK
5%define pdir Crypt
6%define pnam OpenSSL-Guess
7Summary: Crypt::OpenSSL::Guess - Guess OpenSSL include path
50f14aa7 8Summary(pl.UTF-8): Crypt::OpenSSL::Guess - zgadywanie ścieżki nagłówków OpenSSL
e0d9af93 9Name: perl-Crypt-OpenSSL-Guess
50f14aa7 10Version: 0.13
a4b2b310 11Release: 2
e0d9af93
MK
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
50f14aa7
JB
15Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
16# Source0-md5: a126716a88c9e16ef5b9e4216820d322
17URL: https://metacpan.org/dist/Crypt-OpenSSL-Guess
18BuildRequires: perl-ExtUtils-MakeMaker >= 6.64
19%if %{with tests}
20BuildRequires: perl-Test-Simple >= 0.98
21%endif
22BuildRequires: perl-devel >= 1:5.8.1
e0d9af93 23BuildRequires: rpm-perlprov >= 4.1-13
50f14aa7 24BuildRequires: rpmbuild(macros) >= 1.745
a4b2b310 25BuildArch: noarch
e0d9af93
MK
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
50f14aa7
JB
29Crypt::OpenSSL::Guess provides helpers to guess OpenSSL include path
30on any platforms.
31
32%description -l pl.UTF-8
33Crypt::OpenSSL::Guess udostępnia funkcje pomocnicze do zgadywania
34ścieżki nagłówków na dowolnej platformie.
e0d9af93
MK
35
36%prep
37%setup -q -n %{pdir}-%{pnam}-%{version}
38
39%build
40%{__perl} Makefile.PL \
41 INSTALLDIRS=vendor
42%{__make} \
43 CC="%{__cc}" \
44 OPTIMIZE="%{rpmcflags}"
45
46%{?with_tests:%{__make} test}
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%doc Changes
60%{perl_vendorlib}/Crypt/OpenSSL/Guess.pm
50f14aa7 61%{_mandir}/man3/Crypt::OpenSSL::Guess.3pm*
This page took 0.081723 seconds and 4 git commands to generate.