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