From 4728694f0bd9984b287326160f8a8b3a937cf324 Mon Sep 17 00:00:00 2001
From: François Andriot <albator78@libertysurf.fr>
Date: Mon, 28 Sep 2026 21:15:33 +0200
Subject: RPM: update dependencies packages (merge from r14.1.x)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: François Andriot <albator78@libertysurf.fr>
---
 redhat/dependencies/akode/akode.spec               |   29 +-
 redhat/dependencies/arts/arts.spec                 |   25 +-
 redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec     |    1 +
 redhat/dependencies/dbus-tqt/dbus-tqt.spec         |  192 ---
 redhat/dependencies/libcaldav/libcaldav.spec       |    2 +-
 redhat/dependencies/libcarddav/libcarddav.spec     |    2 +-
 redhat/dependencies/polkit-tqt/polkit-tqt.spec     |    1 +
 redhat/dependencies/pytqt/pytqt.spec               |   16 +-
 redhat/dependencies/sip4-tqt/sip4-tqt.spec         |    3 +-
 redhat/dependencies/tqca-tls/tqca-tls.spec         |   10 +-
 redhat/dependencies/tqscintilla/tqscintilla.spec   |    2 +
 redhat/dependencies/tqt/build-examples.sh          |   36 +
 redhat/dependencies/tqt/tqt.spec                   | 1464 +++++++++++++++++++
 redhat/dependencies/tqt/trinity-tqt-rpmlintrc      |    1 +
 redhat/dependencies/tqt3/build-examples.sh         |   36 -
 redhat/dependencies/tqt3/tqt3.spec                 | 1469 --------------------
 redhat/dependencies/tqt3/trinity-tqt3-rpmlintrc    |    1 -
 redhat/dependencies/tqtinterface/tqtinterface.spec |  255 ----
 18 files changed, 1560 insertions(+), 1985 deletions(-)
 delete mode 100644 redhat/dependencies/dbus-tqt/dbus-tqt.spec
 create mode 100644 redhat/dependencies/tqt/build-examples.sh
 create mode 100644 redhat/dependencies/tqt/tqt.spec
 create mode 100644 redhat/dependencies/tqt/trinity-tqt-rpmlintrc
 delete mode 100644 redhat/dependencies/tqt3/build-examples.sh
 delete mode 100644 redhat/dependencies/tqt3/tqt3.spec
 delete mode 100644 redhat/dependencies/tqt3/trinity-tqt3-rpmlintrc
 delete mode 100644 redhat/dependencies/tqtinterface/tqtinterface.spec

diff --git a/redhat/dependencies/akode/akode.spec b/redhat/dependencies/akode/akode.spec
index b1a183a92..e3fa7ed0d 100644
--- a/redhat/dependencies/akode/akode.spec
+++ b/redhat/dependencies/akode/akode.spec
@@ -24,17 +24,6 @@
 %if "%{?tde_version}" == ""
 %define tde_version 14.2.0
 %endif
-%define tde_prefix /opt/trinity
-%define tde_bindir %{tde_prefix}/bin
-%define tde_datadir %{tde_prefix}/share
-%define tde_docdir %{tde_datadir}/doc
-%define tde_includedir %{tde_prefix}/include
-%define tde_libdir %{tde_prefix}/%{_lib}
-%define tde_mandir %{tde_datadir}/man
-%define tde_tdeappdir %{tde_datadir}/applications/tde
-%define tde_tdedocdir %{tde_docdir}/tde
-%define tde_tdeincludedir %{tde_includedir}/tde
-%define tde_tdelibdir %{tde_libdir}/trinity
 
 %if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
 %define libakode %{_lib}akode
@@ -59,7 +48,6 @@ License:	GPLv2+
 
 Source0:	%{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
 
-Prefix:		%{tde_prefix}
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	trinity-tde-cmake >= %{tde_version}
@@ -73,8 +61,12 @@ BuildRequires:	tqt3-dev-tools >= 3.5.0
 # FLAC support
 %define _with_flac --with-flac
 %if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?pclinuxos}
+BuildRequires: %{_lib}flac12-devel
+%else
 BuildRequires: %{_lib}flac-devel
 %endif
+%endif
 %if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
 BuildRequires: flac-devel
 %endif
@@ -85,13 +77,16 @@ BuildRequires: flac-devel
 %if 0%{?mgaversion} || 0%{?mdkversion}
 BuildRequires: %{_lib}jack-devel
 %endif
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%if 0%{?rhel} >= 10
+BuildRequires: pipewire-jack-audio-connection-kit-devel
+%endif
+%if ( 0%{?rhel} && 0%{?rhel} <= 9 ) || 0%{?fedora} || 0%{?suse_version}
 BuildRequires: jack-audio-connection-kit-devel
 %endif
 %endif
 
 # SAMPLERATE support
-%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos} || 0%{?suse_version}
 %define _with_libsamplerate --with-libsamplerate
 %if 0%{?mdkversion} || 0%{?mgaversion}
 BuildRequires: %{_lib}samplerate-devel
@@ -130,7 +125,7 @@ BuildRequires:		libmad-devel
 %if 0%{?suse_version}
 BuildRequires: alsa-devel
 %else
-%if "%{?distribution}" == "OpenMandriva Lx"
+%if 0%{?mdkver} >= 5000000
 BuildRequires: %{_lib}asound-devel
 %else
 BuildRequires: alsa-lib-devel
@@ -139,7 +134,11 @@ BuildRequires: alsa-lib-devel
 
 # VORBIS support
 %if 0%{?mdkver} || 0%{?mgaversion}
+%if 0%{?pclinuxos}
+%define libvorbis_devel %{_lib}vorbis0-devel
+%else
 %define libvorbis_devel %{_lib}vorbis-devel
+%endif
 %else
 %define libvorbis_devel libvorbis-devel
 %endif
diff --git a/redhat/dependencies/arts/arts.spec b/redhat/dependencies/arts/arts.spec
index bd354374d..60b64f8e4 100644
--- a/redhat/dependencies/arts/arts.spec
+++ b/redhat/dependencies/arts/arts.spec
@@ -65,25 +65,38 @@ Source1:	%{name}-rpmlintrc
 
 BuildRequires:	libtqt3-mt-devel >= 3.5.0
 BuildRequires:	tqt3-dev-tools >= 3.5.0
+BuildRequires:	trinity-filesystem >= %{tde_version}
 
 BuildRequires:	trinity-tde-cmake >= %{tde_version}
 BuildRequires:	gcc-c++
 BuildRequires:	pkgconfig
 
-BuildRequires:	audiofile-devel
 BuildRequires:	glib2-devel
 BuildRequires:	gsl-devel
 
+# AUDIOFILE support
+%if 0%{?rhel} >= 10
+%else
+%define with_audiofile 1
+%endif
+%if 0%{?with_audiofile}
+BuildRequires:	audiofile-devel
+%endif
+
 # VORBIS support
 %if 0%{?mdkver} || 0%{?mgaversion}
+%if 0%{?pclinuxos}
+%define libvorbis_devel %{_lib}vorbis0-devel
+%else
 %define libvorbis_devel %{_lib}vorbis-devel
+%endif
 %else
 %define libvorbis_devel libvorbis-devel
 %endif
 BuildRequires: %{libvorbis_devel}
 
 # ALSA support
-%if "%{?distribution}" == "OpenMandriva Lx"
+%if 0%{?mdkver} >= 5000000
 %define alsa_devel %{_lib}asound-devel
 %else
 %define alsa_devel alsa-lib-devel
@@ -102,6 +115,9 @@ BuildRequires:	esound-devel
 %if 0%{?rhel} >= 5 || 0%{?fedora}
 %define jack_devel jack-audio-connection-kit-devel
 %endif
+%if 0%{?rhel} >= 10
+%define jack_devel pipewire-jack-audio-connection-kit-devel
+%endif
 %if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion}
 %define jack_devel libjack-devel
 %endif
@@ -143,7 +159,6 @@ BuildRequires:		%{mad_devel}
 %endif
 
 Requires:		libtqt3-mt >= 3.5.0
-Requires:		audiofile
 
 %if "%{?tde_prefix}" == "/usr"
 Obsoletes:	arts < %{?epoch:%{epoch}:}%{version}-%{release}
@@ -194,7 +209,9 @@ Obsoletes:	arts-devel < %{?epoch:%{epoch}:}%{version}-%{release}
 %endif
 
 Requires:	%{alsa_devel}
+%if 0%{?with_audiofile}
 Requires:	audiofile-devel
+%endif
 %{?libvorbis_devel:Requires: %{libvorbis_devel}}
 %{?with_esound:Requires: esound-devel}
 %{?with_libmad:Requires: %{mad_devel}}
@@ -284,7 +301,7 @@ fi
   -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
   \
   -DWITH_ALSA=ON \
-  -DWITH_AUDIOFILE=ON \
+  %{?with_audiofile:-DWITH_AUDIOFILE=ON} %{!?with_audiofile:-DWITH_AUDIOFILE=OFF} \
   -DWITH_VORBIS=ON \
   %{?with_libmad:-DWITH_MAD=ON} %{!?with_libmad:-DWITH_MAD=OFF} \
   %{?with_esound:-DWITH_ESOUND=ON} %{!?with_esound:-DWITH_ESOUND=OFF} \
diff --git a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec
index a4c5cc399..4032a196e 100644
--- a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec
+++ b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt.spec
@@ -173,6 +173,7 @@ fi
   \
   -DBIN_INSTALL_DIR=%{_bindir} \
   -DINCLUDE_INSTALL_DIR=%{_includedir} \
+  -DLIB_INSTALL_DIR=%{_libdir} \
   ..
 
 %__make %{?_smp_mflags} || %__make
diff --git a/redhat/dependencies/dbus-tqt/dbus-tqt.spec b/redhat/dependencies/dbus-tqt/dbus-tqt.spec
deleted file mode 100644
index 12a896803..000000000
--- a/redhat/dependencies/dbus-tqt/dbus-tqt.spec
+++ /dev/null
@@ -1,192 +0,0 @@
-#
-# spec file for package dbus-tqt (version R14)
-#
-# Copyright (c) 2014 Trinity Desktop Environment
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-#
-# Please submit bugfixes or comments via http://www.trinitydesktop.org/
-#
-
-# TDE variables
-%define tde_epoch 2
-%if "%{?tde_version}" == ""
-%define tde_version 14.1.2
-%endif
-
-%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
-%define libdbus %{_lib}dbus
-%else
-%define libdbus libdbus
-%endif
-
-
-Name:		trinity-dbus-tqt
-Epoch:		%{tde_epoch}
-Version:	0.63
-Release:	%{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
-Summary:	Simple inter-process messaging system
-Group:		System/Libraries
-URL:		http://www.trinitydesktop.org/
-
-%if 0%{?suse_version}
-License:	GPL-2.0+
-%else
-License:	GPLv2+
-%endif
-
-#Vendor:		Trinity Project
-#Packager:	Francois Andriot <francois.andriot@free.fr>
-
-Prefix:		/usr
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0:	%{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-
-BuildRequires:	libtqt3-mt-devel >= 3.5.0
-BuildRequires:	tqt3-dev-tools >= 3.5.0
-
-BuildRequires:	trinity-tde-cmake >= %{tde_version}
-BuildRequires:	gcc-c++
-BuildRequires:	pkgconfig
-
-# DBUS support
-%if 0%{?suse_version}
-BuildRequires:	dbus-1-devel
-%else
-BuildRequires:	dbus-devel
-%endif
-
-%description
-D-BUS is a message bus, used for sending messages between applications.
-Conceptually, it fits somewhere in between raw sockets and CORBA in
-terms of complexity.
-
-This package provides the TQt-based shared library for applications using the
-Qt interface to D-BUS.
-
-See the dbus description for more information about D-BUS in general.
-
-##########
-
-%package -n %{libdbus}-tqt-1-0
-Summary:		Simple inter-process messaging system (TQt-based shared library)
-Group:			System/Libraries
-Provides:		libdbus-tqt-1-0 = %{?epoch:%{epoch}:}%{version}-%{release}
-
-Obsoletes:		trinity-dbus-tqt < %{?epoch:%{epoch}:}%{version}-%{release}
-Provides:		trinity-dbus-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
-
-%description -n %{libdbus}-tqt-1-0
-D-BUS is a message bus, used for sending messages between applications.
-Conceptually, it fits somewhere in between raw sockets and CORBA in
-terms of complexity.
-
-This package provides the TQt-based shared library for applications using the
-Qt interface to D-BUS.
-
-See the dbus description for more information about D-BUS in general.
-
-%post -n %{libdbus}-tqt-1-0
-/sbin/ldconfig || :
-
-%postun -n %{libdbus}-tqt-1-0
-/sbin/ldconfig || :
-
-%files -n %{libdbus}-tqt-1-0
-%defattr(-,root,root,-)
-%{_libdir}/libdbus-tqt-1.so.0
-%{_libdir}/libdbus-tqt-1.so.0.0.0
-
-##########
-
-%package -n %{libdbus}-tqt-1-devel
-Summary:		Simple inter-process messaging system (TQt interface)
-Group:			Development/Libraries/C and C++
-Provides:		libdbus-tqt-1-devel = %{?epoch:%{epoch}:}%{version}-%{release}
-Requires:		%{libdbus}-tqt-1-0 = %{?epoch:%{epoch}:}%{version}-%{release}
-
-Obsoletes:		trinity-dbus-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release}
-Provides:		trinity-dbus-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
-
-%if 0%{?suse_version}
-Requires:	dbus-1-devel
-%else
-Requires:	dbus-devel
-%endif
-
-%description -n %{libdbus}-tqt-1-devel
-D-BUS is a message bus, used for sending messages between applications.
-Conceptually, it fits somewhere in between raw sockets and CORBA in
-terms of complexity.
-
-This package provides the TQt-based shared library for applications using the
-Qt interface to D-BUS.
-
-See the dbus description for more information about D-BUS in general.
-
-%post -n %{libdbus}-tqt-1-devel
-/sbin/ldconfig || :
-
-%postun -n %{libdbus}-tqt-1-devel
-/sbin/ldconfig || :
-
-%files -n %{libdbus}-tqt-1-devel
-%defattr(-,root,root,-)
-%{_includedir}/dbus-1.0/*
-%{_libdir}/libdbus-tqt-1.so
-%{_libdir}/libdbus-tqt-1.la
-%{_libdir}/pkgconfig/dbus-tqt.pc
-
-##########
-
-%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
-%debug_package
-%endif
-
-##########
-
-%prep
-%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-
-
-%build
-unset QTDIR QTINC QTLIB
-
-if ! rpm -E %%cmake|grep -e 'cd build\|cd ${CMAKE_BUILD_DIR:-build}'; then
-  %__mkdir_p build
-  cd build
-fi
-
-%cmake \
-  -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-  -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
-  -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
-  -DCMAKE_SKIP_RPATH=ON \
-  -DCMAKE_VERBOSE_MAKEFILE=ON \
-  -DWITH_GCC_VISIBILITY=OFF \
-  \
-  -DINCLUDE_INSTALL_DIR=%{_includedir} \
-  -DLIB_INSTALL_DIR=%{_libdir} \
-  ..
-
-%__make %{?_smp_mflags}
-
-
-%install
-%__rm -rf %{?buildroot}
-%__make install DESTDIR=%{?buildroot} -C build
-
-
-%clean
-%__rm -rf %{?buildroot}
-
-
-%changelog
diff --git a/redhat/dependencies/libcaldav/libcaldav.spec b/redhat/dependencies/libcaldav/libcaldav.spec
index 774c4dc27..9c825bf83 100644
--- a/redhat/dependencies/libcaldav/libcaldav.spec
+++ b/redhat/dependencies/libcaldav/libcaldav.spec
@@ -60,7 +60,7 @@ BuildRequires:	libtool
 BuildRequires:	fdupes
 
 # GTK2 support
-%if 0%{?mdkver}
+%if 0%{?mdkver} >= 5000000
 BuildRequires:	%{_lib}gtk+2.0-devel
 %else
 %if 0%{?rhel} == 4
diff --git a/redhat/dependencies/libcarddav/libcarddav.spec b/redhat/dependencies/libcarddav/libcarddav.spec
index 5f2f5e6ab..89e5eed3a 100644
--- a/redhat/dependencies/libcarddav/libcarddav.spec
+++ b/redhat/dependencies/libcarddav/libcarddav.spec
@@ -73,7 +73,7 @@ BuildRequires:	libtool
 %{?libcurl_devel:BuildRequires: %{libcurl_devel}}
 
 # GTK2 support
-%if 0%{?mdkver}
+%if 0%{?mdkver} >= 5000000
 BuildRequires:	%{_lib}gtk+2.0-devel
 %else
 %if 0%{?rhel} == 4
diff --git a/redhat/dependencies/polkit-tqt/polkit-tqt.spec b/redhat/dependencies/polkit-tqt/polkit-tqt.spec
index 88062b209..6f94da537 100644
--- a/redhat/dependencies/polkit-tqt/polkit-tqt.spec
+++ b/redhat/dependencies/polkit-tqt/polkit-tqt.spec
@@ -179,6 +179,7 @@ This package contains example files and applications.
 %{_bindir}/polkit-tqt-agent-example
 %{_bindir}/polkit-tqt-example
 %{_bindir}/polkit-tqt-example-helper
+%dir %{_datadir}/apps/
 %{_datadir}/apps/polkit-tqt/
 %{_datadir}/dbus-1/system-services/org.tqt.policykit.examples.service
 %{_datadir}/polkit-1/actions/org.tqt.policykit.examples.policy
diff --git a/redhat/dependencies/pytqt/pytqt.spec b/redhat/dependencies/pytqt/pytqt.spec
index 3bf887bba..ed7effad6 100644
--- a/redhat/dependencies/pytqt/pytqt.spec
+++ b/redhat/dependencies/pytqt/pytqt.spec
@@ -83,16 +83,15 @@ BuildRequires:	%{python}
 BuildRequires:	%{python}-devel
 
 # MESA support
-%if 0%{?rhel} || 0%{?fedora}
+%if 0%{?fedora} || 0%{?rhel}
 BuildRequires: mesa-libGL-devel
 BuildRequires: mesa-libGLU-devel
 %endif
-%if 0%{?mdkversion} || 0%{?mgaversion}
-%if "%{?distribution}" == "OpenMandriva Lx"
-BuildRequires: %{_lib}glu-devel
-%else
-BuildRequires: mesaglu-devel
+%if 0%{?mgaversion} || 0%{?pclinuxos}
+BuildRequires: %{_lib}mesaglu1-devel
 %endif
+%if 0%{?mdkver} >= 5000000
+BuildRequires: %{_lib}glu-devel
 %endif
 %if 0%{?suse_version}
 BuildRequires: Mesa-libGL-devel
@@ -127,6 +126,7 @@ same way in both languages (with syntax differences, of course)
 %package -n pytqt
 Summary:	TQt bindings for Python
 Group:		Development/Libraries/Python
+Requires:	trinity-filesystem >= %{tde_version}
 Requires:	sip4-tqt >= %{?epoch:%{epoch}:}4.10.5
 Requires:	libtqt3-mt >= 3.5.0
 Obsoletes:	python-tqt < %{?epoch:%{epoch}:}%{version}-%{release}
@@ -145,7 +145,7 @@ same way in both languages (with syntax differences, of course)
 %defattr(-,root,root,-)
 %doc NEWS README
 %dir %{python_sitearch}/PyTQt
-%if 0%{?mdkver} || 0%{?pclinuxos} || 0%{?rhel} == 7 || 0%{?suse_version}
+%if 0%{?mdkversion} || 0%{?pclinuxos} || 0%{?rhel} == 7 || 0%{?suse_version}
 %{python_sitearch}/PyTQt/__init__.py*
 %if 0%{?rhel} == 7
 %{python_sitearch}/PyTQt/__pycache__/__init__.*.pyc
@@ -235,7 +235,7 @@ packages based on them, like PyTDE.
 
 %files -n pytqt-devel
 %defattr(-,root,root,-)
-%if 0%{?mdkver} || 0%{?pclinuxos} || 0%{?rhel} == 7 || 0%{?suse_version}
+%if 0%{?mdkversion} || 0%{?pclinuxos} || 0%{?rhel} == 7 || 0%{?suse_version}
 %{python_sitearch}/PyTQt/pytqtconfig.py*
 %if 0%{?rhel} == 7
 %{python_sitearch}/PyTQt/__pycache__/pytqtconfig.*.pyc
diff --git a/redhat/dependencies/sip4-tqt/sip4-tqt.spec b/redhat/dependencies/sip4-tqt/sip4-tqt.spec
index 7bbda63e5..278ee8347 100644
--- a/redhat/dependencies/sip4-tqt/sip4-tqt.spec
+++ b/redhat/dependencies/sip4-tqt/sip4-tqt.spec
@@ -103,6 +103,7 @@ specificity towards C++ and Python.
 %package -n sip4-tqt
 Summary:	Python/C++ bindings generator (Runtime Library)
 Group:		Development/Tools/Building
+Requires:	trinity-filesystem >= %{tde_version}
 Requires:	%{python}
 
 %description -n sip4-tqt
@@ -113,7 +114,7 @@ specificity towards C++ and Python.
 %files -n sip4-tqt
 %defattr(-,root,root,-)
 %{python_sitearch}/sip_tqt.so
-%if "%{?distribution}" == "OpenMandriva Lx" || 0%{?pclinuxos} || 0%{?rhel} == 7 || 0%{?suse_version}
+%if 0%{?mdkversion} || 0%{?pclinuxos} || 0%{?rhel} == 7 || 0%{?suse_version}
 %{python_sitearch}/sip_tqt_config.py*
 %{python_sitearch}/sip_tqt_distutils.py*
 %if 0%{?rhel} == 7
diff --git a/redhat/dependencies/tqca-tls/tqca-tls.spec b/redhat/dependencies/tqca-tls/tqca-tls.spec
index 5074231aa..1c2ba7a21 100644
--- a/redhat/dependencies/tqca-tls/tqca-tls.spec
+++ b/redhat/dependencies/tqca-tls/tqca-tls.spec
@@ -109,7 +109,11 @@ contains the TLS plugin.
 
 %build
 unset QTDIR QTINC QTLIB
-export PKG_CONFIG_PATH="%{_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+
+if ! rpm -E %%cmake|grep -e 'cd build\|cd ${CMAKE_BUILD_DIR:-build}'; then
+  %__mkdir_p build
+  cd build
+fi
 
 %cmake \
   -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
@@ -124,7 +128,9 @@ export PKG_CONFIG_PATH="%{_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
   -DTQT_LIBRARY_DIRS=%{_libdir} \
   -DTQT_LIBRARIES=tqt-mt \
   \
-  -DWITH_ALL_OPTIONS="ON"
+ -DWITH_ALL_OPTIONS="ON" \
+ \
+  ..
 
 %__make %{?_smp_mflags} || %__make
 
diff --git a/redhat/dependencies/tqscintilla/tqscintilla.spec b/redhat/dependencies/tqscintilla/tqscintilla.spec
index e7a0b6051..ae40dd47d 100644
--- a/redhat/dependencies/tqscintilla/tqscintilla.spec
+++ b/redhat/dependencies/tqscintilla/tqscintilla.spec
@@ -53,6 +53,7 @@ Source0:		%{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
 Source1:		trinity-tqscintilla-rpmlintrc
 
 BuildRequires:	trinity-tdelibs-devel >= %{tde_version}
+BuildRequires:	trinity-filesystem >= %{tde_version}
 
 BuildRequires:	trinity-tde-cmake >= %{tde_version}
 BuildRequires:	tqt3-dev-tools >= 3.5.0
@@ -159,6 +160,7 @@ Summary:	TQScintilla Documentation
 Group:		Development/Libraries/C and C++
 Provides:	libtqscintilla-doc = %{?epoch:%{epoch}:}%{version}-%{release}
 Requires:	%{libtqscintilla}7 = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires:	trinity-filesystem >= %{tde_version}
 
 %description -n %{libtqscintilla}-doc
 This package contains the documentation for tqscintilla.
diff --git a/redhat/dependencies/tqt/build-examples.sh b/redhat/dependencies/tqt/build-examples.sh
new file mode 100644
index 000000000..f62d83b85
--- /dev/null
+++ b/redhat/dependencies/tqt/build-examples.sh
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+BUILDDIR=$PWD
+export QTDIR=/usr/share/tqt3
+
+# first copy over the libtqt-mt.so build configuration of .qmake.cache
+cp /usr/share/tqt3/.qmake.cache ./.qmake.cache
+
+# Now compile the examples. The themes example
+# won't work since ntqconfig.h is not really correct with the
+# ifdef's for the TQT_NO_xyz_STYLE, so we use make -k to continue
+cd examples; qmake -o Makefile examples.pro; make -k
+
+# Now compile the tutorial.
+cd $BUILDDIR/tutorial; qmake -o Makefile tutorial.pro; make
+
+# Then the designer examples. 
+cd $BUILDDIR/tools/designer/examples
+for a in `find . -type d -maxdepth 1 -mindepth 1`; do
+        cd $a && qmake -o Makefile $a.pro; make; cd ..;
+done
+
+# There is a bigger sql example in book/ with more subdirectories:
+cd book
+for a in `find . -type d -maxdepth 1 -mindepth 1`; do
+        cd $a && qmake -o Makefile $a.pro; make; cd ..;
+done
+
+# Finally, build the linguist tutorials:
+cd $BUILDDIR/tools/linguist/tutorial
+for a in `find . -type d -maxdepth 1 -mindepth 1`; do 
+	cd $a && qmake -o Makefile $a.pro; make; cd ..; 
+done
+
+# Return to the build directory
+cd $BUILDDIR 
diff --git a/redhat/dependencies/tqt/tqt.spec b/redhat/dependencies/tqt/tqt.spec
new file mode 100644
index 000000000..988b22d77
--- /dev/null
+++ b/redhat/dependencies/tqt/tqt.spec
@@ -0,0 +1,1464 @@
+#
+# spec file for package tqt3 (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# TDE variables
+%if "%{?tde_version}" == ""
+%define tde_version 14.2.0
+%endif
+
+%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
+%define libtqt3 %{_lib}tqt3
+%else
+%define libtqt3 libtqt3
+%endif
+
+
+Name:		trinity-tqt
+Version:	3.5.0
+Release:	%{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+Summary:	TQt GUI Library, Version 3
+Group:		System/GUI/Other
+URL:		http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License:	GPL-2.0+
+%else
+License:	GPLv2+
+%endif
+
+#Vendor:		Trinity Project
+#Packager:	Francois Andriot <francois.andriot@free.fr>
+
+Prefix:		/usr
+BuildRoot:	%{_tmppath}/%{name}-%{tde_version}-%{release}-root-%(%{__id_u} -n)
+
+Source0:	%{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
+Source1:	build-examples.sh
+Source2:	trinity-tqt-rpmlintrc
+
+BuildRequires: glibc-devel
+%if "%{?c_compiler}" != "clang"
+BuildRequires: gcc-c++
+%endif
+BuildRequires: make
+
+BuildRequires: desktop-file-utils
+BuildRequires: perl
+BuildRequires: sed
+BuildRequires: findutils
+BuildRequires: tar
+
+# ZLIB support
+BuildRequires: zlib-devel
+
+# JPEG support
+%if 0%{?mdkver} || 0%{?mgaversion}
+%define libjpeg %{_lib}jpeg
+%else
+%define libjpeg libjpeg
+%endif
+%{?libjpeg:BuildRequires: %{libjpeg}-devel}
+
+# MNG support
+%if 0%{?mdkver} || 0%{?mgaversion}
+%define libmng %{_lib}mng
+%else
+%define libmng libmng
+%endif
+%{?libmng:BuildRequires: %{libmng}-devel}
+
+# PNG support
+%if 0%{?mdkver} || 0%{?mgaversion}
+%define libpng %{_lib}png
+%else
+%define libpng libpng
+%endif
+%{?libpng:BuildRequires: %{libpng}-devel}
+
+# GIF support
+BuildRequires: giflib-devel
+
+# FREETYPE support
+BuildRequires: freetype-devel
+
+# FONTCONFIG support
+BuildRequires: fontconfig-devel
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires:	update-desktop-files
+%endif
+
+# CUPS support
+BuildRequires: cups-devel
+
+# GLIB2 support
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6
+%define with_glibmainloop 1
+%define glib2_devel glib2-devel
+%endif
+%{?glib2_devel:BuildRequires: %{glib2_devel}}
+
+# UUID support
+%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6
+%define uuid_devel libuuid-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%define uuid_devel %{_lib}uuid-devel
+%endif
+%if 0%{?rhel} == 5
+%define uuid_devel e2fsprogs-devel
+%endif
+%{?uuid_devel:BuildRequires: %{uuid_devel}}
+
+# LIBAUDIO support
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_nas 1
+%if 0%{?mdkver} >= 5000000
+%define libaudio_devel %{_lib}audio-devel nas-devel
+%else
+%define libaudio_devel nas-devel
+%endif
+%endif
+%{?libaudio_devel:BuildRequires: %{libaudio_devel}}
+
+# Xrender support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%define xrender_devel libXrender-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+%define xrender_devel %{_lib}xrender-devel
+%endif
+%{?xrender_devel:BuildRequires: %{xrender_devel}}
+
+# Xrandr support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%define xrandr_devel libXrandr-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+%define xrandr_devel %{_lib}xrandr-devel
+%endif
+%if 0%{?pclinuxos}
+%define xrandr_devel %{_lib}xrandr2-devel
+%endif
+%{?xrandr_devel:BuildRequires: %{xrandr_devel}}
+
+# Xcursor support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%define xcursor_devel libXcursor-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+%define xcursor_devel %{_lib}xcursor-devel
+%endif
+%{?xcursor_devel:BuildRequires: %{xcursor_devel}}
+
+# Xinerama support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%define xinerama_devel libXinerama-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+%define xinerama_devel %{_lib}xinerama-devel
+%endif
+%{?xinerama_devel:BuildRequires: %{xinerama_devel}}
+
+# Xft support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%define xft_devel libXft-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+%define xft_devel %{_lib}xft-devel
+%endif
+%{?xft_devel:BuildRequires: %{xft_devel}}
+
+# XEXT support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%define xext_devel libXext-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+%define xext_devel %{_lib}xext-devel
+%endif
+%{?xext_devel:BuildRequires: %{xext_devel}}
+
+# X11 support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%define x11_devel libX11-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+%define x11_devel %{_lib}x11-devel
+%endif
+%{?x11_devel:BuildRequires: %{x11_devel}}
+
+# SM support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%define sm_devel libSM-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+%define sm_devel %{_lib}sm-devel
+%endif
+%{?sm_devel:BuildRequires: %{sm_devel}}
+
+# ICE support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%define ice_devel libICE-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+%define ice_devel %{_lib}ice-devel
+%endif
+%{?ice_devel:BuildRequires: %{ice_devel}}
+
+# XT support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: libXt-devel
+%endif
+
+# XMU support
+%if 0%{?suse_version} == 1140
+BuildRequires:	xorg-x11-libXmu-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210
+BuildRequires: libXmu-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion} >= 4
+BuildRequires: %{_lib}xmu-devel
+%endif
+%if 0%{?mgaversion} == 2 || 0%{?mgaversion} == 3
+BuildRequires:	%{_lib}xmu%{?mgaversion:6}-devel
+%endif
+
+# XI support
+%if 0%{?rhel} == 4
+%define xi_devel xorg-x11-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%define xi_devel %{_lib}xi-devel
+%endif
+%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora}
+%define xi_devel libXi-devel
+%endif
+%if 0%{?suse_version} == 1140
+%define xi_devel libXi6-devel
+%endif
+%{?xi_devel:BuildRequires: %{xi_devel}}
+
+# Xorg support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: xorg-x11-proto-devel
+%endif
+
+# MESA support
+%if 0%{?fedora} || 0%{?rhel}
+BuildRequires: mesa-libGL-devel
+BuildRequires: mesa-libGLU-devel
+%endif
+%if 0%{?mgaversion} || 0%{?pclinuxos}
+BuildRequires: %{_lib}mesaglu1-devel
+%endif
+%if 0%{?mdkver} >= 5000000
+BuildRequires: %{_lib}glu-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: Mesa-libGL-devel
+BuildRequires: Mesa-libGLU-devel
+%endif
+
+# MYSQL support
+%if 0%{?rhel} >= 10
+BuildRequires: mariadb-devel
+%else
+BuildRequires: mysql-devel
+%endif
+
+# unixODBC support
+BuildRequires: unixODBC-devel
+
+# SQLITE3 support
+%if 0%{?mgaversion}
+BuildRequires: sqlite3-devel
+%else
+BuildRequires: sqlite-devel
+%endif
+
+# POSTGRESQL support
+BuildRequires:	postgresql
+%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200
+BuildRequires: postgresql-server-devel
+%else
+BuildRequires: postgresql-devel
+%endif
+
+# Firebird support
+%if 0%{?mdkversion} || 0%{?mgaversion}
+%define with_ibase 1
+BuildRequires:	firebird-devel
+%endif
+
+# FBCLIENT support
+%if 0%{?mdkver} || 0%{?mgaversion} >= 6
+BuildRequires:	%{_lib}fbclient-devel
+%endif
+
+# NIS support
+%if 0%{?suse_version} >= 1600
+%else
+%define with_nis 1
+%endif
+
+# RPC support
+%if 0%{?rhel} >= 8 || 0%{?fedora} >= 28
+BuildRequires:		libtirpc-devel
+%endif
+%if 0%{?suse_version} >= 1500
+BuildRequires:		libtirpc-devel
+%endif
+%if 0%{?mdkver} || 0%{?mgaversion}
+BuildRequires:		%{_lib}tirpc-devel
+%endif
+
+# NSL support
+%if 0%{?rhel} >= 8 || 0%{?fedora} >= 28
+BuildRequires:		libnsl2-devel
+%endif
+%if 0%{?suse_version} >= 1500 && 0%{?suse_version} < 1600
+BuildRequires:		libnsl-devel
+%endif
+%if 0%{?mdkver} || 0%{?mgaversion}
+BuildRequires:		%{_lib}nsl-devel
+%endif
+# x86_64 specific stuff
+%if "%{_lib}" != "lib"
+%if 0%{?mdkversion} || ( 0%{?mgaversion} && 0%{?mgaversion} <= 2)
+BuildRequires: linux32
+%else
+BuildRequires: util-linux
+%endif
+%endif
+
+Obsoletes: tqt3-dev-tools-embedded
+
+%description
+This is the Trolltech TQt library, version 3. It's necessary for
+applications that link against the libtqt-mt.so.3, e.g. all Trinity
+applications.
+
+##########
+
+%package -n %{libtqt3}-mt
+Summary:	TQt GUI Library (Threaded runtime version), Version 3
+Group:		System/GUI/Other
+Provides:	libtqt3-mt = %{version}-%{release}
+Provides:	trinity-tqt3 = %{version}-%{release}
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+Requires: coreutils
+Requires: fontconfig >= 2.0
+
+%description -n %{libtqt3}-mt
+This is the Trolltech TQt library, version 3. It's necessary for
+applications that link against the libtqt-mt.so.3, e.g. all Trinity
+applications.
+
+%post -n %{libtqt3}-mt
+/sbin/ldconfig || :
+
+%postun -n %{libtqt3}-mt
+/sbin/ldconfig || :
+
+%files -n %{libtqt3}-mt
+%defattr(-,root,root,-)
+%doc FAQ LICENSE* README* changes*
+%dir %{_datadir}/tqt3/
+%dir %{_datadir}/tqt3/doc/
+%dir %{_datadir}/tqt3/doc/html/
+%dir %{_datadir}/tqt3/tools/
+%dir %{_libdir}/tqt3/
+%dir %{_libdir}/tqt3/plugins/
+%dir %{_libdir}/tqt3/plugins/designer/
+%dir %{_libdir}/tqt3/plugins/imageformats/
+%dir %{_libdir}/tqt3/plugins/inputmethods/
+%dir %{_libdir}/tqt3/plugins/sqldrivers/
+%{_libdir}/libtqt-mt.so.3
+%{_libdir}/libtqt-mt.so.3.5
+%{_libdir}/libtqt-mt.so.3.5.0
+%{_libdir}/libtqui.so.1
+%{_libdir}/libtqui.so.1.0
+%{_libdir}/libtqui.so.1.0.0
+%{_libdir}/tqt3/plugins/imageformats/libtqmng.so
+%{_libdir}/tqt3/plugins/inputmethods/libqimsw-multi.so
+%{_libdir}/tqt3/plugins/inputmethods/libqimsw-none.so
+%{_libdir}/tqt3/plugins/inputmethods/libqsimple.so
+%{_libdir}/tqt3/plugins/inputmethods/libqxim.so
+
+###########
+
+%package -n %{libtqt3}-mt-devel
+Summary:	TQt development files (Threaded)
+Group:		Development/Libraries/X11
+Provides:	trinity-tqt3-devel = %{version}-%{release}
+Provides:	libtqt3-mt-devel = %{version}-%{release}
+Requires:	%{libtqt3}-mt = %{version}-%{release}
+
+Requires: glibc-devel
+Requires: fontconfig-devel
+Requires: freetype-devel
+Requires: %{libjpeg}-devel
+Requires: %{libpng}-devel
+Requires: zlib-devel
+
+%{?glib2_devel:Requires: %{glib2_devel}}
+%{?uuid_devel:Requires: %{uuid_devel}}
+%{?xi_devel:Requires: %{xi_devel}}
+%{?xrender_devel:Requires: %{xrender_devel}}
+%{?xrandr_devel:Requires: %{xrandr_devel}}
+%{?xcursor_devel:Requires: %{xcursor_devel}}
+%{?xinerama_devel:Requires: %{xinerama_devel}}
+%{?xft_devel:Requires: %{xft_devel}}
+%{?xext_devel:Requires: %{xext_devel}}
+%{?x11_devel:Requires: %{x11_devel}}
+%{?sm_devel:Requires: %{sm_devel}}
+%{?ice_devel:Requires: %{ice_devel}}
+%{?libaudio_devel:Requires: %{libaudio_devel}}
+
+%description -n %{libtqt3}-mt-devel
+TQt is a C++ class library optimized for graphical user interface
+development. This package contains the libtqt-mt.so symlink, necessary
+for building threaded TQt applications as well as the libtqui.so symlink
+and the necessary header files for libtqui.so. (See README.Debian and
+the TQt Documentation for instructions on libtqui.so)
+
+%post -n %{libtqt3}-mt-devel
+/sbin/ldconfig || :
+
+%postun -n %{libtqt3}-mt-devel
+/sbin/ldconfig || :
+
+%files -n %{libtqt3}-mt-devel
+%defattr(-,root,root,-)
+%{_libdir}/libtqt-mt.la
+%{_libdir}/libtqt-mt.so
+%{_libdir}/libtqt-mt.prl
+%{_libdir}/libtqui.so
+%{_libdir}/libtqui.prl
+%{_libdir}/pkgconfig/tqt-mt.pc
+%dir %{_includedir}/tqt3
+%{_includedir}/tqt3/tqgl.h
+%{_includedir}/tqt3/tqglcolormap.h
+%{_includedir}/tqt3/actioninterface.h
+%{_includedir}/tqt3/arghintwidget.h
+%{_includedir}/tqt3/browser.h
+%{_includedir}/tqt3/cindent.h
+%{_includedir}/tqt3/classbrowserinterface.h
+%{_includedir}/tqt3/completion.h
+%{_includedir}/tqt3/conf.h
+%{_includedir}/tqt3/designerinterface.h
+%{_includedir}/tqt3/editor.h
+%{_includedir}/tqt3/editorinterface.h
+%{_includedir}/tqt3/filterinterface.h
+%{_includedir}/tqt3/interpreterinterface.h
+%{_includedir}/tqt3/languageinterface.h
+%{_includedir}/tqt3/markerwidget.h
+%{_includedir}/tqt3/tqaccel.h
+%{_includedir}/tqt3/tqaccessible.h
+%{_includedir}/tqt3/tqaction.h
+%{_includedir}/tqt3/tqapplication.h
+%{_includedir}/tqt3/tqasciicache.h
+%{_includedir}/tqt3/tqasciidict.h
+%{_includedir}/tqt3/tqasyncimageio.h
+%{_includedir}/tqt3/tqasyncio.h
+%{_includedir}/tqt3/tqbig5codec.h
+%{_includedir}/tqt3/tqbitarray.h
+%{_includedir}/tqt3/tqbitmap.h
+%{_includedir}/tqt3/tqbrush.h
+%{_includedir}/tqt3/tqbuffer.h
+%{_includedir}/tqt3/tqbutton.h
+%{_includedir}/tqt3/tqbuttongroup.h
+%{_includedir}/tqt3/tqcache.h
+%{_includedir}/tqt3/tqchar.h
+%{_includedir}/tqt3/tqcdestyle.h
+%{_includedir}/tqt3/tqcheckbox.h
+%{_includedir}/tqt3/tqcleanuphandler.h
+%{_includedir}/tqt3/tqclipboard.h
+%{_includedir}/tqt3/tqcolor.h
+%{_includedir}/tqt3/tqcolordialog.h
+%{_includedir}/tqt3/tqcombobox.h
+%{_includedir}/tqt3/tqcommonstyle.h
+%{_includedir}/tqt3/tqcompactstyle.h
+%{_includedir}/tqt3/tqconfig.h
+%{_includedir}/tqt3/tqconnection.h
+%{_includedir}/tqt3/tqcstring.h
+%{_includedir}/tqt3/tqcursor.h
+%{_includedir}/tqt3/tqdatastream.h
+%{_includedir}/tqt3/tqdatetime.h
+%{_includedir}/tqt3/tqdatetimeedit.h
+%{_includedir}/tqt3/tqdeepcopy.h
+%{_includedir}/tqt3/tqdesktopwidget.h
+%{_includedir}/tqt3/tqdial.h
+%{_includedir}/tqt3/tqdialog.h
+%{_includedir}/tqt3/tqdict.h
+%{_includedir}/tqt3/tqdir.h
+%{_includedir}/tqt3/tqdns.h
+%{_includedir}/tqt3/tqdockarea.h
+%{_includedir}/tqt3/tqdockwindow.h
+%{_includedir}/tqt3/tqdragobject.h
+%{_includedir}/tqt3/tqdrawutil.h
+%{_includedir}/tqt3/tqdropsite.h
+%{_includedir}/tqt3/tqerrormessage.h
+%{_includedir}/tqt3/tqeucjpcodec.h
+%{_includedir}/tqt3/tqeuckrcodec.h
+%{_includedir}/tqt3/tqevent.h
+%{_includedir}/tqt3/tqeventloop.h
+%{_includedir}/tqt3/tqfeatures.h
+%{_includedir}/tqt3/tqfile.h
+%{_includedir}/tqt3/tqfiledialog.h
+%{_includedir}/tqt3/tqfileinfo.h
+%{_includedir}/tqt3/tqfocusdata.h
+%{_includedir}/tqt3/tqfont.h
+%{_includedir}/tqt3/tqfontdatabase.h
+%{_includedir}/tqt3/tqfontdialog.h
+%{_includedir}/tqt3/tqfontinfo.h
+%{_includedir}/tqt3/tqfontmetrics.h
+%{_includedir}/tqt3/tqframe.h
+%{_includedir}/tqt3/tqftp.h
+%{_includedir}/tqt3/tqgarray.h
+%{_includedir}/tqt3/tqgb18030codec.h
+%{_includedir}/tqt3/tqgbkcodec.h
+%{_includedir}/tqt3/tqgcache.h
+%{_includedir}/tqt3/tqgdict.h
+%{_includedir}/tqt3/tqgif.h
+%{_includedir}/tqt3/tqglist.h
+%{_includedir}/tqt3/tqglobal.h
+%{_includedir}/tqt3/tqgplugin.h
+%{_includedir}/tqt3/tqgrid.h
+%{_includedir}/tqt3/tqgridview.h
+%{_includedir}/tqt3/tqgroupbox.h
+%{_includedir}/tqt3/tqguardedptr.h
+%{_includedir}/tqt3/tqgvector.h
+%{_includedir}/tqt3/tqhbox.h
+%{_includedir}/tqt3/tqhbuttongroup.h
+%{_includedir}/tqt3/tqheader.h
+%{_includedir}/tqt3/tqhgroupbox.h
+%{_includedir}/tqt3/tqhostaddress.h
+%{_includedir}/tqt3/tqhttp.h
+%{_includedir}/tqt3/tqinputcontext.h
+%{_includedir}/tqt3/tqinputcontextfactory.h
+%{_includedir}/tqt3/tqinputcontextplugin.h
+%{_includedir}/tqt3/tqinputdialog.h
+%{_includedir}/tqt3/tqintcache.h
+%{_includedir}/tqt3/tqintdict.h
+%{_includedir}/tqt3/tqinterlacestyle.h
+%{_includedir}/tqt3/tqiodevice.h
+%{_includedir}/tqt3/tqjiscodec.h
+%{_includedir}/tqt3/tqjpegio.h
+%{_includedir}/tqt3/tqjpunicode.h
+%{_includedir}/tqt3/tqkeycode.h
+%{_includedir}/tqt3/tqkeysequence.h
+%{_includedir}/tqt3/tqlabel.h
+%{_includedir}/tqt3/tqlayout.h
+%{_includedir}/tqt3/tqlcdnumber.h
+%{_includedir}/tqt3/tqlibrary.h
+%{_includedir}/tqt3/tqlineedit.h
+%{_includedir}/tqt3/tqlistbox.h
+%{_includedir}/tqt3/tqlistview.h
+%{_includedir}/tqt3/tqlocale.h
+%{_includedir}/tqt3/tqlocalfs.h
+%{_includedir}/tqt3/tqmainwindow.h
+%{_includedir}/tqt3/tqmemarray.h
+%{_includedir}/tqt3/tqmenubar.h
+%{_includedir}/tqt3/tqmenudata.h
+%{_includedir}/tqt3/tqmessagebox.h
+%{_includedir}/tqt3/tqmetaobject.h
+%{_includedir}/tqt3/tqmime.h
+%{_includedir}/tqt3/tqmngio.h
+%{_includedir}/tqt3/tqmodules.h
+%{_includedir}/tqt3/tqmotifplusstyle.h
+%{_includedir}/tqt3/tqmotifstyle.h
+%{_includedir}/tqt3/tqmovie.h
+%{_includedir}/tqt3/tqmultilineedit.h
+%{_includedir}/tqt3/tqmutex.h
+%{_includedir}/tqt3/tqnamespace.h
+%{_includedir}/tqt3/tqnetwork.h
+%{_includedir}/tqt3/tqnetworkprotocol.h
+%{_includedir}/tqt3/tqpaintdevice.h
+%{_includedir}/tqt3/tqpaintdevicemetrics.h
+%{_includedir}/tqt3/tqpainter.h
+%{_includedir}/tqt3/tqpalette.h
+%{_includedir}/tqt3/tqpen.h
+%{_includedir}/tqt3/tqpicture.h
+%{_includedir}/tqt3/tqpixmap.h
+%{_includedir}/tqt3/tqpixmapcache.h
+%{_includedir}/tqt3/tqplatinumstyle.h
+%{_includedir}/tqt3/tqpngio.h
+%{_includedir}/tqt3/tqpoint.h
+%{_includedir}/tqt3/tqpointarray.h
+%{_includedir}/tqt3/tqpolygonscanner.h
+%{_includedir}/tqt3/tqpopupmenu.h
+%{_includedir}/tqt3/tqprintdialog.h
+%{_includedir}/tqt3/tqprinter.h
+%{_includedir}/tqt3/tqprocess.h
+%{_includedir}/tqt3/tqprogressbar.h
+%{_includedir}/tqt3/tqprogressdialog.h
+%{_includedir}/tqt3/tqpushbutton.h
+%{_includedir}/tqt3/tqradiobutton.h
+%{_includedir}/tqt3/tqrangecontrol.h
+%{_includedir}/tqt3/tqrect.h
+%{_includedir}/tqt3/tqregexp.h
+%{_includedir}/tqt3/tqregion.h
+%{_includedir}/tqt3/tqhebrewcodec.h
+%{_includedir}/tqt3/tqscrollbar.h
+%{_includedir}/tqt3/tqscrollview.h
+%{_includedir}/tqt3/tqsemaphore.h
+%{_includedir}/tqt3/tqserversocket.h
+%{_includedir}/tqt3/tqsessionmanager.h
+%{_includedir}/tqt3/tqsettings.h
+%{_includedir}/tqt3/tqsgistyle.h
+%{_includedir}/tqt3/tqshared.h
+%{_includedir}/tqt3/tqsignal.h
+%{_includedir}/tqt3/tqsignalmapper.h
+%{_includedir}/tqt3/tqsignalslotimp.h
+%{_includedir}/tqt3/tqsimplerichtext.h
+%{_includedir}/tqt3/tqsize.h
+%{_includedir}/tqt3/tqsizegrip.h
+%{_includedir}/tqt3/tqsizepolicy.h
+%{_includedir}/tqt3/tqsjiscodec.h
+%{_includedir}/tqt3/tqslider.h
+%{_includedir}/tqt3/tqsocket.h
+%{_includedir}/tqt3/tqsocketdevice.h
+%{_includedir}/tqt3/tqsocketnotifier.h
+%{_includedir}/tqt3/tqsound.h
+%{_includedir}/tqt3/tqspinbox.h
+%{_includedir}/tqt3/tqsplashscreen.h
+%{_includedir}/tqt3/tqsplitter.h
+%{_includedir}/tqt3/tqstatusbar.h
+%{_includedir}/tqt3/tqsyntaxhighlighter.h
+%{_includedir}/tqt3/tqt.h
+%{_includedir}/tqt3/tqtabbar.h
+%{_includedir}/tqt3/tqtabdialog.h
+%{_includedir}/tqt3/tqtable.h
+%{_includedir}/tqt3/tqtabwidget.h
+%{_includedir}/tqt3/tqthread.h
+%{_includedir}/tqt3/tqthreadstorage.h
+%{_includedir}/tqt3/tqtimer.h
+%{_includedir}/tqt3/tqtl.h
+%{_includedir}/tqt3/tqtoolbar.h
+%{_includedir}/tqt3/tqtoolbox.h
+%{_includedir}/tqt3/tqtoolbutton.h
+%{_includedir}/tqt3/tqtooltip.h
+%{_includedir}/tqt3/tqtranslator.h
+%{_includedir}/tqt3/tqtsciicodec.h
+%{_includedir}/tqt3/tqurl.h
+%{_includedir}/tqt3/tqurlinfo.h
+%{_includedir}/tqt3/tqurloperator.h
+%{_includedir}/tqt3/tqutfcodec.h
+%{_includedir}/tqt3/tquuid.h
+%{_includedir}/tqt3/tqvalidator.h
+%{_includedir}/tqt3/tqvariant.h
+%{_includedir}/tqt3/tqvbox.h
+%{_includedir}/tqt3/tqvbuttongroup.h
+%{_includedir}/tqt3/tqvgroupbox.h
+%{_includedir}/tqt3/tqwaitcondition.h
+%{_includedir}/tqt3/tqwhatsthis.h
+%{_includedir}/tqt3/tqwindowdefs.h
+%{_includedir}/tqt3/tqwindowsstyle.h
+%{_includedir}/tqt3/tqwinexport.h
+%{_includedir}/tqt3/tqwizard.h
+%{_includedir}/tqt3/tqwmatrix.h
+%{_includedir}/tqt3/tqworkspace.h
+%{_includedir}/tqt3/paragdata.h
+%{_includedir}/tqt3/parenmatcher.h
+%{_includedir}/tqt3/preferenceinterface.h
+%{_includedir}/tqt3/preferences.h
+%{_includedir}/tqt3/preferences.ui.h
+%{_includedir}/tqt3/projectsettingsiface.h
+%{_includedir}/tqt3/tqconfig-dist.h
+%{_includedir}/tqt3/tqconfig-large.h
+%{_includedir}/tqt3/tqconfig-medium.h
+%{_includedir}/tqt3/tqconfig-minimal.h
+%{_includedir}/tqt3/tqconfig-small.h
+%{_includedir}/tqt3/qt_pch.h
+%{_includedir}/tqt3/sourcetemplateiface.h
+%{_includedir}/tqt3/tqcanvas.h
+%{_includedir}/tqt3/tqdatabrowser.h
+%{_includedir}/tqt3/tqdatatable.h
+%{_includedir}/tqt3/tqdataview.h
+%{_includedir}/tqt3/tqdom.h
+%{_includedir}/tqt3/tqeditorfactory.h
+%{_includedir}/tqt3/tqiconset.h
+%{_includedir}/tqt3/tqiconview.h
+%{_includedir}/tqt3/tqimage.h
+%{_includedir}/tqt3/tqimageformatplugin.h
+%{_includedir}/tqt3/tqmap.h
+%{_includedir}/tqt3/tqobject.h
+%{_includedir}/tqt3/tqobjectcleanuphandler.h
+%{_includedir}/tqt3/tqobjectdefs.h
+%{_includedir}/tqt3/tqobjectdict.h
+%{_includedir}/tqt3/tqobjectlist.h
+%{_includedir}/tqt3/tqpair.h
+%{_includedir}/tqt3/tqptrcollection.h
+%{_includedir}/tqt3/tqptrdict.h
+%{_includedir}/tqt3/tqptrlist.h
+%{_includedir}/tqt3/tqptrqueue.h
+%{_includedir}/tqt3/tqptrstack.h
+%{_includedir}/tqt3/tqptrvector.h
+%{_includedir}/tqt3/tqsql.h
+%{_includedir}/tqt3/tqsql_ibase.h
+%{_includedir}/tqt3/tqsql_mysql.h
+%{_includedir}/tqt3/tqsql_odbc.h
+%{_includedir}/tqt3/tqsql_psql.h
+%{_includedir}/tqt3/tqsql_sqlite.h
+%{_includedir}/tqt3/tqsql_sqlite3.h
+%{_includedir}/tqt3/tqsqlcachedresult.h
+%{_includedir}/tqt3/tqsqlcursor.h
+%{_includedir}/tqt3/tqsqldatabase.h
+%{_includedir}/tqt3/tqsqldriver.h
+%{_includedir}/tqt3/tqsqldriverplugin.h
+%{_includedir}/tqt3/tqsqleditorfactory.h
+%{_includedir}/tqt3/tqsqlerror.h
+%{_includedir}/tqt3/tqsqlfield.h
+%{_includedir}/tqt3/tqsqlform.h
+%{_includedir}/tqt3/tqsqlindex.h
+%{_includedir}/tqt3/tqsqlpropertymap.h
+%{_includedir}/tqt3/tqsqlquery.h
+%{_includedir}/tqt3/tqsqlrecord.h
+%{_includedir}/tqt3/tqsqlresult.h
+%{_includedir}/tqt3/tqsqlselectcursor.h
+%{_includedir}/tqt3/tqstring.h
+%{_includedir}/tqt3/tqstringlist.h
+%{_includedir}/tqt3/tqstrlist.h
+%{_includedir}/tqt3/tqstrvec.h
+%{_includedir}/tqt3/tqstyle.h
+%{_includedir}/tqt3/tqstylefactory.h
+%{_includedir}/tqt3/tqstyleplugin.h
+%{_includedir}/tqt3/tqstylesheet.h
+%{_includedir}/tqt3/tqtextbrowser.h
+%{_includedir}/tqt3/tqtextcodec.h
+%{_includedir}/tqt3/tqtextcodecfactory.h
+%{_includedir}/tqt3/tqtextcodecplugin.h
+%{_includedir}/tqt3/tqtextedit.h
+%{_includedir}/tqt3/tqtextstream.h
+%{_includedir}/tqt3/tqtextview.h
+%{_includedir}/tqt3/tqvaluelist.h
+%{_includedir}/tqt3/tqvaluestack.h
+%{_includedir}/tqt3/tqvaluevector.h
+%{_includedir}/tqt3/tqwidget.h
+%{_includedir}/tqt3/tqwidgetfactory.h
+%{_includedir}/tqt3/tqwidgetintdict.h
+%{_includedir}/tqt3/tqwidgetlist.h
+%{_includedir}/tqt3/tqwidgetplugin.h
+%{_includedir}/tqt3/tqwidgetstack.h
+%{_includedir}/tqt3/tqxml.h
+%{_includedir}/tqt3/templatewizardiface.h
+%{_includedir}/tqt3/viewmanager.h
+%{_includedir}/tqt3/widgetinterface.h
+
+%dir %{_includedir}/tqt3/private/
+%{_includedir}/tqt3/private/*.h
+
+##########
+
+%package -n %{libtqt3}-mt-mysql
+Summary:	MySQL database driver for TQt3 (Threaded)
+Group:		System/GUI/Other
+Provides:	libtqt3-mt-mysql = %{version}-%{release}
+Requires:	%{libtqt3}-mt = %{version}-%{release}
+
+%description -n %{libtqt3}-mt-mysql
+This package contains the threaded MySQL plugin for TQt3. Install it if
+you intend to use or write TQt programs that are to access a MySQL DB.
+
+%files -n %{libtqt3}-mt-mysql
+%defattr(-,root,root,-)
+%{_libdir}/tqt3/plugins/sqldrivers/libqsqlmysql.so
+
+##########
+
+%package -n %{libtqt3}-mt-odbc
+Summary:	ODBC database driver for TQt3 (Threaded)
+Group:		System/GUI/Other
+Provides:	libtqt3-mt-odbc = %{version}-%{release}
+Requires:	%{libtqt3}-mt = %{version}-%{release}
+
+%description -n %{libtqt3}-mt-odbc
+This package contains the threaded ODBC plugin for TQt3. Install it if
+you intend to use or write TQt programs that are to access an ODBC DB.
+
+%files -n %{libtqt3}-mt-odbc
+%defattr(-,root,root,-)
+%{_libdir}/tqt3/plugins/sqldrivers/libqsqlodbc.so
+
+##########
+
+%package -n %{libtqt3}-mt-psql
+Summary:	PostgreSQL database driver for TQt3 (Threaded)
+Group:		System/GUI/Other
+Provides:	libtqt3-mt-psql = %{version}-%{release}
+Requires:	%{libtqt3}-mt = %{version}-%{release}
+
+%description -n %{libtqt3}-mt-psql
+This package contains the threaded PostgreSQL plugin for TQt3.
+Install it if you intend to use or write TQt programs that are
+to access a PostgreSQL DB.
+
+%files -n %{libtqt3}-mt-psql
+%defattr(-,root,root,-)
+%{_libdir}/tqt3/plugins/sqldrivers/libqsqlpsql.so
+
+##########
+
+%if 0%{?with_ibase}
+%package -n %{libtqt3}-mt-ibase
+Summary:	InterBase/FireBird database driver for TQt3 (Threaded)
+Group:		System/GUI/Other
+Provides:	libtqt3-mt-ibase = %{version}-%{release}
+Requires:	%{libtqt3}-mt = %{version}-%{release}
+
+%description -n %{libtqt3}-mt-ibase
+This package contains the threaded InterBase/FireBird plugin
+for TQt3. Install it if you intend to use or write TQt programs
+that are to access an InterBase/FireBird DB.
+
+%files -n %{libtqt3}-mt-ibase
+%defattr(-,root,root,-)
+%{_libdir}/tqt3/plugins/sqldrivers/libqsqlibase.so
+%endif
+
+##########
+
+%package -n %{libtqt3}-mt-sqlite
+Summary:	SQLite database driver for TQt3 (Threaded)
+Group:		System/GUI/Other
+Provides:	libtqt3-mt-sqlite = %{version}-%{release}
+Requires:	%{libtqt3}-mt = %{version}-%{release}
+
+%description -n %{libtqt3}-mt-sqlite
+This package contains the threaded SQLite plugin for TQt3. Install
+it if you intend to use or write TQt programs that are to access an
+SQLite DB.
+
+%files -n %{libtqt3}-mt-sqlite
+%defattr(-,root,root,-)
+%{_libdir}/tqt3/plugins/sqldrivers/libqsqlite.so
+
+##########
+
+%package -n %{libtqt3}-mt-sqlite3
+Summary:	SQLite3 database driver for TQt3 (Threaded)
+Group:		System/GUI/Other
+Provides:	libtqt3-mt-sqlite3 = %{version}-%{release}
+Requires:	%{libtqt3}-mt = %{version}-%{release}
+
+%description -n %{libtqt3}-mt-sqlite3
+This package contains the threaded SQLite3 plugin for TQt3. Install
+it if you intend to use or write TQt programs that are to access an
+SQLite3 DB.
+
+%files -n %{libtqt3}-mt-sqlite3
+%defattr(-,root,root,-)
+%{_libdir}/tqt3/plugins/sqldrivers/libqsqlite3.so
+
+###########
+
+%package -n tqt3-dev-tools
+Summary:	TQt3 development tools
+Group:		Development/Libraries/X11
+Requires:	%{libtqt3}-mt-devel = %{version}-%{release}
+Requires:	tqt3-dev-tools-devel = %{version}-%{release}
+
+%description -n tqt3-dev-tools
+This package contains all tools that are necessary to build programs
+that are written using TQt3. These are: qmake, uic and moc.
+For TQt3 development, you most likely want to install this package.
+
+%files -n tqt3-dev-tools
+%defattr(-,root,root,-)
+%{_datadir}/tqt3/doc/html/qmake*html
+%{_datadir}/tqt3/doc/html/qmake*dcf
+%{_bindir}/tqmake
+%{_bindir}/tqlupdate
+%{_bindir}/tqlrelease
+%{_bindir}/tquic
+%{_bindir}/tqmoc
+%{_bindir}/tqembed
+%{_mandir}/man1/*.1*
+
+##########
+
+%package -n tqt3-dev-tools-devel
+Summary:	TQt3 development tools
+Group:		Development/Libraries/X11
+
+%description -n tqt3-dev-tools-devel
+This package contains all tools that are necessary to build programs
+that are written using TQt3.
+
+%files -n tqt3-dev-tools-devel
+%defattr(-,root,root,-)
+%dir %{_datadir}/tqt3/mkspecs/
+%{_datadir}/tqt3/mkspecs/*
+
+##########
+
+%package -n tqt3-designer
+Summary:	TQt3 Designer
+Group:		System/GUI/Other
+Requires:	%{libtqt3}-mt = %{version}-%{release}
+Requires:	tqt3-doc = %{version}-%{release}
+
+%description -n tqt3-designer
+The TQt Designer is a GUI design program that interactively lets you
+construct user interfaces for the TQt library. Additionally it lets you
+create whole project and works together with the database drivers
+provided by TQt to create applications with easy database access through
+TQt. The resulting user interface files can then be converted to
+C++ classes using the uic commandline utility which is usually done
+automatically for the developer with a project management with qmake
+or automake.
+
+%files -n tqt3-designer
+%defattr(-,root,root,-)
+%{_bindir}/tqdesigner
+%{_bindir}/tqtcreatecw
+%{_bindir}/tqtconv2ui
+%{_datadir}/tqt3/doc/html/designer*html
+%{_datadir}/tqt3/doc/html/designer*dcf
+%{_datadir}/tqt3/doc/html/designer*jpg
+%dir %{_datadir}/tqt3/templates/
+%{_datadir}/tqt3/templates/*
+%{_libdir}/tqt3/plugins/designer/libcppeditor.so
+%{_libdir}/tqt3/plugins/designer/libdlgplugin.so
+%{_libdir}/tqt3/plugins/designer/libgladeplugin.so
+%{_libdir}/tqt3/plugins/designer/libkdevdlgplugin.so
+%{_libdir}/tqt3/plugins/designer/librcplugin.so
+%{_libdir}/tqt3/plugins/designer/libwizards.so
+%dir %{_datadir}/tqt3/tools/tqtconv2ui
+%{_datadir}/tqt3/tools/tqtconv2ui/main.cpp
+%{_datadir}/tqt3/tools/tqtconv2ui/tqtconv2ui.pro
+%dir %{_datadir}/tqt3/tools/tqtcreatecw
+%{_datadir}/tqt3/tools/tqtcreatecw/README
+%{_datadir}/tqt3/tools/tqtcreatecw/main.cpp
+%{_datadir}/tqt3/tools/tqtcreatecw/tqtcreatecw.pro
+%{_datadir}/applications/tqdesigner.desktop
+%{_datadir}/pixmaps/tqdesigner.png
+
+###########
+
+%package -n tqt3-apps-devel
+Summary:	TQt3 Developer applications development files
+Group:		Development/Libraries/X11
+Requires:	%{libtqt3}-mt-devel = %{version}-%{release}
+Requires:	tqt3-apps-libs = %{version}-%{release}
+
+%description -n tqt3-apps-devel
+This package is intended for developers who want to develop applications
+using the additional static libraries that ship with the applications
+included with TQt; the TQt Designer and the TQt Assistant.
+It allows integrating additional enhancements into the TQt Designer
+respectively faciliate the TQt Assistant from within your TQt application
+to interactively call the Assistant for displaying online help that the
+developer includes with his application.
+
+%post -n tqt3-apps-devel
+/sbin/ldconfig || :
+
+%postun -n tqt3-apps-devel
+/sbin/ldconfig || :
+
+%files -n tqt3-apps-devel
+%defattr(-,root,root,-)
+%{_libdir}/libtqtdesignercore.prl
+%{_libdir}/libtqtdesignercore.so
+%{_libdir}/libtqteditor.prl
+%{_libdir}/libtqteditor.so
+%{_libdir}/libtqassistantclient.prl
+%{_libdir}/libtqassistantclient.so
+%{_includedir}/tqt3/tqassistantclient.h
+
+###########
+
+%package -n tqt3-apps-libs
+Summary:	TQt3 Developer applications libraries
+Group:		Development/Libraries/X11
+Requires:	%{libtqt3}-mt = %{version}-%{release}
+
+%description -n tqt3-apps-libs
+This package is intended for developers who want to develop applications
+using the additional static libraries that ship with the applications
+included with TQt; the TQt Designer and the TQt Assistant.
+It allows integrating additional enhancements into the TQt Designer
+respectively faciliate the TQt Assistant from within your TQt application
+to interactively call the Assistant for displaying online help that the
+developer includes with his application.
+
+%post -n tqt3-apps-libs
+/sbin/ldconfig || :
+
+%postun -n tqt3-apps-libs
+/sbin/ldconfig || :
+
+%files -n tqt3-apps-libs
+%defattr(-,root,root,-)
+%{_libdir}/libtqtdesignercore.so.1
+%{_libdir}/libtqtdesignercore.so.1.0
+%{_libdir}/libtqtdesignercore.so.1.0.0
+%{_libdir}/libtqteditor.so.1
+%{_libdir}/libtqteditor.so.1.0
+%{_libdir}/libtqteditor.so.1.0.0
+%{_libdir}/libtqassistantclient.so.1
+%{_libdir}/libtqassistantclient.so.1.0
+%{_libdir}/libtqassistantclient.so.1.0.0
+
+##########
+
+%package -n tqt3-linguist
+Summary:	The TQt3 Linguist
+Group:		System/GUI/Other
+Requires:	%{libtqt3}-mt = %{version}-%{release}
+Requires:	tqt3-doc = %{version}-%{release}
+
+%description -n tqt3-linguist
+This package contains the TQt3 Linguist which provides translators a
+tool perfect for translating any TQt-based application into other
+languages and can be used and installed independently of any TQt
+development files by the translator.
+
+%files -n tqt3-linguist
+%defattr(-,root,root,-)
+%{_bindir}/tqlinguist
+%dir %{_datadir}/tqt3/phrasebooks/
+%{_datadir}/tqt3/phrasebooks/*
+%{_datadir}/tqt3/doc/html/linguist*html
+%{_datadir}/tqt3/doc/html/linguist*dcf
+%dir %{_docdir}/tqt3-linguist
+%{_docdir}/tqt3-linguist/qt_untranslated.ts
+%{_datadir}/applications/tqlinguist.desktop
+%{_datadir}/pixmaps/tqlinguist.png
+
+##########
+
+%package -n tqt3-assistant
+Summary:	The TQt3 assistant application
+Group:		System/GUI/Other
+Requires:	%{libtqt3}-mt = %{version}-%{release}
+Requires:	tqt3-doc = %{version}-%{release}
+
+%description -n tqt3-assistant
+This package contains the TQt3 Assistant, an easy to use frontend for
+the complete TQt3 documentation and serves as an online help viewer for
+any TQt program that wants to give the usesr access to online help.
+Within the TQt tools it is used as the help viewer for the online help
+for the TQt3 Designer and Linguist as well as qmake and the TQt 3 API
+documentation.
+
+Developers of TQt Application who want to faciliate the TQt Assistant for online
+help display should refer to the README.Debian file for libtqt3-mt-devel and
+the package tqt3-apps-devel.
+
+%files -n tqt3-assistant
+%defattr(-,root,root,-)
+%{_bindir}/tqassistant
+%{_datadir}/tqt3/doc/html/assistant*html
+%{_datadir}/tqt3/doc/html/assistant*dcf
+%{_datadir}/applications/tqassistant.desktop
+%{_datadir}/pixmaps/tqassistant.png
+
+##########
+
+%package -n tqt3-qtconfig
+Summary:	The TQt3 Configuration Application
+Group:		Development/Libraries/X11
+Requires:	%{libtqt3}-mt = %{version}-%{release}
+Requires:	tqt3-doc = %{version}-%{release}
+
+%description -n tqt3-qtconfig
+The TQt Configuration program allows endusers to configure the look
+and behavior of any TQt3 application. It is mostly only necessary
+on systems which don't run TDE because the Trinity control center already
+covers this configuration automatically for the users TQt3 applications
+according to his desktop settings in TDE. However, if you need to run
+CJK-fonts or other non-latin scripts, you will most likely want to
+install this package.
+
+%files -n tqt3-qtconfig
+%defattr(-,root,root,-)
+%{_bindir}/tqtconfig
+%{_datadir}/applications/tqtconfig.desktop
+%{_datadir}/pixmaps/tqtconfig.png
+
+###########
+
+%package -n tqt3-dev-tools-compat
+Summary:	Conversion utilities for TQt3 development
+Group:		System/GUI/Other
+Requires:	%{libtqt3}-mt-devel = %{version}-%{release}
+
+%description -n tqt3-dev-tools-compat
+This package contains some older TQt tools (namely
+tqm2ts, tqtmergetr, tqtfindtr and msg2tqm). These tools are needed only by
+application developers who need to migrate any TQt application written
+for TQt 1.x or 2.x over to TQt 3.x. The purpose of the tools are to
+help fixing the changes with include file renaming as well as migrating
+the message file format of TQt 2 translation files or any gettext-based
+translation system to the TQt 3 system.
+
+%files -n tqt3-dev-tools-compat
+%defattr(-,root,root,-)
+%{_bindir}/tqm2ts
+%{_bindir}/tqtmergetr
+%{_bindir}/tqtfindtr
+%{_bindir}/msg2tqm
+
+##########
+
+%package -n tqt3-i18n
+Summary:	Translation (i18n) files for TQt3 library
+Group:		System/GUI/Other
+Requires:	%{libtqt3}-mt = %{version}-%{release}
+
+%description -n tqt3-i18n
+This package contains the internationalization files for the TQt library.
+TQt applications that are internationalized will need to depend on this package
+for full internationalization support of the application towards the end user.
+
+%files -n tqt3-i18n
+%defattr(-,root,root,-)
+%dir %{_datadir}/tqt3/translations/
+%{_datadir}/tqt3/translations/assistant_de.qm
+%{_datadir}/tqt3/translations/assistant_fr.qm
+%{_datadir}/tqt3/translations/designer_de.qm
+%{_datadir}/tqt3/translations/designer_fr.qm
+%{_datadir}/tqt3/translations/linguist_de.qm
+%{_datadir}/tqt3/translations/linguist_fr.qm
+%{_datadir}/tqt3/translations/qt_ar.qm
+%{_datadir}/tqt3/translations/qt_ca.qm
+%{_datadir}/tqt3/translations/qt_cs.qm
+%{_datadir}/tqt3/translations/qt_de.qm
+%{_datadir}/tqt3/translations/qt_es.qm
+%{_datadir}/tqt3/translations/qt_es_AR.qm
+%{_datadir}/tqt3/translations/qt_fr.qm
+%{_datadir}/tqt3/translations/qt_he.qm
+%{_datadir}/tqt3/translations/qt_it.qm
+%{_datadir}/tqt3/translations/qt_ja.qm
+%{_datadir}/tqt3/translations/qt_nb.qm
+%{_datadir}/tqt3/translations/qt_pt.qm
+%{_datadir}/tqt3/translations/qt_pt-br.qm
+%{_datadir}/tqt3/translations/qt_ru.qm
+%{_datadir}/tqt3/translations/qt_sk.qm
+%{_datadir}/tqt3/translations/qt_sv.qm
+%{_datadir}/tqt3/translations/qt_tr.qm
+%{_datadir}/tqt3/translations/qt_zh-cn.qm
+%{_datadir}/tqt3/translations/qt_zh-tw.qm
+
+##########
+
+%package -n tqt3-doc
+Summary:	TQt3 API documentation
+Group:		System/GUI/Other
+
+%description -n tqt3-doc
+This package contains the complete API documentation for TQt3.
+Examples to coding are in tqt3-examples. The documentation is provided
+in HTML and manpage format; the HTML version can be viewed in conjunction
+with the TQt Assistant.
+
+%files -n tqt3-doc
+%defattr(-,root,root,-)
+%exclude %{_datadir}/tqt3/doc/html/qmake*html
+%exclude %{_datadir}/tqt3/doc/html/qmake*dcf
+%exclude %{_datadir}/tqt3/doc/html/designer*html
+%exclude %{_datadir}/tqt3/doc/html/designer*dcf
+%exclude %{_datadir}/tqt3/doc/html/designer*jpg
+%exclude %{_datadir}/tqt3/doc/html/linguist*html
+%exclude %{_datadir}/tqt3/doc/html/linguist*dcf
+%exclude %{_datadir}/tqt3/doc/html/assistant*html
+%exclude %{_datadir}/tqt3/doc/html/assistant*dcf
+%{_datadir}/tqt3/doc/html/*
+
+##########
+
+%package -n tqt3-examples
+summary:	Examples for TQt3
+Group:		System/GUI/Other
+
+%description -n tqt3-examples
+These are examples provided with TQt3. They may be especially useful for
+you if you are learning to program in TQt as they cover tquite a lot of
+things that are possible with TQt3.
+
+%files -n tqt3-examples
+%defattr(-,root,root,-)
+%dir %{_docdir}/tqt3-examples/
+%{_docdir}/tqt3-examples/build-examples
+%{_docdir}/tqt3-examples/tqt3-examples.tar.gz
+
+##########
+
+%if 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
+
+%if 0%{?suse_version}
+echo "suse_version = %{?suse_version}"
+echo "sle_version = %{?sle_version}"
+%endif
+
+%if 0%{?rhel} == 5
+%__sed -i "src/sql/drivers/mysql/qsql_mysql.cpp" -e "s|bool reconnect = 0;|my_bool reconnect = 0;|g"
+%endif
+
+# fix variables in 'qmake.conf'
+%__sed -i mkspecs/*/qmake.conf \
+  -e "s|^QMAKE_INCDIR_TQT.*|QMAKE_INCDIR_TQT		= %{_includedir}/tqt3|" \
+  -e "s|\$(QTDIR)|/usr|g" \
+  -e "s|-lqt|-ltqt|g" \
+  -e "s|^QMAKE_CFLAGS		=.*|QMAKE_CFLAGS		= ${distrib_cflags} -pipe -fvisibility=hidden -fvisibility-inlines-hidden|" \
+  -e "s|^QMAKE_INCDIR		=.*|QMAKE_INCDIR		= %{_includedir}|" \
+  -e "s|^QMAKE_LIBDIR		=.*|QMAKE_LIBDIR		= %{_libdir}|" \
+  -e "s|^QMAKE_RPATH		= .*|QMAKE_RPATH		=|" \
+  -e "s|^QMAKE_STRIP             =.*|QMAKE_STRIP             =|" \
+  -e "s|^QMAKE_STRIPFLAGS_LIB 	+=.*|QMAKE_STRIPFLAGS_LIB 	+=|" \
+  -e "s|^QMAKE_MOC		=.*|QMAKE_MOC		= %{_bindir}/tqmoc|" \
+  -e "s|^QMAKE_UIC		=.*|QMAKE_UIC		= %{_bindir}/tquic|" \
+  -e "s|^QMAKE_INCDIR_TQT		=.*|QMAKE_INCDIR_TQT		= %{_includedir}/tqt3|" \
+  -e "s|^QMAKE_LIBDIR_TQT		=.*|QMAKE_LIBDIR_TQT		= %{_libdir}|" \
+
+
+%build
+unset QTDIR QTINC QTLIB
+export QTDIR=$(pwd)
+export PATH=${QTDIR}/bin:${PATH}
+export MANPATH=${QTDIR}/doc/man:${MANPATH}
+export LD_LIBRARY_PATH="${QTDIR}/lib"
+
+# Checks for supplementary include dir
+INCDIRS=""
+for d in \
+	%{_includedir}/fontconfig \
+	%{_includedir}/pgsql \
+	%{_includedir}/pgsql/server \
+	%{_includedir}/postgresql/server \
+	%{_includedir}/Xft2 \
+	%{_includedir}/Xft2/X11/Xft \
+	%{_includedir}/mysql \
+	%{_includedir}/libpng15 \
+	%{_includedir}/libpng16 \
+	%{_includedir}/tirpc \
+; do
+	if [ -d "${d}" ]; then
+		INCDIRS="${INCDIRS} -I${d}"
+	fi
+done
+
+# Checks for supplementary library dirs
+LIBDIRS=""
+for d in \
+	%{_libdir}/libglvnd \
+	%{_libdir}/mysql \
+	%{_libdir}/pgsql \
+; do
+	if [ -d "${d}" ]; then
+		LIBDIRS="${LIBDIRS} -L${d}"
+	fi
+done
+
+# build shared, threaded (default) libraries
+echo yes | ./configure \
+		${INCDIRS} \
+		${LIBDIRS} \
+		-L%{_libdir} \
+		-prefix		"%{_prefix}" \
+		-libdir		"%{_libdir}" \
+		-sysconfdir	"%{_sysconfdir}/tqt3" \
+		-datadir	"%{_datadir}/tqt3" \
+		-headerdir	"%{_includedir}/tqt3" \
+		-docdir		"%{_datadir}/tqt3/doc" \
+		-plugindir	"%{_libdir}/tqt3/plugins" \
+		-translationdir	"%{_datadir}/tqt3/translations" \
+		-sysshare "%{_datadir}" \
+		\
+		-thread \
+		-shared \
+		-fast \
+		-no-exceptions \
+%if "%{?c_compiler}" == "clang"
+		-platform linux-clang \
+%else
+%if "%{_lib}" == "lib64"
+		-platform linux-g++-64 \
+%else
+		-platform linux-g++ \
+%endif
+%endif
+		\
+		%{?with_nis:-nis} %{?!with_nis:-no-nis}		\
+		-no-pch				\
+		-cups				\
+		-stl				\
+		-ipv6				\
+		\
+		-sm				\
+		-xshape				\
+		-xinerama			\
+		-xcursor			\
+		-xrandr				\
+		-xrender			\
+		-xft				\
+		-tablet				\
+		-xkb				\
+		\
+		-system-zlib			\
+		-system-libpng			\
+		-system-libmng			\
+		-system-libjpeg			\
+		%{?with_nas:-system-nas-sound} %{?!with_nas:-no-nas-sound}		\
+		\
+		-enable-opengl			\
+		-dlopen-opengl			\
+		\
+		-qt-gif				\
+		-qt-imgfmt-mng \
+		-qt-imgfmt-png			\
+		-qt-imgfmt-jpeg			\
+		-plugin-imgfmt-mng		\
+		\
+		-plugin-sql-odbc		\
+		-plugin-sql-psql		\
+		-plugin-sql-mysql		\
+		%{?with_ibase:-plugin-sql-ibase}		\
+		-plugin-sql-sqlite		\
+		-plugin-sql-sqlite3		\
+		\
+		-lfontconfig			\
+		-inputmethod			\
+		%{?with_glibmainloop:-glibmainloop} \
+		-debug \
+		-v
+
+# proceed
+%__make %{?_smp_mflags} sub-src || %__make sub-src
+%__make %{?_smp_mflags} sub-plugins || %__make sub-plugins
+%__make %{?_smp_mflags} sub-tools
+
+# build tqtconv2ui
+%__make -C tools/designer/tools/tqtconv2ui
+
+
+# fix .prl files
+%__sed -i lib/*.prl -e "s|${QTDIR}|%{_datadir}/tqt3|g"
+
+
+%install
+%__rm -rf %{buildroot}
+export QTDIR=$(pwd)
+export PATH="${QTDIR}/bin:${PATH}"
+export LD_LIBRARY_PATH=${QTDIR}/lib
+
+# Installs 'libtqt-mt.so.3' library
+%__make -C src INSTALL_ROOT="%{?buildroot}" install_target
+
+# Installs all the remaining
+%__make INSTALL_ROOT=%{?buildroot} install
+%__make INSTALL_ROOT=%{?buildroot} plugins-install
+
+%__install -m755 "bin/tqtfindtr" "%{?buildroot}%{_bindir}"
+
+# install tqtconv2ui
+%__install -m755 "bin/tqtconv2ui" "%{?buildroot}%{_bindir}/tqtconv2ui"
+
+
+## create tqt3-apps-dev-package
+cp tools/designer/interfaces/*.h "%{?buildroot}%{?_includedir}/tqt3/"
+cp tools/designer/editor/*.h "%{?buildroot}%{?_includedir}/tqt3/"
+
+# language file for linguist
+%__install -D -m644 "translations/template.ts" "%{?buildroot}%{?_docdir}/tqt3-linguist/qt_untranslated.ts"
+
+# fix that stupid friggin professional file
+perl -pi -e 's{\$$\$$QT_SOURCE_TREE}{$(QTDIR)}' "src/qt_professional.pri"
+
+## i18n files for designer, linguist and assistant
+for i in designer/designer assistant linguist/linguist; do
+  pushd "tools/${i}"
+  tqlrelease "${i##*/}.pro"
+  for j in ${i##*/}_*.qm; do
+    install -m644 "${j}" "%{?buildroot}%{_datadir}/tqt3/translations/"
+  done
+  popd
+done
+
+%if 0%{?suse_version}
+%suse_update_desktop_file tqassistant Documentation
+%suse_update_desktop_file tqdesigner GUIDesigner
+%suse_update_desktop_file tqlinguist Translation
+%suse_update_desktop_file tqtconfig Utility
+%endif
+
+# Install applications icons
+#__install -m644 -D "tools/assistant/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png"
+#__install -m644 -D "tools/designer/designer/images/designer_appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png"
+#__install -m644 -D "tools/linguist/linguist/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png"
+#__install -m644 -D "tools/qtconfig/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png"
+
+# install the man pages
+%__install -d "%{?buildroot}%{_mandir}/man1"
+%__install -m644 "doc/man/man1/"*"embed.1" "%{?buildroot}%{_mandir}/man1/"
+%__install -m644 "doc/man/man1/"*"lrelease.1" "%{?buildroot}%{_mandir}/man1/"
+%__install -m644 "doc/man/man1/"*"lupdate.1" "%{?buildroot}%{_mandir}/man1/"
+%__install -m644 "doc/man/man1/"*"moc.1" "%{?buildroot}%{_mandir}/man1/"
+%__install -m644 "doc/man/man1/"*"uic.1" "%{?buildroot}%{_mandir}/man1/"
+
+# Install source for the designer tools, such as tqtcreatecw.
+cp -ra tools/designer/tools %{?buildroot}%{_datadir}/tqt3/tools
+rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/tqtcreatecw
+rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/.moc
+rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/.obj
+rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/Makefile
+rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/tqtconv2ui
+rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/.moc
+rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/.obj
+rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/Makefile
+
+# create examples package
+%__install -d tqt3-examples
+cp -ax examples tqt3-examples/
+cp -ax tutorial tqt3-examples/
+mkdir -p tqt3-examples/tools/designer
+cp -ax tools/designer/examples tqt3-examples/tools/designer/
+mkdir -p tqt3-examples/tools/linguist
+cp -ax tools/linguist/tutorial tqt3-examples/tools/linguist/
+find tqt3-examples -name "tt1" -print | xargs rm -rf
+find tqt3-examples -name "tt2" -print | xargs rm -rf
+find tqt3-examples -name "tt3" -print | xargs rm -rf
+find tqt3-examples -name ".moc" | xargs rm -rf
+find tqt3-examples -name ".obj" | xargs rm -rf
+find tqt3-examples -name "Makefile" | xargs rm -rf
+install -D -m 755 %{SOURCE1} %{?buildroot}%{_docdir}/tqt3-examples/build-examples
+tar cvvfz tqt3-examples.tar.gz tqt3-examples/
+install -D -m644 "tqt3-examples.tar.gz" "%{?buildroot}%{_docdir}/tqt3-examples/tqt3-examples.tar.gz"
+
+# Fix wrong permissions
+chmod 644 "%{?buildroot}%{_datadir}/tqt3/mkspecs/"*/*
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
diff --git a/redhat/dependencies/tqt/trinity-tqt-rpmlintrc b/redhat/dependencies/tqt/trinity-tqt-rpmlintrc
new file mode 100644
index 000000000..d131ff5e9
--- /dev/null
+++ b/redhat/dependencies/tqt/trinity-tqt-rpmlintrc
@@ -0,0 +1 @@
+setBadness('shlib-policy-name-error', 0)
diff --git a/redhat/dependencies/tqt3/build-examples.sh b/redhat/dependencies/tqt3/build-examples.sh
deleted file mode 100644
index f62d83b85..000000000
--- a/redhat/dependencies/tqt3/build-examples.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-
-BUILDDIR=$PWD
-export QTDIR=/usr/share/tqt3
-
-# first copy over the libtqt-mt.so build configuration of .qmake.cache
-cp /usr/share/tqt3/.qmake.cache ./.qmake.cache
-
-# Now compile the examples. The themes example
-# won't work since ntqconfig.h is not really correct with the
-# ifdef's for the TQT_NO_xyz_STYLE, so we use make -k to continue
-cd examples; qmake -o Makefile examples.pro; make -k
-
-# Now compile the tutorial.
-cd $BUILDDIR/tutorial; qmake -o Makefile tutorial.pro; make
-
-# Then the designer examples. 
-cd $BUILDDIR/tools/designer/examples
-for a in `find . -type d -maxdepth 1 -mindepth 1`; do
-        cd $a && qmake -o Makefile $a.pro; make; cd ..;
-done
-
-# There is a bigger sql example in book/ with more subdirectories:
-cd book
-for a in `find . -type d -maxdepth 1 -mindepth 1`; do
-        cd $a && qmake -o Makefile $a.pro; make; cd ..;
-done
-
-# Finally, build the linguist tutorials:
-cd $BUILDDIR/tools/linguist/tutorial
-for a in `find . -type d -maxdepth 1 -mindepth 1`; do 
-	cd $a && qmake -o Makefile $a.pro; make; cd ..; 
-done
-
-# Return to the build directory
-cd $BUILDDIR 
diff --git a/redhat/dependencies/tqt3/tqt3.spec b/redhat/dependencies/tqt3/tqt3.spec
deleted file mode 100644
index 41ba8f185..000000000
--- a/redhat/dependencies/tqt3/tqt3.spec
+++ /dev/null
@@ -1,1469 +0,0 @@
-#
-# spec file for package tqt3 (version R14)
-#
-# Copyright (c) 2014 Trinity Desktop Environment
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-#
-# Please submit bugfixes or comments via http://www.trinitydesktop.org/
-#
-
-# TDE variables
-%if "%{?tde_version}" == ""
-%define tde_version 14.2.0
-%endif
-
-%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
-%define libtqt3 %{_lib}tqt3
-%else
-%define libtqt3 libtqt3
-%endif
-
-
-Name:		trinity-tqt3
-Version:	3.5.0
-Release:	%{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
-Summary:	TQt GUI Library, Version 3
-Group:		System/GUI/Other
-URL:		http://www.trinitydesktop.org/
-
-%if 0%{?suse_version}
-License:	GPL-2.0+
-%else
-License:	GPLv2+
-%endif
-
-#Vendor:		Trinity Project
-#Packager:	Francois Andriot <francois.andriot@free.fr>
-
-Prefix:		/usr
-BuildRoot:	%{_tmppath}/%{name}-%{tde_version}-%{release}-root-%(%{__id_u} -n)
-
-Source0:	%{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-Source1:	build-examples.sh
-Source2:	trinity-tqt3-rpmlintrc
-
-BuildRequires: glibc-devel
-%if "%{?c_compiler}" != "clang"
-BuildRequires: gcc-c++
-%endif
-BuildRequires: make
-%if 0%{?suse_version}
-BuildRequires: libopenssl-3-devel
-%endif
-
-BuildRequires: desktop-file-utils
-BuildRequires: perl
-BuildRequires: sed
-BuildRequires: findutils
-BuildRequires: tar
-
-# ZLIB support
-%if 0%{?suse_version}
-BuildRequires: zlib-ng-compat-devel
-%else
-BuildRequires: zlib-devel
-%endif
-
-# JPEG support
-%if 0%{?mdkver} || 0%{?mgaversion}
-%define libjpeg %{_lib}jpeg
-%else
-%define libjpeg libjpeg
-%endif
-%{?libjpeg:BuildRequires: %{libjpeg}-devel}
-
-# MNG support
-%if 0%{?mdkver} || 0%{?mgaversion}
-%define libmng %{_lib}mng
-%else
-%define libmng libmng
-%endif
-%{?libmng:BuildRequires: %{libmng}-devel}
-
-# PNG support
-%if 0%{?mdkver} || 0%{?mgaversion}
-%define libpng %{_lib}png
-%else
-%define libpng libpng
-%endif
-%{?libpng:BuildRequires: %{libpng}-devel}
-
-# GIF support
-BuildRequires: giflib-devel
-
-# FREETYPE support
-BuildRequires: freetype-devel
-
-# FONTCONFIG support
-BuildRequires: fontconfig-devel
-
-# SUSE desktop files utility
-%if 0%{?suse_version}
-BuildRequires:	update-desktop-files
-%endif
-
-# CUPS support
-BuildRequires: cups-devel
-
-# GLIB2 support
-%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?rhel} >= 6
-%define with_glibmainloop 1
-%define glib2_devel glib2-devel
-%endif
-%{?glib2_devel:BuildRequires: %{glib2_devel}}
-
-# UUID support
-%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6
-%define uuid_devel libuuid-devel
-%endif
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%define uuid_devel %{_lib}uuid-devel
-%endif
-%if 0%{?rhel} == 5
-%define uuid_devel e2fsprogs-devel
-%endif
-%{?uuid_devel:BuildRequires: %{uuid_devel}}
-
-# LIBAUDIO support
-%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
-%define with_nas 1
-%if "%{?distribution}" == "OpenMandriva Lx"
-%define libaudio_devel %{_lib}audio-devel nas-devel
-%else
-%define libaudio_devel nas-devel
-%endif
-%endif
-%{?libaudio_devel:BuildRequires: %{libaudio_devel}}
-
-# Xrender support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
-%define xrender_devel libXrender-devel
-%endif
-%if 0%{?mdkversion} || 0%{?mgaversion}
-%define xrender_devel %{_lib}xrender-devel
-%endif
-%{?xrender_devel:BuildRequires: %{xrender_devel}}
-
-# Xrandr support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
-%define xrandr_devel libXrandr-devel
-%endif
-%if 0%{?mdkversion} || 0%{?mgaversion}
-%define xrandr_devel %{_lib}xrandr-devel
-%endif
-%if 0%{?pclinuxos}
-%define xrandr_devel %{_lib}xrandr2-devel
-%endif
-%{?xrandr_devel:BuildRequires: %{xrandr_devel}}
-
-# Xcursor support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
-%define xcursor_devel libXcursor-devel
-%endif
-%if 0%{?mdkversion} || 0%{?mgaversion}
-%define xcursor_devel %{_lib}xcursor-devel
-%endif
-%{?xcursor_devel:BuildRequires: %{xcursor_devel}}
-
-# Xinerama support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
-%define xinerama_devel libXinerama-devel
-%endif
-%if 0%{?mdkversion} || 0%{?mgaversion}
-%define xinerama_devel %{_lib}xinerama-devel
-%endif
-%{?xinerama_devel:BuildRequires: %{xinerama_devel}}
-
-# Xft support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
-%define xft_devel libXft-devel
-%endif
-%if 0%{?mdkversion} || 0%{?mgaversion}
-%define xft_devel %{_lib}xft-devel
-%endif
-%{?xft_devel:BuildRequires: %{xft_devel}}
-
-# XEXT support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
-%define xext_devel libXext-devel
-%endif
-%if 0%{?mdkversion} || 0%{?mgaversion}
-%define xext_devel %{_lib}xext-devel
-%endif
-%{?xext_devel:BuildRequires: %{xext_devel}}
-
-# X11 support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
-%define x11_devel libX11-devel
-%endif
-%if 0%{?mdkversion} || 0%{?mgaversion}
-%define x11_devel %{_lib}x11-devel
-%endif
-%{?x11_devel:BuildRequires: %{x11_devel}}
-
-# SM support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
-%define sm_devel libSM-devel
-%endif
-%if 0%{?mdkversion} || 0%{?mgaversion}
-%define sm_devel %{_lib}sm-devel
-%endif
-%{?sm_devel:BuildRequires: %{sm_devel}}
-
-# ICE support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
-%define ice_devel libICE-devel
-%endif
-%if 0%{?mdkversion} || 0%{?mgaversion}
-%define ice_devel %{_lib}ice-devel
-%endif
-%{?ice_devel:BuildRequires: %{ice_devel}}
-
-# XT support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
-BuildRequires: libXt-devel
-%endif
-
-# XMU support
-%if 0%{?suse_version} == 1140
-BuildRequires:	xorg-x11-libXmu-devel
-%endif
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210
-BuildRequires: libXmu-devel
-%endif
-%if 0%{?mdkversion} || 0%{?mgaversion} >= 4
-BuildRequires: %{_lib}xmu-devel
-%endif
-%if 0%{?mgaversion} == 2 || 0%{?mgaversion} == 3
-BuildRequires:	%{_lib}xmu%{?mgaversion:6}-devel
-%endif
-
-# XI support
-%if 0%{?rhel} == 4
-%define xi_devel xorg-x11-devel
-%endif
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%define xi_devel %{_lib}xi-devel
-%endif
-%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora}
-%define xi_devel libXi-devel
-%endif
-%if 0%{?suse_version} == 1140
-%define xi_devel libXi6-devel
-%endif
-%{?xi_devel:BuildRequires: %{xi_devel}}
-
-# Xorg support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
-BuildRequires: xorg-x11-proto-devel
-%endif
-
-# MESA support
-%if 0%{?rhel} || 0%{?fedora}
-BuildRequires: mesa-libGL-devel
-BuildRequires: mesa-libGLU-devel
-%endif
-%if 0%{?mdkversion} || 0%{?mgaversion}
-%if 0%{?pclinuxos}
-BuildRequires: MesaGLU-devel
-%else
-%if "%{?distribution}" == "OpenMandriva Lx"
-BuildRequires: %{_lib}glu-devel
-%else
-BuildRequires: mesaglu-devel
-%endif
-%endif
-%endif
-%if 0%{?suse_version}
-BuildRequires: Mesa-libGL-devel
-BuildRequires: Mesa-libGLU-devel
-%endif
-
-# MYSQL support
-%if 0%{?suse_version}
-BuildRequires: libmariadb-devel
-%else
-BuildRequires: mysql-devel
-%endif
-
-# unixODBC support
-BuildRequires: unixODBC-devel
-
-# SQLITE3 support
-%if 0%{?mgaversion}
-BuildRequires: sqlite3-devel
-%else
-BuildRequires: sqlite-devel
-%endif
-
-# POSTGRESQL support
-BuildRequires:	postgresql
-%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150200
-BuildRequires: postgresql-server-devel
-%else
-BuildRequires: postgresql-devel
-%endif
-
-# Firebird support
-%if 0%{?mdkversion} || 0%{?mgaversion}
-%define with_ibase 1
-BuildRequires:	firebird-devel
-%endif
-
-# FBCLIENT support
-%if 0%{?mdkver} || 0%{?mgaversion} >= 6
-BuildRequires:	%{_lib}fbclient-devel
-%endif
-
-# NIS support
-%define with_nis 1
-
-# RPC support
-%if 0%{?rhel} >= 8 || 0%{?fedora} >= 28
-BuildRequires:		libnsl2-devel
-BuildRequires:		libtirpc-devel
-%endif
-%if 0%{?suse_version} >= 1500
-BuildRequires:		libnsl-devel
-BuildRequires:		libtirpc-devel
-%endif
-%if 0%{?mdkver} || 0%{?mgaversion}
-BuildRequires:		%{_lib}nsl-devel
-BuildRequires:		%{_lib}tirpc-devel
-%endif
-
-# x86_64 specific stuff
-%if "%{_lib}" != "lib"
-%if 0%{?mdkversion} || ( 0%{?mgaversion} && 0%{?mgaversion} <= 2)
-BuildRequires: linux32
-%else
-BuildRequires: util-linux
-%endif
-%endif
-
-Obsoletes: tqt3-dev-tools-embedded
-%description
-This is the Trolltech TQt library, version 3. It's necessary for
-applications that link against the libtqt-mt.so.3, e.g. all Trinity
-applications.
-
-##########
-
-%package -n %{libtqt3}-mt
-Summary:	TQt GUI Library (Threaded runtime version), Version 3
-Group:		System/GUI/Other
-Provides:	libtqt3-mt = %{version}-%{release}
-Provides:	trinity-tqt3 = %{version}-%{release}
-
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
-Requires: coreutils
-Requires: fontconfig >= 2.0
-
-%description -n %{libtqt3}-mt
-This is the Trolltech TQt library, version 3. It's necessary for
-applications that link against the libtqt-mt.so.3, e.g. all Trinity
-applications.
-
-%post -n %{libtqt3}-mt
-/sbin/ldconfig || :
-
-%postun -n %{libtqt3}-mt
-/sbin/ldconfig || :
-
-%files -n %{libtqt3}-mt
-%defattr(-,root,root,-)
-%doc FAQ LICENSE* README* changes*
-%dir %{_datadir}/tqt3/
-%dir %{_datadir}/tqt3/doc/
-%dir %{_datadir}/tqt3/doc/html/
-%dir %{_datadir}/tqt3/tools/
-%dir %{_libdir}/tqt3/
-%dir %{_libdir}/tqt3/plugins/
-%dir %{_libdir}/tqt3/plugins/designer/
-%dir %{_libdir}/tqt3/plugins/imageformats/
-%dir %{_libdir}/tqt3/plugins/inputmethods/
-%dir %{_libdir}/tqt3/plugins/sqldrivers/
-%{_libdir}/libtqt-mt.so.3
-%{_libdir}/libtqt-mt.so.3.5
-%{_libdir}/libtqt-mt.so.3.5.0
-%{_libdir}/libtqui.so.1
-%{_libdir}/libtqui.so.1.0
-%{_libdir}/libtqui.so.1.0.0
-%{_libdir}/tqt3/plugins/imageformats/libtqmng.so
-%{_libdir}/tqt3/plugins/inputmethods/libqimsw-multi.so
-%{_libdir}/tqt3/plugins/inputmethods/libqimsw-none.so
-%{_libdir}/tqt3/plugins/inputmethods/libqsimple.so
-%{_libdir}/tqt3/plugins/inputmethods/libqxim.so
-
-###########
-
-%package -n %{libtqt3}-mt-devel
-Summary:	TQt development files (Threaded)
-Group:		Development/Libraries/X11
-Provides:	trinity-tqt3-devel = %{version}-%{release}
-Provides:	libtqt3-mt-devel = %{version}-%{release}
-Requires:	%{libtqt3}-mt = %{version}-%{release}
-
-Requires: glibc-devel
-Requires: fontconfig-devel
-Requires: freetype-devel
-Requires: %{libjpeg}-devel
-Requires: %{libpng}-devel
-%if 0%{?suse_version}
-Requires: zlib-ng-compat-devel
-%else
-Requires: zlib-devel
-%endif
-
-%{?glib2_devel:Requires: %{glib2_devel}}
-%{?uuid_devel:Requires: %{uuid_devel}}
-%{?xi_devel:Requires: %{xi_devel}}
-%{?xrender_devel:Requires: %{xrender_devel}}
-%{?xrandr_devel:Requires: %{xrandr_devel}}
-%{?xcursor_devel:Requires: %{xcursor_devel}}
-%{?xinerama_devel:Requires: %{xinerama_devel}}
-%{?xft_devel:Requires: %{xft_devel}}
-%{?xext_devel:Requires: %{xext_devel}}
-%{?x11_devel:Requires: %{x11_devel}}
-%{?sm_devel:Requires: %{sm_devel}}
-%{?ice_devel:Requires: %{ice_devel}}
-%{?libaudio_devel:Requires: %{libaudio_devel}}
-
-%description -n %{libtqt3}-mt-devel
-TQt is a C++ class library optimized for graphical user interface
-development. This package contains the libtqt-mt.so symlink, necessary
-for building threaded TQt applications as well as the libtqui.so symlink
-and the necessary header files for libtqui.so. (See README.Debian and
-the TQt Documentation for instructions on libtqui.so)
-
-%post -n %{libtqt3}-mt-devel
-/sbin/ldconfig || :
-
-%postun -n %{libtqt3}-mt-devel
-/sbin/ldconfig || :
-
-%files -n %{libtqt3}-mt-devel
-%defattr(-,root,root,-)
-%{_libdir}/libtqt-mt.la
-%{_libdir}/libtqt-mt.so
-%{_libdir}/libtqt-mt.prl
-%{_libdir}/libtqui.so
-%{_libdir}/libtqui.prl
-%{_libdir}/pkgconfig/tqt-mt.pc
-%dir %{_includedir}/tqt3
-%{_includedir}/tqt3/tqgl.h
-%{_includedir}/tqt3/tqglcolormap.h
-%{_includedir}/tqt3/actioninterface.h
-%{_includedir}/tqt3/arghintwidget.h
-%{_includedir}/tqt3/browser.h
-%{_includedir}/tqt3/cindent.h
-%{_includedir}/tqt3/classbrowserinterface.h
-%{_includedir}/tqt3/completion.h
-%{_includedir}/tqt3/conf.h
-%{_includedir}/tqt3/designerinterface.h
-%{_includedir}/tqt3/editor.h
-%{_includedir}/tqt3/editorinterface.h
-%{_includedir}/tqt3/filterinterface.h
-%{_includedir}/tqt3/interpreterinterface.h
-%{_includedir}/tqt3/languageinterface.h
-%{_includedir}/tqt3/markerwidget.h
-%{_includedir}/tqt3/tqaccel.h
-%{_includedir}/tqt3/tqaccessible.h
-%{_includedir}/tqt3/tqaction.h
-%{_includedir}/tqt3/tqapplication.h
-%{_includedir}/tqt3/tqasciicache.h
-%{_includedir}/tqt3/tqasciidict.h
-%{_includedir}/tqt3/tqasyncimageio.h
-%{_includedir}/tqt3/tqasyncio.h
-%{_includedir}/tqt3/tqbig5codec.h
-%{_includedir}/tqt3/tqbitarray.h
-%{_includedir}/tqt3/tqbitmap.h
-%{_includedir}/tqt3/tqbrush.h
-%{_includedir}/tqt3/tqbuffer.h
-%{_includedir}/tqt3/tqbutton.h
-%{_includedir}/tqt3/tqbuttongroup.h
-%{_includedir}/tqt3/tqcache.h
-%{_includedir}/tqt3/tqchar.h
-%{_includedir}/tqt3/tqcdestyle.h
-%{_includedir}/tqt3/tqcheckbox.h
-%{_includedir}/tqt3/tqcleanuphandler.h
-%{_includedir}/tqt3/tqclipboard.h
-%{_includedir}/tqt3/tqcolor.h
-%{_includedir}/tqt3/tqcolordialog.h
-%{_includedir}/tqt3/tqcombobox.h
-%{_includedir}/tqt3/tqcommonstyle.h
-%{_includedir}/tqt3/tqcompactstyle.h
-%{_includedir}/tqt3/tqconfig.h
-%{_includedir}/tqt3/tqconnection.h
-%{_includedir}/tqt3/tqcstring.h
-%{_includedir}/tqt3/tqcursor.h
-%{_includedir}/tqt3/tqdatastream.h
-%{_includedir}/tqt3/tqdatetime.h
-%{_includedir}/tqt3/tqdatetimeedit.h
-%{_includedir}/tqt3/tqdeepcopy.h
-%{_includedir}/tqt3/tqdesktopwidget.h
-%{_includedir}/tqt3/tqdial.h
-%{_includedir}/tqt3/tqdialog.h
-%{_includedir}/tqt3/tqdict.h
-%{_includedir}/tqt3/tqdir.h
-%{_includedir}/tqt3/tqdns.h
-%{_includedir}/tqt3/tqdockarea.h
-%{_includedir}/tqt3/tqdockwindow.h
-%{_includedir}/tqt3/tqdragobject.h
-%{_includedir}/tqt3/tqdrawutil.h
-%{_includedir}/tqt3/tqdropsite.h
-%{_includedir}/tqt3/tqerrormessage.h
-%{_includedir}/tqt3/tqeucjpcodec.h
-%{_includedir}/tqt3/tqeuckrcodec.h
-%{_includedir}/tqt3/tqevent.h
-%{_includedir}/tqt3/tqeventloop.h
-%{_includedir}/tqt3/tqfeatures.h
-%{_includedir}/tqt3/tqfile.h
-%{_includedir}/tqt3/tqfiledialog.h
-%{_includedir}/tqt3/tqfileinfo.h
-%{_includedir}/tqt3/tqfocusdata.h
-%{_includedir}/tqt3/tqfont.h
-%{_includedir}/tqt3/tqfontdatabase.h
-%{_includedir}/tqt3/tqfontdialog.h
-%{_includedir}/tqt3/tqfontinfo.h
-%{_includedir}/tqt3/tqfontmetrics.h
-%{_includedir}/tqt3/tqframe.h
-%{_includedir}/tqt3/tqftp.h
-%{_includedir}/tqt3/tqgarray.h
-%{_includedir}/tqt3/tqgb18030codec.h
-%{_includedir}/tqt3/tqgbkcodec.h
-%{_includedir}/tqt3/tqgcache.h
-%{_includedir}/tqt3/tqgdict.h
-%{_includedir}/tqt3/tqgif.h
-%{_includedir}/tqt3/tqglist.h
-%{_includedir}/tqt3/tqglobal.h
-%{_includedir}/tqt3/tqgplugin.h
-%{_includedir}/tqt3/tqgrid.h
-%{_includedir}/tqt3/tqgridview.h
-%{_includedir}/tqt3/tqgroupbox.h
-%{_includedir}/tqt3/tqguardedptr.h
-%{_includedir}/tqt3/tqgvector.h
-%{_includedir}/tqt3/tqhbox.h
-%{_includedir}/tqt3/tqhbuttongroup.h
-%{_includedir}/tqt3/tqheader.h
-%{_includedir}/tqt3/tqhgroupbox.h
-%{_includedir}/tqt3/tqhostaddress.h
-%{_includedir}/tqt3/tqhttp.h
-%{_includedir}/tqt3/tqinputcontext.h
-%{_includedir}/tqt3/tqinputcontextfactory.h
-%{_includedir}/tqt3/tqinputcontextplugin.h
-%{_includedir}/tqt3/tqinputdialog.h
-%{_includedir}/tqt3/tqintcache.h
-%{_includedir}/tqt3/tqintdict.h
-%{_includedir}/tqt3/tqinterlacestyle.h
-%{_includedir}/tqt3/tqiodevice.h
-%{_includedir}/tqt3/tqjiscodec.h
-%{_includedir}/tqt3/tqjpegio.h
-%{_includedir}/tqt3/tqjpunicode.h
-%{_includedir}/tqt3/tqkeycode.h
-%{_includedir}/tqt3/tqkeysequence.h
-%{_includedir}/tqt3/tqlabel.h
-%{_includedir}/tqt3/tqlayout.h
-%{_includedir}/tqt3/tqlcdnumber.h
-%{_includedir}/tqt3/tqlibrary.h
-%{_includedir}/tqt3/tqlineedit.h
-%{_includedir}/tqt3/tqlistbox.h
-%{_includedir}/tqt3/tqlistview.h
-%{_includedir}/tqt3/tqlocale.h
-%{_includedir}/tqt3/tqlocalfs.h
-%{_includedir}/tqt3/tqmainwindow.h
-%{_includedir}/tqt3/tqmemarray.h
-%{_includedir}/tqt3/tqmenubar.h
-%{_includedir}/tqt3/tqmenudata.h
-%{_includedir}/tqt3/tqmessagebox.h
-%{_includedir}/tqt3/tqmetaobject.h
-%{_includedir}/tqt3/tqmime.h
-%{_includedir}/tqt3/tqmngio.h
-%{_includedir}/tqt3/tqmodules.h
-%{_includedir}/tqt3/tqmotifplusstyle.h
-%{_includedir}/tqt3/tqmotifstyle.h
-%{_includedir}/tqt3/tqmovie.h
-%{_includedir}/tqt3/tqmultilineedit.h
-%{_includedir}/tqt3/tqmutex.h
-%{_includedir}/tqt3/tqnamespace.h
-%{_includedir}/tqt3/tqnetwork.h
-%{_includedir}/tqt3/tqnetworkprotocol.h
-%{_includedir}/tqt3/tqpaintdevice.h
-%{_includedir}/tqt3/tqpaintdevicemetrics.h
-%{_includedir}/tqt3/tqpainter.h
-%{_includedir}/tqt3/tqpalette.h
-%{_includedir}/tqt3/tqpen.h
-%{_includedir}/tqt3/tqpicture.h
-%{_includedir}/tqt3/tqpixmap.h
-%{_includedir}/tqt3/tqpixmapcache.h
-%{_includedir}/tqt3/tqplatinumstyle.h
-%{_includedir}/tqt3/tqpngio.h
-%{_includedir}/tqt3/tqpoint.h
-%{_includedir}/tqt3/tqpointarray.h
-%{_includedir}/tqt3/tqpolygonscanner.h
-%{_includedir}/tqt3/tqpopupmenu.h
-%{_includedir}/tqt3/tqprintdialog.h
-%{_includedir}/tqt3/tqprinter.h
-%{_includedir}/tqt3/tqprocess.h
-%{_includedir}/tqt3/tqprogressbar.h
-%{_includedir}/tqt3/tqprogressdialog.h
-%{_includedir}/tqt3/tqpushbutton.h
-%{_includedir}/tqt3/tqradiobutton.h
-%{_includedir}/tqt3/tqrangecontrol.h
-%{_includedir}/tqt3/tqrect.h
-%{_includedir}/tqt3/tqregexp.h
-%{_includedir}/tqt3/tqregion.h
-%{_includedir}/tqt3/tqhebrewcodec.h
-%{_includedir}/tqt3/tqscrollbar.h
-%{_includedir}/tqt3/tqscrollview.h
-%{_includedir}/tqt3/tqsemaphore.h
-%{_includedir}/tqt3/tqserversocket.h
-%{_includedir}/tqt3/tqsessionmanager.h
-%{_includedir}/tqt3/tqsettings.h
-%{_includedir}/tqt3/tqsgistyle.h
-%{_includedir}/tqt3/tqshared.h
-%{_includedir}/tqt3/tqsignal.h
-%{_includedir}/tqt3/tqsignalmapper.h
-%{_includedir}/tqt3/tqsignalslotimp.h
-%{_includedir}/tqt3/tqsimplerichtext.h
-%{_includedir}/tqt3/tqsize.h
-%{_includedir}/tqt3/tqsizegrip.h
-%{_includedir}/tqt3/tqsizepolicy.h
-%{_includedir}/tqt3/tqsjiscodec.h
-%{_includedir}/tqt3/tqslider.h
-%{_includedir}/tqt3/tqsocket.h
-%{_includedir}/tqt3/tqsocketdevice.h
-%{_includedir}/tqt3/tqsocketnotifier.h
-%{_includedir}/tqt3/tqsound.h
-%{_includedir}/tqt3/tqspinbox.h
-%{_includedir}/tqt3/tqsplashscreen.h
-%{_includedir}/tqt3/tqsplitter.h
-%{_includedir}/tqt3/tqstatusbar.h
-%{_includedir}/tqt3/tqsyntaxhighlighter.h
-%{_includedir}/tqt3/tqt.h
-%{_includedir}/tqt3/tqtabbar.h
-%{_includedir}/tqt3/tqtabdialog.h
-%{_includedir}/tqt3/tqtable.h
-%{_includedir}/tqt3/tqtabwidget.h
-%{_includedir}/tqt3/tqthread.h
-%{_includedir}/tqt3/tqthreadstorage.h
-%{_includedir}/tqt3/tqtimer.h
-%{_includedir}/tqt3/tqtl.h
-%{_includedir}/tqt3/tqtoolbar.h
-%{_includedir}/tqt3/tqtoolbox.h
-%{_includedir}/tqt3/tqtoolbutton.h
-%{_includedir}/tqt3/tqtooltip.h
-%{_includedir}/tqt3/tqtranslator.h
-%{_includedir}/tqt3/tqtsciicodec.h
-%{_includedir}/tqt3/tqurl.h
-%{_includedir}/tqt3/tqurlinfo.h
-%{_includedir}/tqt3/tqurloperator.h
-%{_includedir}/tqt3/tqutfcodec.h
-%{_includedir}/tqt3/tquuid.h
-%{_includedir}/tqt3/tqvalidator.h
-%{_includedir}/tqt3/tqvariant.h
-%{_includedir}/tqt3/tqvbox.h
-%{_includedir}/tqt3/tqvbuttongroup.h
-%{_includedir}/tqt3/tqvgroupbox.h
-%{_includedir}/tqt3/tqwaitcondition.h
-%{_includedir}/tqt3/tqwhatsthis.h
-%{_includedir}/tqt3/tqwindowdefs.h
-%{_includedir}/tqt3/tqwindowsstyle.h
-%{_includedir}/tqt3/tqwinexport.h
-%{_includedir}/tqt3/tqwizard.h
-%{_includedir}/tqt3/tqwmatrix.h
-%{_includedir}/tqt3/tqworkspace.h
-%{_includedir}/tqt3/paragdata.h
-%{_includedir}/tqt3/parenmatcher.h
-%{_includedir}/tqt3/preferenceinterface.h
-%{_includedir}/tqt3/preferences.h
-%{_includedir}/tqt3/preferences.ui.h
-%{_includedir}/tqt3/projectsettingsiface.h
-%{_includedir}/tqt3/tqconfig-dist.h
-%{_includedir}/tqt3/tqconfig-large.h
-%{_includedir}/tqt3/tqconfig-medium.h
-%{_includedir}/tqt3/tqconfig-minimal.h
-%{_includedir}/tqt3/tqconfig-small.h
-%{_includedir}/tqt3/qt_pch.h
-%{_includedir}/tqt3/sourcetemplateiface.h
-%{_includedir}/tqt3/tqcanvas.h
-%{_includedir}/tqt3/tqdatabrowser.h
-%{_includedir}/tqt3/tqdatatable.h
-%{_includedir}/tqt3/tqdataview.h
-%{_includedir}/tqt3/tqdom.h
-%{_includedir}/tqt3/tqeditorfactory.h
-%{_includedir}/tqt3/tqiconset.h
-%{_includedir}/tqt3/tqiconview.h
-%{_includedir}/tqt3/tqimage.h
-%{_includedir}/tqt3/tqimageformatplugin.h
-%{_includedir}/tqt3/tqmap.h
-%{_includedir}/tqt3/tqobject.h
-%{_includedir}/tqt3/tqobjectcleanuphandler.h
-%{_includedir}/tqt3/tqobjectdefs.h
-%{_includedir}/tqt3/tqobjectdict.h
-%{_includedir}/tqt3/tqobjectlist.h
-%{_includedir}/tqt3/tqpair.h
-%{_includedir}/tqt3/tqptrcollection.h
-%{_includedir}/tqt3/tqptrdict.h
-%{_includedir}/tqt3/tqptrlist.h
-%{_includedir}/tqt3/tqptrqueue.h
-%{_includedir}/tqt3/tqptrstack.h
-%{_includedir}/tqt3/tqptrvector.h
-%{_includedir}/tqt3/tqsql.h
-%{_includedir}/tqt3/tqsql_ibase.h
-%{_includedir}/tqt3/tqsql_mysql.h
-%{_includedir}/tqt3/tqsql_odbc.h
-%{_includedir}/tqt3/tqsql_psql.h
-%{_includedir}/tqt3/tqsql_sqlite.h
-%{_includedir}/tqt3/tqsql_sqlite3.h
-%{_includedir}/tqt3/tqsqlcachedresult.h
-%{_includedir}/tqt3/tqsqlcursor.h
-%{_includedir}/tqt3/tqsqldatabase.h
-%{_includedir}/tqt3/tqsqldriver.h
-%{_includedir}/tqt3/tqsqldriverplugin.h
-%{_includedir}/tqt3/tqsqleditorfactory.h
-%{_includedir}/tqt3/tqsqlerror.h
-%{_includedir}/tqt3/tqsqlfield.h
-%{_includedir}/tqt3/tqsqlform.h
-%{_includedir}/tqt3/tqsqlindex.h
-%{_includedir}/tqt3/tqsqlpropertymap.h
-%{_includedir}/tqt3/tqsqlquery.h
-%{_includedir}/tqt3/tqsqlrecord.h
-%{_includedir}/tqt3/tqsqlresult.h
-%{_includedir}/tqt3/tqsqlselectcursor.h
-%{_includedir}/tqt3/tqstring.h
-%{_includedir}/tqt3/tqstringlist.h
-%{_includedir}/tqt3/tqstrlist.h
-%{_includedir}/tqt3/tqstrvec.h
-%{_includedir}/tqt3/tqstyle.h
-%{_includedir}/tqt3/tqstylefactory.h
-%{_includedir}/tqt3/tqstyleplugin.h
-%{_includedir}/tqt3/tqstylesheet.h
-%{_includedir}/tqt3/tqtextbrowser.h
-%{_includedir}/tqt3/tqtextcodec.h
-%{_includedir}/tqt3/tqtextcodecfactory.h
-%{_includedir}/tqt3/tqtextcodecplugin.h
-%{_includedir}/tqt3/tqtextedit.h
-%{_includedir}/tqt3/tqtextstream.h
-%{_includedir}/tqt3/tqtextview.h
-%{_includedir}/tqt3/tqvaluelist.h
-%{_includedir}/tqt3/tqvaluestack.h
-%{_includedir}/tqt3/tqvaluevector.h
-%{_includedir}/tqt3/tqwidget.h
-%{_includedir}/tqt3/tqwidgetfactory.h
-%{_includedir}/tqt3/tqwidgetintdict.h
-%{_includedir}/tqt3/tqwidgetlist.h
-%{_includedir}/tqt3/tqwidgetplugin.h
-%{_includedir}/tqt3/tqwidgetstack.h
-%{_includedir}/tqt3/tqxml.h
-%{_includedir}/tqt3/templatewizardiface.h
-%{_includedir}/tqt3/viewmanager.h
-%{_includedir}/tqt3/widgetinterface.h
-
-%dir %{_includedir}/tqt3/private/
-%{_includedir}/tqt3/private/*.h
-
-##########
-
-%package -n %{libtqt3}-mt-mysql
-Summary:	MySQL database driver for TQt3 (Threaded)
-Group:		System/GUI/Other
-Provides:	libtqt3-mt-mysql = %{version}-%{release}
-Requires:	%{libtqt3}-mt = %{version}-%{release}
-
-%description -n %{libtqt3}-mt-mysql
-This package contains the threaded MySQL plugin for TQt3. Install it if
-you intend to use or write TQt programs that are to access a MySQL DB.
-
-%files -n %{libtqt3}-mt-mysql
-%defattr(-,root,root,-)
-%{_libdir}/tqt3/plugins/sqldrivers/libqsqlmysql.so
-
-##########
-
-%package -n %{libtqt3}-mt-odbc
-Summary:	ODBC database driver for TQt3 (Threaded)
-Group:		System/GUI/Other
-Provides:	libtqt3-mt-odbc = %{version}-%{release}
-Requires:	%{libtqt3}-mt = %{version}-%{release}
-
-%description -n %{libtqt3}-mt-odbc
-This package contains the threaded ODBC plugin for TQt3. Install it if
-you intend to use or write TQt programs that are to access an ODBC DB.
-
-%files -n %{libtqt3}-mt-odbc
-%defattr(-,root,root,-)
-%{_libdir}/tqt3/plugins/sqldrivers/libqsqlodbc.so
-
-##########
-
-%package -n %{libtqt3}-mt-psql
-Summary:	PostgreSQL database driver for TQt3 (Threaded)
-Group:		System/GUI/Other
-Provides:	libtqt3-mt-psql = %{version}-%{release}
-Requires:	%{libtqt3}-mt = %{version}-%{release}
-
-%description -n %{libtqt3}-mt-psql
-This package contains the threaded PostgreSQL plugin for TQt3.
-Install it if you intend to use or write TQt programs that are
-to access a PostgreSQL DB.
-
-%files -n %{libtqt3}-mt-psql
-%defattr(-,root,root,-)
-%{_libdir}/tqt3/plugins/sqldrivers/libqsqlpsql.so
-
-##########
-
-%if 0%{?with_ibase}
-%package -n %{libtqt3}-mt-ibase
-Summary:	InterBase/FireBird database driver for TQt3 (Threaded)
-Group:		System/GUI/Other
-Provides:	libtqt3-mt-ibase = %{version}-%{release}
-Requires:	%{libtqt3}-mt = %{version}-%{release}
-
-%description -n %{libtqt3}-mt-ibase
-This package contains the threaded InterBase/FireBird plugin
-for TQt3. Install it if you intend to use or write TQt programs
-that are to access an InterBase/FireBird DB.
-
-%files -n %{libtqt3}-mt-ibase
-%defattr(-,root,root,-)
-%{_libdir}/tqt3/plugins/sqldrivers/libqsqlibase.so
-%endif
-
-##########
-
-%package -n %{libtqt3}-mt-sqlite
-Summary:	SQLite database driver for TQt3 (Threaded)
-Group:		System/GUI/Other
-Provides:	libtqt3-mt-sqlite = %{version}-%{release}
-Requires:	%{libtqt3}-mt = %{version}-%{release}
-
-%description -n %{libtqt3}-mt-sqlite
-This package contains the threaded SQLite plugin for TQt3. Install
-it if you intend to use or write TQt programs that are to access an
-SQLite DB.
-
-%files -n %{libtqt3}-mt-sqlite
-%defattr(-,root,root,-)
-%{_libdir}/tqt3/plugins/sqldrivers/libqsqlite.so
-
-##########
-
-%package -n %{libtqt3}-mt-sqlite3
-Summary:	SQLite3 database driver for TQt3 (Threaded)
-Group:		System/GUI/Other
-Provides:	libtqt3-mt-sqlite3 = %{version}-%{release}
-Requires:	%{libtqt3}-mt = %{version}-%{release}
-
-%description -n %{libtqt3}-mt-sqlite3
-This package contains the threaded SQLite3 plugin for TQt3. Install
-it if you intend to use or write TQt programs that are to access an
-SQLite3 DB.
-
-%files -n %{libtqt3}-mt-sqlite3
-%defattr(-,root,root,-)
-%{_libdir}/tqt3/plugins/sqldrivers/libqsqlite3.so
-
-###########
-
-%package -n tqt3-dev-tools
-Summary:	TQt3 development tools
-Group:		Development/Libraries/X11
-Requires:	%{libtqt3}-mt-devel = %{version}-%{release}
-Requires:	tqt3-dev-tools-devel = %{version}-%{release}
-
-%description -n tqt3-dev-tools
-This package contains all tools that are necessary to build programs
-that are written using TQt3. These are: qmake, uic and moc.
-For TQt3 development, you most likely want to install this package.
-
-%files -n tqt3-dev-tools
-%defattr(-,root,root,-)
-%{_datadir}/tqt3/doc/html/qmake*html
-%{_datadir}/tqt3/doc/html/qmake*dcf
-%{_bindir}/tqmake
-%{_bindir}/tqlupdate
-%{_bindir}/tqlrelease
-%{_bindir}/tquic
-%{_bindir}/tqmoc
-%{_bindir}/tqembed
-%{_mandir}/man1/*.1*
-
-##########
-
-%package -n tqt3-dev-tools-devel
-Summary:	TQt3 development tools
-Group:		Development/Libraries/X11
-
-%description -n tqt3-dev-tools-devel
-This package contains all tools that are necessary to build programs
-that are written using TQt3.
-
-%files -n tqt3-dev-tools-devel
-%defattr(-,root,root,-)
-%dir %{_datadir}/tqt3/mkspecs/
-%{_datadir}/tqt3/mkspecs/*
-
-##########
-
-%package -n tqt3-designer
-Summary:	TQt3 Designer
-Group:		System/GUI/Other
-Requires:	%{libtqt3}-mt = %{version}-%{release}
-Requires:	tqt3-doc = %{version}-%{release}
-
-%description -n tqt3-designer
-The TQt Designer is a GUI design program that interactively lets you
-construct user interfaces for the TQt library. Additionally it lets you
-create whole project and works together with the database drivers
-provided by TQt to create applications with easy database access through
-TQt. The resulting user interface files can then be converted to
-C++ classes using the uic commandline utility which is usually done
-automatically for the developer with a project management with qmake
-or automake.
-
-%files -n tqt3-designer
-%defattr(-,root,root,-)
-%{_bindir}/tqdesigner
-%{_bindir}/tqtcreatecw
-%{_bindir}/tqtconv2ui
-%{_datadir}/tqt3/doc/html/designer*html
-%{_datadir}/tqt3/doc/html/designer*dcf
-%{_datadir}/tqt3/doc/html/designer*jpg
-%dir %{_datadir}/tqt3/templates/
-%{_datadir}/tqt3/templates/*
-%{_libdir}/tqt3/plugins/designer/libcppeditor.so
-%{_libdir}/tqt3/plugins/designer/libdlgplugin.so
-%{_libdir}/tqt3/plugins/designer/libgladeplugin.so
-%{_libdir}/tqt3/plugins/designer/libkdevdlgplugin.so
-%{_libdir}/tqt3/plugins/designer/librcplugin.so
-%{_libdir}/tqt3/plugins/designer/libwizards.so
-%dir %{_datadir}/tqt3/tools/tqtconv2ui
-%{_datadir}/tqt3/tools/tqtconv2ui/main.cpp
-%{_datadir}/tqt3/tools/tqtconv2ui/tqtconv2ui.pro
-%dir %{_datadir}/tqt3/tools/tqtcreatecw
-%{_datadir}/tqt3/tools/tqtcreatecw/README
-%{_datadir}/tqt3/tools/tqtcreatecw/main.cpp
-%{_datadir}/tqt3/tools/tqtcreatecw/tqtcreatecw.pro
-%{_datadir}/applications/tqdesigner.desktop
-%{_datadir}/pixmaps/tqdesigner.png
-
-###########
-
-%package -n tqt3-apps-devel
-Summary:	TQt3 Developer applications development files
-Group:		Development/Libraries/X11
-Requires:	%{libtqt3}-mt-devel = %{version}-%{release}
-Requires:	tqt3-apps-libs = %{version}-%{release}
-
-%description -n tqt3-apps-devel
-This package is intended for developers who want to develop applications
-using the additional static libraries that ship with the applications
-included with TQt; the TQt Designer and the TQt Assistant.
-It allows integrating additional enhancements into the TQt Designer
-respectively faciliate the TQt Assistant from within your TQt application
-to interactively call the Assistant for displaying online help that the
-developer includes with his application.
-
-%post -n tqt3-apps-devel
-/sbin/ldconfig || :
-
-%postun -n tqt3-apps-devel
-/sbin/ldconfig || :
-
-%files -n tqt3-apps-devel
-%defattr(-,root,root,-)
-%{_libdir}/libtqtdesignercore.prl
-%{_libdir}/libtqtdesignercore.so
-%{_libdir}/libtqteditor.prl
-%{_libdir}/libtqteditor.so
-%{_libdir}/libtqassistantclient.prl
-%{_libdir}/libtqassistantclient.so
-%{_includedir}/tqt3/tqassistantclient.h
-
-###########
-
-%package -n tqt3-apps-libs
-Summary:	TQt3 Developer applications libraries
-Group:		Development/Libraries/X11
-Requires:	%{libtqt3}-mt = %{version}-%{release}
-
-%description -n tqt3-apps-libs
-This package is intended for developers who want to develop applications
-using the additional static libraries that ship with the applications
-included with TQt; the TQt Designer and the TQt Assistant.
-It allows integrating additional enhancements into the TQt Designer
-respectively faciliate the TQt Assistant from within your TQt application
-to interactively call the Assistant for displaying online help that the
-developer includes with his application.
-
-%post -n tqt3-apps-libs
-/sbin/ldconfig || :
-
-%postun -n tqt3-apps-libs
-/sbin/ldconfig || :
-
-%files -n tqt3-apps-libs
-%defattr(-,root,root,-)
-%{_libdir}/libtqtdesignercore.so.1
-%{_libdir}/libtqtdesignercore.so.1.0
-%{_libdir}/libtqtdesignercore.so.1.0.0
-%{_libdir}/libtqteditor.so.1
-%{_libdir}/libtqteditor.so.1.0
-%{_libdir}/libtqteditor.so.1.0.0
-%{_libdir}/libtqassistantclient.so.1
-%{_libdir}/libtqassistantclient.so.1.0
-%{_libdir}/libtqassistantclient.so.1.0.0
-
-##########
-
-%package -n tqt3-linguist
-Summary:	The TQt3 Linguist
-Group:		System/GUI/Other
-Requires:	%{libtqt3}-mt = %{version}-%{release}
-Requires:	tqt3-doc = %{version}-%{release}
-
-%description -n tqt3-linguist
-This package contains the TQt3 Linguist which provides translators a
-tool perfect for translating any TQt-based application into other
-languages and can be used and installed independently of any TQt
-development files by the translator.
-
-%files -n tqt3-linguist
-%defattr(-,root,root,-)
-%{_bindir}/tqlinguist
-%dir %{_datadir}/tqt3/phrasebooks/
-%{_datadir}/tqt3/phrasebooks/*
-%{_datadir}/tqt3/doc/html/linguist*html
-%{_datadir}/tqt3/doc/html/linguist*dcf
-%dir %{_docdir}/tqt3-linguist
-%{_docdir}/tqt3-linguist/qt_untranslated.ts
-%{_datadir}/applications/tqlinguist.desktop
-%{_datadir}/pixmaps/tqlinguist.png
-
-##########
-
-%package -n tqt3-assistant
-Summary:	The TQt3 assistant application
-Group:		System/GUI/Other
-Requires:	%{libtqt3}-mt = %{version}-%{release}
-Requires:	tqt3-doc = %{version}-%{release}
-
-%description -n tqt3-assistant
-This package contains the TQt3 Assistant, an easy to use frontend for
-the complete TQt3 documentation and serves as an online help viewer for
-any TQt program that wants to give the usesr access to online help.
-Within the TQt tools it is used as the help viewer for the online help
-for the TQt3 Designer and Linguist as well as qmake and the TQt 3 API
-documentation.
-
-Developers of TQt Application who want to faciliate the TQt Assistant for online
-help display should refer to the README.Debian file for libtqt3-mt-devel and
-the package tqt3-apps-devel.
-
-%files -n tqt3-assistant
-%defattr(-,root,root,-)
-%{_bindir}/tqassistant
-%{_datadir}/tqt3/doc/html/assistant*html
-%{_datadir}/tqt3/doc/html/assistant*dcf
-%{_datadir}/applications/tqassistant.desktop
-%{_datadir}/pixmaps/tqassistant.png
-
-##########
-
-%package -n tqt3-qtconfig
-Summary:	The TQt3 Configuration Application
-Group:		Development/Libraries/X11
-Requires:	%{libtqt3}-mt = %{version}-%{release}
-Requires:	tqt3-doc = %{version}-%{release}
-
-%description -n tqt3-qtconfig
-The TQt Configuration program allows endusers to configure the look
-and behavior of any TQt3 application. It is mostly only necessary
-on systems which don't run TDE because the Trinity control center already
-covers this configuration automatically for the users TQt3 applications
-according to his desktop settings in TDE. However, if you need to run
-CJK-fonts or other non-latin scripts, you will most likely want to
-install this package.
-
-%files -n tqt3-qtconfig
-%defattr(-,root,root,-)
-%{_bindir}/tqtconfig
-%{_datadir}/applications/tqtconfig.desktop
-%{_datadir}/pixmaps/tqtconfig.png
-
-###########
-
-%package -n tqt3-dev-tools-compat
-Summary:	Conversion utilities for TQt3 development
-Group:		System/GUI/Other
-Requires:	%{libtqt3}-mt-devel = %{version}-%{release}
-
-%description -n tqt3-dev-tools-compat
-This package contains some older TQt tools (namely
-tqm2ts, tqtmergetr, tqtfindtr and msg2tqm). These tools are needed only by
-application developers who need to migrate any TQt application written
-for TQt 1.x or 2.x over to TQt 3.x. The purpose of the tools are to
-help fixing the changes with include file renaming as well as migrating
-the message file format of TQt 2 translation files or any gettext-based
-translation system to the TQt 3 system.
-
-%files -n tqt3-dev-tools-compat
-%defattr(-,root,root,-)
-%{_bindir}/tqm2ts
-%{_bindir}/tqtmergetr
-%{_bindir}/tqtfindtr
-%{_bindir}/msg2tqm
-
-##########
-
-%package -n tqt3-i18n
-Summary:	Translation (i18n) files for TQt3 library
-Group:		System/GUI/Other
-Requires:	%{libtqt3}-mt = %{version}-%{release}
-
-%description -n tqt3-i18n
-This package contains the internationalization files for the TQt library.
-TQt applications that are internationalized will need to depend on this package
-for full internationalization support of the application towards the end user.
-
-%files -n tqt3-i18n
-%defattr(-,root,root,-)
-%dir %{_datadir}/tqt3/translations/
-%{_datadir}/tqt3/translations/assistant_de.qm
-%{_datadir}/tqt3/translations/assistant_fr.qm
-%{_datadir}/tqt3/translations/designer_de.qm
-%{_datadir}/tqt3/translations/designer_fr.qm
-%{_datadir}/tqt3/translations/linguist_de.qm
-%{_datadir}/tqt3/translations/linguist_fr.qm
-%{_datadir}/tqt3/translations/qt_ar.qm
-%{_datadir}/tqt3/translations/qt_ca.qm
-%{_datadir}/tqt3/translations/qt_cs.qm
-%{_datadir}/tqt3/translations/qt_de.qm
-%{_datadir}/tqt3/translations/qt_es.qm
-%{_datadir}/tqt3/translations/qt_es_AR.qm
-%{_datadir}/tqt3/translations/qt_fr.qm
-%{_datadir}/tqt3/translations/qt_he.qm
-%{_datadir}/tqt3/translations/qt_it.qm
-%{_datadir}/tqt3/translations/qt_ja.qm
-%{_datadir}/tqt3/translations/qt_nb.qm
-%{_datadir}/tqt3/translations/qt_pt.qm
-%{_datadir}/tqt3/translations/qt_pt-br.qm
-%{_datadir}/tqt3/translations/qt_ru.qm
-%{_datadir}/tqt3/translations/qt_sk.qm
-%{_datadir}/tqt3/translations/qt_sv.qm
-%{_datadir}/tqt3/translations/qt_tr.qm
-%{_datadir}/tqt3/translations/qt_zh-cn.qm
-%{_datadir}/tqt3/translations/qt_zh-tw.qm
-
-##########
-
-%package -n tqt3-doc
-Summary:	TQt3 API documentation
-Group:		System/GUI/Other
-
-%description -n tqt3-doc
-This package contains the complete API documentation for TQt3.
-Examples to coding are in tqt3-examples. The documentation is provided
-in HTML and manpage format; the HTML version can be viewed in conjunction
-with the TQt Assistant.
-
-%files -n tqt3-doc
-%defattr(-,root,root,-)
-%exclude %{_datadir}/tqt3/doc/html/qmake*html
-%exclude %{_datadir}/tqt3/doc/html/qmake*dcf
-%exclude %{_datadir}/tqt3/doc/html/designer*html
-%exclude %{_datadir}/tqt3/doc/html/designer*dcf
-%exclude %{_datadir}/tqt3/doc/html/designer*jpg
-%exclude %{_datadir}/tqt3/doc/html/linguist*html
-%exclude %{_datadir}/tqt3/doc/html/linguist*dcf
-%exclude %{_datadir}/tqt3/doc/html/assistant*html
-%exclude %{_datadir}/tqt3/doc/html/assistant*dcf
-%{_datadir}/tqt3/doc/html/*
-
-##########
-
-%package -n tqt3-examples
-summary:	Examples for TQt3
-Group:		System/GUI/Other
-
-%description -n tqt3-examples
-These are examples provided with TQt3. They may be especially useful for
-you if you are learning to program in TQt as they cover tquite a lot of
-things that are possible with TQt3.
-
-%files -n tqt3-examples
-%defattr(-,root,root,-)
-%dir %{_docdir}/tqt3-examples/
-%{_docdir}/tqt3-examples/build-examples
-%{_docdir}/tqt3-examples/tqt3-examples.tar.gz
-
-##########
-
-%if 0%{?suse_version} && 0%{?opensuse_bs} == 0
-%debug_package
-%endif
-
-##########
-
-%prep
-%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-
-%if 0%{?suse_version}
-echo "suse_version = %{?suse_version}"
-echo "sle_version = %{?sle_version}"
-%endif
-
-%if 0%{?rhel} == 5
-%__sed -i "src/sql/drivers/mysql/qsql_mysql.cpp" -e "s|bool reconnect = 0;|my_bool reconnect = 0;|g"
-%endif
-
-# fix variables in 'qmake.conf'
-%__sed -i mkspecs/*/qmake.conf \
-  -e "s|^QMAKE_INCDIR_TQT.*|QMAKE_INCDIR_TQT		= %{_includedir}/tqt3|" \
-  -e "s|\$(QTDIR)|/usr|g" \
-  -e "s|-lqt|-ltqt|g" \
-  -e "s|^QMAKE_CFLAGS		=.*|QMAKE_CFLAGS		= ${distrib_cflags} -pipe -fvisibility=hidden -fvisibility-inlines-hidden|" \
-  -e "s|^QMAKE_INCDIR		=.*|QMAKE_INCDIR		= %{_includedir}|" \
-  -e "s|^QMAKE_LIBDIR		=.*|QMAKE_LIBDIR		= %{_libdir}|" \
-  -e "s|^QMAKE_RPATH		= .*|QMAKE_RPATH		=|" \
-  -e "s|^QMAKE_STRIP             =.*|QMAKE_STRIP             =|" \
-  -e "s|^QMAKE_STRIPFLAGS_LIB 	+=.*|QMAKE_STRIPFLAGS_LIB 	+=|" \
-  -e "s|^QMAKE_MOC		=.*|QMAKE_MOC		= %{_bindir}/tqmoc|" \
-  -e "s|^QMAKE_UIC		=.*|QMAKE_UIC		= %{_bindir}/tquic|" \
-  -e "s|^QMAKE_INCDIR_TQT		=.*|QMAKE_INCDIR_TQT		= %{_includedir}/tqt3|" \
-  -e "s|^QMAKE_LIBDIR_TQT		=.*|QMAKE_LIBDIR_TQT		= %{_libdir}|" \
-
-
-%build
-unset QTDIR QTINC QTLIB
-export QTDIR=$(pwd)
-export PATH=${QTDIR}/bin:${PATH}
-export MANPATH=${QTDIR}/doc/man:${MANPATH}
-export LD_LIBRARY_PATH="${QTDIR}/lib"
-
-# Checks for supplementary include dir
-INCDIRS=""
-for d in \
-	%{_includedir}/fontconfig \
-	%{_includedir}/pgsql \
-	%{_includedir}/pgsql/server \
-	%{_includedir}/postgresql/server \
-	%{_includedir}/Xft2 \
-	%{_includedir}/Xft2/X11/Xft \
-	%{_includedir}/mysql \
-	%{_includedir}/libpng15 \
-	%{_includedir}/libpng16 \
-	%{_includedir}/tirpc \
-; do
-	if [ -d "${d}" ]; then
-		INCDIRS="${INCDIRS} -I${d}"
-	fi
-done
-
-# Checks for supplementary library dirs
-LIBDIRS=""
-for d in \
-	%{_libdir}/libglvnd \
-	%{_libdir}/mysql \
-	%{_libdir}/pgsql \
-; do
-	if [ -d "${d}" ]; then
-		LIBDIRS="${LIBDIRS} -L${d}"
-	fi
-done
-
-# build shared, threaded (default) libraries
-echo yes | ./configure \
-		${INCDIRS} \
-		${LIBDIRS} \
-		-L%{_libdir} \
-		-prefix		"%{_prefix}" \
-		-libdir		"%{_libdir}" \
-		-sysconfdir	"%{_sysconfdir}/tqt3" \
-		-datadir	"%{_datadir}/tqt3" \
-		-headerdir	"%{_includedir}/tqt3" \
-		-docdir		"%{_datadir}/tqt3/doc" \
-		-plugindir	"%{_libdir}/tqt3/plugins" \
-		-translationdir	"%{_datadir}/tqt3/translations" \
-		-sysshare "%{_datadir}" \
-		\
-		-thread \
-		-shared \
-		-fast \
-		-no-exceptions \
-%if "%{?c_compiler}" == "clang"
-		-platform linux-clang \
-%else
-%if "%{_lib}" == "lib64"
-		-platform linux-g++-64 \
-%else
-		-platform linux-g++ \
-%endif
-%endif
-		\
-		%{?with_nis:-nis} %{?!with_nis:-no-nis}		\
-		-no-pch				\
-		-cups				\
-		-stl				\
-		-ipv6				\
-		\
-		-sm				\
-		-xshape				\
-		-xinerama			\
-		-xcursor			\
-		-xrandr				\
-		-xrender			\
-		-xft				\
-		-tablet				\
-		-xkb				\
-		\
-		-system-zlib			\
-		-system-libpng			\
-		-system-libmng			\
-		-system-libjpeg			\
-		%{?with_nas:-system-nas-sound} %{?!with_nas:-no-nas-sound}		\
-		\
-		-enable-opengl			\
-		-dlopen-opengl			\
-		\
-		-qt-gif				\
-		-qt-imgfmt-mng \
-		-qt-imgfmt-png			\
-		-qt-imgfmt-jpeg			\
-		-plugin-imgfmt-mng		\
-		\
-		-plugin-sql-odbc		\
-		-plugin-sql-psql		\
-		-plugin-sql-mysql		\
-		%{?with_ibase:-plugin-sql-ibase}		\
-		-plugin-sql-sqlite		\
-		-plugin-sql-sqlite3		\
-		\
-		-lfontconfig			\
-		-inputmethod			\
-		%{?with_glibmainloop:-glibmainloop} \
-		-debug \
-		-v
-
-# proceed
-%__make %{?_smp_mflags} sub-src || %__make sub-src
-%__make %{?_smp_mflags} sub-plugins || %__make sub-plugins
-%__make %{?_smp_mflags} sub-tools
-
-# build tqtconv2ui
-%__make -C tools/designer/tools/tqtconv2ui
-
-
-# fix .prl files
-%__sed -i lib/*.prl -e "s|${QTDIR}|%{_datadir}/tqt3|g"
-
-
-%install
-%__rm -rf %{buildroot}
-export QTDIR=$(pwd)
-export PATH="${QTDIR}/bin:${PATH}"
-export LD_LIBRARY_PATH=${QTDIR}/lib
-
-# Installs 'libtqt-mt.so.3' library
-%__make -C src INSTALL_ROOT="%{?buildroot}" install_target
-
-# Installs all the remaining
-%__make INSTALL_ROOT=%{?buildroot} install
-%__make INSTALL_ROOT=%{?buildroot} plugins-install
-
-%__install -m755 "bin/tqtfindtr" "%{?buildroot}%{_bindir}"
-
-# install tqtconv2ui
-%__install -m755 "bin/tqtconv2ui" "%{?buildroot}%{_bindir}/tqtconv2ui"
-
-
-## create tqt3-apps-dev-package
-cp tools/designer/interfaces/*.h "%{?buildroot}%{?_includedir}/tqt3/"
-cp tools/designer/editor/*.h "%{?buildroot}%{?_includedir}/tqt3/"
-
-# language file for linguist
-%__install -D -m644 "translations/template.ts" "%{?buildroot}%{?_docdir}/tqt3-linguist/qt_untranslated.ts"
-
-# fix that stupid friggin professional file
-perl -pi -e 's{\$$\$$QT_SOURCE_TREE}{$(QTDIR)}' "src/qt_professional.pri"
-
-## i18n files for designer, linguist and assistant
-for i in designer/designer assistant linguist/linguist; do
-  pushd "tools/${i}"
-  tqlrelease "${i##*/}.pro"
-  for j in ${i##*/}_*.qm; do
-    install -m644 "${j}" "%{?buildroot}%{_datadir}/tqt3/translations/"
-  done
-  popd
-done
-
-%if 0%{?suse_version}
-%suse_update_desktop_file tqassistant Documentation
-%suse_update_desktop_file tqdesigner GUIDesigner
-%suse_update_desktop_file tqlinguist Translation
-%suse_update_desktop_file tqtconfig Utility
-%endif
-
-# Install applications icons
-#__install -m644 -D "tools/assistant/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqassistant.png"
-#__install -m644 -D "tools/designer/designer/images/designer_appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqdesigner.png"
-#__install -m644 -D "tools/linguist/linguist/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqlinguist.png"
-#__install -m644 -D "tools/qtconfig/images/appicon.png" "%{?buildroot}%{_datadir}/icons/hicolor/32x32/apps/tqtconfig.png"
-
-# install the man pages
-%__install -d "%{?buildroot}%{_mandir}/man1"
-%__install -m644 "doc/man/man1/"*"embed.1" "%{?buildroot}%{_mandir}/man1/"
-%__install -m644 "doc/man/man1/"*"lrelease.1" "%{?buildroot}%{_mandir}/man1/"
-%__install -m644 "doc/man/man1/"*"lupdate.1" "%{?buildroot}%{_mandir}/man1/"
-%__install -m644 "doc/man/man1/"*"moc.1" "%{?buildroot}%{_mandir}/man1/"
-%__install -m644 "doc/man/man1/"*"uic.1" "%{?buildroot}%{_mandir}/man1/"
-
-# Install source for the designer tools, such as tqtcreatecw.
-cp -ra tools/designer/tools %{?buildroot}%{_datadir}/tqt3/tools
-rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/tqtcreatecw
-rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/.moc
-rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/.obj
-rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtcreatecw/Makefile
-rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/tqtconv2ui
-rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/.moc
-rm -rf %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/.obj
-rm -f %{?buildroot}%{_datadir}/tqt3/tools/tqtconv2ui/Makefile
-
-# create examples package
-%__install -d tqt3-examples
-cp -ax examples tqt3-examples/
-cp -ax tutorial tqt3-examples/
-mkdir -p tqt3-examples/tools/designer
-cp -ax tools/designer/examples tqt3-examples/tools/designer/
-mkdir -p tqt3-examples/tools/linguist
-cp -ax tools/linguist/tutorial tqt3-examples/tools/linguist/
-find tqt3-examples -name "tt1" -print | xargs rm -rf
-find tqt3-examples -name "tt2" -print | xargs rm -rf
-find tqt3-examples -name "tt3" -print | xargs rm -rf
-find tqt3-examples -name ".moc" | xargs rm -rf
-find tqt3-examples -name ".obj" | xargs rm -rf
-find tqt3-examples -name "Makefile" | xargs rm -rf
-install -D -m 755 %{SOURCE1} %{?buildroot}%{_docdir}/tqt3-examples/build-examples
-tar cvvfz tqt3-examples.tar.gz tqt3-examples/
-install -D -m644 "tqt3-examples.tar.gz" "%{?buildroot}%{_docdir}/tqt3-examples/tqt3-examples.tar.gz"
-
-# Fix wrong permissions
-chmod 644 "%{?buildroot}%{_datadir}/tqt3/mkspecs/"*/*
-
-
-%clean
-%__rm -rf %{buildroot}
-
-
-%changelog
diff --git a/redhat/dependencies/tqt3/trinity-tqt3-rpmlintrc b/redhat/dependencies/tqt3/trinity-tqt3-rpmlintrc
deleted file mode 100644
index d131ff5e9..000000000
--- a/redhat/dependencies/tqt3/trinity-tqt3-rpmlintrc
+++ /dev/null
@@ -1 +0,0 @@
-setBadness('shlib-policy-name-error', 0)
diff --git a/redhat/dependencies/tqtinterface/tqtinterface.spec b/redhat/dependencies/tqtinterface/tqtinterface.spec
deleted file mode 100644
index afbfaee77..000000000
--- a/redhat/dependencies/tqtinterface/tqtinterface.spec
+++ /dev/null
@@ -1,255 +0,0 @@
-#
-# spec file for package tqtinterface (version R14)
-#
-# Copyright (c) 2014 Trinity Desktop Environment
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-#
-# Please submit bugfixes or comments via http://www.trinitydesktop.org/
-#
-
-# BUILD WARNING:
-#  Remove qt-devel and qt3-devel and any kde*-devel on your system !
-#  Having KDE libraries may cause FTBFS here !
-
-# TDE variables
-%define tde_epoch 2
-%if "%{?tde_version}" == ""
-%define tde_version 14.2.0
-%endif
-%define tde_pkg tqtinterface
-
-%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
-%define libtqt4 %{_lib}tqt4
-%else
-%define libtqt4 libtqt4
-%endif
-
-Name:		trinity-%{tde_pkg}
-Epoch:		%{tde_epoch}
-Version:	4.2.0
-Release:	%{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
-Summary:	The Trinity Qt Interface Libraries
-Group:		System/GUI/Other
-URL:		http://www.trinitydesktop.org/
-
-%if 0%{?suse_version}
-License:	GPL-2.0+
-%else
-License:	GPLv2+
-%endif
-
-#Vendor:		Trinity Project
-#Packager:	Francois Andriot <francois.andriot@free.fr>
-
-Prefix:		/usr
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0:	%{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-
-BuildRequires:	libtqt3-mt-devel >= 3.5.0
-BuildRequires:	tqt3-dev-tools >= 3.5.0
-BuildRequires:	trinity-tde-cmake >= %{tde_version}
-
-BuildRequires:	gcc-c++
-BuildRequires:	pkgconfig
-
-# UUID support
-%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6
-%define uuid_devel libuuid-devel
-%endif
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%define uuid_devel %{_lib}uuid-devel
-%endif
-%if 0%{?rhel} == 5
-%define uuid_devel e2fsprogs-devel
-%endif
-%{?uuid_devel:BuildRequires: %{uuid_devel}}
-
-# PTHREAD support
-%if 0%{?mdkversion} || 0%{?mgaversion}
-%if 0%{?mgaversion} >= 7 || 0%{?mdkver}
-BuildRequires:	%{_lib}npth-devel
-%else
-BuildRequires:	pth-devel
-%endif
-%endif
-%if 0%{?fedora} && 0%{?fedora} <= 26
-BuildRequires:	pth-devel
-%endif
-%if 0%{?rhel} >= 5 && 0%{?rhel} <= 7
-BuildRequires:	pth-devel
-%endif
-%if 0%{?suse_version} && 0%{?suse_version} < 1500
-BuildRequires:	libpth-devel
-%endif
-
-# MESA support
-%if 0%{?rhel} || 0%{?fedora}
-BuildRequires: mesa-libGL-devel
-BuildRequires: mesa-libGLU-devel
-%endif
-%if 0%{?mdkversion} || 0%{?mgaversion}
-%if "%{?distribution}" == "OpenMandriva Lx"
-BuildRequires: %{_lib}glu-devel
-%else
-BuildRequires: mesaglu-devel
-%endif
-%endif
-%if 0%{?suse_version}
-BuildRequires: Mesa-libGL-devel
-BuildRequires: Mesa-libGLU-devel
-%endif
-
-# X11 libraries
-%if 0%{?rhel} == 4
-BuildRequires:	xorg-x11-devel
-%endif
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires:	%{_lib}xi-devel
-%endif
-%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora}
-BuildRequires:	libXi-devel
-%endif
-%if 0%{?suse_version} == 1140
-BuildRequires:	libXi6-devel
-%endif
-
-%description
-The Trinity Qt Interface is a library that abstracts Qt from Trinity.
-This allows the Trinity code to rapidly port from one version of Qt to another.
-This is primarily accomplished by defining old functions in terms of new functions,
-although some code has been added for useful functions that are no longer part of Qt.
-
-
-##########
-
-%package -n %{libtqt4}
-Group:		System/GUI/Other
-Summary:	The Trinity Qt Interface Libraries
-Provides:	libtqt4 = %{?epoch:%{epoch}:}%{version}-%{release}
-
-Requires:	libtqt3-mt >= 3.5.0
-
-Obsoletes:	trinity-tqtinterface < %{?epoch:%{epoch}:}%{version}-%{release}
-Provides:	trinity-tqtinterface = %{?epoch:%{epoch}:}%{version}-%{release}
-
-%description -n %{libtqt4}
-The Trinity Qt Interface is a library that abstracts Qt from Trinity.
-This allows the Trinity code to rapidly port from one version of Qt to another.
-This is primarily accomplished by defining old functions in terms of new functions,
-although some code has been added for useful functions that are no longer part of Qt.
-
-%files -n %{libtqt4}
-%defattr(-,root,root,-)
-%{_libdir}/libtqt.so.4
-%{_libdir}/libtqt.so.4.2.0
-
-%post -n %{libtqt4}
-/sbin/ldconfig || :
-
-%postun -n %{libtqt4}
-/sbin/ldconfig || :
-
-##########
-
-%package -n %{libtqt4}-devel
-Group:		Development/Libraries/X11
-Summary:	The Trinity Qt Interface Libraries (Development Files)
-Provides:	libtqt4-devel = %{?epoch:%{epoch}:}%{version}-%{release}
-
-Requires:	%{libtqt4} = %{?epoch:%{epoch}:}%{version}-%{release}
-Requires:	libtqt3-mt-devel >= 3.5.0
-Requires:	tqt3-dev-tools >= 3.5.0
-Requires:	trinity-tde-cmake >= %{version}-%{release}
-
-Obsoletes:	trinity-tqtinterface-devel < %{?epoch:%{epoch}:}%{version}-%{release}
-Provides:	trinity-tqtinterface-devel = %{?epoch:%{epoch}:}%{version}-%{release}
-
-%description -n %{libtqt4}-devel
-The Trinity Qt Interface is a library that abstracts Qt from Trinity.
-This allows the Trinity code to rapidly port from one version of Qt to another.
-This is primarily accomplished by defining old functions in terms of new functions,
-although some code has been added for useful functions that are no longer part of Qt.
-
-%post -n %{libtqt4}-devel
-/sbin/ldconfig || :
-
-%postun -n %{libtqt4}-devel
-/sbin/ldconfig || :
-
-%files -n %{libtqt4}-devel
-%defattr(-,root,root,-)
-%{_bindir}/tmoc
-%{_includedir}/tqt/
-%{_libdir}/libtqt.la
-%{_libdir}/libtqt.so
-%{_libdir}/pkgconfig/tqt.pc
-%{_libdir}/pkgconfig/tqtqui.pc
-
-##########
-
-%if 0%{?suse_version} && 0%{?opensuse_bs} == 0
-%debug_package
-%endif
-
-##########
-
-%prep
-%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-
-
-%build
-unset QTDIR QTINC QTLIB
-
-if ! rpm -E %%cmake|grep -e 'cd build\|cd ${CMAKE_BUILD_DIR:-build}'; then
-  %__mkdir_p build
-  cd build
-fi
-
-%cmake \
-  -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-  -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
-  -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
-  -DCMAKE_SKIP_RPATH=ON \
-  -DCMAKE_VERBOSE_MAKEFILE=ON \
-  -DWITH_GCC_VISIBILITY=OFF \
-  \
-  -DQTDIR="%{_datadir}/tqt3" \
-  -DQT_INCLUDE_DIR="%{_includedir}/tqt3" \
-  -DQT_LIBRARY_DIR="%{_libdir}" \
-  \
-  -DCMAKE_INSTALL_PREFIX="%{_prefix}" \
-  -DPKGCONFIG_INSTALL_DIR="%{_libdir}/pkgconfig" \
-  -DINCLUDE_INSTALL_DIR=%{_includedir}/tqt \
-  -DLIB_INSTALL_DIR=%{_libdir} \
-  -DBIN_INSTALL_DIR=%{_bindir} \
-  \
-  -DCMAKE_LIBRARY_PATH="%{_libdir}" \
-  -DCMAKE_INCLUDE_PATH="%{_includedir}" \
-  \
-  -DWITH_QT3="ON" \
-  -DBUILD_ALL="ON" \
-  -DUSE_QT3="ON" \
-  ..
-
-%__make %{?_smp_mflags} || %__make
-
-
-%install
-%__rm -rf "%{?buildroot}"
-%__make install DESTDIR="%{?buildroot}" -C build
-
-
-%clean
-%__rm -rf "%{?buildroot}"
-
-
-%changelog
-- 
cgit v1.2.3

