SHA256
1
0
forked from pool/openssl
openssl/openssl.spec
Dominique Leuenberger 9d1003ce7d Accepting request 492985 from security:tls
- Provide pkgconfig(openssl)

- Provide basic baselibs.conf for 32bit subpackages
- Specify this package as noarch (as we just provide README files)

- Fix typo in openssl requires
- Add dependency on the branched devel package
- Provide all pkgconfig symbols to hide them in versioned subpkgs
- This allows us to propagate only the preffered version of openssl
  while allowing us to add extra openssl only as additional dependency

- Remove the ssl provides as it is applicable for only those that
  really provide it

- Prepare to split to various subpackages converting main one to
  dummy package
- Reduce to only provide main pkg and devel and depend on proper
  soversioned package
- Version in this package needs to be synced with the one provided
  by the split package
- Remove all the patches, now in the proper versioned namespace:
  * merge_from_0.9.8k.patch
  * openssl-1.0.0-c_rehash-compat.diff
  * bug610223.patch
  * openssl-ocloexec.patch
  * openssl-1.0.2a-padlock64.patch
  * openssl-fix-pod-syntax.diff
  * openssl-truststore.patch
  * compression_methods_switch.patch
  * 0005-libssl-Hide-library-private-symbols.patch

OBS-URL: https://build.opensuse.org/request/show/492985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssl?expand=0&rev=138
2017-05-18 18:46:33 +00:00

83 lines
2.7 KiB
RPMSpec

#
# spec file for package openssl
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define _sonum 1_0_0
Name: openssl
Version: 1.0.2k
Release: 0
Summary: Secure Sockets and Transport Layer Security
# Yes there is no license but to not confuse people keep it aligned to the pkg
License: OpenSSL
Group: Productivity/Networking/Security
Url: https://www.openssl.org/
Source0: README.SUSE
Source99: baselibs.conf
BuildRequires: libopenssl%{_sonum} = %{version}
Requires: openssl-%{_sonum} = %{version}
BuildArch: noarch
%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. The project is managed
by a worldwide community of volunteers that use the Internet to
communicate, plan, and develop the OpenSSL toolkit and its related
documentation.
%package -n libopenssl-devel
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: libopenssl%{_sonum} = %{version}
Requires: libopenssl-%{_sonum}-devel = %{version}
Requires: pkgconfig
Obsoletes: openssl-devel < %{version}
Provides: openssl-devel = %{version}
Provides: pkgconfig(libssl) = %{version}
Obsoletes: pkgconfig(libssl) < %{version}
Provides: pkgconfig(libopenssl) = %{version}
Obsoletes: pkgconfig(libopenssl) < %{version}
Provides: pkgconfig(libcrypto) = %{version}
Obsoletes: pkgconfig(libcrypto) < %{version}
Provides: pkgconfig(openssl) = %{version}
Obsoletes: pkgconfig(openssl) < %{version}
%description -n libopenssl-devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
%prep
cp %{SOURCE0} .
%build
:
%install
:
%files
%defattr(-, root, root)
%doc README.SUSE
%files -n libopenssl-devel
%defattr(-, root, root)
%doc README.SUSE
%changelog