]> git.pld-linux.org Git - packages/perl-Crypt-DES.git/blame - perl-Crypt-DES.spec
perl 5.38.0 rebuild
[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#
1b224d8d 5%define pdir Crypt
6%define pnam DES
c23e79cd 7Summary: Crypt::DES - Perl DES encryption module
f33aaf53 8Summary(pl.UTF-8): Crypt::DES - moduł Perla dla szyfrowania DES
4cac5cba 9Name: perl-Crypt-DES
0a4e8147 10Version: 2.07
60c50c83 11Release: 14
c23e79cd 12License: BSD-like (see COPYRIGHT)
4cac5cba 13Group: Development/Languages/Perl
eee932a7 14Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
0a4e8147 15# Source0-md5: e845d24cf383ca4a30a3380a2735feac
8efd5f4f 16URL: https://metacpan.org/dist/Crypt-DES
7ab0dae0 17%{?with_tests:BuildRequires: perl-Crypt-CBC}
121e743d 18BuildRequires: perl-devel >= 1:5.8.0
c804320d 19BuildRequires: rpm-perlprov >= 4.1-13
8efd5f4f 20BuildRequires: rpmbuild(macros) >= 1.745
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.11784 seconds and 4 git commands to generate.