X-Git-Url: http://git.pld-linux.org/?p=packages%2Fopenssl.git;a=blobdiff_plain;f=openssl.spec;h=a17467e314642fda1adea4caa5e0f03043ace33e;hp=e63e41526d28b39de33d1385d8059ec830077671;hb=5957bf4aadb71744bbe0992599cdb7907215e45c;hpb=e106ff0283b0a031719646781e52e5a8538c86c3 diff --git a/openssl.spec b/openssl.spec index e63e415..a17467e 100644 --- a/openssl.spec +++ b/openssl.spec @@ -1,5 +1,4 @@ %include /usr/lib/rpm/macros.perl -%define _beta beta6 Summary: OpenSSL Toolkit libraries for the "Secure Sockets Layer" (SSL v2/v3) Summary(de): Secure Sockets Layer (SSL)-Kommunikationslibrary Summary(es): Biblioteca C que suministra algoritmos y protocolos criptográficos @@ -9,17 +8,21 @@ Summary(pt_BR): Uma biblioteca C que fornece v Summary(ru): âÉÂÌÉÏÔÅËÉ É ÕÔÉÌÉÔÙ ÄÌÑ ÓÏÅÄÉÎÅÎÉÊ ÞÅÒÅÚ Secure Sockets Layer Summary(uk): â¦Â̦ÏÔÅËÉ ÔÁ ÕÔÉ̦ÔÉ ÄÌÑ Ú'¤ÄÎÁÎØ ÞÅÒÅÚ Secure Sockets Layer Name: openssl -Version: 0.9.7 -Release: 0.%{_beta}.1 +Version: 0.9.7c +Release: 1 License: Apache-style License -Vendor: The OpenSSL Project Group: Libraries -Source0: ftp://ftp.openssl.org/source/%{name}-%{version}-%{_beta}.tar.gz +Source0: ftp://ftp.openssl.org/source/%{name}-%{version}.tar.gz +# Source0-md5: c54fb36218adaaaba01ef733cd88c8ec Source1: %{name}-ca-bundle.crt Source2: %{name}.1.pl Patch0: %{name}-alpha-ccc.patch Patch1: %{name}-optflags.patch Patch2: %{name}-globalCA.diff +Patch3: %{name}-parallel_make.patch +Patch4: %{name}-include.patch +Patch5: %{name}-makefile.patch +URL: http://www.openssl.org/ BuildRequires: perl-devel >= 5.6.1 BuildRequires: textutils BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -173,19 +176,22 @@ RC4, RSA ¦Â̦ÏÔÅËÉ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ SSL. %prep -%setup -q -n %{name}-%{version}-%{_beta} +%setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 %build for f in ` grep -r "%{_prefix}/local/bin/perl" . | cut -d":" -f1`; do -perl -pi -e 's#%{_prefix}/local/bin/perl#%{_bindir}/perl#g' $f +%{__perl} -pi -e 's#%{_prefix}/local/bin/perl#%{__perl}#g' $f done touch Makefile.* -perl util/perlpath.pl %{_bindir}/perl +%{__perl} util/perlpath.pl %{__perl} OPTFLAGS="%{rpmcflags}" export OPTFLAGS @@ -205,16 +211,21 @@ export OPTFLAGS ./Configure --openssldir=%{_var}/lib/%{name} threads linux-sparcv8 shared %endif -%{__make} CC="%{__cc}" -%{__make} rehash CC="%{__cc}" +%{__make} \ + CC="%{__cc}" \ + INSTALLTOP=%{_prefix} + +%{__make} rehash \ + CC="%{__cc}" \ + INSTALLTOP=%{_prefix} # Conv PODs to man pages. "openssl_" prefix is added to each manpage # to avoid potential conflicts with others packages. -center="OpenSSL 0.9.6" -rel="OpenSSL 0.9.6" +center="OpenSSL 0.9.7" +rel="OpenSSL 0.9.7" cd doc/apps || exit 1 -perl -pi -e 's/(\W)((?