Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
libqca-qt5
libqca-qt5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libqca-qt5.spec of Package libqca-qt5
# # spec file for package libqca-qt5 # # 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/ # %if 0%{?suse_version} > 1320 # Disable PKCS11 on TW, conflicts with older openssl %bcond_with pkcs11 %else %bcond_without pkcs11 %endif %define _so 2 Name: libqca-qt5 Version: 2.1.3 Release: 0 Summary: Qt Cryptographic Architecture 2 License: LGPL-2.1+ Group: Development/Libraries/C and C++ Url: https://userbase.kde.org/QCA Source: http://download.kde.org/stable/qca/%{version}/src/qca-%{version}.tar.xz Source1: baselibs.conf Source99: libqca-qt5-rpmlintrc # PATCH-FIX-UPSTREAM (Needed for 0002 to apply) Patch1: 0001-Revert-tlsunittest-disable-some-ciphers.patch # PATCH-FIX-UPSTREAM (Variant of 0001, but for master) Patch2: 0002-Disable-missed-openssl-cipher-suites.patch # PATCH-FIX-UPSTREAM Patch3: 0003-Add-support-for-OpenSSL-1.1.0.patch # PATCH-FIX-OPENSUSE (Needed for gcrypt on 42.x?) Patch100: ansi.diff BuildRequires: ca-certificates BuildRequires: cmake >= 2.8.12 BuildRequires: cyrus-sasl-devel BuildRequires: gpg2 BuildRequires: libdrm-devel BuildRequires: libgcrypt-devel BuildRequires: libjpeg-devel BuildRequires: mozilla-nss-devel BuildRequires: pkgconfig(openssl) %if %{with pkcs11} BuildRequires: pkcs11-helper-devel %endif BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Core) >= 5.2.0 BuildRequires: pkgconfig(Qt5Network) >= 5.2.0 Requires: gpg2 >= 2.0.0 Recommends: %{name}-plugins Provides: libqca-qt5-2 = %{version} Obsoletes: libqca-qt5-2 < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package provides a generic Qt cryptographic architecture, including a library and a plug-in for using all supported capabilities of openssl, like SSL/TLS, X509, RSA, SHA1, MD5, Blowfish, 3DES, and AES. It can be extended by further plug-ins, for example, with qca-sasl for SASL support. %package devel Summary: Development files for the Qt Cryptographic Architecture 2 Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Requires: pkgconfig(Qt5Core) >= 5.2.0 Requires: pkgconfig(Qt5Network) >= 5.2.0 %description devel This package provides a generic Qt cryptographic architecture, including a library and a plugin for using all supported capabilities of openssl, like SSL/TLS, X509, RSA, SHA1, MD5, Blowfish, 3DES and AES. %package plugins Summary: Various plugins for the Qt Cryptographic Architecture 2 Group: System/Libraries %description plugins This package provides a generic Qt cryptographic architecture, including a library and a plug-in for using all supported capabilities of openssl, like SSL/TLS, X509, RSA, SHA1, MD5, Blowfish, 3DES, and AES. It can be extended by further plug-ins, for example, with qca-sasl for SASL support. %prep %setup -q -n qca-%{version} %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch100 -p1 %build %cmake \ -DQT4_BUILD=OFF \ -DBUILD_TESTS=OFF \ -DQCA_INSTALL_IN_QT_PREFIX=ON \ -DWITH_botan_PLUGIN=OFF \ -DQCA_BINARY_INSTALL_DIR:PATH="%{_bindir}" \ -DQCA_MAN_INSTALL_DIR:PATH="%{_mandir}" \ -Dqca_CERTSTORE="/etc/ssl/ca-bundle.pem" \ -DQCA_SUFFIX=qt5 make %{?_smp_mflags} %install %cmake_install %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc README COPYING TODO %{_libdir}/libqca-qt5.so.* %dir %{_libdir}/qt5/plugins/crypto %{_libdir}/qt5/plugins/crypto/libqca-logger.so %{_libdir}/qt5/plugins/crypto/libqca-softstore.so %{_libdir}/qt5/plugins/crypto/libqca-ossl.so %{_libdir}/qt5/plugins/crypto/libqca-gnupg.so %{_libdir}/qt5/plugins/crypto/libqca-gcrypt.so %files devel %defattr(-,root,root) %{_bindir}/qcatool-qt5 %{_bindir}/mozcerts-qt5 %{_includedir}/qt5/Qca-qt5/ %{_libdir}/qt5/mkspecs/features/crypto.prf %{_mandir}/man1/qcatool-qt5* %{_libdir}/libqca-qt5.so %{_libdir}/pkgconfig/qca2-qt5.pc %{_libdir}/cmake/Qca-qt5/ %files plugins %defattr(-,root,root) %{_libdir}/qt5/plugins/crypto/libqca-cyrus-sasl.so %{_libdir}/qt5/plugins/crypto/libqca-nss.so %if %{with pkcs11} %{_libdir}/qt5/plugins/crypto/libqca-pkcs11.so %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor