]> git.pld-linux.org Git - packages/perl-Crypt-OpenSSL-DSA.git/blobdiff - perl-Crypt-OpenSSL-DSA.spec
- converted to UTF-8
[packages/perl-Crypt-OpenSSL-DSA.git] / perl-Crypt-OpenSSL-DSA.spec
index 5386943f462d6105db90a315d68b75e5f256dbc6..cb325cef83ed429c05ca7400312f32c2943b7fcf 100644 (file)
@@ -1,45 +1,50 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests   # Do not perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    Crypt
 %define                pnam    OpenSSL-DSA
 Summary:       Crypt::OpenSSL::DSA - Digital Signature Algorithm using OpenSSL
-Summary(pl):   Modu³ Perla Crypt::OpenSSL::DSA - algorytm DSA u¿ywaj±cy OpenSSL
+Summary(pl.UTF-8):   Crypt::OpenSSL::DSA - algorytm DSA używający OpenSSL
 Name:          perl-Crypt-OpenSSL-DSA
-Version:       0.11
+Version:       0.13
 Release:       1
-License:       GPL
+# same as perl
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
-Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-BuildRequires: openssl-devel >= 0.9.7
-BuildRequires: perl-devel >= 5.6.1
-BuildRequires: rpm-perlprov >= 3.0.3-16
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 3ae371799108731623a8d9b3adf7f767
+BuildRequires: openssl-devel >= 0.9.7d
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 Crypt::OpenSSL::DSA implements the DSA (Digital Signature Algorithm)
 signature verification system.
 
-%description -l pl
-Modu³ Crypt::OpenSSL::DSA jest implementacj± systemu weryfikacji
-podpisów DSA (Digital Signature Algorithm).
+%description -l pl.UTF-8
+Moduł Crypt::OpenSSL::DSA jest implementacją systemu weryfikacji
+podpisów DSA (Digital Signature Algorithm).
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
 
 %build
-perl Makefile.PL
-%{__make} OPTIMIZE="%{rpmcflags}"
+%{__perl} Makefile.PL \
+       INSTALLDIRS=vendor
+%{__make} \
+       OPTIMIZE="%{rpmcflags}"
 
 ##### were disabled - some of tests fail randomly ?
-%{!?_without_tests:%{__make} test}
+%{?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
@@ -47,8 +52,8 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changes README
-%{perl_sitearch}/Crypt/OpenSSL/DSA.pm
-%dir %{perl_sitearch}/auto/Crypt/OpenSSL/DSA
-%{perl_sitearch}/auto/Crypt/OpenSSL/DSA/*.bs
-%attr(755,root,root) %{perl_sitearch}/auto/Crypt/OpenSSL/DSA/*.so
+%{perl_vendorarch}/Crypt/OpenSSL/DSA.pm
+%dir %{perl_vendorarch}/auto/Crypt/OpenSSL/DSA
+%{perl_vendorarch}/auto/Crypt/OpenSSL/DSA/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/OpenSSL/DSA/*.so
 %{_mandir}/man3/*
This page took 0.078124 seconds and 4 git commands to generate.