]> git.pld-linux.org Git - packages/perl-Crypt-OpenSSL-X509.git/blame - perl-Crypt-OpenSSL-X509.spec
adapter url
[packages/perl-Crypt-OpenSSL-X509.git] / perl-Crypt-OpenSSL-X509.spec
CommitLineData
c8d1ff64
AO
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
688131e2 4
c8d1ff64
AO
5%define pdir Crypt
6%define pnam OpenSSL-X509
688131e2 7%include /usr/lib/rpm/macros.perl
c8d1ff64
AO
8Summary: Crypt::OpenSSL::X509 - Perl extension to OpenSSL's X509 API
9Name: perl-%{pdir}-%{pnam}
5db541d6 10Version: 1.804
c8d1ff64
AO
11Release: 1
12License: GPL v1+ or Artistic
13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
5db541d6 15# Source0-md5: a3f019e91531f53a389f80fdcb656786
688131e2 16URL: http://search.cpan.org/dist/Crypt-OpenSSL-X509/
c8d1ff64
AO
17BuildRequires: perl-devel >= 1:5.8.0
18BuildRequires: rpm-perlprov >= 4.1-13
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22This implement a large majority of OpenSSL's useful X509 API.
23
24The email() method supports both certificates where the subject is of
25the form: "... CN=Firstname lastname/emailAddress=user@domain", and
26also certificates where there is a X509v3 Extension of the form
27"X509v3 Subject Alternative Name: email=user@domain".
28
29%prep
30%setup -q -n %{pdir}-%{pnam}-%{version}
31
32%build
33%{__perl} Makefile.PL \
34 INSTALLDIRS=vendor
35%{__make} \
36 CC="%{__cc}" \
37 OPTIMIZE="%{rpmcflags}"
38
39%{?with_tests:%{__make} test}
40
41%install
42rm -rf $RPM_BUILD_ROOT
43
44%{__make} pure_install \
45 DESTDIR=$RPM_BUILD_ROOT
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
52%doc Changes README TODO
53%{perl_vendorarch}/Crypt/OpenSSL/*.pm
54%dir %{perl_vendorarch}/auto/Crypt/OpenSSL/X509
c8d1ff64
AO
55%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/OpenSSL/X509/*.so
56%{_mandir}/man3/*
This page took 0.122069 seconds and 4 git commands to generate.