]> git.pld-linux.org Git - packages/perl-Crypt-OpenSSL-Guess.git/blame - perl-Crypt-OpenSSL-Guess.spec
- updated to 0.13, pl
[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
e0d9af93
MK
11Release: 1
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
e0d9af93
MK
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
50f14aa7
JB
28Crypt::OpenSSL::Guess provides helpers to guess OpenSSL include path
29on any platforms.
30
31%description -l pl.UTF-8
32Crypt::OpenSSL::Guess udostępnia funkcje pomocnicze do zgadywania
33ścieżki nagłówków na dowolnej platformie.
e0d9af93
MK
34
35%prep
36%setup -q -n %{pdir}-%{pnam}-%{version}
37
38%build
39%{__perl} Makefile.PL \
40 INSTALLDIRS=vendor
41%{__make} \
42 CC="%{__cc}" \
43 OPTIMIZE="%{rpmcflags}"
44
45%{?with_tests:%{__make} test}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc Changes
59%{perl_vendorlib}/Crypt/OpenSSL/Guess.pm
50f14aa7 60%{_mandir}/man3/Crypt::OpenSSL::Guess.3pm*
This page took 0.039671 seconds and 4 git commands to generate.