]> git.pld-linux.org Git - packages/openssl.git/blobdiff - openssl.spec
- rel 4; fix config.5 symlink; add tests bcond
[packages/openssl.git] / openssl.spec
index 323d678973476f4e22e855eb93a2129f3fa3cad1..09ecac7b71e2832eae0a288e2fa4e4dfe7136b97 100644 (file)
@@ -1,20 +1,21 @@
 #
 # Conditional build:
+%bcond_without tests
 %bcond_with purify     # Compile openssl with \-DPURIFY, useful when one wants to
                        # use valgrind debugger against openssl-linked programs
 #
 %include       /usr/lib/rpm/macros.perl
 Summary:       OpenSSL Toolkit libraries for the "Secure Sockets Layer" (SSL v2/v3)
-Summary(de.UTF-8):   Secure Sockets Layer (SSL)-Kommunikationslibrary
-Summary(es.UTF-8):   Biblioteca C que suministra algoritmos y protocolos criptográficos
-Summary(fr.UTF-8):   Utilitaires de communication SSL (Secure Sockets Layer)
-Summary(pl.UTF-8):   Biblioteki OpenSSL (SSL v2/v3)
-Summary(pt_BR.UTF-8):   Uma biblioteca C que fornece vários algoritmos e protocolos criptográficos
-Summary(ru.UTF-8):   Библиотеки и утилиты для соединений через Secure Sockets Layer
-Summary(uk.UTF-8):   Бібліотеки та утиліти для з'єднань через Secure Sockets Layer
+Summary(de.UTF-8):     Secure Sockets Layer (SSL)-Kommunikationslibrary
+Summary(es.UTF-8):     Biblioteca C que suministra algoritmos y protocolos criptográficos
+Summary(fr.UTF-8):     Utilitaires de communication SSL (Secure Sockets Layer)
+Summary(pl.UTF-8):     Biblioteki OpenSSL (SSL v2/v3)
+Summary(pt_BR.UTF-8):  Uma biblioteca C que fornece vários algoritmos e protocolos criptográficos
+Summary(ru.UTF-8):     Библиотеки и утилиты для соединений через Secure Sockets Layer
+Summary(uk.UTF-8):     Бібліотеки та утиліти для з'єднань через Secure Sockets Layer
 Name:          openssl
 Version:       0.9.8d
-Release:       2
+Release:       4
 License:       Apache-style License
 Group:         Libraries
 Source0:       ftp://ftp.openssl.org/source/%{name}-%{version}.tar.gz
@@ -30,6 +31,7 @@ Patch4:               %{name}-md5-sparcv9.patch
 Patch5:                %{name}-libvar.patch
 Patch6:                %{name}-gcc_4_2.patch
 URL:           http://www.openssl.org/
+BuildRequires: bc
 BuildRequires: perl-devel >= 1:5.6.1
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildRequires: rpmbuild(macros) >= 1.213
@@ -93,7 +95,7 @@ RC4, RSA и SSL.
 
 %package tools
 Summary:       OpenSSL command line tool and utilities
-Summary(pl.UTF-8):   Zestaw narzędzi i skryptów
+Summary(pl.UTF-8):     Zestaw narzędzi i skryptów
 Group:         Applications/Communications
 Requires:      %{name} = %{version}-%{release}
 
@@ -105,7 +107,7 @@ Zestaw narzędzi i skryptów wywoływanych z linii poleceń.
 
 %package tools-perl
 Summary:       OpenSSL utilities written in Perl
-Summary(pl.UTF-8):   Narzędzia OpenSSL napisane w perlu
+Summary(pl.UTF-8):     Narzędzia OpenSSL napisane w perlu
 Group:         Applications/Communications
 Requires:      %{name} = %{version}-%{release}
 
@@ -117,13 +119,13 @@ Narzędzia OpenSSL napisane w perlu.
 
 %package devel
 Summary:       Development part of OpenSSL Toolkit libraries
-Summary(de.UTF-8):   Secure Sockets Layer Kommunikationslibrary: statische libraries+header
-Summary(es.UTF-8):   Bibliotecas y archivos de inclusión para desarrollo OpenSSL
-Summary(fr.UTF-8):   Librairies statiques, headers et utilitaires pour communication SSL
-Summary(pl.UTF-8):   Część bibiloteki OpenSSL przeznaczona dla programistów
-Summary(pt_BR.UTF-8):   Bibliotecas e arquivos de inclusão para desenvolvimento OpenSSL
-Summary(ru.UTF-8):   Библиотеки, хедеры и утилиты для Secure Sockets Layer
-Summary(uk.UTF-8):   Бібліотеки, хедери та утиліти для Secure Sockets Layer
+Summary(de.UTF-8):     Secure Sockets Layer Kommunikationslibrary: statische libraries+header
+Summary(es.UTF-8):     Bibliotecas y archivos de inclusión para desarrollo OpenSSL
+Summary(fr.UTF-8):     Librairies statiques, headers et utilitaires pour communication SSL
+Summary(pl.UTF-8):     Część bibiloteki OpenSSL przeznaczona dla programistów
+Summary(pt_BR.UTF-8):  Bibliotecas e arquivos de inclusão para desenvolvimento OpenSSL
+Summary(ru.UTF-8):     Библиотеки, хедеры и утилиты для Secure Sockets Layer
+Summary(uk.UTF-8):     Бібліотеки, хедери та утиліти для Secure Sockets Layer
 Group:         Development/Libraries
 Requires:      %{name} = %{version}-%{release}
 Obsoletes:     libopenssl0-devel
@@ -156,10 +158,10 @@ RC4, RSA и SSL. Включает библиотеки и хедеры для р
 
 %package static
 Summary:       Static OpenSSL libraries
-Summary(pl.UTF-8):   Statyczne wersje bibliotek z OpenSSL
-Summary(pt_BR.UTF-8):   Bibliotecas estáticas para desenvolvimento com openssl
-Summary(ru.UTF-8):   Статические библиотеки разработчика для OpenSSL
-Summary(uk.UTF-8):   Статичні бібліотеки програміста для OpenSSL
+Summary(pl.UTF-8):     Statyczne wersje bibliotek z OpenSSL
+Summary(pt_BR.UTF-8):  Bibliotecas estáticas para desenvolvimento com openssl
+Summary(ru.UTF-8):     Статические библиотеки разработчика для OpenSSL
+Summary(uk.UTF-8):     Статичні бібліотеки програміста для OpenSSL
 Group:         Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
@@ -243,11 +245,7 @@ export OPTFLAGS LDFLAGS
        linux64-sparcv9
 %endif
 
-%{__make} -j1 \
-       CC="%{__cc}" \
-       INSTALLTOP=%{_prefix}
-
-%{__make} -j1 rehash \
+%{__make} -j1 all rehash %{?with_tests:tests} \
        CC="%{__cc}" \
        INSTALLTOP=%{_prefix}
 
@@ -341,6 +339,8 @@ install %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/ssl-certificate
 
 rm $RPM_BUILD_ROOT%{_mandir}/man5/x509v3_config.5
 echo ".so openssl_x509v3_config.5" > $RPM_BUILD_ROOT%{_mandir}/man5/x509v3_config.5
+rm $RPM_BUILD_ROOT%{_mandir}/man5/config.5
+echo ".so openssl_config.5" > $RPM_BUILD_ROOT%{_mandir}/man5/config.5
 rm $RPM_BUILD_ROOT%{_mandir}/man7/Modes_of_DES.7
 echo ".so openssl_des_modes.7" > $RPM_BUILD_ROOT%{_mandir}/man7/Modes_of_DES.7
 
This page took 0.041147 seconds and 4 git commands to generate.