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