1 Summary: OpenSSL Toolkit libraries for the "Secure Sockets Layer" (SSL v2/v3)
7 Source0: openssl-compat-%{version}.tar.xz
8 # Source0-md5: 2c13cb0bba2f731f1e80ef514befd82b
9 BuildRequires: /sbin/ldconfig
10 BuildRequires: tar >= 1:1.22
12 ExclusiveArch: %{x8664} %{ix86} alpha ppc sparc
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 %define no_install_post_check_so 1
16 %define no_install_post_strip 1
17 %define no_install_post_chrpath 1
18 %define _enable_debug_packages 0
21 The OpenSSL Project is a collaborative effort to develop a robust,
22 commercial-grade, full-featured, and Open Source toolkit implementing
23 the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS
24 v1) protocols with full-strength cryptography world-wide. The project
25 is managed by a worldwide community of volunteers that use the
26 Internet to communicate, plan, and develop the OpenSSL tookit and its
27 related documentation.
29 OpenSSL is based on the excellent SSLeay library developed by Eric A.
30 Young and Tim J. Hudson. The OpenSSL toolkit is licensed under an
31 Apache-style licence, which basically means that you are free to get
32 and use it for commercial and non-commercial purposes subject to some
33 simple license conditions.
35 This package contains shared libraries only, install openssl-tools if
36 you want to use openssl cmdline tool.
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_libdir}
46 cp -a alpha/* $RPM_BUILD_ROOT%{_libdir}
50 cp -a amd64/* $RPM_BUILD_ROOT%{_libdir}
54 cp -a sparc/* $RPM_BUILD_ROOT%{_libdir}
58 cp -a i[34]86/* $RPM_BUILD_ROOT%{_libdir}
62 cp -a ppc/* $RPM_BUILD_ROOT%{_libdir}
65 /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
68 rm -rf $RPM_BUILD_ROOT
70 %post -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
74 %defattr(644,root,root,755)
75 %attr(755,root,root) %{_libdir}/libcrypto.so.*.*.*
76 %attr(755,root,root) %{_libdir}/libssl.so.*.*.*