/[smeserver]/rpms/perl-Net-SSLeay/sme9/perl-Net-SSLeay.spec
ViewVC logotype

Annotation of /rpms/perl-Net-SSLeay/sme9/perl-Net-SSLeay.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Feb 9 17:18:40 2016 UTC (8 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-Net-SSLeay-1_72-1_el6_sme, HEAD
Import perl-Net-SSLeay 1.72

1 vip-ire 1.1 Name: perl-Net-SSLeay
2     Version: 1.72
3     Release: 1%{?dist}
4     Summary: Perl extension for using OpenSSL
5     License: GPL+ or Artistic
6     Group: Development/Libraries
7     URL: http://search.cpan.org/dist/Net-SSLeay/
8     Source0: http://www.cpan.org/authors/id/M/MI/MIKEM/Net-SSLeay-%{version}.tar.gz
9     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10     BuildRequires: perl >= 0:5.005
11     BuildRequires: perl(ExtUtils::MakeMaker)
12     BuildRequires: perl(Test::More) >= 0.60_01
13     BuildRequires: openssl-devel
14     Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
15    
16     %description
17     Net::SSLeay module contains perl bindings to openssl
18     (http://www.openssl.org) library.
19    
20     %prep
21     %setup -q -n Net-SSLeay-%{version}
22    
23     %build
24     %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
25     make %{?_smp_mflags}
26    
27     %install
28     rm -rf $RPM_BUILD_ROOT
29    
30     make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
31    
32     find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
33     find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
34     find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
35    
36     %{_fixperms} $RPM_BUILD_ROOT/*
37    
38     %check
39     make test
40    
41     %clean
42     rm -rf $RPM_BUILD_ROOT
43    
44     %files
45     %defattr(-,root,root,-)
46     %doc Changes Credits LICENSE QuickRef README README.VMS README.Win32
47     %{perl_vendorarch}/auto/*
48     %{perl_vendorarch}/Net*
49     %{_mandir}/man3/*
50    
51     %changelog
52     * Tue Feb 09 2016 Daniel Berteaud <daniel@firewall-services.com> 1.72-1
53     - New build using cpanspec

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed