]> git.pld-linux.org Git - packages/perl-Crypt-Blowfish.git/blob - perl-Crypt-Blowfish.spec
perl 5.36.0 rebuild
[packages/perl-Crypt-Blowfish.git] / perl-Crypt-Blowfish.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Crypt
6 %define         pnam    Blowfish
7 Summary:        Crypt::Blowfish - Perl Blowfish encryption module
8 Summary(pl.UTF-8):      Crypt::Blowfish - moduł Perla dla szyfrowania Blowfish
9 Name:           perl-Crypt-Blowfish
10 Version:        2.14
11 Release:        5
12 License:        BSD-like (see COPYRIGHT)
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  792b43cd4e49d2c2cf4a9f6990ff7d1b
16 URL:            https://metacpan.org/dist/Crypt-Blowfish
17 %{?with_tests:BuildRequires:    perl-Crypt-CBC >= 1.22}
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRequires:  rpmbuild(macros) >= 1.745
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Crypt::Blowfish Perl module contains an implementation of the Blowfish
25 cryptography algorithm.
26
27 %description -l pl.UTF-8
28 Moduł Perla Crypt::Blowfish zawiera implementację algorytmu
29 kryptograficznego Blowfish.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make} \
38         CC="%{__cc}" \
39         OPTIMIZE="%{rpmcflags}"
40
41 %{?with_tests:%{__make} test}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc Changes COPYRIGHT README
55 %{perl_vendorarch}/Crypt/Blowfish.pm
56 %dir %{perl_vendorarch}/auto/Crypt/Blowfish
57 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/Blowfish/Blowfish.so
58 %{_mandir}/man3/Crypt::Blowfish.3pm*
This page took 0.097801 seconds and 4 git commands to generate.