]>
Commit | Line | Data |
---|---|---|
66399a82 ER |
1 | Summary: OpenSSL Toolkit libraries for the "Secure Sockets Layer" (SSL v2/v3) |
2 | Name: compat-openssl | |
3 | Version: 0.9.7m | |
4 | Release: 9 | |
2d665028 | 5 | License: Apache-like |
66399a82 ER |
6 | Group: Libraries |
7 | Source0: openssl-compat-%{version}.tar.xz | |
8 | # Source0-md5: 2c13cb0bba2f731f1e80ef514befd82b | |
9 | BuildRequires: /sbin/ldconfig | |
10 | BuildRequires: tar >= 1:1.22 | |
11 | BuildRequires: xz | |
f82113ed | 12 | Conflicts: openssl < 0.9.7m-9 |
66399a82 ER |
13 | ExclusiveArch: %{x8664} %{ix86} alpha ppc sparc |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
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 | |
20 | ||
21 | %description | |
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. | |
29 | ||
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. | |
35 | ||
36 | This package contains shared libraries only, install openssl-tools if | |
37 | you want to use openssl cmdline tool. | |
38 | ||
39 | %prep | |
40 | %setup -qc | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | install -d $RPM_BUILD_ROOT%{_libdir} | |
45 | ||
46 | %ifarch alpha | |
47 | cp -a alpha/* $RPM_BUILD_ROOT%{_libdir} | |
48 | %endif | |
49 | ||
50 | %ifarch %{x8664} | |
51 | cp -a amd64/* $RPM_BUILD_ROOT%{_libdir} | |
52 | %endif | |
53 | ||
54 | %ifarch sparc | |
55 | cp -a sparc/* $RPM_BUILD_ROOT%{_libdir} | |
56 | %endif | |
57 | ||
58 | %ifarch %{ix86} | |
59 | cp -a i[34]86/* $RPM_BUILD_ROOT%{_libdir} | |
60 | %endif | |
61 | ||
62 | %ifarch ppc | |
63 | cp -a ppc/* $RPM_BUILD_ROOT%{_libdir} | |
64 | %endif | |
65 | ||
66 | /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir} | |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %post -p /sbin/ldconfig | |
72 | %postun -p /sbin/ldconfig | |
73 | ||
74 | %files | |
75 | %defattr(644,root,root,755) | |
76 | %attr(755,root,root) %{_libdir}/libcrypto.so.*.*.* | |
77 | %attr(755,root,root) %{_libdir}/libssl.so.*.*.* |