]> git.pld-linux.org Git - packages/perl-Crypt-DES.git/blobdiff - perl-Crypt-DES.spec
- release 9
[packages/perl-Crypt-DES.git] / perl-Crypt-DES.spec
index 2bfe7fa52254506ce47e6f81a6dd92bf57658ab6..6b4e00fb59438864a8b355a348fe47c91797ab43 100644 (file)
@@ -1,50 +1,48 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    Crypt
 %define                pnam    DES
-Summary:       Crypt::DES Perl module
-Summary(cs):   Modul Crypt::DES pro Perl
-Summary(da):   Perlmodul Crypt::DES
-Summary(de):   Crypt::DES Perl Modul
-Summary(es):   Módulo de Perl Crypt::DES
-Summary(fr):   Module Perl Crypt::DES
-Summary(it):   Modulo di Perl Crypt::DES
-Summary(ja):   Crypt::DES Perl ¥â¥¸¥å¡¼¥ë
-Summary(ko):   Crypt::DES ÆÞ ¸ðÁÙ
-Summary(no):   Perlmodul Crypt::DES
-Summary(pl):   Modu³ Perla Crypt::DES
-Summary(pt):   Módulo de Perl Crypt::DES
-Summary(pt_BR):        Módulo Perl Crypt::DES
-Summary(ru):   íÏÄÕÌØ ÄÌÑ Perl Crypt::DES
-Summary(sv):   Crypt::DES Perlmodul
-Summary(uk):   íÏÄÕÌØ ÄÌÑ Perl Crypt::DES
-Summary(zh_CN):        Crypt::DES Perl Ä£¿é
+Summary:       Crypt::DES - Perl DES encryption module
+Summary(pl.UTF-8):     Crypt::DES - moduł Perla dla szyfrowania DES
 Name:          perl-Crypt-DES
-Version:       2.03
-Release:       4
-License:       distributable
+Version:       2.07
+Release:       9
+License:       BSD-like (see COPYRIGHT)
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-BuildRequires: perl >= 5.6
-BuildRequires: rpm-perlprov >= 3.0.3-16
+Source0:       http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: e845d24cf383ca4a30a3380a2735feac
+URL:           http://search.cpan.org/dist/Crypt-DES/
+%{?with_tests:BuildRequires:   perl-Crypt-CBC}
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Crypt::DES - Perl interface to DES block cipher.
+Crypt::DES is Perl interface to DES block cipher.
 
-%description -l pl
-Crypt::DES - modu³ obs³uguj±cy algorytm szyfrowania DES.
+%description -l pl.UTF-8
+Moduł Perla Crypt::DES zawiera obsługę algorytmu szyfrowania DES.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-perl Makefile.PL
-%{__make} OPTIMIZE="%{rpmcflags}"
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make} \
+       CC="%{__cc}" \
+       OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -52,8 +50,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc COPYRIGHT README
-%{perl_sitearch}/Crypt/DES.pm
-%dir %{perl_sitearch}/auto/Crypt/DES
-%{perl_sitearch}/auto/Crypt/DES/DES.bs
-%attr(755,root,root) %{perl_sitearch}/auto/Crypt/DES/DES.so
-%{_mandir}/man3/*
+%{perl_vendorarch}/Crypt/DES.pm
+%dir %{perl_vendorarch}/auto/Crypt/DES
+%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/DES/DES.so
+%{_mandir}/man3/Crypt::DES.3pm*
This page took 0.036048 seconds and 4 git commands to generate.