]> git.pld-linux.org Git - packages/perl-Crypt-OpenSSL-DSA.git/blob - perl-Crypt-OpenSSL-DSA.spec
7f7047d9ce9af5f346678d1a5bef76ddd325af31
[packages/perl-Crypt-OpenSSL-DSA.git] / perl-Crypt-OpenSSL-DSA.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # Do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Crypt
7 %define         pnam    OpenSSL-DSA
8 Summary:        Crypt::OpenSSL::DSA - Digital Signature Algorithm using OpenSSL
9 Summary(pl.UTF-8):      Crypt::OpenSSL::DSA - algorytm DSA używający OpenSSL
10 Name:           perl-Crypt-OpenSSL-DSA
11 Version:        0.13
12 Release:        9
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  3ae371799108731623a8d9b3adf7f767
18 URL:            http://search.cpan.org/dist/Crypt-OpenSSL-DSA/
19 BuildRequires:  openssl-devel >= 0.9.7d
20 BuildRequires:  openssl-tools
21 BuildRequires:  perl-devel >= 1:5.8.0
22 BuildRequires:  rpm-perlprov >= 4.1-13
23 BuildRequires:  which
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 Crypt::OpenSSL::DSA implements the DSA (Digital Signature Algorithm)
28 signature verification system.
29
30 %description -l pl.UTF-8
31 Moduł Crypt::OpenSSL::DSA jest implementacją systemu weryfikacji
32 podpisów DSA (Digital Signature Algorithm).
33
34 %prep
35 %setup -q -n %{pdir}-%{pnam}-%{version}
36
37 %build
38 %{__perl} Makefile.PL \
39         INSTALLDIRS=vendor
40 %{__make} \
41         CC="%{__cc}" \
42         OPTIMIZE="%{rpmcflags}"
43
44 ##### were disabled - some of tests fail randomly ?
45 %{?with_tests:%{__make} test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc Changes README
59 %{perl_vendorarch}/Crypt/OpenSSL/DSA.pm
60 %dir %{perl_vendorarch}/auto/Crypt/OpenSSL/DSA
61 %{perl_vendorarch}/auto/Crypt/OpenSSL/DSA/*.bs
62 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/OpenSSL/DSA/*.so
63 %{_mandir}/man3/*
This page took 0.212922 seconds and 2 git commands to generate.