]> git.pld-linux.org Git - packages/perl-IO-Socket-SSL.git/blobdiff - perl-IO-Socket-SSL.spec
- license fixes & unification
[packages/perl-IO-Socket-SSL.git] / perl-IO-Socket-SSL.spec
index dbb5908d74d3b9bc84e831d065afd3b27364ebb4..cd0e6ab90dfe2bcdcec1c4f512bf160f8b51a60f 100644 (file)
@@ -1,21 +1,23 @@
 #
 # Conditional build:
-# _with_tests - perform "make test" - needs network connection
+%bcond_with    tests   # perform "make test" - needs network connection
 #
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    IO
 %define        pnam    Socket-SSL
-Summary:       IO::Socket::SSL -- Nearly transparent SSL encapsulation for IO::Socket::INET
-Summary(pl):   IO::Socket::SSL -- prawie przezroczysta obudowa SSL dla IO::Socket::INET
+Summary:       IO::Socket::SSL - nearly transparent SSL encapsulation for IO::Socket::INET
+Summary(pl):   IO::Socket::SSL - prawie przezroczysta obudowa SSL dla IO::Socket::INET
 Name:          perl-IO-Socket-SSL
-Version:       0.92
-Release:       2
+Version:       0.95
+Release:       1
 Epoch:         1
-License:       GPL
+# same as perl
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-BuildRequires: perl >= 5.6
+# Source0-md5: 4eaf9bc8a44a3e98132f2c551b17f95d
 BuildRequires: perl-Net-SSLeay
+BuildRequires: perl-devel >= 5.6
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -42,15 +44,16 @@ certyfikatu, wyb
 
 %build
 %{__perl} Makefile.PL \
-       INSTALLDIRS=vendor 
+       INSTALLDIRS=vendor
 %{__make}
 
-%{?_with_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 install example/* util/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
This page took 0.113996 seconds and 4 git commands to generate.