]>
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 | |
5 | License: GPL | |
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 | |
12 | ExclusiveArch: %{x8664} %{ix86} alpha ppc sparc | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
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 | |
19 | ||
20 | %description | |
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. | |
28 | ||
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. | |
34 | ||
35 | This package contains shared libraries only, install openssl-tools if | |
36 | you want to use openssl cmdline tool. | |
37 | ||
38 | %prep | |
39 | %setup -qc | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | install -d $RPM_BUILD_ROOT%{_libdir} | |
44 | ||
45 | %ifarch alpha | |
46 | cp -a alpha/* $RPM_BUILD_ROOT%{_libdir} | |
47 | %endif | |
48 | ||
49 | %ifarch %{x8664} | |
50 | cp -a amd64/* $RPM_BUILD_ROOT%{_libdir} | |
51 | %endif | |
52 | ||
53 | %ifarch sparc | |
54 | cp -a sparc/* $RPM_BUILD_ROOT%{_libdir} | |
55 | %endif | |
56 | ||
57 | %ifarch %{ix86} | |
58 | cp -a i[34]86/* $RPM_BUILD_ROOT%{_libdir} | |
59 | %endif | |
60 | ||
61 | %ifarch ppc | |
62 | cp -a ppc/* $RPM_BUILD_ROOT%{_libdir} | |
63 | %endif | |
64 | ||
65 | /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir} | |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | %post -p /sbin/ldconfig | |
71 | %postun -p /sbin/ldconfig | |
72 | ||
73 | %files | |
74 | %defattr(644,root,root,755) | |
75 | %attr(755,root,root) %{_libdir}/libcrypto.so.*.*.* | |
76 | %attr(755,root,root) %{_libdir}/libssl.so.*.*.* |