[packages/compat-openssl] package for old openssl 0.9.7m libraries
glen
glen at pld-linux.org
Wed Dec 31 13:08:16 CET 2014
commit 66399a82d8fd918d8d87688ac9c964f180aeb278
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Dec 31 14:07:40 2014 +0200
package for old openssl 0.9.7m libraries
compat-openssl.spec | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)
---
diff --git a/compat-openssl.spec b/compat-openssl.spec
new file mode 100644
index 0000000..02e9baa
--- /dev/null
+++ b/compat-openssl.spec
@@ -0,0 +1,76 @@
+Summary: OpenSSL Toolkit libraries for the "Secure Sockets Layer" (SSL v2/v3)
+Name: compat-openssl
+Version: 0.9.7m
+Release: 9
+License: GPL
+Group: Libraries
+Source0: openssl-compat-%{version}.tar.xz
+# Source0-md5: 2c13cb0bba2f731f1e80ef514befd82b
+BuildRequires: /sbin/ldconfig
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+ExclusiveArch: %{x8664} %{ix86} alpha ppc sparc
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define no_install_post_check_so 1
+%define no_install_post_strip 1
+%define no_install_post_chrpath 1
+%define _enable_debug_packages 0
+
+%description
+The OpenSSL Project is a collaborative effort to develop a robust,
+commercial-grade, full-featured, and Open Source toolkit implementing
+the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS
+v1) protocols with full-strength cryptography world-wide. The project
+is managed by a worldwide community of volunteers that use the
+Internet to communicate, plan, and develop the OpenSSL tookit and its
+related documentation.
+
+OpenSSL is based on the excellent SSLeay library developed by Eric A.
+Young and Tim J. Hudson. The OpenSSL toolkit is licensed under an
+Apache-style licence, which basically means that you are free to get
+and use it for commercial and non-commercial purposes subject to some
+simple license conditions.
+
+This package contains shared libraries only, install openssl-tools if
+you want to use openssl cmdline tool.
+
+%prep
+%setup -qc
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}
+
+%ifarch alpha
+cp -a alpha/* $RPM_BUILD_ROOT%{_libdir}
+%endif
+
+%ifarch %{x8664}
+cp -a amd64/* $RPM_BUILD_ROOT%{_libdir}
+%endif
+
+%ifarch sparc
+cp -a sparc/* $RPM_BUILD_ROOT%{_libdir}
+%endif
+
+%ifarch %{ix86}
+cp -a i[34]86/* $RPM_BUILD_ROOT%{_libdir}
+%endif
+
+%ifarch ppc
+cp -a ppc/* $RPM_BUILD_ROOT%{_libdir}
+%endif
+
+/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libcrypto.so.*.*.*
+%attr(755,root,root) %{_libdir}/libssl.so.*.*.*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/compat-openssl.git/commitdiff/66399a82d8fd918d8d87688ac9c964f180aeb278
More information about the pld-cvs-commit
mailing list