# # spec file for package perl-IO-Socket-SSL (Version 1.31) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: perl-IO-Socket-SSL BuildRequires: perl-Net-SSLeay perl-libwww-perl Version: 1.31 Release: 1 Provides: p_iossl Obsoletes: p_iossl Requires: perl-Net-SSLeay perl-libwww-perl Requires: perl = %{perl_version} AutoReqProv: on Group: Development/Libraries/Perl License: Artistic License .. Url: http://cpan.org/modules/by-module/IO Summary: IO::Socket::SSL Perl Module Source: IO-Socket-SSL-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description IO::Socket::SSL is a class implementing an object oriented interface to SSL sockets. The class is a descendant of IO::Socket::INET and provides a subset of the base class' interface methods. Authors: -------- %prep %setup -q -n IO-Socket-SSL-%{version} %build perl Makefile.PL make %{?_smp_mflags} %check %if 0%{?opensuse_bs} # currently 127.0.0.1 resolves to hostname in OBS # and not to localhost rm -fv t/auto_verify_hostname %endif make test %install %perl_make_install %perl_process_packlist %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes BUGS README example util %doc %{_mandir}/man?/* %{perl_vendorlib}/IO %{perl_vendorarch}/auto/IO /var/adm/perl-modules/%{name} %changelog