]> git.pld-linux.org Git - packages/perl-Crypt-Blowfish.git/blame - perl-Crypt-Blowfish.spec
- tabs in preamble
[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
c9a96498
ER
11Version: 2.10
12Release: 1
b7404c03 13License: BSD-like (see COPYRIGHT)
4d6757a2 14Group: Development/Languages/Perl
f1875059 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
c9a96498
ER
16# Source0-md5: 15b53308df3b29a62a9f2f718aace19a
17URL: http://search.cpan.org/dist/Crypt-Blowfish/
7e72c2c1 18BuildRequires: perl-devel >= 1:5.8.0
e9dec12c 19BuildRequires: rpm-perlprov >= 4.1-13
4d6757a2 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
f04f7134 23Crypt::Blowfish Perl module contains an implementation of the Blowfish
b7404c03 24cryptography algorithm.
4d6757a2 25
e9829e22
JR
26%description -l pl.UTF-8
27Moduł Perla Crypt::Blowfish zawiera implementację algorytmu
b7404c03 28kryptograficznego Blowfish.
4d6757a2 29
30%prep
31%setup -q -n %{pdir}-%{pnam}-%{version}
32
33%build
e9dec12c 34%{__perl} Makefile.PL \
d7257f45 35 INSTALLDIRS=vendor
2ab3aa2c 36%{__make} \
37 OPTIMIZE="%{rpmcflags}"
38
39%{?with_tests:%{__make} test}
4d6757a2 40
41%install
42rm -rf $RPM_BUILD_ROOT
43
2ab3aa2c 44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
4d6757a2 46
4d6757a2 47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
b7404c03 52%doc Changes COPYRIGHT README
e9dec12c 53%{perl_vendorarch}/Crypt/Blowfish.pm
54%dir %{perl_vendorarch}/auto/Crypt/Blowfish
55%{perl_vendorarch}/auto/Crypt/Blowfish/*.bs
56%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/Blowfish/*.so
4d6757a2 57%{_mandir}/man3/*
This page took 0.056067 seconds and 4 git commands to generate.