]> git.pld-linux.org Git - packages/perl-Crypt-DES.git/blame - perl-Crypt-DES.spec
- release 3 (by relup.sh)
[packages/perl-Crypt-DES.git] / perl-Crypt-DES.spec
CommitLineData
b425c6e2 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
77a3a99e 5%include /usr/lib/rpm/macros.perl
1b224d8d 6%define pdir Crypt
7%define pnam DES
c23e79cd 8Summary: Crypt::DES - Perl DES encryption module
f33aaf53 9Summary(pl.UTF-8): Crypt::DES - moduł Perla dla szyfrowania DES
4cac5cba 10Name: perl-Crypt-DES
0a4e8147 11Version: 2.07
29905bba 12Release: 3
c23e79cd 13License: BSD-like (see COPYRIGHT)
4cac5cba 14Group: Development/Languages/Perl
eee932a7 15Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
0a4e8147 16# Source0-md5: e845d24cf383ca4a30a3380a2735feac
eee932a7 17URL: http://search.cpan.org/dist/Crypt-DES/
7ab0dae0 18%{?with_tests:BuildRequires: perl-Crypt-CBC}
121e743d 19BuildRequires: perl-devel >= 1:5.8.0
c804320d 20BuildRequires: rpm-perlprov >= 4.1-13
20435378 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
4cac5cba 22
23%description
c23e79cd 24Crypt::DES is Perl interface to DES block cipher.
4cac5cba 25
ed629a48
JR
26%description -l pl.UTF-8
27Moduł Perla Crypt::DES zawiera obsługę algorytmu szyfrowania DES.
4cac5cba 28
29%prep
77a3a99e 30%setup -q -n %{pdir}-%{pnam}-%{version}
4cac5cba 31
32%build
c804320d 33%{__perl} Makefile.PL \
7dc78531 34 INSTALLDIRS=vendor
b425c6e2 35%{__make} \
fb8a2829 36 CC="%{__cc}" \
b425c6e2 37 OPTIMIZE="%{rpmcflags}"
38
39%{?with_tests:%{__make} test}
4cac5cba 40
41%install
42rm -rf $RPM_BUILD_ROOT
4cac5cba 43
b425c6e2 44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
4cac5cba 46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
76226530 52%doc COPYRIGHT README
c804320d 53%{perl_vendorarch}/Crypt/DES.pm
54%dir %{perl_vendorarch}/auto/Crypt/DES
c804320d 55%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/DES/DES.so
0a4e8147 56%{_mandir}/man3/Crypt::DES.3pm*
This page took 0.246229 seconds and 4 git commands to generate.