2013-10-01 08:13:11 +02:00
#
# spec file for package libqt5-qtbase
#
2017-06-13 16:06:00 +02:00
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2013-10-06 14:27:16 +02:00
2014-09-18 07:56:36 +02:00
%define qt5_snapshot 0
2014-05-22 06:38:30 +02:00
%define journald 0
2014-02-18 16:17:26 +01:00
2014-12-21 11:59:22 +01:00
%ifarch %arm aarch64
%define gles 1
%else
%define gles 0
%endif
2013-10-01 08:13:11 +02:00
Name : libqt5-qtbase
2017-07-08 12:25:20 +02:00
Version : 5.9.1
2014-02-18 16:17:26 +01:00
Release : 0
Summary : C++ Program Library, Core Components
License : GPL-3.0 or SUSE-LGPL-2.1-with-digia-exception-1.1
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
2017-07-08 12:25:20 +02:00
%define real_version 5.9.1
%define so_version 5.9.1
2014-02-18 16:17:26 +01:00
%define tar_version qtbase-opensource-src-%{real_version}
2017-06-13 16:06:00 +02:00
Source : https://download.qt.io/official_releases/qt/5.9/%{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
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 #
# PATCH-FIX-SUSE libqt5-Fix-Gujarati-font.patch bnc#878292 fix broken Gujarati font rendering
Patch3 : libqt5-Fix-Gujarati-font.patch
2014-10-01 11:22:03 +02:00
# Patch-FIX-SUSE libqt5-do-not-use-shm-if-display-name-doesnt-look-local.patch -- bnc#888858
Patch5 : libqt5-do-not-use-shm-if-display-name-doesnt-look-local.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-FIX-OPENSUSE de63bbd2f806b0219a60775017899cedb121581f.patch -- Revert upstream commit to workaround QTBUG-61197
Patch11 : de63bbd2f806b0219a60775017899cedb121581f.patch
# PATCH-FEATURE-OPENSUSE 0001-Add-remote-print-queue-support.patch fate#322052 -- Automatically recognize and allow printing to remote cups servers
Patch12 : 0001-Add-remote-print-queue-support.patch
# PATCH-FIX-UPSTREAM 0001-Fix-open-chmod-race-condition-in-QSaveFile.patch bsc#1034005 -- Fix a open file/change permission race condition in QSaveFile
Patch13 : 0001-Fix-open-chmod-race-condition-in-QSaveFile.patch
2017-07-08 12:25:20 +02:00
# PATCH-FIX-OPENSUSE (?)
Patch14 : 0001-Fix-at-spi2-build.patch
2017-08-08 11:57:28 +02:00
# PATCH-FIX-OPENSUSE
Patch15 : force-cmake-private-headers.patch
# PATCH-FIX-OPENSUSE
Patch16 : dont-abort-missing-display.patch
2017-09-04 12:18:42 +02:00
# PATCH-FIX-UPSTREAM
Patch17 : qapplication-emit-palettechanged.patch
2017-06-13 16:06:00 +02:00
# patches 1000-2000 and above from upstream 5.9 branch #
2017-09-15 21:08:33 +02:00
# PATCH-FIX-UPSTREAM 0001-Fix-Qt5DBusMacros.cmake-for-CMake-3.9.patch -- Skip automoc for generated headers
Patch1000 : 0001-Fix-Qt5DBusMacros.cmake-for-CMake-3.9.patch
2017-06-13 16:06:00 +02:00
# patches 2000-3000 and above from upstream 5.10/dev branch #
2017-09-15 21:08:33 +02:00
Patch2000 : 0001-QSslSocket-OpenSSL-1.1-backend.patch
# PATCH-FIX-UPSTREAM (https://codereview.qt-project.org/#/c/205268/)
Patch4000 : qglxconvenience-avoid-null-pointer-deref.patch
2013-10-01 08:13:11 +02:00
BuildRequires : alsa-devel
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 : libmng-devel
BuildRequires : libmysqlclient-devel
BuildRequires : libpng-devel
2016-10-01 23:50:22 +02:00
BuildRequires : libproxy-devel
2013-10-01 08:13:11 +02:00
BuildRequires : libtiff-devel
BuildRequires : openssl-devel
BuildRequires : pcre-devel
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)
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(gbm)
BuildRequires : pkgconfig(glesv2)
%endif
2014-01-05 11:30:43 +01:00
BuildRequires : libicu-devel
BuildRequires : libpulse-devel
2015-09-27 08:38:22 +02:00
BuildRequires : tslib-devel
2013-10-01 08:13:11 +02:00
BuildRequires : xcb-util-image-devel
BuildRequires : xcb-util-keysyms-devel
BuildRequires : xcb-util-renderutil-devel
BuildRequires : xcb-util-wm-devel
2014-01-05 11:30:43 +01:00
BuildRequires : xorg-x11-devel
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)
2014-01-05 11:30:43 +01:00
BuildRequires : pkgconfig(harfbuzz)
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
2014-05-22 06:38:30 +02:00
%if %journald
2014-03-27 09:29:40 +01:00
BuildRequires : pkgconfig(libsystemd-journal)
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
BuildRoot : %{_tmppath} /%{name} -%{version} -build
%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
%setup -q -n qtbase-opensource-src-%{real_version}
2014-09-08 21:28:18 +02:00
%patch3 -p1
2014-10-01 11:22:03 +02:00
%patch5 -p1
2016-02-17 10:29:56 +01:00
%patch6 -p1
2017-06-13 16:06:00 +02:00
%patch8 -p1
2016-10-18 09:57:06 +02:00
%patch10 -p1
2017-06-13 16:06:00 +02:00
%patch11 -p1
%patch12 -p1
%patch13 -p1
2017-07-08 12:25:20 +02:00
%patch14 -p1
2017-08-08 11:57:28 +02:00
%patch15 -p1
%patch16 -p1
2017-09-04 12:18:42 +02:00
%patch17 -p1
2017-09-15 21:08:33 +02:00
%patch1000 -p1
2017-08-29 11:40:01 +02:00
%patch2000 -p1
2017-09-15 21:08:33 +02:00
%patch4000 -p1
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
Summary : Qt Development Kit
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
You need this package, if you want to compile programs with Qt. It
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
The Qt 5 Core library.
2014-02-18 16:17:26 +01:00
%package -n libQt5Core-devel
Summary : Qt 5 Core Library - development files
Group : Development/Libraries/X11
Requires : %{name} -common-devel = %{version}
Requires : libQt5Core5 = %{version}
%description -n libQt5Core-devel
Qt 5 Core Library - development files.
%package -n libQt5Core-private-headers-devel
Summary : Qt 5 Core Library - Non-ABI stable development files
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
Qt 5 Core Library - Non-ABI stable development files.
%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
The Qt 5 Concurrent library.
%package -n libQt5Concurrent-devel
Summary : Qt 5 Concurrent Library - development files
Group : Development/Libraries/X11
Requires : libQt5Concurrent5 = %{version}
Requires : libQt5Core-devel = %{version}
%description -n libQt5Concurrent-devel
The Qt 5 Concurrent library - development files.
2013-10-17 14:21:52 +02:00
%package -n libQt5DBus5
Summary : Qt 5 DBus 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 libQt5DBus5
The Qt 5 DBus library.
2014-02-18 16:17:26 +01:00
%package -n libQt5DBus-devel
Summary : Qt 5 DBus Library - development files
Group : Development/Libraries/X11
Requires : libQt5Core-devel = %{version}
Requires : libQt5DBus5 = %{version}
%description -n libQt5DBus-devel
2017-07-08 12:25:20 +02:00
The Qt 5 DBus library - development files. Additionally, it contains
2014-02-18 16:17:26 +01:00
Qt5's qdbusxml2cpp and qdbuscpp2xml binaries.
%package -n libQt5DBus-private-headers-devel
Summary : Qt 5 DBus Library - Non-ABI stable development files
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
Qt 5 DBus Library - Non-ABI stable development files.
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
The Qt 5 Network library.
2014-02-18 16:17:26 +01:00
%package -n libQt5Network-devel
Summary : Qt 5 Network Library - development files
Group : Development/Libraries/X11
Requires : libQt5Core-devel = %{version}
Requires : libQt5Network5 = %{version}
%description -n libQt5Network-devel
The Qt 5 Network library - development files.
%package -n libQt5Network-private-headers-devel
Summary : Qt 5 Network Library - Non-ABI stable development files
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
Qt 5 Network Library - Non-ABI stable development files.
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
The Qt 5 OpenGL library.
2014-02-18 16:17:26 +01:00
%package -n libQt5OpenGL-devel
Summary : Qt 5 OpenGL Library - development files
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
The Qt 5 OpenGL library - development files.
%package -n libQt5OpenGL-private-headers-devel
Summary : Qt 5 OpenGL Library - Non-ABI stable development files
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
Qt 5 OpenGL Library - Non-ABI stable development files.
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
The Qt 5 Print Support library.
2014-02-18 16:17:26 +01:00
%package -n libQt5PrintSupport-devel
Summary : Qt 5 Print Support Library - development files
Group : Development/Libraries/X11
Requires : libQt5Core-devel = %{version}
Requires : libQt5Gui-devel = %{version}
Requires : libQt5PrintSupport5 = %{version}
Requires : libQt5Widgets-devel = %{version}
%description -n libQt5PrintSupport-devel
The Qt 5 Print Support library - development files.
%package -n libQt5PrintSupport-private-headers-devel
Summary : Qt 5 Print Support Library - Non-ABI stable development files
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}
%description -n libQt5PrintSupport-private-headers-devel
Qt 5 Print Support Library - Non-ABI stable development files.
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
The Qt 5 Xml library.
2014-02-18 16:17:26 +01:00
%package -n libQt5Xml-devel
Summary : Qt 5 Xml Library - development files
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
The Qt 5 Xml library - development files.
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
2013-10-17 14:21:52 +02:00
The Qt 5 library for testing.
2013-10-01 08:13:11 +02:00
2014-02-18 16:17:26 +01:00
%package -n libQt5Test-devel
Summary : Qt 5 Test Library - development files
Group : Development/Libraries/X11
Requires : libQt5Core-devel = %{version}
Requires : libQt5Test5 = %{version}
%description -n libQt5Test-devel
The Qt 5 library for testing - development files.
%package -n libQt5Test-private-headers-devel
Summary : Qt 5 Test Library - Non-ABI stable development files
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
Qt 5 Test Library - Non-ABI stable development files.
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
2013-10-17 14:21:52 +02:00
The Qt 5 library to display widgets.
2013-10-01 08:13:11 +02:00
2014-02-18 16:17:26 +01:00
%package -n libQt5Widgets-devel
Summary : Qt 5 Widgets Library - development files
Group : Development/Libraries/X11
Requires : libQt5Core-devel = %{version}
Requires : libQt5Gui-devel = %{version}
Requires : libQt5Widgets5 = %{version}
%description -n libQt5Widgets-devel
The Qt 5 library to display widgets - development files.
%package -n libQt5Widgets-private-headers-devel
Summary : Qt 5 Widgets Library - Non-ABI stable development files
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
Qt 5 Widgets Library - Non-ABI stable development files.
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
2013-10-01 08:13:11 +02:00
Qt 5 sqlite plugin to be able to use database functionality with Qt
applications without the need to setup a SQL server.
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
2013-10-01 08:13:11 +02:00
Qt unixODBC plugin to support databases via unixODBC within Qt
applications.
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
2013-10-01 08:13:11 +02:00
Qt SQL plugin to support PostgreSQL servers in Qt applications.
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
Qt 5 libraries which are depending on X11.
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.
2014-02-18 16:17:26 +01:00
%package -n libQt5Gui-devel
Summary : Qt 5 GUI related libraries - development files
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
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
Qt 5 libraries which are depending on X11 - development files.
%package -n libQt5Gui-private-headers-devel
Summary : Qt 5 Gui Library - Non-ABI stable development files
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
Qt 5 Gui Library - Non-ABI stable development files.
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
Summary : Qt 5 SQL related libraries - development files
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
will need also a plugin package for a supported SQL server - development files.
%package -n libQt5Sql-private-headers-devel
Summary : Qt 5 SQL Library - Non-ABI stable development files
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
Qt 5 SQL Library - Non-ABI stable development files.
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
Summary : Qt 5 PlatformSupport Library - Non-ABI stable development files
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
Qt 5 PlatformSupport Library - Non-ABI stable development files.
2017-06-13 16:06:00 +02:00
%package -n libQt5KmsSupport-devel-static
Summary : Qt KmsSupport module
Group : Development/Libraries/C and C++
Requires : libQt5Core-devel = %{version}
Requires : libQt5Gui-devel = %{version}
%description -n libQt5KmsSupport-devel-static
Qt KmsSupport module.
%package -n libQt5KmsSupport-private-headers-devel
Summary : Qt 5 KmsSupport Library - Non-ABI stable development files
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
Qt 5 KmsSupport Library - Non-ABI stable development files.
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
Examples for libqt5-qtbase modules.
2013-10-01 08:13:11 +02:00
%build
2017-06-13 16:06:00 +02:00
#export QMAKESPEC=$PWD/mkspecs/linux-g++
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} "
2013-10-01 08:13:11 +02:00
%ifarch sparc64
platform=" - p l a t f o r m l i n u x - g + + - 6 4 "
%else
platform=" "
%endif
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
echo yes | ./configure $platform \
-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-08-24 17:41:06 +02:00
%if 0%{?sle_version:%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
-optimized-qmake \
-accessibility \
2013-12-02 07:22:52 +01:00
-no-strip \
2013-10-01 08:13:11 +02:00
-opensource \
-no-separate-debug-info \
-shared \
-xkb \
2014-03-27 09:29:40 +01:00
-system-xkbcommon \
2013-10-01 08:13:11 +02:00
-dbus-linked \
-sm \
-no-rpath \
-system-libjpeg \
-openssl-linked \
-system-libpng \
2014-01-05 11:30:43 +01:00
-system-harfbuzz \
-fontconfig \
-system-freetype \
2013-10-01 08:13:11 +02:00
-cups \
-system-zlib \
-no-pch \
-glib \
-system-sqlite \
-no-sql-mysql \
2014-02-18 16:17:26 +01:00
-no-strip \
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
2013-10-04 13:52:02 +02:00
-eglfs -kms \
-opengl es2 \
%else
-opengl desktop \
%endif
2013-10-01 08:13:11 +02: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 \
2014-05-22 06:38:30 +02:00
-plugin-sql-mysql -I/usr/include/mysql/ -v
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-08-24 17:41:06 +02:00
%if 0%{?sle_version:%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
2013-10-01 08:13:11 +02:00
install -D -m644 %{SOURCE2} %{buildroot} %{_sysconfdir} /rpm/macros.qt5
# argggh, qmake is such a piece of <censored>
2016-10-01 23:50:22 +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 ...
2016-10-01 23:50:22 +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
2017-06-13 16:06:00 +02:00
rm -fv %{buildroot} %{libqt5_libdir} /*png.*
2014-11-11 09:59:19 +01:00
#
rm -fv %{buildroot} %{libqt5_libdir} /cmake/Qt5*/Q*Plugin.cmake
2016-10-01 23:50:22 +02:00
mkdir -p %{buildroot} %{libqt5_plugindir} /sqldrivers
2013-10-01 08:13:11 +02:00
2013-10-04 13:52:02 +02:00
# put all the binaries to %{_bindir}, add -qt5 suffix, and symlink them back to %_qt5_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)
2013-10-01 08:13:11 +02:00
mv $i ../../../bin/${i}-qt5
ln -s ../../../bin/${i}-qt5 .
ln -s ../../../bin/${i}-qt5 $i
2014-02-18 16:17:26 +01:00
;;
*)
mv $i ../../../bin/
ln -s ../../../bin/$i .
;;
esac
2013-10-01 08:13:11 +02:00
done
popd
pushd %{buildroot} %{libqt5_docdir} /global/template/images
chmod -R 644 *.png
popd
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
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{_sysconfdir} /rpm/macros.qt5
%{_bindir} /moc*
%{libqt5_bindir} /moc*
%{_bindir} /qmake*
%{libqt5_bindir} /qmake*
%{_bindir} /rcc*
%{libqt5_bindir} /rcc*
%{_bindir} /uic*
%{libqt5_bindir} /uic*
%{_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
2013-10-01 08:13:11 +02:00
%defattr (-,root,root,755)
2014-02-18 16:17:26 +01:00
%doc *.txt LICENSE.*
2013-10-01 08:13:11 +02:00
%{libqt5_libdir} /libQt5Core.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
%dir %{libqt5_libdir} /sse2
%{libqt5_libdir} /sse2/libQt5Core.so.*
%endif
2017-08-24 17:41:06 +02:00
%endif
2013-10-17 14:21:52 +02:00
2014-02-18 16:17:26 +01:00
%files -n libQt5Core-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{libqt5_libdir} /libQt5Core.so
%{libqt5_libdir} /libQt5Core.prl
%{libqt5_libdir} /cmake/Qt5Core/
%{libqt5_libdir} /cmake/Qt5/
%{libqt5_libdir} /pkgconfig/Qt5Core.pc
%{libqt5_includedir} /QtCore/
%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
%defattr (-,root,root,755)
2014-02-18 16:17:26 +01:00
%doc *.txt LICENSE.*
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
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{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
%defattr (-,root,root,755)
2014-02-18 16:17:26 +01:00
%doc *.txt LICENSE.*
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
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{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
%defattr (-,root,root,755)
2014-02-18 16:17:26 +01:00
%doc *.txt LICENSE.*
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
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{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
%defattr (-,root,root,755)
2014-02-18 16:17:26 +01:00
%doc *.txt LICENSE.*
2013-10-17 14:21:52 +02:00
%{libqt5_libdir} /libQt5OpenGL.so.*
2014-02-18 16:17:26 +01:00
%files -n libQt5OpenGL-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{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
%defattr (-,root,root,755)
2014-02-18 16:17:26 +01:00
%doc *.txt LICENSE.*
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
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{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
%defattr (-,root,root,755)
2014-02-18 16:17:26 +01:00
%doc *.txt LICENSE.*
2013-10-17 14:21:52 +02:00
%{libqt5_libdir} /libQt5Xml.so.*
2014-02-18 16:17:26 +01:00
%files -n libQt5Xml-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{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
%defattr (-,root,root,755)
2014-02-18 16:17:26 +01:00
%doc *.txt LICENSE.*
2013-10-01 08:13:11 +02:00
%{libqt5_libdir} /libQt5Test.so.*
2014-02-18 16:17:26 +01:00
%files -n libQt5Test-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{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
%defattr (-,root,root,755)
2014-02-18 16:17:26 +01:00
%doc *.txt LICENSE.*
2013-10-01 08:13:11 +02:00
%{libqt5_libdir} /libQt5Widgets.so.*
2014-02-18 16:17:26 +01:00
%files -n libQt5Widgets-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{libqt5_libdir} /libQt5Widgets.so
%{libqt5_libdir} /libQt5Widgets.prl
%{libqt5_libdir} /cmake/Qt5Widgets/
%{libqt5_libdir} /pkgconfig/Qt5Widgets.pc
%{libqt5_includedir} /QtWidgets/
%exclude %{libqt5_includedir} /QtWidgets/%{so_version}
2013-10-01 08:13:11 +02:00
%files -n libQt5Gui5
%defattr (-,root,root,755)
2014-02-18 16:17:26 +01:00
%doc *.txt LICENSE.*
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
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%dir %{libqt5_plugindir} /platformthemes
%{libqt5_plugindir} /platformthemes/libqgtk3.so
2013-10-01 08:13:11 +02:00
2014-02-18 16:17:26 +01:00
%files -n libQt5Gui-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{libqt5_libdir} /libQt5Gui.so
%{libqt5_libdir} /libQt5Gui.prl
2017-06-13 16:06:00 +02:00
%{libqt5_libdir} /libQt5EglFSDeviceIntegration.so
%{libqt5_libdir} /libQt5EglFSDeviceIntegration.prl
2016-10-01 23:50:22 +02:00
%{libqt5_libdir} /libQt5EglFsKmsSupport.prl
%{libqt5_libdir} /libQt5EglFsKmsSupport.so
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/
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}
2014-02-18 16:17:26 +01:00
2013-10-01 08:13:11 +02:00
%files devel
%defattr (-,root,root,755)
2014-02-18 16:17:26 +01:00
%doc *.txt LICENSE.*
2013-10-01 08:13:11 +02:00
%files private-headers-devel
%defattr (-,root,root,755)
2014-02-18 16:17:26 +01:00
%doc *.txt LICENSE.*
2013-10-01 08:13:11 +02:00
%files -n libQt5Sql5
%defattr (-,root,root,755)
2014-02-18 16:17:26 +01:00
%doc *.txt LICENSE.*
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
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{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
2013-10-01 08:13:11 +02:00
%defattr (-,root,root,755)
2014-02-18 16:17:26 +01:00
%doc *.txt LICENSE.*
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
2013-10-01 08:13:11 +02:00
%defattr (-,root,root,755)
2014-02-18 16:17:26 +01:00
%doc *.txt LICENSE.*
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
2013-10-01 08:13:11 +02:00
%defattr (-,root,root,755)
2014-02-18 16:17:26 +01:00
%doc *.txt LICENSE.*
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
2013-10-01 08:13:11 +02:00
%defattr (-,root,root,755)
2014-02-18 16:17:26 +01:00
%doc *.txt LICENSE.*
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
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{libqt5_libdir} /libQt5Bootstrap.a
%{libqt5_libdir} /libQt5Bootstrap.prl
2016-05-17 17:06:30 +02:00
#{libqt5_libdir}/pkgconfig/Qt5Bootstrap.pc
2014-02-18 16:17:26 +01:00
%files -n libQt5OpenGLExtensions-devel-static
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{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
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
2015-09-27 08:38:22 +02:00
%{libqt5_libdir} /libQt5XcbQpa.so
%{libqt5_libdir} /libQt5XcbQpa.prl
2017-06-13 16:06:00 +02:00
%{libqt5_libdir} /libQt5AccessibilitySupport.a
%{libqt5_libdir} /libQt5AccessibilitySupport.prl
%{libqt5_libdir} /libQt5DeviceDiscoverySupport.a
%{libqt5_libdir} /libQt5DeviceDiscoverySupport.prl
%{libqt5_libdir} /libQt5EglSupport.a
%{libqt5_libdir} /libQt5EglSupport.prl
%{libqt5_libdir} /libQt5EventDispatcherSupport.a
%{libqt5_libdir} /libQt5EventDispatcherSupport.prl
%{libqt5_libdir} /libQt5FbSupport.a
%{libqt5_libdir} /libQt5FbSupport.prl
%{libqt5_libdir} /libQt5FontDatabaseSupport.a
%{libqt5_libdir} /libQt5FontDatabaseSupport.prl
%ifnarch %arm aarch64
%{libqt5_libdir} /libQt5GlxSupport.a
%{libqt5_libdir} /libQt5GlxSupport.prl
%endif
%{libqt5_libdir} /libQt5InputSupport.a
%{libqt5_libdir} /libQt5InputSupport.prl
%{libqt5_libdir} /libQt5LinuxAccessibilitySupport.a
%{libqt5_libdir} /libQt5LinuxAccessibilitySupport.prl
%{libqt5_libdir} /libQt5PlatformCompositorSupport.a
%{libqt5_libdir} /libQt5PlatformCompositorSupport.prl
%{libqt5_libdir} /libQt5ServiceSupport.a
%{libqt5_libdir} /libQt5ServiceSupport.prl
%{libqt5_libdir} /libQt5ThemeSupport.a
%{libqt5_libdir} /libQt5ThemeSupport.prl
%{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/
%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} /
%files -n libQt5KmsSupport-devel-static
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{libqt5_libdir} /libQt5KmsSupport.a
%{libqt5_libdir} /libQt5KmsSupport.prl
%exclude %{libqt5_includedir} /QtKmsSupport/%{so_version} /
%{libqt5_includedir} /QtKmsSupport/
2014-02-18 16:17:26 +01:00
%files -n libQt5Core-private-headers-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{libqt5_includedir} /QtCore/%{so_version} /
%files -n libQt5DBus-private-headers-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{libqt5_includedir} /QtDBus/%{so_version} /
%files -n libQt5Gui-private-headers-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{libqt5_includedir} /QtGui/%{so_version} /
2017-06-13 16:06:00 +02:00
%{libqt5_includedir} /QtEglFSDeviceIntegration/%{so_version}
%files -n libQt5KmsSupport-private-headers-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{libqt5_includedir} /QtKmsSupport/%{so_version} /
2014-02-18 16:17:26 +01:00
%files -n libQt5Network-private-headers-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{libqt5_includedir} /QtNetwork/%{so_version} /
%files -n libQt5OpenGL-private-headers-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{libqt5_includedir} /QtOpenGL/%{so_version} /
%files -n libQt5PlatformSupport-private-headers-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
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} /
2014-02-18 16:17:26 +01:00
%files -n libQt5PrintSupport-private-headers-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{libqt5_includedir} /QtPrintSupport/%{so_version} /
%files -n libQt5Sql-private-headers-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{libqt5_includedir} /QtSql/%{so_version} /
%files -n libQt5Test-private-headers-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{libqt5_includedir} /QtTest/%{so_version} /
%files -n libQt5Widgets-private-headers-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{libqt5_includedir} /QtWidgets/%{so_version} /
2014-12-21 11:59:22 +01:00
%files -n libQt5PlatformHeaders-devel
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{libqt5_includedir} /QtPlatformHeaders/
2014-03-23 22:32:44 +01:00
%files examples
%defattr (-,root,root,755)
%doc *.txt LICENSE.*
%{libqt5_examplesdir} /
2013-10-01 08:13:11 +02:00
%changelog