]> git.pld-linux.org Git - packages/perl-IO-Socket-SSL.git/commitdiff
- version 0.901, conditional tests, informative description, STBR
authorradek <radek@pld-linux.org>
Sat, 24 Aug 2002 17:08:31 +0000 (17:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-IO-Socket-SSL.spec -> 1.24

perl-IO-Socket-SSL.spec

index e3f0c5eff22835652ed18cb17560460863ac2df7..ba2aab2cb64495a531763a799d1812df5ed7b7f9 100644 (file)
@@ -1,25 +1,35 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    IO
 %define        pnam    Socket-SSL
-Summary:       IO::Socket::SSL perl module
-Summary(pl):   Modu³ perla IO::Socket::SSL
+Summary:       IO::Socket::SSL -- Nearly transparent SSL encapsulation for IO::Socket::INET.
+#Summary(pl):  IO::Socket::SSL -- 
 Name:          perl-IO-Socket-SSL
-Version:       0.81
+Version:       0.901
 Release:       1
 License:       GPL
 Group:         Development/Languages/Perl
 Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
 BuildRequires: perl >= 5.6
-BuildRequires: perl-Net-SSLeay
 BuildRequires: rpm-perlprov >= 3.0.3-18
+%if %{?_without_tests:0}%{!?_without_tests:1}
+BuildRequires: perl-Net-SSLeay
+%endif
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-IO::Socket::SSL perl module.
+This module is a true drop-in replacement for IO::Socket::INET that uses
+SSL to encrypt data before it is transferred to a remote server or client.
+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.
 
-%description -l pl
-Modu³ perla IO::Socket::SSL.
+%description -l pl
+# TODO
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
@@ -28,20 +38,22 @@ Modu
 perl Makefile.PL
 %{__make}
 
+%{!?_without_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-install demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install example/* util/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README
+%doc README docs/*
 %{perl_sitelib}/IO/Socket/SSL.pm
 %{_mandir}/man3/*
 %{_examplesdir}/%{name}-%{version}
This page took 0.04999 seconds and 4 git commands to generate.