summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-06-26 22:46:07 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-06-26 22:46:07 +0200
commita62bf523e93cfc54151ad9c13bb67a135fd676fd (patch)
treec28c0d549a28457dd5a0b722238048e9bfce983f /redhat
parent502bd62dcfc36b32315f763557ab943edbc0a75a (diff)
downloadtde-packaging-a62bf523e93cfc54151ad9c13bb67a135fd676fd.tar.gz
tde-packaging-a62bf523e93cfc54151ad9c13bb67a135fd676fd.zip
RPM Packaging: initial support for R14.0.0
Diffstat (limited to 'redhat')
-rw-r--r--redhat/dependencies/arts/trinity-arts-14.0.0.spec239
-rw-r--r--redhat/dependencies/arts/trinity-arts-3.5.13.2.spec4
-rw-r--r--redhat/dependencies/arts/trinity-arts-r14.spec123
-rw-r--r--redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec147
-rw-r--r--redhat/dependencies/avahi-tqt/avahi-tqt-r14.spec76
-rw-r--r--redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec117
-rw-r--r--redhat/dependencies/dbus-1-tqt/dbus-1-tqt-r14.spec73
-rw-r--r--redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec126
-rw-r--r--redhat/dependencies/dbus-tqt/dbus-tqt-r14.spec71
-rw-r--r--redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec178
-rw-r--r--redhat/dependencies/tqt3/assistant3.desktop9
-rw-r--r--redhat/dependencies/tqt3/designer3.desktop11
-rw-r--r--redhat/dependencies/tqt3/linguist3.desktop10
l---------redhat/dependencies/tqt3/qt-3.1.0-makefile.patch1
l---------redhat/dependencies/tqt3/qt-3.3.4-print-CJK.patch1
l---------redhat/dependencies/tqt3/qt-3.3.6-fontrendering-gu-228452.patch1
l---------redhat/dependencies/tqt3/qt-3.3.6-fontrendering-ml_IN-209974.patch1
l---------redhat/dependencies/tqt3/qt-3.3.6-fontrendering-te_IN-211259.patch1
l---------redhat/dependencies/tqt3/qt-3.3.8-fontrendering-as_IN-209972.patch1
l---------redhat/dependencies/tqt3/qt-x11-free-3.3.4-fullscreen.patch1
l---------redhat/dependencies/tqt3/qt-x11-free-3.3.6-qfontdatabase_x11.patch1
l---------redhat/dependencies/tqt3/qt-x11-free-3.3.6-strip.patch1
l---------redhat/dependencies/tqt3/qt-x11-free-3.3.7-arm.patch1
l---------redhat/dependencies/tqt3/qt-x11-free-3.3.8b-typo.patch1
-rw-r--r--redhat/dependencies/tqt3/qt-x11-immodule-unified-qt3.3.5-20051012-quiet.patch134
-rw-r--r--redhat/dependencies/tqt3/qt-x11-immodule-unified-qt3.3.8-20071116.diff.bz2bin99943 -> 0 bytes
-rwxr-xr-xredhat/dependencies/tqt3/qt.csh34
-rwxr-xr-xredhat/dependencies/tqt3/qt.sh32
l---------redhat/dependencies/tqt3/qt3-3.3.8.d-updates_zh-tw_translations.patch1
-rw-r--r--redhat/dependencies/tqt3/qtconfig3.desktop9
-rw-r--r--redhat/dependencies/tqt3/tqt3-14.0.0-fix_ftbfs.patch18
-rw-r--r--redhat/dependencies/tqt3/tqt3-14.0.0-shared_lib.patch35
-rw-r--r--redhat/dependencies/tqt3/tqt3-3.4.0-compositing-properties.patch80
-rw-r--r--redhat/dependencies/tqt3/tqt3-3.4.0-embed.patch10
-rw-r--r--redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-#214570.patch23
-rw-r--r--redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-214371.patch15
-rw-r--r--redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-ml_IN-209097.patch60
-rw-r--r--redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-ml_IN-217657.patch11
-rw-r--r--redhat/dependencies/tqt3/tqt3-3.4.0-nodebug.patch15
-rw-r--r--redhat/dependencies/tqt3/tqt3-3.4.0-odbc.patch18
-rw-r--r--redhat/dependencies/tqt3/tqt3-3.4.0-qt-x11-immodule-unified-qt3.3.5-20060318-resetinputcontext.patch92
-rw-r--r--redhat/dependencies/tqt3/tqt3-3.4.0-quiet.patch13
-rw-r--r--redhat/dependencies/tqt3/tqt3-3.4.0-uic-nostdlib.patch12
-rw-r--r--redhat/dependencies/tqt3/tqt3-3.4.0-umask.patch14
-rw-r--r--redhat/dependencies/tqt3/tqt3-3.4.0.spec661
-rw-r--r--redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec577
-rwxr-xr-xredhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec170
-rwxr-xr-xredhat/dependencies/tqtinterface/tqtinterface-r14.spec91
-rwxr-xr-xredhat/genrpm.sh3
-rw-r--r--redhat/libraries/libtdeldap/trinity-libtdeldap-r14.spec142
-rw-r--r--redhat/tdebase/tdebase-r14.spec648
-rw-r--r--redhat/tdebase/trinity-tdebase-14.0.0.spec3423
-rw-r--r--redhat/tdebase/trinity-tdebase-3.5.13.2.spec14
-rw-r--r--redhat/tdelibs/tdelibs-r14.spec316
-rw-r--r--redhat/tdelibs/trinity-tdelibs-14.0.0.spec456
55 files changed, 5497 insertions, 2825 deletions
diff --git a/redhat/dependencies/arts/trinity-arts-14.0.0.spec b/redhat/dependencies/arts/trinity-arts-14.0.0.spec
new file mode 100644
index 000000000..8a2c5c242
--- /dev/null
+++ b/redhat/dependencies/arts/trinity-arts-14.0.0.spec
@@ -0,0 +1,239 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+%define tde_bindir %{tde_prefix}/bin
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_datadir %{tde_prefix}/share
+
+%define tde_tdeincludedir %{tde_includedir}/tde
+
+%define _docdir %{tde_datadir}/doc
+
+Name: trinity-arts
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+License: GPL
+Summary: aRts (analog realtime synthesizer) - the TDE sound system
+Group: System Environment/Daemons
+
+Vendor: Trinity Project
+URL: http://www.trinitydesktop.org/
+Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Source1: kcmartsrc-pulseaudio
+
+BuildRequires: cmake >= 2.8
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: audiofile-devel
+BuildRequires: alsa-lib-devel
+BuildRequires: glib2-devel
+BuildRequires: gsl-devel
+BuildRequires: libvorbis-devel
+
+# ESOUND support
+%define with_esound 1
+BuildRequires: esound-devel
+
+# JACK support
+# Not on RHEL4 !
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+%define with_jack 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}jack-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora}
+BuildRequires: jack-audio-connection-kit-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libjack-devel
+%endif
+%endif
+
+# LIBTOOL
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}ltdl-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora}
+BuildRequires: libtool-ltdl-devel
+%endif
+%if 0%{?suse_version}
+%if 0%{?suse_version} >= 1220
+BuildRequires: libltdl-devel
+%else
+BuildRequires: libtool
+%endif
+%endif
+
+# MAD support
+%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
+%define with_libmad 1
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: %{_lib}mad-devel
+%endif
+%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
+BuildRequires: libmad-devel
+%endif
+%endif
+
+# Pulseaudio config file
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version}
+%define with_pulseaudio 1
+%endif
+
+# TDE 3.5.13 specific building variables
+BuildRequires: cmake >= 2.8
+
+Requires: trinity-tqtinterface >= %{version}
+Requires: audiofile
+
+%if "%{?tde_prefix}" == "/usr"
+Obsoletes: arts
+%endif
+
+%description
+arts (analog real-time synthesizer) is the sound system of KDE 3.
+
+The principle of arts is to create/process sound using small modules which do
+certain tasks. These may be create a waveform (oscillators), play samples,
+filter data, add signals, perform effects like delay/flanger/chorus, or
+output the data to the soundcard.
+
+By connecting all those small modules together, you can perform complex
+tasks like simulating a mixer, generating an instrument or things like
+playing a wave file with some effects.
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING.LIB
+%dir %{tde_libdir}/mcop
+%dir %{tde_libdir}/mcop/Arts
+%{tde_libdir}/mcop/Arts/*
+%{tde_libdir}/mcop/*.mcopclass
+%{tde_libdir}/mcop/*.mcoptype
+%{tde_libdir}/lib*.so.*
+%{tde_bindir}/artscat
+%{tde_bindir}/artsd
+%{tde_bindir}/artsdsp
+%{tde_bindir}/artsplay
+%{tde_bindir}/artsrec
+%{tde_bindir}/artsshell
+%{tde_bindir}/artswrapper
+# The '.la' files are runtime, not devel !
+%{tde_libdir}/lib*.la
+
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+##########
+
+%package devel
+Group: Development/Libraries
+Summary: %{name} - Development files
+Requires: %{name} = %{version}-%{release}
+%if "%{?tde_prefix}" == "/usr"
+Obsoletes: arts-devel
+%endif
+
+%description devel
+Development files for %{name}
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_bindir}/mcopidl
+# Arts includes are under 'tde' - this is on purpose !
+%{tde_tdeincludedir}/arts/
+# Artsc includes are not under 'tde'.
+%{tde_includedir}/artsc/
+%{tde_bindir}/artsc-config
+%{tde_libdir}/lib*.so
+%{tde_libdir}/pkgconfig/*.pc
+%{tde_libdir}/*.a
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+##########
+
+%if 0%{?with_pulseaudio}
+
+%package config-pulseaudio
+Group: System Environment/Daemons
+Summary: %{name} - Default configuration file for Pulseaudio
+Requires: %{name} = %{version}-%{release}
+
+%description config-pulseaudio
+%{summary}
+
+%files config-pulseaudio
+%defattr(-,root,root,-)
+%{tde_datadir}/config/kcmartsrc
+
+%endif
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+
+%build
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
+ -DBIN_INSTALL_DIR="%{tde_bindir}" \
+ -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}/arts" \
+ -DLIB_INSTALL_DIR="%{tde_libdir}" \
+ -DPKGCONFIG_INSTALL_DIR=%{tde_libdir}/pkgconfig \
+ -DWITH_ALSA=ON \
+ -DWITH_AUDIOFILE=ON \
+ -DWITH_VORBIS=ON \
+ %{?with_libmad:-DWITH_MAD=ON} %{!?with_libmad:-DWITH_MAD=OFF} \
+ %{?with_esound:-DWITH_ESOUND=ON} \
+ %{?with_jack:-DWITH_JACK=ON} \
+ -DCMAKE_SKIP_RPATH=OFF \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+%__rm -rf %{?buildroot}
+%__make install -C build DESTDIR=%{?buildroot}
+
+# Installs the Pulseaudio configuration file
+%if 0%{?with_pulseaudio}
+%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/config/kcmartsrc
+%endif
+
+
+%clean
+%__rm -rf %{?buildroot}
+
+
+%changelog
+* Thu Feb 16 2012 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
+- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
diff --git a/redhat/dependencies/arts/trinity-arts-3.5.13.2.spec b/redhat/dependencies/arts/trinity-arts-3.5.13.2.spec
index e7f5afe36..0c72fdc6c 100644
--- a/redhat/dependencies/arts/trinity-arts-3.5.13.2.spec
+++ b/redhat/dependencies/arts/trinity-arts-3.5.13.2.spec
@@ -16,8 +16,8 @@ Name: trinity-arts
Version: 3.5.13.2
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
License: GPL
-Summary: aRts (analog realtime synthesizer) - the KDE sound system
-Group: System Environment/Daemons
+Summary: aRts (analog realtime synthesizer) - the TDE sound system
+Group: System Environment/Daemons
Vendor: Trinity Project
URL: http://www.trinitydesktop.org/
diff --git a/redhat/dependencies/arts/trinity-arts-r14.spec b/redhat/dependencies/arts/trinity-arts-r14.spec
deleted file mode 100644
index 4e9c33264..000000000
--- a/redhat/dependencies/arts/trinity-arts-r14.spec
+++ /dev/null
@@ -1,123 +0,0 @@
-# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
-%if "%{?_prefix}" != "/usr"
-%define _variant .opt
-%endif
-
-
-Name: trinity-arts
-Version: r14
-Release: 1%{?dist}%{?_variant}
-License: GPL
-Summary: aRts (analog realtime synthesizer) - the TDE sound system
-Group: System Environment/Daemons
-
-Vendor: Trinity Project
-URL: http://www.trinitydesktop.org/
-Packager: Francois Andriot <francois.andriot@free.fr>
-
-Prefix: %{_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: arts-%{version}.tar.gz
-
-BuildRequires: cmake >= 2.8
-BuildRequires: tqtinterface-devel
-BuildRequires: audiofile-devel
-BuildRequires: alsa-lib-devel
-BuildRequires: glib2-devel
-BuildRequires: libtool-ltdl-devel
-BuildRequires: gsl-devel
-BuildRequires: libvorbis-devel
-BuildRequires: esound-devel
-BuildRequires: jack-audio-connection-kit-devel
-
-Requires: tqtinterface == %{version}
-Requires: audiofile
-
-%if "%{?_prefix}" == "/usr"
-Obsoletes: arts
-%endif
-
-%description
-arts (analog real-time synthesizer) is the sound system of KDE 3.
-
-The principle of arts is to create/process sound using small modules which do
-certain tasks. These may be create a waveform (oscillators), play samples,
-filter data, add signals, perform effects like delay/flanger/chorus, or
-output the data to the soundcard.
-
-By connecting all those small modules together, you can perform complex
-tasks like simulating a mixer, generating an instrument or things like
-playing a wave file with some effects.
-
-
-%package devel
-Group: Development/Libraries
-Summary: %{name} - Development files
-Requires: %{name} = %{version}-%{release}
-%if "%{?_prefix}" == "/usr"
-Obsoletes: arts-devel
-%endif
-
-%description devel
-Development files for %{name}
-
-%prep
-%setup -q -n dependencies/arts
-
-%build
-%__mkdir build
-cd build
-%cmake \
- -DINCLUDE_INSTALL_DIR=%{_includedir}/arts \
- -DPKGCONFIG_INSTALL_DIR=%{_libdir}/pkgconfig \
- -DWITH_ALSA=ON \
- -DWITH_AUDIOFILE=ON \
- -DWITH_VORBIS=ON \
- -DWITH_MAD=OFF \
- -DWITH_ESOUND=ON \
- -DWITH_JACK=ON \
- ..
-
-
-%__make %{?_smp_mflags}
-
-%install
-%__rm -rf %{?buildroot}
-%__make install -C build DESTDIR=%{?buildroot}
-
-%clean
-%__rm -rf %{?buildroot}
-
-%files
-%defattr(-,root,root,-)
-%doc COPYING.LIB
-%dir %{_libdir}/mcop
-%dir %{_libdir}/mcop/Arts
-%{_libdir}/mcop/Arts/*
-%{_libdir}/mcop/*.mcopclass
-%{_libdir}/mcop/*.mcoptype
-%{_libdir}/lib*.so.*
-%{_libdir}/lib*.la
-%{_bindir}/artscat
-%{_bindir}/artsd
-%{_bindir}/artsdsp
-%{_bindir}/artsplay
-%{_bindir}/artsrec
-%{_bindir}/artsshell
-%{_bindir}/artswrapper
-
-%files devel
-%defattr(-,root,root,-)
-%{_bindir}/mcopidl
-%dir %{_includedir}
-%{_includedir}/*/
-%{_bindir}/artsc-config
-%{_libdir}/lib*.so
-%{_libdir}/pkgconfig/*.pc
-%{_libdir}/*.a
-
-
-%changelog
-* Thu Feb 16 2012 Francois Andriot <francois.andriot@free.fr> - r14-1
-- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
diff --git a/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec b/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec
new file mode 100644
index 000000000..febebfc68
--- /dev/null
+++ b/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec
@@ -0,0 +1,147 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_includedir %{tde_prefix}/include
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+
+Name: trinity-avahi-tqt
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+License: GPL
+Summary: Avahi TQT Interface
+Group: System Environment/Libraries
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+BuildRequires: gcc-c++
+BuildRequires: cmake >= 2.8
+BuildRequires: trinity-tqt3-devel >= %{version}
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: gettext-devel
+BuildRequires: libtool
+%if 0%{?suse_version}
+BuildRequires: dbus-1-devel
+%else
+BuildRequires: dbus-devel
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}avahi-client-devel
+%if 0%{?pclinuxos}
+BuildRequires: libexpat-devel
+%else
+# On Mageia 2, package is 'lib64expat1-devel', but on Mandriva, 'lib64expat-devel'
+BuildRequires: %{_lib}expat%{?mgaversion:1}-devel
+%endif
+Provides: %{_lib}avahi-qt3
+%else
+BuildRequires: avahi-devel
+%if 0%{?suse_version}
+BuildRequires: libexpat-devel
+%else
+BuildRequires: expat-devel
+%endif
+%endif
+
+Requires: trinity-tqt3 >= %{version}
+Requires: trinity-tqtinterface >= %{version}
+
+Obsoletes: avahi-tqt < %{version}-%{release}
+Provides: avahi-tqt = %{version}-%{release}
+
+
+%description
+Avahi TQT Interface
+
+
+%package devel
+Requires: %{name}
+Summary: %{name} - Development files
+Group: Development/Libraries
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+Provides: %{_lib}avahi-qt3-devel
+%endif
+
+Obsoletes: avahi-tqt-devel < %{version}-%{release}
+Provides: avahi-tqt-devel = %{version}-%{release}
+
+%description devel
+Development files for %{name}
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+
+%build
+unset QTDIR
+./autogen.sh
+
+%configure \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --docdir=%{tde_docdir} \
+ --includedir=%{tde_includedir} \
+ --libdir=%{tde_libdir} \
+ --enable-compat-libdns_sd \
+ --with-systemdsystemunitdir=/lib/systemd/system \
+ --disable-static
+
+%__make %{?_smp_mflags}
+
+%install
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{?buildroot}
+
+
+%clean
+%__rm -rf %{?buildroot}
+
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+%files
+%defattr(-,root,root,-)
+%{tde_libdir}/libavahi-tqt.so.1
+%{tde_libdir}/libavahi-tqt.so.1.0.0
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_includedir}/avahi-tqt/
+%{tde_libdir}/libavahi-tqt.so
+%{tde_libdir}/libavahi-tqt.la
+%{tde_libdir}/pkgconfig/avahi-tqt.pc
+
+%changelog
+* Thu Feb 16 2012 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
+- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
diff --git a/redhat/dependencies/avahi-tqt/avahi-tqt-r14.spec b/redhat/dependencies/avahi-tqt/avahi-tqt-r14.spec
deleted file mode 100644
index 2e0b389ba..000000000
--- a/redhat/dependencies/avahi-tqt/avahi-tqt-r14.spec
+++ /dev/null
@@ -1,76 +0,0 @@
-# Always build under "/usr"
-%define _prefix /usr
-
-
-Name: avahi-tqt
-Version: r14
-Release: 1%{?dist}
-License: GPL
-Summary: Avahi TQT Interface
-Group: System Environment/Libraries
-
-Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
-URL: http://www.trinitydesktop.org/
-
-Prefix: %{_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{name}-%{version}.tar.gz
-
-# Allows building with TQT3 instead of QT3
-Patch1: avahi-tqt-moc-tqt3.patch
-
-BuildRequires: gcc-c++
-BuildRequires: avahi-devel
-BuildRequires: cmake >= 2.8
-BuildRequires: tqt3-devel >= 3.4.0
-BuildRequires: tqtinterface-devel
-Requires: tqt3 >= 3.4.0
-Requires: tqtinterface
-
-%description
-Avahi TQT Interface
-
-
-%package devel
-Requires: %{name}
-Summary: %{name} - Development files
-Group: Development/Libraries
-
-
-%description devel
-Development files for %{name}
-
-
-%prep
-%setup -q -n dependencies/%{name}
-%patch1 -p1
-
-%build
-./autogen.sh
-%configure \
- --enable-compat-libdns_sd \
- --with-systemdsystemunitdir=/lib/systemd/system
-
-%install
-%__rm -rf %{?buildroot}
-%__make install DESTDIR=%{?buildroot}
-
-%clean
-%__rm -rf %{?buildroot}
-
-
-%files
-%{_libdir}/*.so.*
-
-%files devel
-%{_includedir}/%{name}
-%{_libdir}/*.so
-%{_libdir}/*.la
-%{_libdir}/pkgconfig/*.pc
-%exclude %{_libdir}/libavahi-tqt.a
-
-%changelog
-* Thu Feb 16 2012 Francois Andriot <francois.andriot@free.fr> - r14-1
-- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
diff --git a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec
new file mode 100644
index 000000000..c8175b29a
--- /dev/null
+++ b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec
@@ -0,0 +1,117 @@
+# Always install under standard prefix
+%define tde_prefix /usr
+
+%define tde_bindir %{tde_prefix}/bin
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+Name: trinity-dbus-1-tqt
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+License: GPL
+Summary: Dbus TQT Interface
+Group: System Environment/Libraries
+
+Obsoletes: dbus-1-tqt < %{version}-%{release}
+Provides: dbus-1-tqt = %{version}-%{release}
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+BuildRequires: gcc-c++
+%if 0%{?suse_version}
+BuildRequires: dbus-1-devel
+%else
+BuildRequires: dbus-devel
+%endif
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+
+# TDE 3.5.13 specific building variables
+BuildRequires: cmake >= 2.8
+BuildRequires: trinity-tqt3-devel >= %{version}
+Requires: trinity-tqt3 >= %{version}
+
+
+%description
+Dbus TQT Interface
+
+
+%package devel
+Requires: %{name}
+Summary: %{name} - Development files
+Group: Development/Libraries
+
+Obsoletes: dbus-1-tqt-devel < %{version}-%{release}
+Provides: dbus-1-tqt-devel = %{version}-%{release}
+
+%description devel
+Development files for %{name}
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+
+%build
+unset QTDIR
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_includedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ ..
+
+%__make %{?_smp_mflags}
+
+
+%install
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{?buildroot} -C build
+
+%clean
+%__rm -rf %{?buildroot}
+
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/dbusxml2qt3
+%{tde_libdir}/libdbus-1-tqt.so.0
+%{tde_libdir}/libdbus-1-tqt.so.0.0.0
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_includedir}/*.h
+%{tde_libdir}/libdbus-1-tqt.so
+%{tde_libdir}/libdbus-1-tqt.la
+%{tde_libdir}/pkgconfig/*.pc
+
+%changelog
+* Thu Feb 16 2012 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
+- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
+
diff --git a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-r14.spec b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-r14.spec
deleted file mode 100644
index 112520c32..000000000
--- a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-r14.spec
+++ /dev/null
@@ -1,73 +0,0 @@
-# Always build under "/usr"
-%define _prefix /usr
-
-
-Name: dbus-1-tqt
-Version: r14
-Release: 1%{?dist}
-License: GPL
-Summary: Dbus TQT Interface
-Group: System Environment/Libraries
-
-Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
-
-Prefix: %{_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{name}-%{version}.tar.gz
-
-BuildRequires: gcc-c++
-BuildRequires: dbus-devel
-BuildRequires: tqtinterface-devel
-BuildRequires: cmake >= 2.8
-BuildRequires: tqt3-devel >= 3.4.0
-BuildRequires: dbus-tqt-devel == %{version}
-Requires: tqt3 >= 3.4.0
-Requires: dbus-tqt == %{version}
-
-%description
-Dbus TQT Interface
-
-
-%package devel
-Requires: %{name}
-Summary: %{name} - Development files
-Group: Development/Libraries
-
-%description devel
-Development files for %{name}
-
-
-%prep
-%setup -q -n dependencies/%{name}
-
-%build
-%__mkdir build
-cd build
-%cmake ..
-%__make %{?_smp_mflags}
-
-
-%install
-%__rm -rf %{?buildroot}
-%__mkdir_p %{?buildroot}%{_includedir}
-%__make install DESTDIR=%{?buildroot} -C build
-
-%clean
-%__rm -rf %{?buildroot}
-
-%files
-%{_bindir}/dbusxml2qt3
-%{_libdir}/*.so.*
-
-%files devel
-%{_includedir}/*.h
-%{_libdir}/*.so
-%{_libdir}/*.la
-%{_libdir}/pkgconfig/*.pc
-
-%changelog
-* Thu Feb 16 2012 Francois Andriot <francois.andriot@free.fr> - r14-1
-- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
-
diff --git a/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec b/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec
new file mode 100644
index 000000000..b8acfe94d
--- /dev/null
+++ b/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec
@@ -0,0 +1,126 @@
+# Always install under standard prefix
+%define tde_prefix /usr
+
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+Name: trinity-dbus-tqt
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+License: GPL
+Summary: Dbus TQT Interface
+Group: System Environment/Libraries
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+# [dbus-tqt] Fix build on RHEL 4
+Patch1: dbus-tqt-3.5.13-fix_old_dbus_types.patch
+
+BuildRequires: gcc-c++
+%if 0%{?suse_version}
+BuildRequires: dbus-1-devel
+%else
+BuildRequires: dbus-devel
+%endif
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+
+# TDE 3.5.13 specific building variables
+BuildRequires: cmake >= 2.8
+BuildRequires: trinity-tqt3-devel >= %{version}
+
+Requires: trinity-tqt3 >= %{version}
+
+Obsoletes: dbus-tqt < %{version}-%{release}
+Provides: dbus-tqt = %{version}-%{release}
+
+
+%description
+Dbus TQT Interface
+
+
+%package devel
+Requires: %{name}
+Summary: %{name} - Development files
+Group: Development/Libraries
+
+Obsoletes: dbus-tqt-devel < %{version}-%{release}
+Provides: dbus-tqt-devel = %{version}-%{release}
+
+%description devel
+Development files for %{name}
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%if 0%{?rhel} == 4
+%patch1 -p1 -b .dbustypes
+%endif
+
+
+%build
+unset QTDIR
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+
+%if 0%{?rhel} == 4
+export CXXFLAGS="-DDBUS_API_SUBJECT_TO_CHANGE ${CXXFLAGS}"
+%endif
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DINCLUDE_INSTALL_DIR=%{tde_includedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ ..
+
+%__make %{?_smp_mflags}
+
+
+%install
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{?buildroot} -C build
+
+%clean
+%__rm -rf %{?buildroot}
+
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+%files
+%defattr(-,root,root,-)
+%{tde_libdir}/libdbus-tqt-1.so.0
+%{tde_libdir}/libdbus-tqt-1.so.0.0.0
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_includedir}/dbus-1.0/*
+%{tde_libdir}/libdbus-tqt-1.so
+%{tde_libdir}/libdbus-tqt-1.la
+%{tde_libdir}/pkgconfig/dbus-tqt.pc
+
+%changelog
+* Thu Feb 16 2012 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
+- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
diff --git a/redhat/dependencies/dbus-tqt/dbus-tqt-r14.spec b/redhat/dependencies/dbus-tqt/dbus-tqt-r14.spec
deleted file mode 100644
index aaf57264a..000000000
--- a/redhat/dependencies/dbus-tqt/dbus-tqt-r14.spec
+++ /dev/null
@@ -1,71 +0,0 @@
-# Always build under "/usr"
-%define _prefix /usr
-
-
-Name: dbus-tqt
-Version: r14
-Release: 1%{?dist}
-License: GPL
-Summary: Dbus TQT Interface
-Group: System Environment/Libraries
-
-Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
-
-Prefix: %{_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{name}-%{version}.tar.gz
-
-BuildRequires: gcc-c++
-BuildRequires: dbus-devel
-BuildRequires: cmake >= 2.8
-BuildRequires: tqt3-devel >= 3.4.0
-BuildRequires: tqtinterface-devel
-Requires: tqt3 >= 3.4.0
-Requires: tqtinterface
-
-%description
-Dbus TQT Interface
-
-
-%package devel
-Requires: %{name}
-Summary: %{name} - Development files
-Group: Development/Libraries
-
-
-%description devel
-Development files for %{name}
-
-
-%prep
-%setup -q -n dependencies/%{name}
-
-%build
-%__mkdir build
-cd build
-%cmake ..
-
-%__make %{?_smp_mflags}
-
-
-%install
-%__rm -rf %{?buildroot}
-%__make install DESTDIR=%{?buildroot} -C build
-
-%clean
-%__rm -rf %{?buildroot}
-
-%files
-%{_libdir}/*.so.*
-
-%files devel
-%{_includedir}/dbus-1.0/*
-%{_libdir}/*.so
-%{_libdir}/*.la
-%{_libdir}/pkgconfig/*.pc
-
-%changelog
-* Thu Feb 16 2012 Francois Andriot <francois.andriot@free.fr> - r14-1
-- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
diff --git a/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec b/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec
new file mode 100644
index 000000000..108a9214b
--- /dev/null
+++ b/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec
@@ -0,0 +1,178 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+%define tde_bindir %{tde_prefix}/bin
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_datadir %{tde_prefix}/share
+
+%define tde_tdeincludedir %{tde_includedir}/tde
+
+%define _docdir %{tde_datadir}/doc
+
+
+Name: trinity-libart-lgpl
+Version: 14.0.0
+Release: 1%{?dist}%{?_variant}
+
+Summary: Library of functions for 2D graphics - runtime files
+
+Group: System Environment/Libraries
+License: LGPLv2+
+
+Vendor: Trinity Project
+URL: http://www.trinitydesktop.org/
+Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+BuildRequires: trinity-tqt3-devel >= %{version}
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+
+%description
+A library of functions for 2D graphics supporting a superset of the
+PostScript imaging model, designed to be integrated with graphics, artwork,
+and illustration programs. It is written in optimized C, and is fully
+compatible with C++. With a small footprint of 10,000 lines of code, it is
+especially suitable for embedded applications.
+
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{tde_libdir}/libart_lgpl_2.so.2
+%{tde_libdir}/libart_lgpl_2.so.2.3.21
+
+##########
+
+%package devel
+Summary: Library of functions for 2D graphics - development files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+A library of functions for 2D graphics supporting a superset of the
+PostScript imaging model, designed to be integrated with graphics, artwork,
+and illustration programs. It is written in optimized C, and is fully
+compatible with C++. With a small footprint of 10,000 lines of code, it is
+especially suitable for embedded applications.
+
+%post devel
+/sbin/ldconfig
+
+%postun devel
+/sbin/ldconfig
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_bindir}/libart2-config
+%{tde_libdir}/libart_lgpl_2.a
+%{tde_libdir}/libart_lgpl_2.la
+%{tde_libdir}/libart_lgpl_2.so
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_affine.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_alphagamma.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_bpath.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_config.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_filterlevel.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_gray_svp.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_misc.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_pathcode.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_pixbuf.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_point.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_rect.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_rect_svp.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_rect_uta.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_render.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_render_gradient.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_render_mask.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_render_svp.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_rgb.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_rgb_a_affine.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_rgb_affine.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_rgb_bitmap_affine.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_rgb_pixbuf_affine.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_rgb_rgba_affine.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_rgb_svp.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_rgba.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_svp.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_svp_intersect.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_svp_ops.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_svp_point.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_svp_render_aa.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_svp_vpath.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_svp_vpath_stroke.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_svp_wind.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_uta.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_uta_ops.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_uta_rect.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_uta_svp.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_uta_vpath.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_vpath.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_vpath_bpath.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_vpath_dash.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/art_vpath_svp.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/libart-features.h
+%{tde_tdeincludedir}/libart-2.0/libart_lgpl/libart.h
+%{tde_libdir}/pkgconfig/libart-2.0.pc
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "ltmain.sh"
+autoreconf -fiv
+
+
+%build
+unset QTDIR
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --enable-new-ldflags \
+ --enable-closure \
+ --disable-debug --disable-warnings \
+ --enable-final
+
+%__make %{?_smp_mflags}
+
+
+%install
+%__rm -rf $RPM_BUILD_ROOT
+%__make install DESTDIR=$RPM_BUILD_ROOT
+
+
+%clean
+%__rm -rf $RPM_BUILD_ROOT
+
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-1
+- Initial build for TDE 3.5.13.2
diff --git a/redhat/dependencies/tqt3/assistant3.desktop b/redhat/dependencies/tqt3/assistant3.desktop
deleted file mode 100644
index 49e718c5d..000000000
--- a/redhat/dependencies/tqt3/assistant3.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Qt3 Assistant
-Comment=Add translations to Qt3 applications
-Exec=assistant
-Icon=assistant3
-Terminal=false
-Encoding=UTF-8
-Type=Application
-Categories=Qt;Development;
diff --git a/redhat/dependencies/tqt3/designer3.desktop b/redhat/dependencies/tqt3/designer3.desktop
deleted file mode 100644
index 23f1f549a..000000000
--- a/redhat/dependencies/tqt3/designer3.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Name=Qt3 Designer
-GenericName=Interface Designer
-Comment=Design GUIs for Qt3 applications
-Exec=designer
-Icon=designer3
-MimeType=application/x-designer;
-Terminal=false
-Encoding=UTF-8
-Type=Application
-Categories=Qt;Development;
diff --git a/redhat/dependencies/tqt3/linguist3.desktop b/redhat/dependencies/tqt3/linguist3.desktop
deleted file mode 100644
index c6fce02c8..000000000
--- a/redhat/dependencies/tqt3/linguist3.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Name=Qt3 Linguist
-Comment=Add translations to Qt3 applications
-Exec=linguist
-Icon=linguist3
-MimeType=application/x-linguist;
-Terminal=false
-Encoding=UTF-8
-Type=Application
-Categories=Qt;Development;
diff --git a/redhat/dependencies/tqt3/qt-3.1.0-makefile.patch b/redhat/dependencies/tqt3/qt-3.1.0-makefile.patch
deleted file mode 120000
index 7d8ae65a2..000000000
--- a/redhat/dependencies/tqt3/qt-3.1.0-makefile.patch
+++ /dev/null
@@ -1 +0,0 @@
-../qt3/qt-3.1.0-makefile.patch \ No newline at end of file
diff --git a/redhat/dependencies/tqt3/qt-3.3.4-print-CJK.patch b/redhat/dependencies/tqt3/qt-3.3.4-print-CJK.patch
deleted file mode 120000
index 99cdc6e1d..000000000
--- a/redhat/dependencies/tqt3/qt-3.3.4-print-CJK.patch
+++ /dev/null
@@ -1 +0,0 @@
-../qt3/qt-3.3.4-print-CJK.patch \ No newline at end of file
diff --git a/redhat/dependencies/tqt3/qt-3.3.6-fontrendering-gu-228452.patch b/redhat/dependencies/tqt3/qt-3.3.6-fontrendering-gu-228452.patch
deleted file mode 120000
index b015af122..000000000
--- a/redhat/dependencies/tqt3/qt-3.3.6-fontrendering-gu-228452.patch
+++ /dev/null
@@ -1 +0,0 @@
-../qt3/qt-3.3.6-fontrendering-gu-228452.patch \ No newline at end of file
diff --git a/redhat/dependencies/tqt3/qt-3.3.6-fontrendering-ml_IN-209974.patch b/redhat/dependencies/tqt3/qt-3.3.6-fontrendering-ml_IN-209974.patch
deleted file mode 120000
index 388a5cbe5..000000000
--- a/redhat/dependencies/tqt3/qt-3.3.6-fontrendering-ml_IN-209974.patch
+++ /dev/null
@@ -1 +0,0 @@
-../qt3/qt-3.3.6-fontrendering-ml_IN-209974.patch \ No newline at end of file
diff --git a/redhat/dependencies/tqt3/qt-3.3.6-fontrendering-te_IN-211259.patch b/redhat/dependencies/tqt3/qt-3.3.6-fontrendering-te_IN-211259.patch
deleted file mode 120000
index 93c6ba3d8..000000000
--- a/redhat/dependencies/tqt3/qt-3.3.6-fontrendering-te_IN-211259.patch
+++ /dev/null
@@ -1 +0,0 @@
-../qt3/qt-3.3.6-fontrendering-te_IN-211259.patch \ No newline at end of file
diff --git a/redhat/dependencies/tqt3/qt-3.3.8-fontrendering-as_IN-209972.patch b/redhat/dependencies/tqt3/qt-3.3.8-fontrendering-as_IN-209972.patch
deleted file mode 120000
index 4ded8f792..000000000
--- a/redhat/dependencies/tqt3/qt-3.3.8-fontrendering-as_IN-209972.patch
+++ /dev/null
@@ -1 +0,0 @@
-../qt3/qt-3.3.8-fontrendering-as_IN-209972.patch \ No newline at end of file
diff --git a/redhat/dependencies/tqt3/qt-x11-free-3.3.4-fullscreen.patch b/redhat/dependencies/tqt3/qt-x11-free-3.3.4-fullscreen.patch
deleted file mode 120000
index 09d41d4b3..000000000
--- a/redhat/dependencies/tqt3/qt-x11-free-3.3.4-fullscreen.patch
+++ /dev/null
@@ -1 +0,0 @@
-../qt3/qt-x11-free-3.3.4-fullscreen.patch \ No newline at end of file
diff --git a/redhat/dependencies/tqt3/qt-x11-free-3.3.6-qfontdatabase_x11.patch b/redhat/dependencies/tqt3/qt-x11-free-3.3.6-qfontdatabase_x11.patch
deleted file mode 120000
index f8342f9f9..000000000
--- a/redhat/dependencies/tqt3/qt-x11-free-3.3.6-qfontdatabase_x11.patch
+++ /dev/null
@@ -1 +0,0 @@
-../qt3/qt-x11-free-3.3.6-qfontdatabase_x11.patch \ No newline at end of file
diff --git a/redhat/dependencies/tqt3/qt-x11-free-3.3.6-strip.patch b/redhat/dependencies/tqt3/qt-x11-free-3.3.6-strip.patch
deleted file mode 120000
index 7121216bc..000000000
--- a/redhat/dependencies/tqt3/qt-x11-free-3.3.6-strip.patch
+++ /dev/null
@@ -1 +0,0 @@
-../qt3/qt-x11-free-3.3.6-strip.patch \ No newline at end of file
diff --git a/redhat/dependencies/tqt3/qt-x11-free-3.3.7-arm.patch b/redhat/dependencies/tqt3/qt-x11-free-3.3.7-arm.patch
deleted file mode 120000
index b7682272a..000000000
--- a/redhat/dependencies/tqt3/qt-x11-free-3.3.7-arm.patch
+++ /dev/null
@@ -1 +0,0 @@
-../qt3/qt-x11-free-3.3.7-arm.patch \ No newline at end of file
diff --git a/redhat/dependencies/tqt3/qt-x11-free-3.3.8b-typo.patch b/redhat/dependencies/tqt3/qt-x11-free-3.3.8b-typo.patch
deleted file mode 120000
index 4e2537345..000000000
--- a/redhat/dependencies/tqt3/qt-x11-free-3.3.8b-typo.patch
+++ /dev/null
@@ -1 +0,0 @@
-../qt3/qt-x11-free-3.3.8b-typo.patch \ No newline at end of file
diff --git a/redhat/dependencies/tqt3/qt-x11-immodule-unified-qt3.3.5-20051012-quiet.patch b/redhat/dependencies/tqt3/qt-x11-immodule-unified-qt3.3.5-20051012-quiet.patch
deleted file mode 100644
index 5e5d9773a..000000000
--- a/redhat/dependencies/tqt3/qt-x11-immodule-unified-qt3.3.5-20051012-quiet.patch
+++ /dev/null
@@ -1,134 +0,0 @@
-diff -Nur qt-x11-free-3.3.5.orig/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp qt-x11-free-3.3.5/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp
---- qt-x11-free-3.3.5.orig/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp 2005-10-13 16:09:36.000000000 +0200
-+++ qt-x11-free-3.3.5/plugins/src/inputmethods/imsw-multi/qmultiinputcontext.cpp 2005-10-13 16:09:31.000000000 +0200
-@@ -306,8 +306,8 @@
-
- currentIMKey = key;
-
-- qDebug( "QMultiInputContext::changeInputMethod(): index=%d, slave=%s",
-- imIndex, (const char *)_slave->identifierName() );
-+ /* qDebug( "QMultiInputContext::changeInputMethod(): index=%d, slave=%s",
-+ imIndex, (const char *)_slave->identifierName() ); */
- }
- }
-
-diff -Nur qt-x11-free-3.3.5.orig/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp qt-x11-free-3.3.5/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp
---- qt-x11-free-3.3.5.orig/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp 2005-10-13 16:09:36.000000000 +0200
-+++ qt-x11-free-3.3.5/plugins/src/inputmethods/simple/qsimpleinputcontext.cpp 2005-10-13 16:09:31.000000000 +0200
-@@ -140,7 +140,7 @@
- // only one character. See description of
- // QInputContext::filterEvent() about key compression.
- val = text[0].unicode();
-- qDebug( "str = %s", (const char*)keyevent->text().local8Bit() );
-+ // qDebug( "str = %s", (const char*)keyevent->text().local8Bit() );
- }
-
- // Store value
-@@ -164,14 +164,14 @@
-
- void QSimpleInputContext::setFocus()
- {
-- qDebug( "QSimpleInputContext: %p->setFocus(), focusWidget()=%p",
-- this, focusWidget() );
-+ /* qDebug( "QSimpleInputContext: %p->setFocus(), focusWidget()=%p",
-+ this, focusWidget() ); */
- }
-
- void QSimpleInputContext::unsetFocus()
- {
-- qDebug( "QSimpleInputContext: %p->unsetFocus(), focusWidget()=%p",
-- this, focusWidget() );
-+ /* qDebug( "QSimpleInputContext: %p->unsetFocus(), focusWidget()=%p",
-+ this, focusWidget() ); */
- reset();
- }
-
-@@ -188,8 +188,8 @@
- case QEvent::MouseButtonRelease:
- case QEvent::MouseButtonDblClick:
- case QEvent::MouseMove:
-- qDebug( "QSimpleInputContext::mouseHandler: "
-- "x=%d, type=%d, button=%d, state=%d", x, type, button, state );
-+ /* qDebug( "QSimpleInputContext::mouseHandler: "
-+ "x=%d, type=%d, button=%d, state=%d", x, type, button, state ); */
- break;
- default:
- break;
-@@ -240,7 +240,7 @@
-
- // no entries were found
- if ( p == composeTable->data + composeTable->size ) {
-- qDebug( "no match" );
-+ // qDebug( "no match" );
- clearComposeBuffer();
- return FALSE;
- }
-@@ -250,18 +250,18 @@
-
- // check if partial match
- if ( composeBuffer[i] == 0 && p->keys[i] ) {
-- qDebug("partial match");
-+ // qDebug("partial match");
- return TRUE;
- }
-
- if ( composeBuffer[i] != p->keys[i] ) {
-- qDebug("different entry");
-+ // qDebug("different entry");
- clearComposeBuffer();
- return i!=0;
- }
- }
-
-- qDebug("match exactly");
-+ // qDebug("match exactly");
-
- // match exactly
- commitChar( p->value );
-diff -Nur qt-x11-free-3.3.5.orig/src/kernel/qinputcontext.cpp qt-x11-free-3.3.5/src/kernel/qinputcontext.cpp
---- qt-x11-free-3.3.5.orig/src/kernel/qinputcontext.cpp 2005-10-13 16:09:37.000000000 +0200
-+++ qt-x11-free-3.3.5/src/kernel/qinputcontext.cpp 2005-10-13 16:09:31.000000000 +0200
-@@ -526,17 +526,17 @@
- return;
-
- if ( type == QEvent::IMStart ) {
-- qDebug( "sending IMStart with %d chars to %p",
-- text.length(), receiver );
-+ /* qDebug( "sending IMStart with %d chars to %p",
-+ text.length(), receiver ); */
- event = new QIMEvent( type, text, cursorPosition );
- } else if ( type == QEvent::IMEnd ) {
-- qDebug( "sending IMEnd with %d chars to %p, text=%s",
-- text.length(), receiver, (const char*)text.local8Bit() );
-+ /* qDebug( "sending IMEnd with %d chars to %p, text=%s",
-+ text.length(), receiver, (const char*)text.local8Bit() ); */
- event = new QIMEvent( type, text, cursorPosition );
- } else if ( type == QEvent::IMCompose ) {
-- qDebug( "sending IMCompose to %p with %d chars, cpos=%d, sellen=%d, text=%s",
-+ /* qDebug( "sending IMCompose to %p with %d chars, cpos=%d, sellen=%d, text=%s",
- receiver, text.length(), cursorPosition, selLength,
-- (const char*)text.local8Bit() );
-+ (const char*)text.local8Bit() ); */
- event = new QIMComposeEvent( type, text, cursorPosition, selLength );
- }
-
---- qt-x11-free-3.3.5/plugins/src/inputmethods/xim/qximinputcontext_x11.cpp.quiet 2005-10-13 19:00:56.000000000 +0200
-+++ qt-x11-free-3.3.5/plugins/src/inputmethods/xim/qximinputcontext_x11.cpp 2005-10-25 15:36:43.000000000 +0200
-@@ -356,7 +356,7 @@
- #if !defined(QT_NO_XIM)
- fontsetRefCount++;
- if (! qt_xim) {
-- qWarning("QInputContext: no input method context available");
-+ // qWarning("QInputContext: no input method context available");
- return;
- }
-
-@@ -742,7 +742,7 @@
-
- void QXIMInputContext::close( const QString &errMsg )
- {
-- qDebug( errMsg );
-+ // qDebug( errMsg );
- emit deletionRequested();
- }
-
diff --git a/redhat/dependencies/tqt3/qt-x11-immodule-unified-qt3.3.8-20071116.diff.bz2 b/redhat/dependencies/tqt3/qt-x11-immodule-unified-qt3.3.8-20071116.diff.bz2
deleted file mode 100644
index 7c122a375..000000000
--- a/redhat/dependencies/tqt3/qt-x11-immodule-unified-qt3.3.8-20071116.diff.bz2
+++ /dev/null
Binary files differ
diff --git a/redhat/dependencies/tqt3/qt.csh b/redhat/dependencies/tqt3/qt.csh
deleted file mode 100755
index 7efcd89c5..000000000
--- a/redhat/dependencies/tqt3/qt.csh
+++ /dev/null
@@ -1,34 +0,0 @@
-# Qt initialization script (csh)
-
-# In multilib environments there is a preferred architecture, 64 bit over 32 bit in x86_64,
-# When a conflict is found between two packages corresponding with different arches,
-# the installed file is the one from the preferred arch. This is very common for executables
-# in /usr/bin, for example. If the file /usr/bin/foo is found in an x86_64 package and in an
-# i386 package, the executable from x86_64 will be installe
-
-if ( $?QTDIR ) then
- exit
-endif
-
-switch (`uname -m`)
- case x86_64:
- case ia64:
- case s390x:
- case ppc64:
- set QTPREFIXES = "/usr/lib64/qt-3.3 /usr/lib/qt-3.3"
- breaksw
- case *:
- set QTPREFIXES = "/usr/lib/qt-3.3 /usr/lib64/qt-3.3"
-endsw
-
-foreach QTPREFIX ( $QTPREFIXES )
- test -d "$QTPREFIX" && setenv QTDIR $QTPREFIX && break
-end
-unset QTPREFIX QTPREFIXES
-
-if ( "${path}" !~ *$QTDIR/bin* ) then
- set path = ( $QTDIR/bin $path )
-endif
-
-setenv QTINC $QTDIR/include
-setenv QTLIB $QTDIR/lib
diff --git a/redhat/dependencies/tqt3/qt.sh b/redhat/dependencies/tqt3/qt.sh
deleted file mode 100755
index 88b3e0cea..000000000
--- a/redhat/dependencies/tqt3/qt.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-# Qt initialization script (sh)
-
-# In multilib environments there is a preferred architecture, 64 bit over 32 bit in x86_64,
-# When a conflict is found between two packages corresponding with different arches,
-# the installed file is the one from the preferred arch. This is very common for executables
-# in /usr/bin, for example. If the file /usr/bin/foo is found in an x86_64 package and in an
-# i386 package, the executable from x86_64 will be installe
-
-if [ -z "${QTDIR}" ]; then
-
-case `uname -m` in
- x86_64 | ia64 | s390x | ppc64 )
- QT_PREFIXES="/usr/lib64/qt-3.3 /usr/lib/qt-3.3" ;;
- * )
- QT_PREFIXES="/usr/lib/qt-3.3 /usr/lib64/qt-3.3" ;;
-esac
-
-for QTDIR in ${QT_PREFIXES} ; do
- test -d "${QTDIR}" && break
-done
-unset QT_PREFIXES
-
-if ! echo ${PATH} | /bin/grep -q $QTDIR/bin ; then
- PATH=$QTDIR/bin:${PATH}
-fi
-
-QTINC="$QTDIR/include"
-QTLIB="$QTDIR/lib"
-
-export QTDIR QTINC QTLIB PATH
-
-fi
diff --git a/redhat/dependencies/tqt3/qt3-3.3.8.d-updates_zh-tw_translations.patch b/redhat/dependencies/tqt3/qt3-3.3.8.d-updates_zh-tw_translations.patch
deleted file mode 120000
index 06a4852dc..000000000
--- a/redhat/dependencies/tqt3/qt3-3.3.8.d-updates_zh-tw_translations.patch
+++ /dev/null
@@ -1 +0,0 @@
-../qt3/qt3-3.3.8.d-updates_zh-tw_translations.patch \ No newline at end of file
diff --git a/redhat/dependencies/tqt3/qtconfig3.desktop b/redhat/dependencies/tqt3/qtconfig3.desktop
deleted file mode 100644
index 11df0abab..000000000
--- a/redhat/dependencies/tqt3/qtconfig3.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Name=Qt3 Config
-Comment=Configure Qt3 behavior, styles, fonts
-Exec=qtconfig
-Icon=qtconfig3
-Terminal=false
-Encoding=UTF-8
-Type=Application
-Categories=Qt;Settings;
diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0-fix_ftbfs.patch b/redhat/dependencies/tqt3/tqt3-14.0.0-fix_ftbfs.patch
new file mode 100644
index 000000000..38c729d60
--- /dev/null
+++ b/redhat/dependencies/tqt3/tqt3-14.0.0-fix_ftbfs.patch
@@ -0,0 +1,18 @@
+--- ./tools/qvfb/qanimationwriter.cpp.ori 2013-06-25 20:52:34.636153035 +0200
++++ ./tools/qvfb/qanimationwriter.cpp 2013-06-25 20:52:59.673642835 +0200
+@@ -101,7 +101,15 @@
+
+ void writePNG(const TQImage& image)
+ {
++#if PNG_LIBPNG_VER_MAJOR>1 || ( PNG_LIBPNG_VER_MAJOR==1 && PNG_LIBPNG_VER_MINOR>=5 )
++#warning XXXtnn not too sure about this
++/*
++according to png.h, channels is only used on read, not writes, so we
++should be able to comment this out.
++*/
++#else /* LIBPNG 1.5 */
+ info_ptr->channels = 4;
++#endif
+ png_set_sig_bytes(png_ptr, 8); // Pretend we already wrote the sig
+ png_set_IHDR(png_ptr, info_ptr, image.width(), image.height(),
+ 8, image.hasAlphaBuffer()
diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0-shared_lib.patch b/redhat/dependencies/tqt3/tqt3-14.0.0-shared_lib.patch
new file mode 100644
index 000000000..d9b98985f
--- /dev/null
+++ b/redhat/dependencies/tqt3/tqt3-14.0.0-shared_lib.patch
@@ -0,0 +1,35 @@
+--- ./tools/assistant/lib/lib.pro.ori 2013-06-25 20:20:21.576374929 +0200
++++ ./tools/assistant/lib/lib.pro 2013-06-25 20:20:36.008078008 +0200
+@@ -3,8 +3,7 @@
+ VERSION = 1.0
+
+ CONFIG += qt warn_on release
+-CONFIG += staticlib
+-CONFIG -= dll
++CONFIG += dll
+
+ SOURCES = qassistantclient.cpp
+ HEADERS += $$QT_SOURCE_TREE/include/ntqassistantclient.h
+--- ./tools/designer/editor/editor.pro.ori 2013-06-25 20:21:49.469566420 +0200
++++ ./tools/designer/editor/editor.pro 2013-06-25 20:21:59.535359278 +0200
+@@ -1,6 +1,6 @@
+ TEMPLATE = lib
+-CONFIG += qt warn_on staticlib
+-CONFIG -= dll
++CONFIG += qt warn_on
++CONFIG += dll
+ HEADERS = editor.h \
+ parenmatcher.h \
+ completion.h \
+--- ./tools/designer/designer/designer.pro.ori 2013-06-25 20:22:39.279541337 +0200
++++ ./tools/designer/designer/designer.pro 2013-06-25 20:23:08.892943751 +0200
+@@ -1,7 +1,7 @@
+ TEMPLATE = lib
+
+-CONFIG += qt warn_on staticlib qmake_cache
+-CONFIG -= dll
++CONFIG += qt warn_on qmake_cache
++CONFIG += dll
+ !force_static:!win32:contains(QT_PRODUCT,qt-internal) {
+ CONFIG -= staticlib
+ CONFIG += dll
diff --git a/redhat/dependencies/tqt3/tqt3-3.4.0-compositing-properties.patch b/redhat/dependencies/tqt3/tqt3-3.4.0-compositing-properties.patch
deleted file mode 100644
index 8edfd996f..000000000
--- a/redhat/dependencies/tqt3/tqt3-3.4.0-compositing-properties.patch
+++ /dev/null
@@ -1,80 +0,0 @@
-qt-bugs@ issue : none
-bugs.kde.org number : none
-applied: no
-author: Lubos Lunak <l.lunak@kde.org>
-
-This patch makes override-redirect windows (popup menu, dropdown menu,
-tooltip, combobox, etc.) also have more window properties like WM_CLASS,
-so they can be used when compositing.
-
---- src/kernel/qwidget_x11.cpp.sav 2007-06-25 10:36:42.000000000 +0200
-+++ src/kernel/qwidget_x11.cpp 2007-10-02 15:30:13.000000000 +0200
-@@ -557,7 +557,10 @@ void QWidget::create( WId window, bool i
- wsa.save_under = True;
- XChangeWindowAttributes( dpy, id, CWOverrideRedirect | CWSaveUnder,
- &wsa );
-- x11SetWindowType();
-+ XClassHint class_hint;
-+ class_hint.res_name = (char *) tqAppName(); // application name
-+ class_hint.res_class = (char *) tqAppClass(); // application class
-+ XSetClassHint( dpy, id, &class_hint );
- } else if ( topLevel && !desktop ) { // top-level widget
- QWidget *p = parentWidget(); // real parent
- if (p)
-@@ -620,8 +623,6 @@ void QWidget::create( WId window, bool i
- else
- XDeleteProperty(dpy, id, qt_xa_motif_wm_hints);
-
-- x11SetWindowType();
--
- // set _NET_WM_WINDOW_STATE
- if (curr_winstate > 0)
- XChangeProperty(dpy, id, qt_net_wm_state, XA_ATOM, 32, PropModeReplace,
-@@ -629,11 +630,6 @@ void QWidget::create( WId window, bool i
- else
- XDeleteProperty(dpy, id, qt_net_wm_state);
-
-- // set _NET_WM_PID
-- long curr_pid = getpid();
-- XChangeProperty(dpy, id, qt_net_wm_pid, XA_CARDINAL, 32, PropModeReplace,
-- (unsigned char *) &curr_pid, 1);
--
- #ifndef QT_NO_XSYNC
- // set _NET_WM_SYNC_COUNTER
- createSyncCounter();
-@@ -729,19 +725,31 @@ void QWidget::create( WId window, bool i
- // when we create a toplevel widget, the frame strut should be dirty
- fstrut_dirty = 1;
-
-+ } else {
-+ // non-toplevel widgets don't have a frame, so no need to
-+ // update the strut
-+ fstrut_dirty = 0;
-+ }
-+
-+ if (initializeWindow && (popup || (topLevel && !desktop))) { // properties set on all toplevel windows
-+ x11SetWindowType();
-+
-+ // set _NET_WM_PID
-+ long curr_pid = getpid();
-+ XChangeProperty(dpy, id, qt_net_wm_pid, XA_CARDINAL, 32, PropModeReplace,
-+ (unsigned char *) &curr_pid, 1);
-+
- // declare the widget's object name as window role
- XChangeProperty( dpy, id,
- tqt_window_role, XA_STRING, 8, PropModeReplace,
- (unsigned char *)name(), tqstrlen( name() ) );
-
- // set client leader property
-+ if ( !qt_x11_wm_client_leader )
-+ qt_x11_create_wm_client_leader();
- XChangeProperty( dpy, id, qt_wm_client_leader,
- XA_WINDOW, 32, PropModeReplace,
- (unsigned char *)&qt_x11_wm_client_leader, 1 );
-- } else {
-- // non-toplevel widgets don't have a frame, so no need to
-- // update the strut
-- fstrut_dirty = 0;
- }
-
- if ( initializeWindow ) {
diff --git a/redhat/dependencies/tqt3/tqt3-3.4.0-embed.patch b/redhat/dependencies/tqt3/tqt3-3.4.0-embed.patch
deleted file mode 100644
index 10d7704ae..000000000
--- a/redhat/dependencies/tqt3/tqt3-3.4.0-embed.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- tqt3/tools/qembed/qembed.pro.qembed 2012-02-13 19:10:01.000000000 +0100
-+++ tqt3/tools/qembed/qembed.pro 2012-02-13 21:26:57.417973392 +0100
-@@ -3,5 +3,7 @@
- TARGET = qembed
- REQUIRES=full-config nocrosscompiler
-
-+DESTDIR = ../../bin
- target.path = $$bins.path
- INSTALLS += target
-+
diff --git a/redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-#214570.patch b/redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-#214570.patch
deleted file mode 100644
index 77ca43101..000000000
--- a/redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-#214570.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- tqt3/src/kernel/qscriptengine_x11.cpp.fontrendering-#214570 2012-02-13 21:41:17.792005290 +0100
-+++ tqt3/src/kernel/qscriptengine_x11.cpp 2012-02-13 21:42:38.785202528 +0100
-@@ -1243,7 +1243,7 @@
- int script = item->script;
- Q_ASSERT(script >= TQFont::Devanagari && script <= TQFont::Sinhala);
- const unsigned short script_base = 0x0900 + 0x80*(script-TQFont::Devanagari);
-- const unsigned short ra = script_base + 0x30;
-+ unsigned short ra = script_base + 0x30; //it was const unsigned short ra before modification
- const unsigned short halant = script_base + 0x4d;
- const unsigned short nukta = script_base + 0x3c;
-
-@@ -1291,6 +1291,11 @@
- }
- #endif
-
-+ unsigned short *chkAssamese=reordered.data();
-+ if((script == TQFont::Bengali) && (*chkAssamese==0x09F0)) //if it is assamese ra
-+ {
-+ ra = script_base + 0x70;
-+ }
- if (len != 1) {
- unsigned short *uc = reordered.data();
- bool beginsWithRa = FALSE;
diff --git a/redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-214371.patch b/redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-214371.patch
deleted file mode 100644
index 9dca7998d..000000000
--- a/redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-214371.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -pruN qt-x11-free-3.3.6.org/src/kernel/qscriptengine_x11.cpp qt-x11-free-3.3.6/src/kernel/qscriptengine_x11.cpp
---- qt-x11-free-3.3.6.org/src/kernel/qscriptengine_x11.cpp 2006-12-04 18:47:11.000000000 +0530
-+++ qt-x11-free-3.3.6/src/kernel/qscriptengine_x11.cpp 2006-12-05 12:05:10.000000000 +0530
-@@ -1412,7 +1412,10 @@ static bool indic_shape_syllable(QOpenTy
- toPos += 2;
- if (script == QFont::Devanagari || script == QFont::Gujarati || script == QFont::Bengali) {
- if (matra_position == Post || matra_position == Split) {
-- toPos = matra+1;
-+ if (matra_position == Post )
-+ toPos = matra;
-+ else
-+ toPos = matra+1;
- matra -= 2;
- }
- } else if (script == QFont::Kannada) {
diff --git a/redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-ml_IN-209097.patch b/redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-ml_IN-209097.patch
deleted file mode 100644
index cdb543b25..000000000
--- a/redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-ml_IN-209097.patch
+++ /dev/null
@@ -1,60 +0,0 @@
---- tqt3/src/kernel/qscriptengine_x11.cpp.fontrendering-ml_IN-bz#209097 2012-02-13 19:10:01.000000000 +0100
-+++ tqt3/src/kernel/qscriptengine_x11.cpp 2012-02-13 21:36:07.227917886 +0100
-@@ -871,7 +871,7 @@
- None, None, None, None,
- None, None, None, Post,
-
-- Post, None, Below, None,
-+ None, None, None, None,
- None, Post, None, None,
- None, None, None, None,
- None, None, Post, Post,
-@@ -1274,6 +1274,16 @@
- int base = 0;
- int reph = -1;
-
-+ //for the special conjuctions about Cons+0d4d+0d30 and Cons+0d40+0d31 of Malayalam
-+ bool is_special_conjuction_malayalam = false;
-+
-+ if ((len == 3) &&
-+ ((reordered[2] == 0x0d30) || (reordered[2] == 0x0d31)) &&
-+ (reordered[1] == 0x0d4d) &&
-+ ((reordered[0] >= 0x0d15) && (reordered[0] <= 0x0d39))) {
-+ is_special_conjuction_malayalam = true;
-+ }
-+
- #ifdef INDIC_DEBUG
- IDEBUG("original:");
- for (i = 0; i < len; i++) {
-@@ -1550,6 +1560,15 @@
- reph = i;
- }
-
-+ //for the special conjuctions about Cons+0d4d+0d30 and Cons+0d40+0d31 of Malayalam
-+ if (is_special_conjuction_malayalam) {
-+ unsigned short temp;
-+
-+ temp = reordered[0];
-+ reordered[0] = reordered[2];
-+ reordered[2] = temp;
-+ }
-+
- if (item->font->stringToCMap((const TQChar *)reordered.data(), len, item->glyphs, item->advances,
- &item->num_glyphs, item->flags & TQTextEngine::RightToLeft) != TQFontEngine::NoError)
- return FALSE;
-@@ -1661,6 +1680,15 @@
-
- // halant always applies
-
-+ //for the special conjuctions about Cons+0d4d+0d30 and Cons+0d40+0d31 of Malayalam
-+ if (is_special_conjuction_malayalam) {
-+ unsigned int temp;
-+
-+ temp = properties[0];
-+ properties[0] = ~PreSubstProperty;
-+ properties[2] = temp;
-+ }
-+
- #ifdef INDIC_DEBUG
- {
- IDEBUG("OT properties:");
diff --git a/redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-ml_IN-217657.patch b/redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-ml_IN-217657.patch
deleted file mode 100644
index 276441c22..000000000
--- a/redhat/dependencies/tqt3/tqt3-3.4.0-fontrendering-ml_IN-217657.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- tqt3/src/kernel/qfont_x11.cpp.fontrendering-ml_IN-217657 2012-02-13 19:10:01.000000000 +0100
-+++ tqt3/src/kernel/qfont_x11.cpp 2012-02-13 21:45:39.903520249 +0100
-@@ -712,7 +712,7 @@
- if ( script >= TQFont::Arabic && script <= TQFont::Khmer ) {
- // complex script shaping. Have to do some hard work
- int from = TQMAX( 0, pos - 8 );
-- int to = TQMIN( (int)str.length(), pos + 8 );
-+ int to = str.length();
- TQConstString cstr( str.unicode()+from, to-from);
- TQTextEngine layout( cstr.string(), d );
- layout.itemize( TQTextEngine::WidthOnly );
diff --git a/redhat/dependencies/tqt3/tqt3-3.4.0-nodebug.patch b/redhat/dependencies/tqt3/tqt3-3.4.0-nodebug.patch
deleted file mode 100644
index e50277e1a..000000000
--- a/redhat/dependencies/tqt3/tqt3-3.4.0-nodebug.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- tqt3/src/tools/qgpluginmanager.cpp.ndebug 2012-02-13 19:10:01.000000000 +0100
-+++ tqt3/src/tools/qgpluginmanager.cpp 2012-02-13 19:25:05.653477747 +0100
-@@ -506,10 +506,12 @@
- (*f).latin1(),
- (const char*) TQFile::encodeName( old->library() ) );
- } else {
-+/*
- tqWarning("%s: Feature %s already defined in %s!",
- (const char*) TQFile::encodeName( old->library() ),
- (*f).latin1(),
- (const char*) TQFile::encodeName( plugin->library() ) );
-+*/
- }
- }
- }
diff --git a/redhat/dependencies/tqt3/tqt3-3.4.0-odbc.patch b/redhat/dependencies/tqt3/tqt3-3.4.0-odbc.patch
deleted file mode 100644
index 3a5aea885..000000000
--- a/redhat/dependencies/tqt3/tqt3-3.4.0-odbc.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- tqt3/src/sql/drivers/odbc/qsql_odbc.cpp.odbc 2012-02-13 19:10:01.000000000 +0100
-+++ tqt3/src/sql/drivers/odbc/qsql_odbc.cpp 2012-02-13 21:47:25.232367854 +0100
-@@ -61,13 +61,13 @@
- #endif
-
- // newer platform SDKs use SQLLEN instead of SQLINTEGER
--#ifdef SQLLEN
-+#if defined(SQLLEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
- # define TQSQLLEN SQLLEN
- #else
- # define TQSQLLEN SQLINTEGER
- #endif
-
--#ifdef SQLULEN
-+#if defined(SQLULEN) || defined(Q_OS_WIN64) || defined(Q_OS_UNIX)
- # define TQSQLULEN SQLULEN
- #else
- # define TQSQLULEN SQLUINTEGER
diff --git a/redhat/dependencies/tqt3/tqt3-3.4.0-qt-x11-immodule-unified-qt3.3.5-20060318-resetinputcontext.patch b/redhat/dependencies/tqt3/tqt3-3.4.0-qt-x11-immodule-unified-qt3.3.5-20060318-resetinputcontext.patch
deleted file mode 100644
index 88e066aa9..000000000
--- a/redhat/dependencies/tqt3/tqt3-3.4.0-qt-x11-immodule-unified-qt3.3.5-20060318-resetinputcontext.patch
+++ /dev/null
@@ -1,92 +0,0 @@
---- qt-x11-free-3.3.6/src/widgets/qtextedit.cpp.preedit 2006-06-28 17:18:08.000000000 +0200
-+++ qt-x11-free-3.3.6/src/widgets/qtextedit.cpp 2006-06-28 17:20:09.000000000 +0200
-@@ -1906,9 +1906,6 @@
-
- void TQTextEdit::removeSelectedText( int selNum )
- {
-- if(selNum != 0)
-- resetInputContext();
--
- TQTextCursor c1 = doc->selectionStartCursor( selNum );
- c1.restoreState();
- TQTextCursor c2 = doc->selectionEndCursor( selNum );
-@@ -3171,7 +3168,6 @@
- return;
- }
- #endif
-- resetInputContext();
- TQTextParagraph *p = doc->paragAt( para );
- if ( !p )
- return;
-@@ -3198,7 +3194,6 @@
- return;
- }
- #endif
-- resetInputContext();
- for ( int i = 0; i < (int)doc->numSelections(); ++i )
- doc->removeSelection( i );
-
-@@ -3240,7 +3235,6 @@
- if ( d->optimMode )
- return;
- #endif
-- resetInputContext();
- TQTextParagraph *p = doc->paragAt( para );
- if ( !p )
- return;
-@@ -3285,7 +3279,6 @@
- if ( isReadOnly() || !doc->commands()->isUndoAvailable() || !undoEnabled )
- return;
-
-- resetInputContext();
- for ( int i = 0; i < (int)doc->numSelections(); ++i )
- doc->removeSelection( i );
-
-@@ -3336,7 +3329,6 @@
- if ( isReadOnly() || !doc->commands()->isRedoAvailable() || !undoEnabled )
- return;
-
-- resetInputContext();
- for ( int i = 0; i < (int)doc->numSelections(); ++i )
- doc->removeSelection( i );
-
-@@ -3450,7 +3442,6 @@
- {
- if ( isReadOnly() )
- return;
-- resetInputContext();
- normalCopy();
- removeSelectedText();
- updateMicroFocusHint();
-@@ -3938,7 +3929,6 @@
- return;
- }
- #endif
-- resetInputContext();
- if ( !isModified() && isReadOnly() &&
- this->context() == context && this->text() == text )
- return;
-@@ -4112,7 +4102,6 @@
- if ( !p )
- return;
-
-- resetInputContext();
- if ( index > p->length() - 1 )
- index = p->length() - 1;
-
-@@ -4169,7 +4158,6 @@
- return;
- }
- #endif
-- resetInputContext();
- if ( doc->hasSelection( selNum ) ) {
- doc->removeSelection( selNum );
- repaintChanged();
-@@ -5072,7 +5060,6 @@
- {
- if ( dc == doc )
- return;
-- resetInputContext();
- doc = dc;
- delete cursor;
- cursor = new QTextCursor( doc );
diff --git a/redhat/dependencies/tqt3/tqt3-3.4.0-quiet.patch b/redhat/dependencies/tqt3/tqt3-3.4.0-quiet.patch
deleted file mode 100644
index 101838fad..000000000
--- a/redhat/dependencies/tqt3/tqt3-3.4.0-quiet.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- tqt3/src/kernel/qpixmap_x11.cpp.quiet 2012-02-13 19:10:01.000000000 +0100
-+++ tqt3/src/kernel/qpixmap_x11.cpp 2012-02-13 21:24:08.190653338 +0100
-@@ -394,8 +394,8 @@
- {
- #if defined(QT_CHECK_STATE)
- if ( tqApp->type() == TQApplication::Tty ) {
-- tqWarning( "TQPixmap: Cannot create a TQPixmap when no GUI "
-- "is being used" );
-+// tqWarning( "TQPixmap: Cannot create a TQPixmap when no GUI "
-+// "is being used" );
- }
- #endif
-
diff --git a/redhat/dependencies/tqt3/tqt3-3.4.0-uic-nostdlib.patch b/redhat/dependencies/tqt3/tqt3-3.4.0-uic-nostdlib.patch
deleted file mode 100644
index 39a42e6f5..000000000
--- a/redhat/dependencies/tqt3/tqt3-3.4.0-uic-nostdlib.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- qt-x11-free-3.3.2/tools/designer/uic/main.cpp.sopwith 2004-06-16 17:14:17.000000000 -0400
-+++ qt-x11-free-3.3.2/tools/designer/uic/main.cpp 2004-06-16 17:21:43.000000000 -0400
-@@ -149,6 +149,9 @@
- } else {
- trmacro = &opt[1];
- }
-+ } else if ( opt == "nostdlib") {
-+ TQStringList x;
-+ TQApplication::setLibraryPaths(x);
- } else if ( opt == "L" ) {
- if ( !(n < argc-1) ) {
- error = "Missing plugin path.";
diff --git a/redhat/dependencies/tqt3/tqt3-3.4.0-umask.patch b/redhat/dependencies/tqt3/tqt3-3.4.0-umask.patch
deleted file mode 100644
index 9c24f9903..000000000
--- a/redhat/dependencies/tqt3/tqt3-3.4.0-umask.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- tqt3/src/tools/qsettings.cpp.umask 2012-02-13 19:10:01.000000000 +0100
-+++ tqt3/src/tools/qsettings.cpp 2012-02-13 19:28:00.802555882 +0100
-@@ -997,7 +997,10 @@
- #endif
-
- TQFile file( filename + ".tmp" );
-- if (! file.open(IO_WriteOnly)) {
-+ mode_t old_umask = umask(0022);
-+ bool f = file.open(IO_WriteOnly);
-+ umask(old_umask);
-+ if (! f) {
-
- #ifdef QT_CHECK_STATE
- qWarning("TQSettings::sync: failed to open '%s' for writing",
diff --git a/redhat/dependencies/tqt3/tqt3-3.4.0.spec b/redhat/dependencies/tqt3/tqt3-3.4.0.spec
deleted file mode 100644
index 4353bb06e..000000000
--- a/redhat/dependencies/tqt3/tqt3-3.4.0.spec
+++ /dev/null
@@ -1,661 +0,0 @@
-# Always install under standard prefix
-%define _prefix /usr
-
-# This allows the legacy RHEL/Fedora patches to apply in TDE version.
-%define _default_patch_fuzz 2
-
-# The following QT4 packages should NOT be installed to
-# allow QT3 compilation (please uninstall them prior to compile)
-# qt
-# qt-sqlite
-# qt-mysql
-# qt-x11
-# qt-devel
-# ...maybe others !!!!
-
-Summary: The shared library for the Qt 3 GUI toolkit
-Version: 3.4.0
-Release: 1%{?dist}
-Name: tqt3
-
-#Obsoletes: qt < 1:%{version}-%{release}
-#Provides: qt = 1:%{version}-%{release}
-#Obsoletes: qt3 < 1:%{version}-%{release}
-#Provides: qt3 = 1:%{version}-%{release}
-
-License: QPL or GPLv2 or GPLv3
-Group: System Environment/Libraries
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Url: http://www.troll.no
-Source0: %{name}-%{version}.tar.gz
-Source4: designer3.desktop
-Source5: assistant3.desktop
-Source6: linguist3.desktop
-Source7: qtconfig3.desktop
-
-Patch1: qt-3.3.4-print-CJK.patch
-Patch2: tqt3-3.4.0-nodebug.patch
-Patch3: qt-3.1.0-makefile.patch
-Patch4: tqt3-3.4.0-umask.patch
-Patch5: qt-x11-free-3.3.6-strip.patch
-Patch7: tqt3-3.4.0-quiet.patch
-Patch8: tqt3-3.4.0-embed.patch
-Patch12: tqt3-3.4.0-uic-nostdlib.patch
-Patch13: qt-x11-free-3.3.6-qfontdatabase_x11.patch
-Patch27: tqt3-3.4.0-fontrendering-ml_IN-209097.patch
-Patch29: qt-3.3.8-fontrendering-as_IN-209972.patch
-Patch31: qt-3.3.6-fontrendering-te_IN-211259.patch
-Patch32: tqt3-3.4.0-fontrendering-214371.patch
-Patch33: tqt3-3.4.0-fontrendering-#214570.patch
-Patch34: qt-3.3.6-fontrendering-ml_IN-209974.patch
-Patch35: tqt3-3.4.0-fontrendering-ml_IN-217657.patch
-Patch37: qt-3.3.6-fontrendering-gu-228452.patch
-Patch38: tqt3-3.4.0-odbc.patch
-Patch39: qt-x11-free-3.3.7-arm.patch
-Patch40: qt-x11-free-3.3.8b-typo.patch
-
-# immodule patches
-Patch53: tqt3-3.4.0-qt-x11-immodule-unified-qt3.3.5-20060318-resetinputcontext.patch
-
-# qt-copy patches
-Patch110: tqt3-3.4.0-compositing-properties.patch
-
-# upstream patches
-Patch200: qt-x11-free-3.3.4-fullscreen.patch
-
-# TDE 3.5.13 patches
-Patch300: qt3-3.3.8.d-updates_zh-tw_translations.patch
-
-%define immodule 1
-%define debug 0
-
-# MySQL plugins
-%define plugin_mysql -plugin-sql-mysql
-%define mysql_include_dir %{_includedir}/mysql
-%define mysql_lib_dir %{_libdir}/mysql
-
-# Postgres plugins
-%define plugin_psql -plugin-sql-psql
-
-# ODBC plugins
-%define plugin_odbc -plugin-sql-odbc
-
-# sqlite plugins
-%define plugin_sqlite -plugin-sql-sqlite
-
-%define plugins_style -qt-style-cde -qt-style-motifplus -qt-style-platinum -qt-style-sgi -qt-style-windows -qt-style-compact -qt-imgfmt-png -qt-imgfmt-jpeg -qt-imgfmt-mng
-%define plugins %{plugin_mysql} %{plugin_psql} %{plugin_odbc} %{plugin_sqlite} %{plugins_style}
-
-Requires(post): /sbin/ldconfig
-Requires(postun): /sbin/ldconfig
-Requires: coreutils
-Requires: fontconfig >= 2.0
-Requires: /etc/ld.so.conf.d
-
-BuildRequires: desktop-file-utils
-BuildRequires: libmng-devel
-BuildRequires: glibc-devel
-BuildRequires: libjpeg-devel
-BuildRequires: libpng-devel
-BuildRequires: zlib-devel
-BuildRequires: giflib-devel
-BuildRequires: perl
-BuildRequires: sed
-BuildRequires: findutils
-BuildRequires: cups-devel
-BuildRequires: tar
-BuildRequires: freetype-devel
-BuildRequires: fontconfig-devel
-BuildRequires: libXrender-devel
-BuildRequires: libXrandr-devel
-BuildRequires: libXcursor-devel
-BuildRequires: libXinerama-devel
-BuildRequires: libXft-devel
-BuildRequires: libXext-devel
-BuildRequires: libX11-devel
-BuildRequires: libSM-devel
-BuildRequires: libICE-devel
-BuildRequires: libXt-devel
-BuildRequires: libXmu-devel
-BuildRequires: libXi-devel
-BuildRequires: xorg-x11-proto-devel
-BuildRequires: mesa-libGL-devel
-BuildRequires: mesa-libGLU-devel
-BuildRequires: desktop-file-utils
-BuildRequires: mysql-devel
-BuildRequires: postgresql-devel
-BuildRequires: unixODBC-devel
-BuildRequires: sqlite-devel
-
-
-%package config
-Summary: Graphical configuration tool for programs using Qt 3
-Group: User Interface/Desktops
-Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-#Obsoletes: qt-config < 1:%{version}-%{release}
-#Provides: qt-config = 1:%{version}-%{release}
-#Obsoletes: qt3-config < 1:%{version}-%{release}
-#Provides: qt3-config = 1:%{version}-%{release}
-
-
-%package devel
-Summary: Development files for the Qt 3 GUI toolkit
-Group: Development/Libraries
-Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-Requires: freetype-devel
-Requires: fontconfig-devel
-Requires: libXrender-devel
-Requires: libXrandr-devel
-Requires: libXcursor-devel
-Requires: libXinerama-devel
-Requires: libXft-devel
-Requires: libXext-devel
-Requires: libX11-devel
-Requires: libSM-devel
-Requires: libICE-devel
-Requires: libXt-devel
-Requires: xorg-x11-proto-devel
-Requires: libpng-devel
-Requires: libjpeg-devel
-Requires: libmng-devel
-Requires: mesa-libGL-devel
-Requires: mesa-libGLU-devel
-
-#Obsoletes: qt-devel < 1:%{version}-%{release}
-#Provides: qt-devel = 1:%{version}-%{release}
-#Obsoletes: qt3-devel < 1:%{version}-%{release}
-#Provides: qt3-devel = 1:%{version}-%{release}
-
-
-%package devel-docs
-Summary: Documentation for the Qt 3 GUI toolkit
-Group: Development/Libraries
-Requires: %{name}-devel = %{?epoch:%{epoch}:}%{version}-%{release}
-
-#Obsoletes: qt-devel-docs < 1:%{version}-%{release}
-#Provides: qt-devel-docs = 1:%{version}-%{release}
-#Obsoletes: qt3-devel-docs < 1:%{version}-%{release}
-#Provides: qt3-devel-docs = 1:%{version}-%{release}
-
-
-%package ODBC
-Summary: ODBC drivers for Qt 3's SQL classes
-Group: System Environment/Libraries
-Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-
-#Obsoletes: qt-ODBC < 1:%{version}-%{release}
-#Provides: qt-ODBC = 1:%{version}-%{release}
-#Obsoletes: qt3-ODBC < 1:%{version}-%{release}
-#Provides: qt3-ODBC = 1:%{version}-%{release}
-
-
-%package MySQL
-Summary: MySQL drivers for Qt 3's SQL classes
-Group: System Environment/Libraries
-Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-
-#Obsoletes: qt-MySQL < 1:%{version}-%{release}
-#Provides: qt-MySQL = 1:%{version}-%{release}
-#Obsoletes: qt3-MySQL < 1:%{version}-%{release}
-#Provides: qt3-MySQL = 1:%{version}-%{release}
-
-
-%package PostgreSQL
-Summary: PostgreSQL drivers for Qt 3's SQL classes
-Group: System Environment/Libraries
-Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-
-#Obsoletes: qt-PostgreSQL < 1:%{version}-%{release}
-#Provides: qt-PostgreSQL = 1:%{version}-%{release}
-#Obsoletes: qt3-PostgreSQL < 1:%{version}-%{release}
-#Provides: qt3-PostgreSQL = 1:%{version}-%{release}
-
-
-%package sqlite
-Summary: sqlite drivers for Qt 3's SQL classes
-Group: System Environment/Libraries
-Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-
-#Obsoletes: qt-sqlite < 1:%{version}-%{release}
-#Provides: qt-sqlite = 1:%{version}-%{release}
-#Obsoletes: qt3-sqlite < 1:%{version}-%{release}
-#Provides: qt3-sqlite = 1:%{version}-%{release}
-
-
-%package designer
-Summary: In3erface designer (IDE) for the Qt 3 toolkit
-Group: Development/Tools
-Requires: %{name}-devel = %{?epoch:%{epoch}:}%{version}-%{release}
-
-#Obsoletes: qt-designer < 1:%{version}-%{release}
-#Provides: qt-designer = 1:%{version}-%{release}
-#Obsoletes: qt3-designer < 1:%{version}-%{release}
-#Provides: qt3-designer = 1:%{version}-%{release}
-
-
-%description
-TQt is a GUI software toolkit which simplifies the task of writing and
-maintaining GUI (Graphical User Interface) applications
-for the X Window System.
-
-TQt is written in C++ and is fully object-oriented.
-
-This package contains the shared library needed to run TQt 3
-applications, as well as the README files for TQt 3.
-
-
-%description config
-TQt is a GUI software toolkit which simplifies the task of writing and
-maintaining GUI (Graphical User Interface) applications
-for the X Window System.
-
-TQt is written in C++ and is fully object-oriented.
-
-This package contains a graphical configuration tool for programs using TQt 3.
-
-
-%description devel
-The %{name}-devel package contains the files necessary to develop
-applications using the TQt GUI toolkit: the header files, the TQt meta
-object compiler.
-
-Install %{name}-devel if you want to develop GUI applications using the TQt 3
-toolkit.
-
-
-%description devel-docs
-The %{name}-devel-docs package contains the man pages, the HTML documentation and
-example programs for TQt 3.
-
-
-%description ODBC
-ODBC driver for TQt 3's SQL classes (QSQL)
-
-
-%description MySQL
-MySQL driver for TQt 3's SQL classes (QSQL)
-
-
-%description PostgreSQL
-PostgreSQL driver for TQt 3's SQL classes (QSQL)
-
-
-%description sqlite
-sqlite driver for TQt 3's SQL classes (QSQL)
-
-
-%description designer
-The %{name}-designer package contains an User Interface designer tool
-for the TQt 3 toolkit.
-
-
-%prep
-%setup -q -n dependencies/%{name}
-%patch1 -p1 -b .cjk
-%patch2 -p1 -b .ndebug
-%patch3 -p1 -b .makefile
-%patch4 -p1 -b .umask
-%patch5 -p1
-%patch7 -p1 -b .quiet
-%patch8 -p1 -b .qembed
-%patch12 -p1 -b .nostdlib
-%patch13 -p1 -b .fonts
-%patch27 -p1 -b .fontrendering-ml_IN-bz#209097
-%patch29 -p1 -b .fontrendering-as_IN-bz#209972
-%patch31 -p1 -b .fontrendering-te_IN-bz#211259
-%patch32 -p1 -b .fontrendering-bz#214371
-%patch33 -p1 -b .fontrendering-#214570
-%patch34 -p1 -b .fontrendering-#209974
-%patch35 -p1 -b .fontrendering-ml_IN-217657
-%patch37 -p1 -b .fontrendering-gu-228452
-%patch38 -p1 -b .odbc
-# it's not 100% clear to me if this is safe for all archs -- Rex
-%ifarch armv5tel
-%patch39 -p1 -b .arm
-%endif
-%patch40 -p1
-
-# immodule patches
-%if %{immodule}
-%patch53 -p1 -b .resetinputcontext
-%endif
-
-# qt-copy patches
-%patch110 -p0 -b .0084-compositing-properties
-
-# upstream patches
-%patch200 -p1 -b .fullscreen
-
-# TDE 3.5.13 patches
-%patch300 -p1
-
-# convert to UTF-8
-iconv -f iso-8859-1 -t utf-8 < doc/man/man3/qdial.3qt > doc/man/man3/qdial.3qt_
-mv doc/man/man3/qdial.3qt_ doc/man/man3/qdial.3qt
-
-%build
-%if %{immodule}
- sh ./make-symlinks.sh
-%endif
-
-# set correct X11 prefix
-perl -pi -e "s,QMAKE_LIBDIR_X11.*,QMAKE_LIBDIR_X11\t=," mkspecs/*/qmake.conf
-perl -pi -e "s,QMAKE_INCDIR_X11.*,QMAKE_INCDIR_X11\t=," mkspecs/*/qmake.conf
-perl -pi -e "s,QMAKE_INCDIR_OPENGL.*,QMAKE_INCDIR_OPENGL\t=," mkspecs/*/qmake.conf
-perl -pi -e "s,QMAKE_LIBDIR_OPENGL.*,QMAKE_LIBDIR_OPENGL\t=," mkspecs/*/qmake.conf
-
-# don't use rpath
-perl -pi -e "s|-Wl,-rpath,| |" mkspecs/*/qmake.conf
-
-perl -pi -e "s|-O2|$INCLUDES %{optflags} -fno-strict-aliasing|g" mkspecs/*/qmake.conf
-
-# set correct lib path
-if [ "%{_lib}" == "lib64" ] ; then
- perl -pi -e "s,/usr/lib /lib,/usr/%{_lib} /%{_lib},g" config.tests/{unix,x11}/*.test
- perl -pi -e "s,/lib /usr/lib,/%{_lib} /usr/%{_lib},g" config.tests/{unix,x11}/*.test
-fi
-
-# build shared, threaded (default) libraries
-echo yes | ./configure \
- -prefix "%{_prefix}" \
- -libdir "%{_libdir}" \
- -docdir "%{_docdir}/%{name}-%{version}" \
- -sysconfdir "%{_sysconfdir}/%{name}" \
- -datadir "%{_datadir}/%{name}" \
- -headerdir "%{_includedir}/%{name}" \
- -plugindir "%{_libdir}/%{name}/plugins" \
- -translationdir "%{_datadir}/%{name}/translations" \
-%if %{_lib} == lib64
- -platform linux-g++-64 \
-%else
- -platform linux-g++ \
-%endif
-%if %{debug}
- -debug \
-%else
- -release \
-%endif
- -shared \
- -largefile \
- -qt-gif \
- -system-zlib \
- -system-libpng \
- -system-libmng \
- -system-libjpeg \
- -no-exceptions \
- -enable-styles \
- -enable-tools \
- -enable-kernel \
- -enable-widgets \
- -enable-dialogs \
- -enable-iconview \
- -enable-workspace \
- -enable-network \
- -enable-canvas \
- -enable-table \
- -enable-xml \
- -enable-opengl \
- -enable-sql \
- -qt-style-motif \
- %{plugins} \
- -stl \
- -thread \
- -cups \
- -sm \
- -xinerama \
- -xrender \
- -xkb \
- -ipv6 \
- -dlopen-opengl \
- -xft \
- -tablet
-
-QTDIR="${PWD}"
-QTLIB="${QTDIR}/lib"
-QTINC="${QTDIR}/include"
-LD_LIBRARY_PATH="${QTLIB}:${LD_LIBRARY_PATH}"
-PATH="${QTDIR}/bin:${PATH}"
-export QTDIR QTLIB QTINC LD_LIBRARY_PATH PATH
-
-%__make %{?_smp_mflags} src-qmake
-
-
-# build sqlite plugin
-pushd plugins/src/sqldrivers/sqlite
-qmake -o Makefile sqlite.pro
-popd
-
-# build psql plugin
-pushd plugins/src/sqldrivers/psql
-qmake -o Makefile "INCLUDEPATH+=%{_includedir}/pgsql %{_includedir}/pgsql/server %{_includedir}/pgsql/internal" "LIBS+=-lpq" psql.pro
-popd
-
-# build mysql plugin
-pushd plugins/src/sqldrivers/mysql
-qmake -o Makefile "INCLUDEPATH+=%{mysql_include_dir}" "LIBS+=-L%{mysql_lib_dir} -lmysqlclient" mysql.pro
-popd
-
-# build odbc plugin
-pushd plugins/src/sqldrivers/odbc
-qmake -o Makefile "LIBS+=-lodbc" odbc.pro
-popd
-
-%__make %{?_smp_mflags} src-moc
-%__make %{?_smp_mflags} sub-src
-%__make %{?_smp_mflags} sub-tools
-
-%install
-%__rm -rf %{buildroot}
-%__make install INSTALL_ROOT=%{buildroot}
-
-for i in findtr qt20fix qtrename140 lrelease lupdate ; do
- %__install bin/$i %{buildroot}%{_bindir}
-done
-
-# install man pages
-%__mkdir_p %{buildroot}%{_mandir}
-%__cp -fR doc/man/* %{buildroot}%{_mandir}/
-
-# clean up
-%__make -C tutorial clean
-%__make -C examples clean
-
-# Make sure the examples can be built outside the source tree.
-# Our binaries fulfill all requirements, so...
-perl -pi -e "s,^DEPENDPATH.*,,g;s,^REQUIRES.*,,g" `find examples -name "*.pro"`
-
-# don't include Makefiles of qt examples/tutorials
-find examples -name "Makefile" | xargs rm -f
-find examples -name "*.obj" | xargs rm -rf
-find examples -name "*.moc" | xargs rm -rf
-find tutorial -name "Makefile" | xargs rm -f
-
-for a in */*/Makefile ; do
- sed 's|^SYSCONF_MOC.*|SYSCONF_MOC = %{_bindir}/moc|' < $a > ${a}.2
- mv -v ${a}.2 $a
-done
-
-# Add desktop files
-%__mkdir_p %{buildroot}%{_datadir}/applications
-desktop-file-install \
- --dir %{buildroot}%{_datadir}/applications \
- --vendor="qt" \
- %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7}
-
-# Patch qmake to use qt-mt unconditionally
-perl -pi -e "s,-lqt ,-lqt-mt ,g;s,-lqt$,-lqt-mt,g" %{buildroot}%{_datadir}/%{name}/mkspecs/*/qmake.conf
-
-# remove broken links
-%__rm -f %{buildroot}%{_datadir}/%{name}/mkspecs/default/linux-g++*
-%__rm -f %{buildroot}%{_libdir}/*.la
-
-# install icons
-%__mkdir_p %{buildroot}%{_datadir}/pixmaps
-%__install -m 644 tools/assistant/images/qt.png %{buildroot}%{_datadir}/pixmaps/qtconfig3.png
-%__install -m 644 tools/assistant/images/designer.png %{buildroot}%{_datadir}/pixmaps/designer3.png
-%__install -m 644 tools/assistant/images/assistant.png %{buildroot}%{_datadir}/pixmaps/assistant3.png
-%__install -m 644 tools/assistant/images/linguist.png %{buildroot}%{_datadir}/pixmaps/linguist3.png
-
-# own style directory
-%__mkdir_p %{buildroot}%{_libdir}/%{name}/plugins/styles
-
-# rename some binaries to make tqt3/4 installations possible
-for b in designer uic moc lupdate lrelease qmake qtconfig assistant linguist; do
- %__mv -f %{buildroot}%{_bindir}/${b} %{buildroot}%{_bindir}/${b}-%{name}
-done
-
-%clean
-%__rm -rf %{buildroot}
-
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
-
-%files
-%defattr(-,root,root,-)
-%doc FAQ LICENSE* README* changes*
-%dir %{_libdir}/%{name}/plugins
-%dir %{_libdir}/%{name}/plugins/sqldrivers
-%dir %{_libdir}/%{name}/plugins/styles
-%{_datadir}/%{name}/translations
-%{_libdir}/%{name}/plugins/designer/
-%if %{immodule}
-%{_libdir}/%{name}/plugins/inputmethods
-%endif
-%{_libdir}/libtqui.so.*
-%{_libdir}/libtqt*.so.*
-
-# TQT 3.4.0: WTF is this file ??
-%exclude %{_mandir}/README
-
-%files config
-%defattr(-,root,root,-)
-%{_bindir}/qtconfig-%{name}
-%{_datadir}/applications/*qtconfig*.desktop
-%{_datadir}/pixmaps/qtconfig3.png
-
-%files devel
-%defattr(-,root,root,-)
-%{_docdir}/%{name}-%{version}
-%{_bindir}/moc-%{name}
-%{_bindir}/uic-%{name}
-%{_bindir}/findtr
-%{_bindir}/qt20fix
-%{_bindir}/qtrename140
-%{_bindir}/assistant-%{name}
-%{_bindir}/qm2ts
-%{_bindir}/qmake-%{name}
-%{_bindir}/qembed
-%{_bindir}/linguist-%{name}
-%{_bindir}/lupdate-%{name}
-%{_bindir}/lrelease-%{name}
-%{_includedir}/%{name}
-%{_datadir}/%{name}/mkspecs
-%{_libdir}/libtqt*.so
-%{_libdir}/libtqui.so
-%{_libdir}/libeditor.a
-%{_libdir}/libdesigner*.a
-%{_libdir}/libqassistantclient.a
-%{_libdir}/*.prl
-%{_datadir}/%{name}/phrasebooks
-%{_libdir}/pkgconfig/*
-%{_datadir}/applications/*linguist*.desktop
-%{_datadir}/applications/*assistant*.desktop
-%{_datadir}/pixmaps/linguist3.png
-%{_datadir}/pixmaps/assistant3.png
-
-# QT 3.3.8.D (TDE): 4 binaries have appeared
-%{_bindir}/createcw
-%{_bindir}/makeqpf
-%{_bindir}/mergetr
-%{_bindir}/msg2qm
-
-# QT 3.3.8.D (TDE): removes lots of unnecessary include files
-# (where do they come from ??? They were not in 3.3.8b !)
-%exclude %{_includedir}/%{name}/btree.h
-%exclude %{_includedir}/%{name}/crc32.h
-%exclude %{_includedir}/%{name}/debian_qsql_odbc.h
-%exclude %{_includedir}/%{name}/deflate.h
-%exclude %{_includedir}/%{name}/ftglue.h
-%exclude %{_includedir}/%{name}/ftxgdef.h
-%exclude %{_includedir}/%{name}/ftxgpos.h
-%exclude %{_includedir}/%{name}/ftxgsub.h
-%exclude %{_includedir}/%{name}/ftxopen.h
-%exclude %{_includedir}/%{name}/ftxopenf.h
-%exclude %{_includedir}/%{name}/hash.h
-%exclude %{_includedir}/%{name}/inffast.h
-%exclude %{_includedir}/%{name}/inffixed.h
-%exclude %{_includedir}/%{name}/inflate.h
-%exclude %{_includedir}/%{name}/inftrees.h
-%exclude %{_includedir}/%{name}/jchuff.h
-%exclude %{_includedir}/%{name}/jconfig.h
-%exclude %{_includedir}/%{name}/jdct.h
-%exclude %{_includedir}/%{name}/jdhuff.h
-%exclude %{_includedir}/%{name}/jerror.h
-%exclude %{_includedir}/%{name}/jinclude.h
-%exclude %{_includedir}/%{name}/jmemsys.h
-%exclude %{_includedir}/%{name}/jmorecfg.h
-%exclude %{_includedir}/%{name}/jversion.h
-%exclude %{_includedir}/%{name}/moc_yacc.h
-%exclude %{_includedir}/%{name}/opcodes.h
-%exclude %{_includedir}/%{name}/os.h
-%exclude %{_includedir}/%{name}/otlbuffer.h
-%exclude %{_includedir}/%{name}/pager.h
-%exclude %{_includedir}/%{name}/parse.h
-%exclude %{_includedir}/%{name}/pngasmrd.h
-%exclude %{_includedir}/%{name}/pngconf.h
-%exclude %{_includedir}/%{name}/sqlite.h
-%exclude %{_includedir}/%{name}/sqliteInt.h
-%exclude %{_includedir}/%{name}/trees.h
-%exclude %{_includedir}/%{name}/vdbe.h
-%exclude %{_includedir}/%{name}/vdbeInt.h
-%exclude %{_datadir}/%{name}/mkspecs/linux-g++-sparc
-
-%files devel-docs
-%defattr(-,root,root,-)
-%doc examples
-%doc tutorial
-%{_mandir}/*/*
-
-%files sqlite
-%defattr(-,root,root,-)
-%{_libdir}/%{name}/plugins/sqldrivers/libqsqlite.so
-
-%files ODBC
-%defattr(-,root,root,-)
-%{_libdir}/%{name}/plugins/sqldrivers/libqsqlodbc.so
-
-%files PostgreSQL
-%defattr(-,root,root,-)
-%{_libdir}/%{name}/plugins/sqldrivers/libqsqlpsql.so
-
-%files MySQL
-%defattr(-,root,root,-)
-%{_libdir}/%{name}/plugins/sqldrivers/libqsqlmysql.so
-
-%files designer
-%defattr(-,root,root,-)
-%{_datadir}/%{name}/templates
-%{_bindir}/designer-%{name}
-%{_datadir}/applications/*designer*.desktop
-%{_datadir}/pixmaps/designer3.png
-
-
-%changelog
-* Mon Feb 13 2012 Francois Andriot <francois.andriot@free.fr> - 3.4.0-1
-- Initial build for TDE R14
-- Renames 'qt3' to 'tqt3'
-- Spec file based on 'qt3-3.3.8b-30' from RHEL 6
-
-* Sun Dec 18 2011 Francois Andriot <francois.andriot@free.fr> - 3.3.8.d-3
-- Updates zh_TW translations, thanks to Wei-Lun Chao .
-
-* Thu Nov 03 2011 Francois Andriot <francois.andriot@free.fr> - 3.3.8.d-2
-- Add missing BuildRequires
-
-* Fri Sep 02 2011 Francois Andriot <francois.andriot@free.fr> - 3.3.8.d-1
-- Initial build for RHEL 6, RHEL 5, and Fedora 15
-- Switch to Trinity Version
-- Spec file based on RHEL 6 'qt3-3.3.8b-29'
diff --git a/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec b/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec
new file mode 100644
index 000000000..76b227b0f
--- /dev/null
+++ b/redhat/dependencies/tqt3/trinity-tqt3-14.0.0.spec
@@ -0,0 +1,577 @@
+%define tde_version 14.0.0
+
+# Always install under standard prefix
+%define tde_prefix /usr
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+# The following QT4 packages should NOT be installed to
+# allow QT3 compilation (please uninstall them prior to compile)
+# qt
+# qt-sqlite
+# qt-mysql
+# qt-x11
+# qt-devel
+# ...maybe others !!!!
+
+Name: trinity-tqt3
+Version: 14.0.0%{?preversion:_%{preversion}}
+Release: 1%{?dist}
+Summary: The shared library for the Trinity Qt 3 GUI toolkit
+
+License: QPL or GPLv2 or GPLv3
+Group: System Environment/Libraries
+BuildRoot: %{_tmppath}/%{name}-%{tde_version}-%{release}-root-%(%{__id_u} -n)
+Url: http://www.trinitydesktop.org
+
+Prefix: %{tde_prefix}
+
+Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
+
+# [tqt3] Build shared libraries
+Patch1: tqt3-14.0.0-shared_lib.patch
+# [tqt3] Fix FTBFS
+Patch2: tqt3-14.0.0-fix_ftbfs.patch
+
+BuildRequires: desktop-file-utils
+BuildRequires: libmng-devel
+BuildRequires: glibc-devel
+BuildRequires: libjpeg-devel
+BuildRequires: libpng-devel
+BuildRequires: zlib-devel
+BuildRequires: giflib-devel
+BuildRequires: perl
+BuildRequires: sed
+BuildRequires: findutils
+BuildRequires: cups-devel
+BuildRequires: tar
+BuildRequires: freetype-devel
+BuildRequires: fontconfig-devel
+
+# Xrender support
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: libXrender-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: libxrender-devel
+%endif
+
+# Xrandr support
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: libXrandr-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: libxrandr-devel
+%endif
+
+# Xcursor support
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: libXcursor-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: libxcursor-devel
+%endif
+
+# Xinerama support
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: libXinerama-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: libxinerama-devel
+%endif
+
+# Xft support
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: libXft-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: libxft-devel
+%endif
+
+# Xext support
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: libXext-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: libxext-devel
+%endif
+
+# X11 support
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: libX11-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: libx11-devel
+%endif
+
+# SM support
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: libSM-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: libsm-devel
+%endif
+
+# ICE support
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: libICE-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: libice-devel
+%endif
+
+# XT support
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: libXt-devel
+%endif
+
+# XMU support
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: libXmu-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: libxmu-devel
+%endif
+
+# XI support
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: libXi-devel
+%endif
+
+# Xorg support
+%if 0%{?rhel} || 0%{?fedora}
+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}
+BuildRequires: mesaglu-devel
+%endif
+
+BuildRequires: desktop-file-utils
+BuildRequires: mysql-devel
+BuildRequires: postgresql-devel
+BuildRequires: unixODBC-devel
+BuildRequires: sqlite-devel
+
+# Firebird support
+%if 0%{?mdkversion} || 0%{?mgaversion}
+%define with_ibase 1
+BuildRequires: firebird-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
+
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+Requires: coreutils
+Requires: fontconfig >= 2.0
+Requires: /etc/ld.so.conf.d
+
+%if 0%{?mdkversion} || 0%{?mgaversion}
+Obsoletes: %{_lib}qt3
+Provides: %{_lib}qt3 = 3.3.8.d
+%endif
+
+
+%description
+TQt is a GUI software toolkit which simplifies the task of writing and
+maintaining GUI (Graphical User Interface) applications
+for the X Window System.
+
+TQt is written in C++ and is fully object-oriented.
+
+This package contains the shared library needed to run TQt 3
+applications, as well as the README files for TQt 3.
+
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+%files
+%defattr(-,root,root,-)
+%doc FAQ LICENSE* README* changes*
+%dir %{tde_libdir}/tqt3/plugins
+%dir %{tde_libdir}/tqt3/plugins/sqldrivers
+#%dir %{tde_libdir}/tqt3/plugins/styles
+%{tde_datadir}/tqt3/translations/
+%dir %{tde_libdir}/tqt3/plugins/designer
+%{tde_libdir}/tqt3/plugins/designer/libcppeditor.so
+%{tde_libdir}/tqt3/plugins/designer/libdlgplugin.so
+%{tde_libdir}/tqt3/plugins/designer/libgladeplugin.so
+%{tde_libdir}/tqt3/plugins/designer/libkdevdlgplugin.so
+%{tde_libdir}/tqt3/plugins/designer/librcplugin.so
+%{tde_libdir}/tqt3/plugins/designer/libwizards.so
+%dir %{tde_libdir}/tqt3/plugins/imageformats
+%{tde_libdir}/tqt3/plugins/imageformats/libqmng.so
+%dir %{tde_libdir}/tqt3/plugins/inputmethods
+%{tde_libdir}/tqt3/plugins/inputmethods/libqimsw-multi.so
+%{tde_libdir}/tqt3/plugins/inputmethods/libqimsw-none.so
+%{tde_libdir}/tqt3/plugins/inputmethods/libqsimple.so
+%{tde_libdir}/tqt3/plugins/inputmethods/libqxim.so
+%{tde_libdir}/libtqt-mt.so.3
+%{tde_libdir}/libtqt-mt.so.3.3
+%{tde_libdir}/libtqt-mt.so.3.3.8
+%{tde_libdir}/libtqt-mt.la
+%{tde_libdir}/libtqui.so.1
+%{tde_libdir}/libtqui.so.1.0
+%{tde_libdir}/libtqui.so.1.0.0
+%{tde_libdir}/libdesignercore.so.1
+%{tde_libdir}/libdesignercore.so.1.0
+%{tde_libdir}/libdesignercore.so.1.0.0
+%{tde_libdir}/libeditor.so.1
+%{tde_libdir}/libeditor.so.1.0
+%{tde_libdir}/libeditor.so.1.0.0
+%{tde_libdir}/libqassistantclient.so.1
+%{tde_libdir}/libqassistantclient.so.1.0
+%{tde_libdir}/libqassistantclient.so.1.0.0
+
+##########
+
+%package config
+Summary: Graphical configuration tool for programs using Qt 3
+Group: User Interface/Desktops
+Requires: %{name} = %{version}-%{release}
+
+%description config
+TQt is a GUI software toolkit which simplifies the task of writing and
+maintaining GUI (Graphical User Interface) applications
+for the X Window System.
+
+TQt is written in C++ and is fully object-oriented.
+
+This package contains a graphical configuration tool for programs using TQt 3.
+
+%files config
+%defattr(-,root,root,-)
+%{tde_bindir}/tqtconfig
+
+##########
+
+%package devel
+Summary: Development files for the Qt 3 GUI toolkit
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+The %{name}-devel package contains the files necessary to develop
+applications using the TQt GUI toolkit: the header files, the TQt meta
+object compiler.
+
+Install %{name}-devel if you want to develop GUI applications using the TQt 3
+toolkit.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_bindir}/conv2ui
+%{tde_bindir}/qvfb
+%{tde_bindir}/tqmoc
+%{tde_bindir}/tquic
+%{tde_bindir}/findtr
+%{tde_bindir}/qt20fix
+%{tde_bindir}/qtrename140
+%{tde_bindir}/tqassistant
+%{tde_bindir}/qm2ts
+%{tde_bindir}/tqmake
+%{tde_bindir}/tqembed
+%{tde_bindir}/tqlinguist
+%{tde_bindir}/tqlupdate
+%{tde_bindir}/tqlrelease
+%{tde_bindir}/createcw
+%{tde_bindir}/makeqpf
+%{tde_bindir}/mergetr
+%{tde_bindir}/msg2qm
+%{tde_datadir}/tqt3/mkspecs/
+%{tde_datadir}/tqt3/phrasebooks/
+%{tde_includedir}/tqt3/
+%{tde_libdir}/libdesignercore.prl
+%{tde_libdir}/libdesignercore.so
+%{tde_libdir}/libeditor.prl
+%{tde_libdir}/libeditor.so
+%{tde_libdir}/libqassistantclient.prl
+%{tde_libdir}/libqassistantclient.so
+%{tde_libdir}/libtqt-mt.so
+%{tde_libdir}/libtqt-mt.prl
+%{tde_libdir}/libtqui.so
+%{tde_libdir}/libtqui.prl
+%{tde_libdir}/pkgconfig/tqt-mt.pc
+
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+##########
+
+%package devel-docs
+Summary: Documentation for the TQt 3 GUI toolkit
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description devel-docs
+The %{name}-devel-docs package contains the man pages, the HTML documentation and
+example programs for TQt 3.
+
+%files devel-docs
+%defattr(-,root,root,-)
+%doc examples
+%doc tutorial
+%{tde_datadir}/tqt3/doc/html/
+
+##########
+
+%package ODBC
+Summary: ODBC drivers for TQt 3's SQL classes
+Group: System Environment/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description ODBC
+ODBC driver for TQt 3's SQL classes (QSQL)
+
+%files ODBC
+%defattr(-,root,root,-)
+%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlodbc.so
+
+##########
+
+%package MySQL
+Summary: MySQL drivers for TQt 3's SQL classes
+Group: System Environment/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description MySQL
+MySQL driver for TQt 3's SQL classes (QSQL)
+
+%files MySQL
+%defattr(-,root,root,-)
+%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlmysql.so
+
+##########
+
+%package PostgreSQL
+Summary: PostgreSQL drivers for TQt 3's SQL classes
+Group: System Environment/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description PostgreSQL
+PostgreSQL driver for TQt 3's SQL classes (QSQL)
+
+%files PostgreSQL
+%defattr(-,root,root,-)
+%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlpsql.so
+
+##########
+
+%package sqlite
+Summary: sqlite drivers for TQt 3's SQL classes
+Group: System Environment/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description sqlite
+sqlite driver for TQt 3's SQL classes (QSQL)
+
+%files sqlite
+%defattr(-,root,root,-)
+%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlite.so
+
+##########
+
+%if %{?with_ibase}
+%package ibase
+Summary: ibase drivers for TQt 3's SQL classes
+Group: System Environment/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description ibase
+ibase driver for TQt 3's SQL classes (QSQL)
+
+%files ibase
+%defattr(-,root,root,-)
+%{tde_libdir}/tqt3/plugins/sqldrivers/libqsqlibase.so
+%endif
+
+##########
+
+%package designer
+Summary: In3erface designer (IDE) for the Qt 3 toolkit
+Group: Development/Tools
+Requires: %{name}-devel = %{version}-%{release}
+
+%description designer
+The %{name}-designer package contains an User Interface designer tool
+for the TQt 3 toolkit.
+
+%files designer
+%defattr(-,root,root,-)
+%{tde_bindir}/tqdesigner
+%{tde_datadir}/tqt3/templates/
+
+##########
+
+
+%prep
+%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
+%patch1 -p1 -b .sharedlibs
+%patch2 -p1 -b .ftbfs
+
+%build
+unset QTDIR QTINC QTLIB
+export QTDIR=$(pwd)
+export PATH=${QTDIR}/stripbin:${QTDIR}/bin:$PATH
+export MANPATH=${QTDIR}/doc/man:$MANPATH
+export LD_LIBRARY_PATH=${QTDIR}/lib:$LD_LIBRARY_PATH
+
+# Checks for supplementary include dir
+INCDIRS=""
+for d in \
+ /usr/include/fontconfig \
+ /usr/include/pgsql/server \
+ /usr/include/postgresql/server \
+ /usr/include/Xft2 \
+ /usr/include/Xft2/X11/Xft \
+ /usr/include/mysql \
+ /usr/include/libpng15 \
+; do
+ if [ -d "${d}" ]; then
+ INCDIRS="${INCDIRS} -I${d}"
+ fi
+done
+
+# Checks for supplementary library dirs
+LIBDIRS=""
+for d in \
+ %{_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 "%{tde_prefix}" \
+ -libdir "%{tde_libdir}" \
+ -sysconfdir "%{_sysconfdir}/tqt3" \
+ -datadir "%{tde_datadir}/tqt3" \
+ -headerdir "%{tde_includedir}/tqt3" \
+ -docdir "%{tde_datadir}/tqt3/doc" \
+ -plugindir "%{tde_libdir}/tqt3/plugins" \
+ -translationdir "%{tde_datadir}/tqt3/translations" \
+ \
+ -thread \
+ -shared \
+ -fast \
+ -no-exceptions \
+%if "%{_lib}" == "lib64"
+ -platform linux-g++-64 \
+%else
+ -platform linux-g++ \
+%endif
+ \
+ -nis \
+ -no-pch \
+ -cups \
+ -stl \
+ -ipv6 \
+ \
+ -sm \
+ -xshape \
+ -xinerama \
+ -xcursor \
+ -xrandr \
+ -xrender \
+ -xft \
+ -tablet \
+ -xkb \
+ \
+ -system-zlib \
+ -system-libpng \
+ -system-libmng \
+ -system-libjpeg \
+ -system-nas-sound \
+ \
+ -enable-opengl \
+ -dlopen-opengl \
+ \
+ -qt-gif \
+ -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 \
+ \
+ -lfontconfig \
+ -inputmethod \
+ -glibmainloop
+
+
+# Fix bad headers
+rm -rf include/ntqinputcontext.h include/ntqinputcontextfactory.h include/ntqinputcontextplugin.h
+ln -s ../src/kernel/ntqinputcontext.h include/ntqinputcontext.h
+ln -s ../src/inputmethod/ntqinputcontextfactory.h include/ntqinputcontextfactory.h
+ln -s ../src/inputmethod/ntqinputcontextplugin.h include/ntqinputcontextplugin.h
+
+# proceed
+#%__make %{?_smp_mflags} symlinks src-qmake src-moc
+%__make %{?_smp_mflags} sub-src sub-plugins sub-tools
+
+# build conv2ui
+%__make -C tools/designer/tools/conv2ui
+
+# build qvfb
+%__make -C tools/qvfb
+
+# fix .prl files
+%__sed -i lib/*.prl -e "s|${QTDIR}|%{tde_datadir}/tqt3|g"
+
+
+%install
+%__rm -rf %{buildroot}
+
+%__make -C src INSTALL_ROOT=%{?buildroot} install_target
+%__make INSTALL_ROOT=%{?buildroot} install
+%__make INSTALL_ROOT=%{?buildroot} plugins-install
+
+%__install -m755 bin/qtrename140 %{?buildroot}%{_bindir}
+%__install -m755 bin/qt20fix %{?buildroot}%{_bindir}
+%__install -m755 bin/findtr %{?buildroot}%{_bindir}
+
+# install conv2ui
+%__install -m755 bin/conv2ui %{?buildroot}%{_bindir}/conv2ui
+
+# install qvfb
+%__install -m755 tools/qvfb/qvfb %{?buildroot}%{_bindir}/qvfb
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Feb 13 2012 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
+- Initial build for TDE R14.0.0
diff --git a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
new file mode 100755
index 000000000..5a86f514a
--- /dev/null
+++ b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
@@ -0,0 +1,170 @@
+# Always build under "/usr"
+%define tde_prefix /usr
+%define cmake_modules_dir %{_datadir}/cmake/Modules
+
+# TQT include files may conflict with QT4 includes, so we move them to a subdirectory.
+# Later compiled Trinity products should be aware of that !
+%define tde_bindir %{tde_prefix}/bin
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+Name: trinity-tqtinterface
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+License: GPL
+Summary: Trinity QT Interface
+Group: System Environment/Libraries
+
+Vendor: Trinity Project
+URL: http://www.trinitydesktop.org/
+Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+# TDE 3.5.13 specific building variables
+BuildRequires: cmake >= 2.8
+BuildRequires: trinity-tqt3-devel >= 14.0.0
+Requires: trinity-tqt3 >= 14.0.0
+
+BuildRequires: gcc-c++
+
+# PTHREAD support
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+BuildRequires: pth-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
+
+Obsoletes: tqtinterface < %{version}-%{release}
+Provides: tqtinterface = %{version}-%{release}
+
+
+%description
+Trinity QT Interface
+
+%package devel
+Group: Development/Libraries
+Summary: %{name} - Development files
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tqt3-devel >= 14.0.0
+
+Obsoletes: tqtinterface-devel < %{version}-%{release}
+Provides: tqtinterface-devel = %{version}-%{release}
+
+%description devel
+Development files for %{name}
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%build
+unset QTDIR
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
+ -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
+ -DINCLUDE_INSTALL_DIR=%{tde_includedir}/tqt \
+ -DCMAKE_LIBRARY_PATH="%{tde_libdir}" \
+ -DCMAKE_INCLUDE_PATH="%{tde_includedir}" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DWITH_QT3="ON" \
+ -DQTDIR="%{tde_datadir}/tqt3" \
+ -DQT_INCLUDE_DIRS="%{tde_includedir}/tqt3" \
+ -DQT_LIBRARY_DIRS="%{tde_libdir}" \
+ -DBUILD_ALL="ON" \
+ -DUSE_QT3="ON" \
+ ..
+
+%__make %{?_smp_mflags}
+
+
+%install
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{?buildroot} -C build
+
+# RHEL 5: add newline at end of include files to avoid warnings
+%if 0%{?rhel} && 0%{?rhel} <= 5
+for i in %{?buildroot}%{tde_includedir}/tqt/*.h; do
+ echo "" >>${i}
+done
+%endif
+
+# Install 'cmake' modules for development use
+%__mkdir_p %{?buildroot}%{cmake_modules_dir}
+for i in cmake/modules/*.cmake; do
+ %__install -m 644 $i %{?buildroot}%{cmake_modules_dir}
+done
+
+%clean
+%__rm -rf %{?buildroot}
+
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/convert_qt_tqt1
+%{tde_bindir}/convert_qt_tqt2
+%{tde_bindir}/convert_qt_tqt3
+%{tde_bindir}/dcopidl-tqt
+%{tde_bindir}/dcopidl2cpp-tqt
+%{tde_bindir}/dcopidlng-tqt
+%{tde_bindir}/mcopidl-tqt
+%{tde_bindir}/moc-tqt
+%{tde_bindir}/tmoc
+%{tde_bindir}/tqt-replace
+%{tde_bindir}/tqt-replace-stream
+%{tde_bindir}/uic-tqt
+%{tde_libdir}/libtqassistantclient.so.4
+%{tde_libdir}/libtqassistantclient.so.4.2.0
+%{tde_libdir}/libtqt.so.4
+%{tde_libdir}/libtqt.so.4.2.0
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_includedir}/tqt/
+%{tde_libdir}/libtqassistantclient.la
+%{tde_libdir}/libtqassistantclient.so
+%{tde_libdir}/libtqt.la
+%{tde_libdir}/libtqt.so
+%{tde_libdir}/pkgconfig/tqt.pc
+%{tde_libdir}/pkgconfig/tqtqui.pc
+%{cmake_modules_dir}/*.cmake
+
+
+%changelog
+* Tue Feb 14 2012 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
+- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
diff --git a/redhat/dependencies/tqtinterface/tqtinterface-r14.spec b/redhat/dependencies/tqtinterface/tqtinterface-r14.spec
deleted file mode 100755
index 18c9c463b..000000000
--- a/redhat/dependencies/tqtinterface/tqtinterface-r14.spec
+++ /dev/null
@@ -1,91 +0,0 @@
-# Always build under "/usr"
-%define _prefix /usr
-%define cmake_modules_dir %{_datadir}/cmake/Modules
-
-Name: tqtinterface
-Version: r14
-Release: 1%{?dist}
-License: GPL
-Summary: Trinity QT Interface
-Group: System Environment/Libraries
-
-Vendor: Trinity Project
-URL: http://www.trinitydesktop.org/
-Packager: Francois Andriot <francois.andriot@free.fr>
-
-Prefix: %{_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source0: %{name}-%{version}.tar.gz
-
-
-BuildRequires: cmake >= 2.8
-BuildRequires: tqt3-devel >= 3.4.0
-BuildRequires: gcc-c++
-BuildRequires: libXi-devel
-BuildRequires: pth-devel
-
-Requires: tqt3 >= 3.4.0
-
-%description
-Trinity QT Interface
-
-%package devel
-Group: Development/Libraries
-Summary: %{name} - Development files
-Requires: %{name} = %{version}-%{release}
-Requires: tqt3-devel >= 3.4.0
-
-%description devel
-Development files for %{name}
-
-%prep
-%setup -q -n dependencies/%{name}
-
-%build
-%__mkdir build
-cd build
-%cmake \
- -DQT_VERSION=3 \
- -DINCLUDE_INSTALL_DIR=%{_includedir}/tqt \
- -DMOC_EXECUTABLE=/usr/bin/moc-tqt3 \
- -DUIC_EXECUTABLE=/usr/bin/uic-tqt3 \
- ..
-
-%__make %{?_smp_mflags}
-
-
-%install
-%__rm -rf %{?buildroot}
-%__make install DESTDIR=%{?buildroot} -C build
-
-# RHEL 5: add newline at end of include files to avoid warnings
-%if 0%{?rhel} && 0%{?rhel} <= 5
-for i in %{?buildroot}%{_includedir}/tqt/*.h; do
- echo "" >>${i}
-done
-%endif
-
-# Install 'cmake' modules for development use
-%__mkdir_p %{?buildroot}%{cmake_modules_dir}
-for i in cmake/modules/*.cmake; do
- %__install -m 644 $i %{?buildroot}%{cmake_modules_dir}
-done
-
-%clean
-%__rm -rf %{?buildroot}
-
-%files
-%{_bindir}/*
-%{_libdir}/*.so.*
-
-%files devel
-%{_includedir}/tqt/
-%{_libdir}/*.so
-%{_libdir}/*.la
-%{_libdir}/pkgconfig/*.pc
-%{cmake_modules_dir}/*.cmake
-
-
-%changelog
-* Tue Feb 14 2012 Francois Andriot <francois.andriot@free.fr> - r14-1
-- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
diff --git a/redhat/genrpm.sh b/redhat/genrpm.sh
index 6dfe7d68c..f5c65ed4b 100755
--- a/redhat/genrpm.sh
+++ b/redhat/genrpm.sh
@@ -3,7 +3,8 @@
cd "$( dirname "$0" )"
ARGS=""
-eval TARBALLS_DIR=~/tde/tde-tarballs/3.5.13.2
+#eval TARBALLS_DIR=~/tde/tde-tarballs/3.5.13.2
+eval TARBALLS_DIR=~/tde/tde-tarballs/14.0.0
DIST="$(rpmdist.sh --dist)"
# CCACHE related stuff
diff --git a/redhat/libraries/libtdeldap/trinity-libtdeldap-r14.spec b/redhat/libraries/libtdeldap/trinity-libtdeldap-r14.spec
deleted file mode 100644
index d998a527f..000000000
--- a/redhat/libraries/libtdeldap/trinity-libtdeldap-r14.spec
+++ /dev/null
@@ -1,142 +0,0 @@
-# Default version for this component
-%define kdecomp libtdeldap
-
-# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
-%if "%{?tde_prefix}" != "/usr"
-%define _variant .opt
-%endif
-
-# TDE 3.5.13 specific building variables
-%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/kde
-%define tde_tdedocdir %{tde_docdir}/tde
-%define tde_tdeincludedir %{tde_includedir}/tde
-%define tde_tdelibdir %{tde_libdir}/trinity
-
-%define _docdir %{tde_docdir}
-
-
-Name: trinity-%{kdecomp}
-Summary: LDAP interface library for TDE
-
-Version: r14
-Release: 1%{?dist}%{?_variant}
-
-License: GPLv2+
-Group: Environment/Libraries
-
-Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
-URL: http://www.trinitydesktop.org/
-
-Prefix: %{_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{kdecomp}-%{version}.tar.gz
-
-BuildRequires: trinity-tqtinterface-devel >= %{version}
-BuildRequires: trinity-arts-devel >= %{version}
-BuildRequires: trinity-tdelibs-devel >= %{version}
-BuildRequires: desktop-file-utils
-BuildRequires: cmake >= 2.8
-BuildRequires: pkgconfig
-BuildRequires: gettext
-
-
-%description
-LDAP interface library for TDE management modules.
-
-%package devel
-Group: Development/Libraries
-Summary: Development files for %{name}
-Requires: %{name} = %{version}
-
-%description devel
-%{summary}
-
-%if 0%{?suse_version} || 0%{?pclinuxos}
-%debug_package
-%endif
-
-
-%prep
-%setup -q -n %{kdecomp}-3.5.13.1
-
-# Ugly hack to modify TQT include directory inside autoconf files.
-# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
-%__sed -i admin/acinclude.m4.in \
- -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
- -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
-
-%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
-%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
-%__make -f "admin/Makefile.common"
-
-
-%build
-unset QTDIR; . /etc/profile.d/qt3.sh
-export PATH="%{tde_bindir}:${PATH}"
-export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
-export KDEDIR=%{tde_prefix}
-
-%configure \
- --prefix=%{tde_prefix} \
- --exec-prefix=%{tde_prefix} \
- --bindir=%{tde_bindir} \
- --datadir=%{tde_datadir} \
- --libdir=%{tde_libdir} \
- --mandir=%{tde_mandir} \
- --includedir=%{tde_tdeincludedir} \
- --disable-rpath \
- --with-extra-includes=%{tde_includedir}/tqt \
- --enable-djvu
-
-%__make
-# %{?_smp_mflags}
-
-
-%install
-export PATH="%{tde_bindir}:${PATH}"
-%__rm -rf %{buildroot}
-%__make install DESTDIR=%{buildroot}
-
-%clean
-%__rm -rf %{buildroot}
-
-
-%post
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
-done
-/sbin/ldconfig || :
-
-%postun
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
-done
-/sbin/ldconfig || :
-
-%post devel
-/sbin/ldconfig || :
-
-%postun devel
-/sbin/ldconfig || :
-
-
-%files -f %{kdecomp}.lang
-%defattr(-,root,root,-)
-
-%files devel
-%defattr(-,root,root,-)
-
-%Changelog
-* Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
-- Initial release for TDE 3.5.13.1
diff --git a/redhat/tdebase/tdebase-r14.spec b/redhat/tdebase/tdebase-r14.spec
deleted file mode 100644
index 249b7f4a9..000000000
--- a/redhat/tdebase/tdebase-r14.spec
+++ /dev/null
@@ -1,648 +0,0 @@
-# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
-%if "%{?_prefix}" != "/usr"
-%define _variant .opt
-%define _docdir %{_prefix}/share/doc
-%endif
-
-# TDE specific variables
-BuildRequires: cmake >= 2.8
-%define tde_docdir %{_docdir}/trinity
-%define tde_libdir %{_libdir}/trinity
-
-# Older RHEL/Fedora versions use packages named "qt", "qt-devel", ..
-# whereas newer versions use "qt3", "qt3-devel" ...
-%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8
-%define _qt_suffix 3
-%endif
-
-
-Name: tdebase
-Version: r14
-Release: 1%{?dist}%{?_variant}
-License: GPL
-Summary: Trinity Base Programs
-Group: User Interface/Desktops
-
-Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
-URL: http://www.trinitydesktop.org/
-
-Prefix: %{_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: tdebase-%{version}.tar.gz
-
-# Wrapper script to prevent Plasma launch at Trinity Startup
-Source1: plasma-desktop
-
-# Pam configuration files for RHEL / Fedora
-Source2: pamd.kdm-trinity%{?dist}
-Source3: pamd.kdm-trinity-np%{?dist}
-Source4: pamd.kcheckpass-trinity%{?dist}
-Source5: pamd.kscreensaver-trinity%{?dist}
-
-# TDE unofficial patches, fixing FTBFS
-
-# TDE for RHEL/Fedora specific patches
-## [kdebase/kdesktop] Modifies 'open terminal here' on desktop
-Patch11: kdebase-3.5.12-desktop-openterminalhere.patch
-## [kdebase/kioslave] Forces HAL backend to use HAL mount options
-Patch12: kdebase-3.5.12-halmountoptions.patch
-
-# TDE unofficial patches for enhanced features or bugfixes.
-## [kdebase/kioslave/man] Fix kio_man for older distros without 'man-db' [Bug #714]
-Patch21: kdebase-3.5.13-kio_man_utf8.patch
-## [kdebase/konqueror] Re-enable 'open tab in background' [Bug #245]
-Patch22: kdebase-3.5.13-konq_menu_tab_background.patch
-## [kdebase/kicker] Restores the original KDE3 clock [Bug #387]
-Patch27: kdebase-3.5.13-restore_kde3_clock.patch
-
-# Fedora 15 Theme: "Lovelock"
-%if 0%{?fedora} == 15
-Requires: lovelock-backgrounds-single
-%define tde_bg /usr/share/backgrounds/lovelock/default/standard/lovelock.png
-
-Requires: fedora-release-notes
-%define tde_aboutlabel Fedora 15
-%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html
-%endif
-
-# Fedora 16 Theme: "Verne"
-%if 0%{?fedora} == 16
-Requires: verne-backgrounds-single
-%define tde_bg /usr/share/backgrounds/verne/default/standard/verne.png
-
-Requires: fedora-release-notes
-%define tde_aboutlabel Fedora 16
-%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html
-%endif
-
-# RHEL 5 Theme
-%if 0%{?rhel} == 5
-Requires: desktop-backgrounds-basic
-%define tde_bg /usr/share/backgrounds/images/default.jpg
-
-Requires: indexhtml
-%define tde_aboutlabel Enterprise Linux 5
-%define tde_aboutpage /usr/share/doc/HTML/index.html
-%endif
-
-# RHEL 6 Theme
-%if 0%{?rhel} == 6
-Requires: redhat-logos
-%define tde_bg /usr/share/backgrounds/default.png
-
-Requires: redhat-indexhtml
-%define tde_aboutlabel Enterprise Linux 6
-%define tde_aboutpage /usr/share/doc/HTML/index.html
-%endif
-
-BuildRequires: tqtinterface-devel
-BuildRequires: trinity-arts-devel
-BuildRequires: tdelibs-devel >= %{version}
-BuildRequires: tqt3-devel >= 3.4.0
-BuildRequires: openssl-devel
-BuildRequires: avahi-devel
-BuildRequires: avahi-tqt-devel
-BuildRequires: imake
-BuildRequires: xorg-x11-proto-devel
-BuildRequires: OpenEXR-devel
-BuildRequires: libsmbclient-devel
-BuildRequires: dbus-devel
-BuildRequires: dbus-tqt-devel
-BuildRequires: lm_sensors-devel
-BuildRequires: libfontenc-devel
-BuildRequires: hal-devel
-BuildRequires: audiofile-devel
-BuildRequires: alsa-lib-devel
-BuildRequires: libraw1394-devel
-BuildRequires: openldap-devel
-BuildRequires: libvorbis-devel
-BuildRequires: pam-devel
-BuildRequires: libXdmcp-devel
-BuildRequires: libxkbfile-devel
-BuildRequires: libusb-devel
-BuildRequires: esound-devel
-BuildRequires: glib2-devel
-BuildRequires: libXcomposite-devel
-BuildRequires: libXtst-devel
-BuildRequires: libXdamage-devel
-BuildRequires: xorg-x11-font-utils
-BuildRequires: jack-audio-connection-kit-devel
-BuildRequires: nas-devel
-
-%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
-BuildRequires: libudev-devel
-%endif
-
-Requires: tqtinterface >= %{version}
-Requires: trinity-arts
-Requires: tdelibs >= %{version}
-Requires: tqt3 >= 3.4.0
-Requires: openssl
-Requires: avahi
-Requires: avahi-tqt
-Requires: dbus-tqt
-# Provides the global Xsession script (/etc/X11/xinit/Xsession)
-Requires: xorg-x11-xinit
-
-
-# RHEL 6 Configuration files are provided in separate packages
-%if "%{?_prefix}" == "/usr"
-Requires: kde-settings-kdm
-%endif
-Requires: redhat-menus
-
-#Provides: kdebase%{?_qt_suffix} = %{version}
-%if "%{?_prefix}" == "/usr"
-Provides: kdebase%{?_qt_suffix} = %{version}
-Obsoletes: kdebase%{?_qt_suffix} <= 3.5.10
-%endif
-
-
-# Required for Fedora LiveCD
-Provides: service(graphical-login)
-
-Obsoletes: trinity-kdebase <= 3.5.13
-
-
-%description
-Core applications for the Trinity Desktop Environment. Included are: kdm
-(replacement for xdm), twin (window manager), konqueror (filemanager,
-web browser, ftp client, ...), konsole (xterm replacement), kpanel
-(application starter and desktop pager), kaudio (audio server),
-kdehelp (viewer for kde help files, info and man pages), kthememgr
-(system for managing alternate theme packages) plus other KDE
-components (kcheckpass, kikbd, kscreensaver, kcontrol, kfind,
-kfontmanager, kmenuedit).
-
-
-%package devel
-Requires: %{name}
-Requires: %{name}-libs = %{version}-%{release}
-Requires: tdelibs-devel >= %{version}
-Summary: %{summary} - Development files
-%if "%{?_prefix}" == "/usr"
-Provides: kdebase%{?_qt_suffix}-devel = %{version}
-Obsoletes: kdebase%{?_qt_suffix}-devel <= 3.5.10
-%endif
-Obsoletes: trinity-kdebase-devel <= 3.5.13
-
-Group: Development/Libraries
-%description devel
-Header files for developing applications using %{name}.
-Install kdebase-devel if you want to develop or compile Konqueror,
-Kate plugins or TWin styles.
-
-
-%package extras
-Summary: Extra applications from %{name}
-Group: User Interface/Desktops
-Requires: %{name} = %{version}-%{release}
-%if "%{?_prefix}" == "/usr"
-Provides: kdebase%{?_qt_suffix}-extras = %{version}
-Obsoletes: kdebase%{?_qt_suffix}-extras <= 3.5.10
-%endif
-Obsoletes: trinity-kdebase-extras <= 3.5.13
-%description extras
-%{summary}, including:
- * kappfinder
- * kpager
- * ktip
- * kpersonalizer
-
-
-%package libs
-Summary: %{name} runtime libraries
-Group: System Environment/Libraries
-Requires: tdelibs >= %{version}
-%if "%{?_prefix}" == "/usr"
-Provides: kdebase%{?_qt_suffix}-libs = %{version}
-Obsoletes: kdebase%{?_qt_suffix}-libs <= 3.5.10
-%endif
-Requires: %{name} = %{version}-%{release}
-Obsoletes: trinity-kdebase-libs <= 3.5.13
-%description libs
-%{summary}
-
-
-%package pim-ioslaves
-Summary: PIM KIOslaves from %{name}
-Group: System Environment/Libraries
-%if "%{?_prefix}" == "/usr"
-Provides: kdebase%{?_qt_suffix}-pim-ioslaves = %{version}
-Obsoletes: kdebase%{?_qt_suffix}-pim-ioslaves <= 3.5.10
-%endif
-Obsoletes: trinity-kdebase-pim-ioslaves <= 3.5.13
-%description pim-ioslaves
-Protocol handlers (KIOslaves) for personal information management, including:
- * kio_ldap
- * kio_nntp
- * kio_pop3
- * kio_smtp
-
-
-%prep
-%setup -q -n %{name}
-
-%patch11 -p1
-%patch12 -p1
-
-%if 0%{?rhel} > 0
-%patch21 -p1
-%endif
-%patch22 -p1
-%patch27 -p0
-
-# Applies an optional distro-specific graphical theme
-%if "%{?tde_bg}" != ""
-# TDM Background
-%__sed -i "tdm/kfrontend/gentdmconf.c" \
- -e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|'
-
-# TDE user default background
-%__sed -i "kpersonalizer/keyecandypage.cpp" \
- -e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|'
-%__sed -i "starttde" \
- -e 's|/usr/share/wallpapers/isadora.png.desktop|%{tde_bg}|' \
- -e 's|Wallpaper=isadora.png|Wallpaper=%{tde_bg}|'
-%endif
-
-# TDE branding: removes KUbuntu references [Bug #617]
-%__sed -i "kcontrol/tdm/tdm-appear.cpp" \
- -e "s|Welcome to Kubuntu |Welcome to %{tde_aboutlabel} |"
-%__sed -i "konqueror/about/konq_aboutpage.cc" \
- -e "s|About Kubuntu|About %{tde_aboutlabel}|" \
- -e "s|help:/kubuntu/|%{tde_aboutpage}|" \
- -e "s|Kubuntu Documentation|%{tde_aboutlabel} Documentation|"
-%__sed -i "konqueror/about/launch.html" \
- -e "s|help:/kubuntu/about-kubuntu/index.html|%{tde_aboutpage}|"
-%__sed -i "tdm/config.def" \
- -e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |"
-
-# TDE default directory in 'starttde' script (TDEDIR)
-%__sed -i "starttde" \
- -e "s|/opt/trinity|%{_prefix}|g"
-
-%build
-export PATH="%{_bindir}:${PATH}"
-export PKG_CONFIG_PATH="%{_libdir}/pkgconfig"
-export CMAKE_INCLUDE_PATH="%{_includedir}:%{_includedir}/tqt"
-export LD_LIBRARY_PATH="%{_libdir}"
-
-%__mkdir build
-cd build
-%cmake \
- -DHAVE_REAL_TQT=ON \
- -DHTML_INSTALL_DIR=%{tde_docdir}/HTML \
- -DWITH_SASL=ON \
- -DWITH_LDAP=ON \
- -DWITH_SAMBA=ON \
- -DWITH_OPENEXR=ON \
- -DWITH_XCOMPOSITE=ON \
- -DWITH_XCURSOR=ON \
- -DWITH_XFIXES=ON \
-%if 0%{?fedora} || 0%{?rhel} >= 6
- -DWITH_XRANDR=ON \
-%else
- -DWITH_XRANDR=OFF \
-%endif
- -DWITH_XRENDER=ON \
- -DWITH_XDAMAGE=ON \
- -DWITH_XEXT=ON \
- -DWITH_XTEST=ON \
- -DWITH_LIBUSB=ON \
- -DWITH_LIBRAW1394=ON \
- -DWITH_PAM=ON \
- -DWITH_SHADOW=OFF \
- -DWITH_XDMCP=ON \
- -DWITH_XINERAMA=ON \
- -DWITH_ARTS=ON \
- -DWITH_I8K=OFF \
- -DWITH_HAL=ON \
- -DBUILD_ALL=ON \
- -DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \
- -DKDM_PAM_SERVICE="kdm-trinity" \
- -DKSCREENSAVER_PAM_SERVICE="kscreensaver-trinity" \
- ..
-
-%__make %{?_smp_mflags}
-
-%install
-%__rm -rf %{?buildroot}
-%__make install DESTDIR=%{?buildroot} -C build
-
-# Adds a GDM/KDM/TDM/XDM session called 'TDE'
-%__install -D -m 644 \
- "%{?buildroot}%{_datadir}/apps/tdm/sessions/tde.desktop" \
- "%{?buildroot}%{_usr}/share/xsessions/tde.desktop"
-
-# Renames '/etc/ksysguarddrc' to avoid conflict with KDE4 'ksysguard'
-%__mv -f \
- %{?buildroot}%{_sysconfdir}/ksysguarddrc \
- %{?buildroot}%{_sysconfdir}/ksysguarddrc.tde
-
-# TDE 3.5.12: add script "plasma-desktop" to avoid conflict with KDE4
-%if "%{?_prefix}" != "/usr"
-%__install -m 755 "%{SOURCE1}" "%{?buildroot}%{_bindir}"
-%endif
-
-# PAM configuration files
-%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity"
-%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity-np"
-%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity"
-%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/kscreensaver-trinity"
-
-# KDM configuration for RHEL/Fedora
-%__sed -i "%{?buildroot}%{_datadir}/config/tdm/tdmrc" \
-%if 0%{?fedora} >= 16
- -e "s/^#*MinShowUID=.*/MinShowUID=1000/"
-%else
- -e "s/^#*MinShowUID=.*/MinShowUID=500/"
-%endif
-
-# Moves the XDG configuration files to TDE directory
-%if "%{_prefix}" != "/usr"
-%__mkdir_p "%{?buildroot}%{_prefix}/etc"
-%__mv -f "%{?buildroot}%{_sysconfdir}/xdg" "%{?buildroot}%{_prefix}/etc"
-%endif
-
-%clean
-%__rm -rf %{?buildroot}
-
-
-%post
-touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || :
-gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg 2> /dev/null || :
-update-desktop-database 2> /dev/null || :
-# Dirty hack to install '/etc/ksysguardrc' alongside with KDE4
-[ -r "%{_sysconfdir}/ksysguarddrc" ] || cp -f "%{_sysconfdir}/ksysguarddrc.tde" "%{_sysconfdir}/ksysguarddrc"
-
-%postun
-touch --no-create %{_datadir}/icons/crystalsvg 2> /dev/null || :
-gtk-update-icon-cache --quiet %{_datadir}/icons/crystalsvg 2> /dev/null || :
-update-desktop-database 2> /dev/null || :
-
-
-%post libs
-/sbin/ldconfig
-
-%postun libs
-/sbin/ldconfig
-
-%post extras
-for f in crystalsvg hicolor ; do
- touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||:
- gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||:
-done
-update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
-
-%postun extras
-for f in crystalsvg hicolor ; do
- touch --no-create %{_datadir}/icons/${f} 2> /dev/null ||:
- gtk-update-icon-cache -q %{_datadir}/icons/${f} 2> /dev/null ||:
-done
-update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
-
-
-%files extras
-%defattr(-,root,root,-)
-# kappfinder
-%{_bindir}/kappfinder
-%{_datadir}/applications/kde/kappfinder.desktop
-%{_datadir}/applnk/System/kappfinder.desktop
-%{_datadir}/apps/kappfinder/
-%{_datadir}/icons/hicolor/*/apps/kappfinder.png
-# ktip
-%{_bindir}/ktip
-%{_datadir}/applications/kde/ktip.desktop
-%{_datadir}/applnk/Toys/ktip.desktop
-%{_datadir}/apps/kdewizard
-%{_datadir}/autostart/ktip.desktop
-%{_datadir}/icons/hicolor/*/apps/ktip*
-# kpersonalizer
-%{_bindir}/kpersonalizer
-%{_datadir}/applications/kde/kpersonalizer.desktop
-%{_datadir}/applnk/System/kpersonalizer.desktop
-%{_datadir}/apps/kpersonalizer/
-%{_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png
-# kpager
-%{_bindir}/kpager
-%{_datadir}/applications/kde/kpager.desktop
-%{_datadir}/applnk/Utilities/kpager.desktop
-%{_datadir}/icons/hicolor/*/apps/kpager.png
-
-
-%files
-%defattr(-,root,root,-)
-# kappfinder
-%exclude %{_datadir}/applications/kde/kappfinder.desktop
-%exclude %{_datadir}/applnk/System/kappfinder.desktop
-%exclude %{_datadir}/apps/kappfinder/
-%exclude %{_datadir}/icons/hicolor/*/apps/kappfinder.png
-# ktip
-%exclude %{_datadir}/applications/kde/ktip.desktop
-%exclude %{_datadir}/applnk/Toys/ktip.desktop
-%exclude %{_datadir}/apps/kdewizard
-%exclude %{_datadir}/autostart/ktip.desktop
-%exclude %{_datadir}/icons/hicolor/*/apps/ktip*
-# kpersonalizer
-%exclude %{_datadir}/applications/kde/kpersonalizer.desktop
-%exclude %{_datadir}/applnk/System/kpersonalizer.desktop
-%exclude %{_datadir}/apps/kpersonalizer/
-%exclude %{_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png
-# kpager
-%exclude %{_datadir}/applications/kde/kpager.desktop
-%exclude %{_datadir}/applnk/Utilities/kpager.desktop
-%exclude %{_datadir}/icons/hicolor/*/apps/kpager.png
-
-# Pam configuration
-%{_sysconfdir}/pam.d/*
-
-%doc AUTHORS COPYING COPYING-DOCS README README.pam
-%{tde_docdir}/HTML/en/*
-%config(noreplace) %{_sysconfdir}/ksysguarddrc.tde
-%{_bindir}/gentdmconf
-%{_bindir}/kaccess
-%{_bindir}/kapplymousetheme
-%{_bindir}/kate
-%{_bindir}/kblankscrn.kss
-%{_bindir}/kbookmarkmerger
-%{_bindir}/kcminit
-%{_bindir}/kcminit_startup
-%{_bindir}/kcontrol
-%{_bindir}/kcontroledit
-%{_bindir}/kdebugdialog
-%{_bindir}/kdeinstallktheme
-%{_bindir}/kdepasswd
-%{_bindir}/tdesu
-%attr(0755,root,root) %{_bindir}/tdesud
-%{_bindir}/kdialog
-%{_bindir}/tdm
-%{_bindir}/tdmctl
-%{_bindir}/keditbookmarks
-%{_bindir}/keditfiletype
-%{_bindir}/kfind
-%{_bindir}/kfmclient
-%{_bindir}/khelpcenter
-%{_bindir}/khotkeys
-%{_bindir}/kinfocenter
-%{_bindir}/klipper
-%{_bindir}/kmenuedit
-%{_bindir}/konqueror
-%{_bindir}/konsole
-%{_bindir}/krandom.kss
-%{_bindir}/krdb
-%{_bindir}/kreadconfig
-%{_bindir}/ksmserver
-%{_bindir}/ksplashsimple
-%{_bindir}/kstart
-%{_bindir}/ksysguard
-%{_bindir}/ksysguardd
-%{_bindir}/ksystraycmd
-%{_bindir}/ktrash
-%{_bindir}/twin
-%{_bindir}/twin_killer_helper
-%{_bindir}/twin_rules_dialog
-%{_bindir}/kwrite
-%{_bindir}/kwriteconfig
-%{_bindir}/kxkb
-%{_bindir}/nspluginscan
-%{_bindir}/nspluginviewer
-%{_bindir}/starttde
-%{_bindir}/kcheckrunning
-%{_bindir}/kdesktop
-%{_bindir}/kdesktop_lock
-%{_bindir}/tdm_config
-%{_bindir}/tdm_greet
-%{_bindir}/kfontinst
-%{_bindir}/kfontview
-%{_bindir}/krootimage
-%{_bindir}/kwebdesktop
-%{_datadir}/autostart/*
-%{_datadir}/desktop-directories/*
-%{_datadir}/locale/*/entry.desktop
-%{_datadir}/locale/l10n
-%{_datadir}/templates/*
-%{_datadir}/templates/.source/*
-%{_datadir}/wallpapers/*
-%{_bindir}/appletproxy
-%{_bindir}/drkonqi
-%{_bindir}/extensionproxy
-%{_bindir}/kasbar
-%attr(4755,root,root) %{_bindir}/kcheckpass
-%{_bindir}/kdeeject
-%{_bindir}/khc_docbookdig.pl
-%{_bindir}/khc_htdig.pl
-%{_bindir}/khc_htsearch.pl
-%{_bindir}/khc_indexbuilder
-%{_bindir}/khc_mansearch.pl
-%{_bindir}/kicker
-%{_bindir}/knetattach
-%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
-%{_bindir}/krandrtray
-%endif
-%{_bindir}/kompmgr
-%{_bindir}/kpm
-%{_bindir}/ksplash
-%{_libdir}/kconf_update_bin
-%{_datadir}/applnk/*.desktop
-%{_datadir}/applnk/*/*
-%{_datadir}/applnk/.hidden/*
-%exclude %{_datadir}/applnk/.hidden/.directory
-%{_datadir}/config.kcfg/*
-%{_bindir}/kio_media_mounthelper
-%{_bindir}/kdcop
-%{_bindir}/tdeprintfax
-%{_bindir}/khc_beagle_index.pl
-%{_bindir}/khc_beagle_search.pl
-%{_bindir}/kxdglauncher
-%{_bindir}/kjobviewer
-%{_bindir}/klocaldomainurifilterhelper
-%{_bindir}/kprinter
-%{_datadir}/applications/*/*
-%{_datadir}/apps/*
-%{_datadir}/icons/*color/*/*/*
-%{_datadir}/icons/crystalsvg/*/*/*
-%{_datadir}/mimelnk/*/*
-%{_datadir}/services/*
-%{_datadir}/servicetypes/*
-%{_datadir}/sounds/*
-%{tde_libdir}/*
-%{_libdir}/libtdeinit_*.*
-%if "%{_prefix}" != "/usr"
-%{_prefix}/etc/xdg/menus/applications-merged/kde-essential.menu
-%{_prefix}/etc/xdg/menus/kde-information.menu
-%{_prefix}/etc/xdg/menus/kde-screensavers.menu
-%{_prefix}/etc/xdg/menus/kde-settings.menu
-%else
-%{_sysconfdir}/xdg/menus/applications-merged/kde-essential.menu
-%{_sysconfdir}/xdg/menus/kde-information.menu
-%{_sysconfdir}/xdg/menus/kde-screensavers.menu
-%{_sysconfdir}/xdg/menus/kde-settings.menu
-%endif
-/usr/share/xsessions/*.desktop
-# Remove conflicts with redhat-menus
-%if "%{?_prefix}" != "/usr"
-%{_bindir}/plasma-desktop
-%config(noreplace) %{_datadir}/config/*
-%else
-%exclude %{_datadir}/config
-%endif
-# exclude pim-ioslaves files from main package
-%exclude %{tde_libdir}/kio_ldap.*
-%exclude %{tde_libdir}/kio_nntp.*
-%exclude %{tde_libdir}/kio_pop3.*
-%exclude %{tde_libdir}/kio_smtp.*
-%exclude %{_datadir}/services/ldap*.protocol
-%exclude %{_datadir}/services/nntp*.protocol
-%exclude %{_datadir}/services/pop3*.protocol
-%exclude %{_datadir}/services/smtp*.protocol
-
-# New in TDE 3.5.13
-%{_bindir}/krootbacking
-%{_bindir}/tsak
-%attr(4511,root,root) %{_bindir}/tdmtsak
-
-# New in TDE R14
-%{_bindir}/crashtest
-%{_bindir}/tdeinit_phase1
-%{_bindir}/twin_resumer_helper
-
-
-%files libs
-%defattr(-,root,root,-)
-%exclude %{_libdir}/libtdeinit_*.*
-%{_libdir}/lib*.so.*
-%{_libdir}/lib*.la
-
-%files pim-ioslaves
-%defattr(-,root,root,-)
-%{tde_libdir}/kio_ldap.*
-%{tde_libdir}/kio_nntp.*
-%{tde_libdir}/kio_pop3.*
-%{tde_libdir}/kio_smtp.*
-%{_datadir}/services/ldap*.protocol
-%{_datadir}/services/nntp*.protocol
-%{_datadir}/services/pop3*.protocol
-%{_datadir}/services/smtp*.protocol
-
-%files devel
-%defattr(-,root,root,-)
-%{_includedir}/*.h
-%dir %{_includedir}/kate
-%{_includedir}/kate/*
-%dir %{_includedir}/twin
-%{_includedir}/twin/*
-%dir %{_includedir}/ksgrd
-%{_includedir}/ksgrd/*
-%dir %{_includedir}/ksplash
-%{_includedir}/ksplash/*
-%{_libdir}/lib*.so
-%exclude %{_libdir}/libtdeinit_*.*
-# New in TDE 3.5.13
-%{_datadir}/cmake/*.cmake
-
-%changelog
-* Sun Mar 04 2012 Francois Andriot <francois.andriot@free.fr> - r14-1
-- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
diff --git a/redhat/tdebase/trinity-tdebase-14.0.0.spec b/redhat/tdebase/trinity-tdebase-14.0.0.spec
new file mode 100644
index 000000000..f052700df
--- /dev/null
+++ b/redhat/tdebase/trinity-tdebase-14.0.0.spec
@@ -0,0 +1,3423 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%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_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+
+Name: trinity-tdebase
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+License: GPL
+Summary: Trinity Base Programs
+Group: User Interface/Desktops
+
+Obsoletes: trinity-kdebase < %{version}-%{release}
+Provides: trinity-kdebase = %{version}-%{release}
+Obsoletes: trinity-kdebase-libs < %{version}-%{release}
+Provides: trinity-kdebase-libs = %{version}-%{release}
+Obsoletes: trinity-kdebase-extras < %{version}-%{release}
+Provides: trinity-kdebase-extras = %{version}-%{release}
+Obsoletes: tdebase < %{version}-%{release}
+Provides: tdebase = %{version}-%{release}
+
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+# Wrapper script to prevent Plasma launch at Trinity Startup
+Source1: plasma-desktop
+
+# Pam configuration files for RHEL / Fedora
+%if 0%{?suse_version} == 0
+Source2: pamd.kdm-trinity%{?dist}
+Source3: pamd.kdm-trinity-np%{?dist}
+Source4: pamd.kcheckpass-trinity%{?dist}
+Source5: pamd.kscreensaver-trinity%{?dist}
+%endif
+
+# openSUSE: configuration file for TDM
+Source6: suse-displaymanagers-tdm
+
+# Fedora 18: use SYSTEMD for TDM startup
+%if 0%{?fedora} >= 18
+Source7: tdm.service%{?dist}
+%endif
+
+# Fedora 17: special selinux policy required
+%if 0%{?fedora} == 17 || 0%{?rhel} == 6
+%define with_selinux_policy 1
+Source8: tdm%{?dist}.pp
+%endif
+
+%if 0%{?mgaversion} >= 3
+Source9: mgabutton.svg
+%endif
+
+
+### Distribution-specific settings ###
+
+# Fedora 15 Theme: "Lovelock"
+%if 0%{?fedora} == 15
+Requires: lovelock-backgrounds-single
+%define tde_bg /usr/share/backgrounds/lovelock/default/standard/lovelock.png
+%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
+
+Requires: fedora-release-notes
+%define tde_aboutlabel Fedora 15
+%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html
+%endif
+
+# Fedora 16 Theme: "Verne"
+%if 0%{?fedora} == 16
+Requires: verne-backgrounds-single
+%define tde_bg /usr/share/backgrounds/verne/default/standard/verne.png
+%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
+
+Requires: fedora-release-notes
+%define tde_aboutlabel Fedora 16
+%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html
+%endif
+
+# Fedora 17 Theme: "Beefy Miracle"
+%if 0%{?fedora} == 17
+Requires: beefy-miracle-backgrounds-single
+%define tde_bg /usr/share/backgrounds/beefy-miracle/default/standard/beefy-miracle.png
+%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
+
+Requires: fedora-release-notes
+%define tde_aboutlabel Fedora 17
+%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html
+%endif
+
+# Fedora 18 Theme: "Spherical Cow"
+%if 0%{?fedora} == 18
+Requires: spherical-cow-backgrounds-single
+%define tde_bg /usr/share/backgrounds/spherical-cow/default/standard/spherical-cow.png
+Requires: fedora-logos
+%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
+
+Requires: fedora-release-notes
+%define tde_aboutlabel Fedora 18
+%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html
+%endif
+
+# RHEL 4 Theme
+%if 0%{?rhel} == 4
+Requires: desktop-backgrounds-basic
+%define tde_bg /usr/share/backgrounds/images/default.png
+Requires: redhat-logos
+%define tde_starticon /usr/share/pixmaps/redhat/rpmlogo-64.xpm
+
+Requires: indexhtml
+%define tde_aboutlabel Enterprise Linux 4
+%define tde_aboutpage /usr/share/doc/HTML/index.html
+%endif
+
+# RHEL 5 Theme
+%if 0%{?rhel} == 5
+Requires: desktop-backgrounds-basic
+%define tde_bg /usr/share/backgrounds/images/default.jpg
+%define tde_starticon /usr/share/pixmaps/redhat-starthere.png
+
+Requires: indexhtml
+%define tde_aboutlabel Enterprise Linux 5
+%define tde_aboutpage /usr/share/doc/HTML/index.html
+%endif
+
+# RHEL 6 Theme
+%if 0%{?rhel} == 6
+Requires: redhat-logos
+%define tde_bg /usr/share/backgrounds/default.png
+%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png
+
+Requires: redhat-indexhtml
+%define tde_aboutlabel Enterprise Linux 6
+%define tde_aboutpage /usr/share/doc/HTML/index.html
+%endif
+
+# Mageia 2 Theme
+%if 0%{?mgaversion} == 2
+Requires: mageia-theme-Default
+%define tde_bg /usr/share/mga/backgrounds/default.jpg
+%define tde_starticon /usr/share/icons/hicolor/scalable/apps/mageia-menu.svg
+
+Requires: indexhtml
+%define tde_aboutlabel Mageia 2
+%define tde_aboutpage /usr/share/mga/about/index.html
+%endif
+
+# Mageia 3 Theme
+%if 0%{?mgaversion} == 3
+Requires: mageia-theme-Default
+%define tde_bg /usr/share/mga/backgrounds/default.jpg
+%define tde_starticon %{tde_datadir}/oxygen/scalable/mgabutton.svg
+
+Requires: indexhtml
+%define tde_aboutlabel Mageia 3
+%define tde_aboutpage /usr/share/mga/about/index.html
+%endif
+
+# Mandriva 2011 Theme: "rosa"
+%if "%{distribution}" == "Mandriva Linux" && "%{?mdkversion}" == "201100"
+Requires: mandriva-theme
+%define tde_bg /usr/share/mdk/backgrounds/default.jpg
+%define tde_starticon /usr/share/icons/mandriva.png
+
+Requires: indexhtml
+%define tde_aboutlabel Mandriva 2011
+%define tde_aboutpage /usr/share/mdk/about/index.html
+%endif
+
+# PCLINUXOS 2012
+%if "%{?pclinuxos}" == "2012"
+Requires: trinity-wallpaper-theme-default
+%define tde_bg %{tde_datadir}/wallpapers/Pulse2012/contents/images/1600x1200.jpg
+Requires: desktop-common-data
+%define tde_starticon /usr/share/icons/pclinuxos.png
+
+Requires: indexhtml
+%define tde_aboutlabel PCLinuxOS 2012
+%define tde_aboutpage /usr/share/mdk/about/index.html
+%endif
+
+# PCLINUXOS 2013
+%if "%{?pclinuxos}" == "2013"
+Requires: trinity-wallpaper-theme-default
+%if "%{_lib}" == "lib64"
+%define tde_bg %{tde_datadir}/wallpapers/pclinuxos64.jpg
+%else
+%define tde_bg %{tde_datadir}/wallpapers/pclinuxos32.jpg
+%endif
+Requires: desktop-common-data
+%define tde_starticon /usr/share/icons/pclinuxos.png
+
+Requires: indexhtml
+%define tde_aboutlabel PCLinuxOS 2013
+%define tde_aboutpage /usr/share/mdk/about/index.html
+%endif
+
+# OpenSuse 11.4 Theme
+%if "%{?suse_version}" == "1140"
+Requires: hicolor-icon-theme-branding
+%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
+
+Requires: opensuse-manuals_en
+%define tde_aboutlabel OpenSuse 11.4
+%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/manual/book.opensuse.startup.html
+%endif
+
+# OpenSuse 12.2 Theme
+%if "%{?suse_version}" == "1220"
+Requires: wallpaper-branding
+%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
+Requires: hicolor-icon-theme-branding
+%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
+
+Requires: opensuse-manuals_en
+%define tde_aboutlabel OpenSuse 12.2
+%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html
+%endif
+
+# OpenSuse 12.3 Theme
+%if "%{?suse_version}" == "1230"
+Requires: wallpaper-branding
+%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
+Requires: hicolor-icon-theme-branding
+%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
+
+Requires: opensuse-manuals_en
+%define tde_aboutlabel OpenSuse 12.3
+%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html
+%endif
+
+BuildRequires: cmake >= 2.8
+BuildRequires: trinity-tqt3-devel >= %{version}
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: gcc-c++
+BuildRequires: make
+BuildRequires: openssl-devel
+BuildRequires: audiofile-devel
+BuildRequires: alsa-lib-devel
+BuildRequires: libraw1394-devel
+BuildRequires: libvorbis-devel
+BuildRequires: glib2-devel
+BuildRequires: pcre-devel
+
+# LIBUSB support
+BuildRequires: pam-devel
+%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos}
+BuildRequires: %{_lib}usb1.0-devel
+BuildRequires: %{_lib}usb-compat0.1-devel
+%else
+BuildRequires: libusb-devel
+%endif
+
+# ESOUND support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_esound 1
+BuildRequires: esound-devel
+%endif
+
+# OPENLDAP support
+%if 0%{?suse_version}
+BuildRequires: openldap2-devel
+%else
+BuildRequires: openldap-devel
+%endif
+
+# SENSORS support
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel}
+BuildRequires: lm_sensors-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libsensors4-devel
+%endif
+
+# TSAK support (requires libudev-devel)
+# On RHEL5, udev is built statically, so TSAK cannot build.
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
+%define with_tsak 1
+BuildRequires: libudev-devel
+%endif
+
+# XRANDR support
+# On RHEL5, xrandr library is too old.
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
+%define with_xrandr 1
+%endif
+
+# XTEST support
+# On RHEL4, xtest library is too old.
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
+%define with_xtest 1
+%endif
+
+# OPENEXR support
+# Disabled on RHEL4
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
+%define with_exr 1
+BuildRequires: OpenEXR-devel
+%endif
+
+# XSCREENSAVER support
+# Disabled on RHEL4
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
+%define with_xscreensaver 1
+%if 0%{?rhel} == 5
+BuildRequires: xorg-x11-proto-devel
+BuildRequires: gnome-screensaver
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
+%endif
+%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220
+BuildRequires: libXScrnSaver-devel
+%endif
+%if 0%{?suse_version} == 1140
+BuildRequires: xscreensaver
+%endif
+%endif
+
+# AVAHI support
+# Disabled on RHEL4 and RHEL5
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
+BuildRequires: trinity-avahi-tqt-devel
+Requires: trinity-avahi-tqt
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}avahi-client-devel
+Requires: %{_lib}avahi-client3
+%else
+BuildRequires: avahi-devel
+Requires: avahi
+%endif
+%endif
+
+# NAS support
+# (what is nas btw ?)
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: nas-devel
+%endif
+
+# DBUS support
+# TQT bindings not available for RHEL4
+%if 0%{?rhel} == 4
+# Dbus bindings were rebuilt with Qt support
+BuildRequires: dbus-devel >= 0.22-12.EL.9p1
+Requires: dbus-qt >= 0.22-12.EL.9p1
+%else
+BuildRequires: trinity-dbus-tqt-devel >= %{version}
+Requires: trinity-dbus-tqt >= %{version}
+%endif
+
+%if 0%{?fedora} >= 17
+BuildRequires: perl-Digest-MD5
+%endif
+
+# JACK support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}jack-devel
+%endif
+%if 0%{?fedora} || 0%{?rhel} >= 5
+BuildRequires: jack-audio-connection-kit-devel
+%endif
+
+# LIBART support
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} >= 5
+%define with_libart 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}art_lgpl-devel
+%endif
+%if 0%{?suse_version} || 0%{?fedora} || 0%{?rhel}
+BuildRequires: libart_lgpl-devel
+%endif
+%endif
+
+# SAMBA support
+%if 0%{?rhel} == 4
+BuildRequires: samba-common
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+BuildRequires: libsmbclient-devel
+%endif
+
+# IMAKE
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220
+BuildRequires: imake
+%endif
+
+# X11 stuff ...
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+%endif
+
+%if 0%{?suse_version} == 1140
+BuildRequires: xorg-x11-libxkbfile-devel
+BuildRequires: xorg-x11-libfontenc-devel
+%endif
+
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220
+BuildRequires: libxkbfile-devel
+BuildRequires: libfontenc-devel
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel
+BuildRequires: %{_lib}xdamage-devel
+BuildRequires: %{_lib}xdmcp%{?mgaversion:6}-devel
+BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel
+BuildRequires: x11-font-util
+BuildRequires: x11-proto-devel
+%endif
+
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: libXcomposite-devel
+BuildRequires: libXdamage-devel
+BuildRequires: libXdmcp-devel
+BuildRequires: libXtst-devel
+BuildRequires: xorg-x11-proto-devel
+%endif
+
+%if 0%{?rhel} >= 5 || 0%{?fedora}
+BuildRequires: xorg-x11-font-utils
+%endif
+
+%if 0%{?suse_version} >= 1220
+BuildRequires: font-util
+BuildRequires: bdftopcf
+%endif
+
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: drakconf
+%endif
+
+# tdebase is a metapackage that installs all sub-packages
+Requires: %{name}-runtime-data-common = %{version}-%{release}
+Requires: %{name}-data = %{version}-%{release}
+Requires: %{name}-bin = %{version}-%{release}
+Requires: %{name}-tdeio-plugins = %{version}-%{release}
+Requires: %{name}-tdeio-pim-plugins = %{version}-%{release}
+Requires: trinity-kappfinder = %{version}-%{release}
+Requires: trinity-kate = %{version}-%{release}
+Requires: trinity-kwrite = %{version}-%{release}
+Requires: trinity-kcontrol = %{version}-%{release}
+Requires: trinity-kdepasswd = %{version}-%{release}
+Requires: trinity-tdeprint = %{version}-%{release}
+Requires: trinity-kdesktop = %{version}-%{release}
+Requires: trinity-tdm = %{version}-%{release}
+Requires: trinity-kfind = %{version}-%{release}
+Requires: trinity-khelpcenter = %{version}-%{release}
+Requires: trinity-kicker = %{version}-%{release}
+Requires: trinity-klipper = %{version}-%{release}
+Requires: trinity-kmenuedit = %{version}-%{release}
+Requires: trinity-konqueror = %{version}-%{release}
+Requires: trinity-konqueror-nsplugins = %{version}-%{release}
+Requires: trinity-konsole = %{version}-%{release}
+Requires: trinity-kpager = %{version}-%{release}
+Requires: trinity-kpersonalizer = %{version}-%{release}
+Requires: trinity-ksmserver = %{version}-%{release}
+Requires: trinity-ksplash = %{version}-%{release}
+Requires: trinity-ksysguard = %{version}-%{release}
+Requires: trinity-ksysguardd = %{version}-%{release}
+Requires: trinity-ktip = %{version}-%{release}
+Requires: trinity-twin = %{version}-%{release}
+Requires: trinity-libkonq = %{version}-%{release}
+Requires: %{name}-libtqt3-integration = %{version}-%{release}
+Requires: %{name}-tdeio-smb-plugin = %{version}-%{release}
+
+Requires: trinity-tqtinterface >= %{version}
+Requires: trinity-arts >= %{version}
+Requires: trinity-tdelibs >= %{version}
+Requires: trinity-tqt3 >= %{version}
+Requires: openssl
+
+
+# RHEL 6 Configuration files are provided in separate packages
+%if 0%{?rhel} || 0%{?fedora}
+%if "%{?tde_prefix}" == "/usr"
+Requires: kde-settings-kdm
+%endif
+Requires: redhat-menus
+%endif
+
+%if 0%{?suse_version}
+Requires: desktop-data-openSUSE
+%endif
+
+%description
+TDE (the Trinity Desktop Environment) is a powerful Open Source graphical
+desktop environment for Unix workstations. It combines ease of use,
+contemporary functionality, and outstanding graphical design with the
+technological superiority of the Unix operating system.
+
+This metapackage includes the nucleus of TDE, namely the minimal package
+set necessary to run TDE as a desktop environment. This includes the
+window manager, taskbar, control center, a text editor, file manager,
+web browser, X terminal emulator, and many other programs and components.
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING COPYING-DOCS README README.pam
+
+##########
+
+%package devel
+Summary: %{summary} - Development files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tdelibs-devel
+
+Requires: %{name}-bin-devel = %{version}-%{release}
+Requires: trinity-kate-devel = %{version}-%{release}
+Requires: trinity-kcontrol-devel = %{version}-%{release}
+Requires: trinity-kdesktop-devel = %{version}-%{release}
+Requires: trinity-kicker-devel = %{version}-%{release}
+Requires: trinity-konqueror-devel = %{version}-%{release}
+Requires: trinity-ksplash-devel = %{version}-%{release}
+Requires: trinity-ksysguard-devel = %{version}-%{release}
+Requires: trinity-libkonq-devel = %{version}-%{release}
+Requires: trinity-tdm-devel = %{version}-%{release}
+Requires: trinity-twin-devel = %{version}-%{release}
+
+Provides: trinity-kdebase-devel = %{version}-%{release}
+Obsoletes: trinity-kdebase-devel < %{version}-%{release}
+Provides: tdebase-devel = %{version}-%{release}
+Obsoletes: tdebase-devel < %{version}-%{release}
+
+Obsoletes: trinity-kdebase-cmake < %{version}-%{release}
+Obsoletes: tdebase-cmake < %{version}-%{release}
+
+%description devel
+This is a meta-package that installs all tdebase development packages.
+
+Header files for developing applications using %{name}.
+Install tdebase-devel if you want to develop or compile Konqueror,
+Kate plugins or KWin styles.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_datadir}/cmake/*.cmake
+
+##########
+
+%package tdeio-pim-plugins
+Summary: PIM TDEIOslaves from %{name}
+Group: Environment/Libraries
+
+Provides: trinity-kdebase-pim-ioslaves = %{version}-%{release}
+Obsoletes: trinity-kdebase-pim-ioslaves < %{version}-%{release}
+Provides: tdebase-kio-pim-plugins = %{version}-%{release}
+Obsoletes: tdebase-kio-pim-plugins < %{version}-%{release}
+Provides: trinity-tdebase-kio-pim-plugins = %{version}-%{release}
+Obsoletes: trinity-tdebase-kio-pim-plugins < %{version}-%{release}
+
+%description tdeio-pim-plugins
+Protocol handlers (TDEIOslaves) for personal information management, including:
+ * tdeio_ldap
+ * tdeio_nntp
+ * tdeio_pop3
+ * tdeio_smtp
+
+%files tdeio-pim-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/tdeio_ldap.la
+%{tde_tdelibdir}/tdeio_ldap.so
+%{tde_tdelibdir}/tdeio_nntp.la
+%{tde_tdelibdir}/tdeio_nntp.so
+%{tde_tdelibdir}/tdeio_pop3.la
+%{tde_tdelibdir}/tdeio_pop3.so
+%{tde_tdelibdir}/tdeio_smtp.la
+%{tde_tdelibdir}/tdeio_smtp.so
+%{tde_datadir}/services/ldap.protocol
+%{tde_datadir}/services/ldaps.protocol
+%{tde_datadir}/services/nntp.protocol
+%{tde_datadir}/services/nntps.protocol
+%{tde_datadir}/services/pop3.protocol
+%{tde_datadir}/services/pop3s.protocol
+%{tde_datadir}/services/smtp.protocol
+%{tde_datadir}/services/smtps.protocol
+
+##########
+
+%package runtime-data-common
+Summary: Shared common files for Trinity and KDE4
+Group: Environment/Libraries
+
+Provides: tdebase-runtime-data-common = %{version}-%{release}
+Obsoletes: tdebase-runtime-data-common < %{version}-%{release}
+
+%description runtime-data-common
+Shared common files for both Trinity and KDE4
+Such as the desktop right-click-"Create New" list
+
+%files runtime-data-common
+%defattr(-,root,root,-)
+%{tde_datadir}/autostart/khotkeys.desktop
+%{tde_datadir}/desktop-directories/*
+%{tde_datadir}/icons/hicolor/*/apps/kxkb.png
+%{tde_datadir}/icons/hicolor/*/apps/knetattach.*
+%{tde_datadir}/icons/hicolor/*/apps/khotkeys.png
+%{tde_datadir}/icons/hicolor/*/apps/kmenuedit.png
+%{tde_datadir}/icons/hicolor/*/apps/ksplash.png
+%{tde_datadir}/locale/en_US/entry.desktop
+%{tde_datadir}/locale/l10n/*.desktop
+%{tde_datadir}/locale/l10n/*/entry.desktop
+%{tde_datadir}/locale/l10n/*/flag.png
+%{tde_datadir}/sounds/pop.wav
+%{tde_datadir}/templates/
+
+%post runtime-data-common
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+%postun runtime-data-common
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+##########
+
+%package -n trinity-kappfinder
+Summary: non-TDE application finder for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-kappfinder
+kappfinder searches your workstation for many common applications and
+creates menu entries for them.
+
+%files -n trinity-kappfinder
+%defattr(-,root,root,-)
+%{tde_bindir}/kappfinder
+%{tde_tdeappdir}/kappfinder.desktop
+%{tde_datadir}/applnk/System/kappfinder.desktop
+%{tde_datadir}/apps/kappfinder
+%{tde_datadir}/icons/hicolor/*/apps/kappfinder.png
+
+%post -n trinity-kappfinder
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+%postun -n trinity-kappfinder
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+##########
+
+%package -n trinity-libkateinterfaces
+Summary: Common libraries used by kwrite and kate
+Group: Environment/Libraries
+
+%description -n trinity-libkateinterfaces
+%{summary}
+
+%files -n trinity-libkateinterfaces
+%defattr(-,root,root,-)
+%{tde_libdir}/libkateinterfaces.so.*
+
+%post -n trinity-libkateinterfaces
+/sbin/ldconfig || :
+
+%postun -n trinity-libkateinterfaces
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kate
+Summary: advanced text editor for TDE
+Group: Applications/Text
+Requires: %{name}-data = %{version}-%{release}
+Requires: trinity-kwrite = %{version}-%{release}
+Requires: trinity-libkateinterfaces = %{version}-%{release}
+
+%description -n trinity-kate
+Kate is a multi document editor, based on a rewritten version of the kwrite
+editing widget of TDE.
+
+It is a multi-view editor that lets you view several instances of the same
+document with all instances being synced, or view more files at the same
+time for easy reference or simultaneous editing. The terminal emulation
+and sidebar are docked windows that can be plugged out of the main window,
+or replaced therein according to your preference.
+
+Some random features:
+* Editing of big files
+* Extensible syntax highlighting
+* Folding
+* Dynamic word wrap
+* Selectable encoding
+* Filter command
+* Global grep dialog
+
+%files -n trinity-kate
+%defattr(-,root,root,-)
+%{tde_bindir}/kate
+%{tde_tdelibdir}/kate.la
+%{tde_tdelibdir}/kate.so
+%{tde_libdir}/libkateutils.so.*
+%{tde_libdir}/lib[kt]deinit_kate.la
+%{tde_libdir}/lib[kt]deinit_kate.so
+%{tde_tdeappdir}/kate.desktop
+%{tde_datadir}/apps/kate/
+%{tde_datadir}/apps/tdeconf_update/kate-2.4.upd
+%{_sysconfdir}/trinity/katerc
+%{tde_datadir}/icons/hicolor/*/apps/kate.png
+%{tde_datadir}/icons/hicolor/*/apps/kate2.svgz
+%{tde_datadir}/servicetypes/kateplugin.desktop
+%{tde_tdedocdir}/HTML/en/kate/
+
+%post -n trinity-kate
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kate
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kate-devel
+Summary: Development files for kate
+Group: Development/Libraries
+Requires: trinity-kate = %{version}-%{release}
+
+%description -n trinity-kate-devel
+%{summary}
+
+%files -n trinity-kate-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kate/
+%{tde_libdir}/libkateutils.so
+%{tde_libdir}/libkateutils.la
+%{tde_libdir}/libkateinterfaces.so
+%{tde_libdir}/libkateinterfaces.la
+
+%post -n trinity-kate-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kate-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kwrite
+Summary: advanced text editor for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+Requires: trinity-libkateinterfaces = %{version}-%{release}
+
+%description -n trinity-kwrite
+Kwrite is a text editor for TDE.
+
+%files -n trinity-kwrite
+%defattr(-,root,root,-)
+%{tde_bindir}/kwrite
+%{tde_tdelibdir}/kwrite.la
+%{tde_tdelibdir}/kwrite.so
+%{tde_libdir}/lib[kt]deinit_kwrite.la
+%{tde_libdir}/lib[kt]deinit_kwrite.so
+%{tde_tdeappdir}/kwrite.desktop
+%{tde_datadir}/apps/kwrite/kwriteui.rc
+%{tde_datadir}/icons/hicolor/*/apps/kwrite.png
+%{tde_datadir}/icons/hicolor/*/apps/kwrite2.svgz
+%{tde_tdedocdir}/HTML/en/kwrite/
+
+
+%post -n trinity-kwrite
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+%postun -n trinity-kwrite
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+##########
+
+%package -n trinity-kcontrol
+Summary: control center for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+# Requires 'usb.ids'
+Requires: usbutils
+%if 0%{?suse_version} == 0
+Requires: hwdata
+%endif
+
+%description -n trinity-kcontrol
+The TDE Control Center provides you with a centralized and convenient
+way to configure all of your TDE settings.
+
+It is made up of multiple modules. Each module is a separate application,
+but the control center organizes all of these programs into a convenient
+location.
+
+In combination with udev KControl supports the advanced
+configuration of Logitech mice, though the user must be a member of the
+plugdev group.
+
+%files -n trinity-kcontrol
+%defattr(-,root,root,-)
+%{tde_bindir}/kaccess
+%{tde_bindir}/kcontrol
+%{tde_bindir}/kdeinstallktheme
+%{tde_bindir}/keditfiletype
+%{tde_bindir}/tdefontinst
+%{tde_bindir}/tdefontview
+%{tde_bindir}/kinfocenter
+%{tde_bindir}/klocaldomainurifilterhelper
+%{tde_bindir}/krdb
+%{tde_tdelibdir}/fontthumbnail.la
+%{tde_tdelibdir}/fontthumbnail.so
+%{tde_tdelibdir}/kaccess.la
+%{tde_tdelibdir}/kaccess.so
+%{tde_tdelibdir}/kcm_access.la
+%{tde_tdelibdir}/kcm_access.so
+%{tde_tdelibdir}/kcm_arts.la
+%{tde_tdelibdir}/kcm_arts.so
+%{tde_tdelibdir}/kcm_background.la
+%{tde_tdelibdir}/kcm_background.so
+%{tde_tdelibdir}/kcm_bell.la
+%{tde_tdelibdir}/kcm_bell.so
+%{tde_tdelibdir}/kcm_clock.la
+%{tde_tdelibdir}/kcm_clock.so
+%{tde_tdelibdir}/kcm_colors.la
+%{tde_tdelibdir}/kcm_colors.so
+%{tde_tdelibdir}/kcm_componentchooser.la
+%{tde_tdelibdir}/kcm_componentchooser.so
+%{tde_tdelibdir}/kcm_crypto.la
+%{tde_tdelibdir}/kcm_crypto.so
+%{tde_tdelibdir}/kcm_css.la
+%{tde_tdelibdir}/kcm_css.so
+%{tde_tdelibdir}/kcm_display.la
+%{tde_tdelibdir}/kcm_display.so
+%{tde_tdelibdir}/kcm_energy.la
+%{tde_tdelibdir}/kcm_energy.so
+%{tde_tdelibdir}/kcm_filetypes.la
+%{tde_tdelibdir}/kcm_filetypes.so
+%{tde_tdelibdir}/kcm_fontinst.la
+%{tde_tdelibdir}/kcm_fontinst.so
+%{tde_tdelibdir}/kcm_fonts.la
+%{tde_tdelibdir}/kcm_fonts.so
+%{tde_tdelibdir}/kcm_hwmanager.la
+%{tde_tdelibdir}/kcm_hwmanager.so
+%{tde_tdelibdir}/kcm_icons.la
+%{tde_tdelibdir}/kcm_icons.so
+%{tde_tdelibdir}/kcm_info.la
+%{tde_tdelibdir}/kcm_info.so
+%{tde_tdelibdir}/kcm_input.la
+%{tde_tdelibdir}/kcm_input.so
+%{tde_tdelibdir}/kcm_ioslaveinfo.la
+%{tde_tdelibdir}/kcm_ioslaveinfo.so
+%{tde_tdelibdir}/kcm_joystick.la
+%{tde_tdelibdir}/kcm_joystick.so
+%{tde_tdelibdir}/kcm_kded.la
+%{tde_tdelibdir}/kcm_kded.so
+%{tde_tdelibdir}/kcm_[kt]dm.la
+%{tde_tdelibdir}/kcm_[kt]dm.so
+%{tde_tdelibdir}/kcm_tdednssd.so
+%{tde_tdelibdir}/kcm_tdednssd.la
+%{tde_tdelibdir}/kcm_keys.la
+%{tde_tdelibdir}/kcm_keys.so
+%{tde_tdelibdir}/kcm_kicker.la
+%{tde_tdelibdir}/kcm_kicker.so
+%{tde_tdelibdir}/kcm_tdeio.la
+%{tde_tdelibdir}/kcm_tdeio.so
+%{tde_tdelibdir}/kcm_knotify.la
+%{tde_tdelibdir}/kcm_knotify.so
+%{tde_tdelibdir}/kcm_konqhtml.la
+%{tde_tdelibdir}/kcm_konqhtml.so
+%{tde_tdelibdir}/kcm_konq.la
+%{tde_tdelibdir}/kcm_konq.so
+%{tde_tdelibdir}/kcm_kthememanager.la
+%{tde_tdelibdir}/kcm_kthememanager.so
+%{tde_tdelibdir}/kcm_kurifilt.la
+%{tde_tdelibdir}/kcm_kurifilt.so
+%{tde_tdelibdir}/kcm_launch.la
+%{tde_tdelibdir}/kcm_launch.so
+%{tde_tdelibdir}/kcm_locale.la
+%{tde_tdelibdir}/kcm_locale.so
+%{tde_tdelibdir}/kcm_nic.la
+%{tde_tdelibdir}/kcm_nic.so
+%{tde_tdelibdir}/kcm_performance.la
+%{tde_tdelibdir}/kcm_performance.so
+%{tde_tdelibdir}/kcm_privacy.la
+%{tde_tdelibdir}/kcm_privacy.so
+%{tde_tdelibdir}/kcm_screensaver.la
+%{tde_tdelibdir}/kcm_screensaver.so
+%{tde_tdelibdir}/kcm_smserver.la
+%{tde_tdelibdir}/kcm_smserver.so
+%{tde_tdelibdir}/kcm_spellchecking.la
+%{tde_tdelibdir}/kcm_spellchecking.so
+%{tde_tdelibdir}/kcm_style.la
+%{tde_tdelibdir}/kcm_style.so
+%{tde_tdelibdir}/kcm_taskbar.la
+%{tde_tdelibdir}/kcm_taskbar.so
+%{tde_tdelibdir}/kcm_usb.la
+%{tde_tdelibdir}/kcm_usb.so
+%{tde_tdelibdir}/kcm_view1394.la
+%{tde_tdelibdir}/kcm_view1394.so
+%{tde_tdelibdir}/kcm_xinerama.la
+%{tde_tdelibdir}/kcm_xinerama.so
+%{tde_tdelibdir}/kcontrol.la
+%{tde_tdelibdir}/kcontrol.so
+%{tde_tdelibdir}/tdefile_font.la
+%{tde_tdelibdir}/tdefile_font.so
+%{tde_tdelibdir}/tdeio_fonts.la
+%{tde_tdelibdir}/tdeio_fonts.so
+%{tde_tdelibdir}/kstyle_keramik_config.la
+%{tde_tdelibdir}/kstyle_keramik_config.so
+%{tde_tdelibdir}/libtdefontviewpart.la
+%{tde_tdelibdir}/libtdefontviewpart.so
+%{tde_tdelibdir}/libtdeshorturifilter.la
+%{tde_tdelibdir}/libtdeshorturifilter.so
+%{tde_tdelibdir}/libkuriikwsfilter.la
+%{tde_tdelibdir}/libkuriikwsfilter.so
+%{tde_tdelibdir}/libkurisearchfilter.la
+%{tde_tdelibdir}/libkurisearchfilter.so
+%{tde_tdelibdir}/liblocaldomainurifilter.la
+%{tde_tdelibdir}/liblocaldomainurifilter.so
+%{tde_libdir}/lib[kt]deinit_kaccess.la
+%{tde_libdir}/lib[kt]deinit_kaccess.so
+%{tde_libdir}/lib[kt]deinit_kcontrol.la
+%{tde_libdir}/lib[kt]deinit_kcontrol.so
+%{tde_libdir}/libtdefontinst.so.*
+%{tde_tdeappdir}/arts.desktop
+%{tde_tdeappdir}/background.desktop
+%{tde_tdeappdir}/bell.desktop
+%{tde_tdeappdir}/cache.desktop
+%{tde_tdeappdir}/cdinfo.desktop
+%{tde_tdeappdir}/clock.desktop
+%{tde_tdeappdir}/colors.desktop
+%{tde_tdeappdir}/componentchooser.desktop
+%{tde_tdeappdir}/cookies.desktop
+%{tde_tdeappdir}/crypto.desktop
+%{tde_tdeappdir}/desktopbehavior.desktop
+%{tde_tdeappdir}/desktop.desktop
+%{tde_tdeappdir}/desktoppath.desktop
+%{tde_tdeappdir}/devices.desktop
+%{tde_tdeappdir}/display.desktop
+%{tde_tdeappdir}/dma.desktop
+%{tde_tdeappdir}/ebrowsing.desktop
+%{tde_tdeappdir}/filebrowser.desktop
+%{tde_tdeappdir}/filetypes.desktop
+%{tde_tdeappdir}/fonts.desktop
+%{tde_tdeappdir}/hwmanager.desktop
+%{tde_tdeappdir}/icons.desktop
+%{tde_tdeappdir}/installktheme.desktop
+%{tde_tdeappdir}/interrupts.desktop
+%{tde_tdeappdir}/ioports.desktop
+%{tde_tdeappdir}/ioslaveinfo.desktop
+%{tde_tdeappdir}/joystick.desktop
+%{tde_tdeappdir}/kcm_tdednssd.desktop
+%{tde_tdeappdir}/kcmaccess.desktop
+%{tde_tdeappdir}/kcmcss.desktop
+%{tde_tdeappdir}/kcmfontinst.desktop
+%{tde_tdeappdir}/kcmkded.desktop
+%{tde_tdeappdir}/kcmlaunch.desktop
+%{tde_tdeappdir}/kcmnotify.desktop
+%{tde_tdeappdir}/kcmperformance.desktop
+%{tde_tdeappdir}/kcmsmserver.desktop
+%{tde_tdeappdir}/kcmtaskbar.desktop
+%{tde_tdeappdir}/kcmusb.desktop
+%{tde_tdeappdir}/kcmview1394.desktop
+%{tde_tdeappdir}/KControl.desktop
+%{tde_tdeappdir}/[kt]dm.desktop
+%{tde_tdeappdir}/keys.desktop
+%{tde_tdeappdir}/tdefontview.desktop
+%{tde_tdeappdir}/tdehtml_behavior.desktop
+%{tde_tdeappdir}/tdehtml_fonts.desktop
+%{tde_tdeappdir}/tdehtml_java_js.desktop
+%{tde_tdeappdir}/kinfocenter.desktop
+%{tde_tdeappdir}/kthememanager.desktop
+%{tde_tdeappdir}/lanbrowser.desktop
+%{tde_tdeappdir}/language.desktop
+%{tde_tdeappdir}/media.desktop
+%{tde_tdeappdir}/memory.desktop
+%{tde_tdeappdir}/mouse.desktop
+%{tde_tdeappdir}/netpref.desktop
+%{tde_tdeappdir}/nic.desktop
+%{tde_tdeappdir}/opengl.desktop
+%{tde_tdeappdir}/panel_appearance.desktop
+%{tde_tdeappdir}/panel.desktop
+%{tde_tdeappdir}/partitions.desktop
+%{tde_tdeappdir}/pci.desktop
+%{tde_tdeappdir}/privacy.desktop
+%{tde_tdeappdir}/processor.desktop
+%{tde_tdeappdir}/proxy.desktop
+%{tde_tdeappdir}/screensaver.desktop
+%{tde_tdeappdir}/scsi.desktop
+%{tde_tdeappdir}/smbstatus.desktop
+%{tde_tdeappdir}/sound.desktop
+%{tde_tdeappdir}/spellchecking.desktop
+%{tde_tdeappdir}/style.desktop
+%{tde_tdeappdir}/useragent.desktop
+%{tde_tdeappdir}/xserver.desktop
+%{tde_datadir}/applnk/.hidden/energy.desktop
+%{tde_datadir}/applnk/.hidden/fileappearance.desktop
+%{tde_datadir}/applnk/.hidden/filebehavior.desktop
+%{tde_datadir}/applnk/.hidden/filepreviews.desktop
+%{tde_datadir}/applnk/.hidden/kcmkonqyperformance.desktop
+%{tde_datadir}/applnk/.hidden/kicker_config_appearance.desktop
+%{tde_datadir}/applnk/.hidden/kicker_config.desktop
+%{tde_datadir}/applnk/.hidden/smb.desktop
+%{tde_datadir}/applnk/.hidden/xinerama.desktop
+%{tde_datadir}/applnk/Settings/LookNFeel/
+%{tde_datadir}/applnk/Settings/WebBrowsing/tdehtml_appearance.desktop
+%{tde_datadir}/applnk/Settings/WebBrowsing/nsplugin.desktop
+%{tde_datadir}/applnk/Settings/WebBrowsing/smb.desktop
+%{tde_datadir}/apps/kcm_componentchooser/kcm_browser.desktop
+%{tde_datadir}/apps/kcm_componentchooser/kcm_kemail.desktop
+%{tde_datadir}/apps/kcm_componentchooser/kcm_terminal.desktop
+%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop
+%{tde_datadir}/mimelnk/application/x-ktheme.desktop
+%{tde_datadir}/mimelnk/fonts/folder.desktop
+%{tde_datadir}/mimelnk/fonts/package.desktop
+%{tde_datadir}/mimelnk/fonts/system-folder.desktop
+%{tde_datadir}/services/fonts.protocol
+%{tde_datadir}/services/fontthumbnail.desktop
+%{tde_datadir}/services/kaccess.desktop
+%{tde_datadir}/services/tdefile_font.desktop
+%{tde_datadir}/services/tdefontviewpart.desktop
+%{tde_datadir}/services/tdeshorturifilter.desktop
+%{tde_datadir}/services/kuriikwsfilter.desktop
+%{tde_datadir}/services/kurisearchfilter.desktop
+%{tde_datadir}/services/localdomainurifilter.desktop
+
+%{tde_datadir}/apps/usb.ids
+%{tde_datadir}/apps/kcmview1394/oui.db
+
+# The following features are not compiled under RHEL 5 and older
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%{tde_bindir}/tderandrtray
+%{tde_tdelibdir}/kcm_displayconfig.la
+%{tde_tdelibdir}/kcm_displayconfig.so
+%{tde_tdelibdir}/kcm_iccconfig.la
+%{tde_tdelibdir}/kcm_iccconfig.so
+%{tde_tdelibdir}/kcm_randr.la
+%{tde_tdelibdir}/kcm_randr.so
+%{tde_tdeappdir}/displayconfig.desktop
+%{tde_tdeappdir}/iccconfig.desktop
+%{tde_tdeappdir}/tderandrtray.desktop
+%{tde_datadir}/applnk/.hidden/randr.desktop
+%{tde_datadir}/autostart/tderandrtray-autostart.desktop
+%endif
+
+%post -n trinity-kcontrol
+/sbin/ldconfig || :
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+%postun -n trinity-kcontrol
+/sbin/ldconfig || :
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+##########
+
+%package -n trinity-kcontrol-devel
+Summary: Development files for kcontrol
+Group: Development/Libraries
+Requires: trinity-kcontrol = %{version}-%{release}
+
+%description -n trinity-kcontrol-devel
+%{summary}
+
+%files -n trinity-kcontrol-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libtdefontinst.la
+%{tde_libdir}/libtdefontinst.so
+
+%post -n trinity-kcontrol-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kcontrol-devel
+/sbin/ldconfig || :
+
+##########
+
+%package bin
+Summary: core binaries for the TDE base module
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+Requires: pam
+
+Provides: tdebase-bin = %{version}-%{release}
+Obsoletes: tdebase-bin < %{version}-%{release}
+
+%description bin
+This package contains miscellaneous programs needed by other
+TDE applications, particularly those in the TDE base module.
+
+%files bin
+%defattr(-,root,root,-)
+%{tde_bindir}/krootbacking
+#%{tde_bindir}/tdeinit_phase1
+%if 0%{?with_tsak}
+%attr(4511,root,root) %{tde_bindir}/[kt]dmtsak
+%{tde_bindir}/tsak
+%endif
+%{tde_bindir}/kdebugdialog
+%{tde_bindir}/kreadconfig
+%{tde_bindir}/kwriteconfig
+%{tde_bindir}/kstart
+%{_sysconfdir}/trinity/kxkb_groups
+%{tde_bindir}/drkonqi
+%{tde_bindir}/crashtest
+%{tde_bindir}/kapplymousetheme
+%{tde_bindir}/kblankscrn.kss
+%attr(4755,root,root) %{tde_bindir}/kcheckpass
+%{tde_bindir}/kcminit
+%{tde_bindir}/kcminit_startup
+%{tde_bindir}/kdcop
+%{tde_bindir}/[kt]desu
+%attr(0755,root,root) %{tde_bindir}/[kt]desud
+%{tde_bindir}/kdialog
+%{tde_bindir}/khotkeys
+%{tde_bindir}/knetattach
+%{tde_bindir}/krandom.kss
+%{tde_bindir}/ksystraycmd
+%{tde_bindir}/kxkb
+%{tde_libdir}/tdeconf_update_bin/khotkeys_update
+%{tde_tdelibdir}/kcminit.la
+%{tde_tdelibdir}/kcminit.so
+%{tde_tdelibdir}/kcminit_startup.la
+%{tde_tdelibdir}/kcminit_startup.so
+%{tde_tdelibdir}/kcm_keyboard.la
+%{tde_tdelibdir}/kcm_keyboard.so
+%{tde_tdelibdir}/kcm_khotkeys_init.la
+%{tde_tdelibdir}/kcm_khotkeys_init.so
+%{tde_tdelibdir}/kcm_khotkeys.la
+%{tde_tdelibdir}/kcm_khotkeys.so
+%{tde_tdelibdir}/kded_khotkeys.la
+%{tde_tdelibdir}/kded_khotkeys.so
+%{tde_tdelibdir}/kgreet_classic.la
+%{tde_tdelibdir}/kgreet_classic.so
+%{tde_tdelibdir}/kgreet_winbind.la
+%{tde_tdelibdir}/kgreet_winbind.so
+%{tde_tdelibdir}/khotkeys.la
+%{tde_tdelibdir}/khotkeys.so
+%{tde_tdelibdir}/khotkeys_arts.la
+%{tde_tdelibdir}/khotkeys_arts.so
+%{tde_tdelibdir}/kxkb.la
+%{tde_tdelibdir}/kxkb.so
+%{tde_libdir}/lib[kt]deinit_kcminit.la
+%{tde_libdir}/lib[kt]deinit_kcminit.so
+%{tde_libdir}/lib[kt]deinit_kcminit_startup.la
+%{tde_libdir}/lib[kt]deinit_kcminit_startup.so
+%{tde_libdir}/lib[kt]deinit_khotkeys.la
+%{tde_libdir}/lib[kt]deinit_khotkeys.so
+%{tde_libdir}/lib[kt]deinit_kxkb.la
+%{tde_libdir}/lib[kt]deinit_kxkb.so
+%{tde_libdir}/libkhotkeys_shared.so.*
+%{tde_tdeappdir}/keyboard.desktop
+%{tde_tdeappdir}/keyboard_layout.desktop
+%{tde_tdeappdir}/khotkeys.desktop
+%{tde_tdeappdir}/knetattach.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/
+%{tde_datadir}/apps/drkonqi/
+%{tde_datadir}/apps/tdeconf_update/khotkeys_32b1_update.upd
+%{tde_datadir}/apps/tdeconf_update/khotkeys_printscreen.upd
+%{tde_datadir}/apps/tdeconf_update/konqueror_gestures_trinity21_update.upd
+%{tde_datadir}/apps/kdcop/kdcopui.rc
+%{tde_datadir}/apps/khotkeys/
+%{tde_datadir}/services/kded/khotkeys.desktop
+%{tde_datadir}/services/kxkb.desktop
+%if 0%{?suse_version} == 0
+%{_sysconfdir}/pam.d/kcheckpass-trinity
+%{_sysconfdir}/pam.d/tdescreensaver-trinity
+%endif
+%{tde_tdedocdir}/HTML/en/kdcop/
+%{tde_tdedocdir}/HTML/en/kdebugdialog//
+%{tde_tdedocdir}/HTML/en/[kt]desu/
+%{tde_tdedocdir}/HTML/en/knetattach/
+%{tde_tdedocdir}/HTML/en/kxkb/
+
+%post bin
+/sbin/ldconfig || :
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+%postun bin
+/sbin/ldconfig || :
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+##########
+
+%package bin-devel
+Summary: Development files for core binaries for the TDE base module
+Group: Development/Libraries
+Requires: %{name}-bin = %{version}-%{release}
+
+Obsoletes: tdebase-bin-devel < %{version}-%{release}
+Provides: tdebase-bin-devel = %{version}-%{release}
+
+%description bin-devel
+%{summary}
+
+%files bin-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkhotkeys_shared.la
+%{tde_libdir}/libkhotkeys_shared.so
+
+%post bin-devel
+/sbin/ldconfig || :
+
+%postun bin-devel
+/sbin/ldconfig || :
+
+##########
+
+%package data
+Summary: shared data files for the TDE base module
+Group: Environment/Libraries
+Requires: %{name}-runtime-data-common = %{version}-%{release}
+
+Obsoletes: tdebase-data < %{version}-%{release}
+Provides: tdebase-data = %{version}-%{release}
+
+%description data
+This package contains the architecture-independent shared data files
+needed for a basic TDE desktop installation.
+
+%files data
+%defattr(-,root,root,-)
+%{_sysconfdir}/trinity/tdeshorturifilterrc
+%{tde_datadir}/applnk/.hidden/battery.desktop
+%{tde_datadir}/applnk/.hidden/bwarning.desktop
+%{tde_datadir}/applnk/.hidden/cwarning.desktop
+%{tde_datadir}/applnk/.hidden/.directory
+%{tde_datadir}/applnk/.hidden/email.desktop
+%{tde_datadir}/applnk/.hidden/kcmkonq.desktop
+%{tde_datadir}/applnk/.hidden/kcmkxmlrpcd.desktop
+%{tde_datadir}/applnk/.hidden/konqhtml.desktop
+%{tde_datadir}/applnk/.hidden/passwords.desktop
+%{tde_datadir}/applnk/.hidden/power.desktop
+%{tde_datadir}/applnk/.hidden/socks.desktop
+%{tde_datadir}/applnk/.hidden/userinfo.desktop
+%{tde_datadir}/applnk/.hidden/virtualdesktops.desktop
+%{tde_datadir}/apps/kaccess/eventsrc
+%{tde_datadir}/apps/kcmcss/template.css
+%{tde_datadir}/apps/kcminput/
+%{tde_datadir}/apps/kcmkeys/
+%{tde_datadir}/apps/kcmlocale/pics/background.png
+%{tde_datadir}/apps/tdeconf_update/convertShortcuts.pl
+%{tde_datadir}/apps/tdeconf_update/tdeaccel.upd
+%{tde_datadir}/apps/tdeconf_update/kcmdisplayrc.upd
+%{tde_datadir}/apps/tdeconf_update/kuriikwsfilter.upd
+%{tde_datadir}/apps/tdeconf_update/mouse_cursor_theme.upd
+%{tde_datadir}/apps/tdeconf_update/socks.upd
+%{tde_datadir}/apps/kcontrol/
+%{tde_datadir}/apps/tdedisplay/
+%{tde_datadir}/apps/tdefontview/
+%{tde_datadir}/apps/kinfocenter/kinfocenterui.rc
+%{tde_datadir}/apps/kthememanager/themes/*
+%{tde_datadir}/icons/crystalsvg/*/apps/access.png
+%{tde_datadir}/icons/crystalsvg/*/apps/acroread.png
+%{tde_datadir}/icons/crystalsvg/*/apps/applixware.png
+%{tde_datadir}/icons/crystalsvg/*/apps/arts.png
+%{tde_datadir}/icons/crystalsvg/*/apps/background.png
+%{tde_datadir}/icons/crystalsvg/*/apps/bell.png
+%{tde_datadir}/icons/crystalsvg/*/apps/cache.png
+%{tde_datadir}/icons/crystalsvg/*/apps/clanbomber.png
+%{tde_datadir}/icons/crystalsvg/*/apps/clock.png
+%{tde_datadir}/icons/crystalsvg/*/apps/colors.png
+%{tde_datadir}/icons/crystalsvg/*/apps/date.png
+%{tde_datadir}/icons/crystalsvg/*/apps/email.png
+%{tde_datadir}/icons/crystalsvg/*/apps/energy.png
+%{tde_datadir}/icons/crystalsvg/*/apps/energy_star.png
+%{tde_datadir}/icons/crystalsvg/*/apps/filetypes.png
+%{tde_datadir}/icons/crystalsvg/*/apps/fonts.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gimp.png
+%{tde_datadir}/icons/crystalsvg/*/apps/help_index.png
+%{tde_datadir}/icons/crystalsvg/*/apps/hwinfo.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmdevices.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmkwm.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmmemory.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmpartitions.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmpci.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcontrol.png
+%{tde_datadir}/icons/crystalsvg/*/apps/[kt]dmconfig.png
+%{tde_datadir}/icons/crystalsvg/*/apps/key_bindings.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.png
+%{tde_datadir}/icons/crystalsvg/*/apps/tdescreensaver.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kthememgr.png
+%{tde_datadir}/icons/crystalsvg/*/apps/licq.png
+%{tde_datadir}/icons/crystalsvg/*/apps/linuxconf.png
+%{tde_datadir}/icons/crystalsvg/*/apps/locale.png
+%{tde_datadir}/icons/crystalsvg/*/apps/looknfeel.png
+%{tde_datadir}/icons/crystalsvg/*/apps/multimedia.png
+%{tde_datadir}/icons/crystalsvg/*/apps/netscape.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_applications.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_development.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_favourite.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_games.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_games_kids.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_multimedia.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_network.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_settings.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_toys.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_utilities.png
+%{tde_datadir}/icons/crystalsvg/*/apps/penguin.png
+%{tde_datadir}/icons/crystalsvg/*/apps/personal.png
+%{tde_datadir}/icons/crystalsvg/*/apps/phppg.png
+%{tde_datadir}/icons/crystalsvg/*/apps/proxy.png
+%{tde_datadir}/icons/crystalsvg/*/apps/pysol.png
+%{tde_datadir}/icons/crystalsvg/*/apps/randr.png
+%{tde_datadir}/icons/crystalsvg/*/apps/samba.png
+%{tde_datadir}/icons/crystalsvg/*/apps/staroffice.png
+%{tde_datadir}/icons/crystalsvg/*/apps/stylesheet.png
+%{tde_datadir}/icons/crystalsvg/*/apps/terminal.png
+%{tde_datadir}/icons/crystalsvg/*/apps/tux.png
+%{tde_datadir}/icons/crystalsvg/*/apps/wp.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xclock.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xfmail.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xmag.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xpaint.png
+%{tde_datadir}/icons/crystalsvg/scalable/apps/access.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/acroread.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/aim.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/aktion.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/antivirus.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/applixware.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/arts.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/background.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/bell.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/browser.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/cache.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/camera.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/clanbomber.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/clock.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/colors.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/core.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/date.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/display.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/download_manager.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/email.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/energy.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/error.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/fifteenpieces.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/filetypes.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/fonts.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/galeon.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/gnome_apps.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/hardware.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/hwinfo.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/ieee1394.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmdevices.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmkwm.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmx.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/locale.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/my_mac.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/netscape.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/openoffice.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/package_development.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/package_games_kids.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/package_toys.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/penguin.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/personal.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/quicktime.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/realplayer.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/samba.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/shell.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/staroffice.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/stylesheet.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/terminal.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/tux.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/wine.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/x.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/xapp.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/xcalc.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/xchat.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/xclock.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/xeyes.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/xpaint.svgz
+%{tde_datadir}/icons/crystalsvg/*/devices/laptop.png
+%{tde_datadir}/icons/crystalsvg/*/devices/laptop.svgz
+%{tde_datadir}/icons/crystalsvg/*/actions/newfont.png
+%{tde_datadir}/icons/crystalsvg/*/apps/abiword.png
+%{tde_datadir}/icons/crystalsvg/*/apps/agent.png
+%{tde_datadir}/icons/crystalsvg/*/apps/alevt.png
+%{tde_datadir}/icons/crystalsvg/*/apps/assistant.png
+%{tde_datadir}/icons/crystalsvg/*/apps/blender.png
+%{tde_datadir}/icons/crystalsvg/*/apps/bluefish.png
+%{tde_datadir}/icons/crystalsvg/*/apps/cookie.png
+%{tde_datadir}/icons/crystalsvg/*/apps/designer.png
+%{tde_datadir}/icons/crystalsvg/*/apps/dia.png
+%{tde_datadir}/icons/crystalsvg/*/apps/dlgedit.png
+%{tde_datadir}/icons/crystalsvg/*/apps/eclipse.png
+%{tde_datadir}/icons/crystalsvg/*/apps/edu_languages.png
+%{tde_datadir}/icons/crystalsvg/*/apps/edu_mathematics.png
+%{tde_datadir}/icons/crystalsvg/*/apps/edu_miscellaneous.png
+%{tde_datadir}/icons/crystalsvg/*/apps/edu_science.png
+%{tde_datadir}/icons/crystalsvg/*/apps/emacs.png
+%{tde_datadir}/icons/crystalsvg/*/apps/enhanced_browsing.png
+%{tde_datadir}/icons/crystalsvg/*/apps/evolution.png
+%{tde_datadir}/icons/crystalsvg/*/apps/fifteenpieces.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gabber.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gaim.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gnome_apps.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gnomemeeting.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gnucash.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gnumeric.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gv.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gvim.png
+%{tde_datadir}/icons/crystalsvg/*/apps/icons.png
+%{tde_datadir}/icons/crystalsvg/*/apps/iconthemes.png
+%{tde_datadir}/icons/crystalsvg/*/apps/ieee1394.png
+%{tde_datadir}/icons/crystalsvg/*/apps/input_devices_settings.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmkicker.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmmidi.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmprocessor.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmscsi.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmsound.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmsystem.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmx.png
+%{tde_datadir}/icons/crystalsvg/*/apps/keyboard.png
+%{tde_datadir}/icons/crystalsvg/*/apps/keyboard_layout.png
+%{tde_datadir}/icons/crystalsvg/*/apps/knotify.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kvirc.png
+%{tde_datadir}/icons/crystalsvg/*/apps/linguist.png
+%{tde_datadir}/icons/crystalsvg/*/apps/lyx.png
+%{tde_datadir}/icons/crystalsvg/*/apps/mac.png
+%{tde_datadir}/icons/crystalsvg/*/apps/mathematica.png
+%{tde_datadir}/icons/crystalsvg/*/apps/nedit.png
+%{tde_datadir}/icons/crystalsvg/*/apps/opera.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_application.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_editors.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_edutainment.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_games_arcade.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_games_board.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_games_card.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_games_strategy.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_graphics.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_system.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_wordprocessing.png
+%{tde_datadir}/icons/crystalsvg/*/apps/pan.png
+%{tde_datadir}/icons/crystalsvg/*/apps/panel_settings.png
+%{tde_datadir}/icons/crystalsvg/*/apps/plan.png
+%{tde_datadir}/icons/crystalsvg/*/apps/planner.png
+%{tde_datadir}/icons/crystalsvg/*/apps/pybliographic.png
+%{tde_datadir}/icons/crystalsvg/*/apps/realplayer.png
+%{tde_datadir}/icons/crystalsvg/*/apps/remote.png
+%{tde_datadir}/icons/crystalsvg/*/apps/scribus.png
+%{tde_datadir}/icons/crystalsvg/*/apps/sodipodi.png
+%{tde_datadir}/icons/crystalsvg/*/apps/style.png
+%{tde_datadir}/icons/crystalsvg/*/apps/usb.png
+%{tde_datadir}/icons/crystalsvg/*/apps/vnc.png
+%{tde_datadir}/icons/crystalsvg/*/apps/wabi.png
+%{tde_datadir}/icons/crystalsvg/*/apps/wine.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xcalc.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xchat.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xclipboard.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xconsole.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xedit.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xemacs.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xeyes.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xfig.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xload.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xmms.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xosview.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xv.png
+%{tde_datadir}/icons/crystalsvg/*/apps/galeon.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmdrkonqi.png
+%{tde_datadir}/icons/crystalsvg/*/apps/pinguin.png
+%{tde_datadir}/icons/crystalsvg/*/apps/x.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xapp.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xawtv.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmopengl.png
+%{tde_datadir}/icons/crystalsvg/*/apps/wmaker_apps.png
+%{tde_datadir}/icons/crystalsvg/*/apps/qtella.png
+%{tde_datadir}/services/searchproviders
+%{tde_datadir}/services/useragentstrings/*.desktop
+%{tde_datadir}/servicetypes/searchprovider.desktop
+%{tde_datadir}/servicetypes/uasprovider.desktop
+%exclude %{tde_datadir}/sounds/pop.wav
+%{tde_datadir}/sounds/
+%{tde_datadir}/wallpapers/*
+
+%if "%{tde_prefix}" != "/usr"
+%{tde_prefix}/etc/xdg/menus/applications-merged/tde-essential.menu
+%{tde_prefix}/etc/xdg/menus/tde-information.menu
+%{tde_prefix}/etc/xdg/menus/tde-screensavers.menu
+%{tde_prefix}/etc/xdg/menus/tde-settings.menu
+%else
+%{_sysconfdir}/xdg/menus/applications-merged/tde-essential.menu
+%{_sysconfdir}/xdg/menus/tde-information.menu
+%{_sysconfdir}/xdg/menus/tde-screensavers.menu
+%{_sysconfdir}/xdg/menus/tde-settings.menu
+%endif
+
+%{tde_tdedocdir}/HTML/en/kcontrol/
+%exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/
+%{tde_tdedocdir}/HTML/en/kinfocenter/
+
+%post data
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+%if "%{distribution}" == "Mandriva Linux"
+# Mandriva-specific: we have to choose a background for current distribution variant (Free, One, Powerpack, ...)
+# First, we read the "product" key in /etc/product.id
+eval $(tr "," ";" </etc/product.id) 2>/dev/null
+# Then, we create a symbolic link to the corresponding background
+if [ -r "%{_datadir}/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" ]; then
+ %__ln -sf "%{_datadir}/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}"
+fi
+%endif
+
+%if "%{distribution}" == "Mageia"
+if [ ! -r "%{tde_bg}" ] && [ -r "%{_datadir}/mga/backgrounds/Mageia-Default-1920x1440.png" ]; then
+ %__ln -sf "%{_datadir}/mga/backgrounds/Mageia-Default-1920x1440.png" "%{tde_bg}"
+fi
+%endif
+
+%postun data
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+##########
+
+%package tdeio-plugins
+Summary: core I/O slaves for TDE
+Group: Applications/Utilities
+Requires: trinity-kdesktop = %{version}-%{release}
+Requires: cyrus-sasl
+Requires: psmisc
+%if 0%{?rhel} == 4 || 0%{?suse_version}
+Requires: cryptsetup
+%else
+Requires: cryptsetup-luks
+%endif
+
+Obsoletes: tdebase-kio-plugins < %{version}-%{release}
+Provides: tdebase-kio-plugins = %{version}-%{release}
+Obsoletes: trinity-tdebase-kio-plugins < %{version}-%{release}
+Provides: trinity-tdebase-kio-plugins = %{version}-%{release}
+
+%description tdeio-plugins
+This package includes the base tdeioslaves. They include, amongst many
+others, file, http, and ftp.
+
+It also includes the media tdeioslave, which handles removable devices,
+and which works best with udev, udisks and pmount. Media
+also extends the functionality of many other tdeioslaves. To use this
+service, please make sure that your user is a member of the plugdev
+group.
+
+%files tdeio-plugins
+%defattr(-,root,root,-)
+%{tde_bindir}/tdeio_media_mounthelper
+%{tde_bindir}/ktrash
+%{tde_tdelibdir}/cursorthumbnail.la
+%{tde_tdelibdir}/cursorthumbnail.so
+%{tde_tdelibdir}/djvuthumbnail.la
+%{tde_tdelibdir}/djvuthumbnail.so
+%{tde_tdelibdir}/htmlthumbnail.la
+%{tde_tdelibdir}/htmlthumbnail.so
+%{tde_tdelibdir}/imagethumbnail.la
+%{tde_tdelibdir}/imagethumbnail.so
+%{tde_tdelibdir}/kcm_cgi.la
+%{tde_tdelibdir}/kcm_cgi.so
+%{tde_tdelibdir}/kcm_media.la
+%{tde_tdelibdir}/kcm_media.so
+%{tde_tdelibdir}/kded_homedirnotify.la
+%{tde_tdelibdir}/kded_homedirnotify.so
+%{tde_tdelibdir}/kded_mediamanager.la
+%{tde_tdelibdir}/kded_mediamanager.so
+%{tde_tdelibdir}/kded_medianotifier.la
+%{tde_tdelibdir}/kded_medianotifier.so
+%{tde_tdelibdir}/kded_remotedirnotify.la
+%{tde_tdelibdir}/kded_remotedirnotify.so
+%{tde_tdelibdir}/kded_systemdirnotify.la
+%{tde_tdelibdir}/kded_systemdirnotify.so
+%{tde_tdelibdir}/tdefile_media.la
+%{tde_tdelibdir}/tdefile_media.so
+%{tde_tdelibdir}/tdefile_trash.la
+%{tde_tdelibdir}/tdefile_trash.so
+%{tde_tdelibdir}/tdeio_about.la
+%{tde_tdelibdir}/tdeio_about.so
+%{tde_tdelibdir}/tdeio_cgi.la
+%{tde_tdelibdir}/tdeio_cgi.so
+%{tde_tdelibdir}/tdeio_filter.la
+%{tde_tdelibdir}/tdeio_filter.so
+%{tde_tdelibdir}/tdeio_finger.la
+%{tde_tdelibdir}/tdeio_finger.so
+%{tde_tdelibdir}/tdeio_fish.la
+%{tde_tdelibdir}/tdeio_fish.so
+%{tde_tdelibdir}/tdeio_floppy.la
+%{tde_tdelibdir}/tdeio_floppy.so
+%{tde_tdelibdir}/tdeio_home.la
+%{tde_tdelibdir}/tdeio_home.so
+%{tde_tdelibdir}/tdeio_info.la
+%{tde_tdelibdir}/tdeio_info.so
+%{tde_tdelibdir}/tdeio_mac.la
+%{tde_tdelibdir}/tdeio_mac.so
+%{tde_tdelibdir}/tdeio_man.la
+%{tde_tdelibdir}/tdeio_man.so
+%{tde_tdelibdir}/tdeio_media.la
+%{tde_tdelibdir}/tdeio_media.so
+%{tde_tdelibdir}/tdeio_nfs.la
+%{tde_tdelibdir}/tdeio_nfs.so
+%{tde_tdelibdir}/tdeio_remote.la
+%{tde_tdelibdir}/tdeio_remote.so
+%{tde_tdelibdir}/tdeio_settings.la
+%{tde_tdelibdir}/tdeio_settings.so
+%{tde_tdelibdir}/tdeio_sftp.la
+%{tde_tdelibdir}/tdeio_sftp.so
+%{tde_tdelibdir}/tdeio_system.la
+%{tde_tdelibdir}/tdeio_system.so
+%{tde_tdelibdir}/tdeio_tar.la
+%{tde_tdelibdir}/tdeio_tar.so
+%{tde_tdelibdir}/tdeio_thumbnail.la
+%{tde_tdelibdir}/tdeio_thumbnail.so
+%{tde_tdelibdir}/tdeio_trash.la
+%{tde_tdelibdir}/tdeio_trash.so
+%{tde_tdelibdir}/libkmanpart.la
+%{tde_tdelibdir}/libkmanpart.so
+%{tde_tdelibdir}/textthumbnail.la
+%{tde_tdelibdir}/textthumbnail.so
+%{tde_tdeappdir}/kcmcgi.desktop
+%{tde_datadir}/apps/tdeio_finger/tdeio_finger.css
+%{tde_datadir}/apps/tdeio_finger/tdeio_finger.pl
+%{tde_datadir}/apps/tdeio_info/kde-info2html
+%{tde_datadir}/apps/tdeio_info/kde-info2html.conf
+%{tde_datadir}/apps/tdeio_man/tdeio_man.css
+%{tde_datadir}/apps/systemview/*.desktop
+%{tde_datadir}/config.kcfg/mediamanagersettings.kcfg
+%{tde_datadir}/mimelnk/application/x-smb-server.desktop
+%{tde_datadir}/mimelnk/inode/system_directory.desktop
+%{tde_datadir}/mimelnk/media/*.desktop
+%{tde_datadir}/services/about.protocol
+%{tde_datadir}/services/applications.protocol
+%{tde_datadir}/services/ar.protocol
+%{tde_datadir}/services/bzip.protocol
+%{tde_datadir}/services/bzip2.protocol
+%{tde_datadir}/services/cgi.protocol
+%{tde_datadir}/services/cursorthumbnail.desktop
+%{tde_datadir}/services/djvuthumbnail.desktop
+%{tde_datadir}/services/finger.protocol
+%{tde_datadir}/services/fish.protocol
+%{tde_datadir}/services/floppy.protocol
+%{tde_datadir}/services/gzip.protocol
+%{tde_datadir}/services/home.protocol
+%{tde_datadir}/services/htmlthumbnail.desktop
+%{tde_datadir}/services/imagethumbnail.desktop
+%{tde_datadir}/services/info.protocol
+%{tde_datadir}/services/kded/homedirnotify.desktop
+%{tde_datadir}/services/kded/mediamanager.desktop
+%{tde_datadir}/services/kded/medianotifier.desktop
+%{tde_datadir}/services/kded/remotedirnotify.desktop
+%{tde_datadir}/services/kded/systemdirnotify.desktop
+%{tde_datadir}/services/tdefile_media.desktop
+%{tde_datadir}/services/tdefile_trash_system.desktop
+%{tde_datadir}/services/lzma.protocol
+%{tde_datadir}/services/kmanpart.desktop
+%{tde_datadir}/services/mac.protocol
+%{tde_datadir}/services/man.protocol
+%{tde_datadir}/services/media.protocol
+%{tde_datadir}/services/nfs.protocol
+%{tde_datadir}/services/nxfish.protocol
+%{tde_datadir}/services/programs.protocol
+%{tde_datadir}/services/remote.protocol
+%{tde_datadir}/services/settings.protocol
+%{tde_datadir}/services/sftp.protocol
+%{tde_datadir}/services/system.protocol
+%{tde_datadir}/services/tar.protocol
+%{tde_datadir}/services/textthumbnail.desktop
+%{tde_datadir}/services/thumbnail.protocol
+%{tde_datadir}/services/trash.protocol
+%{tde_datadir}/services/xz.protocol
+%{tde_datadir}/services/zip.protocol
+%{tde_datadir}/servicetypes/thumbcreator.desktop
+%{tde_datadir}/services/tdefile_trash.desktop
+%{tde_tdedocdir}/HTML/en/tdeioslave/
+%if 0%{?with_exr}
+%{tde_tdelibdir}/exrthumbnail.la
+%{tde_tdelibdir}/exrthumbnail.so
+%{tde_datadir}/services/exrthumbnail.desktop
+%endif
+# HWManager
+%{tde_tdelibdir}/media_propsdlgplugin.la
+%{tde_tdelibdir}/media_propsdlgplugin.so
+%{tde_datadir}/services/media_propsdlgplugin.desktop
+
+
+%post tdeio-plugins
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+%postun tdeio-plugins
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+
+##########
+
+%package -n trinity-kdepasswd
+Summary: password changer for TDE
+Group: Applications/Utilities
+
+%description -n trinity-kdepasswd
+This is a simple application which allows users to change their
+system passwords.
+
+%files -n trinity-kdepasswd
+%defattr(-,root,root,-)
+%{tde_bindir}/kdepasswd
+%{tde_tdelibdir}/kcm_useraccount.la
+%{tde_tdelibdir}/kcm_useraccount.so
+%{tde_tdeappdir}/kcm_useraccount.desktop
+%{tde_tdeappdir}/kdepasswd.desktop
+%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default1.png
+%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default2.png
+%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default3.png
+%exclude %{tde_datadir}/apps/[kt]dm/pics/users/root1.png
+%{tde_datadir}/apps/[kt]dm/pics/users/*.png
+%{tde_datadir}/config.kcfg/kcm_useraccount.kcfg
+%{tde_datadir}/config.kcfg/kcm_useraccount_pass.kcfg
+
+%post -n trinity-kdepasswd
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+%postun -n trinity-kdepasswd
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+##########
+
+%package -n trinity-tdeprint
+Summary: print system for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+Requires: psutils
+
+%description -n trinity-tdeprint
+This package contains the TDE printing subsystem. It can use CUPS,
+lpd-ng or the traditional lpd. It also includes support for fax and
+pdf printing.
+
+Installation of smbclient will make you able to use smb shared printers.
+
+%files -n trinity-tdeprint
+%defattr(-,root,root,-)
+%{tde_bindir}/[kt]deprintfax
+%{tde_bindir}/kjobviewer
+%{tde_bindir}/kprinter
+%{tde_tdelibdir}/kcm_printmgr.la
+%{tde_tdelibdir}/kcm_printmgr.so
+%{tde_tdelibdir}/tdeio_print.la
+%{tde_tdelibdir}/tdeio_print.so
+%{tde_tdelibdir}/kjobviewer.la
+%{tde_tdelibdir}/kjobviewer.so
+%{tde_tdelibdir}/kprinter.la
+%{tde_tdelibdir}/kprinter.so
+%{tde_tdelibdir}/lib[kt]deprint_part.la
+%{tde_tdelibdir}/lib[kt]deprint_part.so
+%{tde_libdir}/lib[kt]deinit_kjobviewer.la
+%{tde_libdir}/lib[kt]deinit_kjobviewer.so
+%{tde_libdir}/lib[kt]deinit_kprinter.la
+%{tde_libdir}/lib[kt]deinit_kprinter.so
+%{tde_tdeappdir}/[kt]deprintfax.desktop
+%{tde_tdeappdir}/[kt]jobviewer.desktop
+%{tde_tdeappdir}/printers.desktop
+%{tde_datadir}/apps/[kt]deprint/
+%{tde_datadir}/apps/[kt]deprintfax/
+%{tde_datadir}/apps/[kt]jobviewer/
+%{tde_datadir}/apps/[kt]deprint_part/tdeprint_part.rc
+%{tde_datadir}/icons/hicolor/*/apps/tdeprintfax.png
+%{tde_datadir}/icons/hicolor/*/apps/kjobviewer.png
+%{tde_datadir}/icons/hicolor/*/apps/printmgr.png
+%{tde_datadir}/icons/hicolor/scalable/apps/tdeprintfax.svgz
+%{tde_datadir}/icons/hicolor/scalable/apps/kjobviewer.svgz
+%{tde_datadir}/icons/hicolor/scalable/apps/printmgr.svgz
+%{tde_datadir}/mimelnk/print/class.desktop
+%{tde_datadir}/mimelnk/print/driver.desktop
+%{tde_datadir}/mimelnk/print/folder.desktop
+%{tde_datadir}/mimelnk/print/jobs.desktop
+%{tde_datadir}/mimelnk/print/manager.desktop
+%{tde_datadir}/mimelnk/print/printer.desktop
+%{tde_datadir}/mimelnk/print/printermodel.desktop
+%{tde_datadir}/services/tdeprint_part.desktop
+%{tde_datadir}/services/print.protocol
+%{tde_datadir}/services/printdb.protocol
+%{tde_tdedocdir}/HTML/en/[kt]deprint/
+
+%post -n trinity-tdeprint
+/sbin/ldconfig || :
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+%postun -n trinity-tdeprint
+/sbin/ldconfig || :
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+##########
+
+%package -n trinity-kdesktop
+Summary: miscellaneous binaries and files for the TDE desktop
+Group: Applications/Utilities
+Requires: %{name}-bin = %{version}-%{release}
+Requires: %{name}-data = %{version}-%{release}
+Requires: trinity-libkonq = %{version}-%{release}
+Requires: eject
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+Requires: xdg-utils
+%endif
+
+%description -n trinity-kdesktop
+This package contains miscellaneous binaries and files integral to
+the TDE desktop.
+
+%files -n trinity-kdesktop
+%defattr(-,root,root,-)
+%{_sysconfdir}/trinity/kdesktop_custom_menu1
+%{_sysconfdir}/trinity/kdesktop_custom_menu2
+%{tde_bindir}/kcheckrunning
+%{tde_bindir}/kxdglauncher
+%{tde_bindir}/kdeeject
+%{tde_bindir}/kdesktop
+%{tde_bindir}/kdesktop_lock
+%{tde_bindir}/kwebdesktop
+%{tde_tdelibdir}/kdesktop.la
+%{tde_tdelibdir}/kdesktop.so
+%{tde_libdir}/lib[kt]deinit_kdesktop.la
+%{tde_libdir}/lib[kt]deinit_kdesktop.so
+%{tde_datadir}/apps/kdesktop/
+%{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop
+%{tde_datadir}/autostart/kdesktop.desktop
+%{tde_datadir}/config.kcfg/kdesktop.kcfg
+%{tde_datadir}/config.kcfg/tdelaunch.kcfg
+%{tde_datadir}/config.kcfg/kwebdesktop.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/error.png
+
+%post -n trinity-kdesktop
+/sbin/ldconfig || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+%postun -n trinity-kdesktop
+/sbin/ldconfig || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+##########
+
+%package -n trinity-kdesktop-devel
+Summary: Development files for kdesktop
+Group: Development/Libraries
+Requires: trinity-kdesktop = %{version}-%{release}
+
+%description -n trinity-kdesktop-devel
+%{summary}
+
+%files -n trinity-kdesktop-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/KBackgroundIface.h
+%{tde_tdeincludedir}/KDesktopIface.h
+%{tde_tdeincludedir}/KScreensaverIface.h
+
+##########
+
+%package -n trinity-tdm
+Summary: X Display manager for TDE
+Group: Applications/Utilities
+Requires: %{name}-bin = %{version}-%{release}
+Requires: %{name}-data = %{version}-%{release}
+Requires: pam
+
+# Provides the global Xsession script (/etc/X11/xinit/Xsession or /etc/X11/Xsession)
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 4
+Requires: xinitrc
+%endif
+%if 0%{?suse_version} == 1140
+Requires: xorg-x11
+%endif
+%if 0%{?suse_version} >= 1220
+Requires: xdm
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora}
+Requires: xorg-x11-xinit
+%endif
+
+# Required for Fedora LiveCD
+%if 0%{?rhel} || 0%{?fedora}
+Provides: service(graphical-login)
+%endif
+# Required for Mandriva's installer
+%if 0%{?mgaversion} || 0%{?mdkversion}
+Provides: dm
+%endif
+
+%description -n trinity-tdm
+tdm manages a collection of X servers, which may be on the local host or
+remote machines. It provides services similar to those provided by init,
+getty, and login on character-based terminals: prompting for login name and
+password, authenticating the user, and running a session. tdm supports XDMCP
+(X Display Manager Control Protocol) and can also be used to run a chooser
+process which presents the user with a menu of possible hosts that offer
+XDMCP display management.
+
+A collection of icons to associate with individual users is included with
+TDE, but as part of the kdepasswd package.
+
+The menu package will help to provide TDM with a list of window managers
+that can be launched, if the window manager does not register with TDM
+already. Most users won't need this.
+
+%files -n trinity-tdm
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kgreet_pam.la
+%{tde_tdelibdir}/kgreet_pam.so
+%{tde_bindir}/gen[kt]dmconf
+%{tde_bindir}/[kt]dm
+%{tde_bindir}/[kt]dm_config
+%{tde_bindir}/[kt]dmctl
+%{tde_bindir}/[kt]dm_greet
+%{tde_bindir}/krootimage
+%{tde_datadir}/apps/[kt]dm/pics/kdelogo.png
+%{tde_datadir}/apps/[kt]dm/pics/shutdown.jpg
+%{tde_datadir}/apps/[kt]dm/pics/users/default1.png
+%{tde_datadir}/apps/[kt]dm/pics/users/default2.png
+%{tde_datadir}/apps/[kt]dm/pics/users/default3.png
+%{tde_datadir}/apps/[kt]dm/pics/users/root1.png
+%{tde_datadir}/apps/[kt]dm/sessions/*.desktop
+%{tde_datadir}/apps/[kt]dm/themes/
+%{tde_datadir}/config/tdm
+%{_sysconfdir}/trinity/[kt]dm/
+%{tde_tdedocdir}/HTML/en/[kt]dm/
+%if 0%{?suse_version} == 0
+%{_sysconfdir}/pam.d/tdm-trinity
+%{_sysconfdir}/pam.d/tdm-trinity-np
+%endif
+%if 0%{?suse_version}
+/usr/lib/X11/displaymanagers/tdm
+%endif
+%if 0%{?fedora} >= 18
+/usr/lib/systemd/system/tdm.service
+%endif
+
+# Distribution specific stuff
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%{_datadir}/xsessions/tde.desktop
+%endif
+
+# https://wiki.mageia.org/en/How_to_add_a_new_Window_Manager_or_Display_Manager
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%{_sysconfdir}/X11/wmsession.d/45TDE
+%{_datadir}/X11/dm.d/45TDE.conf
+%endif
+
+# SELINUX policy
+%if 0%{?with_selinux_policy}
+%{?_sysconfdir}/trinity/tdm/tdm.pp
+%endif
+
+%pre -n trinity-tdm
+# Make sure that TDM configuration files are now under '/etc/trinity/tdm'
+if [ -d "%{tde_datadir}/config/tdm" ] && [ ! -L "%{tde_datadir}/config/tdm" ]; then
+ if [ -d "%{_sysconfdir}/trinity/tdm" ]; then
+ # If there is already something under '/etc/trinity/tdm', simply delete old configuration
+ echo "Deleting TDM configuration under '%{tde_datadir}/config/tdm'"
+ %__rm -rf "%{tde_datadir}/config/tdm"
+ else
+ # Else, move '/opt/trinity/share/config/tdm' to '/etc/trinity/tdm'
+ if [ ! -d "%{_sysconfdir}/trinity" ]; then
+ %__mkdir_p "%{_sysconfdir}/trinity"
+ fi
+ echo "Migrating TDM configuration from '%{tde_datadir}/config/tdm' to '%{_sysconfdir}/trinity/tdm'"
+ %__mv -f "%{tde_datadir}/config/tdm" "%{_sysconfdir}/trinity/tdm.migr"
+ fi
+fi
+
+%post -n trinity-tdm
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%make_session
+%endif
+%if 0%{?with_selinux_policy}
+/usr/sbin/semodule -i "%{?_sysconfdir}/trinity/tdm/tdm.pp"
+%endif
+# Default user icon in TDM
+if [ ! -r "%{tde_datadir}/apps/tdm/faces/.default.face.icon" ]; then
+ [ -d "%{tde_datadir}/apps/tdm/faces" ] || mkdir -p "%{tde_datadir}/apps/tdm/faces"
+ %__cp -f "%{tde_datadir}/apps/tdm/pics/users/default2.png" "%{tde_datadir}/apps/tdm/faces/.default.face.icon"
+fi
+
+%posttrans -n trinity-tdm
+# Make sure that TDM configuration files are now under '/etc/trinity/tdm'
+if [ -d "%{_sysconfdir}/trinity/tdm.migr" ] && [ -d "%{_sysconfdir}/trinity/tdm" ]; then
+ %__mv -f "%{_sysconfdir}/trinity/tdm.migr/"* "%{_sysconfdir}/trinity/tdm/"
+ rmdir "%{_sysconfdir}/trinity/tdm.migr/"
+fi
+
+%postun -n trinity-tdm
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%make_session
+%endif
+
+##########
+
+%package -n trinity-tdm-devel
+Summary: Development files for tdm
+Group: Development/Libraries
+Requires: trinity-tdm = %{version}-%{release}
+
+%description -n trinity-tdm-devel
+%{summary}
+
+%files -n trinity-tdm-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kgreeterplugin.h
+
+##########
+
+%package -n trinity-kfind
+Summary: file-find utility for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-kfind
+kfind can be used to find files and directories on your
+workstations.
+
+%files -n trinity-kfind
+%defattr(-,root,root,-)
+%{tde_bindir}/kfind
+%{tde_tdelibdir}/libkfindpart.la
+%{tde_tdelibdir}/libkfindpart.so
+%{tde_tdeappdir}/Kfind.desktop
+%{tde_datadir}/apps/kfindpart/
+%{tde_datadir}/icons/hicolor/*/apps/kfind.png
+%{tde_datadir}/services/kfindpart.desktop
+%{tde_datadir}/servicetypes/findpart.desktop
+%{tde_tdedocdir}/HTML/en/kfind/
+
+%post -n trinity-kfind
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+%postun -n trinity-kfind
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+##########
+
+%package -n trinity-khelpcenter
+Summary: help center for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+Requires: htdig
+
+%description -n trinity-khelpcenter
+The TDE Help Center provides documentation on how to use the KDE desktop.
+
+The htdig package is needed to build a searchable archive of TDE
+documentation.
+
+%files -n trinity-khelpcenter
+%defattr(-,root,root,-)
+#%{tde_bindir}/khc_beagle_index.pl
+#%{tde_bindir}/khc_beagle_search.pl
+%{tde_bindir}/khc_docbookdig.pl
+%{tde_bindir}/khc_htdig.pl
+%{tde_bindir}/khc_htsearch.pl
+%{tde_bindir}/khc_indexbuilder
+%{tde_bindir}/khc_mansearch.pl
+%{tde_bindir}/khelpcenter
+%{tde_tdelibdir}/khelpcenter.la
+%{tde_tdelibdir}/khelpcenter.so
+%{tde_libdir}/lib[kt]deinit_khelpcenter.la
+%{tde_libdir}/lib[kt]deinit_khelpcenter.so
+%{tde_tdeappdir}/Help.desktop
+%{tde_datadir}/apps/khelpcenter/
+%{tde_datadir}/config.kcfg/khelpcenter.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/khelpcenter.*
+%{tde_datadir}/services/khelpcenter.desktop
+%{tde_tdedocdir}/HTML/en/khelpcenter/
+
+%post -n trinity-khelpcenter
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-khelpcenter
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kicker
+Summary: desktop panel for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-kicker
+Kicker provides the TDE panel on you desktop. It can be used as a
+program launcher and can load plugins to provide additional
+functionality.
+
+%files -n trinity-kicker
+%defattr(-,root,root,-)
+%{tde_bindir}/appletproxy
+%{tde_bindir}/extensionproxy
+%{tde_bindir}/kasbar
+%{tde_bindir}/kicker
+%{tde_libdir}/tdeconf_update_bin/kicker-3.4-reverseLayout
+%{tde_tdelibdir}/appletproxy.la
+%{tde_tdelibdir}/appletproxy.so
+%{tde_tdelibdir}/clock_panelapplet.la
+%{tde_tdelibdir}/clock_panelapplet.so
+%{tde_tdelibdir}/dockbar_panelextension.la
+%{tde_tdelibdir}/dockbar_panelextension.so
+%{tde_tdelibdir}/extensionproxy.la
+%{tde_tdelibdir}/extensionproxy.so
+%{tde_tdelibdir}/kasbar_panelextension.la
+%{tde_tdelibdir}/kasbar_panelextension.so
+%{tde_tdelibdir}/kicker.la
+%{tde_tdelibdir}/kickermenu_find.la
+%{tde_tdelibdir}/kickermenu_find.so
+%{tde_tdelibdir}/kickermenu_kate.so
+%{tde_tdelibdir}/kickermenu_kate.la
+%{tde_tdelibdir}/kickermenu_[kt]deprint.la
+%{tde_tdelibdir}/kickermenu_[kt]deprint.so
+%{tde_tdelibdir}/kickermenu_konqueror.la
+%{tde_tdelibdir}/kickermenu_konqueror.so
+%{tde_tdelibdir}/kickermenu_konsole.la
+%{tde_tdelibdir}/kickermenu_konsole.so
+%{tde_tdelibdir}/kickermenu_prefmenu.la
+%{tde_tdelibdir}/kickermenu_prefmenu.so
+%{tde_tdelibdir}/kickermenu_recentdocs.la
+%{tde_tdelibdir}/kickermenu_recentdocs.so
+%{tde_tdelibdir}/kickermenu_remotemenu.la
+%{tde_tdelibdir}/kickermenu_remotemenu.so
+%{tde_tdelibdir}/kickermenu_systemmenu.la
+%{tde_tdelibdir}/kickermenu_systemmenu.so
+%{tde_tdelibdir}/kicker.so
+%{tde_tdelibdir}/launcher_panelapplet.la
+%{tde_tdelibdir}/launcher_panelapplet.so
+%{tde_tdelibdir}/lockout_panelapplet.la
+%{tde_tdelibdir}/lockout_panelapplet.so
+%{tde_tdelibdir}/media_panelapplet.la
+%{tde_tdelibdir}/media_panelapplet.so
+%{tde_tdelibdir}/menu_panelapplet.la
+%{tde_tdelibdir}/menu_panelapplet.so
+%{tde_tdelibdir}/minipager_panelapplet.la
+%{tde_tdelibdir}/minipager_panelapplet.so
+%{tde_tdelibdir}/naughty_panelapplet.la
+%{tde_tdelibdir}/naughty_panelapplet.so
+%{tde_tdelibdir}/run_panelapplet.la
+%{tde_tdelibdir}/run_panelapplet.so
+%{tde_tdelibdir}/sidebar_panelextension.la
+%{tde_tdelibdir}/sidebar_panelextension.so
+%{tde_tdelibdir}/systemtray_panelapplet.la
+%{tde_tdelibdir}/systemtray_panelapplet.so
+%{tde_tdelibdir}/taskbar_panelapplet.la
+%{tde_tdelibdir}/taskbar_panelapplet.so
+%{tde_tdelibdir}/taskbar_panelextension.la
+%{tde_tdelibdir}/taskbar_panelextension.so
+%{tde_tdelibdir}/trash_panelapplet.la
+%{tde_tdelibdir}/trash_panelapplet.so
+%{tde_libdir}/libkasbar.so.*
+%{tde_libdir}/lib[kt]deinit_appletproxy.la
+%{tde_libdir}/lib[kt]deinit_appletproxy.so
+%{tde_libdir}/lib[kt]deinit_extensionproxy.la
+%{tde_libdir}/lib[kt]deinit_extensionproxy.so
+%{tde_libdir}/lib[kt]deinit_kicker.la
+%{tde_libdir}/lib[kt]deinit_kicker.so
+%{tde_libdir}/libkickermain.so.*
+%{tde_libdir}/libtaskbar.so.*
+%{tde_libdir}/libtaskmanager.so.*
+%{tde_libdir}/libkickoffsearch_interfaces.so.*
+%{tde_tdeappdir}/kcmkicker.desktop
+%{tde_datadir}/applnk/.hidden/kicker_config_arrangement.desktop
+%{tde_datadir}/applnk/.hidden/kicker_config_hiding.desktop
+%{tde_datadir}/applnk/.hidden/kicker_config_menus.desktop
+%{tde_datadir}/apps/clockapplet/pics/lcd.png
+%{tde_datadir}/apps/tdeconf_update/kicker-3.1-properSizeSetting.pl
+%{tde_datadir}/apps/tdeconf_update/kicker-3.5-tdeconfigXTize.pl
+%{tde_datadir}/apps/tdeconf_update/kicker-3.5-taskbarEnums.pl
+%{tde_datadir}/apps/tdeconf_update/kickerrc.upd
+%{tde_datadir}/apps/kicker/
+%exclude %{tde_datadir}/apps/kicker/applets/klipper.desktop
+%exclude %{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop
+%{tde_datadir}/apps/naughtyapplet/pics/naughty-happy.png
+%{tde_datadir}/apps/naughtyapplet/pics/naughty-sad.png
+%{tde_datadir}/autostart/panel.desktop
+%{tde_datadir}/config.kcfg/kickerSettings.kcfg
+%{tde_datadir}/config.kcfg/launcherapplet.kcfg
+%{tde_datadir}/config.kcfg/pagersettings.kcfg
+%{tde_datadir}/config.kcfg/taskbar.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.png
+%{tde_datadir}/icons/crystalsvg/*/apps/taskbar.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kdisknav.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kicker.png
+%{tde_datadir}/icons/crystalsvg/*/apps/panel.png
+%{tde_datadir}/icons/crystalsvg/*/apps/runprocesscatcher.png
+%{tde_datadir}/icons/crystalsvg/*/apps/window_list.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.svgz
+%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.svgz
+%{tde_datadir}/servicetypes/kickoffsearchplugin.desktop
+%{tde_tdedocdir}/HTML/en/kicker/
+%if 0%{?mgaversion} >= 3
+%{tde_datadir}/oxygen/scalable/mgabutton.svg
+%endif
+
+%post -n trinity-kicker
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-kicker
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kicker-devel
+Summary: Development files for kicker
+Group: Development/Libraries
+Requires: trinity-kicker = %{version}-%{release}
+
+%description -n trinity-kicker-devel
+%{summary}
+
+%files -n trinity-kicker-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kickoff-search-plugin.h
+%{tde_tdeincludedir}/kickoffsearchinterface.h
+%{tde_libdir}/libkasbar.la
+%{tde_libdir}/libkasbar.so
+%{tde_libdir}/libkickermain.la
+%{tde_libdir}/libkickermain.so
+%{tde_libdir}/libkickoffsearch_interfaces.la
+%{tde_libdir}/libkickoffsearch_interfaces.so
+%{tde_libdir}/libtaskbar.la
+%{tde_libdir}/libtaskbar.so
+%{tde_libdir}/libtaskmanager.la
+%{tde_libdir}/libtaskmanager.so
+
+%post -n trinity-kicker-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kicker-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-klipper
+Summary: clipboard utility for Trinity
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-klipper
+klipper provides standard clipboard functions (cut and paste, history
+saving) plus additional features, like the ability to offer actions to
+take dependent on the clipboard contents. For example, it can launch a
+web browser if the clipboard contains a URL.
+
+%files -n trinity-klipper
+%defattr(-,root,root,-)
+%{tde_bindir}/klipper
+%{_sysconfdir}/trinity/klipperrc
+%{tde_tdelibdir}/klipper.la
+%{tde_tdelibdir}/klipper.so
+%{tde_tdelibdir}/klipper_panelapplet.la
+%{tde_tdelibdir}/klipper_panelapplet.so
+%{tde_libdir}/lib[kt]deinit_klipper.la
+%{tde_libdir}/lib[kt]deinit_klipper.so
+%{tde_tdeappdir}/klipper.desktop
+%{tde_datadir}/apps/tdeconf_update/klipper-1-2.pl
+%{tde_datadir}/apps/tdeconf_update/klipper-trinity1.sh
+%{tde_datadir}/apps/tdeconf_update/klipperrc.upd
+%{tde_datadir}/apps/tdeconf_update/klippershortcuts.upd
+%{tde_datadir}/apps/kicker/applets/klipper.desktop
+%{tde_datadir}/autostart/klipper.desktop
+%{tde_datadir}/icons/hicolor/*/apps/klipper.*
+%{tde_tdedocdir}/HTML/en/klipper/
+
+%post -n trinity-klipper
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-klipper
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kmenuedit
+Summary: menu editor for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-kmenuedit
+The TDE menu editor allows you to make customisations to the KDE menu
+structure.
+
+%files -n trinity-kmenuedit
+%defattr(-,root,root,-)
+%{tde_bindir}/kcontroledit
+%{tde_bindir}/kmenuedit
+%{tde_tdelibdir}/kcontroledit.la
+%{tde_tdelibdir}/kcontroledit.so
+%{tde_tdelibdir}/kmenuedit.la
+%{tde_tdelibdir}/kmenuedit.so
+%{tde_libdir}/lib[kt]deinit_kcontroledit.la
+%{tde_libdir}/lib[kt]deinit_kcontroledit.so
+%{tde_libdir}/lib[kt]deinit_kmenuedit.la
+%{tde_libdir}/lib[kt]deinit_kmenuedit.so
+%{tde_tdeappdir}/kmenuedit.desktop
+%{tde_datadir}/applnk/System/kmenuedit.desktop
+%{tde_datadir}/apps/kcontroledit/
+%{tde_datadir}/apps/kmenuedit/
+%{tde_tdedocdir}/HTML/en/kmenuedit/
+
+%post -n trinity-kmenuedit
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kmenuedit
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-konqueror
+Summary: TDE's advanced file manager, web browser and document viewer
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+Requires: trinity-kcontrol = %{version}-%{release}
+Requires: %{name}-tdeio-plugins = %{version}-%{release}
+Requires: trinity-kdesktop = %{version}-%{release}
+Requires: trinity-kfind = %{version}-%{release}
+Requires: trinity-libkonq = %{version}-%{release}
+
+%description -n trinity-konqueror
+Konqueror is the file manager for the Trinity Desktop Environment.
+It supports basic file management on local UNIX filesystems,
+from simple cut/copy and paste operations to advanced remote
+and local network file browsing.
+
+It is also the canvas for all the latest TDE technology,
+from KIO slaves (which provide mechanisms for file access) to
+component embedding via the KParts object interface, and it
+is one of the most customizable applications available.
+
+Konqueror is an Open Source web browser with HTML4.0 compliance,
+supporting Java applets, JavaScript, CSS1 and (partially) CSS2,
+as well as Netscape plugins (for example, Flash or RealVideo plugins).
+
+It is a universal viewing application, capable of embedding
+read-only viewing components in itself to view documents without
+ever launching another application.
+
+%files -n trinity-konqueror
+%defattr(-,root,root,-)
+%{_sysconfdir}/trinity/konqsidebartng.rc
+%{tde_bindir}/kbookmarkmerger
+%{tde_bindir}/keditbookmarks
+%{tde_bindir}/kfmclient
+%{tde_bindir}/konqueror
+%{tde_tdelibdir}/kcm_history.la
+%{tde_tdelibdir}/kcm_history.so
+%{tde_tdelibdir}/kded_konqy_preloader.la
+%{tde_tdelibdir}/kded_konqy_preloader.so
+%{tde_tdelibdir}/keditbookmarks.la
+%{tde_tdelibdir}/keditbookmarks.so
+%{tde_tdelibdir}/kfmclient.la
+%{tde_tdelibdir}/kfmclient.so
+%{tde_tdelibdir}/konq_aboutpage.la
+%{tde_tdelibdir}/konq_aboutpage.so
+%{tde_tdelibdir}/konq_iconview.la
+%{tde_tdelibdir}/konq_iconview.so
+%{tde_tdelibdir}/konq_listview.la
+%{tde_tdelibdir}/konq_listview.so
+%{tde_tdelibdir}/konq_remoteencoding.la
+%{tde_tdelibdir}/konq_remoteencoding.so
+%{tde_tdelibdir}/konq_shellcmdplugin.la
+%{tde_tdelibdir}/konq_shellcmdplugin.so
+%{tde_tdelibdir}/konq_sidebar.la
+%{tde_tdelibdir}/konq_sidebar.so
+%{tde_tdelibdir}/konq_sidebartree_bookmarks.la
+%{tde_tdelibdir}/konq_sidebartree_bookmarks.so
+%{tde_tdelibdir}/konq_sidebartree_dirtree.la
+%{tde_tdelibdir}/konq_sidebartree_dirtree.so
+%{tde_tdelibdir}/konq_sidebartree_history.la
+%{tde_tdelibdir}/konq_sidebartree_history.so
+%{tde_tdelibdir}/konqsidebar_tree.la
+%{tde_tdelibdir}/konqsidebar_tree.so
+%{tde_tdelibdir}/konqsidebar_web.la
+%{tde_tdelibdir}/konqsidebar_web.so
+%{tde_tdelibdir}/konqueror.la
+%{tde_tdelibdir}/konqueror.so
+%{tde_tdelibdir}/libtdehtmlkttsdplugin.la
+%{tde_tdelibdir}/libtdehtmlkttsdplugin.so
+%{tde_libdir}/lib[kt]deinit_keditbookmarks.la
+%{tde_libdir}/lib[kt]deinit_keditbookmarks.so
+%{tde_libdir}/lib[kt]deinit_kfmclient.la
+%{tde_libdir}/lib[kt]deinit_kfmclient.so
+%{tde_libdir}/lib[kt]deinit_konqueror.la
+%{tde_libdir}/lib[kt]deinit_konqueror.so
+%{tde_libdir}/libkonqsidebarplugin.so.*
+%{tde_tdeappdir}/Home.desktop
+%{tde_tdeappdir}/kcmhistory.desktop
+%{tde_tdeappdir}/kfmclient.desktop
+%{tde_tdeappdir}/kfmclient_dir.desktop
+%{tde_tdeappdir}/kfmclient_html.desktop
+%{tde_tdeappdir}/kfmclient_war.desktop
+%{tde_tdeappdir}/tdehtml_filter.desktop
+%{tde_tdeappdir}/konqbrowser.desktop
+%{tde_tdeappdir}/konquerorsu.desktop
+%{tde_datadir}/applnk/.hidden/konqfilemgr.desktop
+%{tde_datadir}/applnk/Internet/keditbookmarks.desktop
+%{tde_datadir}/applnk/konqueror.desktop
+%{tde_datadir}/apps/tdeconf_update/kfmclient_3_2.upd
+%{tde_datadir}/apps/tdeconf_update/kfmclient_3_2_update.sh
+%{tde_datadir}/apps/tdeconf_update/konqsidebartng.upd
+%{tde_datadir}/apps/tdeconf_update/move_konqsidebartng_entries.sh
+%{tde_datadir}/apps/keditbookmarks/keditbookmarks-genui.rc
+%{tde_datadir}/apps/keditbookmarks/keditbookmarksui.rc
+%{tde_datadir}/apps/tdehtml/kpartplugins/tdehtmlkttsd.desktop
+%{tde_datadir}/apps/tdehtml/kpartplugins/tdehtmlkttsd.rc
+%{tde_datadir}/apps/konqiconview/
+%{tde_datadir}/apps/konqlistview/
+%exclude %{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop
+%{tde_datadir}/apps/konqsidebartng/
+%{tde_datadir}/apps/konqueror/about/
+%{tde_datadir}/apps/konqueror/icons/
+%{tde_datadir}/apps/konqueror/konq-simplebrowser.rc
+%{tde_datadir}/apps/konqueror/konqueror.rc
+%{tde_datadir}/apps/konqueror/pics/indicator_connect.png
+%{tde_datadir}/apps/konqueror/pics/indicator_empty.png
+%{tde_datadir}/apps/konqueror/pics/indicator_noconnect.png
+%{tde_datadir}/apps/konqueror/pics/indicator_viewactive.png
+%{tde_datadir}/apps/konqueror/profiles/
+%exclude %{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop
+%exclude %{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop
+%exclude %{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/*.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase
+%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase
+%{tde_datadir}/apps/konqueror/tiles/*.png
+%{tde_datadir}/autostart/konqy_preload.desktop
+%{tde_datadir}/config.kcfg/keditbookmarks.kcfg
+%{tde_datadir}/config.kcfg/konq_listview.kcfg
+%{tde_datadir}/config.kcfg/konqueror.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/keditbookmarks.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.svgz
+%{tde_datadir}/icons/hicolor/*/apps/kfm.png
+%{tde_datadir}/icons/hicolor/*/apps/konqueror.*
+%{tde_datadir}/services/kded/konqy_preloader.desktop
+%{tde_datadir}/services/konq_*.desktop
+%{tde_datadir}/servicetypes/konqaboutpage.desktop
+%{tde_tdedocdir}/HTML/en/konqueror/
+
+%post -n trinity-konqueror
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+update-alternatives --install \
+ %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \
+ media_safelyremove.desktop_konqueror \
+ %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase \
+ 10 || :
+
+%postun -n trinity-konqueror
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+%preun -n trinity-konqueror
+if [ $1 -eq 0 ]; then
+ update-alternatives --remove \
+ media_safelyremove.desktop_konqueror \
+ %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase || :
+fi
+
+##########
+
+%package -n trinity-konqueror-devel
+Summary: Development files for konqueror
+Group: Development/Libraries
+Requires: trinity-konqueror = %{version}-%{release}
+
+%description -n trinity-konqueror-devel
+%{summary}
+
+%files -n trinity-konqueror-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/konqsidebarplugin.h
+%{tde_tdeincludedir}/KonquerorIface.h
+%{tde_libdir}/libkonqsidebarplugin.la
+%{tde_libdir}/libkonqsidebarplugin.so
+
+%post -n trinity-konqueror-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-konqueror-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-konqueror-nsplugins
+Summary: Netscape plugin support for Konqueror
+Group: Applications/Utilities
+Requires: trinity-konqueror = %{version}-%{release}
+
+%description -n trinity-konqueror-nsplugins
+This package includes support for Netscape plugins in Konqueror.
+
+%files -n trinity-konqueror-nsplugins
+%defattr(-,root,root,-)
+%{tde_bindir}/nspluginscan
+%{tde_bindir}/nspluginviewer
+%{tde_tdelibdir}/kcm_nsplugins.la
+%{tde_tdelibdir}/kcm_nsplugins.so
+%{tde_tdelibdir}/libnsplugin.la
+%{tde_tdelibdir}/libnsplugin.so
+%{tde_tdeappdir}/tdehtml_plugins.desktop
+%{tde_datadir}/apps/plugin/nspluginpart.rc
+
+%post -n trinity-konqueror-nsplugins
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+%postun -n trinity-konqueror-nsplugins
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+##########
+
+%package -n trinity-konsole
+Summary: X terminal emulator for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-konsole
+Konsole is an X terminal emulation which provides a command-line interface
+(CLI) while using the graphical K Desktop Environment. Konsole helps to
+better organize user's desktop by containing multiple sessions in a single
+window (a less cluttered desktop).
+
+Its advanced features include a simple configuration and the ability to use
+multiple terminal shells in a single window
+
+Using Konsole, a user can open:
+* Linux console sessions
+* Midnight Commander file manager sessions
+* Shell sessions
+* Root consoles sessions
+
+%files -n trinity-konsole
+%defattr(-,root,root,-)
+%{tde_bindir}/konsole
+%{tde_tdelibdir}/kcm_konsole.la
+%{tde_tdelibdir}/kcm_konsole.so
+%{tde_tdelibdir}/kded_kwrited.la
+%{tde_tdelibdir}/kded_kwrited.so
+%{tde_tdelibdir}/konsole.la
+%{tde_tdelibdir}/konsole.so
+%{tde_tdelibdir}/libkonsolepart.la
+%{tde_tdelibdir}/libkonsolepart.so
+%{tde_libdir}/lib[kt]deinit_konsole.la
+%{tde_libdir}/lib[kt]deinit_konsole.so
+%{tde_tdeappdir}/konsole.desktop
+%{tde_tdeappdir}/konsolesu.desktop
+%{tde_datadir}/applnk/.hidden/kcmkonsole.desktop
+%{tde_datadir}/apps/tdeconf_update/konsole.upd
+%{tde_datadir}/apps/tdeconf_update/schemaStrip.pl
+%{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop
+%{tde_datadir}/apps/konsole/
+%{tde_datadir}/icons/hicolor/*/apps/konsole.*
+%{tde_datadir}/mimelnk/application/x-konsole.desktop
+%{tde_datadir}/services/kded/kwrited.desktop
+%{tde_datadir}/services/konsolepart.desktop
+%{tde_datadir}/services/konsole-script.desktop
+%{tde_datadir}/services/kwrited.desktop
+%{tde_datadir}/servicetypes/terminalemulator.desktop
+%{tde_tdedocdir}/HTML/en/konsole/
+%{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/
+
+%post -n trinity-konsole
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-konsole
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kpager
+Summary: desktop pager for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-kpager
+This package contains TDE's desktop pager, which displays your virtual
+desktops iconically in a window, along with icons of any running
+applications. It is used to switch between applications or desktops.
+
+%files -n trinity-kpager
+%defattr(-,root,root,-)
+%{tde_bindir}/kpager
+%{tde_tdeappdir}/kpager.desktop
+%{tde_datadir}/applnk/Utilities/kpager.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kpager.png
+%{tde_tdedocdir}/HTML/en/kpager/
+
+%post -n trinity-kpager
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+%postun -n trinity-kpager
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+##########
+
+%package -n trinity-kpersonalizer
+Summary: installation personalizer for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-kpersonalizer
+TDE Personalizer is the application that configures the TDE desktop for you.
+It's a very useful wizard that allows you to quickly change the TDE desktop to
+suit your own needs. When you run TDE for the first time, KPersonalizer is
+automatically started. KPersonalizer can also be called later.
+
+%files -n trinity-kpersonalizer
+%defattr(-,root,root,-)
+%{tde_bindir}/kpersonalizer
+%{tde_tdeappdir}/kpersonalizer.desktop
+%{tde_datadir}/applnk/System/kpersonalizer.desktop
+%{tde_datadir}/apps/kpersonalizer/
+%{tde_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png
+
+%post -n trinity-kpersonalizer
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+%postun -n trinity-kpersonalizer
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+##########
+
+%package -n trinity-ksmserver
+Summary: session manager for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+Requires: trinity-twin = %{version}-%{release}
+
+%description -n trinity-ksmserver
+This package contains the KDE session manager. It is responsible for
+restoring your TDE session on login. It is also needed to properly
+start a KDE session. It registers KDE with X display managers, and
+provides the 'starttde' command, for starting an X session with KDE
+from the console.
+
+If you are running TDE for the first time for a certain user,
+kpersonalizer is used to help with setup. If it is not present,
+KDE will start, but many good defaults will not be set.
+
+%files -n trinity-ksmserver
+%defattr(-,root,root,-)
+%{tde_bindir}/ksmserver
+%{tde_bindir}/start[kt]de
+%{tde_bindir}/migratekde3
+%{tde_bindir}/r14-xdg-update
+%{tde_bindir}/tdeinit_displayconfig
+%{tde_bindir}/tdeinit_phase1
+%{tde_tdelibdir}/ksmserver.la
+%{tde_tdelibdir}/ksmserver.so
+%{tde_libdir}/lib[kt]deinit_ksmserver.la
+%{tde_libdir}/lib[kt]deinit_ksmserver.so
+%{tde_datadir}/apps/tdeconf_update/ksmserver.upd
+%{tde_datadir}/apps/tdeconf_update/move_session_config.sh
+%{tde_datadir}/apps/ksmserver/pics/shutdown.png
+%{tde_datadir}/apps/ksmserver/pics/shutdownkonq.png
+
+# Remove conflicts with redhat-menus
+%if "%{?tde_prefix}" != "/usr"
+%{tde_bindir}/plasma-desktop
+%endif
+
+%post -n trinity-ksmserver
+/sbin/ldconfig || :
+
+%postun -n trinity-ksmserver
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-ksplash
+Summary: the TDE splash screen
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-ksplash
+This package includes the TDE Splash screen, which is seen when
+a TDE session is launched.
+
+%files -n trinity-ksplash
+%defattr(-,root,root,-)
+%{tde_bindir}/ksplash
+%{tde_bindir}/ksplashsimple
+%{tde_tdelibdir}/kcm_ksplashthemes.la
+%{tde_tdelibdir}/kcm_ksplashthemes.so
+%{tde_tdelibdir}/ksplashdefault.la
+%{tde_tdelibdir}/ksplashdefault.so
+%{tde_tdelibdir}/ksplashunified.la
+%{tde_tdelibdir}/ksplashunified.so
+%{tde_tdelibdir}/ksplashredmond.la
+%{tde_tdelibdir}/ksplashredmond.so
+%{tde_tdelibdir}/ksplashstandard.la
+%{tde_tdelibdir}/ksplashstandard.so
+%{tde_libdir}/libksplashthemes.so.*
+%{tde_tdeappdir}/ksplashthememgr.desktop
+%{tde_datadir}/apps/ksplash
+%{tde_datadir}/services/ksplashdefault.desktop
+%{tde_datadir}/services/ksplash.desktop
+%{tde_datadir}/services/ksplashunified.desktop
+%{tde_datadir}/services/ksplashredmond.desktop
+%{tde_datadir}/services/ksplashstandard.desktop
+%{tde_datadir}/servicetypes/ksplashplugins.desktop
+%{tde_tdedocdir}/HTML/en/ksplashml/
+
+%post -n trinity-ksplash
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+/sbin/ldconfig || :
+
+%postun -n trinity-ksplash
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-ksplash-devel
+Summary: Development files for ksplash
+Group: Development/Libraries
+Requires: trinity-ksplash = %{version}-%{release}
+
+%description -n trinity-ksplash-devel
+%{summary}
+
+%files -n trinity-ksplash-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/ksplash/*
+%{tde_libdir}/libksplashthemes.la
+%{tde_libdir}/libksplashthemes.so
+
+%post -n trinity-ksplash-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-ksplash-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-ksysguard
+Summary: system guard for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+Requires: trinity-ksysguardd = %{version}-%{release}
+
+%description -n trinity-ksysguard
+TDE System Guard allows you to monitor various statistics about your
+computer.
+
+%files -n trinity-ksysguard
+%defattr(-,root,root,-)
+%{tde_bindir}/kpm
+%{tde_bindir}/ksysguard
+%{tde_tdelibdir}/sysguard_panelapplet.la
+%{tde_tdelibdir}/sysguard_panelapplet.so
+%{tde_libdir}/libksgrd.so.*
+%{tde_tdeappdir}/ksysguard.desktop
+%{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop
+%{tde_datadir}/apps/ksysguard/
+%{tde_datadir}/icons/crystalsvg/*/apps/ksysguard.png
+%{tde_datadir}/mimelnk/application/x-ksysguard.desktop
+%{tde_tdedocdir}/HTML/en/ksysguard/
+
+%post -n trinity-ksysguard
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-ksysguard
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-ksysguard-devel
+Summary: Development files for ksysguard
+Group: Development/Libraries
+Requires: trinity-ksysguard = %{version}-%{release}
+
+%description -n trinity-ksysguard-devel
+%{summary}
+
+%files -n trinity-ksysguard-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/ksgrd/*
+%{tde_libdir}/libksgrd.la
+%{tde_libdir}/libksgrd.so
+
+%post -n trinity-ksysguard-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-ksysguard-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-ksysguardd
+Summary: system guard daemon for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-ksysguardd
+TDE System Guard Daemon is the daemon part of ksysguard. The daemon can
+be installed on a remote machine to enable ksysguard on another machine
+to monitor it through the daemon running there.
+
+%files -n trinity-ksysguardd
+%defattr(-,root,root,-)
+%{tde_bindir}/ksysguardd
+%config(noreplace) %{_sysconfdir}/trinity/ksysguarddrc
+
+##########
+
+%package -n trinity-ktip
+Summary: useful tips for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-ktip
+ktip provides many useful tips on using TDE when you log in.
+
+%files -n trinity-ktip
+%defattr(-,root,root,-)
+%{tde_bindir}/ktip
+%{tde_tdeappdir}/ktip.desktop
+%{tde_datadir}/applnk/Toys/ktip.desktop
+%{tde_datadir}/apps/kdewizard/pics/wizard_small.png
+%{tde_datadir}/apps/kdewizard/tips/
+%{tde_datadir}/autostart/ktip.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ktip.*
+
+%post -n trinity-ktip
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+%postun -n trinity-ktip
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+##########
+
+%package -n trinity-twin
+Summary: the TDE window manager
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-twin
+This package contains the default X window manager for TDE.
+
+%files -n trinity-twin
+%defattr(-,root,root,-)
+%{tde_bindir}/kompmgr
+%{tde_bindir}/[kt]win
+%{tde_bindir}/[kt]win_killer_helper
+%{tde_bindir}/[kt]win_resumer_helper
+%{tde_bindir}/[kt]win_rules_dialog
+%{tde_libdir}/tdeconf_update_bin/[kt]win_update_default_rules
+%{tde_libdir}/tdeconf_update_bin/[kt]win_update_window_settings
+%{tde_tdelibdir}/kcm_[kt]win*.la
+%{tde_tdelibdir}/kcm_[kt]win*.so
+%{tde_tdelibdir}/[kt]win*.la
+%{tde_tdelibdir}/[kt]win*.so
+%{tde_libdir}/lib[kt]decorations.so.*
+%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.la
+%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.so
+%{tde_libdir}/lib[kt]deinit_[kt]win.la
+%{tde_libdir}/lib[kt]deinit_[kt]win.so
+%{tde_tdeappdir}/showdesktop.desktop
+%{tde_tdeappdir}/[kt]windecoration.desktop
+%{tde_tdeappdir}/[kt]winoptions.desktop
+%{tde_tdeappdir}/[kt]winrules.desktop
+%{tde_datadir}/applnk/.hidden/[kt]winactions.desktop
+%{tde_datadir}/applnk/.hidden/[kt]winadvanced.desktop
+%{tde_datadir}/applnk/.hidden/[kt]winfocus.desktop
+%{tde_datadir}/applnk/.hidden/[kt]winmoving.desktop
+%{tde_datadir}/applnk/.hidden/[kt]wintranslucency.desktop
+%{tde_datadir}/apps/tdeconf_update/[kt]win3_plugin.pl
+%{tde_datadir}/apps/tdeconf_update/[kt]win3_plugin.upd
+%{tde_datadir}/apps/tdeconf_update/[kt]win_focus1.sh
+%{tde_datadir}/apps/tdeconf_update/[kt]win_focus1.upd
+%{tde_datadir}/apps/tdeconf_update/[kt]win_focus2.sh
+%{tde_datadir}/apps/tdeconf_update/[kt]win_focus2.upd
+%{tde_datadir}/apps/tdeconf_update/[kt]win_fsp_workarounds_1.upd
+%{tde_datadir}/apps/tdeconf_update/[kt]winiconify.upd
+%{tde_datadir}/apps/tdeconf_update/[kt]winsticky.upd
+%{tde_datadir}/apps/tdeconf_update/[kt]win.upd
+%{tde_datadir}/apps/tdeconf_update/[kt]winupdatewindowsettings.upd
+%{tde_datadir}/apps/tdeconf_update/pluginlibFix.pl
+%{tde_datadir}/apps/[kt]win/
+%{tde_datadir}/config.kcfg/[kt]win.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/[kt]win.png
+%{tde_tdedocdir}/HTML/en/kompmgr/
+
+%post -n trinity-twin
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-twin
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-twin-devel
+Summary: Development files for twin
+Group: Development/Libraries
+Requires: trinity-twin = %{version}-%{release}
+
+%description -n trinity-twin-devel
+%{summary}
+
+%files -n trinity-twin-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/[kt]win/
+%{tde_tdeincludedir}/kcommondecoration.h
+%{tde_tdeincludedir}/kdecoration.h
+%{tde_tdeincludedir}/kdecoration_p.h
+%{tde_tdeincludedir}/kdecoration_plugins_p.h
+%{tde_tdeincludedir}/kdecorationfactory.h
+%{tde_tdeincludedir}/KWinInterface.h
+%{tde_libdir}/libtdecorations.la
+%{tde_libdir}/libtdecorations.so
+
+%post -n trinity-twin-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-twin-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkonq
+Summary: core libraries for Konqueror
+Group: Environment/Libraries
+
+%description -n trinity-libkonq
+These libraries are used by several TDE applications, most notably
+Konqueror and the kdesktop package.
+
+%files -n trinity-libkonq
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kded_favicons.la
+%{tde_tdelibdir}/kded_favicons.so
+%{tde_tdelibdir}/konq_sound.la
+%{tde_tdelibdir}/konq_sound.so
+%{tde_libdir}/libkonq.so.*
+%{tde_datadir}/apps/kbookmark/directory_bookmarkbar.desktop
+%{tde_datadir}/apps/tdeconf_update/favicons.upd
+%{tde_datadir}/apps/tdeconf_update/move_favicons.sh
+%{tde_datadir}/apps/konqueror/pics/arrow_bottomleft.png
+%{tde_datadir}/apps/konqueror/pics/arrow_bottomright.png
+%{tde_datadir}/apps/konqueror/pics/arrow_topleft.png
+%{tde_datadir}/apps/konqueror/pics/arrow_topright.png
+%{tde_datadir}/apps/konqueror/pics/thumbnailfont_7x4.png
+%{tde_datadir}/services/kded/favicons.desktop
+%{tde_datadir}/servicetypes/konqpopupmenuplugin.desktop
+
+%post -n trinity-libkonq
+/sbin/ldconfig || :
+
+%postun -n trinity-libkonq
+/sbin/ldconfig || :
+
+##########
+
+%package libtqt3-integration
+Summary: Integration library between TQt3 and TDE
+Group: Environment/Libraries
+
+Obsoletes: tdebase-libtqt3-integration < %{version}-%{release}
+Provides: tdebase-libtqt3-integration = %{version}-%{release}
+
+%description libtqt3-integration
+These libraries allow you to use TDE dialogs in native TQt3 applications.
+
+%files libtqt3-integration
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/plugins/integration/libqtkde.la
+%{tde_tdelibdir}/plugins/integration/libqtkde.so
+%{tde_tdelibdir}/plugins/integration/libqtkde.so.*
+%{tde_tdelibdir}/kded_kdeintegration.la
+%{tde_tdelibdir}/kded_kdeintegration.so
+%{tde_datadir}/services/kded/kdeintegration.desktop
+
+##########
+
+%package -n trinity-libkonq-devel
+Summary: development files for Konqueror's core libraries
+Group: Development/Libraries
+Requires: trinity-libkonq = %{version}-%{release}
+
+%description -n trinity-libkonq-devel
+This package contains headers and other development files for the core
+Konqueror libraries.
+
+%files -n trinity-libkonq-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/tdefileivi.h
+%{tde_tdeincludedir}/kivdirectoryoverlay.h
+%{tde_tdeincludedir}/kivfreespaceoverlay.h
+%{tde_tdeincludedir}/knewmenu.h
+%{tde_tdeincludedir}/konqbookmarkmanager.h
+%{tde_tdeincludedir}/konq_*.h
+%{tde_tdeincludedir}/libkonq_export.h
+%{tde_libdir}/libkonq.la
+%{tde_libdir}/libkonq.so
+
+%post -n trinity-libkonq-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkonq-devel
+/sbin/ldconfig || :
+
+##########
+
+%package tdeio-smb-plugin
+Summary: Windows Connection Module for TDE
+Group: Environment/Libraries
+
+%description tdeio-smb-plugin
+This package provides the "smb://" protocol, to connect to and from
+Windows and Samba shares.
+
+%files tdeio-smb-plugin
+%defattr(-,root,root)
+%{tde_tdelibdir}/kcm_samba.la
+%{tde_tdelibdir}/kcm_samba.so
+%{tde_tdelibdir}/tdeio_smb.la
+%{tde_tdelibdir}/tdeio_smb.so
+%{tde_datadir}/services/smb.protocol
+%{tde_datadir}/apps/konqueror/dirtree/remote/smb-network.desktop
+%{tde_datadir}/apps/remoteview/smb-network.desktop
+%{tde_datadir}/mimelnk/application/x-smb-workgroup.desktop
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+
+# Applies an optional distro-specific graphical theme
+%if "%{?tde_bg}" != ""
+# TDM Background
+%__sed -i "tdm/kfrontend/gentdmconf.c" \
+ -e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|'
+
+# TDE user default background
+%__sed -i "kpersonalizer/keyecandypage.cpp" \
+ -e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|'
+%__sed -i "starttde" \
+ -e 's|/usr/share/wallpapers/isadora.png.desktop|%{tde_bg}|' \
+ -e 's|Wallpaper=isadora.png|Wallpaper=%{tde_bg}|'
+%endif
+
+# TDE branding: removes KUbuntu references [Bug #617]
+%__sed -i "kcontrol/tdm/tdm-appear.cpp" \
+ -e "s|Welcome to Kubuntu |Welcome to %{tde_aboutlabel} |"
+%__sed -i "konqueror/about/konq_aboutpage.cc" \
+ -e "s|About Kubuntu|About %{tde_aboutlabel}|" \
+ -e "s|help:/kubuntu/|%{tde_aboutpage}|" \
+ -e "s|Kubuntu Documentation|%{tde_aboutlabel} Documentation|"
+%__sed -i "konqueror/about/launch.html" \
+ -e "s|help:/kubuntu/about-kubuntu/index.html|%{tde_aboutpage}|"
+%__sed -i "tdm/config.def" \
+ -e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |"
+
+# TDE default directory in 'starttde' script (KDEDIR)
+%__sed -i "starttde" \
+ -e "s|/opt/trinity|%{tde_prefix}|g" \
+ -e "s|%%{tde_starticon}|%{tde_starticon}|g"
+
+
+%build
+unset QTDIR
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+export LD_LIBRARY_PATH="%{tde_libdir}"
+
+# Shitty hack for RHEL4 ...
+if [ -d "/usr/X11R6" ]; then
+ export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}"
+ export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+# Samba 4.0 includes (Fedora 18)
+if [ -d "/usr/include/samba-4.0" ]; then
+ export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/include/samba-4.0"
+fi
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DBIN_INSTALL_DIR="%{tde_bindir}" \
+ -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
+ -DLIB_INSTALL_DIR="%{tde_libdir}" \
+ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DWITH_SASL=ON \
+ -DWITH_LDAP=ON \
+ -DWITH_SAMBA=ON \
+ %{?with_exr:-DWITH_OPENEXR=ON} \
+ -DWITH_XCOMPOSITE=ON \
+ -DWITH_XCURSOR=ON \
+ -DWITH_XFIXES=ON \
+ %{?with_xrandr:-DWITH_XRANDR=ON} \
+ -DWITH_XRENDER=ON \
+ -DWITH_XDAMAGE=ON \
+ -DWITH_XEXT=ON \
+ %{?with_xtest:-DWITH_XTEST=ON} \
+ %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \
+ %{?with_libart:-DWITH_LIBART=ON} \
+ -DWITH_LIBUSB=ON \
+ -DWITH_LIBRAW1394=ON \
+ -DWITH_SUDO_TDESU_BACKEND=OFF \
+ -DWITH_PAM=ON \
+ -DWITH_SHADOW=ON \
+ -DWITH_XDMCP=ON \
+ -DWITH_XINERAMA=ON \
+ -DWITH_ARTS=ON \
+ -DWITH_I8K=ON \
+ %{?with_hal:-DWITH_HAL=ON} %{?!with_hal:-DWITH_HAL=OFF} \
+ -DWITH_TDEHWLIB=ON \
+ -DWITH_UPOWER=ON \
+ -DWITH_GCC_VISIBILITY=ON \
+ -DWITH_KDESKTOP_LOCK_BACKTRACE=OFF \
+ -DBUILD_ALL=ON \
+%if 0%{?suse_version}
+ -DKCHECKPASS_PAM_SERVICE="xdm" \
+ -DTDM_PAM_SERVICE="xdm" \
+ -DKSCREENSAVER_PAM_SERVICE="xdm" \
+%else
+ -DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \
+ -DTDM_PAM_SERVICE="tdm-trinity" \
+ -DKSCREENSAVER_PAM_SERVICE="tdescreensaver-trinity" \
+%endif
+ %{!?with_tsak:-DBUILD_TSAK=OFF} \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{?buildroot} -C build
+
+# Removes obsolete Beagle-related files
+%__rm -f %{?buildroot}%{tde_bindir}/khc_beagle_index.pl
+%__rm -f %{?buildroot}%{tde_bindir}/khc_beagle_search.pl
+
+# Adds a GDM/KDM/XDM session called 'TDE'
+
+# Under RHEL/Fedora/Suse, static 'xsessions' files go to '/usr/share/xsessions'.
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__install -D -m 644 \
+ "%{?buildroot}%{tde_datadir}/apps/tdm/sessions/tde.desktop" \
+ "%{?buildroot}%{_datadir}/xsessions/tde.desktop"
+
+# Force session name to be 'TDE'
+%__sed -i "%{?buildroot}%{_datadir}/xsessions/tde.desktop" \
+ -e "s,^Name=.*,Name=TDE,"
+%endif
+
+# Mageia/Mandriva/PCLinuxOS stores its session file in different folder than RHEL/Fedora
+# Generated files for TDM/KDM4 go to '/usr/share/apps/tdm/sessions'
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%__install -d -m 755 %{?buildroot}%{_sysconfdir}/X11/wmsession.d
+cat <<EOF >"%{?buildroot}%{_sysconfdir}/X11/wmsession.d/45TDE"
+NAME=TDE
+ICON=kde-wmsession.xpm
+DESC=The Trinity Desktop Environment
+EXEC=%{tde_bindir}/starttde
+SCRIPT:
+exec %{tde_bindir}/starttde
+EOF
+
+%__install -d -m 755 %{?buildroot}%{_datadir}/X11/dm.d
+cat <<EOF >"%{?buildroot}%{_datadir}/X11/dm.d/45TDE.conf"
+NAME=TDM
+DESCRIPTION=TDM (Trinity Display Manager)
+PACKAGE=trinity-tdm
+EXEC=%{tde_bindir}/tdm
+FNDSESSION_EXEC="/usr/sbin/chksession -k"
+EOF
+%endif
+
+# TDE 3.5.12: add script "plasma-desktop" to avoid conflict with KDE4
+%if "%{?tde_prefix}" != "/usr"
+%__install -m 755 "%{SOURCE1}" "%{?buildroot}%{tde_bindir}"
+%endif
+
+# PAM configuration files (except openSUSE)
+%if 0%{?suse_version} == 0
+%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/tdm-trinity"
+%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/tdm-trinity-np"
+%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity"
+%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/tdescreensaver-trinity"
+%endif
+
+# TDM configuration
+%__sed -i "%{?buildroot}%{_sysconfdir}/trinity/tdm/tdmrc" \
+%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1220
+ -e "s/^#*MinShowUID=.*/MinShowUID=1000/"
+%else
+ -e "s/^#*MinShowUID=.*/MinShowUID=500/"
+%endif
+
+# Moves the XDG configuration files to TDE directory
+%if "%{tde_prefix}" != "/usr"
+%__mkdir_p "%{?buildroot}%{tde_prefix}/etc"
+%__mv -f "%{?buildroot}%{_sysconfdir}/xdg" "%{?buildroot}%{tde_prefix}/etc"
+%endif
+
+# Symlinks 'usb.ids' (Use system-provided version, not TDE provided version)
+%__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids"
+%if 0%{?suse_version}
+%__ln_s -f "/usr/share/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids"
+%else
+%__ln_s -f "/usr/share/hwdata/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids"
+%endif
+
+# Makes 'media_safelyremove.desktop' an alternative
+%__mv -f "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop" "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase"
+%__ln_s "%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase" "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop"
+%__mkdir_p "%{?buildroot}%{_sysconfdir}/alternatives"
+%__ln_s "%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase" "%{?buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase"
+
+# SUSE: creates DM config file, used by '/etc/init.d/xdm'
+# You must set 'DISPLAYMANAGER=tdm' in '/etc/sysconfig/displaymanager'
+%if 0%{?suse_version}
+%__install -D -m 644 "%{SOURCE6}" "%{?buildroot}/usr/lib/X11/displaymanagers/tdm"
+%__sed -i "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" -e "s|/opt/trinity/bin|%{tde_bindir}|g"
+%endif
+
+# Fedora 18: no more SYSV init script, we have to use systemd.
+%if 0%{?fedora} >= 18
+%__install -D -m 644 "%{SOURCE7}" "%{?buildroot}/usr/lib/systemd/system/tdm.service"
+%endif
+
+# Symlink TDM configuration
+%__mkdir_p "%{?buildroot}%{tde_datadir}/config"
+%__ln_s "%{_sysconfdir}/trinity/tdm" "%{?buildroot}%{tde_datadir}/config/tdm"
+
+# SELINUX policy
+%if 0%{?with_selinux_policy}
+%__install -D -m 644 "%{SOURCE8}" "%{?buildroot}%{?_sysconfdir}/trinity/tdm/tdm.pp"
+%endif
+
+# Mageia icon
+%if 0%{?mgaversion} >= 3
+%__install -D -m 644 %{SOURCE9} %{?buildroot}%{tde_datadir}/oxygen/scalable/mgabutton.svg
+%endif
+
+
+%clean
+%__rm -rf %{?buildroot}
+
+
+%changelog
+* Sun Mar 04 2012 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
+- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
diff --git a/redhat/tdebase/trinity-tdebase-3.5.13.2.spec b/redhat/tdebase/trinity-tdebase-3.5.13.2.spec
index 7ffa69172..e3b90f11f 100644
--- a/redhat/tdebase/trinity-tdebase-3.5.13.2.spec
+++ b/redhat/tdebase/trinity-tdebase-3.5.13.2.spec
@@ -3280,20 +3280,20 @@ Windows and Samba shares.
# Applies an optional distro-specific graphical theme
%if "%{?tde_bg}" != ""
-# KDM Background
-%__sed -i "kdm/kfrontend/genkdmconf.c" \
+# TDM Background
+%__sed -i "tdm/kfrontend/gentdmconf.c" \
-e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|'
# TDE user default background
%__sed -i "kpersonalizer/keyecandypage.cpp" \
-e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|'
-%__sed -i "startkde" \
+%__sed -i "start[kt]de" \
-e 's|/usr/share/wallpapers/isadora.png.desktop|%{tde_bg}|' \
-e 's|Wallpaper=isadora.png|Wallpaper=%{tde_bg}|'
%endif
# TDE branding: removes KUbuntu references [Bug #617]
-%__sed -i "kcontrol/kdm/kdm-appear.cpp" \
+%__sed -i "kcontrol/[kt]dm/[kt]dm-appear.cpp" \
-e "s|Welcome to Kubuntu |Welcome to %{tde_aboutlabel} |"
%__sed -i "konqueror/about/konq_aboutpage.cc" \
-e "s|About Kubuntu|About %{tde_aboutlabel}|" \
@@ -3301,15 +3301,15 @@ Windows and Samba shares.
-e "s|Kubuntu Documentation|%{tde_aboutlabel} Documentation|"
%__sed -i "konqueror/about/launch.html" \
-e "s|help:/kubuntu/about-kubuntu/index.html|%{tde_aboutpage}|"
-%__sed -i "kdm/config.def" \
+%__sed -i "[kt]dm/config.def" \
-e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |"
# TDE default directory in 'startkde' script (KDEDIR)
-%__sed -i "startkde" \
+%__sed -i "start[kt]de" \
-e "s|/opt/trinity|%{tde_prefix}|g"
# TDE default start button icon
-%__sed -i "startkde" \
+%__sed -i "start[kt]de" \
-e "s|%%{tde_starticon}|%{tde_starticon}|g"
diff --git a/redhat/tdelibs/tdelibs-r14.spec b/redhat/tdelibs/tdelibs-r14.spec
deleted file mode 100644
index d57bea3a6..000000000
--- a/redhat/tdelibs/tdelibs-r14.spec
+++ /dev/null
@@ -1,316 +0,0 @@
-# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
-%if "%{?_prefix}" != "/usr"
-%define _variant .opt
-%define _docdir %{_prefix}/share/doc
-%endif
-
-# TDE specific variables
-BuildRequires: cmake >= 2.8
-%define tde_docdir %{_docdir}/trinity
-%define tde_libdir %{_libdir}/trinity
-
-# Older RHEL/Fedora versions use packages named "qt", "qt-devel", ..
-# whereas newer versions use "qt3", "qt3-devel" ...
-%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8
-%define _qt_suffix 3
-%endif
-
-
-Name: tdelibs
-Version: r14
-Release: 1%{?dist}%{?_variant}
-License: GPL
-Summary: TDE Libraries
-Group: System Environment/Libraries
-
-Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
-URL: http://www.trinitydesktop.org/
-
-Prefix: %{_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: tdelibs-%{version}.tar.gz
-Patch0: git.patch
-
-## [kdelibs/kio] Disable 'max line length' detection [Bug #656]
-Patch10: kdelibs-3.5.13-maxlinelength.patch
-
-BuildRequires: libtool
-BuildRequires: tqtinterface-devel
-BuildRequires: trinity-arts-devel
-BuildRequires: avahi-devel
-BuildRequires: lua-devel
-BuildRequires: krb5-devel libxslt-devel cups-devel libart_lgpl-devel pcre-devel
-BuildRequires: libutempter-devel
-BuildRequires: bzip2-devel
-BuildRequires: openssl-devel
-BuildRequires: gcc-c++
-BuildRequires: alsa-lib-devel
-BuildRequires: libidn-devel
-BuildRequires: tqt3-devel >= 3.4.0
-BuildRequires: avahi-tqt-devel
-BuildRequires: jasper-devel
-BuildRequires: libtiff-devel
-BuildRequires: OpenEXR-devel
-BuildRequires: libtool-ltdl-devel
-BuildRequires: glib2-devel
-BuildRequires: gamin-devel
-BuildRequires: xorg-x11-proto-devel
-
-Requires: tqtinterface
-Requires: trinity-arts
-Requires: avahi
-Requires: tqt3 >= 3.4.0
-Requires: avahi-tqt
-
-Obsoletes: trinity-kdelibs <= 3.5.13
-
-%if "%{?_prefix}" == "/usr"
-Provides: kdelibs%{?_qt_suffix} = %{version}
-Obsoletes: kdelibs%{?_qt_suffix} <= 3.5.10
-%endif
-
-%description
-Libraries for the Trinity Desktop Environment:
-KDE Libraries included: kdecore (KDE core library), kdeui (user interface),
-kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking),
-kspell (spelling checker), jscript (javascript), kab (addressbook),
-kimgio (image manipulation).
-
-
-%package devel
-Summary: %{name} - Development files
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-Obsoletes: trinity-kdelibs-devel <= 3.5.13
-%if "%{?_prefix}" == "/usr"
-Provides: kdelibs%{?_qt_suffix}-devel = %{version}
-Obsoletes: kdelibs%{?_qt_suffix}-devel <= 3.5.10
-%endif
-
-%description devel
-This package includes the header files you will need to compile
-applications for TDE.
-
-%package apidocs
-Group: Development/Libraries
-Summary: %{name} - API documentation
-Requires: %{name} = %{version}-%{release}
-Obsoletes: trinity-kdelibs-apidocs <= 3.5.13
-%if "%{?_prefix}" == "/usr"
-Provides: kdelibs%{?_qt_suffix}-apidocs = %{version}
-Obsoletes: kdelibs%{?_qt_suffix}-apidocs <= 3.5.10
-%endif
-
-%description apidocs
-This package includes the TDE API documentation in HTML
-format for easy browsing
-
-
-%prep
-%setup -q -n tdelibs
-#patch0 -p1
-%patch10 -p1
-
-
-%build
-export PATH="%{_bindir}:${PATH}"
-export LD_LIBRARY_PATH="%{_libdir}"
-export PKG_CONFIG_PATH="%{_libdir}/pkgconfig"
-export CMAKE_INCLUDE_PATH="%{_includedir}:%{_includedir}/tqt"
-
-%__mkdir build
-cd build
-%cmake \
- -DHAVE_REAL_TQT=ON \
- -DHTML_INSTALL_DIR=%{tde_docdir}/HTML \
- -DWITH_ARTS=ON \
- -DWITH_ALSA=ON \
- -DWITH_LIBART=ON \
- -DWITH_LIBIDN=OFF \
- -DWITH_SSL=ON \
- -DWITH_CUPS=ON \
- -DWITH_LUA=OFF \
- -DWITH_TIFF=ON \
- -DWITH_JASPER=ON \
- -DWITH_OPENEXR=ON \
- -DWITH_UTEMPTER=ON \
- -DWITH_AVAHI=ON \
- -DWITH_ASPELL=OFF \
- -DWITH_HSPELL=OFF \
- -DWITH_PCRE=ON \
- -DWITH_INOTIFY=ON \
- -DWITH_GAMIN=ON \
- ..
-
-%__make %{?_smp_mflags}
-
-
-%install
-%__rm -rf %{?buildroot}
-%__make install DESTDIR=%{?buildroot} -C build
-
-%__mkdir_p %{?buildroot}%{_sysconfdir}/ld.so.conf.d
-cat <<EOF >%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf
-%if "%{?_prefix}" != "/usr"
-%{_libdir}
-%endif
-%{tde_libdir}
-EOF
-
-# Moves the XDG configuration files to TDE directory
-%if "%{_prefix}" != "/usr"
- %__install -p -D -m644 \
- "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \
- "%{?buildroot}%{_prefix}/etc/xdg/menus/kde-applications.menu"
- %__rm -rf "%{?buildroot}%{_sysconfdir}/xdg"
-%else
- %__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/kde-applications.menu"
-%endif
-
-
-%clean
-%__rm -rf %{?buildroot}
-
-
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
-
-
-%files
-%defattr(-,root,root,-)
-%doc README
-%doc COPYING.LIB
-%{_bindir}/artsmessage
-%{_bindir}/cupsdconf
-%{_bindir}/cupsdoprint
-%{_bindir}/dcop
-%{_bindir}/dcopclient
-%{_bindir}/dcopfind
-%{_bindir}/dcopobject
-%{_bindir}/dcopquit
-%{_bindir}/dcopref
-%{_bindir}/dcopserver
-%{_bindir}/dcopserver_shutdown
-%{_bindir}/dcopstart
-%{_bindir}/filesharelist
-%{_bindir}/fileshareset
-%{_bindir}/imagetops
-%{_bindir}/kab2kabc
-%{_bindir}/kaddprinterwizard
-%{_bindir}/kbuildsycoca
-%{_bindir}/kcmshell
-%{_bindir}/kconf_update
-%{_bindir}/kcookiejar
-%{_bindir}/tde-config
-%{_bindir}/kde-menu
-%{_bindir}/kded
-%{_bindir}/tdeinit
-%{_bindir}/tdeinit_shutdown
-%{_bindir}/tdeinit_wrapper
-%{_bindir}/tdesu_stub
-%{_bindir}/kdontchangethehostname
-%{_bindir}/kdostartupconfig
-%{_bindir}/kfile
-%{_bindir}/kfmexec
-%{_bindir}/khotnewstuff
-%{_bindir}/kinstalltheme
-%{_bindir}/kio_http_cache_cleaner
-%{_bindir}/kio_uiserver
-%{_bindir}/kioexec
-%{_bindir}/kioslave
-%{_bindir}/klauncher
-%{_bindir}/kmailservice
-%{_bindir}/kmimelist
-%attr(4755,root,root) %{_bindir}/kpac_dhcp_helper
-%{_bindir}/ksendbugmail
-%{_bindir}/kshell
-%{_bindir}/kstartupconfig
-%{_bindir}/ktelnetservice
-%{_bindir}/ktradertest
-%{_bindir}/kwrapper
-%{_bindir}/lnusertemp
-%{_bindir}/make_driver_db_cups
-%{_bindir}/make_driver_db_lpr
-%{_bindir}/meinproc
-%{_bindir}/networkstatustestservice
-%{_bindir}/start_tdeinit
-%{_bindir}/start_tdeinit_wrapper
-%attr(4755,root,root) %{_bindir}/kgrantpty
-%{_libdir}/lib*.so.*
-%{_libdir}/libtdeinit_*.so
-%{_libdir}/lib*.la
-%{tde_libdir}/
-%{_datadir}/applications/kde/*.desktop
-%{_datadir}/autostart/kab2kabc.desktop
-%{_datadir}/applnk/kio_iso.desktop
-%{_datadir}/apps/*
-%exclude %{_datadir}/apps/ksgmltools2/
-%config(noreplace) %{_datadir}/config/*
-%{_datadir}/emoticons/*
-%{_datadir}/icons/default.kde
-%{_datadir}/mimelnk/magic
-%{_datadir}/mimelnk/*/*.desktop
-%{_datadir}/services/*
-%{_datadir}/servicetypes/*
-%{_datadir}/icons/crystalsvg/
-%{tde_docdir}/HTML/en/kspell
-# remove conflicts with kdelibs-4
-%if "%{?_prefix}" != "/usr"
-%{_bindir}/checkXML
-%{_bindir}/ksvgtopng
-%{_bindir}/kunittestmodrunner
-%{_bindir}/preparetips
-%{_datadir}/icons/hicolor/index.theme
-%{_datadir}/locale/all_languages
-%{tde_docdir}/HTML/en/common/*
-%else
-%exclude %{_bindir}/checkXML
-%exclude %{_bindir}/ksvgtopng
-%exclude %{_bindir}/kunittestmodrunner
-%exclude %{_bindir}/preparetips
-%exclude %{_datadir}/config/colors
-%exclude %{_datadir}/config/kdebug.areas
-%exclude %{_datadir}/config/kdebugrc
-%exclude %{_datadir}/config/ksslcalist
-%exclude %{_datadir}/config/ui/ui_standards.rc
-%exclude %{_datadir}/icons/hicolor/index.theme
-%exclude %{_datadir}/locale/all_languages
-%exclude %{tde_docdir}/HTML/en/common/*
-%endif
-%{_sysconfdir}/ld.so.conf.d/trinity.conf
-
-# Avoid conflict with 'redhat-menus' package
-%if "%{_prefix}" == "/usr"
-%{_sysconfdir}/xdg/menus/kde-applications.menu
-%else
-%{_prefix}/etc/xdg/menus/kde-applications.menu
-%endif
-
-# New in TDE 3.5.13
-%{_bindir}/kdetcompmgr
-
-%files devel
-%defattr(-,root,root,-)
-%{_bindir}/dcopidl*
-%{_bindir}/kconfig_compiler
-%{_bindir}/makekdewidgets
-%{_datadir}/apps/ksgmltools2/
-%{_includedir}/
-%{_libdir}/lib*.so
-%{_libdir}/lib*.a
-%exclude %{_libdir}/libtdeinit_*.so
-%{_datadir}/cmake/tdelibs.cmake
-
-%files apidocs
-%defattr(-,root,root,-)
-%{_docdir}/%{name}-%{version}/
-
-
-%changelog
-* Thu Feb 16 2012 Francois Andriot <francois.andriot@free.fr> - r14-1
-- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
diff --git a/redhat/tdelibs/trinity-tdelibs-14.0.0.spec b/redhat/tdelibs/trinity-tdelibs-14.0.0.spec
new file mode 100644
index 000000000..326915004
--- /dev/null
+++ b/redhat/tdelibs/trinity-tdelibs-14.0.0.spec
@@ -0,0 +1,456 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific variables
+%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_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-tdelibs
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+License: GPL
+Summary: TDE Libraries
+Group: Environment/Libraries
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+
+Obsoletes: tdelibs < %{version}-%{release}
+Provides: tdelibs = %{version}-%{release}
+Obsoletes: trinity-kdelibs < %{version}-%{release}
+Provides: trinity-kdelibs = %{version}-%{release}
+Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release}
+Provides: trinity-kdelibs-apidocs = %{version}-%{release}
+
+
+BuildRequires: cmake >= 2.8
+BuildRequires: libtool
+BuildRequires: trinity-tqt3-devel >= %{version}
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-dbus-1-tqt-devel >= %{version}
+BuildRequires: trinity-dbus-tqt-devel >= %{version}
+BuildRequires: krb5-devel
+BuildRequires: libxslt-devel
+BuildRequires: cups-devel
+BuildRequires: trinity-libart-lgpl-devel
+BuildRequires: openssl-devel
+BuildRequires: gcc-c++
+BuildRequires: alsa-lib-devel
+BuildRequires: libidn-devel
+BuildRequires: libtiff-devel
+BuildRequires: glib2-devel
+# LUA support are not ready yet
+#BuildRequires: lua-devel
+
+# ASPELL support
+BuildRequires: aspell
+BuildRequires: aspell-devel
+
+# GAMIN support
+# Not on openSUSE.
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_gamin 1
+BuildRequires: gamin-devel
+%endif
+
+# PCRE support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_pcre 1
+BuildRequires: pcre-devel
+%endif
+
+# INOTIFY support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_inotify 1
+%endif
+
+# BZIP2 support
+%if 0%{?suse_version}
+BuildRequires: libbz2-devel
+%else
+BuildRequires: bzip2-devel
+%endif
+
+# UTEMPTER support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: libutempter-devel
+%endif
+%if 0%{?rhel} == 4
+BuildRequires: utempter
+%endif
+%if 0%{?suse_version}
+BuildRequires: utempter-devel
+%endif
+
+# HSPELL support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_hspell 1
+BuildRequires: hspell-devel
+%endif
+
+# JASPER support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_jasper 1
+%if 0%{?suse_version}
+BuildRequires: libjasper-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}jasper-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: jasper-devel
+%endif
+%endif
+
+# AVAHI support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_avahi 1
+BuildRequires: trinity-avahi-tqt-devel >= %{version}
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}avahi-client-devel
+Requires: %{_lib}avahi-client3
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: avahi-devel
+Requires: avahi
+%endif
+%endif
+
+# OPENEXR support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_openexr 1
+BuildRequires: OpenEXR-devel
+%endif
+
+# LIBTOOL
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}ltdl-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: libtool-ltdl-devel
+%endif
+%if 0%{?rhel} == 4 || 0%{?suse_version} == 1140
+BuildRequires: libtool
+%endif
+
+# X11 support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: x11-proto-devel
+BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: xorg-x11-proto-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: libXcomposite-devel
+%endif
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+%endif
+
+# ICEAUTH
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220
+Requires: iceauth
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora}
+Requires: xorg-x11-server-utils
+%endif
+%if 0%{?rhel} == 4 || 0%{?suse_version}
+Requires: xorg-x11
+%endif
+
+# XZ support
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+%define with_lzma 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}lzma-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: xz-devel
+%endif
+%endif
+
+# NETWORKMANAGER support
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version}
+%define with_nm 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}nm-util-devel
+%endif
+%endif
+
+Requires: trinity-tqt3 >= %{version}
+Requires: trinity-tqtinterface >= %{version}
+Requires: trinity-arts >= %{version}
+
+%description
+Libraries for the Trinity Desktop Environment:
+TDE Libraries included: tdecore (TDE core library), kdeui (user interface),
+kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking),
+kspell (spelling checker), jscript (javascript), kab (addressbook),
+kimgio (image manipulation).
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB README TODO
+%{tde_bindir}/artsmessage
+%{tde_bindir}/cupsdconf
+%{tde_bindir}/cupsdoprint
+%{tde_bindir}/dcop
+%{tde_bindir}/dcopclient
+%{tde_bindir}/dcopfind
+%{tde_bindir}/dcopobject
+%{tde_bindir}/dcopquit
+%{tde_bindir}/dcopref
+%{tde_bindir}/dcopserver
+%{tde_bindir}/dcopserver_shutdown
+%{tde_bindir}/dcopstart
+%{tde_bindir}/filesharelist
+%{tde_bindir}/fileshareset
+%{tde_bindir}/imagetops
+%{tde_bindir}/tdeab2tdeabc
+%{tde_bindir}/kaddprinterwizard
+%{tde_bindir}/tdebuildsycoca
+%{tde_bindir}/tdecmshell
+%{tde_bindir}/tdeconf_update
+%{tde_bindir}/kcookiejar
+%{tde_bindir}/[kt]de-config
+%{tde_bindir}/[kt]de-menu
+%{tde_bindir}/kded
+%{tde_bindir}/[kt]deinit
+%{tde_bindir}/[kt]deinit_shutdown
+%{tde_bindir}/[kt]deinit_wrapper
+%{tde_bindir}/[kt]desu_stub
+%{tde_bindir}/kdetcompmgr
+%{tde_bindir}/kdontchangethehostname
+%{tde_bindir}/tdedostartupconfig
+%{tde_bindir}/tdefile
+%{tde_bindir}/kfmexec
+%{tde_bindir}/tdehotnewstuff
+%{tde_bindir}/kinstalltheme
+%{tde_bindir}/tdeio_http_cache_cleaner
+%{tde_bindir}/tdeio_uiserver
+%{tde_bindir}/tdeioexec
+%{tde_bindir}/tdeioslave
+%{tde_bindir}/tdelauncher
+%{tde_bindir}/tdemailservice
+%{tde_bindir}/tdemimelist
+%attr(4755,root,root) %{tde_bindir}/kpac_dhcp_helper
+%{tde_bindir}/tdesendbugmail
+%{tde_bindir}/kshell
+%{tde_bindir}/tdestartupconfig
+%{tde_bindir}/tdetelnetservice
+%{tde_bindir}/tdetradertest
+%{tde_bindir}/kwrapper
+%{tde_bindir}/lnusertemp
+%{tde_bindir}/make_driver_db_cups
+%{tde_bindir}/make_driver_db_lpr
+%{tde_bindir}/meinproc
+%{tde_bindir}/networkstatustestservice
+%{tde_bindir}/start_[kt]deinit
+%{tde_bindir}/start_[kt]deinit_wrapper
+%attr(4755,root,root) %{tde_bindir}/kgrantpty
+%{tde_bindir}/tde_dbus_hardwarecontrol
+%{tde_bindir}/checkXML
+%{tde_bindir}/ksvgtopng
+%{tde_bindir}/tdeunittestmodrunner
+%{tde_bindir}/preparetips
+%{tde_tdelibdir}/*
+%{tde_libdir}/lib*.so.*
+%{tde_libdir}/lib[kt]deinit_*.la
+%{tde_libdir}/lib[kt]deinit_*.so
+%{tde_datadir}/applications/[kt]de/*.desktop
+%{tde_datadir}/autostart/tdeab2tdeabc.desktop
+%{tde_datadir}/applnk/tdeio_iso.desktop
+%{tde_datadir}/apps/*
+%exclude %{tde_datadir}/apps/ksgmltools2/
+%config(noreplace) %{tde_datadir}/config/*
+%{tde_datadir}/emoticons/*
+%{tde_datadir}/icons/crystalsvg/
+%{tde_datadir}/icons/default.tde
+%{tde_datadir}/icons/hicolor/index.theme
+%{tde_datadir}/locale/all_languages
+%{tde_datadir}/mimelnk/magic
+%{tde_datadir}/mimelnk/*/*.desktop
+%{tde_datadir}/services/*
+%{tde_datadir}/servicetypes/*
+%{tde_tdedocdir}/HTML/en/common/*
+%{tde_tdedocdir}/HTML/en/tdespell/
+
+%{_sysconfdir}/dbus-1/system.d/org.trinitydesktop.hardwarecontrol.conf
+%{tde_prefix}/etc/xdg/menus/tde-applications.menu
+%{_sysconfdir}/ld.so.conf.d/trinity.conf
+%{_datadir}/dbus-1/system-services/org.trinitydesktop.hardwarecontrol.service
+
+
+%pre
+# TDE Bug #1074
+if [ -d "%{tde_datadir}/locale/all_languages" ]; then
+ rm -rf "%{tde_datadir}/locale/all_languages"
+fi
+
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+##########
+
+%package devel
+Summary: %{name} - Development files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+Obsoletes: tdelibs-devel < %{version}-%{release}
+Provides: tdelibs-devel = %{version}-%{release}
+Obsoletes: trinity-kdelibs-devel < %{version}-%{release}
+Provides: trinity-kdelibs-devel = %{version}-%{release}
+
+%description devel
+This package includes the header files you will need to compile
+applications for TDE.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_bindir}/dcopidl*
+%{tde_bindir}/*config_compiler
+%{tde_bindir}/make[kt]dewidgets
+%{tde_datadir}/apps/ksgmltools2/
+%{tde_tdeincludedir}/*
+%{tde_libdir}/*.la
+%{tde_libdir}/*.so
+%{tde_libdir}/*.a
+%{tde_libdir}/pkgconfig/tdelibs.pc
+%exclude %{tde_libdir}/lib[kt]deinit_*.la
+%exclude %{tde_libdir}/lib[kt]deinit_*.so
+%{tde_datadir}/cmake/[kt]delibs.cmake
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+
+%build
+unset QTDIR
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+
+# We need LD_LIBRARY_PATH here because ld.so.conf file has not been written yet
+export LD_LIBRARY_PATH="%{tde_libdir}"
+
+if [ -d "/usr/X11R6" ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -L/usr/X11R6/%{_lib} -I/usr/X11R6/include"
+fi
+
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
+ -DBIN_INSTALL_DIR="%{tde_bindir}" \
+ -DDOC_INSTALL_DIR="%{tde_docdir}" \
+ -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
+ -DLIB_INSTALL_DIR="%{tde_libdir}" \
+ -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
+ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DWITH_ARTS=ON \
+ -DWITH_ALSA=ON \
+ -DWITH_LIBART=ON \
+ -DWITH_LIBIDN=ON \
+ -DWITH_SSL=ON \
+ -DWITH_CUPS=ON \
+ -DWITH_LUA=OFF \
+ -DWITH_TIFF=ON \
+ %{?with_jasper:-DWITH_JASPER=ON} \
+ %{?with_openexr:-DWITH_OPENEXR=ON} \
+ -DWITH_UTEMPTER=ON \
+ -DWITH_ELFICON=OFF \
+ %{?with_avahi:-DWITH_AVAHI=ON} \
+ %{?!with_pcre:-DWITH_PCRE=OFF} \
+ -DWITH_GCC_VISIBILITY=ON \
+ %{?!with_inotify:-DWITH_INOTIFY=OFF} \
+ %{?!with_gamin:-DWITH_GAMIN=OFF} %{?with_gamin:-DWITH_GAMIN=ON} \
+ -DWITH_UPOWER=ON \
+ -DWITH_UDISKS=ON \
+ -DWITH_UDISKS2=ON \
+ -DWITH_CONSOLEKIT=ON \
+ %{?with_nm:-DWITH_NETWORK_MANAGER_BACKEND=ON} \
+ -DWITH_SUDO_TDESU_BACKEND=OFF \
+ -DWITH_OLD_XDG_STD=OFF \
+ %{?with_lzma:-DWITH_LZMA=ON} %{?!with_lzma:-DWITH_LZMA=OFF} \
+ -DWITH_ASPELL=ON \
+ %{?with_hspell:-DWITH_HSPELL=ON} \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+%__rm -rf "%{?buildroot}"
+%__make install DESTDIR="%{?buildroot}" -C build
+
+%if "%{?tde_prefix}" != "/usr"
+%__mkdir_p "%{?buildroot}%{_sysconfdir}/ld.so.conf.d"
+cat <<EOF >"%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf"
+%{tde_libdir}
+EOF
+%endif
+
+# Moves the XDG configuration files to TDE directory
+%if "%{tde_prefix}" != "/usr"
+%__install -p -D -m644 \
+ "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \
+ "%{?buildroot}%{tde_prefix}/etc/xdg/menus/tde-applications.menu"
+%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg"
+%else
+%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/tde-applications.menu"
+%endif
+
+# Appends TDE version to '.pc' file
+echo "Version: %{version}" >>"%{?buildroot}%{tde_libdir}/pkgconfig/tdelibs.pc"
+
+
+%clean
+%__rm -rf "%{?buildroot}"
+
+
+%changelog
+* Thu Feb 16 2012 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
+- Initial build for TDE R14, using 'tqt3' instead of 'qt3'