cpanspec, noarch pkg
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-IO-Socket-SSL?expand=0&rev=15
This commit is contained in:
parent
44c2498838
commit
d8d735204c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:cb130d12f05ed2f64eece54f776d0337947fe8d598603e2d4356c54b3ec1f63e
|
|
||||||
size 60752
|
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 24 21:04:28 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- recreated by cpanspec 1.78
|
||||||
|
o fix deps
|
||||||
|
- noarch pkg
|
||||||
|
- removed Obsoletes/Provides p_iossl
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 1 13:09:07 CET 2010 - anicka@suse.cz
|
Mon Nov 1 13:09:07 CET 2010 - anicka@suse.cz
|
||||||
|
|
||||||
|
@ -17,63 +17,86 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
|
||||||
Name: perl-IO-Socket-SSL
|
Name: perl-IO-Socket-SSL
|
||||||
BuildRequires: perl-Net-SSLeay perl-libwww-perl
|
%define cpan_name IO-Socket-SSL
|
||||||
|
Summary: Nearly transparent SSL encapsulation for IO::Socket::INET
|
||||||
Version: 1.34
|
Version: 1.34
|
||||||
Release: 1
|
Release: 1
|
||||||
Provides: p_iossl
|
License: GPL+ or Artistic
|
||||||
Obsoletes: p_iossl
|
|
||||||
Requires: perl-Net-SSLeay perl-libwww-perl
|
|
||||||
Requires: perl = %{perl_version}
|
|
||||||
AutoReqProv: on
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Artistic License ..
|
Url: http://search.cpan.org/dist/IO-Socket-SSL/
|
||||||
Url: http://cpan.org/modules/by-module/IO
|
#Source: http://www.cpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-1.34.tar.gz
|
||||||
Summary: IO::Socket::SSL Perl Module
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
Source: IO-Socket-SSL-%{version}.tar.bz2
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
%if 0%{?suse_version} < 1120
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
%endif
|
||||||
|
BuildRequires: perl(Net::LibIDN)
|
||||||
|
BuildRequires: perl(Net::SSLeay) >= 1.21
|
||||||
|
BuildRequires: perl(Scalar::Util)
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
Requires: perl(Net::SSLeay) >= 1.21
|
||||||
|
Requires: perl(Scalar::Util)
|
||||||
|
Recommends: perl(Net::LibIDN)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
IO::Socket::SSL is a class implementing an object oriented interface to
|
This module is a true drop-in replacement for IO::Socket::INET that uses
|
||||||
SSL sockets. The class is a descendant of IO::Socket::INET and provides
|
SSL to encrypt data before it is transferred to a remote server or client.
|
||||||
a subset of the base class' interface methods.
|
IO::Socket::SSL supports all the extra features that one needs to write a
|
||||||
|
full-featured SSL client or server application: multiple SSL contexts,
|
||||||
|
cipher selection, certificate verification, and SSL version selection. As
|
||||||
|
an extra bonus, it works perfectly with mod_perl.
|
||||||
|
|
||||||
|
If you have never used SSL before, you should read the appendix labelled
|
||||||
|
'Using SSL' before attempting to use this module.
|
||||||
|
|
||||||
|
If you have used this module before, read on, as versions 0.93 and above
|
||||||
|
have several changes from the previous IO::Socket::SSL versions (especially
|
||||||
|
see the note about return values).
|
||||||
|
|
||||||
|
If you are using non-blocking sockets read on, as version 0.98 added better
|
||||||
|
support for non-blocking.
|
||||||
|
|
||||||
|
If you are trying to use it with threads see the BUGS section.
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
--------
|
--------
|
||||||
<aspa@kronodoc.fi>
|
Steffen Ullrich, <steffen at genua.de> is the current maintainer.
|
||||||
<Steffen_Ullrich@genua.de>
|
Peter Behroozi, <behrooz at fas.harvard.edu>
|
||||||
|
Marko Asplund, <marko.asplund at kronodoc.fi> original author of IO::Socket::SSL
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n IO-Socket-SSL-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
make %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if 0%{?opensuse_bs}
|
%{__make} test
|
||||||
# currently 127.0.0.1 resolves to hostname in OBS
|
|
||||||
# and not to localhost
|
|
||||||
rm -fv t/auto_verify_hostname
|
|
||||||
%endif
|
|
||||||
make test
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
|
### since 11.4 perl_process_packlist
|
||||||
|
### removes .packlist, perllocal.pod files
|
||||||
|
%if 0%{?suse_version} > 1130
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%else
|
||||||
|
# do not perl_process_packlist
|
||||||
|
# remove .packlist file
|
||||||
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||||
|
# remove perllocal.pod file
|
||||||
|
%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod
|
||||||
|
%endif
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes BUGS README example util
|
%doc BUGS Changes README example util
|
||||||
%doc %{_mandir}/man?/*
|
|
||||||
%{perl_vendorlib}/IO
|
|
||||||
%{perl_vendorarch}/auto/IO
|
|
||||||
/var/adm/perl-modules/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user