[packages/openssl102: 38/432] - openssl package splited to openssl (with scripts and binaries) and openssl-libs (with shared lib

adwol adwol at pld-linux.org
Sat Sep 29 01:04:49 CEST 2018


commit 2b2149ff977904853171c9f3135f957888a5d3b1
Author: mis <mis at pld-linux.org>
Date:   Tue Aug 22 16:38:11 2000 +0000

    - 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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openssl102.git/commitdiff/9fc1b1b87b259e8a327c99835865e91a391efc9e



More information about the pld-cvs-commit mailing list