From 2b2149ff977904853171c9f3135f957888a5d3b1 Mon Sep 17 00:00:00 2001 From: mis Date: Tue, 22 Aug 2000 16:38:11 +0000 Subject: [PATCH] - openssl package splited to openssl (with scripts and binaries) and openssl-libs (with shared libraries only). That's for the ones who use programs which not need whole openssl (like ssh, which use libcrypto only). I'm not sure that "openssl-libs" name is a good choice, fix me if not. Changed files: openssl.spec -> 1.34 --- openssl.spec | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/openssl.spec b/openssl.spec index e9a9e7c..202fc4b 100644 --- a/openssl.spec +++ b/openssl.spec @@ -1,7 +1,7 @@ %include /usr/lib/rpm/macros.perl -Summary: Library and toolkit for the "Secure Sockets Layer" (SSL v2/v3) +Summary: Toolkit for the "Secure Sockets Layer" (SSL v2/v3) Summary(de): Secure Sockets Layer (SSL)-Kommunikationslibrary & Utilities -Summary(fr): Utilitaires et librairies de communication SSL (Secure Sockets Layer) +Summary(fr): Utilitaires de communication SSL (Secure Sockets Layer) Name: openssl Version: 0.9.5a Release: 3 @@ -17,6 +17,7 @@ BuildRequires: perl BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Prereq: fileutils Prereq: sed +Prereq: %{name}-libs = %{version} Obsoletes: SSLeay Obsoletes: SSLeay-devel Obsoletes: SSLeay-perl @@ -52,6 +53,18 @@ OpenSSL est un outiil de gestion des certificats et les librairies partagees qui fournit plusieurs protocoles et algorithmes de codage/decodage, incluant DES, RC4, RSA et SSL. +%package libs +Summary: The OpenSSL shared libraries +Summary(de): Secure Sockets Layer Kommunikationslibrary: statische libraries+header +Summary(fr): Librairies statiques, headers et utilitaires pour communication SSL (Secure Sockets Layer) +Summary(pl): Biblioteki dzilelone OpenSSL +Group: Libraries +Group(fr): Librairies +Group(pl): Biblioteki + +%description libs +The OpenSSL shared libraries + %package devel Summary: Development part of OpenSSL library Summary(de): Secure Sockets Layer Kommunikationslibrary: statische libraries+header @@ -60,7 +73,7 @@ Summary(pl): Cz Group: Development/Libraries Group(fr): Development/Librairies Group(pl): Programowanie/Biblioteki -Requires: %{name} = %{version} +Requires: %{name}-libs = %{version} %description devel Development part of OpenSSL library. @@ -136,9 +149,12 @@ gzip -9nf CHANGES CHANGES.SSLeay LICENSE NEWS README \ %post %{_bindir}/c_rehash certs + +%post libs /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun libs +/sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT @@ -157,6 +173,8 @@ rm -rf $RPM_BUILD_ROOT %{openssldir}/private %dir %{_pkglibdir} %attr(755,root,root) %{_pkglibdir}/* + +%files libs %attr(755,root,root) %{_libdir}/lib*.so.*.* %files devel -- 2.43.0