]> git.pld-linux.org Git - packages/perl-Crypt-DES.git/blob - perl-Crypt-DES.spec
- fixed pl description, added doc
[packages/perl-Crypt-DES.git] / perl-Crypt-DES.spec
1 %include        /usr/lib/rpm/macros.perl
2 %define pdir    Crypt
3 %define pnam    DES
4 Summary:        Crypt::DES perl module
5 Summary(pl):    Modu³ perla Crypt::DES
6 Name:           perl-Crypt-DES
7 Version:        2.03
8 Release:        4
9 License:        distributable
10 Group:          Development/Languages/Perl
11 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires:  perl >= 5.6
13 BuildRequires:  rpm-perlprov >= 3.0.3-16
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Crypt::DES - Perl interface to DES block cipher.
18
19 %description -l pl
20 Crypt::DES - modu³ obs³uguj±cy algorytm szyfrowania DES.
21
22 %prep
23 %setup -q -n %{pdir}-%{pnam}-%{version}
24
25 %build
26 perl Makefile.PL
27 %{__make} OPTIMIZE="%{rpmcflags}"
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31
32 %{__make} install DESTDIR=$RPM_BUILD_ROOT
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %doc COPYRIGHT README
40 %{perl_sitearch}/Crypt/DES.pm
41 %dir %{perl_sitearch}/auto/Crypt/DES
42 %{perl_sitearch}/auto/Crypt/DES/DES.bs
43 %attr(755,root,root) %{perl_sitearch}/auto/Crypt/DES/DES.so
44 %{_mandir}/man3/*
This page took 0.077219 seconds and 3 git commands to generate.