]> git.pld-linux.org Git - packages/perl-Crypt-OpenSSL-X509.git/blame - perl-Crypt-OpenSSL-X509.spec
perl 5.38.0 rebuild
[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
ad42ae1b
AO
5%define pdir Crypt
6%define pnam OpenSSL-X509
c8d1ff64
AO
7Summary: Crypt::OpenSSL::X509 - Perl extension to OpenSSL's X509 API
8Name: perl-%{pdir}-%{pnam}
e8c4cf3e 9Version: 1.811
44b8e4e7 10Release: 6
c8d1ff64
AO
11License: GPL v1+ or Artistic
12Group: Development/Languages/Perl
13Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
e8c4cf3e 14# Source0-md5: d8c9212dc0ce4d3924ec9739acf445cd
688131e2 15URL: http://search.cpan.org/dist/Crypt-OpenSSL-X509/
e8c4cf3e 16BuildRequires: perl(Module::Install)
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.181514 seconds and 4 git commands to generate.