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