]> git.pld-linux.org Git - packages/perl-Crypt-IDEA.git/blob - perl-Crypt-IDEA.spec
perl 5.38.0 rebuild
[packages/perl-Crypt-IDEA.git] / perl-Crypt-IDEA.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Crypt
6 %define         pnam    IDEA
7 Summary:        Crypt::IDEA - Perl interface to IDEA block cipher
8 Summary(pl.UTF-8):      Crypt::IDEA - interfejs perlowy do szyfru blokowego IDEA
9 Name:           perl-Crypt-IDEA
10 Version:        1.10
11 Release:        5
12 License:        BSD-like (see COPYRIGHT)
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  0284334d0d3e18543f178111130aa00d
16 Patch0:         %{name}-paths.patch
17 Patch1:         %{name}-5.6.0.patch
18 URL:            http://search.cpan.org/dist/Crypt-IDEA/
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Crypt::IDEA Perl extension is an implementation of the IDEA block
25 cipher algorithm.
26
27 %description -l pl.UTF-8
28 Rozszerzenie Perla Crypt::IDEA stanowi implementacjÄ™ algorytmu
29 szyfrowania blokowego IDEA.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33 %patch0 -p0
34 %patch1 -p1
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39 %{__make} \
40         CC="%{__cc}" \
41         OPTIMIZE="%{rpmcflags}"
42
43 %{?with_tests:%{__make} test}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT
49
50 %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Crypt/IDEA.pod
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %doc COPYRIGHT
58 %{perl_vendorarch}/Crypt/IDEA.pm
59 %dir %{perl_vendorarch}/auto/Crypt/IDEA
60 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/IDEA/IDEA.so
61 %{_mandir}/man3/Crypt::IDEA.3pm*
This page took 0.092868 seconds and 3 git commands to generate.