]> git.pld-linux.org Git - packages/perl-Crypt-X509.git/blame - perl-Crypt-X509.spec
- up to 0.52
[packages/perl-Crypt-X509.git] / perl-Crypt-X509.spec
CommitLineData
be5fe1c3
AM
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 X509
8Summary: Crypt::X509 - Parse a X.509 certificate
9Name: perl-Crypt-X509
58b7cb7a 10Version: 0.52
be5fe1c3
AM
11Release: 1
12License: Artistic
13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
58b7cb7a 15# Source0-md5: dfca86dbbfa9d1e470a18f2b0d140dc0
be5fe1c3
AM
16URL: http://search.cpan.org/dist/Crypt-X509/
17BuildRequires: perl-Convert-ASN1
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Crypt::X509 parses X.509 certificates. Methods are provided for
25accessing most certificate elements.
26
27%prep
28%setup -q -n %{pdir}-%{pnam}-%{version}
29
30%build
31%{__perl} Makefile.PL \
32 INSTALLDIRS=vendor
33
34%{__make} \
35 CC="%{__cc}" \
36 OPTIMIZE="%{rpmcflags}"
37
38%{?with_tests:%{__make} test}
39
40%install
41rm -rf $RPM_BUILD_ROOT
42
43%{__make} install \
44 DESTDIR=$RPM_BUILD_ROOT
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%doc Changes README
52%{perl_vendorlib}/Crypt/X509.pm
53%{_mandir}/man3/Crypt::*.3pm*
This page took 0.032088 seconds and 4 git commands to generate.