]> git.pld-linux.org Git - packages/perl-Crypt-Blowfish.git/blame - perl-Crypt-Blowfish.spec
- removed zero-sized .bs file
[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
34393211 12Release: 4
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
2951a02c 17Patch0: build.patch
c9a96498 18URL: http://search.cpan.org/dist/Crypt-Blowfish/
e0660606 19%{?with_tests:BuildRequires: perl-Crypt-CBC >= 1.22}
7e72c2c1 20BuildRequires: perl-devel >= 1:5.8.0
e9dec12c 21BuildRequires: rpm-perlprov >= 4.1-13
4d6757a2 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
f04f7134 25Crypt::Blowfish Perl module contains an implementation of the Blowfish
b7404c03 26cryptography algorithm.
4d6757a2 27
e9829e22
JR
28%description -l pl.UTF-8
29Moduł Perla Crypt::Blowfish zawiera implementację algorytmu
b7404c03 30kryptograficznego Blowfish.
4d6757a2 31
32%prep
33%setup -q -n %{pdir}-%{pnam}-%{version}
2951a02c 34%patch0 -p1
4d6757a2 35
36%build
e9dec12c 37%{__perl} Makefile.PL \
d7257f45 38 INSTALLDIRS=vendor
2ab3aa2c 39%{__make} \
8cc58fd6 40 CC="%{__cc}" \
2ab3aa2c 41 OPTIMIZE="%{rpmcflags}"
42
43%{?with_tests:%{__make} test}
4d6757a2 44
45%install
46rm -rf $RPM_BUILD_ROOT
47
2ab3aa2c 48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
4d6757a2 50
4d6757a2 51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
b7404c03 56%doc Changes COPYRIGHT README
e9dec12c 57%{perl_vendorarch}/Crypt/Blowfish.pm
58%dir %{perl_vendorarch}/auto/Crypt/Blowfish
e0660606
JB
59%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/Blowfish/Blowfish.so
60%{_mandir}/man3/Crypt::Blowfish.3pm*
This page took 0.034519 seconds and 4 git commands to generate.