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.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)
17 Crypt::DES - Perl interface to DES block cipher.
20 Crypt::DES - modu³ obs³uguj±cy algorytm szyfrowania 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)
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