packages libqt5.spec
      Pages: < 1 >  DOWNLOAD      
%define majver %(echo %version | cut -d. -f1-2)
%define _qt5_prefix         %{_libdir}/qt5
%define _qt5_bindir         %{_qt5_prefix}/bin
%define _qt5_datadir        %{_datadir}/qt5
#define _qt5_demosdir       %{_qt5_datadir}/demos
%define _qt5_demosdir       %{_qt5_prefix}/demos
%define _qt5_docdir         %{_qt5_datadir}/doc
%define _qt5_examplesdir    %{_qt5_prefix}/examples
%define _qt5_headerdir      %{_includedir}/qt5
%define _qt5_libdir         %{_libdir}
%define _qt5_plugindir      %{_qt5_prefix}/plugins
%define _qt5_sysconfdir     %{_sysconfdir}/xdg
%define _qt5_translationdir %{_qt5_datadir}/translations

%define USE_DISTCC   0
#% define build_phonon 1
#% define build_openvg 1
#% ifarch x86_64
#% define build_qtwebengine 0
#% endif

%if "%{USE_DISTCC}" == "1"
%define DISTCC CC="ccache distcc" CXX="ccache distcc" -j 12
%endif

Name:          libqt5
Version:       5.13.0
Release:       3mamba
Summary:       A multiplatform, C++ GUI application development framework
Group:         System/Libraries
Vendor:        openmamba
Distribution:  openmamba
Packager:      Silvan Calarco <silvan.calarco@...>
URL:           http://qt.nokia.com
Source0:       http://download.qt.io/official_releases/qt/%{majver}/%{version}/single/qt-everywhere-src-%{version}.tar.xz
Source1:       libqt5-profile.sh
Source2:       libqt5-profile.csh
Source10:      libqt5-qt5logo-icon64x64.png
Source11:      libqt5-development-qt5.menu
Source12:      libqt5-development-qt5.directory
Source13:      libqt4-designer.desktop
Source14:      libqt4-designer-icon128x128.png
Source15:      libqt4-assistant.desktop
Source16:      libqt4-assistant-icon32x32.png
Source17:      libqt4-linguist.desktop
Source18:      libqt4-linguist-icon32x32.png
Source19:      libqt4-qvfb.desktop
Patch0:        libqt5-5.0.2-gcc-4.8.patch
Patch1:        libqt5-5.1.1-bison-3.0.patch
Patch2:        libqt5-5.4.1-glib-2.43.patch
Patch3:        libqt5-5.5.1-vlc.patch
Patch4:        libqt5-5.11.2-glibc-2.28.patch
License:       GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gst-plugins-bad-devel
BuildRequires: libGL-devel
BuildRequires: libICE-devel
BuildRequires: libSDL2-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXcomposite-devel
BuildRequires: libXext-devel
BuildRequires: libXi-devel
BuildRequires: libalsa-devel
BuildRequires: libatk-devel
BuildRequires: libbluetooth-devel
BuildRequires: libcairo-devel
BuildRequires: libcups-devel
BuildRequires: libdbus-devel
BuildRequires: libdrm-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetds-devel
BuildRequires: libfreetype-devel
BuildRequires: libgbm-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgst-plugins-base-devel
BuildRequires: libgstreamer-devel
BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libhunspell-devel
BuildRequires: libicu-devel
BuildRequires: libinput-devel
BuildRequires: libjasper-devel
BuildRequires: libjpeg-devel
BuildRequires: libmng-devel
BuildRequires: libmtdev-devel
BuildRequires: libmysqlclient-devel
BuildRequires: libodbc-devel
BuildRequires: libopenal-devel
BuildRequires: libopenssl-devel
BuildRequires: libpango-devel
BuildRequires: libperl
BuildRequires: libpng-devel
BuildRequires: libpostgresql-devel
BuildRequires: libpulseaudio-devel
BuildRequires: libpulseaudio-glib-devel
BuildRequires: libsqlite-devel
BuildRequires: libstdc++6-devel
BuildRequires: libsystemd-devel
BuildRequires: libtiff-devel
BuildRequires: libts-devel
BuildRequires: libudev-devel
BuildRequires: libwayland-devel
BuildRequires: libwayland-egl-devel
BuildRequires: libwebp-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-image-devel
BuildRequires: libxcb-keysyms-devel
BuildRequires: libxcb-render-util-devel
BuildRequires: libxcb-util-wm-devel
BuildRequires: libxkbcommon-devel
BuildRequires: libz-devel
BuildRequires: perl-devel
BuildRequires: speech-dispatcher-devel
## AUTOBUILDREQ-END
BuildRequires: xorg-proto-devel
#BuildRequires: libOpenVG-devel
BuildRequires: libGL-devel >= 8.0.4-2mamba
BuildRequires: libxcb-devel >= 1.10-2mamba
%if "%{USE_DISTCC}" == "1"
BuildRequires: distcc
BuildRequires: ccache >= 2.3
%endif
#BuildConflicts: python-ply
BuildConflicts: libqt5-devel < 5.4
%{?build_phonon:BuildRequires: libgstreamer-devel, libgst-plugins-base-devel}
%{?build_openvg:BuildRequires: libOpenVG-devel}
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

# FIXME:
# NAS sound support ... no

%description
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

%package common
Group:         System/Libraries
Summary:       Qt5 common files

%description common
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.
This package contains common files used by different subpackages.

%package plugins
Group:         System/Libraries
Summary:       Qt5 plugins

%description plugins
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.
This package contains all plugins that don't have their own package yet.

%package -n libQt5Core
Group:         System/Libraries
Summary:       Qt5 core library
%if "%{_qt5_libdir}" != "%{_libdir}"
Prereq:        /etc/ld.so.conf.d
%endif
Provides:      libqt = %{version}
Provides:      libqt5 = %{version}
Provides:      qt = %{version}
Provides:      qt5 = %{version}
Provides:      qt5-x11 = %{version}
Provides:      libqt5
Requires:      libicu
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Core
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the core library.

%package -n libQt53D
Group:         System/Libraries
Summary:       Qt5 3D library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt53D
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the 3D library.

%package -n libQt5Bodymovin
Group:         System/Libraries
Summary:       Qt5 Body moving library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Bodymovin
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Body moving library.

%package -n libQt5Bluetooth
Group:         System/Libraries
Summary:       Qt5 Bluetooth library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Bluetooth
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Bluetooth library.

%package -n libQt5Charts
Group:         System/Libraries
Summary:       Qt5 Charts library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Charts
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Charts library.

%package -n libQt5CLucene
Group:         System/Libraries
Summary:       Qt5 C-Lucene library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5CLucene
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the C-Lucene library.

%package -n libQt5Concurrent
Group:         System/Libraries
Summary:       Qt5 Concurrent library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Concurrent
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Qt5Concurrent library.

%package -n libQt5DataVisualization
Group:         System/Libraries
Summary:       Qt5 Data Visualization library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5DataVisualization
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Data Visualization library.

%package -n libQt5DBus
Group:         System/Libraries
Summary:       Qt5 DBus library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5DBus
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the DBus library.

%package -n libQt5Declarative
Group:         System/Libraries
Summary:       Qt5 declarative library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Declarative
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the declarative library.

%package -n libQt5Designer
Group:         System/Libraries
Summary:       Qt5 designer library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Designer
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the designer library.

%package -n libQt5DesignerComponents
Group:         System/Libraries
Summary:       Qt5 designer components library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5DesignerComponents
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the designer components library.

%package -n libQt5EglFsKmsSupport
Group:         System/Libraries
Summary:       Qt5 Egl Fs Kms Support library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5EglFsKmsSupport
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Egl Fs Kms Support library.

%package -n libQt5Gamepad
Group:         System/Libraries
Summary:       Qt5 Gamepad library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Gamepad
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Gamepad library.

%package -n libQt5Gui
Group:         System/Libraries
Summary:       Qt5 GUI library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Gui
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Gui library.

%package -n libQt5Help
Group:         System/Libraries
Summary:       Qt5 help library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Help
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the help library.

%package -n libQt5HunspellInputMethod
Group:         System/Libraries
Summary:       Qt5 Hunspell input method library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5HunspellInputMethod
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Hunspell input method library.

%package -n libQt5Labs
Group:         System/Libraries
Summary:       Qt5 labs libraries
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Labs
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the labs libraries.

%package -n libQt5Location
Group:         System/Libraries
Summary:       Qt5 location library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Location
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the location library.

%package -n libQt5MeeGoGraphicsSystemHelper
Group:         System/Libraries
Summary:       Qt5 MeeGo library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5MeeGoGraphicsSystemHelper
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the MeeGo library.

%package -n libQt5Multimedia
Group:         System/Libraries
Summary:       Qt5 multimedia library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Multimedia
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the multimedia library.

%package -n libQt5MultimediaQuick
Group:         System/Libraries
Summary:       Qt5 multimedia quick library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5MultimediaQuick
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the multimedia quick library.

%package -n libQt5MultimediaWidgets
Group:         System/Libraries
Summary:       Qt5 multimedia widgets library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5MultimediaWidgets
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the multimedia widgets library.

%package -n libQt5Network
Group:         System/Libraries
Summary:       Qt5 network library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Network
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the network library.

%package -n libQt5Nfc
Group:         System/Libraries
Summary:       Qt5 Nfc library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Nfc
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Nfc library.

%package -n libQt5OpenGL
Group:         System/Libraries
Summary:       Qt5 OpenGL library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5OpenGL
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the OpenGL library.

%package -n libQt5Positioning
Group:         System/Libraries
Summary:       Qt5 positioning library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Positioning
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Qt5 positioning library.

%package -n libQt5Purchasing
Group:         System/Libraries
Summary:       Qt5 Purchasing library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Purchasing
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Qt5 Purchasing library.

%package -n libQt5PrintSupport
Group:         System/Libraries
Summary:       Qt5 print support library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5PrintSupport
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Qt5 print support library.

%package -n libQt5Qml
Group:         System/Libraries
Summary:       Qt5 Qml library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Qml
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Qt5 Qml library.

%package -n libQt5Quick
Group:         System/Libraries
Summary:       Qt5 Quick library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Quick
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Qt5 Quick library.

%package -n libQt5QuickControls2
Group:         System/Libraries
Summary:       Qt5 Quick Controls2 library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5QuickControls2
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Qt5 Quick Controls2 library.

%package -n libQt5QuickParticles
Group:         System/Libraries
Summary:       Qt5 Quick particles library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5QuickParticles
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Qt5 Quick particles library.

%package -n libQt5QuickShapes
Group:         System/Libraries
Summary:       Qt5 Quick shapes library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5QuickShapes
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Qt5 Quick shapes library.

%package -n libQt5QuickWidgets
Group:         System/Libraries
Summary:       Qt5 Quick Widgets library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5QuickWidgets
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Qt5 Quick Widgets library.

%package -n libQt5QuickTemplates2
Group:         System/Libraries
Summary:       Qt5 Quick Templates2 library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5QuickTemplates2
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Qt5 QuickTemplates2 library.

%package -n libQt5QuickTest
Group:         System/Libraries
Summary:       Qt5 Quick Test library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5QuickTest
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Qt5 Quick Test library.

%package -n libQt5RemoteObjects
Group:         System/Libraries
Summary:       Qt5 remote objects library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5RemoteObjects
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Qt5 remote objects library.

%package -n libQt5Script
Group:         System/Libraries
Summary:       Qt5 scripting library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Script
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the scripting library.

%package -n libQt5ScriptTools
Group:         System/Libraries
Summary:       Qt5 scripting tools library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5ScriptTools
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the scripting tools library.

%package -n libQt5Scxml
Group:         System/Libraries
Summary:       Qt5 SCxml library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Scxml
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Scxml library.

%package -n libQt5Sensors
Group:         System/Libraries
Summary:       Qt5 Sensors library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Sensors
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Sensors library.

%package -n libQt5SerialPort
Group:         System/Libraries
Summary:       Qt5 Serial Port library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5SerialPort
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Serial Port library.

%package -n libQt5Sql
Group:         System/Libraries
Summary:       Qt5 SQL library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Sql
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the SQL library.

%package -n libQt5Svg
Group:         System/Libraries
Summary:       Qt5 SVG library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Svg
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Svg library.

%package -n libQt5TextToSpeech
Group:         System/Libraries
Summary:       Qt5 text-to-speech library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5TextToSpeech
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the text-to-speech library.

%package -n libQt5Test
Group:         System/Libraries
Summary:       Qt5 test library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Test
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the test library.

%package -n libQt5VirtualKeyboard
Group:         System/Libraries
Summary:       Qt5 virtual keyboard library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5VirtualKeyboard
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the virtual keyboard library.

%package -n libQt5V8
Group:         System/Libraries
Summary:       Qt5 V8library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5V8
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the V8 library.

%package -n libQt5WaylandClient
Group:         System/Libraries
Summary:       Qt5 Wayland client library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5WaylandClient
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Wayland client library.

%package -n libQt5WaylandCompositor
Group:         System/Libraries
Summary:       Qt5 Wayland Compositor library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5WaylandCompositor
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Wayland Compositor library.

%package -n libQt5WebChannel
Group:         System/Libraries
Summary:       Qt5 Web channel library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5WebChannel
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Web channel library.

%package -n libQt5WebEngine
Group:         System/Libraries
Summary:       Qt5 Web engine library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5WebEngine
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Web engine library.

%package -n libQt5WebSockets
Group:         System/Libraries
Summary:       Qt5 Web Sockets library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5WebSockets
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Web Sockets library.

%package -n libQt5WebView
Group:         System/Libraries
Summary:       Qt5 Web View library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5WebView
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Web View library.

%package -n libQt5Widgets
Group:         System/Libraries
Summary:       Qt5 Widgets library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Widgets
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Widgets library.

%package -n libQt5X11Extras
Group:         System/Libraries
Summary:       Qt5 X11 Extras library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5X11Extras
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the X11 Extras library.

%package -n libQt5Xml
Group:         System/Libraries
Summary:       Qt5 Xml library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5Xml
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Xml library.

%package -n libQt5XmlPatterns
Group:         System/Libraries
Summary:       Qt5 Xml patterns library
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description -n libQt5XmlPatterns
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Xml patterns library.

%package -n libEnginio
Group:         System/Libraries
Summary:       Qt5 Enginio library

%description -n libEnginio
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Enginio library.

%package devel
Group:         Development/Libraries
Summary:       Devel files for QT libraries
Requires:      %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt53D = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Bodymovin = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Bluetooth = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Charts = %{?epoch:%epoch:}%{version}-%{release}
#Requires:      libQt5CLucene = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Concurrent = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Core = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5DataVisualization = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5DBus = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Declarative = %{?epoch:%epoch:}%{version}-%{release}
#Requires:      libQt3Support5 = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Designer = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5DesignerComponents = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5EglFsKmsSupport = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Gamepad = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Gui = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Help = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5HunspellInputMethod = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Location = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Multimedia = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5MultimediaQuick = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5MultimediaWidgets = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Network = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Nfc = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5OpenGL = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Positioning = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5PrintSupport = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Purchasing = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Qml = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Quick = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5QuickControls2 = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5QuickParticles = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5QuickShapes = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5QuickWidgets = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5QuickTemplates2 = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5QuickTest = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5RemoteObjects = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Sensors = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5SerialPort = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Script = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5ScriptTools = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Scxml = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Sql = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Svg = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Test = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5TextToSpeech = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5VirtualKeyboard = %{?epoch:%epoch:}%{version}-%{release}
#Requires:      libQt5V8 = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5WebChannel = %{?epoch:%epoch:}%{version}-%{release}
#%ifarch x86_64
#Requires:      libQt5WebView = %{?epoch:%epoch:}%{version}-%{release}
#%endif
%if "%{?build_qtwebengine}" == "1"
Requires:      libQt5WebEngine = %{?epoch:%epoch:}%{version}-%{release}
%endif
Requires:      libQt5WaylandClient = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5WaylandCompositor = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5WebSockets = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Widgets = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5X11Extras = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5Xml = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libQt5XmlPatterns = %{?epoch:%epoch:}%{version}-%{release}
#Requires:      libEnginio = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libqt5-gtk3 = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libqt5-designer = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libqt5-postgresql = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libqt5-mysql = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libqt5-odbc = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libqt5-sqlite = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libqt5-plugins = %{?epoch:%epoch:}%{version}-%{release}

%description devel
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the development files.

%package apidocs
Group:         Documentation
Summary:       API documentation for the QT libraries
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description apidocs
API documentation for the QT libraries.

%package accessible
Group:         System/Libraries
Summary:       Accessibility plugin for QT
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description accessible
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Accessibility plugin.

%package canbus
Group:         System/Libraries
Summary:       CAN bus plugin for QT libraries
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}

%description canbus
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

%package demos
Group:         Documentation
Summary:       Qt5 demos
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}
#Requires:      %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}

%description demos
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains demonstrative code for Qt.

%package designer
Group:         Development/Libraries
Summary:       Development tool for QT
Requires:      libQt5Designer = %{?epoch:%epoch:}%{version}-%{release}

%description designer
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.
This package contains a GUI development tool.

%package gtk3
Group:         System/Libraries
Summary:       Gtk2 platform theme plugin for QT libraries
Requires:      libqt5-common = %{?epoch:%epoch:}%{version}-%{release}
Provides:      libqt5-gtk2
Obsoletes:     libqt5-gtk2

%description gtk3
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Gtk3 platform theme plugin.

%package postgresql
Group:         System/Libraries
Summary:       PostgreSQL plugin for QT libraries
Requires:      libQt5Sql = %{?epoch:%epoch:}%{version}-%{release}

%description postgresql
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the PostgreSQL plugin.

%package mysql
Group:         System/Libraries
Summary:       MySQL plugin for QT libraries
Requires:      libQt5Sql = %{?epoch:%epoch:}%{version}-%{release}

%description mysql
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the MySQL plugin.

%package odbc
Group:         System/Libraries
Summary:       ODBC plugin for QT libraries
Requires:      libQt5Sql = %{?epoch:%epoch:}%{version}-%{release}

%description odbc
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the ODBC plugin.

%package sqlite
Group:         System/Libraries
Summary:       SQLite plugin for QT libraries
Requires:      libQt5Sql = %{?epoch:%epoch:}%{version}-%{release}
Provides:      %{name}-sqlite3

%description sqlite
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the SQLite plugin.

%package sqlite2
Group:         System/Libraries
Summary:       SQLite version 2 plugin for QT libraries
Requires:      libQt5Sql = %{?epoch:%epoch:}%{version}-%{release}

%description sqlite2
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the SQLite version 2 plugin.

%package tds
Group:         System/Libraries
Summary:       Sybase and Microsoft SQL plugin for QT libraries
Requires:      libQt5Sql = %{?epoch:%epoch:}%{version}-%{release}

%description tds
Qt sets the standard for high-performance, cross-platform application development.
It includes a C++ class library and tools for cross-platform development and internationalization.

This package contains the Sybase and Microsoft SQL plugin.

%debug_package

%prep
%setup -q -n qt-everywhere-src-%{version}
#-D -T
#:<< _EOF
#%patch1 -p1
#%patch2 -p1
#cd qtbase
#%patch3 -p1
#%patch4 -p1
#sed -i -e "s|-O2|%{optflags}|g" mkspecs/%{platform}/qmake.conf

%ifarch arm
# disable mapbox-gl build
rm -f qtlocation/src/3rdparty/mapbox-gl-native/mapbox-gl-native.pro
mv qtwebglplugin/qtwebglplugin.pro qtwebglplugin/qtwebglplugin.pro.bak
%endif

%build
#:<< _EOF
#%ifarch %{ix86} arm
#%define platform linux-clang
#%else
#%define platform linux-g++-64
#%endif

unset QMAKESPEC
export qtbuilddir=`pwd`
export PATH=$qtbuilddir/qtbase/bin:$PATH
export MANPATH=$qtbuilddir/doc/man:$MANPATH
export LD_LIBRARY_PATH=$qtbuilddir/qtbase/lib:$LD_LIBRARY_PATH

./configure \
   -opensource \
   -confirm-license \
   -prefix %{_prefix} \
   -bindir %{_qt5_bindir} \
   -datadir %{_qt5_datadir} \
   -examplesdir %{_qt5_examplesdir} \
   -headerdir %{_qt5_headerdir} \
   -archdatadir %{_qt5_prefix} \
   -libdir %{_qt5_libdir} \
   -docdir %{_qt5_docdir} \
   -plugindir %{_qt5_plugindir} \
   -sysconfdir %{_qt5_sysconfdir} \
   -translationdir %{_qt5_translationdir} \
   -system-libjpeg \
   -system-libpng \
   -system-sqlite \
   -system-zlib \
   -system-harfbuzz \
   -system-proxies \
   -dbus-linked \
   -journald \
   -openssl-linked \
   %{!?build_openvg:-no-openvg} \
   %{!?build_qtwebengine:-skip qtwebengine} \
   -sm \
   -nomake examples \
   -no-rpath \
   -no-sql-sqlite2 \
   -plugin-sql-mysql \
   -plugin-sql-psql \
   -plugin-sql-sqlite \
%ifarch %{ix86}
   -no-sse2 \
%endif
%ifarch arm
   -egl \
   -no-feature-renameat2 \
   -no-feature-getentropy \
%endif
   -release \
%ifnarch arm
   -force-debug-info \
%endif
   -shared \
   -cups \
   -fontconfig \
   -optimized-qmake \
   -xkb \
%ifarch arm
   -opengl es2 \
%else
   -opengl \
%endif

#   -xinerama \
#   -platform %{platform} \
#   -gstreamer \
#   -demosdir %{_qt5_demosdir} \
#   -system-libmng \
#   -xmlpatterns \
#   %{?build_phonon:-phonon -gstreamer} \
#   %{!?build_phonon:-no-phonon -no-gstreamer} \
#   -qdbus \
#   -qvfb \
#   -webkit \
#   -no-nas-sound \

%make
#SUBLIBS=-lexpat %{?DISTCC}

%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
unset QMAKESPEC
make install INSTALL_ROOT=%{buildroot}

# install libwebcore.a and libjscore.a
#install -m755 src/3rdparty/webkit/Source/WebCore/release/libwebcore.a %{buildroot}%{_libdir}/libwebcore.a
#install -m644 src/3rdparty/webkit/Source/WebCore/release/libwebcore.prl %{buildroot}%{_libdir}/libwebcore.prl
#install -m755 src/3rdparty/webkit/Source/JavaScriptCore/release/libjscore.a %{buildroot}%{_libdir}/libjscore.a
#install -m644 src/3rdparty/webkit/Source/JavaScriptCore/release/libjscore.prl %{buildroot}%{_libdir}/libjscore.prl

#install -p -m644 qtbase/LICENSE.GPL3 %{buildroot}%{_qt5_prefix}/

install -D -m755 %{S:1} \
   %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh
install -D -m755 %{S:2} \
   %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh

install -D -m644 %{S:10} \
   %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/qt5-logo.png
install -D -m644 %{S:11} \
   %{buildroot}%{_sysconfdir}/xdg/menus/applications-merged/development-qt5.menu
install -D -m644 %{S:12} \
   %{buildroot}%{_datadir}/desktop-directories/development-qt5.directory

install -D -m644 %{S:13} \
   %{buildroot}%{_datadir}/applications/designer-qt5.desktop
install -D -m644 %{S:14} \
   %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/designer-qt5.png

install -D -m644 %{S:15} \
   %{buildroot}%{_datadir}/applications/assistant-qt5.desktop
install -D -m644 %{S:16} \
   %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/assistant-qt5.png

install -D -m644 %{S:17} \
   %{buildroot}%{_datadir}/applications/linguist-qt5.desktop
install -D -m644 %{S:18} \
   %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/linguist-qt5.png

# link binaries to bindir
%if "%{_qt5_bindir}" != "%{_bindir}"
install -d %{buildroot}%{_bindir}
pushd %{buildroot}%{_qt5_bindir}
for f in *; do
   ln -sf %{_qt5_bindir}/$f %{buildroot}%{_bindir}/${f}
   ln -sf %{_qt5_bindir}/$f %{buildroot}%{_bindir}/${f}-qt5
done
popd
%endif

%if "%{_qt5_libdir}" != "%{_libdir}"
install -d %{buildroot}%{_sysconfdir}/ld.so.conf.d
echo "%{_qt5_libdir}" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}.conf
%endif

%if "%{_qt5_libdir}" == "%{_libdir}"
install -d -m0755 %{buildroot}%{_qt5_prefix}/lib
pushd %{buildroot}%{_libdir}
for f in *.so; do
   ln -sf %{_qt5_libdir}/$f %{buildroot}%{_qt5_prefix}/lib/${f}
done
ln -sf %{_qt5_libdir}/libGL.so %{buildroot}%{_qt5_prefix}/lib/libGL.so
popd
%endif

# install file with rpm macros
install -d %{buildroot}%{_sysconfdir}/rpm
echo "\
%%_qt5_version        %{version}
%%_qt5_prefix         %%{_libdir}/qt5
%%_qt5_bindir         %%{_qt5_prefix}/bin
%%_qt5_datadir        %%{_datadir}/qt5
%%_qt5_demosdir       %%{_qt5_prefix}/demos
%%_qt5_docdir         %%{_qt5_datadir}/doc
%%_qt5_examplesdir    %%{_qt5_prefix}/examples
%%_qt5_headerdir      %%{_includedir}/qt5
%%_qt5_libdir         %%{_libdir}
%%_qt5_plugindir      %%{_qt5_prefix}/plugins
%%_qt5_sysconfdir     %%{_sysconfdir}/xdg
%%_qt5_translationdir %%{_qt5_datadir}/translations
%%_qt5_qmake          %%{_qt5_bindir}/qmake" \
   > %{buildroot}%{_sysconfdir}/rpm/macros.qt5

%if "%{build_qtwebengine}" != "1"
rm -f %{buildroot}%{_qt5_translationdir}/qtwebengine_*.qm
%endif

# Workaround for qmake creating wrong .la files (since 5.13.0)
rm -f %{buildroot}%{_libdir}/*.la

%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}

%post   -n libQt53D -p /sbin/ldconfig
%postun -n libQt53D -p /sbin/ldconfig

%post   -n libQt5Concurrent -p /sbin/ldconfig
%postun -n libQt5Concurrent -p /sbin/ldconfig

%post   -n libQt5Bodymovin -p /sbin/ldconfig
%postun -n libQt5Bodymovin -p /sbin/ldconfig

%post   -n libQt5Bluetooth -p /sbin/ldconfig
%postun -n libQt5Bluetooth -p /sbin/ldconfig

%post   -n libQt5Charts -p /sbin/ldconfig
%postun -n libQt5Charts -p /sbin/ldconfig

%post   -n libQt5Core -p /sbin/ldconfig
%postun -n libQt5Core -p /sbin/ldconfig

%post   -n libQt5DBus -p /sbin/ldconfig
%postun -n libQt5DBus -p /sbin/ldconfig

%post   -n libQt5Declarative -p /sbin/ldconfig
%postun -n libQt5Declarative -p /sbin/ldconfig

%post   -n libQt5Designer -p /sbin/ldconfig
%postun -n libQt5Designer -p /sbin/ldconfig

%post   -n libQt5DesignerComponents -p /sbin/ldconfig
%postun -n libQt5DesignerComponents -p /sbin/ldconfig

%post   -n libQt5Gui -p /sbin/ldconfig
%postun -n libQt5Gui -p /sbin/ldconfig

%post   -n libQt5Help -p /sbin/ldconfig
%postun -n libQt5Help -p /sbin/ldconfig

%post   -n libQt5HunspellInputMethod -p /sbin/ldconfig
%postun -n libQt5HunspellInputMethod -p /sbin/ldconfig

%post   -n libQt5Labs -p /sbin/ldconfig
%postun -n libQt5Labs -p /sbin/ldconfig

%post   -n libQt5Location -p /sbin/ldconfig
%postun -n libQt5Location -p /sbin/ldconfig

%post   -n libQt5Multimedia -p /sbin/ldconfig
%postun -n libQt5Multimedia -p /sbin/ldconfig

%post   -n libQt5MultimediaQuick -p /sbin/ldconfig
%postun -n libQt5MultimediaQuick -p /sbin/ldconfig

%post   -n libQt5MultimediaWidgets -p /sbin/ldconfig
%postun -n libQt5MultimediaWidgets -p /sbin/ldconfig

%post   -n libQt5Nfc -p /sbin/ldconfig
%postun -n libQt5Nfc -p /sbin/ldconfig

%post   -n libQt5Network -p /sbin/ldconfig
%postun -n libQt5Network -p /sbin/ldconfig

%post   -n libQt5OpenGL -p /sbin/ldconfig
%postun -n libQt5OpenGL -p /sbin/ldconfig

%post   -n libQt5Positioning -p /sbin/ldconfig
%postun -n libQt5Positioning -p /sbin/ldconfig

%post   -n libQt5PrintSupport -p /sbin/ldconfig
%postun -n libQt5PrintSupport -p /sbin/ldconfig

%post   -n libQt5RemoteObjects -p /sbin/ldconfig
%postun -n libQt5RemoteObjects -p /sbin/ldconfig

%post   -n libQt5Qml -p /sbin/ldconfig
%postun -n libQt5Qml -p /sbin/ldconfig

%post   -n libQt5Quick -p /sbin/ldconfig
%postun -n libQt5Quick -p /sbin/ldconfig

%post   -n libQt5QuickParticles -p /sbin/ldconfig
%postun -n libQt5QuickParticles -p /sbin/ldconfig

%post   -n libQt5QuickShapes -p /sbin/ldconfig
%postun -n libQt5QuickShapes -p /sbin/ldconfig

%post   -n libQt5QuickWidgets -p /sbin/ldconfig
%postun -n libQt5QuickWidgets -p /sbin/ldconfig

%post   -n libQt5QuickTest -p /sbin/ldconfig
%postun -n libQt5QuickTest -p /sbin/ldconfig

%post   -n libQt5Script -p /sbin/ldconfig
%postun -n libQt5Script -p /sbin/ldconfig

%post   -n libQt5ScriptTools -p /sbin/ldconfig
%postun -n libQt5ScriptTools -p /sbin/ldconfig

%post   -n libQt5Sensors -p /sbin/ldconfig
%postun -n libQt5Sensors -p /sbin/ldconfig

%post   -n libQt5SerialPort -p /sbin/ldconfig
%postun -n libQt5SerialPort -p /sbin/ldconfig

%post   -n libQt5Sql -p /sbin/ldconfig
%postun -n libQt5Sql -p /sbin/ldconfig

%post   -n libQt5Svg -p /sbin/ldconfig
%postun -n libQt5Svg -p /sbin/ldconfig

%post   -n libQt5Test -p /sbin/ldconfig
%postun -n libQt5Test -p /sbin/ldconfig

%post   -n libQt5TextToSpeech -p /sbin/ldconfig
%postun -n libQt5TextToSpeech -p /sbin/ldconfig

%post   -n libQt5VirtualKeyboard -p /sbin/ldconfig
%postun -n libQt5VirtualKeyboard -p /sbin/ldconfig

%post   -n libQt5WaylandClient -p /sbin/ldconfig
%postun -n libQt5WaylandClient -p /sbin/ldconfig

%post   -n libQt5WebChannel -p /sbin/ldconfig
%postun -n libQt5WebChannel -p /sbin/ldconfig

%post   -n libQt5WebEngine -p /sbin/ldconfig
%postun -n libQt5WebEngine -p /sbin/ldconfig

%post   -n libQt5WebSockets -p /sbin/ldconfig
%postun -n libQt5WebSockets -p /sbin/ldconfig

%post   -n libQt5WebView -p /sbin/ldconfig
%postun -n libQt5WebView -p /sbin/ldconfig

%post   -n libQt5Widgets -p /sbin/ldconfig
%postun -n libQt5Widgets -p /sbin/ldconfig

%post   -n libQt5X11Extras -p /sbin/ldconfig
%postun -n libQt5X11Extras -p /sbin/ldconfig

%post   -n libQt5Xml -p /sbin/ldconfig
%postun -n libQt5Xml -p /sbin/ldconfig

%post   -n libQt5XmlPatterns -p /sbin/ldconfig
%postun -n libQt5XmlPatterns -p /sbin/ldconfig

%post   -n libEnginio -p /sbin/ldconfig
%postun -n libEnginio -p /sbin/ldconfig

%files common
%defattr(-,root,root)
%{_sysconfdir}/xdg/menus/applications-merged/development-qt5.menu
%if "%{_qt5_libdir}" != "%{_libdir}"
%dir %{_qt5_libdir}
%{_sysconfdir}/ld.so.conf.d/%{name}.conf
%endif
%{_bindir}/qtpaths*
%{_qt5_bindir}/qtpaths*
%{_bindir}/qcollectiongenerator*
%{_libdir}/qt5/bin/qcollectiongenerator
%dir %{_qt5_datadir}/phrasebooks
%{_qt5_datadir}/phrasebooks/*
#%dir %{_qt5_datadir}/qtvirtualkeyboard
#%{_qt5_datadir}/qtvirtualkeyboard/*
%dir %{_qt5_translationdir}
%{_qt5_translationdir}/qt_*.qm
%{_qt5_translationdir}/qtbase_*.qm
#%{_qt5_translationdir}/qtconfig_*.qm
%{_qt5_translationdir}/qtconnectivity_*.qm
%{_qt5_translationdir}/qtlocation_*.qm
%{_qt5_translationdir}/qtquickcontrols*.qm
%{_qt5_translationdir}/qtwebsockets*.qm
#
%{_datadir}/icons/hicolor/*/apps/qt5-logo.png
%{_datadir}/desktop-directories/development-qt5.directory
#%ifarch x86_64
#%{_datadir}/qt5/resources/icudtl.dat
#%endif
#%{_qt5_prefix}/LICENSE.GPL3
%doc qtbase/LICENSE.*
#README

%files plugins
%defattr(-,root,root)
#%{_qt5_prefix}/imports/Qt/labs
%dir %{_qt5_plugindir}
# TODO: move plugins to more appropriate library packages
%{_qt5_plugindir}/audio/
%{_qt5_plugindir}/bearer/
%{_qt5_plugindir}/generic/
%{_qt5_plugindir}/iconengines/
%{_qt5_plugindir}/imageformats/
%{_qt5_plugindir}/platforminputcontexts/
%{_qt5_plugindir}/platforms/
%{_qt5_plugindir}/platformthemes/
%exclude %{_qt5_plugindir}/platformthemes/libqgtk3.so
%{_qt5_plugindir}/qmltooling/
%ifarch arm
%{_qt5_plugindir}/video/videonode/libeglvideonode.so
%endif

%files -n libQt5Core
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Core.so.*

%files -n libQt53D
%defattr(-,root,root)
%{_bindir}/qgltf*
%{_libdir}/qt5/bin/qgltf
%{_libdir}/libQt53D*.so.*
%{_libdir}/libQt5EglFSDeviceIntegration.so.*
%{_libdir}/libQt5XcbQpa.so.*
%{_libdir}/qt5/plugins/egldeviceintegrations/libqeglfs-*-integration.so
%{_libdir}/qt5/plugins/geometryloaders/lib*geometryloader.so
%{_libdir}/qt5/plugins/sceneparsers/lib*.so
%{_libdir}/qt5/plugins/renderplugins/libscene2d.so
%{_libdir}/qt5/plugins/xcbglintegrations/libqxcb-egl-integration.so
%ifnarch arm
%{_libdir}/qt5/plugins/xcbglintegrations/libqxcb-glx-integration.so
%endif

%files -n libQt5Bluetooth
%defattr(-,root,root)
%{_libdir}/libQt5Bluetooth.so.*

%files -n libQt5Bodymovin
%defattr(-,root,root)
%{_libdir}/libQt5Bodymovin.so.*

%files -n libQt5Charts
%defattr(-,root,root)
%{_libdir}/libQt5Charts.so.*

%files -n libQt5Concurrent
%defattr(-,root,root)
%{_libdir}/libQt5Concurrent.so.*

#%files -n libQt5CLucene
#%defattr(-,root,root)
#%{_qt5_libdir}/libQt5CLucene.so.*

%files -n libQt5DataVisualization
%defattr(-,root,root)
%{_qt5_libdir}/libQt5DataVisualization.so.*

%files -n libQt5DBus
%defattr(-,root,root)
%{_bindir}/qdbus*
%{_bindir}/qdbuscpp2xml*
%{_bindir}/qdbusxml2cpp*
%{_bindir}/qdbusviewer*
%{_qt5_bindir}/qdbus
%{_qt5_bindir}/qdbuscpp2xml
%{_qt5_bindir}/qdbusxml2cpp
%{_qt5_bindir}/qdbusviewer
%{_qt5_libdir}/libQt5DBus.so.*

%files -n libQt5Declarative
%defattr(-,root,root)
#%{_qt5_libdir}/libQt5Declarative.*
%{_qt5_translationdir}/qtdeclarative_*.qm

%files -n libQt5Designer
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Designer.so.*

%files -n libQt5DesignerComponents
%defattr(-,root,root)
%{_qt5_libdir}/libQt5DesignerComponents.so.*

%files -n libQt5EglFsKmsSupport
%defattr(-,root,root)
%{_qt5_libdir}/libQt5EglFsKmsSupport.so.*

%files -n libQt5Gamepad
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Gamepad.so.*
%{_libdir}/qt5/plugins/gamepads/lib*.so

%files -n libQt5Gui
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Gui.so.*

%files -n libQt5Help
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Help.so.*

%files -n libQt5HunspellInputMethod
%defattr(-,root,root)
%{_libdir}/libQt5HunspellInputMethod.so.*

#%files -n libQt5Labs
#%defattr(-,root,root)
#%{_qt5_libdir}/libQt5Labs*.so.*

%files -n libQt5Location
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Location.so.*
%dir %{_libdir}/qt5/plugins/geoservices
%{_libdir}/qt5/plugins/geoservices/libqtgeoservices_*.so

%files -n libQt5Multimedia
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Multimedia.so.*
%{_qt5_libdir}/libQt5MultimediaGstTools.so.*
%{_qt5_translationdir}/qtmultimedia_*.qm
%{_qt5_plugindir}/playlistformats/libqtmultimedia_m3u.so
%{_qt5_plugindir}/mediaservice/libgstaudiodecoder.so
%{_qt5_plugindir}/mediaservice/libgstcamerabin.so
%{_qt5_plugindir}/mediaservice/libgstmediacapture.so
%{_qt5_plugindir}/mediaservice/libgstmediaplayer.so

%files -n libQt5MultimediaQuick
%defattr(-,root,root)
%{_libdir}/libQt5MultimediaQuick.so.*

%files -n libQt5MultimediaWidgets
%defattr(-,root,root)
%{_qt5_libdir}/libQt5MultimediaWidgets.so.*

%files -n libQt5Network
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Network.so.*
%{_qt5_libdir}/libQt5NetworkAuth.so.*

%files -n libQt5Nfc
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Nfc.so.*

%files -n libQt5OpenGL
%defattr(-,root,root)
%{_qt5_libdir}/libQt5OpenGL.so.*

%files -n libQt5Positioning
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Positioning.so.*
%{_qt5_libdir}/libQt5PositioningQuick.so.*
%dir %{_qt5_plugindir}/position
%{_qt5_plugindir}/position/libqtposition_*.so
%{_qt5_bindir}/qdistancefieldgenerator

%files -n libQt5PrintSupport
%defattr(-,root,root)
%{_qt5_libdir}/libQt5PrintSupport.so.*
%{_qt5_plugindir}/printsupport/libcupsprintersupport.so

%files -n libQt5Purchasing
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Purchasing.so.*

%files -n libQt5Qml
%defattr(-,root,root)
%{_bindir}/qml
%{_bindir}/qml-qt5
%{_bindir}/qmlcachegen*
%{_bindir}/qmlimportscanner*
%{_bindir}/qmlmin*
%{_bindir}/qmlpreview*
%{_bindir}/qmlprofiler*
%{_bindir}/qmlscene*
%{_bindir}/qmltestrunner*
%{_bindir}/qtattributionsscanner*
%{_bindir}/repc*
%{_qt5_bindir}/qml
%{_qt5_bindir}/qmlimportscanner
%{_qt5_bindir}/qmlmin
%{_qt5_bindir}/qmlpreview
%{_qt5_bindir}/qmlprofiler
%{_qt5_bindir}/qmlscene
%{_qt5_bindir}/qmltestrunner
%{_qt5_bindir}/qmlcachegen
%{_qt5_bindir}/qtattributionsscanner
%{_qt5_bindir}/repc
%{_qt5_libdir}/libQt5Qml.so.*
%dir %{_qt5_libdir}/qt5/qml
%{_qt5_libdir}/qt5/qml/*
#%{_qt5_translationdir}/qmlviewer_*.qm

%files -n libQt5Quick
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Quick.so.*
#%{_qt5_translationdir}/qtquick1_*.qm

%files -n libQt5QuickControls2
%defattr(-,root,root)
%{_qt5_libdir}/libQt5QuickControls2.so.*

%files -n libQt5QuickParticles
%defattr(-,root,root)
%{_qt5_libdir}/libQt5QuickParticles.so.*

%files -n libQt5QuickShapes
%defattr(-,root,root)
%{_qt5_libdir}/libQt5QuickShapes.so.*

%files -n libQt5QuickTemplates2
%defattr(-,root,root)
%{_qt5_libdir}/libQt5QuickTemplates2.so.*

%files -n libQt5QuickTest
%defattr(-,root,root)
%{_qt5_libdir}/libQt5QuickTest.so.*

%files -n libQt5QuickWidgets
%defattr(-,root,root)
%{_qt5_libdir}/libQt5QuickWidgets.so.*

%files -n libQt5RemoteObjects
%defattr(-,root,root)
%{_qt5_libdir}/libQt5RemoteObjects.so.*

%files -n libQt5Script
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Script.so.*
%{_qt5_translationdir}/qtscript_*.qm

%files -n libQt5ScriptTools
%defattr(-,root,root)
%{_qt5_libdir}/libQt5ScriptTools.so.*

%files -n libQt5Scxml
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Scxml.so.*

%files -n libQt5Sensors
%defattr(-,root,root)
%dir %{_qt5_plugindir}/sensorgestures
%{_qt5_plugindir}/sensorgestures/*
%dir %{_qt5_plugindir}/sensors
%{_qt5_plugindir}/sensors/*
%{_qt5_libdir}/libQt5Sensors.so.*

%files -n libQt5SerialPort
%defattr(-,root,root)
%{_qt5_libdir}/libQt5SerialBus.so.*
%{_qt5_libdir}/libQt5SerialPort.so.*
%{_datadir}/qt5/translations/qtserialport_*.qm

%files -n libQt5Sql
%defattr(-,root,root)
%dir %{_qt5_plugindir}/sqldrivers
%{_qt5_libdir}/libQt5Sql.so.*

%files -n libQt5Svg
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Svg.so.*

%files -n libQt5Test
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Test.so.*

%files -n libQt5TextToSpeech
%defattr(-,root,root)
%{_qt5_libdir}/libQt5TextToSpeech.so.*
%{_libdir}/qt5/plugins/texttospeech/libqtexttospeech_speechd.so

%files -n libQt5WaylandClient
%defattr(-,root,root)
%{_qt5_libdir}/libQt5WaylandClient.so.*
%dir %{_libdir}/qt5/plugins/wayland-decoration-client
%{_libdir}/qt5/plugins/wayland-decoration-client/libbradient.so
%dir %{_libdir}/qt5/plugins/wayland-graphics-integration-client
%{_libdir}/qt5/plugins/wayland-graphics-integration-client/*.so
%dir %{_libdir}/qt5/plugins/wayland-shell-integration
%{_libdir}/qt5/plugins/wayland-shell-integration/lib*.so

%files -n libQt5WaylandCompositor
%defattr(-,root,root)
%{_qt5_libdir}/libQt5WaylandCompositor.so.*
%dir %{_libdir}/qt5/plugins/wayland-graphics-integration-server
%{_libdir}/qt5/plugins/wayland-graphics-integration-server/lib*.so

%files -n libQt5WebChannel
%defattr(-,root,root)
%{_qt5_libdir}/libQt5WebChannel.so.*

%files -n libQt5WebView
%defattr(-,root,root)
%{_qt5_libdir}/libQt5WebView.so.*

%if "%{build_qtwebengine}" == "1"
%files -n libQt5WebEngine
%defattr(-,root,root)
#%{_qt5_datadir}/icudtl.dat
%{_qt5_libdir}/libQt5WebEngine.so.*
%{_qt5_libdir}/libQt5WebEngineCore.so.*
%{_qt5_libdir}/libQt5WebEngineWidgets.so.*
%{_qt5_libdir}/libQt5WebView.so.*
%{_libdir}/qt5/libexec/QtWebEngineProcess
%{_datadir}/qt5/resources/qtwebengine_*.pak
#%dir %{_libdir}/qt5/plugins/qtwebengine
#%{_libdir}/qt5/plugins/qtwebengine/libffmpegsumo.so
%{_qt5_translationdir}/qtwebengine_locales/*.pak
%{_qt5_translationdir}/qtwebengine_*.qm
%endif

%files -n libQt5VirtualKeyboard
%defattr(-,root,root)
%{_qt5_libdir}/libQt5VirtualKeyboard.so.*
%dir %{_libdir}/qt5/plugins/virtualkeyboard
%{_libdir}/qt5/plugins/virtualkeyboard/libqtvirtualkeyboard_*.so

#%files -n libQt5V8
#%defattr(-,root,root)
#%{_qt5_libdir}/libQt5V8.so.*

%files -n libQt5X11Extras
%defattr(-,root,root)
%{_qt5_libdir}/libQt5X11Extras.so.*

%files -n libQt5Xml
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Xml.so.*

%files -n libQt5XmlPatterns
%defattr(-,root,root)
%{_qt5_libdir}/libQt5XmlPatterns.so.*
%{_qt5_translationdir}/qtxmlpatterns_*.qm

%files -n libQt5WebSockets
%defattr(-,root,root)
%{_qt5_libdir}/libQt5WebSockets.so.*

%files -n libQt5Widgets
%defattr(-,root,root)
%{_qt5_libdir}/libQt5Widgets.so.*

%files devel
%defattr(-,root,root)
%{_sysconfdir}/rpm/macros.qt5
%{_sysconfdir}/profile.d/%{name}.csh
%{_sysconfdir}/profile.d/%{name}.sh
%{_bindir}/fixqt4headers.pl*
%ifnarch arm
%{_bindir}/qdoc*
%endif
%{_bindir}/qtplugininfo*
%{_bindir}/syncqt.pl*
%{_bindir}/lprodump*
%{_bindir}/lrelease*
%{_bindir}/lconvert*
%{_bindir}/lupdate*
%{_bindir}/moc*
%{_bindir}/qmake*
%{_bindir}/qmleasing*
%{_bindir}/qmllint*
#%{_bindir}/qt3to4
#%{_bindir}/qcollectiongenerator*
#%{_bindir}/qhelpconverter*
%{_bindir}/qdistancefieldgenerator*
%{_bindir}/qhelpgenerator*
%{_bindir}/qmlplugindump*
%{_bindir}/qlalr*
%{_bindir}/qscxmlc*
%{_bindir}/qtdiag*
%{_bindir}/qtwaylandscanner*
%{_bindir}/qvkgen*
%{_bindir}/rcc*
%{_bindir}/sdpscanner*
%{_bindir}/uic*
%{_bindir}/xmlpatterns*
%{_libdir}/qt5/bin/fixqt4headers.pl
%{_libdir}/qt5/bin/qscxmlc
%ifnarch arm
%{_qt5_bindir}/qdoc
%endif
%{_qt5_bindir}/syncqt.pl
%{_qt5_bindir}/lconvert
%{_qt5_bindir}/lprodump
%{_qt5_bindir}/lrelease*
%{_qt5_bindir}/lupdate*
%{_qt5_bindir}/moc
#%{_qt5_bindir}/qcollectiongenerator
#%{_qt5_bindir}/qhelpconverter
%{_qt5_bindir}/qhelpgenerator
%{_qt5_bindir}/qmake
%{_qt5_bindir}/qmleasing
%{_qt5_bindir}/qmllint
%{_qt5_bindir}/qmlplugindump
%{_qt5_bindir}/qlalr
%{_qt5_bindir}/qtdiag
%{_qt5_bindir}/qtplugininfo
%{_qt5_bindir}/qtwaylandscanner
%{_qt5_bindir}/qvkgen
%{_qt5_bindir}/rcc
%{_qt5_bindir}/sdpscanner
%{_qt5_bindir}/uic
%{_qt5_bindir}/xmlpatterns
%{_qt5_bindir}/xmlpatternsvalidator
%if "%{_qt5_headerdir}" != "%{_includedir}"
%dir %{_qt5_headerdir}
%endif
#%{_qt5_headerdir}/Qt3DCollision/
%dir %{_qt5_headerdir}/Qt*
%{_qt5_headerdir}/Qt*/*
#%{_qt5_headerdir}/Enginio
%{_qt5_libdir}/libQt5*.a
#%{_qt5_libdir}/libQt5*.la
%{_qt5_libdir}/libQt5*.so
%{_qt5_libdir}/libQt5*.prl
%dir %{_qt5_prefix}/lib/
%{_qt5_prefix}/lib/*.so
#%{_libdir}/libqtpng.*
#%{_qt5_libdir}/libEnginio.la
#%{_qt5_libdir}/libEnginio.prl
#%{_qt5_libdir}/libEnginio.so
#%{_qt5_libdir}/libqgsttools_p.prl
#%{_qt5_libdir}/libqgsttools_p.so
#%{_qt5_prefix}/tests/qt5/tst_*
#%{?build_phonon:%exclude %{_qt5_libdir}/libphonon.la}
#%{?build_phonon:%exclude %{_qt5_libdir}/libphonon.prl}
#%{?build_phonon:%exclude %{_qt5_libdir}/libphonon.so}
#
%{_qt5_libdir}/pkgconfig/*.pc
%dir %{_libdir}/cmake/Qt5*
%{_libdir}/cmake/Qt5*/*
#%{?build_phonon:%exclude %{_libdir}/pkgconfig/phonon.pc}
#
%dir %{_qt5_prefix}/mkspecs/
%{_qt5_prefix}/mkspecs/*
#%{_qt5_datadir}/q3porting.xml
#

%files apidocs
%defattr(-,root,root)
%{_qt5_docdir}/
#%{_qt5_examplesdir}/

#%files demos
#%defattr(-,root,root)
##%{_bindir}/qtdemo*
##%{_qt5_bindir}/qtdemo
##%{_qt5_demosdir}/

%files designer
%defattr(-,root,root)
%{_bindir}/assistant*
%{_bindir}/designer*
%{_bindir}/linguist*
%{_bindir}/pixeltool*
%{_qt5_bindir}/assistant*
%{_qt5_bindir}/designer*
%{_qt5_bindir}/linguist*
%{_qt5_bindir}/pixeltool*
%{_qt5_plugindir}/designer/
%{_qt5_translationdir}/assistant_*.qm
%{_qt5_translationdir}/designer_*.qm
%{_qt5_translationdir}/linguist_*.qm
#
%{_datadir}/applications/assistant-qt5.desktop
%{_datadir}/applications/designer-qt5.desktop
%{_datadir}/applications/linguist-qt5.desktop
%{_datadir}/icons/hicolor/*/apps/assistant-qt5.png
%{_datadir}/icons/hicolor/*/apps/designer-qt5.png
%{_datadir}/icons/hicolor/*/apps/linguist-qt5.png

#%files accessible
#%defattr(-,root,root)
#%dir %{_qt5_plugindir}/accessible
#%{_qt5_plugindir}/accessible/libqtaccessiblewidgets.so
#%{_qt5_plugindir}/accessible/libqtaccessiblequick.so

%files canbus
%defattr(-,root,root)
%{_bindir}/canbusutil*
%{_libdir}/qt5/bin/canbusutil
%dir %{_libdir}/qt5/plugins/canbus
%{_libdir}/qt5/plugins/canbus/lib*.so

%files gtk3
%defattr(-,root,root)
%{_qt5_plugindir}/platformthemes/libqgtk3.so

%files postgresql
%defattr(-,root,root)
%{_qt5_plugindir}/sqldrivers/libqsqlpsql.so

%files mysql
%defattr(-,root,root)
%{_qt5_plugindir}/sqldrivers/libqsqlmysql.so

%files odbc
%defattr(-,root,root)
%{_qt5_plugindir}/sqldrivers/libqsqlodbc.so

%files sqlite
%defattr(-,root,root)
%{_qt5_plugindir}/sqldrivers/libqsqlite.so

#%if "%{stage1}" != "1"
#%files sqlite2
#%defattr(-,root,root)
#%{_qt5_plugindir}/sqldrivers/libqsqlite2.so
#%endif

%files tds
%defattr(-,root,root)
%{_qt5_plugindir}/sqldrivers/libqsqltds.so

#%files -n libEnginio
#%defattr(-,root,root)
#%{_libdir}/libEnginio.so.*

%changelog
* Sun Aug 11 2019 Silvan Calarco <silvan.calarco@...> 5.13.0-3mamba
- fix problems in lib installation path (in .la files) by deleting them

* Fri Jul 05 2019 Silvan Calarco <silvan.calarco@...> 5.13.0-2mamba
- add .so symlinks to %{_qt5_prefix}/lib/

* Thu Jun 20 2019 Automatic Build System <autodist@...> 5.13.0-1mamba
- automatic version update by autodist

* Thu May 02 2019 Automatic Build System <autodist@...> 5.12.3-1mamba
- automatic version update by autodist

* Sat Mar 16 2019 Automatic Build System <autodist@...> 5.12.2-1mamba
- automatic version update by autodist

* Tue Feb 05 2019 Automatic Build System <autodist@...> 5.12.1-1mamba
- automatic version update by autodist

* Mon Dec 31 2018 Silvan Calarco <silvan.calarco@...> 5.12.0-2mamba
- fix for source and new packages

* Sun Dec 30 2018 Automatic Build System <autodist@...> 5.12.0-1mamba
- automatic version update by autodist

* Fri Nov 02 2018 Automatic Build System <autodist@...> 5.11.2-1mamba
- automatic version update by autodist

* Fri Jul 20 2018 Automatic Build System <autodist@...> 5.11.1-1mamba
- automatic version update by autodist

* Tue Jun 05 2018 Automatic Build System <autodist@...> 5.11.0-1mamba
- automatic version update by autodist

* Tue Feb 13 2018 Automatic Build System <autodist@...> 5.10.1-1mamba
- automatic version update by autodist

* Sat Jan 13 2018 Silvan Calarco <silvan.calarco@...> 5.10.0-1mamba
- update to 5.10.0

* Wed Oct 18 2017 Silvan Calarco <silvan.calarco@...> 5.9.2-2mamba
- libqt5-devel: removed requirement for libQt5Clucene

* Tue Oct 17 2017 Silvan Calarco <silvan.calarco@...> 5.9.2-1mamba
- update to 5.9.2

* Fri Dec 16 2016 Silvan Calarco <silvan.calarco@...> 5.7.1-1mamba
- update to 5.7.1

* Mon Dec 12 2016 Silvan Calarco <silvan.calarco@...> 5.7.0-2mamba
- rebuilt without Qt5WebEngine packaged apart; new subpackage libQt5WebView

* Tue Jun 21 2016 Automatic Build System <autodist@...> 5.7.0-1mamba
- automatic version update by autodist

* Wed Jun 08 2016 Automatic Build System <autodist@...> 5.6.1-1mamba
- automatic version update by autodist

* Thu May 05 2016 Silvan Calarco <silvan.calarco@...> 5.6.0-2mamba
- cleanups for now externally provided libQt5WebKit

* Tue Mar 29 2016 Automatic Build System <autodist@...> 5.6.0-1mamba
- automatic version update by autodist

* Sun Feb 14 2016 Silvan Calarco <silvan.calarco@...> 5.5.1-2mamba
- upstream patch backport to fix vlc full screen

* Tue Nov 17 2015 Automatic Build System <autodist@...> 5.5.1-1mamba
- automatic version update by autodist

* Sun Oct 11 2015 Automatic Build System <autodist@...> 5.5.0-1mamba
- automatic version update by autodist

* Sat Jun 20 2015 Silvan Calarco <silvan.calarco@...> 5.4.2-2mamba
- don't obsolete libqt5 to hopefully fix multiarch smart loop

* Mon Jun 08 2015 Automatic Build System <autodist@...> 5.4.2-1mamba
- automatic version update by autodist

* Fri May 01 2015 Automatic Build System <autodist@...> 5.4.1-1mamba
- automatic version update by autodist

* Sat Feb 14 2015 Silvan Calarco <silvan.calarco@...> 5.4.0-2mamba
- refreshed configure options
- disabled build of qtwebengine on 32 bit archs (chromium 32-bit link memory well known problem)

* Thu Feb 12 2015 Automatic Build System <autodist@...> 5.4.0-1mamba
- automatic version update by autodist

* Wed Sep 17 2014 Automatic Build System <autodist@...> 5.3.2-1mamba
- automatic version update by autodist

* Thu Jun 26 2014 Automatic Build System <autodist@...> 5.3.1-1mamba
- automatic version update by autodist

* Wed Jun 18 2014 Automatic Build System <autodist@...> 5.3.0-1mamba
- automatic version update by autodist

* Wed Feb 12 2014 Silvan Calarco <silvan.calarco@...> 5.2.1-2mamba
- rebuilt with libxcb 1.10

* Thu Feb 06 2014 Automatic Build System <autodist@...> 5.2.1-1mamba
- automatic version update by autodist

* Fri Dec 20 2013 Automatic Build System <autodist@...> 5.2.0-1mamba
- automatic version update by autodist

* Thu Aug 29 2013 Automatic Build System <autodist@...> 5.1.1-1mamba
- automatic version update by autodist

* Tue Jul 09 2013 Automatic Build System <autodist@...> 5.1.0-1mamba
- update to 5.1.0

* Thu Apr 11 2013 Automatic Build System <autodist@...> 5.0.2-1mamba
- automatic version update by autodist

* Wed Feb 27 2013 Automatic Build System <autodist@...> 5.0.1-1mamba
- automatic version update by autodist

* Fri Jan 11 2013 Silvan Calarco <silvan.calarco@...> 5.0.0-1mamba
- update to 5.0.0

* Sat Dec 01 2012 Automatic Build System <autodist@...> 4.8.4-1mamba
- automatic version update by autodist

* Thu Oct 11 2012 Automatic Build System <autodist@...> 4.8.3-1mamba
- automatic version update by autodist
- libQtCore: provide libqt = %{version} and libqt4 = %{version} (source edit)

* Fri Jul 20 2012 Silvan Calarco <silvan.calarco@...> 4.8.2-3mamba
- keep -egl switch only on arm. keep on well tested glx on x86 desktops
- enable OpenVG support (with Mesa >= 8.0.4-2mamba)

* Mon Jul 16 2012 Silvan Calarco <silvan.calarco@...> 4.8.2-2mamba
- install libwebcore.a and libjscore.arequired by libQtWebKit

* Wed Jun 27 2012 Silvan Calarco <silvan.calarco@...> 4.8.2-1mamba
- update to 4.8.2

* Fri Apr 13 2012 Silvan Calarco <silvan.calarco@...> 4.8.1-2mamba
- add explicit requirement for dynamically requested libicu library
- split libraries into their own subpackage; libQtCore obsoletes libqt4

* Wed Apr 04 2012 Silvan Calarco <silvan.calarco@...> 4.8.1-1mamba
- update to 4.8.1

* Sun Dec 18 2011 Silvan Calarco <silvan.calarco@...> 4.7.4-5mamba
- move libQtDesigner* to libQt4 and libQt4-devel packages to avoid installing libqt4-designer for non-devel environments

* Tue Dec 13 2011 Silvan Calarco <silvan.calarco@...> 4.7.4-4mamba
- rebuilt using EGL

* Tue Sep 20 2011 Silvan Calarco <silvan.calarco@...> 4.7.4-3mamba
- explicitly disable OpenVG until build system is fixed in Mesa (it requires gallium EGL which is disabled)

* Sat Sep 17 2011 Silvan Calarco <silvan.calarco@...> 4.7.4-2mamba
- rebuilt with openVG support

* Wed Sep 07 2011 Stefano Cotta Ramusino <stefano.cotta@...> 4.7.4-1mamba
- update to 4.7.4

* Wed May 04 2011 Automatic Build System <autodist@...> 4.7.3-1mamba
- automatic update by autodist
- libqt4-phonon: provide phonon_backend

* Sat Mar 05 2011 Automatic Build System <autodist@...> 4.7.2-1mamba
- automatic update by autodist

* Tue Nov 09 2010 Automatic Build System <autodist@...> 4.7.1-1mamba
- automatic update to 4.7.1 by autodist

* Sat Oct 16 2010 Automatic Build System <autodist@...> 4.7.0-2mamba
- automatic rebuild by autodist

* Wed Sep 29 2010 Automatic Build System <autodist@...> 4.7.0-1mamba
- automatic update by autodist

* Fri Jul 02 2010 Silvan Calarco <silvan.calarco@...> 4.6.3-3mamba
- rebuilt to fix libpng mismatch error

* Thu Jul 01 2010 Automatic Build System <autodist@...> 4.6.3-2mamba
- automatic rebuild by autodist

* Tue Jun 08 2010 Automatic Build System <autodist@...> 4.6.3-1mamba
- automatic update to 4.6.3 by autodist

* Thu Jun 03 2010 Silvan Calarco <silvan.calarco@...> 4.6.2-2mamba
- also create link to /usr/bin without -qt4 suffix to make them preferred to qt3's by default

* Mon Feb 15 2010 Automatic Build System <autodist@...> 4.6.2-1mamba
- automatic update to 4.6.2 by autodist

* Wed Jan 27 2010 Davide Madrisan <davide.madrisan@...> 4.6.1-2mamba
- provide the debug package

* Thu Jan 21 2010 Automatic Build System <autodist@...> 4.6.1-1mamba
- automatic update to 4.6.1 by autodist

* Thu Jan 07 2010 Automatic Build System <autodist@...> 4.6.0-1mamba
- update to 4.6.0

* Sat Oct 10 2009 Automatic Build System <autodist@...> 4.5.3-1mamba
- update to 4.5.3

* Mon Oct 05 2009 Silvan Calarco <silvan.calarco@...> 4.5.2-2mamba
- rebuilt with libjpeg 7

* Fri Jun 26 2009 Automatic Build System <autodist@...> 4.5.2-1mamba
- automatic update to 4.5.2 by autodist

* Thu May 28 2009 Silvan Calarco <silvan.calarco@...> 4.5.1-2mamba
- added patch that fixes a regression in SVG rendering

* Fri Apr 24 2009 Automatic Build System <autodist@...> 4.5.1-1mamba
- automatic update to 4.5.1 by autodist

* Thu Mar 05 2009 Silvan Calarco <silvan.calarco@...> 4.5.0-1mamba
- automatic update to 4.5.0 by autodist

* Sat Feb 28 2009 Silvan Calarco <silvan.calarco@...> 4.4.3-4mamba
- automatic rebuild by autodist

* Mon Jan 05 2009 Silvan Calarco <silvan.calarco@...> 4.4.3-3mamba
- move qdbus from devel to main package
- rebuilt against libmysql5

* Tue Oct 07 2008 Silvan Calarco <silvan.calarco@...> 4.4.3-2mamba
- removed conflicts with libphonon and libphonon-devel

* Mon Sep 29 2008 Silvan Calarco <silvan.calarco@...> 4.4.3-1mamba
- automatic update to 4.4.3 by autodist

* Fri Sep 19 2008 Silvan Calarco <silvan.calarco@...> 4.4.2-1mamba
- automatic update to 4.4.2 by autodist

* Fri Sep 05 2008 Silvan Calarco <silvan.calarco@...> 4.4.1-3mamba
- libqt4-phonon: remove requirement for libqt4-devel

* Thu Aug 28 2008 Aleph0 <aleph0@...> 4.4.1-2mamba
- create phonon subpackage

* Wed Aug 27 2008 Aleph0 <aleph0@...> 4.4.1-1mamba
- update to 4.4.1

* Thu May 29 2008 Aleph0 <aleph0@...> 4.4.0-1mamba
- update to 4.4.0
- fixed libqt4-qvfb.desktop
- build QtXmlPatterns (and drop -no-g++-exceptions), Phonon, and WebKit modules.
- enabled GStreamer support

* Sat Mar 01 2008 Silvan Calarco <silvan.calarco@...> 4.3.4-1mamba
- update to 4.3.4

* Fri Jan 11 2008 Aleph0 <aleph0@...> 4.3.3-1mamba
- update to 4.3.3
- move header files to %{_includedir}/qt4 to be FHS-friendly
- move libraries to %{_libdir}
- move data files to %{_datadir}/qt4
- provide an rpm macro file: %{_sysconfdir}/rpm/macros.qt4
- create symlinks to binaries from %{_bindir}

* Mon Nov 05 2007 Silvan Calarco <silvan.calarco@...> 4.3.2-1mamba
- update to 4.3.2

* Sat Sep 01 2007 Silvan Calarco <silvan.calarco@...> 4.3.1-3mamba
- profile: set QTDIR if not previously set and set QT4DIR

* Thu Aug 16 2007 Silvan Calarco <silvan.calarco@...> 4.3.1-2mamba
- run ldconfig on post script

* Wed Aug 15 2007 Silvan Calarco <silvan.calarco@...> 4.3.1-1mamba
- update to 4.3.1
- add provide for qt4-x11

* Wed Jul 04 2007 Aleph0 <aleph0@...> 4.3.0-1mamba
- update to 4.3.0

* Wed Mar 28 2007 Davide Madrisan <davide.madrisan@...> 4.2.3-1mamba
- update to version 4.2.3 by autospec (fixes several security issues)
- profile file renamed from libqt3 to libqt4
- use a less verbose description for the main package
- fixed url and licences info in the description of the main package
- create the %{_sysconfdir}/ld.so.conf.d/%{name}.conf file
- use sqlite system libraries instead of the qt4 private copy
- symlinks to libQtAssistantClient, libQtDesigner, and libQtDesignerComponents
  removed from the devel package to avoid broken symlinks if the package
  libqt4-designer is not installed
- qt4 plugins now require the main package with same version and release
- desktop file for designer4 modified to fit freedesktop standard
- new icon for designer4 desktop file
- removed all the unused %%define directives
- added a new menu for Qt4
- added a desktop file for assistant4 e linguist4
- enabled XShape and XKB support

* Sat Dec 09 2006 Silvan Calarco <silvan.calarco@...> 4.2.2-1qilnx
- update to version 4.2.2 by autospec

* Fri Oct 20 2006 Silvan Calarco <silvan.calarco@...> 3.3.6-1qilnx
- update to version 3.3.6 by autospec

* Mon Sep 18 2006 Silvan Calarco <silvan.calarco@...> 3.3.5-6qilnx
- added qvfb desktop menu icon

* Wed May 17 2006 Davide Madrisan <davide.madrisan@...> 3.3.5-5qilnx
- added a dektop file for qt-designer
- fixed package license syntax

* Mon May 15 2006 Silvan Calarco <silvan.calarco@...> 3.3.5-4qilnx
- add patch to increment max font size displayed (was 256 pixel = 184,
  set to 2048)

* Wed Dec 07 2005 Massimo Pintore <massimo.pintore@...> 3.3.5-3qilnx
- added qt3 and libqt3 as provides
- added script libqt.sh in %{_sysconfdir}/profile.d/ to set environment
  variables

* Wed Dec 07 2005 Silvan Calarco <silvan.calarco@...> 3.3.5-2qilnx
- added sqlite plugin

* Mon Sep 12 2005 Massimo Pintore <massimo.pintore@...> 3.3.5-1qilnx
- update to version 3.3.5 by autospec
- add tools patch to build the executables qembed and qvfb

* Thu Sep 08 2005 Massimo Pintore <massimo.pintore@...> 3.3.4-5qilnx
- rebuilt with the virtual frame buffer enabled (-qvfb)

* Wed Aug 31 2005 Davide Madrisan <davide.madrisan@...> 3.3.4-4qilnx
- add visibility patch to improve performance

* Wed Aug 24 2005 Davide Madrisan <davide.madrisan@...> 3.3.4-3qilnx
- rebuilt against gcc4
- fix build problem and buildkey issue with gcc4
- switched to %%majversion

* Tue Mar 15 2005 Silvan Calarco <silvan.calarco@...> 3.3.4-2qilnx
- delete in %%pre dir %{%{qtdir}}/mkspecs/default/ because it will be
  replaced by a symlink

* Mon Mar 14 2005 Silvan Calarco <silvan.calarco@...> 3.3.4-1qilnx
- update to version 3.3.4 by autospec

* Sat Dec 11 2004 Silvan Calarco <silvan.calarco@...> 3.3.3-5qilnx
- fixes for kde plugin dir in qtrc skeleton

* Fri Dec 10 2004 Silvan Calarco <silvan.calarco@...> 3.3.3-4qilnx
- documentation moved to devel package

* Fri Sep 24 2004 Silvan Calarco <silvan.calarco@...> 3.3.3-3qilnx
- fix for qmake that was missing

* Sat Sep 18 2004 Silvan Calarco <silvan.calarco@...> 3.3.3-2qilnx
- rebuilt with gcc 3.3.4 and Xorg 6.8.0

* Mon Aug 30 2004 Davide Madrisan <davide.madrisan@...> 3.3.3-1qilnx
- update to version 3.3.3 by autospec
- bugfixes and security fixes (CAN-2004-0691, CAN-2004-0692, CAN-2004-0693)

* Thu Jul 08 2004 Silvan Calarco <silvan.calarco@...> 3.3.2-3qilnx
- devel apps like qmake are in /usr/lib/qt3/bin and also as links in /usr/bin

* Wed Jun 30 2004 Silvan Calarco <silvan.calarco@...> 3.3.2-2qilnx
- rebuilt with Xorg 6.7.0

* Tue Apr 27 2004 Silvan Calarco <silvan.calarco@...> 3.3.2-1qilnx
- new version build

* Mon Nov 24 2003 Silvan Calarco <silvan.calarco@...> 3.2.3-2qilnx
- moved binaries to %bindir
- moved documentation to /usr/share/qt3/doc (as looked for by kde)

* Fri Nov 21 2003 Silvan Calarco <silvan.calarco@...> 3.2.3-1qilnx
- new version rebuild

* Mon Nov 03 2003 Silvan Calarco <silvan.calarco@...> 3.2.2-1qilnx
- new version rebuild
- added mysql and odbc support

* Wed Sep 17 2003 Silvan Calarco <silvan.calarco@...> 3.2.1-1qilnx
- new version rebuild

* Tue Jul 18 2003 Silvan Calarco <silvan.calarco@...> 3.1.2-4qilnx
- rebuild with postgresql plugin support

* Tue Jun 19 2003 Silvan Calarco <silvan.calarco@...> 3.1.2-3qilnx
- added default profile in /etc/skel

* Sun May 25 2003 Silvan Calarco <silvan.calarco@...> 3.1.2-2qilnx
- moved prefix from /usr/lib/qt to /usr/lib/qt3
- added ld.so.conf configuration
- moved designer binaries to its own package

* Wed May 21 2003 Silvan Calarco <silvan.calarco@...> 3.1.2-1qilnx
- first build