Name: perl-Net-SSLGlue Version: 0.4 Release: 1%{?dist} Summary: Add/extend SSL support for common perl modules License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Net-SSLGlue/ Source0: http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/Net-SSLGlue-%{version}.tar.gz # Remove interactive question # Only minimal test which doesnt requires Internet connexion Patch0: perl-Net-SSLGlue-test.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(IO::Socket::SSL) >= 1.19 Requires: perl(IO::Socket::SSL) >= 1.19 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description Some commonly used perl modules don't have SSL support at all, even if the protocol would support it. Others have SSL support, but most of them don't do proper checking of the servers certificate. %prep %setup -q -n Net-SSLGlue-%{version} %patch0 -p0 %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc COPYRIGHT TODO Changes examples %{perl_vendorlib}/Net %{_mandir}/man3/Net* %changelog * Sat Jun 19 2010 Remi Collet <Fedora@famillecollet.com> - 0.4-1 - update to 0.4 - add Changes and examples in docs * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.2-2 - Mass rebuild with perl-5.12.0 * Sun Feb 21 2010 Remi Collet <Fedora@famillecollet.com> - 0.2-1 - Specfile autogenerated by cpanspec 1.78 - initial RPM + cleanups - from review (#567107) perl_default_filter + DESTDIR