]>
Commit | Line | Data |
---|---|---|
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 | 8 | Summary: Crypt::Blowfish - Perl Blowfish encryption module |
84ce462a | 9 | Summary(pl.UTF-8): Crypt::Blowfish - moduł Perla dla szyfrowania Blowfish |
4d6757a2 | 10 | Name: perl-Crypt-Blowfish |
c9a96498 ER |
11 | Version: 2.10 |
12 | Release: 1 | |
b7404c03 | 13 | License: BSD-like (see COPYRIGHT) |
4d6757a2 | 14 | Group: Development/Languages/Perl |
f1875059 | 15 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz |
c9a96498 ER |
16 | # Source0-md5: 15b53308df3b29a62a9f2f718aace19a |
17 | URL: http://search.cpan.org/dist/Crypt-Blowfish/ | |
7e72c2c1 | 18 | BuildRequires: perl-devel >= 1:5.8.0 |
e9dec12c | 19 | BuildRequires: rpm-perlprov >= 4.1-13 |
4d6757a2 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
f04f7134 | 23 | Crypt::Blowfish Perl module contains an implementation of the Blowfish |
b7404c03 | 24 | cryptography algorithm. |
4d6757a2 | 25 | |
e9829e22 JR |
26 | %description -l pl.UTF-8 |
27 | Moduł Perla Crypt::Blowfish zawiera implementację algorytmu | |
b7404c03 | 28 | kryptograficznego 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 | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
2ab3aa2c | 44 | %{__make} install \ |
45 | DESTDIR=$RPM_BUILD_ROOT | |
4d6757a2 | 46 | |
4d6757a2 | 47 | %clean |
48 | rm -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/* |