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 Conflicts: openssl < 0.9.7m-9
13 ExclusiveArch: %{x8664} %{ix86} alpha ppc sparc
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define no_install_post_check_so 1
17 %define no_install_post_strip 1
18 %define no_install_post_chrpath 1
19 %define _enable_debug_packages 0
22 The OpenSSL Project is a collaborative effort to develop a robust,
23 commercial-grade, full-featured, and Open Source toolkit implementing
24 the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS
25 v1) protocols with full-strength cryptography world-wide. The project
26 is managed by a worldwide community of volunteers that use the
27 Internet to communicate, plan, and develop the OpenSSL tookit and its
28 related documentation.
30 OpenSSL is based on the excellent SSLeay library developed by Eric A.
31 Young and Tim J. Hudson. The OpenSSL toolkit is licensed under an
32 Apache-style licence, which basically means that you are free to get
33 and use it for commercial and non-commercial purposes subject to some
34 simple license conditions.
36 This package contains shared libraries only, install openssl-tools if
37 you want to use openssl cmdline tool.
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_libdir}
47 cp -a alpha/* $RPM_BUILD_ROOT%{_libdir}
51 cp -a amd64/* $RPM_BUILD_ROOT%{_libdir}
55 cp -a sparc/* $RPM_BUILD_ROOT%{_libdir}
59 cp -a i[34]86/* $RPM_BUILD_ROOT%{_libdir}
63 cp -a ppc/* $RPM_BUILD_ROOT%{_libdir}
66 /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
69 rm -rf $RPM_BUILD_ROOT
71 %post -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
75 %defattr(644,root,root,755)
76 %attr(755,root,root) %{_libdir}/libcrypto.so.*.*.*
77 %attr(755,root,root) %{_libdir}/libssl.so.*.*.*