1 %include /usr/lib/rpm/macros.perl
4 Summary: Crypt-DES perl module
5 Summary(pl): Modu³ perla Crypt-DES
10 Group: Development/Languages/Perl
11 Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 BuildRequires: rpm-perlprov >= 3.0.3-16
13 BuildRequires: perl >= 5.6.1
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Crypt-DES - Perl interface to DES block cipher.
20 Crypt-DES - modu³ wspomagaj±cy algorytm DES.
23 %setup -q -n %{pdir}-%{pnam}-%{version}
27 %{__make} OPTIMIZE="%{rpmcflags}"
30 rm -rf $RPM_BUILD_ROOT
32 %{__make} install DESTDIR=$RPM_BUILD_ROOT
35 rm -rf $RPM_BUILD_ROOT
38 %defattr(644,root,root,755)
39 %{perl_sitearch}/Crypt/DES.pm
40 %dir %{perl_sitearch}/auto/Crypt/DES
41 %{perl_sitearch}/auto/Crypt/DES/DES.bs
42 %attr(755,root,root) %{perl_sitearch}/auto/Crypt/DES/DES.so