]> git.pld-linux.org Git - packages/perl-Crypt-IDEA.git/blame - perl-Crypt-IDEA.spec
- release 3
[packages/perl-Crypt-IDEA.git] / perl-Crypt-IDEA.spec
CommitLineData
00a61d16 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
160851fe 5%include /usr/lib/rpm/macros.perl
f5eefb6e 6%define pdir Crypt
7%define pnam IDEA
7c042446 8Summary: Crypt::IDEA - Perl interface to IDEA block cipher
c7bd0df5 9Summary(pl.UTF-8): Crypt::IDEA - interfejs perlowy do szyfru blokowego IDEA
e3f32346 10Name: perl-Crypt-IDEA
bdb6dd92 11Version: 1.08
1ec53ea9 12Release: 3
a65f39cd 13License: BSD-like (see COPYRIGHT)
e3f32346 14Group: Development/Languages/Perl
81329559 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
bdb6dd92
ER
16# Source0-md5: 6718c630fa8ac28cb989b7db763ed97c
17URL: http://search.cpan.org/dist/Crypt-IDEA/
65330f13 18Patch0: %{name}-paths.patch
648abe77 19Patch1: %{name}-5.6.0.patch
a02a388b 20BuildRequires: perl-devel >= 1:5.8.0
8a9f0d7c 21BuildRequires: rpm-perlprov >= 4.1-13
280b799c 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
e3f32346 23
24%description
7c042446 25Crypt::IDEA Perl extension is an implementation of the IDEA block
26cipher algorithm.
e3f32346 27
84ef490c
JR
28%description -l pl.UTF-8
29Rozszerzenie Perla Crypt::IDEA stanowi implementację algorytmu
7c042446 30szyfrowania blokowego IDEA.
e3f32346 31
32%prep
160851fe 33%setup -q -n %{pdir}-%{pnam}-%{version}
e3f32346 34%patch0 -p0
a95a6647 35%patch1 -p1
e3f32346 36
37%build
8a9f0d7c 38%{__perl} Makefile.PL \
1d5a31f5 39 INSTALLDIRS=vendor
00a61d16 40%{__make} \
d1eb997c 41 CC="%{__cc}" \
00a61d16 42 OPTIMIZE="%{rpmcflags}"
43
44%{?with_tests:%{__make} test}
e3f32346 45
46%install
47rm -rf $RPM_BUILD_ROOT
00a61d16 48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
e3f32346 50
bdb6dd92
ER
51rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Crypt/._test.pl
52rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Crypt/IDEA.pod
53
e3f32346 54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
a65f39cd 59%doc COPYRIGHT
8a9f0d7c 60%{perl_vendorarch}/Crypt/IDEA.pm
61%dir %{perl_vendorarch}/auto/Crypt/IDEA
62%{perl_vendorarch}/auto/Crypt/IDEA/IDEA.bs
63%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/IDEA/IDEA.so
e3f32346 64%{_mandir}/man3/*
This page took 0.074306 seconds and 4 git commands to generate.