2ad9816
# See http://bugzilla.redhat.com/223663
2ad9816
%global multilib_archs x86_64 %{ix86} %{?mips} ppc64 ppc s390x s390 sparc64 sparcv9
2ad9816
%global multilib_basearchs x86_64 %{?mips64} ppc64 s390x sparc64
2ad9816
ac2c26d
%ifarch s390x ppc64le aarch64 armv7hl
ac2c26d
%global no_sse2  1
ac2c26d
%endif
ac2c26d
ac2c26d
%if 0%{?rhel} && 0%{?rhel} < 9
2ad9816
%ifarch %{ix86}
2ad9816
%global no_sse2  1
2ad9816
%endif
2ad9816
%endif
2ad9816
2ad9816
%global platform linux-g++
2ad9816
2ad9816
%if 0%{?use_clang}
2ad9816
%global platform linux-clang
2ad9816
%endif
2ad9816
2ad9816
%global qt_module qtbase
2ad9816
2ad9816
# use external qt_settings pkg
2ad9816
%if 0%{?fedora}
2ad9816
%global qt_settings 1
2ad9816
%endif
2ad9816
2ad9816
%global journald 1
2ad9816
BuildRequires: pkgconfig(libsystemd)
2ad9816
2ad9816
%global examples 1
2ad9816
## skip for now, until we're better at it --rex
2ad9816
#global tests 1
2ad9816
cd8c559
#global unstable 0
ae8453a
%global prerelease rc2
ccaa919
2ad9816
Name:    qt6-qtbase
2ad9816
Summary: Qt6 - QtBase components
a0b5aa0
Version: 6.6.0
469e3a8
Release: 6%{?dist}
2ad9816
43952a8
License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0
2ad9816
Url:     http://qt-project.org/
2ad9816
%global  majmin %(echo %{version} | cut -d. -f1-2)
ccaa919
%global  qt_version %(echo %{version} | cut -d~ -f1)
ccaa919
cd8c559
%if 0%{?unstable}
ccaa919
Source0: https://download.qt.io/development_releases/qt/%{majmin}/%{qt_version}/submodules/%{qt_module}-everywhere-src-%{qt_version}-%{prerelease}.tar.xz
ccaa919
%else
2ad9816
Source0: https://download.qt.io/official_releases/qt/%{majmin}/%{version}/submodules/%{qt_module}-everywhere-src-%{version}.tar.xz
ccaa919
%endif
2ad9816
2ad9816
# https://bugzilla.redhat.com/show_bug.cgi?id=1227295
2ad9816
Source1: qtlogging.ini
2ad9816
2ad9816
# header file to workaround multilib issue
2ad9816
# https://bugzilla.redhat.com/show_bug.cgi?id=1036956
2ad9816
Source5: qconfig-multilib.h
2ad9816
2ad9816
# xinitrc script to check for OpenGL 1 only drivers and automatically set
2ad9816
# QT_XCB_FORCE_SOFTWARE_OPENGL for them
2ad9816
Source6: 10-qt6-check-opengl2.sh
2ad9816
2ad9816
# macros
2ad9816
Source10: macros.qt6-qtbase
2ad9816
3aeb3c6
Patch1: qtbase-tell-the-truth-about-private-API.patch
ca477f4
Patch2: qtbase-CMake-Install-objects-files-into-ARCHDATADIR.patch
2ad9816
2ad9816
# upstreamable patches
2ad9816
# namespace QT_VERSION_CHECK to workaround major/minor being pre-defined (#1396755)
2ad9816
Patch50: qtbase-version-check.patch
2ad9816
2ad9816
# 1. Workaround moc/multilib issues
2ad9816
# https://bugzilla.redhat.com/show_bug.cgi?id=1290020
2ad9816
# https://bugreports.qt.io/browse/QTBUG-49972
2ad9816
# 2. Workaround sysmacros.h (pre)defining major/minor a breaking stuff
2ad9816
Patch51: qtbase-moc-macros.patch
2ad9816
2ad9816
# drop -O3 and make -O2 by default
2ad9816
Patch54: qtbase-cxxflag.patch
2ad9816
2ad9816
# fix for new mariadb
2ad9816
Patch56: qtbase-mysql.patch
2ad9816
33ae18f
# fix FTBFS against libglvnd-1.3.4+
33ae18f
Patch58: qtbase-libglvnd.patch
2ad9816
a0b5aa0
# fix FTBS against libxkbcommon 1.6.0
a0b5aa0
Patch59: qtbase-libxkbcommon-1.6.0.patch
a0b5aa0
a44bfe9
# Bug 1954359 - Many emoji don't show up in Qt apps because qt does not handle 'emoji' font family
469e3a8
# FIXME: this change seems to completely break font rendering for some people
469e3a8
# Patch60: qtbase-cache-emoji-font.patch
2ad9816
fed7db1
%if 0%{?fedora} < 39
fed7db1
# Latest QGnomePlatform needs to be specified to be used
fed7db1
Patch100: qtbase-use-qgnomeplatform-as-default-platform-theme-on-gnome.patch
fed7db1
%endif
fed7db1
2ad9816
## upstream patches
a19a7d3
Patch200: qtbase-a11y-fix-race-condition-on-atspi-startup-on-wayland.patch
bd9759b
2ad9816
# Do not check any files in %%{_qt6_plugindir}/platformthemes/ for requires.
2ad9816
# Those themes are there for platform integration. If the required libraries are
2ad9816
# not there, the platform to integrate with isn't either. Then Qt will just
2ad9816
# silently ignore the plugin that fails to load. Thus, there is no need to let
2ad9816
# RPM drag in gtk3 as a dependency for the GTK+3 dialog support.
2ad9816
%global __requires_exclude_from ^%{_qt6_plugindir}/platformthemes/.*$
2ad9816
# filter plugin provides
2ad9816
%global __provides_exclude_from ^%{_qt6_plugindir}/.*\\.so$
2ad9816
2ad9816
%if 0%{?use_clang}
2ad9816
BuildRequires: clang >= 6.0.0
2ad9816
%else
2ad9816
BuildRequires: gcc-c++
2ad9816
%endif
2ad9816
BuildRequires: cmake
2ad9816
BuildRequires: ninja-build
2ad9816
BuildRequires: cups-devel
2ad9816
BuildRequires: desktop-file-utils
2ad9816
BuildRequires: findutils
2ad9816
BuildRequires: double-conversion-devel
7f9c50e
%if 0%{?fedora} || 0%{?epel}
2ad9816
BuildRequires: libb2-devel
7f9c50e
%else
7f9c50e
Provides:      bundled(libb2)
7f9c50e
%endif
2ad9816
BuildRequires: libjpeg-devel
2ad9816
BuildRequires: libmng-devel
2ad9816
BuildRequires: libtiff-devel
4dccb8d
BuildRequires: libzstd-devel
6a5e0a5
BuildRequires: mtdev-devel
66655b0
%if 0%{?fedora} || 0%{?epel}
2ad9816
BuildRequires: tslib-devel
66655b0
%endif
2ad9816
BuildRequires: pkgconfig(alsa)
2ad9816
# required for -accessibility
2ad9816
BuildRequires: pkgconfig(atspi-2)
2ad9816
# http://bugzilla.redhat.com/1196359
2ad9816
%global dbus_linked 1
2ad9816
BuildRequires: pkgconfig(dbus-1)
2ad9816
BuildRequires: pkgconfig(libdrm)
2ad9816
BuildRequires: pkgconfig(fontconfig)
2ad9816
BuildRequires: pkgconfig(gl)
2ad9816
BuildRequires: pkgconfig(glib-2.0)
2ad9816
BuildRequires: pkgconfig(gtk+-3.0)
2ad9816
BuildRequires: pkgconfig(libproxy-1.0)
6a5e0a5
BuildRequires: pkgconfig(libsctp)
2ad9816
# xcb-sm
2ad9816
BuildRequires: pkgconfig(ice) pkgconfig(sm)
2ad9816
BuildRequires: pkgconfig(libpng)
2ad9816
BuildRequires: pkgconfig(libudev)
2ad9816
BuildRequires: openssl-devel
2ad9816
BuildRequires: pkgconfig(libpulse) pkgconfig(libpulse-mainloop-glib)
2ad9816
BuildRequires: pkgconfig(libinput)
2ad9816
BuildRequires: pkgconfig(xcb-xkb) >= 1.10
2ad9816
BuildRequires: pkgconfig(xcb-util)
2ad9816
BuildRequires: pkgconfig(xkbcommon) >= 0.4.1
2ad9816
BuildRequires: pkgconfig(xkbcommon-x11) >= 0.4.1
2ad9816
BuildRequires: pkgconfig(xkeyboard-config)
2ad9816
%global vulkan 1
2ad9816
BuildRequires: pkgconfig(vulkan)
2ad9816
%global egl 1
ccaa919
BuildRequires: mesa-libEGL-devel
ccaa919
BuildRequires: pkgconfig(egl)
2ad9816
BuildRequires: pkgconfig(gbm)
ccaa919
BuildRequires: pkgconfig(libglvnd)
ccaa919
BuildRequires: pkgconfig(x11)
6a5e0a5
# only needed for GLES2 and GLES3 builds
6a5e0a5
#BuildRequires: pkgconfig(glesv2)
ccaa919
2ad9816
%global sqlite 1
2ad9816
BuildRequires: pkgconfig(sqlite3) >= 3.7
2ad9816
BuildRequires: pkgconfig(harfbuzz) >= 0.9.42
2ad9816
BuildRequires: pkgconfig(icu-i18n)
8abd8fe
BuildRequires: pkgconfig(libpcre2-16) >= 10.20
2ad9816
%global pcre 1
2ad9816
BuildRequires: pkgconfig(xcb-xkb)
6a5e0a5
BuildRequires: pkgconfig(xcb) pkgconfig(xcb-glx) pkgconfig(xcb-icccm) pkgconfig(xcb-image) pkgconfig(xcb-keysyms) pkgconfig(xcb-renderutil) pkgconfig(xcb-cursor)
2ad9816
BuildRequires: pkgconfig(zlib)
2ad9816
BuildRequires: perl
2ad9816
BuildRequires: perl-generators
2ad9816
# see patch68
2ad9816
BuildRequires: python3
2ad9816
BuildRequires: qt6-rpm-macros
2ad9816
2ad9816
%if 0%{?tests}
2ad9816
BuildRequires: dbus-x11
2ad9816
BuildRequires: mesa-dri-drivers
2ad9816
BuildRequires: time
2ad9816
BuildRequires: xorg-x11-server-Xvfb
2ad9816
%endif
2ad9816
2ad9816
Requires: %{name}-common = %{version}-%{release}
2ad9816
2ad9816
## Sql drivers
6a5e0a5
%if 0%{?fedora} || 0%{?epel}
6a5e0a5
%global ibase 1
6a5e0a5
%endif
6a5e0a5
	
2ad9816
2ad9816
%description
2ad9816
Qt is a software toolkit for developing applications.
2ad9816
2ad9816
This package contains base tools, like string, xml, and network
2ad9816
handling.
2ad9816
2ad9816
%package common
2ad9816
Summary: Common files for Qt6
2ad9816
Requires: %{name} = %{version}-%{release}
2ad9816
BuildArch: noarch
2ad9816
%description common
2ad9816
%{summary}.
2ad9816
2ad9816
%package devel
2ad9816
Summary: Development files for %{name}
2ad9816
Requires: %{name}%{?_isa} = %{version}-%{release}
2ad9816
Requires: %{name}-gui%{?_isa}
2ad9816
%if 0%{?egl}
2ad9816
Requires: libEGL-devel
2ad9816
%endif
2ad9816
Requires: pkgconfig(gl)
2ad9816
%if 0%{?vulkan}
2ad9816
Requires: pkgconfig(vulkan)
2ad9816
%endif
2ad9816
Requires: qt6-rpm-macros
2ad9816
%if 0%{?use_clang}
2ad9816
Requires: clang >= 3.7.0
2ad9816
%endif
6a5e0a5
%if 0%{?ibase}
2dae87e
Requires: %{name}-ibase%{?_isa} = %{version}-%{release}
2dae87e
%endif
2dae87e
Requires: %{name}-mysql%{?_isa} = %{version}-%{release}
2dae87e
Requires: %{name}-odbc%{?_isa} = %{version}-%{release}
2dae87e
Requires: %{name}-postgresql%{?_isa} = %{version}-%{release}
2ad9816
%description devel
2ad9816
%{summary}.
2ad9816
2ad9816
%package private-devel
2ad9816
Summary: Development files for %{name} private APIs
2ad9816
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
2ad9816
# QtPrintSupport/private requires cups/ppd.h
2ad9816
Requires: cups-devel
2ad9816
%description private-devel
2ad9816
%{summary}.
2ad9816
2ad9816
%package examples
2ad9816
Summary: Programming examples for %{name}
2ad9816
Requires: %{name}%{?_isa} = %{version}-%{release}
2ad9816
2ad9816
%description examples
2ad9816
%{summary}.
2ad9816
2ad9816
%package static
2ad9816
Summary: Static library files for %{name}
2ad9816
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
2ad9816
Requires: pkgconfig(fontconfig)
2ad9816
Requires: pkgconfig(glib-2.0)
2ad9816
Requires: pkgconfig(libinput)
2ad9816
Requires: pkgconfig(xkbcommon)
2ad9816
Requires: pkgconfig(zlib)
2ad9816
2ad9816
%description static
2ad9816
%{summary}.
2ad9816
6a5e0a5
%if 0%{?ibase}
2ad9816
%package ibase
2ad9816
Summary: IBase driver for Qt6's SQL classes
2ad9816
BuildRequires: firebird-devel
2ad9816
Requires: %{name}%{?_isa} = %{version}-%{release}
2ad9816
%description ibase
2ad9816
%{summary}.
2ad9816
%endif
2ad9816
2ad9816
%package mysql
2ad9816
Summary: MySQL driver for Qt6's SQL classes
2ad9816
%if 0%{?fedora} > 27 || 0%{?rhel} > 8
2ad9816
BuildRequires: mariadb-connector-c-devel
2ad9816
%else
2ad9816
BuildRequires: mysql-devel
2ad9816
%endif
2ad9816
Requires: %{name}%{?_isa} = %{version}-%{release}
2ad9816
%description mysql
2ad9816
%{summary}.
2ad9816
2ad9816
%package odbc
2ad9816
Summary: ODBC driver for Qt6's SQL classes
2ad9816
BuildRequires: unixODBC-devel
2ad9816
Requires: %{name}%{?_isa} = %{version}-%{release}
2ad9816
%description odbc
2ad9816
%{summary}.
2ad9816
2ad9816
%package postgresql
2ad9816
Summary: PostgreSQL driver for Qt6's SQL classes
3614026
BuildRequires: libpq-devel
2ad9816
Requires: %{name}%{?_isa} = %{version}-%{release}
2ad9816
%description postgresql
2ad9816
%{summary}.
2ad9816
2ad9816
# debating whether to do 1 subpkg per library or not -- rex
2ad9816
%package gui
2ad9816
Summary: Qt6 GUI-related libraries
2ad9816
Requires: %{name}%{?_isa} = %{version}-%{release}
d130b7b
Recommends: mesa-dri-drivers%{?_isa}
d130b7b
Recommends: qt6-qtwayland%{?_isa}
2ad9816
# for Source6: 10-qt6-check-opengl2.sh:
2ad9816
# glxinfo
2ad9816
Requires: glx-utils
2ad9816
%description gui
2ad9816
Qt6 libraries used for drawing widgets and OpenGL items.
2ad9816
2ad9816
2ad9816
%prep
ccaa919
%autosetup -n %{qt_module}-everywhere-src-%{qt_version}%{?unstable:-%{prerelease}} -p1
2ad9816
2ad9816
# move some bundled libs to ensure they're not accidentally used
2ad9816
pushd src/3rdparty
2ad9816
mkdir UNUSED
1b784de
mv harfbuzz-ng freetype libjpeg libpng sqlite zlib UNUSED/
2ad9816
popd
2ad9816
2ad9816
# builds failing mysteriously on f20
2ad9816
# ./configure: Permission denied
2ad9816
# check to ensure that can't happen -- rex
2ad9816
test -x configure || chmod +x configure
2ad9816
2ad9816
2ad9816
%build
2ad9816
# QT is known not to work properly with LTO at this point.  Some of the issues
2ad9816
# are being worked on upstream and disabling LTO should be re-evaluated as
2ad9816
# we update this change.  Until such time...
2ad9816
# Disable LTO
2ad9816
# https://bugzilla.redhat.com/1900527
2ad9816
%define _lto_cflags %{nil}
2ad9816
2ad9816
## FIXME/TODO:
2ad9816
# * for %%ix86, add sse2 enabled builds for Qt6Gui, Qt6Core, QtNetwork, see also:
2ad9816
#   http://anonscm.debian.org/cgit/pkg-kde/qt/qtbase.git/tree/debian/rules (234-249)
2ad9816
2ad9816
## adjust $RPM_OPT_FLAGS
2ad9816
# remove -fexceptions
2ad9816
RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fexceptions||g'`
2ad9816
RPM_OPT_FLAGS="$RPM_OPT_FLAGS %{?qt6_arm_flag} %{?qt6_deprecated_flag} %{?qt6_null_flag}"
2ad9816
2ad9816
%if 0%{?use_clang}
2ad9816
RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's|-fno-delete-null-pointer-checks||g'`
2ad9816
%endif
2ad9816
2ad9816
export CFLAGS="$CFLAGS $RPM_OPT_FLAGS"
2ad9816
export CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS"
2ad9816
export LDFLAGS="$LDFLAGS $RPM_LD_FLAGS"
2ad9816
export MAKEFLAGS="%{?_smp_mflags}"
2ad9816
2ad9816
%cmake_qt6 \
2ad9816
 -DQT_FEATURE_accessibility=ON \
2ad9816
 -DQT_FEATURE_fontconfig=ON \
2ad9816
 -DQT_FEATURE_glib=ON \
2ad9816
 -DQT_FEATURE_sse2=%{?no_sse2:OFF}%{!?no_sse2:ON} \
2ad9816
 -DQT_FEATURE_icu=ON \
2ad9816
 -DQT_FEATURE_enable_new_dtags=ON \
2ad9816
 -DQT_FEATURE_journald=%{?journald:ON}%{!?journald:OFF} \
2ad9816
 -DQT_FEATURE_openssl_linked=ON \
a0b5aa0
 -DQT_FEATURE_openssl_hash=ON \
6a5e0a5
 -DQT_FEATURE_libproxy=ON \
6a5e0a5
 -DQT_FEATURE_sctp=ON \
2ad9816
 -DQT_FEATURE_separate_debug_info=OFF \
2ad9816
 -DQT_FEATURE_reduce_relocations=OFF \
2ad9816
 -DQT_FEATURE_relocatable=OFF \
2ad9816
 -DQT_FEATURE_system_jpeg=ON \
2ad9816
 -DQT_FEATURE_system_png=ON \
2ad9816
 -DQT_FEATURE_system_zlib=ON \
6a5e0a5
 %{?ibase:-DQT_FEATURE_sql_ibase=ON} \
2ad9816
 -DQT_FEATURE_sql_odbc=ON \
2ad9816
 -DQT_FEATURE_sql_mysql=ON \
2ad9816
 -DQT_FEATURE_sql_psql=ON \
2ad9816
 -DQT_FEATURE_sql_sqlite=ON \
883f4b7
 -DQT_FEATURE_rpath=OFF \
4dccb8d
 -DQT_FEATURE_zstd=ON \
2ad9816
 %{?dbus_linked:-DQT_FEATURE_dbus_linked=ON} \
2ad9816
 %{?pcre:-DQT_FEATURE_system_pcre2=ON} \
2ad9816
 %{?sqlite:-DQT_FEATURE_system_sqlite=ON} \
2ad9816
 -DBUILD_SHARED_LIBS=ON \
2ad9816
 -DQT_BUILD_EXAMPLES=%{?examples:ON}%{!?examples:OFF} \
2ad9816
 -DQT_BUILD_TESTS=%{?tests:ON}%{!?tests:OFF} \
2ad9816
 -DQT_QMAKE_TARGET_MKSPEC=%{platform}
2ad9816
2ad9816
# FIXME
2ad9816
#  -DQT_FEATURE_directfb=ON \
2ad9816
2ad9816
%cmake_build
2ad9816
2ad9816
2ad9816
%install
2ad9816
%cmake_install
2ad9816
2ad9816
install -m644 -p -D %{SOURCE1} %{buildroot}%{_qt6_datadir}/qtlogging.ini
2ad9816
2ad9816
# Qt6.pc
2ad9816
mkdir -p %{buildroot}%{_libdir}/pkgconfig
2ad9816
cat << EOF > %{buildroot}%{_libdir}/pkgconfig/Qt6.pc
2ad9816
prefix=%{_qt6_prefix}
2ad9816
archdatadir=%{_qt6_archdatadir}
2ad9816
bindir=%{_qt6_bindir}
2ad9816
datadir=%{_qt6_datadir}
2ad9816
2ad9816
docdir=%{_qt6_docdir}
2ad9816
examplesdir=%{_qt6_examplesdir}
2ad9816
headerdir=%{_qt6_headerdir}
2ad9816
importdir=%{_qt6_importdir}
2ad9816
libdir=%{_qt6_libdir}
2ad9816
libexecdir=%{_qt6_libexecdir}
e1c0e0a
moc=%{_qt6_libexecdir}/moc
2ad9816
plugindir=%{_qt6_plugindir}
2ad9816
qmake=%{_qt6_bindir}/qmake
2ad9816
settingsdir=%{_qt6_settingsdir}
2ad9816
sysconfdir=%{_qt6_sysconfdir}
2ad9816
translationdir=%{_qt6_translationdir}
2ad9816
2ad9816
Name: Qt6
2ad9816
Description: Qt6 Configuration
a0b5aa0
Version: 6.6.0
2ad9816
EOF
2ad9816
2ad9816
# rpm macros
2ad9816
install -p -m644 -D %{SOURCE10} \
2ad9816
  %{buildroot}%{_rpmmacrodir}/macros.qt6-qtbase
2ad9816
sed -i \
2ad9816
  -e "s|@@NAME@@|%{name}|g" \
2ad9816
  -e "s|@@EPOCH@@|%{?epoch}%{!?epoch:0}|g" \
2ad9816
  -e "s|@@VERSION@@|%{version}|g" \
2ad9816
  -e "s|@@EVR@@|%{?epoch:%{epoch:}}%{version}-%{release}|g" \
e7b10a0
  %{buildroot}%{_rpmmacrodir}/macros.qt6-qtbase
2ad9816
2ad9816
# create/own dirs
2ad9816
mkdir -p %{buildroot}{%{_qt6_archdatadir}/mkspecs/modules,%{_qt6_importdir},%{_qt6_libexecdir},%{_qt6_plugindir}/{designer,iconengines,script,styles},%{_qt6_translationdir}}
2ad9816
mkdir -p %{buildroot}%{_sysconfdir}/xdg/QtProject
2ad9816
2ad9816
# hardlink files to {_bindir}, add -qt6 postfix to not conflict
2ad9816
mkdir %{buildroot}%{_bindir}
2ad9816
pushd %{buildroot}%{_qt6_bindir}
2ad9816
for i in * ; do
2ad9816
  case "${i}" in
f4d634a
    qdbuscpp2xml|qdbusxml2cpp|qtpaths)
2ad9816
      ln -v  ${i} %{buildroot}%{_bindir}/${i}-qt6
2ad9816
      ;;
2ad9816
    *)
2ad9816
      ln -v  ${i} %{buildroot}%{_bindir}/${i}
2ad9816
      ;;
2ad9816
  esac
2ad9816
done
2ad9816
popd
2ad9816
75100dc
2ad9816
%ifarch %{multilib_archs}
2ad9816
# multilib: qconfig.h
2ad9816
  mv %{buildroot}%{_qt6_headerdir}/QtCore/qconfig.h %{buildroot}%{_qt6_headerdir}/QtCore/qconfig-%{__isa_bits}.h
2ad9816
  install -p -m644 -D %{SOURCE5} %{buildroot}%{_qt6_headerdir}/QtCore/qconfig.h
2ad9816
%endif
2ad9816
2ad9816
2ad9816
## .prl/.la file love
2ad9816
# nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs
2ad9816
pushd %{buildroot}%{_qt6_libdir}
2ad9816
for prl_file in libQt6*.prl ; do
2ad9816
  sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" ${prl_file}
2ad9816
  if [ -f "$(basename ${prl_file} .prl).so" ]; then
2ad9816
    rm -fv "$(basename ${prl_file} .prl).la"
2ad9816
    sed -i -e "/^QMAKE_PRL_LIBS/d" ${prl_file}
2ad9816
  fi
2ad9816
done
2ad9816
popd
2ad9816
2ad9816
install -p -m755 -D %{SOURCE6} %{buildroot}%{_sysconfdir}/X11/xinit/xinitrc.d/10-qt6-check-opengl2.sh
2ad9816
2ad9816
# install privat headers for qtxcb
2ad9816
mkdir -p %{buildroot}%{_qt6_headerdir}/QtXcb
2ad9816
install -m 644 src/plugins/platforms/xcb/*.h %{buildroot}%{_qt6_headerdir}/QtXcb/
2ad9816
d932499
rm %{buildroot}/%{_qt6_libexecdir}/qt-cmake-private-install.cmake
2ad9816
44ce45a
# Use better location for some new scripts in qtbase-6.0.1
be61e8b
mv %{buildroot}/%{_qt6_libexecdir}/ensure_pro_file.cmake %{buildroot}/%{_qt6_libdir}/cmake/Qt6/ensure_pro_file.cmake
44ce45a
2ad9816
%check
2ad9816
# verify Qt6.pc
2ad9816
export PKG_CONFIG_PATH=%{buildroot}%{_libdir}/pkgconfig
ffea666
test "$(pkg-config --modversion Qt6)" = "%{qt_version}"
2ad9816
%if 0%{?tests}
2ad9816
## see tests/README for expected environment (running a plasma session essentially)
2ad9816
## we are not quite there yet
2ad9816
export CTEST_OUTPUT_ON_FAILURE=1
2ad9816
export PATH=%{buildroot}%{_qt6_bindir}:$PATH
2ad9816
export LD_LIBRARY_PATH=%{buildroot}%{_qt6_libdir}
2ad9816
# dbus tests error out when building if session bus is not available
2ad9816
dbus-launch --exit-with-session \
2ad9816
%make_build sub-tests  -k ||:
2ad9816
xvfb-run -a --server-args="-screen 0 1280x1024x32" \
2ad9816
dbus-launch --exit-with-session \
2ad9816
time \
2ad9816
make check -k ||:
2ad9816
%endif
2ad9816
2ad9816
%ldconfig_scriptlets
2ad9816
2ad9816
%files
752eade
%license LICENSES/GPL*
752eade
%license LICENSES/LGPL*
2ad9816
%dir %{_sysconfdir}/xdg/QtProject/
2ad9816
%{_qt6_libdir}/libQt6Concurrent.so.6*
2ad9816
%{_qt6_libdir}/libQt6Core.so.6*
2ad9816
%{_qt6_libdir}/libQt6DBus.so.6*
2ad9816
%{_qt6_libdir}/libQt6Network.so.6*
2ad9816
%{_qt6_libdir}/libQt6Sql.so.6*
2ad9816
%{_qt6_libdir}/libQt6Test.so.6*
2ad9816
%{_qt6_libdir}/libQt6Xml.so.6*
2ad9816
%dir %{_qt6_docdir}/
2ad9816
%{_qt6_docdir}/global/
2ad9816
%{_qt6_docdir}/config/
2ad9816
%{_qt6_importdir}/
2ad9816
%{_qt6_translationdir}/
2ad9816
%if "%{_qt6_prefix}" != "%{_prefix}"
2ad9816
%dir %{_qt6_prefix}/
2ad9816
%endif
2ad9816
%dir %{_qt6_archdatadir}/
2ad9816
%dir %{_qt6_datadir}/
2ad9816
%{_qt6_datadir}/qtlogging.ini
2ad9816
%dir %{_qt6_libexecdir}/
2ad9816
%dir %{_qt6_plugindir}/
2ad9816
%dir %{_qt6_plugindir}/designer/
2ad9816
%dir %{_qt6_plugindir}/generic/
2ad9816
%dir %{_qt6_plugindir}/iconengines/
2ad9816
%dir %{_qt6_plugindir}/imageformats/
2ad9816
%dir %{_qt6_plugindir}/platforminputcontexts/
2ad9816
%dir %{_qt6_plugindir}/platforms/
2ad9816
%dir %{_qt6_plugindir}/platformthemes/
2ad9816
%dir %{_qt6_plugindir}/printsupport/
2ad9816
%dir %{_qt6_plugindir}/script/
2ad9816
%dir %{_qt6_plugindir}/sqldrivers/
2ad9816
%dir %{_qt6_plugindir}/styles/
1b784de
%{_qt6_plugindir}/networkinformation/libqglib.so
ffea666
%{_qt6_plugindir}/networkinformation/libqnetworkmanager.so
2ad9816
%{_qt6_plugindir}/sqldrivers/libqsqlite.so
ffea666
%{_qt6_plugindir}/tls/libqcertonlybackend.so
ffea666
%{_qt6_plugindir}/tls/libqopensslbackend.so
2ad9816
2ad9816
%files common
2ad9816
# mostly empty for now, consider: filesystem/dir ownership, licenses
2ad9816
%{_rpmmacrodir}/macros.qt6-qtbase
2ad9816
2ad9816
%files devel
d932499
%dir %{_qt6_libdir}/qt6/modules
d932499
%dir %{_qt6_libdir}/qt6/metatypes
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6
c3b5325
%dir %{_qt6_libdir}/cmake/Qt6/platforms
c3b5325
%dir %{_qt6_libdir}/cmake/Qt6/platforms/Platform
c3b5325
%dir %{_qt6_libdir}/cmake/Qt6/config.tests
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6/3rdparty/extra-cmake-modules
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6/3rdparty/kwin
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6BuildInternals
c3b5325
%dir %{_qt6_libdir}/cmake/Qt6BuildInternals/StandaloneTests
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6Concurrent
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6Core
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6CoreTools
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6DBus
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6DBusTools
ccaa919
%dir %{_qt6_libdir}/cmake/Qt6DeviceDiscoverySupportPrivate
ccaa919
%dir %{_qt6_libdir}/cmake/Qt6EglFSDeviceIntegrationPrivate
ccaa919
%dir %{_qt6_libdir}/cmake/Qt6EglFsKmsGbmSupportPrivate
ccaa919
%dir %{_qt6_libdir}/cmake/Qt6EglFsKmsSupportPrivate
43d3919
%dir %{_qt6_libdir}/cmake/Qt6ExampleIconsPrivate
ccaa919
%dir %{_qt6_libdir}/cmake/Qt6FbSupportPrivate
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6Gui
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6GuiTools
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6HostInfo
ccaa919
%dir %{_qt6_libdir}/cmake/Qt6KmsSupportPrivate
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6Network
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6OpenGL
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6OpenGLWidgets
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6PrintSupport
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6Sql
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6Test
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6Widgets
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6WidgetsTools
2ad9816
%dir %{_qt6_libdir}/cmake/Qt6Xml
2ad9816
%if "%{_qt6_bindir}" != "%{_bindir}"
2ad9816
%dir %{_qt6_bindir}
2ad9816
%endif
2ad9816
%{_bindir}/androiddeployqt
d932499
%{_bindir}/androiddeployqt6
2ad9816
%{_bindir}/androidtestrunner
2ad9816
%{_bindir}/qdbuscpp2xml*
2ad9816
%{_bindir}/qdbusxml2cpp*
2ad9816
%{_bindir}/qmake*
ccaa919
%{_bindir}/qtpaths*
2ad9816
%{_bindir}/qt-cmake
a0b5aa0
%{_bindir}/qt-cmake-create
2ad9816
%{_bindir}/qt-configure-module
75100dc
%{_libdir}/qt6/bin/qmake6
2ad9816
%{_qt6_bindir}/androiddeployqt
d932499
%{_qt6_bindir}/androiddeployqt6
2ad9816
%{_qt6_bindir}/androidtestrunner
2ad9816
%{_qt6_bindir}/qdbuscpp2xml
2ad9816
%{_qt6_bindir}/qdbusxml2cpp
2ad9816
%{_qt6_bindir}/qmake
ccaa919
%{_qt6_bindir}/qtpaths*
2ad9816
%{_qt6_bindir}/qt-cmake
a0b5aa0
%{_qt6_bindir}/qt-cmake-create
2ad9816
%{_qt6_bindir}/qt-configure-module
d932499
%{_qt6_libexecdir}/qt-cmake-private
d932499
%{_qt6_libexecdir}/qt-cmake-standalone-test
be61e8b
%{_qt6_libexecdir}/cmake_automoc_parser
be61e8b
%{_qt6_libexecdir}/qt-internal-configure-tests
d932499
%{_qt6_libexecdir}/sanitizer-testrunner.py
d932499
%{_qt6_libexecdir}/syncqt
be61e8b
%{_qt6_libexecdir}/android_emulator_launcher.sh
be61e8b
%{_qt6_libexecdir}/moc
39c645f
%{_qt6_libexecdir}/tracegen
d932499
%{_qt6_libexecdir}/tracepointgen
be61e8b
%{_qt6_libexecdir}/qlalr
be61e8b
%{_qt6_libexecdir}/qvkgen
be61e8b
%{_qt6_libexecdir}/rcc
be61e8b
%{_qt6_libexecdir}/uic
39c645f
%{_qt6_libexecdir}/qt-testrunner.py
d932499
%{_qt6_libdir}/qt6/modules/*.json
2ad9816
%if "%{_qt6_headerdir}" != "%{_includedir}"
2ad9816
%dir %{_qt6_headerdir}
2ad9816
%endif
2ad9816
%{_qt6_headerdir}/QtConcurrent/
2ad9816
%{_qt6_headerdir}/QtCore/
2ad9816
%{_qt6_headerdir}/QtDBus/
2ad9816
%{_qt6_headerdir}/QtInputSupport
43d3919
%{_qt6_headerdir}/QtExampleIcons
2ad9816
%{_qt6_headerdir}/QtGui/
2ad9816
%{_qt6_headerdir}/QtNetwork/
2ad9816
%{_qt6_headerdir}/QtOpenGL/
2ad9816
%{_qt6_headerdir}/QtOpenGLWidgets
2ad9816
%{_qt6_headerdir}/QtPrintSupport/
2ad9816
%{_qt6_headerdir}/QtSql/
2ad9816
%{_qt6_headerdir}/QtTest/
2ad9816
%{_qt6_headerdir}/QtWidgets/
2ad9816
%{_qt6_headerdir}/QtXcb/
2ad9816
%{_qt6_headerdir}/QtXml/
2ad9816
%{_qt6_headerdir}/QtEglFSDeviceIntegration
2ad9816
%{_qt6_headerdir}/QtEglFsKmsGbmSupport
2ad9816
%{_qt6_headerdir}/QtEglFsKmsSupport
2ad9816
%{_qt6_mkspecsdir}/
2ad9816
%{_qt6_libdir}/libQt6Concurrent.prl
2ad9816
%{_qt6_libdir}/libQt6Concurrent.so
2ad9816
%{_qt6_libdir}/libQt6Core.prl
2ad9816
%{_qt6_libdir}/libQt6Core.so
2ad9816
%{_qt6_libdir}/libQt6DBus.prl
2ad9816
%{_qt6_libdir}/libQt6DBus.so
2ad9816
%{_qt6_libdir}/libQt6Gui.prl
2ad9816
%{_qt6_libdir}/libQt6Gui.so
2ad9816
%{_qt6_libdir}/libQt6Network.prl
2ad9816
%{_qt6_libdir}/libQt6Network.so
2ad9816
%{_qt6_libdir}/libQt6OpenGL.prl
2ad9816
%{_qt6_libdir}/libQt6OpenGL.so
2ad9816
%{_qt6_libdir}/libQt6OpenGLWidgets.prl
2ad9816
%{_qt6_libdir}/libQt6OpenGLWidgets.so
2ad9816
%{_qt6_libdir}/libQt6PrintSupport.prl
2ad9816
%{_qt6_libdir}/libQt6PrintSupport.so
2ad9816
%{_qt6_libdir}/libQt6Sql.prl
2ad9816
%{_qt6_libdir}/libQt6Sql.so
2ad9816
%{_qt6_libdir}/libQt6Test.prl
2ad9816
%{_qt6_libdir}/libQt6Test.so
2ad9816
%{_qt6_libdir}/libQt6Widgets.prl
2ad9816
%{_qt6_libdir}/libQt6Widgets.so
6a5e0a5
%{_qt6_libdir}/libQt6XcbQpa.prl
6a5e0a5
%{_qt6_libdir}/libQt6XcbQpa.so 
2ad9816
%{_qt6_libdir}/libQt6Xml.prl
2ad9816
%{_qt6_libdir}/libQt6Xml.so
2ad9816
%{_qt6_libdir}/libQt6EglFSDeviceIntegration.prl
2ad9816
%{_qt6_libdir}/libQt6EglFSDeviceIntegration.so
2ad9816
%{_qt6_libdir}/libQt6EglFsKmsGbmSupport.prl
2ad9816
%{_qt6_libdir}/libQt6EglFsKmsGbmSupport.so
1b784de
%{_qt6_libdir}/cmake/Qt6/*.h.in
2ad9816
%{_qt6_libdir}/cmake/Qt6/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6/*.cmake.in
39c645f
%{_qt6_libdir}/cmake/Qt6/PkgConfigLibrary.pc.in
0317c6f
%{_qt6_libdir}/cmake/Qt6/config.tests/*
39c645f
%{_qt6_libdir}/cmake/Qt6/libexec/*
39c645f
%{_qt6_libdir}/cmake/Qt6/platforms/*.cmake
33ae18f
%{_qt6_libdir}/cmake/Qt6/platforms/Platform/*.cmake
d932499
%{_qt6_libdir}/cmake/Qt6/qbatchedtestrunner.in.cpp
2ad9816
%{_qt6_libdir}/cmake/Qt6/ModuleDescription.json.in
2ad9816
%{_qt6_libdir}/cmake/Qt6/QtFileConfigure.txt.in
d932499
%{_qt6_libdir}/cmake/Qt6/QtConfigureTimeExecutableCMakeLists.txt.in
2ad9816
%{_qt6_libdir}/cmake/Qt6/QtSeparateDebugInfo.Info.plist.in
2ad9816
%{_qt6_libdir}/cmake/Qt6/3rdparty/extra-cmake-modules/COPYING-CMAKE-SCRIPTS
2ad9816
%{_qt6_libdir}/cmake/Qt6/3rdparty/extra-cmake-modules/find-modules/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6/3rdparty/extra-cmake-modules/modules/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6/3rdparty/extra-cmake-modules/qt_attribution.json
2ad9816
%{_qt6_libdir}/cmake/Qt6/3rdparty/kwin/COPYING-CMAKE-SCRIPTS
2ad9816
%{_qt6_libdir}/cmake/Qt6/3rdparty/kwin/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6/3rdparty/kwin/qt_attribution.json
2ad9816
%{_qt6_libdir}/cmake/Qt6BuildInternals/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6BuildInternals/QtStandaloneTestTemplateProject/CMakeLists.txt
2ad9816
%{_qt6_libdir}/cmake/Qt6BuildInternals/StandaloneTests/QtBaseTestsConfig.cmake
b7695d1
%{_qt6_libdir}/cmake/Qt6BuildInternals/QtStandaloneTestTemplateProject/Main.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6Concurrent/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6Core/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6Core/Qt6CoreConfigureFileTemplate.in
2ad9816
%{_qt6_libdir}/cmake/Qt6CoreTools/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6DBus/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6DBusTools/*.cmake
ccaa919
%{_qt6_libdir}/cmake/Qt6DeviceDiscoverySupportPrivate/*.cmake
ccaa919
%{_qt6_libdir}/cmake/Qt6EglFSDeviceIntegrationPrivate/*.cmake
ccaa919
%{_qt6_libdir}/cmake/Qt6EglFsKmsGbmSupportPrivate/*.cmake
ccaa919
%{_qt6_libdir}/cmake/Qt6EglFsKmsSupportPrivate/*.cmake
43d3919
%{_qt6_libdir}/cmake/Qt6ExampleIconsPrivate/*.cmake
ccaa919
%{_qt6_libdir}/cmake/Qt6FbSupportPrivate/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6Gui/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6GuiTools/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6HostInfo/*.cmake
ccaa919
%{_qt6_libdir}/cmake/Qt6InputSupportPrivate/*.cmake
ccaa919
%{_qt6_libdir}/cmake/Qt6KmsSupportPrivate/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6Network/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6OpenGL/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6OpenGLWidgets/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6PrintSupport/*.cmake
6a5e0a5
%{_qt6_libdir}/cmake/Qt6Sql/Qt6Sql*.cmake
ccaa919
%{_qt6_libdir}/cmake/Qt6Sql/Qt6QSQLiteDriverPlugin*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6Test/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6Widgets/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6WidgetsTools/*.cmake
6a5e0a5
%{_qt6_libdir}/cmake/Qt6XcbQpaPrivate/*.cmake
2ad9816
%{_qt6_libdir}/cmake/Qt6Xml/*.cmake
d932499
%{_qt6_libdir}/qt6/metatypes/*.json
ca477f4
%{_qt6_libdir}/qt6/objects-RelWithDebInfo/ExampleIconsPrivate_resources_1/.rcc/qrc_example_icons.cpp.o
39c645f
%{_qt6_libdir}/pkgconfig/*.pc
2ad9816
2ad9816
%if 0%{?egl}
2ad9816
%{_qt6_libdir}/libQt6EglFsKmsSupport.prl
2ad9816
%{_qt6_libdir}/libQt6EglFsKmsSupport.so
2ad9816
%endif
2ad9816
## private-devel globs
ccaa919
%exclude %{_qt6_headerdir}/*/%{qt_version}/
2ad9816
2ad9816
%files private-devel
ccaa919
%{_qt6_headerdir}/*/%{qt_version}/
2ad9816
2ad9816
%files static
2ad9816
%{_qt6_headerdir}/QtDeviceDiscoverySupport
2ad9816
%{_qt6_libdir}/libQt6DeviceDiscoverySupport.*a
2ad9816
%{_qt6_libdir}/libQt6DeviceDiscoverySupport.prl
43d3919
%{_qt6_libdir}/libQt6ExampleIcons.a
43d3919
%{_qt6_libdir}/libQt6ExampleIcons.prl
2ad9816
%{_qt6_headerdir}/QtFbSupport
2ad9816
%{_qt6_libdir}/libQt6FbSupport.*a
2ad9816
%{_qt6_libdir}/libQt6FbSupport.prl
2ad9816
%{_qt6_libdir}/libQt6InputSupport.*a
2ad9816
%{_qt6_libdir}/libQt6InputSupport.prl
2ad9816
%{_qt6_headerdir}/QtKmsSupport
2ad9816
%{_qt6_libdir}/libQt6KmsSupport.*a
2ad9816
%{_qt6_libdir}/libQt6KmsSupport.prl
2ad9816
%if 0%{?examples}
2ad9816
%files examples
2ad9816
%{_qt6_examplesdir}/
2ad9816
%endif
2ad9816
6a5e0a5
%if 0%{?ibase}
2ad9816
%files ibase
2ad9816
%{_qt6_plugindir}/sqldrivers/libqsqlibase.so
6a5e0a5
%{_qt6_libdir}/cmake/Qt6Sql/Qt6QIBaseDriverPlugin*.cmake
2ad9816
%endif
2ad9816
2ad9816
%files mysql
2ad9816
%{_qt6_plugindir}/sqldrivers/libqsqlmysql.so
2ad9816
%{_qt6_libdir}/cmake/Qt6Sql/Qt6QMYSQLDriverPlugin*.cmake
2ad9816
2ad9816
%files odbc
2ad9816
%{_qt6_plugindir}/sqldrivers/libqsqlodbc.so
2ad9816
%{_qt6_libdir}/cmake/Qt6Sql/Qt6QODBCDriverPlugin*.cmake
2ad9816
2ad9816
%files postgresql
2ad9816
%{_qt6_plugindir}/sqldrivers/libqsqlpsql.so
2ad9816
%{_qt6_libdir}/cmake/Qt6Sql/Qt6QPSQLDriverPlugin*.cmake
2ad9816
2ad9816
%ldconfig_scriptlets gui
2ad9816
2ad9816
%files gui
2ad9816
%dir %{_sysconfdir}/X11/xinit
2ad9816
%dir %{_sysconfdir}/X11/xinit/xinitrc.d/
2ad9816
%{_sysconfdir}/X11/xinit/xinitrc.d/10-qt6-check-opengl2.sh
2ad9816
%{_qt6_libdir}/libQt6Gui.so.6*
2ad9816
%{_qt6_libdir}/libQt6OpenGL.so.6*
2ad9816
%{_qt6_libdir}/libQt6OpenGLWidgets.so.6*
2ad9816
%{_qt6_libdir}/libQt6PrintSupport.so.6*
2ad9816
%{_qt6_libdir}/libQt6Widgets.so.6*
6a5e0a5
%{_qt6_libdir}/libQt6XcbQpa.so.6*
2ad9816
# Generic
2ad9816
%{_qt6_plugindir}/generic/libqevdevkeyboardplugin.so
2ad9816
%{_qt6_plugindir}/generic/libqevdevmouseplugin.so
2ad9816
%{_qt6_plugindir}/generic/libqevdevtabletplugin.so
2ad9816
%{_qt6_plugindir}/generic/libqevdevtouchplugin.so
2ad9816
%{_qt6_plugindir}/generic/libqlibinputplugin.so
66655b0
%if 0%{?fedora} || 0%{?epel}
2ad9816
%{_qt6_plugindir}/generic/libqtslibplugin.so
66655b0
%endif
2ad9816
%{_qt6_plugindir}/generic/libqtuiotouchplugin.so
2ad9816
# Imageformats
2ad9816
%{_qt6_plugindir}/imageformats/libqico.so
2ad9816
%{_qt6_plugindir}/imageformats/libqjpeg.so
2ad9816
%{_qt6_plugindir}/imageformats/libqgif.so
2ad9816
# Platforminputcontexts
2ad9816
%{_qt6_plugindir}/platforminputcontexts/libcomposeplatforminputcontextplugin.so
2ad9816
%{_qt6_plugindir}/platforminputcontexts/libibusplatforminputcontextplugin.so
2ad9816
# EGL
2ad9816
%if 0%{?egl}
2ad9816
%{_qt6_libdir}/libQt6EglFSDeviceIntegration.so.6*
2ad9816
%{_qt6_libdir}/libQt6EglFsKmsSupport.so.6*
2ad9816
%{_qt6_libdir}/libQt6EglFsKmsGbmSupport.so.6*
2ad9816
%{_qt6_plugindir}/platforms/libqeglfs.so
2ad9816
%{_qt6_plugindir}/platforms/libqminimalegl.so
2ad9816
%dir %{_qt6_plugindir}/egldeviceintegrations/
2ad9816
%{_qt6_plugindir}/egldeviceintegrations/libqeglfs-kms-integration.so
f4d634a
%{_qt6_plugindir}/egldeviceintegrations/libqeglfs-x11-integration.so
2ad9816
%{_qt6_plugindir}/egldeviceintegrations/libqeglfs-kms-egldevice-integration.so
2ad9816
%{_qt6_plugindir}/egldeviceintegrations/libqeglfs-emu-integration.so
6a5e0a5
%{_qt6_plugindir}/xcbglintegrations/libqxcb-egl-integration.so
2ad9816
%endif
2ad9816
# Platforms
2ad9816
%{_qt6_plugindir}/platforms/libqlinuxfb.so
2ad9816
%{_qt6_plugindir}/platforms/libqminimal.so
2ad9816
%{_qt6_plugindir}/platforms/libqoffscreen.so
6a5e0a5
%{_qt6_plugindir}/platforms/libqxcb.so
2ad9816
%{_qt6_plugindir}/platforms/libqvnc.so
ccaa919
%{_qt6_plugindir}/platforms/libqvkkhrdisplay.so
6a5e0a5
%{_qt6_plugindir}/xcbglintegrations/libqxcb-glx-integration.so
2ad9816
# Platformthemes
2ad9816
%{_qt6_plugindir}/platformthemes/libqxdgdesktopportal.so
2ad9816
%{_qt6_plugindir}/platformthemes/libqgtk3.so
2ad9816
%{_qt6_plugindir}/printsupport/libcupsprintersupport.so
2ad9816
2ad9816
2ad9816
%changelog
469e3a8
* Thu Nov 09 2023 Jan Grulich <jgrulich@redhat.com> - 6.6.0-6
469e3a8
- Revert: Fix Qt not showing up emoji by handling emoji font family
469e3a8
a44bfe9
* Tue Nov 07 2023 Jan Grulich <jgrulich@redhat.com> - 6.6.0-5
a44bfe9
- Fix Qt not showing up emoji by handling emoji font family
a44bfe9
a19a7d3
* Mon Nov 06 2023 Jan Grulich <jgrulich@redhat.com> - 6.6.0-4
a19a7d3
- Upstream backports
a19a7d3
  - a11y - fix race condition on atspi startup on Wayland
a19a7d3
66655b0
* Mon Oct 23 2023 Jan Grulich <jgrulich@redhat.com> - 6.6.0-3
66655b0
- Do not use tslib on RHEL builds
66655b0
d130b7b
* Sun Oct 15 2023 Neal Gompa <ngompa@fedoraproject.org> - 6.6.0-2
d130b7b
- Add qtwayland weak dep to -gui subpackage and use arched weak deps
d130b7b
a0b5aa0
* Tue Oct 10 2023 Jan Grulich <jgrulich@redhat.com> - 6.6.0-1
a0b5aa0
- 6.6.0
a0b5aa0
f7e88d6
* Sun Oct 01 2023 Justin Zobel <justin.zobel@gmail.com> - 6.5.3-1
f7e88d6
- new version
f7e88d6
ca477f4
* Sun Sep 03 2023 LuK1337 <priv.luk@gmail.com> - 6.5.2-5
ca477f4
- Unbreak CMake Qt6::ExampleIconsPrivate package
ca477f4
7f9c50e
* Mon Aug 28 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 6.5.2-4
7f9c50e
- Use bundled libb2 in RHEL builds
7f9c50e
fed7db1
* Fri Aug 11 2023 Jan Grulich <jgrulich@redhat.com> - 6.5.2-3
fed7db1
- Don't use QGnomePlatform by default on F39+
fed7db1
3e8f639
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.5.2-2
3e8f639
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
3e8f639
e0efab4
* Fri Jul 21 2023 Jan Grulich <jgrulich@redhat.com> - 6.5.2-1
e0efab4
- 6.5.2
e0efab4
b4166db
* Wed Jul 12 2023 František Zatloukal <fzatlouk@redhat.com> - 6.5.1-4
b4166db
- Rebuilt for ICU 73.2
b4166db
d487a7a
* Wed Jul 12 2023 Jan Grulich <jgrulich@redhat.com> - 6.5.1-3
d487a7a
- Bump build for private API version change
d487a7a
9911d34
* Tue Jul 11 2023 František Zatloukal <fzatlouk@redhat.com> - 6.5.1-2
9911d34
- Rebuilt for ICU 73.2
9911d34
43d3919
* Mon May 22 2023 Jan Grulich <jgrulich@redhat.com> - 6.5.1-1
43d3919
- 6.5.1
43d3919
6a5e0a5
* Fri Apr 7 2023 Marie Loise Nolden <loise@kde.org> - 6.5.0-2
6a5e0a5
- fix xcb plugin with new dependency xcb-cursor instead of Xcursor
6a5e0a5
  introduction with qt 6.5, add firebird sql plugin cleanly, clean up spec file
6a5e0a5
  
d932499
* Mon Apr 03 2023 Jan Grulich <jgrulich@redhat.com> - 6.5.0-1
d932499
- 6.5.0
d932499
4dccb8d
* Mon Apr 03 2023 Jan Grulich <jgrulich@redhat.com> - 6.4.3-2
4dccb8d
- Enable zstd support
4dccb8d
363b542
* Thu Mar 23 2023 Jan Grulich <jgrulich@redhat.com> - 6.4.3-1
363b542
- 6.4.3
363b542
b5b7a89
* Sun Mar 05 2023 Jan grulich <jgrulich@redhat.com> - 6.4.2-5
b5b7a89
- Use QGnomePlatform as default platform theme on GNOME
b5b7a89
  Resolves: bz#2174905
b5b7a89
f30f363
* Wed Feb 08 2023 Jan Grulich <jgrulich@redhat.com> - 6.4.2-4
f30f363
- Fix possible DOS involving the Qt SQL ODBC driver plugin
f30f363
  CVE-2023-24607
f30f363
43952a8
* Tue Jan 31 2023 Jan Grulich <jgrulich@redhat.com> - 6.4.2-3
43952a8
- migrated to SPDX license
43952a8
f94edcc
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.4.2-2
f94edcc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
f94edcc
84d0798
* Mon Jan 16 2023 Jan Grulich <jgrulich@redhat.com> - 6.4.2-1
84d0798
- 6.4.2
84d0798
2dae87e
* Mon Jan 02 2023 Jan Grulich <jgrulich@redhat.com> - 6.4.1-4
2dae87e
- Make -devel package to require database plugins
2dae87e
a6edf5d
* Sat Dec 31 2022 Pete Walter <pwalter@fedoraproject.org> - 6.4.1-3
a6edf5d
- Rebuild for ICU 72
a6edf5d
3614026
* Wed Nov 30 2022 Pavel Raiskup <praiskup@redhat.com> - 6.4.1-2
3614026
- rebuild for the new PostgreSQL 15
3614026
9ef11a9
* Wed Nov 23 2022 Jan Grulich <jgrulich@redhat.com> - 6.4.1-1
9ef11a9
- 6.4.1
9ef11a9
752eade
* Mon Oct 31 2022 Jan Grulich <jgrulich@redhat.com> - 6.4.0-1
752eade
- 6.4.0
752eade
afa4026
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 6.3.1-4
afa4026
- Rebuilt for ICU 71.1
afa4026
e1c0e0a
* Fri Jul 29 2022 Jan Grulich <jgrulich@redhat.com> - 6.3.1-3
e1c0e0a
- Fix moc location in pkgconfig file
e1c0e0a
  Resolves: bz#2112029
e1c0e0a
964d73e
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.3.1-2
964d73e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
964d73e
39c645f
* Wed Jul 13 2022 Jan Grulich <jgrulich@redhat.com> - 6.3.1-1
39c645f
- 6.3.1
39c645f
1b784de
* Wed Apr 13 2022 Jan Grulich <jgrulich@redhat.com> - 6.3.0-1
1b784de
- 6.3.0
1b784de
87e7cd2
* Fri Feb 25 2022 Jan Grulich <jgrulich@redhat.com> - 6.2.3-2
87e7cd2
- Enable s390x builds
87e7cd2
c3b5325
* Mon Jan 31 2022 Jan Grulich <jgrulich@redhat.com> - 6.2.3-1
c3b5325
- 6.2.3
c3b5325
31e9373
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.2-3
31e9373
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
31e9373
2bcab5d
* Thu Jan 06 2022 Filip Januš <fjanus@redhat.com> - 6.2.2-2
2bcab5d
- Rebuild for Postgresql 14
2bcab5d
deae740
* Tue Dec 14 2021 Jan Grulich <jgrulich@redhat.com> - 6.2.2-1
deae740
- 6.2.2
deae740
33ae18f
* Fri Oct 29 2021 Jan Grulich <jgrulich@redhat.com> - 6.2.1-1
33ae18f
- 6.2.1
33ae18f
be551b8
* Thu Sep 30 2021 Jan Grulich <jgrulich@redhat.com> - 6.2.0-1
be551b8
- 6.2.0
be551b8
ae8453a
* Mon Sep 27 2021 Jan Grulich <jgrulich@redhat.com> - 6.2.0~rc2-1
ae8453a
- 6.2.0 - rc2
ae8453a
42df854
* Sat Sep 18 2021 Jan Grulich <jgrulich@redhat.com> - 6.2.0~rc-1
42df854
- 6.2.0 - rc
42df854
558c4aa
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 6.2.0~beta4-3
558c4aa
- Rebuilt with OpenSSL 3.0.0
558c4aa
4d550dc
* Mon Sep 13 2021 Jan Grulich <jgrulich@redhat.com> - 6.2.0~beta4-2
4d550dc
- Skip s390x for qtdeclarative issue
4d550dc
ffea666
* Fri Sep 10 2021 Jan Grulich <jgrulich@redhat.com> - 6.2.0~beta4-1
ffea666
- 6.2.0 - beta4
ffea666
37cc28e
* Wed Sep 08 2021 Rex Dieter <rdieter@fedoraproject.org> - 6.2.0~beta3-4
37cc28e
- rebuild
37cc28e
883f4b7
* Tue Sep 07 2021 Jan Grulich <jgrulich@redhat.com> - 6.2.0~beta3-3
883f4b7
- Disable rpath
883f4b7
  Resolves: bz#1982699
883f4b7
f4d634a
* Tue Aug 31 2021 Jan Grulich <jgrulich@redhat.com> - 6.2.0~beta3-2
f4d634a
- Fix file conflict with qt5-qttools
f4d634a
- Rebuild against older libglvnd
f4d634a
ccaa919
* Mon Aug 30 2021 Jan Grulich <jgrulich@redhat.com> - 6.2.0~beta3-1
ccaa919
- 6.2.0 - beta3
ccaa919
c7b939f
* Thu Aug 12 2021 Jan Grulich <jgrulich@redhat.com> - 6.1.2-1
c7b939f
- 6.1.2
c7b939f
dc07a6f
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.1.1-2
dc07a6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
dc07a6f
bd32550
* Mon Jun 07 2021 Jan Grulich <jgrulich@redhat.com> - 6.1.1-1
bd32550
- 6.1.1
bd32550
be61e8b
* Mon May 24 2021 Jan Grulich <jgrulich@redhat.com> - 6.1.0-3
be61e8b
- Rebuild with correct libexecdir path
be61e8b
78b93ad
* Thu May 20 2021 Pete Walter <pwalter@fedoraproject.org> - 6.1.0-2
78b93ad
- Rebuild for ICU 69
78b93ad
75100dc
* Thu May 06 2021 Jan Grulich <jgrulich@redhat.com> - 6.1.0-1
75100dc
- 6.1.0
75100dc
e32fd28
* Mon Apr 05 2021 Jan Grulich <jgrulich@redhat.com> - 6.0.3-1
e32fd28
- 6.0.3
e32fd28
c84a9fd
* Thu Feb 04 2021 Jan Grulich <jgrulich@redhat.com> - 6.0.1-1
c84a9fd
- 6.0.1
c84a9fd
70e0a20
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.0.0-2
70e0a20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
70e0a20
2ad9816
* Wed Jan 06 2021 Jan Grulich <jgrulich@redhat.com> - 6.0.0-1
2ad9816
- 6.0.0