]> git.pld-linux.org Git - packages/perl-Crypt-IDEA.git/blob - perl-Crypt-IDEA.spec
- initial release
[packages/perl-Crypt-IDEA.git] / perl-Crypt-IDEA.spec
1 Summary:        Crypt-IDEA perl module
2 Summary(pl):    Modu³ perla Crypt-IDEA
3 Name:           perl-Crypt-IDEA
4 Version:        1.0
5 Release:        3
6 Copyright:      GPL
7 Group:          Development/Languages/Perl
8 Group(pl):      Programowanie/Jêzyki/Perl
9 Source:         ftp://ftp.perl.org/pub/CPAN/modules/by-module/Crypt/Crypt-IDEA-%{version}.tar.gz
10 Patch0:         perl-Crypt-IDEA-inc.patch
11 Patch1:         perl-Crypt-IDEA-paths.patch
12 BuildRequires:  perl >= 5.005_03-10
13 %requires_eq    perl
14 Requires:       %{perl_sitearch}
15 BuildRoot:      /tmp/%{name}-%{version}-root
16
17 %description
18 Crypt-IDEA - Perl interface to IDEA block cipher.
19
20 %description -l pl
21 Crypt-IDEA - modu³ wspomagaj±cy algorytm IDEA.
22
23 %prep
24 %setup -q -n Crypt-IDEA-%{version}
25 %patch0 -p0
26 %patch1 -p0
27
28 %build
29 perl Makefile.PL
30 make
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 make install DESTDIR=$RPM_BUILD_ROOT
35
36 strip --strip-unneeded $RPM_BUILD_ROOT/%{perl_sitearch}/auto/Crypt/IDEA/*.so
37
38 (
39   cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Crypt/IDEA
40   sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
41   mv .packlist.new .packlist
42 )
43
44 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* 
45         
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52
53 %{perl_sitearch}/Crypt/IDEA.pm
54
55 %dir %{perl_sitearch}/auto/Crypt/IDEA
56 %{perl_sitearch}/auto/Crypt/IDEA/.packlist
57 %{perl_sitearch}/auto/Crypt/IDEA/IDEA.bs
58 %attr(755,root,root) %{perl_sitearch}/auto/Crypt/IDEA/IDEA.so
59
60 %{_mandir}/man3/*
This page took 0.033819 seconds and 4 git commands to generate.