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