]> git.pld-linux.org Git - packages/perl-Net-SSLeay.git/commitdiff
- release 2: rebuild against perl 5.6 and use rpm automation. perl-Net-SSLeay-1_05-2
authorkloczek <kloczek@pld-linux.org>
Fri, 19 Jan 2001 06:19:29 +0000 (06:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Net-SSLeay.spec -> 1.6

perl-Net-SSLeay.spec

index 1691bba15897cb3cef12f935dec0fcf5d9829265..36b2dd2219d787da495a17c9d2e893d76a2ae436 100644 (file)
@@ -3,25 +3,26 @@ Summary:      Net-SSLeay perl module
 Summary(pl):   Modu³ perla Net-SSLeay
 Name:          perl-Net-SSLeay
 Version:       1.05
-Release:       1
+Release:       2
 License:       GPL
 Group:         Development/Languages/Perl
+Group(de):     Entwicklung/Sprachen/Perl
 Group(pl):     Programowanie/Jêzyki/Perl
 Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/Net/Net_SSLeay.pm-%{version}.tar.gz
-Patch0:                perl-Net-SSLeay-paths.patch
-Patch1:                perl-Net-SSLeay-openssl_path.patch
+Patch0:                %{name}-paths.patch
+Patch1:                %{name}-openssl_path.patch
 BuildRequires: rpm-perlprov >= 3.0.3-18
-BuildRequires: perl >= 5.005_03-14
+BuildRequires: perl >= 5.6
 BuildRequires: openssl-devel >= 0.9.4-2
 %requires_eq   perl
 Requires:      %{perl_sitearch}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Net-SSLeay perl module
+Net-SSLeay perl module.
 
 %description -l pl
-Modul perla Net-SSLeay
+Modul perla Net-SSLeay.
 
 %prep
 %setup -q -n Net_SSLeay.pm-%{version}
@@ -30,42 +31,29 @@ Modul perla Net-SSLeay
 
 %build
 perl Makefile.PL
-%{__make} OPTIMIZE="$RPM_OPT_FLAGS"
+%{__make} OPTIMIZE="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_prefix}/src/examples/%{name}
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
-install examples/* $RPM_BUILD_ROOT%{_prefix}/src/examples/%{name}
 
-strip --strip-unneeded $RPM_BUILD_ROOT/%{perl_sitearch}/auto/Net/SSLeay/*.so
+install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-(
-  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Net/SSLeay
-  sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
-  mv .packlist.new .packlist
-)
-
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
-        Changes README
+gzip -9nf Changes README
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {Changes,README}.gz
-
+%doc *.gz
 %{perl_sitearch}/Net/SSLeay.pm
-
 %dir %{perl_sitearch}/auto/Net/SSLeay
-%{perl_sitearch}/auto/Net/SSLeay/.packlist
 %{perl_sitearch}/auto/Net/SSLeay/autosplit.ix
 %{perl_sitearch}/auto/Net/SSLeay/*.al
 %{perl_sitearch}/auto/Net/SSLeay/SSLeay.bs
 %attr(755,root,root) %{perl_sitearch}/auto/Net/SSLeay/SSLeay.so
-
 %{_mandir}/man3/*
-
-%{_prefix}/src/examples/%{name}
+%{_examplesdir}/%{name}-%{version}
This page took 0.096738 seconds and 4 git commands to generate.