]> git.pld-linux.org Git - packages/perl-Crypt-OpenSSL-DSA.git/blob - perl-Crypt-OpenSSL-DSA.spec
- formatting
[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):    Crypt::OpenSSL::DSA - algorytm DSA u¿ywaj±cy OpenSSL
10 Name:           perl-Crypt-OpenSSL-DSA
11 Version:        0.11
12 Release:        3
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  87db60686b76ee4633f4ec6bf0b666b1
18 BuildRequires:  openssl-devel >= 0.9.7d
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Crypt::OpenSSL::DSA implements the DSA (Digital Signature Algorithm)
25 signature verification system.
26
27 %description -l pl
28 Modu³ Crypt::OpenSSL::DSA jest implementacj± systemu weryfikacji
29 podpisów DSA (Digital Signature Algorithm).
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make} \
38         OPTIMIZE="%{rpmcflags}"
39
40 ##### were disabled - some of tests fail randomly ?
41 %{?with_tests:%{__make} test}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc Changes README
55 %{perl_vendorarch}/Crypt/OpenSSL/DSA.pm
56 %dir %{perl_vendorarch}/auto/Crypt/OpenSSL/DSA
57 %{perl_vendorarch}/auto/Crypt/OpenSSL/DSA/*.bs
58 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/OpenSSL/DSA/*.so
59 %{_mandir}/man3/*
This page took 0.136539 seconds and 3 git commands to generate.