3 %bcond_without tests # Do not perform "make test"
6 %define pnam OpenSSL-DSA
7 Summary: Crypt::OpenSSL::DSA - Digital Signature Algorithm using OpenSSL
8 Summary(pl.UTF-8): Crypt::OpenSSL::DSA - algorytm DSA używający OpenSSL
9 Name: perl-Crypt-OpenSSL-DSA
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 8f11ba8db9dfbfff37a5df677af02538
17 URL: https://metacpan.org/dist/Crypt-OpenSSL-DSA
18 BuildRequires: openssl-devel >= 0.9.7d
19 BuildRequires: openssl-tools
20 BuildRequires: perl-devel >= 1:5.8.0
21 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: rpmbuild(macros) >= 1.745
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Crypt::OpenSSL::DSA implements the DSA (Digital Signature Algorithm)
28 signature verification system.
30 %description -l pl.UTF-8
31 Moduł Crypt::OpenSSL::DSA jest implementacją systemu weryfikacji
32 podpisów DSA (Digital Signature Algorithm).
35 %setup -q -n %{pdir}-%{pnam}-%{version}
38 %{__perl} Makefile.PL \
42 OPTIMIZE="%{rpmcflags}"
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
52 %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Crypt/OpenSSL/DSA/Signature.pod
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %{perl_vendorarch}/Crypt/OpenSSL/DSA.pm
61 %dir %{perl_vendorarch}/auto/Crypt/OpenSSL/DSA
62 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/OpenSSL/DSA/DSA.so
63 %{_mandir}/man3/Crypt::OpenSSL::DSA*.3pm*