51 lines
1.3 KiB
RPMSpec
51 lines
1.3 KiB
RPMSpec
![]() |
# vim: set sw=4 ts=4 et nu:
|
||
|
|
||
|
Name: perl-Crypt-OpenSSL-X509
|
||
|
Version: 1.800.1
|
||
|
Release: 0
|
||
|
Summary: Perl extension to OpenSSL's X509 API
|
||
|
Source: http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/Crypt-OpenSSL-X509-%{version}.tar.gz
|
||
|
URL: http://search.cpan.org/dist/Crypt-OpenSSL-X509
|
||
|
Group: Development/Libraries/Perl
|
||
|
License: Perl License
|
||
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
||
|
%{perl_requires}
|
||
|
BuildRequires: perl-macros
|
||
|
BuildRequires: make
|
||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
||
|
BuildRequires: openssl-devel
|
||
|
BuildRequires: gcc glibc-devel pkgconfig
|
||
|
|
||
|
%description
|
||
|
This implements a large majority of OpenSSL's useful X509 API.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n "Crypt-OpenSSL-X509-%{version}"
|
||
|
%__sed -i '/^auto_install/d' Makefile.PL
|
||
|
|
||
|
%build
|
||
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||
|
%__make %{?jobs:-j%{jobs}}
|
||
|
|
||
|
%install
|
||
|
%perl_make_install
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%check
|
||
|
%__make test
|
||
|
|
||
|
%clean
|
||
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc Changes TODO README
|
||
|
%dir %{perl_vendorarch}/Crypt
|
||
|
%dir %{perl_vendorarch}/Crypt/OpenSSL
|
||
|
%{perl_vendorarch}/Crypt/OpenSSL/X509.pm
|
||
|
%dir %{perl_vendorarch}/auto/Crypt
|
||
|
%dir %{perl_vendorarch}/auto/Crypt/OpenSSL
|
||
|
%{perl_vendorarch}/auto/Crypt/OpenSSL/X509
|
||
|
%doc %{perl_man3dir}/Crypt::OpenSSL::X509.%{perl_man3ext}%{ext_man}
|
||
|
|