2013-10-01 08:13:11 +02:00
#
# spec file for package libqt5-qtbase
#
2020-05-27 10:38:42 +02:00
# Copyright (c) 2020 SUSE LLC
2013-10-01 08:13:11 +02:00
#
# 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.
2020-05-27 10:38:42 +02:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2013-10-01 08:13:11 +02:00
#
2013-10-06 14:27:16 +02:00
2014-09-18 07:56:36 +02:00
%define qt5_snapshot 0
2018-02-28 19:59:38 +01:00
%define journald 1
2014-02-18 16:17:26 +01:00
2014-12-21 11:59:22 +01:00
%ifarch %arm aarch64
2017-12-23 12:15:29 +01:00
%global gles 1
2014-12-21 11:59:22 +01:00
%else
2017-12-23 12:15:29 +01:00
%global gles 0
%endif
%if 0%{?suse_version} >= 1330
%global vulkan 1
2018-06-02 11:52:22 +02:00
%bcond_without harfbuzz
2017-12-23 12:15:29 +01:00
%else
2018-06-02 11:52:22 +02:00
# Harfbuzz too old
%bcond_with harfbuzz
2017-12-23 12:15:29 +01:00
# Vulkan headers too old
%global vulkan 0
2014-12-21 11:59:22 +01:00
%endif
2013-10-01 08:13:11 +02:00
Name : libqt5-qtbase
2020-09-11 08:29:58 +02:00
Version : 5.15.1
2014-02-18 16:17:26 +01:00
Release : 0
Summary : C++ Program Library, Core Components
2019-12-27 14:07:53 +01:00
License : LGPL-3.0-only or GPL-3.0-with-Qt-Company-Qt-exception-1.1
2014-02-18 16:17:26 +01:00
Group : System/Libraries
2017-06-13 16:06:00 +02:00
Url : https://www.qt.io
2014-02-18 16:17:26 +01:00
%define base_name libqt5
2020-09-11 08:29:58 +02:00
%define real_version 5.15.1
%define so_version 5.15.1
%define tar_version qtbase-everywhere-src-5.15.1
2020-05-27 10:38:42 +02:00
Source : https://download.qt.io/official_releases/qt/5.15/%{real_version} /submodules/%{tar_version} .tar.xz
2014-02-18 16:17:26 +01:00
# to get mtime of file:
Source1 : libqt5-qtbase.changes
Source2 : macros.qt5
Source3 : baselibs.conf
2020-10-15 13:27:12 +02:00
Source4 : qtlogging.ini
2015-02-06 10:19:34 +01:00
Source99 : libqt5-qtbase-rpmlintrc
2014-09-08 21:28:18 +02:00
# patches 0-1000 are openSUSE and/or non-upstream(able) patches #
2020-04-15 10:52:22 +02:00
Patch1 : 0001-Lower-required-version-of-OpenSSL-to-1.1.0.patch
2020-05-09 08:33:21 +02:00
Patch2 : fix-build-openssl-1.1.0.patch
2020-05-27 11:57:19 +02:00
Patch3 : 0001-Revert-QMenu-hide-when-a-QWidgetAction-fires-the-tri.patch
2016-02-17 10:29:56 +01:00
# PATCH-FIX-OPENSUSE disable-rc4-ciphers-bnc865241.diff bnc#865241-- Exclude rc4 ciphers from being used by default
2016-05-17 17:06:30 +02:00
Patch6 : disable-rc4-ciphers-bnc865241.diff
2017-06-13 16:06:00 +02:00
Patch8 : tell-the-truth-about-private-api.patch
2016-10-18 09:57:06 +02:00
# PATCH-FIX-OPENSUSE libqt5-prioritise-gtk2-platformtheme.patch boo#1002900 -- Give Gtk2 Platform Theme (from qtstyleplugins) a priority over Gtk3 PT which currently lacks QGtk3Style.
Patch10 : libqt5-prioritise-gtk2-platformtheme.patch
2017-06-13 16:06:00 +02:00
# PATCH-FEATURE-OPENSUSE 0001-Add-remote-print-queue-support.patch fate#322052 -- Automatically recognize and allow printing to remote cups servers
2017-12-23 12:15:29 +01:00
Patch12 : 0001-Add-remote-print-queue-support.patch
2017-08-08 11:57:28 +02:00
# PATCH-FIX-OPENSUSE
2020-02-26 13:43:12 +01:00
Patch21 : 0001-Don-t-white-list-recent-Mesa-versions-for-multithrea.patch
2019-04-26 22:51:59 +02:00
Patch24 : fix-fixqt4headers.patch
2020-09-22 09:03:57 +02:00
Patch25 : 0001-Revert-Emit-QScreen-availableG-g-eometryChanged-on-l.patch
2020-06-10 18:50:47 +02:00
# patches 1000-2000 and above from upstream 5.15 branch #
# patches 2000-3000 and above from upstream qt6/dev branch #
2019-06-28 16:32:03 +02:00
# Not accepted yet, https://codereview.qt-project.org/c/qt/qtbase/+/255384
Patch2001 : 0002-Synthesize-Enter-LeaveEvent-for-accepted-QTabletEven.patch
2013-10-01 08:13:11 +02:00
BuildRequires : cups-devel
2016-10-01 23:50:22 +02:00
BuildRequires : double-conversion-devel
2013-10-01 08:13:11 +02:00
BuildRequires : gcc-c++
BuildRequires : libjpeg-devel
BuildRequires : libmysqlclient-devel
BuildRequires : libpng-devel
2016-10-01 23:50:22 +02:00
BuildRequires : libproxy-devel
2017-12-23 12:15:29 +01:00
BuildRequires : lksctp-tools-devel
2013-10-01 08:13:11 +02:00
BuildRequires : openssl-devel
2017-12-23 12:15:29 +01:00
BuildRequires : pcre2-devel
2013-10-01 08:13:11 +02:00
BuildRequires : pkgconfig
2014-02-18 16:17:26 +01:00
BuildRequires : pkgconfig(mtdev)
%if %qt5_snapshot
#to create the forwarding headers
BuildRequires : perl
%endif
2013-10-01 08:13:11 +02:00
BuildRequires : postgresql-devel
BuildRequires : sqlite3-devel
BuildRequires : unixODBC-devel
2013-10-04 13:52:02 +02:00
BuildRequires : pkgconfig(dbus-1)
2013-12-17 06:52:19 +01:00
BuildRequires : pkgconfig(egl)
2014-02-18 16:17:26 +01:00
BuildRequires : pkgconfig(fontconfig)
2014-01-05 11:30:43 +01:00
BuildRequires : pkgconfig(freetype2)
2017-12-23 12:15:29 +01:00
BuildRequires : pkgconfig(gbm)
2013-10-04 13:52:02 +02:00
BuildRequires : pkgconfig(gl)
2014-12-21 11:59:22 +01:00
%if %gles
BuildRequires : Mesa-libGLESv3-devel
2013-10-04 13:52:02 +02:00
BuildRequires : pkgconfig(glesv2)
%endif
2014-01-05 11:30:43 +01:00
BuildRequires : libicu-devel
2015-09-27 08:38:22 +02:00
BuildRequires : tslib-devel
2017-12-23 12:15:29 +01:00
%if %{vulkan}
BuildRequires : vulkan-devel
%endif
2018-03-12 12:03:16 +01:00
BuildRequires : pkgconfig(pango)
2019-10-05 18:00:52 +02:00
# Not packaged yet
#BuildRequires: pkgconfig(md4c)
2018-03-12 12:03:16 +01:00
BuildRequires : pkgconfig(libdrm)
BuildRequires : pkgconfig(xcb-randr)
BuildRequires : pkgconfig(xcb-renderutil)
BuildRequires : pkgconfig(xcb-render)
BuildRequires : pkgconfig(xcb-shape)
BuildRequires : pkgconfig(xcb-shm)
BuildRequires : pkgconfig(xcb-sync)
BuildRequires : pkgconfig(xcb-xfixes)
BuildRequires : pkgconfig(xcb-xinerama)
BuildRequires : pkgconfig(xcb-xkb)
BuildRequires : pkgconfig(xcb)
BuildRequires : pkgconfig(xcb-glx)
BuildRequires : pkgconfig(xcb-image)
BuildRequires : pkgconfig(xcb-icccm)
BuildRequires : pkgconfig(xcb-keysyms)
BuildRequires : pkgconfig(x11)
BuildRequires : pkgconfig(xrender)
BuildRequires : pkgconfig(xi)
BuildRequires : pkgconfig(x11-xcb)
2014-01-05 11:30:43 +01:00
BuildRequires : xz
2013-10-06 14:27:16 +02:00
BuildRequires : pkgconfig(glib-2.0)
2016-10-01 23:50:22 +02:00
BuildRequires : pkgconfig(gtk+-3.0)
2018-06-02 11:52:22 +02:00
%if %{with harfbuzz}
2014-01-05 11:30:43 +01:00
BuildRequires : pkgconfig(harfbuzz)
2018-06-02 11:52:22 +02:00
%endif
2013-10-17 14:21:52 +02:00
BuildRequires : pkgconfig(ice)
2015-09-27 08:38:22 +02:00
BuildRequires : pkgconfig(libinput)
BuildRequires : pkgconfig(libudev)
2013-10-17 14:21:52 +02:00
BuildRequires : pkgconfig(sm)
2014-04-15 07:34:07 +02:00
BuildRequires : pkgconfig(xkbcommon) >= 0.4.1
BuildRequires : pkgconfig(xkbcommon-x11) >= 0.4.1
2018-03-12 12:03:16 +01:00
BuildRequires : pkgconfig(zlib)
2019-10-05 18:00:52 +02:00
BuildRequires : pkgconfig(libzstd)
2014-05-22 06:38:30 +02:00
%if %journald
2018-02-28 19:59:38 +01:00
BuildRequires : pkgconfig(libsystemd)
2014-05-22 06:38:30 +02:00
%endif
2015-06-06 09:50:37 +02:00
# to get cmake(...) autoprovides
BuildRequires : cmake
2013-10-01 08:13:11 +02:00
%description
Qt is a set of libraries for developing applications.
This package contains base tools, like string, xml, and network
handling.
%define libqt5_prefix %{_prefix}
%define libqt5_libdir %{_libdir}
%define libqt5_archdatadir %{_libdir}/qt5
%define libqt5_bindir %{libqt5_archdatadir}/bin
%define libqt5_datadir %{_datadir}/qt5
%define libqt5_docdir %{_docdir}/qt5
%define libqt5_examplesdir %{libqt5_archdatadir}/examples
%define libqt5_includedir %{_includedir}/qt5
%define libqt5_importdir %{libqt5_archdatadir}/imports
%define libqt5_libexecdir %{libqt5_archdatadir}/libexec
%define libqt5_plugindir %{libqt5_archdatadir}/plugins
%define libqt5_sysconfdir %{_sysconfdir}/xdg
2013-11-13 13:50:13 +01:00
%define libqt5_translationdir %{libqt5_datadir}/translations
2013-10-01 08:13:11 +02:00
%prep
2019-03-21 09:39:56 +01:00
%autosetup -p1 -n %{tar_version}
2013-10-01 08:13:11 +02:00
# be sure not to use them
2016-10-01 23:50:22 +02:00
rm -rf src/3rdparty/{libjpeg,freetype,zlib}
2013-10-01 08:13:11 +02:00
%package devel
2017-10-01 17:00:18 +02:00
Summary : Development files for the Qt5 base library
2013-10-01 08:13:11 +02:00
Group : Development/Libraries/X11
2014-02-18 16:17:26 +01:00
# External deps shall be found via pkgconfig
Requires : %{name} -common-devel
Requires : libQt5Concurrent-devel = %{version}
Requires : libQt5Core-devel = %{version}
Requires : libQt5DBus-devel = %{version}
Requires : libQt5Gui-devel = %{version}
Requires : libQt5Network-devel = %{version}
Requires : libQt5OpenGL-devel = %{version}
2014-12-21 11:59:22 +01:00
Requires : libQt5PlatformHeaders-devel = %{version}
2014-02-18 16:17:26 +01:00
Requires : libQt5PrintSupport-devel = %{version}
Requires : libQt5Sql-devel = %{version}
Requires : libQt5Test-devel = %{version}
Requires : libQt5Widgets-devel = %{version}
Requires : libQt5Xml-devel = %{version}
2013-10-01 08:13:11 +02:00
%description devel
2017-10-01 17:00:18 +02:00
You need this package if you want to compile programs with Qt. It
2013-10-01 08:13:11 +02:00
contains the " Q t C r o s s p l a t f o r m D e v e l o p m e n t K i t " . It does contain
include files and development applications like GUI designers,
translator tools and code generators.
2014-02-18 16:17:26 +01:00
%package common-devel
Summary : Qt 5 Core Development Binaries
Group : Development/Libraries/X11
Requires : gcc-c++
Requires : pkg-config
2015-06-06 09:50:37 +02:00
# to get cmake(...) autoprovides
Requires : cmake
2014-02-18 16:17:26 +01:00
%description common-devel
Qt 5 Core Development Binaries. It contains Qt5's moc, qmake,
rcc, uic and syncqt.pl binaries.
2013-10-17 14:21:52 +02:00
%package -n libQt5Core5
Summary : Qt 5 Core Library
Group : Development/Libraries/X11
Provides : libqt5-qtbase = %{version}
2013-11-04 09:12:16 +01:00
Obsoletes : libqt5-qtbase < %{version}
2017-07-08 12:25:20 +02:00
Recommends: libqt5-qttranslations
2013-10-17 14:21:52 +02:00
%description -n libQt5Core5
2017-10-01 17:00:18 +02:00
The Qt 5 Core library. It adds these features to C++:
* a mechanism for object communication called signals and slots
* queryable and designable object properties
* hierarchical and queryable object trees that organize
* object ownership in a natural way with guarded pointers (QPointer)
* a dynamic cast that works across library boundaries
2013-10-17 14:21:52 +02:00
2014-02-18 16:17:26 +01:00
%package -n libQt5Core-devel
2017-10-01 17:00:18 +02:00
Summary : Development files for the Qt5 core library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
Requires : %{name} -common-devel = %{version}
Requires : libQt5Core5 = %{version}
%description -n libQt5Core-devel
2017-10-01 17:00:18 +02:00
Development files for the Qt5 core library.
2014-02-18 16:17:26 +01:00
%package -n libQt5Core-private-headers-devel
2017-10-01 17:00:18 +02:00
Summary : Non-ABI stable experimental API for the Qt5 core library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
2014-06-04 18:38:26 +02:00
BuildArch : noarch
2014-02-18 16:17:26 +01:00
Requires : libQt5Core-devel = %{version}
%description -n libQt5Core-private-headers-devel
2017-10-01 17:00:18 +02:00
This package provides private headers of libQt5Core that are normally
not used by application development and that do not have any ABI or
API guarantees. The packages that build against these have to require
the exact Qt version.
2014-02-18 16:17:26 +01:00
%package -n libQt5Concurrent5
Summary : Qt 5 Concurrent Library
Group : Development/Libraries/X11
2015-03-01 15:27:47 +01:00
Requires : libQt5Core5 = %{version}
2014-02-18 16:17:26 +01:00
%description -n libQt5Concurrent5
2017-10-01 17:00:18 +02:00
The QtConcurrent namespace provides high-level APIs that help write
multi-threaded programs without using low-level threading primitives
such as mutexes, read-write locks, wait conditions, or semaphores.
Programs written with QtConcurrent automatically adjust the number of
threads used according to the number of processor cores available.
QtConcurrent includes functional programming style APIs for parallel
list processing, including a MapReduce and FilterReduce
implementation for shared-memory (non-distributed) systems, and
classes for managing asynchronous computations in GUI applications.
2014-02-18 16:17:26 +01:00
%package -n libQt5Concurrent-devel
2017-10-01 17:00:18 +02:00
Summary : Development files for the Qt5 Concurrent library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
Requires : libQt5Concurrent5 = %{version}
Requires : libQt5Core-devel = %{version}
%description -n libQt5Concurrent-devel
2017-10-01 17:00:18 +02:00
Development files for the Qt5 Concurrent library.
2014-02-18 16:17:26 +01:00
2013-10-17 14:21:52 +02:00
%package -n libQt5DBus5
2017-10-01 17:00:18 +02:00
Summary : Qt5 D-Bus library
2013-10-17 14:21:52 +02:00
Group : Development/Libraries/X11
2015-03-01 15:27:47 +01:00
Requires : libQt5Core5 = %{version}
2013-10-17 14:21:52 +02:00
%description -n libQt5DBus5
2017-10-01 17:00:18 +02:00
The Qt D-Bus module is a library that can be used to perform
inter-process communication using the D-Bus protocol.
2013-10-17 14:21:52 +02:00
2014-02-18 16:17:26 +01:00
%package -n libQt5DBus-devel
2017-10-01 17:00:18 +02:00
Summary : Development files for the Qt5 D-Bus library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
Requires : libQt5Core-devel = %{version}
Requires : libQt5DBus5 = %{version}
%description -n libQt5DBus-devel
2017-10-01 17:00:18 +02:00
Development files for the Qt5 D-Bus library. This package also
contains Qt5's qdbusxml2cpp and qdbuscpp2xml binaries.
2014-02-18 16:17:26 +01:00
%package -n libQt5DBus-private-headers-devel
2017-10-01 17:00:18 +02:00
Summary : Non-ABI stable experimental API for the Qt5 D-Bus library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
2014-06-04 18:38:26 +02:00
BuildArch : noarch
2014-02-18 16:17:26 +01:00
Requires : libQt5Core-private-headers-devel = %{version}
Requires : libQt5DBus-devel = %{version}
%description -n libQt5DBus-private-headers-devel
2017-10-01 17:00:18 +02:00
This package provides private headers of libQt5DBus that are normally
not used by application development and that do not have any ABI or
API guarantees. The packages that build against these have to require
the exact Qt version.
2014-02-18 16:17:26 +01:00
2013-10-17 14:21:52 +02:00
%package -n libQt5Network5
Summary : Qt 5 Network Library
Group : Development/Libraries/X11
2015-03-01 15:27:47 +01:00
Requires : libQt5Core5 = %{version}
Requires : libQt5DBus5 = %{version}
2013-10-17 14:21:52 +02:00
%description -n libQt5Network5
2017-10-01 17:00:18 +02:00
Qt Network provides a set of APIs for programming applications that
use TCP/IP. Operations such as requests, cookies, and sending data
over HTTP are handled by various C++ classes.
2013-10-17 14:21:52 +02:00
2014-02-18 16:17:26 +01:00
%package -n libQt5Network-devel
2017-10-01 17:00:18 +02:00
Summary : Development files for the Qt5 network library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
Requires : libQt5Core-devel = %{version}
Requires : libQt5Network5 = %{version}
%description -n libQt5Network-devel
2017-10-01 17:00:18 +02:00
Development files for the Qt5 network library.
2014-02-18 16:17:26 +01:00
%package -n libQt5Network-private-headers-devel
2017-10-01 17:00:18 +02:00
Summary : Non-ABI stable experimental API for the Qt5 network library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
2014-06-04 18:38:26 +02:00
BuildArch : noarch
2014-02-18 16:17:26 +01:00
Requires : libQt5Core-private-headers-devel = %{version}
Requires : libQt5Network-devel = %{version}
%description -n libQt5Network-private-headers-devel
2017-10-01 17:00:18 +02:00
This package provides private headers of libQt5Network that are normally
not used by application development and that do not have any ABI or
API guarantees. The packages that build against these have to require
the exact Qt version.
2014-02-18 16:17:26 +01:00
2013-10-17 14:21:52 +02:00
%package -n libQt5OpenGL5
Summary : Qt 5 OpenGL Library
Group : Development/Libraries/X11
2015-03-01 15:27:47 +01:00
Requires : libQt5Widgets5 = %{version}
2013-10-17 14:21:52 +02:00
%description -n libQt5OpenGL5
2017-10-01 17:00:18 +02:00
The Qt OpenGL module provides an OpenGL widget class that can be used
like any other Qt widget, except that it opens an OpenGL display
buffer where the OpenGL API can be used to render the contents.
2013-10-17 14:21:52 +02:00
2014-02-18 16:17:26 +01:00
%package -n libQt5OpenGL-devel
2017-10-01 17:00:18 +02:00
Summary : Development files for the Qt5 OpenGL library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
Requires : libQt5Core-devel = %{version}
Requires : libQt5Gui-devel = %{version}
Requires : libQt5OpenGL5 = %{version}
Requires : libQt5Widgets-devel = %{version}
2014-12-21 11:59:22 +01:00
%if %gles
Requires : Mesa-libGLESv3-devel
2014-02-18 16:17:26 +01:00
Requires : pkgconfig(glesv2)
%else
Requires : pkgconfig(gl)
%endif
%description -n libQt5OpenGL-devel
2017-10-01 17:00:18 +02:00
Development files for the Qt5 OpenGL library.
Warning: This module should not be used anymore for new code. Please
use the corresponding OpenGL classes in Qt GUI.
2014-02-18 16:17:26 +01:00
%package -n libQt5OpenGL-private-headers-devel
2017-10-01 17:00:18 +02:00
Summary : Non-ABI stable experimental API for the Qt5 OpenGL library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
2014-06-04 18:38:26 +02:00
BuildArch : noarch
2014-02-18 16:17:26 +01:00
Requires : libQt5Core-private-headers-devel = %{version}
Requires : libQt5Gui-private-headers-devel = %{version}
Requires : libQt5OpenGL-devel = %{version}
Requires : libQt5Widgets-private-headers-devel = %{version}
%description -n libQt5OpenGL-private-headers-devel
2017-10-01 17:00:18 +02:00
This package provides private headers of libQt5OpenGL that are
normally not used by application development and that do not have any
ABI or API guarantees. The packages that build against these have to
require the exact Qt version.
2014-02-18 16:17:26 +01:00
2013-10-17 14:21:52 +02:00
%package -n libQt5PrintSupport5
Summary : Qt 5 Print Support Library
Group : Development/Libraries/X11
2015-03-01 15:27:47 +01:00
Requires : libQt5Widgets5 = %{version}
2013-10-17 14:21:52 +02:00
%description -n libQt5PrintSupport5
2017-10-01 17:00:18 +02:00
An abstraction over the platform-specific printing systems. Using
this library, Qt applications can print to attached printers and
across networks to remote printers. Qt's printing system also
supports PDF file generation, providing the foundation for basic
report generation facilities.
2013-10-17 14:21:52 +02:00
2014-02-18 16:17:26 +01:00
%package -n libQt5PrintSupport-devel
2017-10-01 17:00:18 +02:00
Summary : Development files for the Qt5 print support library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
Requires : libQt5Core-devel = %{version}
Requires : libQt5Gui-devel = %{version}
Requires : libQt5PrintSupport5 = %{version}
Requires : libQt5Widgets-devel = %{version}
%description -n libQt5PrintSupport-devel
2017-10-01 17:00:18 +02:00
Development files for the Qt5 print support library.
2014-02-18 16:17:26 +01:00
%package -n libQt5PrintSupport-private-headers-devel
2017-10-01 17:00:18 +02:00
Summary : Non-ABI stable experimental API for the Qt5 print support library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
2014-06-04 18:38:26 +02:00
BuildArch : noarch
2014-02-18 16:17:26 +01:00
Requires : libQt5Core-private-headers-devel = %{version}
Requires : libQt5Gui-private-headers-devel = %{version}
Requires : libQt5PrintSupport-devel = %{version}
Requires : libQt5Widgets-private-headers-devel = %{version}
2018-12-14 20:50:53 +01:00
# Includes <cups/ppd.h> in qprint_p.h
Requires : cups-devel
2014-02-18 16:17:26 +01:00
%description -n libQt5PrintSupport-private-headers-devel
2017-10-01 17:00:18 +02:00
This package provides private headers of libQt5PrintSupport that are
normally not used by application development and that do not have any
ABI or API guarantees. The packages that build against these have to
require the exact Qt version.
2014-02-18 16:17:26 +01:00
2013-10-17 14:21:52 +02:00
%package -n libQt5Xml5
Summary : Qt 5 Xml Library
Group : Development/Libraries/X11
2015-03-01 15:27:47 +01:00
Requires : libQt5Core5 = %{version}
2013-10-17 14:21:52 +02:00
%description -n libQt5Xml5
2017-10-01 17:00:18 +02:00
The Qt XML module provides C++ implementations of the SAX and DOM
standards for XML.
2013-10-17 14:21:52 +02:00
2014-02-18 16:17:26 +01:00
%package -n libQt5Xml-devel
2017-10-01 17:00:18 +02:00
Summary : Development files for the Qt5 XML library
2013-10-17 14:21:52 +02:00
Group : Development/Libraries/X11
2014-02-18 16:17:26 +01:00
Requires : libQt5Core-devel = %{version}
Requires : libQt5Xml5 = %{version}
2013-10-17 14:21:52 +02:00
2014-02-18 16:17:26 +01:00
%description -n libQt5Xml-devel
2017-10-01 17:00:18 +02:00
Development files for the Qt5 XML library.
(The module is not actively maintained anymore. Please use the
QXmlStreamReader and QXmlStreamWriter classes in Qt Core instead.)
2013-10-17 14:21:52 +02:00
2013-10-01 08:13:11 +02:00
%package -n libQt5Test5
Summary : Qt 5 Test Library
Group : Development/Libraries/X11
2015-03-01 15:27:47 +01:00
Requires : libQt5Core5 = %{version}
2013-10-01 08:13:11 +02:00
%description -n libQt5Test5
2017-10-01 17:00:18 +02:00
Qt Test is a framework for unit testing Qt based applications and
libraries. Qt Test provides functionality commonly found in unit
testing frameworks as well as extensions for testing graphical user
interfaces.
2013-10-01 08:13:11 +02:00
2014-02-18 16:17:26 +01:00
%package -n libQt5Test-devel
2017-10-01 17:00:18 +02:00
Summary : Development files for the Qt5 testing library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
Requires : libQt5Core-devel = %{version}
Requires : libQt5Test5 = %{version}
%description -n libQt5Test-devel
2017-10-01 17:00:18 +02:00
Development files for the Qt5 testing library.
2014-02-18 16:17:26 +01:00
%package -n libQt5Test-private-headers-devel
2017-10-01 17:00:18 +02:00
Summary : Non-ABI stable experimental API for the Qt5 test library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
2014-06-04 18:38:26 +02:00
BuildArch : noarch
2014-02-18 16:17:26 +01:00
Requires : libQt5Core-private-headers-devel = %{version}
Requires : libQt5Test-devel = %{version}
%description -n libQt5Test-private-headers-devel
2017-10-01 17:00:18 +02:00
This package provides private headers of libQt5Test that are normally
not used by application development and that do not have any ABI or
API guarantees. The packages that build against these have to require
the exact Qt version.
2014-02-18 16:17:26 +01:00
2013-10-01 08:13:11 +02:00
%package -n libQt5Widgets5
2014-02-18 16:17:26 +01:00
Summary : Qt 5 Widgets Library
2013-10-01 08:13:11 +02:00
Group : Development/Libraries/X11
2015-03-01 15:27:47 +01:00
Requires : libQt5Gui5 = %{version}
2013-10-01 08:13:11 +02:00
%description -n libQt5Widgets5
2017-10-01 17:00:18 +02:00
The Qt Widgets Module provides a set of UI elements to create classic
desktop-style user interfaces.
2013-10-01 08:13:11 +02:00
2014-02-18 16:17:26 +01:00
%package -n libQt5Widgets-devel
2017-10-01 17:00:18 +02:00
Summary : Development files for the Qt5 widgets library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
Requires : libQt5Core-devel = %{version}
Requires : libQt5Gui-devel = %{version}
Requires : libQt5Widgets5 = %{version}
%description -n libQt5Widgets-devel
2017-10-01 17:00:18 +02:00
Development files for the Qt5 widgets library.
2014-02-18 16:17:26 +01:00
%package -n libQt5Widgets-private-headers-devel
2017-10-01 17:00:18 +02:00
Summary : Non-ABI stable experimental API for the Qt5 widgets library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
2014-06-04 18:38:26 +02:00
BuildArch : noarch
2014-02-18 16:17:26 +01:00
Requires : libQt5Core-private-headers-devel = %{version}
Requires : libQt5Gui-private-headers-devel = %{version}
Requires : libQt5Widgets-devel = %{version}
%description -n libQt5Widgets-private-headers-devel
2017-10-01 17:00:18 +02:00
This package provides private headers of libQt5Widgets that are
normally not used by application development and that do not have any
ABI or API guarantees. The packages that build against these have to
require the exact Qt version.
2014-02-18 16:17:26 +01:00
2013-10-17 14:21:52 +02:00
%package -n libQt5Sql5-sqlite
2013-10-01 08:13:11 +02:00
Summary : Qt 5 sqlite plugin
Group : Development/Libraries/C and C++
2013-10-04 13:52:02 +02:00
Requires : libQt5Sql5 = %{version}
2013-10-17 14:21:52 +02:00
Provides : libqt5-sql-sqlite = %{version}
2013-10-04 13:52:02 +02:00
Provides : libqt5_sql_backend = %{version}
2013-11-04 09:12:16 +01:00
Obsoletes : libqt5-sql-sqlite < %{version}
2013-10-01 08:13:11 +02:00
2013-10-17 14:21:52 +02:00
%description -n libQt5Sql5-sqlite
2017-10-01 17:00:18 +02:00
The Qt SQL module uses driver plugins to communicate with the
different database APIs.
The Qt SQLite plugin makes it possible to access SQLite databases.
SQLite is an in-process database, which means that it is not
necessary to have a database server. SQLite operates on a single
file, which must be set as the database name when opening a
connection.
2013-10-01 08:13:11 +02:00
2013-10-17 14:21:52 +02:00
%package -n libQt5Sql5-unixODBC
2013-10-01 08:13:11 +02:00
Summary : Qt 5 unixODBC plugin
Group : Development/Libraries/C and C++
2013-10-04 13:52:02 +02:00
Requires : libQt5Sql5 = %{version}
2013-10-17 14:21:52 +02:00
Provides : libqt5-sql-unixODBC = %{version}
2013-10-04 13:52:02 +02:00
Provides : libqt5_sql_backend = %{version}
2013-11-04 09:12:16 +01:00
Obsoletes : libqt5-sql-unixODBC < %{version}
2013-10-01 08:13:11 +02:00
2013-10-17 14:21:52 +02:00
%description -n libQt5Sql5-unixODBC
2017-10-01 17:00:18 +02:00
The Qt SQL module uses driver plugins to communicate with the
different database APIs.
The QODBC driver allows to connect to an ODBC driver manager and
access the available data sources. Note that you also need to install
and configure ODBC drivers for the ODBC driver manager that is
installed on your system.
2013-10-01 08:13:11 +02:00
2013-10-17 14:21:52 +02:00
%package -n libQt5Sql5-postgresql
2013-10-01 08:13:11 +02:00
Summary : Qt 5 PostgreSQL plugin
Group : Development/Libraries/C and C++
2013-10-04 13:52:02 +02:00
Requires : libQt5Sql5 = %{version}
2013-10-17 14:21:52 +02:00
Provides : libqt5-sql-postgresql = %{version}
2013-10-04 13:52:02 +02:00
Provides : libqt5_sql_backend = %{version}
2013-11-04 09:12:16 +01:00
Obsoletes : libqt5-sql-postgresql < %{version}
2013-10-01 08:13:11 +02:00
2013-10-17 14:21:52 +02:00
%description -n libQt5Sql5-postgresql
2017-10-01 17:00:18 +02:00
The Qt SQL module uses driver plugins to communicate with the
different database APIs.
The QPSQL driver supports version 7.3 and higher of the PostgreSQL
server.
2013-10-01 08:13:11 +02:00
2013-10-17 14:21:52 +02:00
%package -n libQt5Sql5-mysql
2013-10-01 08:13:11 +02:00
Summary : Qt 5 MySQL support
Group : Development/Libraries/C and C++
2013-10-04 13:52:02 +02:00
Requires : libQt5Sql5 = %{version}
2013-10-17 14:21:52 +02:00
Provides : libqt5-sql-mysql = %{version}
2013-10-04 13:52:02 +02:00
Provides : libqt5_sql_backend = %{version}
2013-11-04 09:12:16 +01:00
Obsoletes : libqt5-sql-mysql < %{version}
2013-10-01 08:13:11 +02:00
2013-10-17 14:21:52 +02:00
%description -n libQt5Sql5-mysql
2013-10-01 08:13:11 +02:00
A plugin to support MySQL server in Qt applications.
%package -n libQt5Gui5
Summary : Qt 5 GUI related libraries
Group : Development/Libraries/C and C++
2013-10-04 13:52:02 +02:00
Recommends: libqt5-qtimageformats = %{version}
2015-03-01 15:27:47 +01:00
Requires : libQt5Core5 = %{version}
Requires : libQt5DBus5 = %{version}
2016-03-18 21:28:34 +01:00
Provides : libqt5-qtbase-platformtheme-gtk2 = %{version}
2016-10-18 09:57:06 +02:00
Obsoletes : libqt5-qtbase-platformtheme-gtk2 < %{version}
2013-10-01 08:13:11 +02:00
%description -n libQt5Gui5
2017-10-01 17:00:18 +02:00
The Qt GUI module provides classes for windowing system integration,
event handling, OpenGL and OpenGL ES integration, 2D graphics, basic
imaging, fonts and text. These classes are used internally by Qt's
user interface code and can also be used directly, for instance, to
write applications using low-level OpenGL ES graphics APIs.
For application developers writing user interfaces, Qt provides
higher level APIs, like Qt Quick, which are much more suitable than
the enablers found in the Qt GUI module.
2013-10-01 08:13:11 +02:00
2016-10-01 23:50:22 +02:00
%package platformtheme-gtk3
Summary : Qt 5 gtk3 plugin
Group : Development/Libraries/C and C++
Supplements: packageand(libQt5Gui5:libgtk-3-0)
Requires : libQt5Gui5 = %{version}
%description platformtheme-gtk3
Qt 5 plugin for better integration with gtk3-based desktop enviroments.
2018-12-14 20:50:53 +01:00
%package platformtheme-xdgdesktopportal
Summary : Qt 5 XDG Desktop Portal Plugin
2018-06-02 11:52:22 +02:00
Group : Development/Libraries/C and C++
Requires : libQt5Gui5 = %{version}
2018-12-14 20:50:53 +01:00
Obsoletes : %{name} -platformtheme-flatpak < %{version}
Provides : %{name} -platformtheme-flatpak = %{version}
2018-06-02 11:52:22 +02:00
2018-12-14 20:50:53 +01:00
%description platformtheme-xdgdesktopportal
Qt 5 plugin for integration with flatpak and snap.
2018-06-02 11:52:22 +02:00
2014-02-18 16:17:26 +01:00
%package -n libQt5Gui-devel
2017-10-01 17:00:18 +02:00
Summary : Development files for the Qt5 GUI library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/C and C++
Requires : libQt5Core-devel = %{version}
Requires : libQt5Gui5 = %{version}
2014-12-21 11:59:22 +01:00
%if %gles
Requires : Mesa-libGLESv3-devel
Requires : pkgconfig(gbm)
2014-02-18 16:17:26 +01:00
Requires : pkgconfig(glesv2)
%else
Requires : pkgconfig(gl)
%endif
2017-12-23 12:15:29 +01:00
%if %{vulkan}
Requires : vulkan-devel
%endif
2014-02-18 16:17:26 +01:00
Requires : pkgconfig(egl)
2014-03-23 22:32:44 +01:00
Requires : pkgconfig(libdrm)
2014-02-18 16:17:26 +01:00
%description -n libQt5Gui-devel
2017-10-01 17:00:18 +02:00
Development files for the Qt5 GUI library.
2014-02-18 16:17:26 +01:00
%package -n libQt5Gui-private-headers-devel
2017-10-01 17:00:18 +02:00
Summary : Non-ABI stable experimental API for the Qt5 GUI library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
2014-06-04 18:38:26 +02:00
BuildArch : noarch
2014-02-18 16:17:26 +01:00
Requires : libQt5Core-private-headers-devel = %{version}
Requires : libQt5Gui-devel = %{version}
%description -n libQt5Gui-private-headers-devel
2017-10-01 17:00:18 +02:00
This package provides private headers of libQt5Gui that are normally
not used by application development and that do not have any ABI or
API guarantees. The packages that build against these have to require
the exact Qt version.
2014-02-18 16:17:26 +01:00
2013-10-01 08:13:11 +02:00
%package -n libQt5Sql5
Summary : Qt 5 SQL related libraries
Group : Development/Libraries/C and C++
2013-10-04 13:52:02 +02:00
Recommends: libqt5_sql_backend = %{version}
2013-10-01 08:13:11 +02:00
Suggests : libqt5-sql-sqlite
2015-03-01 15:27:47 +01:00
Requires : libQt5Core5 = %{version}
2013-10-01 08:13:11 +02:00
%description -n libQt5Sql5
Qt 5 libraries which are used for connection with an SQL server. You
will need also a plugin package for a supported SQL server.
2014-02-18 16:17:26 +01:00
%package -n libQt5Sql-devel
2017-10-01 17:00:18 +02:00
Summary : Development files for the Qt5 SQL library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/C and C++
Requires : libQt5Core-devel = %{version}
Requires : libQt5Sql5 = %{version}
2014-11-11 09:59:19 +01:00
Suggests : libQt5Sql5-mysql = %{version}
Suggests : libQt5Sql5-postgresql = %{version}
Suggests : libQt5Sql5-sqlite = %{version}
Suggests : libQt5Sql5-unixODBC = %{version}
2014-02-18 16:17:26 +01:00
%description -n libQt5Sql-devel
Qt 5 libraries which are used for connection with an SQL server. You
2017-10-01 17:00:18 +02:00
will need also a plugin package for a supported SQL server.
2014-02-18 16:17:26 +01:00
%package -n libQt5Sql-private-headers-devel
2017-10-01 17:00:18 +02:00
Summary : Non-ABI stable experimental API for the Qt5 SQL library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
2014-06-04 18:38:26 +02:00
BuildArch : noarch
2014-02-18 16:17:26 +01:00
Requires : libQt5Core-private-headers-devel = %{version}
Requires : libQt5Sql-devel = %{version}
%description -n libQt5Sql-private-headers-devel
2017-10-01 17:00:18 +02:00
This package provides private headers of libQt5Sql that are normally
not used by application development and that do not have any ABI or
API guarantees. The packages that build against these have to require
the exact Qt version.
2014-02-18 16:17:26 +01:00
2013-10-01 08:13:11 +02:00
%package private-headers-devel
Summary : Non-ABI stable experimental API
Group : Development/Libraries/C and C++
2014-06-04 18:38:26 +02:00
BuildArch : noarch
2014-12-21 11:59:22 +01:00
Requires : %{name} -devel = %{version}
2014-02-18 16:17:26 +01:00
Requires : libQt5Core-private-headers-devel = %{version}
Requires : libQt5DBus-private-headers-devel = %{version}
Requires : libQt5Gui-private-headers-devel = %{version}
2017-06-13 16:06:00 +02:00
Requires : libQt5KmsSupport-private-headers-devel = %{version}
2014-02-18 16:17:26 +01:00
Requires : libQt5Network-private-headers-devel = %{version}
Requires : libQt5OpenGL-private-headers-devel = %{version}
Requires : libQt5PlatformSupport-private-headers-devel = %{version}
Requires : libQt5PrintSupport-private-headers-devel = %{version}
Requires : libQt5Sql-private-headers-devel = %{version}
Requires : libQt5Test-private-headers-devel = %{version}
Requires : libQt5Widgets-private-headers-devel = %{version}
2013-10-01 08:13:11 +02:00
%description private-headers-devel
This package provides private headers of libqt5-qtbase-devel that are normally
not used by application development and that do not have any ABI or
API guarantees. The packages that build against these have to require
the exact Qt version.
2014-02-18 16:17:26 +01:00
%package -n libQt5Bootstrap-devel-static
Summary : Qt Bootstrap module
Group : Development/Libraries/C and C++
Requires : %{name} -common-devel = %{version}
%description -n libQt5Bootstrap-devel-static
Qt Bootstrap module.
%package -n libQt5OpenGLExtensions-devel-static
Summary : Qt OpenGLExtensions module
Group : Development/Libraries/C and C++
Requires : libQt5Core-devel = %{version}
Requires : libQt5Gui-devel = %{version}
# List the below ones manually - they are private, but this is a static lib
2014-03-04 13:14:05 +01:00
Requires : pkgconfig(gl)
2014-02-18 16:17:26 +01:00
%description -n libQt5OpenGLExtensions-devel-static
Qt OpenGLExtensions module.
%package -n libQt5PlatformSupport-devel-static
Summary : Qt PlatformSupport module
Group : Development/Libraries/C and C++
Requires : libQt5Core-devel = %{version}
Requires : libQt5Gui-devel = %{version}
2014-12-21 11:59:22 +01:00
Requires : libQt5PlatformHeaders-devel = %{version}
2014-02-18 16:17:26 +01:00
# List the below ones manually - they are private, but this is a static lib
2015-09-27 08:38:22 +02:00
Requires : tslib-devel
2014-02-18 16:17:26 +01:00
Requires : pkgconfig(Qt5DBus)
Requires : pkgconfig(egl)
Requires : pkgconfig(fontconfig)
Requires : pkgconfig(freetype2)
Requires : pkgconfig(gl)
Requires : pkgconfig(glib-2.0)
2015-09-27 08:38:22 +02:00
Requires : pkgconfig(libinput)
2014-06-01 18:55:54 +02:00
Requires : pkgconfig(libudev)
2014-02-18 16:17:26 +01:00
Requires : pkgconfig(mtdev)
Requires : pkgconfig(x11)
Requires : pkgconfig(xext)
2015-09-27 08:38:22 +02:00
Requires : pkgconfig(xkbcommon) >= 0.4.1
Requires : pkgconfig(xkbcommon-x11) >= 0.4.1
2014-02-18 16:17:26 +01:00
Requires : pkgconfig(xrender)
%description -n libQt5PlatformSupport-devel-static
Qt PlatformSupport module.
%package -n libQt5PlatformSupport-private-headers-devel
2017-10-01 17:00:18 +02:00
Summary : Non-ABI stable experimental API for the Qt5 platform support library
2014-02-18 16:17:26 +01:00
Group : Development/Libraries/X11
2014-06-04 18:38:26 +02:00
BuildArch : noarch
2014-02-18 16:17:26 +01:00
Requires : libQt5Core-private-headers-devel = %{version}
Requires : libQt5Gui-private-headers-devel = %{version}
Requires : libQt5PlatformSupport-devel-static = %{version}
%description -n libQt5PlatformSupport-private-headers-devel
2017-10-01 17:00:18 +02:00
This package provides private headers of libQt5PlatformSupport that
are normally not used by application development and that do not have
any ABI or API guarantees. The packages that build against these have
to require the exact Qt version.
2014-02-18 16:17:26 +01:00
2017-06-13 16:06:00 +02:00
%package -n libQt5KmsSupport-devel-static
2017-10-01 17:00:18 +02:00
Summary : Qt KMS support module
Group : Development/Libraries/X11
2017-06-13 16:06:00 +02:00
Requires : libQt5Core-devel = %{version}
Requires : libQt5Gui-devel = %{version}
%description -n libQt5KmsSupport-devel-static
2017-10-01 17:00:18 +02:00
Qt module to support Kernel Mode Setting.
2017-06-13 16:06:00 +02:00
%package -n libQt5KmsSupport-private-headers-devel
2017-10-01 17:00:18 +02:00
Summary : Non-ABI stable experimental API for the Qt5 KMS support library
2017-06-13 16:06:00 +02:00
Group : Development/Libraries/X11
BuildArch : noarch
Requires : libQt5Core-private-headers-devel = %{version}
Requires : libQt5Gui-private-headers-devel = %{version}
Requires : libQt5KmsSupport-devel-static = %{version}
%description -n libQt5KmsSupport-private-headers-devel
2017-10-01 17:00:18 +02:00
This package provides private headers of libQt5KmsSupport that are
normally not used by application development and that do not have any
ABI or API guarantees. The packages that build against these have to
require the exact Qt version.
2017-06-13 16:06:00 +02:00
2014-12-21 11:59:22 +01:00
%package -n libQt5PlatformHeaders-devel
Summary : Qt 5 PlatformHeaders
Group : Development/Libraries/X11
# NOTE this needs to be checked on every update - package provides only a low number of headers, so check which 3rd party, or other qtbase includes are used
Requires : libQt5Core-devel = %{version}
Requires : libQt5Gui-devel = %{version}
Requires : pkgconfig(egl)
Requires : pkgconfig(x11)
%if %gles
Requires : Mesa-libGLESv3-devel
Requires : pkgconfig(glesv2)
%else
Requires : pkgconfig(gl)
%endif
%description -n libQt5PlatformHeaders-devel
Qt 5 PlatformHeaders.
2014-03-23 22:32:44 +01:00
%package examples
Summary : Qt5 base examples
Group : Development/Libraries/X11
Recommends: libqt5-qtbase-devel
%description examples
2017-10-01 17:00:18 +02:00
Examples for the libqt5-qtbase modules.
2014-03-23 22:32:44 +01:00
2013-10-01 08:13:11 +02:00
%build
2019-06-12 13:05:30 +02:00
%define _lto_cflags %{nil}
2013-10-01 08:13:11 +02:00
%ifarch ppc64
2013-10-04 13:52:02 +02:00
RPM_OPT_FLAGS=" %{optflags} - m m i n i m a l - t o c "
2013-10-01 08:13:11 +02:00
%endif
2013-10-04 13:52:02 +02:00
export CXXFLAGS=" $ C X X F L A G S %{optflags} - D O P E N S S L _ L O A D _ C O N F "
export CFLAGS=" $ C F L A G S %{optflags} - D O P E N S S L _ L O A D _ C O N F "
export MAKEFLAGS=" %{?_smp_mflags} "
2014-03-27 09:29:40 +01:00
%define xkbconfigroot %(pkg-config --variable=xkb_base xkeyboard-config)
2015-09-27 08:38:22 +02:00
#if %qt5_snapshot
2014-02-18 16:17:26 +01:00
#force the configure script to generate the forwarding headers (it checks whether .git directory exists)
mkdir .git
2015-09-27 08:38:22 +02:00
#endif
2013-10-01 08:13:11 +02:00
# Record mtime of changes file instead of build time
2015-02-06 10:19:34 +01:00
export CHANGES=`stat --format=" % y " %{SOURCE1} |cut --characters=1-10`
sed -i 's|qt_instdate=`date +%Y-%m-%d`|qt_instdate=$CHANGES|g' configure
2014-03-27 09:29:40 +01:00
# so non-qt5 apps/libs don't get stripped
sed -i -e 's|^\(QMAKE_STRIP.*=\).*$|\1|g' mkspecs/common/linux.conf
2013-10-01 08:13:11 +02:00
2019-10-05 18:00:52 +02:00
# -no-feature-relocatable is needed to support /usr/lib/sse2 etc., see QTBUG-78948
2017-12-23 12:15:29 +01:00
echo yes | ./configure \
2013-10-01 08:13:11 +02:00
-prefix %{_prefix} \
-L %{libqt5_libdir} \
-libdir %{libqt5_libdir} \
-archdatadir %{libqt5_archdatadir} \
-bindir %{libqt5_bindir} \
-datadir %{libqt5_datadir} \
-docdir %{libqt5_docdir} \
-examplesdir %{libqt5_examplesdir} \
-headerdir %{libqt5_includedir} \
-importdir %{libqt5_importdir} \
-libexecdir %{libqt5_libexecdir} \
-plugindir %{libqt5_plugindir} \
-sysconfdir %{libqt5_sysconfdir} \
-translationdir %{libqt5_translationdir} \
-verbose \
2014-05-22 06:38:30 +02:00
%ifarch %ix86 x86_64
2013-10-01 08:13:11 +02:00
-reduce-relocations \
2014-05-22 06:38:30 +02:00
%else
-no-reduce-relocations \
2014-09-24 13:09:12 +02:00
%endif
%ifarch %ix86
2017-12-23 12:15:29 +01:00
%if 0%{?sle_version} < 150000
2014-09-24 13:09:12 +02:00
-no-sse2 -no-pch \
2017-08-24 17:41:06 +02:00
%endif
2014-05-22 06:38:30 +02:00
%endif
2013-10-01 08:13:11 +02:00
-accessibility \
2013-12-02 07:22:52 +01:00
-no-strip \
2013-10-01 08:13:11 +02:00
-opensource \
-no-separate-debug-info \
2018-02-19 12:59:22 +01:00
-force-debug-info \
2013-10-01 08:13:11 +02:00
-shared \
2020-02-26 13:43:12 +01:00
-xkbcommon \
-no-bundled-xcb-xinput \
2013-10-01 08:13:11 +02:00
-dbus-linked \
-sm \
-no-rpath \
-system-libjpeg \
-openssl-linked \
-system-libpng \
2018-06-02 11:52:22 +02:00
%if %{with harfbuzz}
2014-01-05 11:30:43 +01:00
-system-harfbuzz \
2018-06-02 11:52:22 +02:00
%endif
2014-01-05 11:30:43 +01:00
-fontconfig \
-system-freetype \
2013-10-01 08:13:11 +02:00
-cups \
-system-zlib \
2019-10-05 18:00:52 +02:00
-zstd \
2013-10-01 08:13:11 +02:00
-no-pch \
-glib \
2017-12-23 12:15:29 +01:00
-sctp \
2013-10-01 08:13:11 +02:00
-system-sqlite \
-no-sql-mysql \
2014-05-22 06:38:30 +02:00
%if %journald
2014-03-27 09:29:40 +01:00
-journald \
2014-05-22 06:38:30 +02:00
%endif
2017-07-08 12:25:20 +02:00
-libproxy \
2013-10-01 08:13:11 +02:00
-xcb \
2013-12-17 06:52:19 +01:00
-egl \
-eglfs \
2014-12-21 11:59:22 +01:00
%if %gles
2017-12-23 12:15:29 +01:00
-kms \
2013-10-04 13:52:02 +02:00
-opengl es2 \
%else
-opengl desktop \
%endif
2017-12-23 12:15:29 +01:00
-release \
2014-03-23 22:32:44 +01:00
-plugin-sql-sqlite -nomake tests \
2014-05-22 06:38:30 +02:00
-plugin-sql-psql -I/usr/include/pgsql/ -I/usr/include/pgsql/server \
2013-10-01 08:13:11 +02:00
-plugin-sql-odbc \
2018-06-22 13:16:01 +02:00
-plugin-sql-mysql -I/usr/include/mysql/ \
-qpa " x c b ; w a y l a n d " \
2019-10-05 18:00:52 +02:00
-no-feature-relocatable \
2018-09-03 10:33:15 +02:00
-v \
QMAKE_CFLAGS+=" $ C F L A G S " \
QMAKE_CXXFLAGS+=" $ C X X F L A G S "
2013-10-01 08:13:11 +02:00
2013-10-04 13:52:02 +02:00
make %{?_smp_mflags}
2013-10-01 08:13:11 +02:00
%install
2013-10-04 13:52:02 +02:00
make INSTALL_ROOT=%{buildroot} install
2014-09-24 13:09:12 +02:00
%ifarch %ix86
2017-12-23 12:15:29 +01:00
%if 0%{?sle_version} < 150000
2014-09-24 13:09:12 +02:00
install -d %{buildroot} %{libqt5_libdir} /sse2/
pushd src/corelib; make clean ; ../../bin/qmake -config sse2; make %{?_smp_mflags}
cp -av ../../lib/libQt5Core.so.* %{buildroot} %{libqt5_libdir} /sse2/
popd
pushd src/gui; ../../bin/qmake -config sse2; make %{?_smp_mflags}
cp -av ../../lib/libQt5Gui.so.* %{buildroot} %{libqt5_libdir} /sse2/
popd
%endif
2017-08-24 17:41:06 +02:00
%endif
2014-09-24 13:09:12 +02:00
2019-01-15 13:13:30 +01:00
install -D -m644 %{SOURCE2} %{buildroot} %{_rpmconfigdir} /macros.d/macros.qt5
2013-10-01 08:13:11 +02:00
# argggh, qmake is such a piece of <censored>
2017-10-01 17:00:18 +02:00
find %{buildroot} %{libqt5_libdir} -type f -name '*prl' -exec perl -pi -e " s , - L $RPM_BUILD_DIR / \ S + , , g " {} +
find %{buildroot} %{libqt5_libdir} -type f -name '*prl' -exec sed -i -e " / ^ Q M A K E _ P R L _ B U I L D _ D I R / d " {} +
find %{buildroot} %{libqt5_libdir} -type f -name '*la' -print -exec perl -pi -e " s , - L $RPM_BUILD_DIR / ? \ S + , , g " {} +
2013-10-01 08:13:11 +02:00
# insanity ...
2017-10-01 17:00:18 +02:00
find %{buildroot} %{libqt5_libdir} -type f -name '*pc' -print -exec perl -pi -e " s , - L $RPM_BUILD_DIR / ? \ S + , , g " {} + -exec sed -i -e " s , ^ m o c _ l o c a t i o n = . * , m o c _ l o c a t i o n = % l i b q t 5 _ b i n d i r / m o c , " -e " s , u i c _ l o c a t i o n = . * , u i c _ l o c a t i o n = % l i b q t 5 _ b i n d i r / u i c , " {} +
find %{buildroot} %{libqt5_libdir} / -name 'lib*.a' -exec chmod -x -- {} +
2014-02-18 16:17:26 +01:00
# kill .la files
2016-12-22 16:06:06 +01:00
rm -fv %{buildroot} %{libqt5_libdir} /lib*.la
2014-11-11 09:59:19 +01:00
2019-03-21 09:39:56 +01:00
# Not sure why these are deleted, but apparently we don't need them?
2014-11-11 09:59:19 +01:00
rm -fv %{buildroot} %{libqt5_libdir} /cmake/Qt5*/Q*Plugin.cmake
2018-12-14 20:50:53 +01:00
# This is only for Apple platforms and has a python2 dep
rm -r %{buildroot} %{libqt5_archdatadir} /mkspecs/features/uikit
2019-07-04 10:37:45 +02:00
# Link all the binaries with -qt5 suffix to %{_bindir}
2016-10-01 23:50:22 +02:00
mkdir -p %{buildroot} %{_bindir}
2013-10-01 08:13:11 +02:00
pushd %{buildroot} %{libqt5_bindir}
for i in * ; do
2014-02-18 16:17:26 +01:00
case " $ { i } " in
moc|qdbuscpp2xml|qdbusxml2cpp|qmake|rcc|syncqt|uic)
2019-07-04 10:37:45 +02:00
ln -s %{libqt5_bindir} /$i %{buildroot} %{_bindir} /${i}-qt5
2014-02-18 16:17:26 +01:00
;;
*)
2019-07-04 10:37:45 +02:00
# No conflict with Qt4, so keep the original name for compatibility
ln -s %{libqt5_bindir} /$i %{buildroot} %{_bindir} /${i}-qt5
ln -s %{libqt5_bindir} /$i %{buildroot} %{_bindir} /${i}
2014-02-18 16:17:26 +01:00
;;
esac
2013-10-01 08:13:11 +02:00
done
popd
2019-03-21 09:39:56 +01:00
chmod 644 %{buildroot} %{libqt5_docdir} /global/template/images/*.png
2013-10-01 08:13:11 +02:00
2020-10-15 13:27:12 +02:00
# Silence logging of xcb errors and qml deprecated connection
# warnings by default
install -Dm644 %{SOURCE4} %{buildroot} %{libqt5_datadir} /qtlogging.ini
2013-10-17 14:21:52 +02:00
%post -n libQt5Core5 -p /sbin/ldconfig
%post -n libQt5Concurrent5 -p /sbin/ldconfig
%post -n libQt5DBus5 -p /sbin/ldconfig
2013-10-01 08:13:11 +02:00
2013-10-17 14:21:52 +02:00
%post -n libQt5Network5 -p /sbin/ldconfig
2013-10-01 08:13:11 +02:00
2013-10-17 14:21:52 +02:00
%post -n libQt5OpenGL5 -p /sbin/ldconfig
%post -n libQt5PrintSupport5 -p /sbin/ldconfig
%post -n libQt5Xml5 -p /sbin/ldconfig
2013-10-01 08:13:11 +02:00
%post -n libQt5Gui5 -p /sbin/ldconfig
%post -n libQt5Sql5 -p /sbin/ldconfig
%post -n libQt5Test5 -p /sbin/ldconfig
%post -n libQt5Widgets5 -p /sbin/ldconfig
2013-10-17 14:21:52 +02:00
%postun -n libQt5Core5 -p /sbin/ldconfig
%postun -n libQt5Concurrent5 -p /sbin/ldconfig
%postun -n libQt5DBus5 -p /sbin/ldconfig
%postun -n libQt5Network5 -p /sbin/ldconfig
%postun -n libQt5OpenGL5 -p /sbin/ldconfig
%postun -n libQt5PrintSupport5 -p /sbin/ldconfig
%postun -n libQt5Xml5 -p /sbin/ldconfig
2013-10-01 08:13:11 +02:00
%postun -n libQt5Gui5 -p /sbin/ldconfig
%postun -n libQt5Sql5 -p /sbin/ldconfig
%postun -n libQt5Test5 -p /sbin/ldconfig
%postun -n libQt5Widgets5 -p /sbin/ldconfig
2014-02-18 16:17:26 +01:00
%files common-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2019-01-15 13:13:30 +01:00
%{_rpmconfigdir} /macros.d/macros.qt5
2014-02-18 16:17:26 +01:00
%{_bindir} /moc*
%{libqt5_bindir} /moc*
%{_bindir} /qmake*
%{libqt5_bindir} /qmake*
%{_bindir} /rcc*
%{libqt5_bindir} /rcc*
%{_bindir} /uic*
%{libqt5_bindir} /uic*
2017-12-23 12:15:29 +01:00
%{_bindir} /qvkgen*
%{libqt5_bindir} /qvkgen*
2019-10-28 18:53:53 +01:00
%{_bindir} /tracegen*
%{libqt5_bindir} /tracegen*
2014-02-18 16:17:26 +01:00
%{_bindir} /syncqt.pl*
2016-05-17 17:06:30 +02:00
%{_bindir} /fixqt4headers.pl*
2014-02-18 16:17:26 +01:00
%{libqt5_bindir} /syncqt.pl*
2016-05-17 17:06:30 +02:00
%{libqt5_bindir} /fixqt4headers.pl*
2014-03-27 09:29:40 +01:00
%{_bindir} /qlalr*
%{libqt5_bindir} /qlalr*
2014-02-18 16:17:26 +01:00
%{libqt5_archdatadir} /mkspecs/
%dir %{libqt5_libdir} /cmake
%dir %{libqt5_includedir}
%dir %{libqt5_archdatadir}
%dir %{libqt5_bindir}
2013-10-17 14:21:52 +02:00
%files -n libQt5Core5
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2013-10-01 08:13:11 +02:00
%{libqt5_libdir} /libQt5Core.so.*
2014-09-24 13:09:12 +02:00
%ifarch %ix86
2017-12-23 12:15:29 +01:00
%if 0%{?sle_version} < 150000
2014-09-24 13:09:12 +02:00
%dir %{libqt5_libdir} /sse2
%{libqt5_libdir} /sse2/libQt5Core.so.*
%endif
2017-08-24 17:41:06 +02:00
%endif
2020-10-15 13:27:12 +02:00
%dir %{libqt5_datadir}
%{libqt5_datadir} /qtlogging.ini
2013-10-17 14:21:52 +02:00
2014-02-18 16:17:26 +01:00
%files -n libQt5Core-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_libdir} /libQt5Core.so
%{libqt5_libdir} /libQt5Core.prl
%{libqt5_libdir} /cmake/Qt5Core/
%{libqt5_libdir} /cmake/Qt5/
%{libqt5_libdir} /pkgconfig/Qt5Core.pc
%{libqt5_includedir} /QtCore/
2020-02-26 13:43:12 +01:00
%dir %{libqt5_libdir} /metatypes/
%{libqt5_libdir} /metatypes/qt5core_metatypes.json
2014-02-18 16:17:26 +01:00
%exclude %{libqt5_includedir} /QtCore/%{so_version}
2016-05-17 17:06:30 +02:00
%{libqt5_docdir}
2014-02-18 16:17:26 +01:00
2013-10-17 14:21:52 +02:00
%files -n libQt5Concurrent5
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2013-10-01 08:13:11 +02:00
%{libqt5_libdir} /libQt5Concurrent.so.*
2013-10-17 14:21:52 +02:00
2014-02-18 16:17:26 +01:00
%files -n libQt5Concurrent-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_libdir} /libQt5Concurrent.so
%{libqt5_libdir} /libQt5Concurrent.prl
%{libqt5_libdir} /cmake/Qt5Concurrent/
%{libqt5_libdir} /pkgconfig/Qt5Concurrent.pc
%{libqt5_includedir} /QtConcurrent/
2013-10-17 14:21:52 +02:00
%files -n libQt5DBus5
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2013-10-01 08:13:11 +02:00
%{libqt5_libdir} /libQt5DBus.so.*
2013-10-17 14:21:52 +02:00
2014-02-18 16:17:26 +01:00
%files -n libQt5DBus-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_libdir} /libQt5DBus.so
%{libqt5_libdir} /libQt5DBus.prl
%{libqt5_libdir} /cmake/Qt5DBus/
%{libqt5_libdir} /pkgconfig/Qt5DBus.pc
%{libqt5_includedir} /QtDBus/
%exclude %{libqt5_includedir} /QtDBus/%{so_version}
%{libqt5_bindir} /qdbusxml2cpp*
%{_bindir} /qdbusxml2cpp*
%{libqt5_bindir} /qdbuscpp2xml*
%{_bindir} /qdbuscpp2xml*
2013-10-17 14:21:52 +02:00
%files -n libQt5Network5
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2013-10-01 08:13:11 +02:00
%{libqt5_libdir} /libQt5Network.so.*
2013-10-17 14:21:52 +02:00
%dir %{libqt5_libdir} /qt5
%dir %{libqt5_plugindir}
2013-10-01 08:13:11 +02:00
%{libqt5_plugindir} /bearer
2014-02-18 16:17:26 +01:00
%files -n libQt5Network-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_libdir} /libQt5Network.so
%{libqt5_libdir} /libQt5Network.prl
%{libqt5_libdir} /cmake/Qt5Network/
%{libqt5_libdir} /pkgconfig/Qt5Network.pc
%{libqt5_includedir} /QtNetwork/
%exclude %{libqt5_includedir} /QtNetwork/%{so_version}
2013-10-17 14:21:52 +02:00
%files -n libQt5OpenGL5
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2013-10-17 14:21:52 +02:00
%{libqt5_libdir} /libQt5OpenGL.so.*
2014-02-18 16:17:26 +01:00
%files -n libQt5OpenGL-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_libdir} /libQt5OpenGL.so
%{libqt5_libdir} /libQt5OpenGL.prl
%{libqt5_libdir} /cmake/Qt5OpenGL/
%{libqt5_libdir} /pkgconfig/Qt5OpenGL.pc
%{libqt5_includedir} /QtOpenGL/
%exclude %{libqt5_includedir} /QtOpenGL/%{so_version}
2013-10-17 14:21:52 +02:00
%files -n libQt5PrintSupport5
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2013-10-17 14:21:52 +02:00
%{libqt5_libdir} /libQt5PrintSupport.so.*
%{libqt5_plugindir} /printsupport
2014-02-18 16:17:26 +01:00
%files -n libQt5PrintSupport-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_libdir} /libQt5PrintSupport.so
%{libqt5_libdir} /libQt5PrintSupport.prl
%{libqt5_libdir} /cmake/Qt5PrintSupport/
%{libqt5_libdir} /pkgconfig/Qt5PrintSupport.pc
%{libqt5_includedir} /QtPrintSupport/
%exclude %{libqt5_includedir} /QtPrintSupport/%{so_version}
2013-10-17 14:21:52 +02:00
%files -n libQt5Xml5
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2013-10-17 14:21:52 +02:00
%{libqt5_libdir} /libQt5Xml.so.*
2014-02-18 16:17:26 +01:00
%files -n libQt5Xml-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_libdir} /libQt5Xml.so
%{libqt5_libdir} /libQt5Xml.prl
%{libqt5_libdir} /cmake/Qt5Xml/
%{libqt5_libdir} /pkgconfig/Qt5Xml.pc
%{libqt5_includedir} /QtXml/
2013-10-01 08:13:11 +02:00
%files -n libQt5Test5
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2013-10-01 08:13:11 +02:00
%{libqt5_libdir} /libQt5Test.so.*
2014-02-18 16:17:26 +01:00
%files -n libQt5Test-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_libdir} /libQt5Test.so
%{libqt5_libdir} /libQt5Test.prl
%{libqt5_libdir} /cmake/Qt5Test/
%{libqt5_libdir} /pkgconfig/Qt5Test.pc
%{libqt5_includedir} /QtTest/
%exclude %{libqt5_includedir} /QtTest/%{so_version}
2013-10-01 08:13:11 +02:00
%files -n libQt5Widgets5
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2013-10-01 08:13:11 +02:00
%{libqt5_libdir} /libQt5Widgets.so.*
2014-02-18 16:17:26 +01:00
%files -n libQt5Widgets-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_libdir} /libQt5Widgets.so
%{libqt5_libdir} /libQt5Widgets.prl
%{libqt5_libdir} /cmake/Qt5Widgets/
%{libqt5_libdir} /pkgconfig/Qt5Widgets.pc
%{libqt5_includedir} /QtWidgets/
2020-02-26 13:43:12 +01:00
%{libqt5_libdir} /metatypes/qt5widgets_metatypes.json
2014-02-18 16:17:26 +01:00
%exclude %{libqt5_includedir} /QtWidgets/%{so_version}
2013-10-01 08:13:11 +02:00
%files -n libQt5Gui5
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2013-10-01 08:13:11 +02:00
%{libqt5_libdir} /libQt5Gui.so.*
2014-09-24 13:09:12 +02:00
%ifarch %ix86
2017-08-24 17:41:06 +02:00
%if 0%{?sle_version:%sle_version} < 150000
2014-09-24 13:09:12 +02:00
%{libqt5_libdir} /sse2/libQt5Gui.so.*
%endif
2017-08-24 17:41:06 +02:00
%endif
2017-06-13 16:06:00 +02:00
%{libqt5_libdir} /libQt5EglFSDeviceIntegration.so.*
2016-10-01 23:50:22 +02:00
%{libqt5_libdir} /libQt5EglFsKmsSupport.so.*
2015-09-27 08:38:22 +02:00
%{libqt5_libdir} /libQt5XcbQpa.so.*
2013-10-01 08:13:11 +02:00
%{libqt5_plugindir} /generic
%{libqt5_plugindir} /imageformats
%{libqt5_plugindir} /platforminputcontexts
%{libqt5_plugindir} /platforms
2015-09-27 08:38:22 +02:00
%{libqt5_plugindir} /egldeviceintegrations
%{libqt5_plugindir} /xcbglintegrations
2016-10-01 23:50:22 +02:00
%files platformtheme-gtk3
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2016-10-01 23:50:22 +02:00
%dir %{libqt5_plugindir} /platformthemes
%{libqt5_plugindir} /platformthemes/libqgtk3.so
2013-10-01 08:13:11 +02:00
2018-12-14 20:50:53 +01:00
%files platformtheme-xdgdesktopportal
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2018-06-02 11:52:22 +02:00
%dir %{libqt5_plugindir} /platformthemes
2018-12-14 20:50:53 +01:00
%{libqt5_plugindir} /platformthemes/libqxdgdesktopportal.so
2018-06-02 11:52:22 +02:00
2014-02-18 16:17:26 +01:00
%files -n libQt5Gui-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_libdir} /libQt5Gui.so
%{libqt5_libdir} /libQt5Gui.prl
2017-06-13 16:06:00 +02:00
%{libqt5_libdir} /libQt5EglFSDeviceIntegration.so
%{libqt5_libdir} /libQt5EglFSDeviceIntegration.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5EglFSDeviceIntegration/
2016-10-01 23:50:22 +02:00
%{libqt5_libdir} /libQt5EglFsKmsSupport.prl
%{libqt5_libdir} /libQt5EglFsKmsSupport.so
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5EglFsKmsSupport/
2019-06-28 16:32:03 +02:00
%{libqt5_libdir} /libQt5XcbQpa.so
%{libqt5_libdir} /libQt5XcbQpa.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5XcbQpa/
2014-02-18 16:17:26 +01:00
%{libqt5_libdir} /cmake/Qt5Gui/
%{libqt5_libdir} /pkgconfig/Qt5Gui.pc
%{libqt5_includedir} /QtGui/
2017-06-13 16:06:00 +02:00
%{libqt5_includedir} /QtEglFSDeviceIntegration/
2019-06-28 16:32:03 +02:00
%{libqt5_includedir} /QtXkbCommonSupport
2020-02-26 13:43:12 +01:00
%{libqt5_libdir} /metatypes/qt5gui_metatypes.json
2014-02-18 16:17:26 +01:00
%exclude %{libqt5_includedir} /QtGui/%{so_version}
2017-06-13 16:06:00 +02:00
%exclude %{libqt5_includedir} /QtEglFSDeviceIntegration/%{so_version}
2019-06-28 16:32:03 +02:00
%exclude %{libqt5_includedir} /QtXkbCommonSupport/%{so_version}
2014-02-18 16:17:26 +01:00
2013-10-01 08:13:11 +02:00
%files devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2013-10-01 08:13:11 +02:00
%files private-headers-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2013-10-01 08:13:11 +02:00
%files -n libQt5Sql5
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2013-10-01 08:13:11 +02:00
%{libqt5_libdir} /libQt5Sql.so.*
%dir %{libqt5_plugindir} /sqldrivers
2014-02-18 16:17:26 +01:00
%files -n libQt5Sql-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_libdir} /libQt5Sql.so
%{libqt5_libdir} /libQt5Sql.prl
%{libqt5_libdir} /cmake/Qt5Sql/
%{libqt5_libdir} /pkgconfig/Qt5Sql.pc
%{libqt5_includedir} /QtSql/
%exclude %{libqt5_includedir} /QtSql/%{so_version}
2013-10-17 14:21:52 +02:00
%files -n libQt5Sql5-sqlite
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2013-10-01 08:13:11 +02:00
%{libqt5_plugindir} /sqldrivers/libqsqlite*.so
2013-10-17 14:21:52 +02:00
%files -n libQt5Sql5-unixODBC
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2013-10-01 08:13:11 +02:00
%{libqt5_plugindir} /sqldrivers/libqsqlodbc*.so
2013-10-17 14:21:52 +02:00
%files -n libQt5Sql5-postgresql
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2013-10-01 08:13:11 +02:00
%{libqt5_plugindir} /sqldrivers/libqsqlpsql*.so
2013-10-17 14:21:52 +02:00
%files -n libQt5Sql5-mysql
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2013-10-01 08:13:11 +02:00
%{libqt5_plugindir} /sqldrivers/libqsqlmysql*.so
2014-02-18 16:17:26 +01:00
%files -n libQt5Bootstrap-devel-static
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_libdir} /libQt5Bootstrap.a
%{libqt5_libdir} /libQt5Bootstrap.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5Bootstrap/
2014-02-18 16:17:26 +01:00
%files -n libQt5OpenGLExtensions-devel-static
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_libdir} /libQt5OpenGLExtensions.a
%{libqt5_libdir} /libQt5OpenGLExtensions.prl
%{libqt5_libdir} /cmake/Qt5OpenGLExtensions/
%{libqt5_libdir} /pkgconfig/Qt5OpenGLExtensions.pc
%{libqt5_includedir} /QtOpenGLExtensions/
%files -n libQt5PlatformSupport-devel-static
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2019-06-28 16:32:03 +02:00
%{libqt5_libdir} /libQt5XkbCommonSupport.a
%{libqt5_libdir} /libQt5XkbCommonSupport.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5XkbCommonSupport/
2017-06-13 16:06:00 +02:00
%{libqt5_libdir} /libQt5AccessibilitySupport.a
%{libqt5_libdir} /libQt5AccessibilitySupport.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5AccessibilitySupport/
2017-06-13 16:06:00 +02:00
%{libqt5_libdir} /libQt5DeviceDiscoverySupport.a
%{libqt5_libdir} /libQt5DeviceDiscoverySupport.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5DeviceDiscoverySupport/
2017-06-13 16:06:00 +02:00
%{libqt5_libdir} /libQt5EglSupport.a
%{libqt5_libdir} /libQt5EglSupport.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5EglSupport/
2017-06-13 16:06:00 +02:00
%{libqt5_libdir} /libQt5EventDispatcherSupport.a
%{libqt5_libdir} /libQt5EventDispatcherSupport.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5EventDispatcherSupport/
2017-06-13 16:06:00 +02:00
%{libqt5_libdir} /libQt5FbSupport.a
%{libqt5_libdir} /libQt5FbSupport.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5FbSupport/
2017-06-13 16:06:00 +02:00
%{libqt5_libdir} /libQt5FontDatabaseSupport.a
%{libqt5_libdir} /libQt5FontDatabaseSupport.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5FontDatabaseSupport/
2017-06-13 16:06:00 +02:00
%ifnarch %arm aarch64
%{libqt5_libdir} /libQt5GlxSupport.a
%{libqt5_libdir} /libQt5GlxSupport.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5GlxSupport/
2017-06-13 16:06:00 +02:00
%endif
%{libqt5_libdir} /libQt5InputSupport.a
%{libqt5_libdir} /libQt5InputSupport.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5InputSupport/
2017-06-13 16:06:00 +02:00
%{libqt5_libdir} /libQt5LinuxAccessibilitySupport.a
%{libqt5_libdir} /libQt5LinuxAccessibilitySupport.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5LinuxAccessibilitySupport/
2017-06-13 16:06:00 +02:00
%{libqt5_libdir} /libQt5PlatformCompositorSupport.a
%{libqt5_libdir} /libQt5PlatformCompositorSupport.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5PlatformCompositorSupport/
2017-06-13 16:06:00 +02:00
%{libqt5_libdir} /libQt5ServiceSupport.a
%{libqt5_libdir} /libQt5ServiceSupport.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5ServiceSupport/
2017-06-13 16:06:00 +02:00
%{libqt5_libdir} /libQt5ThemeSupport.a
%{libqt5_libdir} /libQt5ThemeSupport.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5ThemeSupport/
2017-12-23 12:15:29 +01:00
%{libqt5_libdir} /libQt5EdidSupport.a
%{libqt5_libdir} /libQt5EdidSupport.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5EdidSupport/
2017-12-23 12:15:29 +01:00
%if %{vulkan}
%{libqt5_libdir} /libQt5VulkanSupport.a
%{libqt5_libdir} /libQt5VulkanSupport.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5VulkanSupport/
2017-12-23 12:15:29 +01:00
%endif
2017-06-13 16:06:00 +02:00
%{libqt5_includedir} /QtAccessibilitySupport/
%{libqt5_includedir} /QtDeviceDiscoverySupport/
%{libqt5_includedir} /QtEglSupport/
%{libqt5_includedir} /QtEventDispatcherSupport/
%{libqt5_includedir} /QtFbSupport/
%{libqt5_includedir} /QtFontDatabaseSupport/
%ifnarch %arm aarch64
%{libqt5_includedir} /QtGlxSupport/
%endif
%{libqt5_includedir} /QtInputSupport/
%{libqt5_includedir} /QtLinuxAccessibilitySupport/
%{libqt5_includedir} /QtPlatformCompositorSupport/
%{libqt5_includedir} /QtServiceSupport/
%{libqt5_includedir} /QtThemeSupport/
2017-12-23 12:15:29 +01:00
%{libqt5_includedir} /QtEdidSupport/
%if %{vulkan}
%{libqt5_includedir} /QtVulkanSupport/
%endif
2017-06-13 16:06:00 +02:00
%exclude %{libqt5_includedir} /QtAccessibilitySupport/%{so_version} /
%exclude %{libqt5_includedir} /QtDeviceDiscoverySupport/%{so_version} /
%exclude %{libqt5_includedir} /QtEglSupport/%{so_version} /
%exclude %{libqt5_includedir} /QtEventDispatcherSupport/%{so_version} /
%exclude %{libqt5_includedir} /QtFbSupport/%{so_version} /
%exclude %{libqt5_includedir} /QtFontDatabaseSupport/%{so_version} /
%ifnarch %arm aarch64
%exclude %{libqt5_includedir} /QtGlxSupport/%{so_version} /
%endif
%exclude %{libqt5_includedir} /QtInputSupport/%{so_version} /
%exclude %{libqt5_includedir} /QtLinuxAccessibilitySupport/%{so_version} /
%exclude %{libqt5_includedir} /QtPlatformCompositorSupport/%{so_version} /
%exclude %{libqt5_includedir} /QtServiceSupport/%{so_version} /
%exclude %{libqt5_includedir} /QtThemeSupport/%{so_version} /
2017-12-23 12:15:29 +01:00
%exclude %{libqt5_includedir} /QtEdidSupport/%{so_version} /
%if %{vulkan}
%exclude %{libqt5_includedir} /QtVulkanSupport/%{so_version} /
%endif
2017-06-13 16:06:00 +02:00
%files -n libQt5KmsSupport-devel-static
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2017-06-13 16:06:00 +02:00
%{libqt5_libdir} /libQt5KmsSupport.a
%{libqt5_libdir} /libQt5KmsSupport.prl
2019-09-07 19:41:39 +02:00
%{libqt5_libdir} /cmake/Qt5KmsSupport/
2017-06-13 16:06:00 +02:00
%exclude %{libqt5_includedir} /QtKmsSupport/%{so_version} /
%{libqt5_includedir} /QtKmsSupport/
2014-02-18 16:17:26 +01:00
%files -n libQt5Core-private-headers-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_includedir} /QtCore/%{so_version} /
%files -n libQt5DBus-private-headers-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_includedir} /QtDBus/%{so_version} /
%files -n libQt5Gui-private-headers-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_includedir} /QtGui/%{so_version} /
2017-06-13 16:06:00 +02:00
%{libqt5_includedir} /QtEglFSDeviceIntegration/%{so_version}
2019-06-28 16:32:03 +02:00
%{libqt5_includedir} /QtXkbCommonSupport/%{so_version}
2017-06-13 16:06:00 +02:00
%files -n libQt5KmsSupport-private-headers-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2017-06-13 16:06:00 +02:00
%{libqt5_includedir} /QtKmsSupport/%{so_version} /
2014-02-18 16:17:26 +01:00
%files -n libQt5Network-private-headers-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_includedir} /QtNetwork/%{so_version} /
%files -n libQt5OpenGL-private-headers-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_includedir} /QtOpenGL/%{so_version} /
%files -n libQt5PlatformSupport-private-headers-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2017-06-13 16:06:00 +02:00
%{libqt5_includedir} /QtAccessibilitySupport/%{so_version} /
%{libqt5_includedir} /QtDeviceDiscoverySupport/%{so_version} /
%{libqt5_includedir} /QtEglSupport/%{so_version} /
%{libqt5_includedir} /QtEventDispatcherSupport/%{so_version} /
%{libqt5_includedir} /QtFbSupport/%{so_version} /
%{libqt5_includedir} /QtFontDatabaseSupport/%{so_version} /
%ifnarch %arm aarch64
%{libqt5_includedir} /QtGlxSupport/%{so_version} /
%endif
%{libqt5_includedir} /QtInputSupport/%{so_version} /
%{libqt5_includedir} /QtLinuxAccessibilitySupport/%{so_version} /
%{libqt5_includedir} /QtPlatformCompositorSupport/%{so_version} /
%{libqt5_includedir} /QtServiceSupport/%{so_version} /
%{libqt5_includedir} /QtThemeSupport/%{so_version} /
2017-12-23 12:15:29 +01:00
%{libqt5_includedir} /QtEdidSupport/%{so_version} /
%if %{vulkan}
%{libqt5_includedir} /QtVulkanSupport/%{so_version} /
%endif
2014-02-18 16:17:26 +01:00
%files -n libQt5PrintSupport-private-headers-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_includedir} /QtPrintSupport/%{so_version} /
%files -n libQt5Sql-private-headers-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_includedir} /QtSql/%{so_version} /
%files -n libQt5Test-private-headers-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_includedir} /QtTest/%{so_version} /
%files -n libQt5Widgets-private-headers-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-02-18 16:17:26 +01:00
%{libqt5_includedir} /QtWidgets/%{so_version} /
2014-12-21 11:59:22 +01:00
%files -n libQt5PlatformHeaders-devel
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-12-21 11:59:22 +01:00
%{libqt5_includedir} /QtPlatformHeaders/
2014-03-23 22:32:44 +01:00
%files examples
2019-03-21 09:39:56 +01:00
%license LICENSE.*
%doc *.txt
2014-03-23 22:32:44 +01:00
%{libqt5_examplesdir} /
2013-10-01 08:13:11 +02:00
%changelog