summaryrefslogtreecommitdiffstats
path: root/redhat/core
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/core')
-rw-r--r--redhat/core/tde-i18n/tde-i18n.spec1499
-rw-r--r--redhat/core/tdeaccessibility/tdeaccessibility.spec512
-rw-r--r--redhat/core/tdeaccessibility/trinity-tdeaccessibility-rpmlintrc2
-rw-r--r--redhat/core/tdeaddons/tdeaddons.spec781
-rw-r--r--redhat/core/tdeadmin/kpackagerc33
-rw-r--r--redhat/core/tdeadmin/ksysvrc8
-rw-r--r--redhat/core/tdeadmin/kuser.pam3
-rw-r--r--redhat/core/tdeadmin/kuser.pamd4
-rw-r--r--redhat/core/tdeadmin/kuserrc6
-rw-r--r--redhat/core/tdeadmin/tdeadmin.spec475
-rw-r--r--redhat/core/tdeartwork/tdeartwork.spec803
-rw-r--r--redhat/core/tdebase/mgabutton.svg744
-rw-r--r--redhat/core/tdebase/pamd.kcheckpass-trinity.el59
-rw-r--r--redhat/core/tdebase/pamd.kcheckpass-trinity.el65
-rw-r--r--redhat/core/tdebase/pamd.kcheckpass-trinity.el75
l---------redhat/core/tdebase/pamd.kcheckpass-trinity.el81
l---------redhat/core/tdebase/pamd.kcheckpass-trinity.el91
-rw-r--r--redhat/core/tdebase/pamd.kcheckpass-trinity.fc345
-rw-r--r--redhat/core/tdebase/pamd.kcheckpass-trinity.fc355
-rw-r--r--redhat/core/tdebase/pamd.kcheckpass-trinity.fc365
-rw-r--r--redhat/core/tdebase/pamd.kcheckpass-trinity.fc375
-rw-r--r--redhat/core/tdebase/pamd.kcheckpass-trinity.mdv2011.05
-rw-r--r--redhat/core/tdebase/pamd.kcheckpass-trinity.mga85
-rw-r--r--redhat/core/tdebase/pamd.kcheckpass-trinity.opensuse12205
l---------redhat/core/tdebase/pamd.kcheckpass-trinity.pclos1
-rw-r--r--redhat/core/tdebase/pamd.kcheckpass-trinity.pclos20125
-rw-r--r--redhat/core/tdebase/pamd.kcheckpass-trinity.pclos20135
-rw-r--r--redhat/core/tdebase/pamd.kcheckpass-trinity.pclos20145
-rw-r--r--redhat/core/tdebase/pamd.kcheckpass-trinity.pclos20155
-rw-r--r--redhat/core/tdebase/pamd.kcheckpass-trinity.pclos20165
-rw-r--r--redhat/core/tdebase/pamd.kcheckpass-trinity.pclos20175
-rw-r--r--redhat/core/tdebase/pamd.kcheckpass-trinity.pclos20185
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity-np.el511
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity-np.el613
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity-np.el713
l---------redhat/core/tdebase/pamd.kdm-trinity-np.el81
l---------redhat/core/tdebase/pamd.kdm-trinity-np.el91
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity-np.fc3416
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity-np.fc3516
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity-np.fc3616
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity-np.fc3716
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity-np.mdv2011.07
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity-np.mga811
l---------redhat/core/tdebase/pamd.kdm-trinity-np.pclos1
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity-np.pclos20127
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity-np.pclos20137
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity-np.pclos20147
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity-np.pclos20157
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity-np.pclos20167
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity-np.pclos20177
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity-np.pclos20187
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity.el510
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity.el616
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity.el716
l---------redhat/core/tdebase/pamd.kdm-trinity.el81
l---------redhat/core/tdebase/pamd.kdm-trinity.el91
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity.fc3423
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity.fc3523
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity.fc3623
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity.fc3723
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity.mdv2011.08
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity.mga815
l---------redhat/core/tdebase/pamd.kdm-trinity.pclos1
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity.pclos20128
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity.pclos20138
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity.pclos20148
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity.pclos20158
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity.pclos20168
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity.pclos20178
-rw-r--r--redhat/core/tdebase/pamd.kdm-trinity.pclos20188
-rw-r--r--redhat/core/tdebase/pamd.kscreensaver-trinity.el59
-rw-r--r--redhat/core/tdebase/pamd.kscreensaver-trinity.el65
-rw-r--r--redhat/core/tdebase/pamd.kscreensaver-trinity.el75
l---------redhat/core/tdebase/pamd.kscreensaver-trinity.el81
l---------redhat/core/tdebase/pamd.kscreensaver-trinity.el91
-rw-r--r--redhat/core/tdebase/pamd.kscreensaver-trinity.fc345
-rw-r--r--redhat/core/tdebase/pamd.kscreensaver-trinity.fc355
-rw-r--r--redhat/core/tdebase/pamd.kscreensaver-trinity.fc365
-rw-r--r--redhat/core/tdebase/pamd.kscreensaver-trinity.fc375
-rw-r--r--redhat/core/tdebase/pamd.kscreensaver-trinity.mdv2011.05
-rw-r--r--redhat/core/tdebase/pamd.kscreensaver-trinity.mga85
l---------redhat/core/tdebase/pamd.kscreensaver-trinity.pclos1
-rw-r--r--redhat/core/tdebase/pamd.kscreensaver-trinity.pclos20125
-rw-r--r--redhat/core/tdebase/pamd.kscreensaver-trinity.pclos20135
-rw-r--r--redhat/core/tdebase/pamd.kscreensaver-trinity.pclos20145
-rw-r--r--redhat/core/tdebase/pamd.kscreensaver-trinity.pclos20155
-rw-r--r--redhat/core/tdebase/pamd.kscreensaver-trinity.pclos20165
-rw-r--r--redhat/core/tdebase/pamd.kscreensaver-trinity.pclos20175
-rw-r--r--redhat/core/tdebase/pamd.kscreensaver-trinity.pclos20185
-rw-r--r--redhat/core/tdebase/suse-displaymanagers-tdm26
-rw-r--r--redhat/core/tdebase/tdebase.spec3573
-rw-r--r--redhat/core/tdebase/tdm.el6.te11
-rw-r--r--redhat/core/tdebase/tdm.el7.te11
-rw-r--r--redhat/core/tdebase/tdm.el8.te11
l---------redhat/core/tdebase/tdm.el9.te1
-rw-r--r--redhat/core/tdebase/tdm.fc34.te11
-rw-r--r--redhat/core/tdebase/tdm.fc35.te11
-rw-r--r--redhat/core/tdebase/tdm.fc36.te11
-rw-r--r--redhat/core/tdebase/tdm.fc37.te11
l---------redhat/core/tdebase/tdm.service.el91
-rw-r--r--redhat/core/tdebase/tdm.service.fc3412
-rw-r--r--redhat/core/tdebase/tdm.service.fc3512
-rw-r--r--redhat/core/tdebase/tdm.service.fc3612
-rw-r--r--redhat/core/tdebase/tdm.service.fc3712
-rw-r--r--redhat/core/tdebase/tdm.service.mga812
-rw-r--r--redhat/core/tdebase/trinity-tdebase-rpmlintrc3
-rwxr-xr-xredhat/core/tdebase/xdm.oss114349
-rw-r--r--redhat/core/tdebindings/filter-requires.sh9
-rw-r--r--redhat/core/tdebindings/tdebindings.spec1232
-rw-r--r--redhat/core/tdebindings/trinity-tdebindings-rpmlintrc2
-rw-r--r--redhat/core/tdeedu/tdeedu.spec1227
-rw-r--r--redhat/core/tdeedu/trinity-tdeedu-rpmlintrc2
-rw-r--r--redhat/core/tdegames/tdegames.spec1265
-rw-r--r--redhat/core/tdegames/trinity-tdegames-rpmlintrc2
-rw-r--r--redhat/core/tdegraphics/tdegraphics.spec1137
-rw-r--r--redhat/core/tdegraphics/trinity-tdegraphics-rpmlintrc2
-rw-r--r--redhat/core/tdelibs/tdelibs.spec762
-rw-r--r--redhat/core/tdelibs/trinity-tdelibs-rpmlintrc4
-rw-r--r--redhat/core/tdemultimedia/tdemultimedia.spec1159
-rw-r--r--redhat/core/tdemultimedia/trinity-tdemultimedia-rpmlintrc2
-rw-r--r--redhat/core/tdenetwork/kppp.pamd4
-rw-r--r--redhat/core/tdenetwork/ktalk12
-rw-r--r--redhat/core/tdenetwork/tdenetwork.spec1242
-rw-r--r--redhat/core/tdenetwork/trinity-tdenetwork-rpmlintrc3
-rw-r--r--redhat/core/tdepim/tdepim.spec1936
-rw-r--r--redhat/core/tdepim/trinity-tdepim-rpmlintrc2
-rw-r--r--redhat/core/tdesdk/tdesdk.spec1187
-rw-r--r--redhat/core/tdesdk/trinity-tdesdk-rpmlintrc2
-rw-r--r--redhat/core/tdetoys/tdetoys.spec449
-rw-r--r--redhat/core/tdeutils/kcmlaptoprc114
-rw-r--r--redhat/core/tdeutils/klaptop_acpi_helper.console1
-rw-r--r--redhat/core/tdeutils/klaptop_acpi_helper.pam4
-rw-r--r--redhat/core/tdeutils/tdeutils.spec1039
-rw-r--r--redhat/core/tdeutils/trinity-tdeutils-rpmlintrc2
-rw-r--r--redhat/core/tdevelop/tdevelop.spec675
-rw-r--r--redhat/core/tdevelop/trinity-tdevelop-rpmlintrc2
-rw-r--r--redhat/core/tdewebdev/css.tar.bz2bin0 -> 121295 bytes
-rw-r--r--redhat/core/tdewebdev/html.tar.bz2bin0 -> 93345 bytes
-rw-r--r--redhat/core/tdewebdev/javascript.tar.bz2bin0 -> 336563 bytes
-rw-r--r--redhat/core/tdewebdev/php_manual_en_20030401.tar.bz2bin0 -> 1346608 bytes
-rw-r--r--redhat/core/tdewebdev/tdewebdev.spec551
-rw-r--r--redhat/core/tdewebdev/trinity-tdewebdev-rpmlintrc2
142 files changed, 23558 insertions, 0 deletions
diff --git a/redhat/core/tde-i18n/tde-i18n.spec b/redhat/core/tde-i18n/tde-i18n.spec
new file mode 100644
index 000000000..418ae31d4
--- /dev/null
+++ b/redhat/core/tde-i18n/tde-i18n.spec
@@ -0,0 +1,1499 @@
+#
+# spec file for package tde-i18n (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# TDE variables
+%define tde_epoch 2
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tde-i18n
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+# Builds all supported languages (not unsupported ones)
+%if "%{?TDE_LANGS}" == ""
+%define TDE_LANGS af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta te tg th tr uk uz uz@cyrillic vi wa zh_CN zh_TW
+%endif
+
+
+Name: trinity-%{tde_pkg}
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+Summary: Internationalization support for Trinity
+Group: User Interface/Desktops
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Desktop
+#Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+# Speed build options
+%define debug_package %{nil}
+%define __spec_install_post %{nil}
+AutoReq: no
+
+Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
+
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+
+BuildRequires: findutils
+BuildRequires: gettext
+BuildRequires: trinity-cmake >= %{tde_version}
+BuildRequires: gcc-c++
+
+%description
+This package contains %{summary}.
+
+##########
+
+%package Afrikaans
+Summary: Afrikaans(af) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-af = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Afrikaans < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Afrikaans = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Afrikaans
+This package contains %{summary}.
+
+%files Afrikaans
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/af/
+
+##########
+
+%package Arabic
+Summary: Arabic(ar) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ar = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Arabic < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Arabic = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Arabic
+This package contains %{summary}.
+
+%files Arabic
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ar/
+
+##########
+
+%package Azerbaijani
+Summary: Azerbaijani(az) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-az = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Arabic < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Arabic = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Azerbaijani
+This package contains %{summary}.
+
+%files Azerbaijani
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/az/
+
+##########
+
+%package Belarusian
+Summary: Belarusian(be) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-be = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Belarusian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Belarusian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Belarusian
+This package contains %{summary}.
+
+%files Belarusian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/be/
+
+##########
+
+%package Bulgarian
+Summary: Bulgarian(bg) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-bg = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Bulgarian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Bulgarian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Bulgarian
+This package contains %{summary}.
+
+%files Bulgarian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/bg/
+
+##########
+
+%package Bengali
+Summary: Bengali(bn) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-bn = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Bengali < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Bengali = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Bengali
+This package contains %{summary}.
+
+%files Bengali
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/bn/
+
+##########
+
+%package Tibetan
+Summary: Tibetan(bo) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-bo = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Tibetan < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Tibetan = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Tibetan
+This package contains %{summary}.
+
+#%files Tibetan
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/bo/
+
+##########
+
+%package Breton
+Summary: Breton(br) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-br = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Breton < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Breton = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Breton
+This package contains %{summary}.
+
+%files Breton
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/br/
+
+##########
+
+%package Bosnian
+Summary: Bosnian(bs) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-bs = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Bosnian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Bosnian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Bosnian
+This package contains %{summary}.
+
+%files Bosnian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/bs/
+
+##########
+
+%package Catalan
+Summary: Catalan(ca) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ca = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Catalan < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Catalan = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Catalan
+This package contains %{summary}.
+
+%files Catalan
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ca/
+%{tde_tdedocdir}/HTML/ca/
+
+##########
+
+%package Czech
+Summary: Czech(cs) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-cs = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Czech < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Czech = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Czech
+This package contains %{summary}.
+
+%files Czech
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/cs/
+%{tde_tdedocdir}/HTML/cs/
+
+##########
+
+%package Kashubian
+Summary: Kashubian(csb) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-csb = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Kashubian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Kashubian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Kashubian
+This package contains %{summary}.
+
+%files Kashubian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/csb/
+
+##########
+
+%package Cymraeg
+Summary: Cymraeg language support for TDE
+Group: User Interface/Desktops
+Obsoletes: trinity-kde-i18n-Cymraeg < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Cymraeg = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Cymraeg
+This package contains %{summary}.
+
+##########
+
+%package Welsh
+Summary: Welsh(cy) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-cy = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Welsh < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Welsh = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Welsh
+This package contains %{summary}.
+
+%files Welsh
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/cy/
+
+##########
+
+%package Danish
+Summary: Danish(da) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-da = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Danish < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Danish = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Danish
+This package contains %{summary}.
+
+%files Danish
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/da/
+%{tde_tdedocdir}/HTML/da/
+
+##########
+
+%package German
+Summary: German(de) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-de = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-German < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-German = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description German
+This package contains %{summary}.
+
+%files German
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/de/
+%{tde_tdedocdir}/HTML/de/
+
+##########
+
+%package Greek
+Summary: Greek(el) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-el = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Greek < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Greek = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Greek
+This package contains %{summary}.
+
+%files Greek
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/el/
+
+##########
+
+%package British
+Summary: British(en_GB) English support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-en_GB = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-British < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-British = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description British
+This package contains %{summary}.
+
+%files British
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/en_GB/
+%{tde_tdedocdir}/HTML/en_GB/
+
+##########
+
+%package Esperanto
+Summary: Esperanto(eo) support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-eo = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Esperanto < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Esperanto = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Esperanto
+This package contains %{summary}.
+
+%files Esperanto
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/eo/
+
+##########
+
+%package Spanish
+Summary: Spanish(es) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-es = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Spanish < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Spanish = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Spanish
+This package contains %{summary}.
+
+%files Spanish
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/es/
+%{tde_tdedocdir}/HTML/es/
+
+##########
+
+%package Estonian
+Summary: Estonian(et) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-et = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Estonian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Estonian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Estonian
+This package contains %{summary}.
+
+%files Estonian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/et/
+%{tde_tdedocdir}/HTML/et/
+
+##########
+
+%package Basque
+Summary: Basque(eu) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-eu = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Basque < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Basque = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Basque
+This package contains %{summary}.
+
+%files Basque
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/eu/
+%{tde_tdedocdir}/HTML/eu/
+
+##########
+
+%package Farsi
+Summary: Farsi(fa) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fa = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Farsi < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Farsi = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Farsi
+This package contains %{summary}.
+
+%files Farsi
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/fa/
+
+##########
+
+%package Finnish
+Summary: Finnish(fi) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fi = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Finnish < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Finnish = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Finnish
+This package contains %{summary}.
+
+%files Finnish
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/fi/
+%{tde_tdedocdir}/HTML/fi/
+
+##########
+
+%package Faroese
+Summary: Faroese(fo) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fo = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Faroese < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Faroese = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Faroese
+This package contains %{summary}.
+
+#%files Faroese
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/fo/
+
+##########
+
+%package French
+Summary: French(fr) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fr = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-French < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-French = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description French
+This package contains %{summary}.
+
+%files French
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/fr/
+%{tde_tdedocdir}/HTML/fr/
+
+##########
+
+%package Frisian
+Summary: Frisian(fy) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fy = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Frisian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Frisian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Frisian
+This package contains %{summary}.
+
+%files Frisian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/fy/
+
+##########
+
+%package Irish
+Summary: Irish(ga) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ga = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Irish < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Irish = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Irish
+This package contains %{summary}.
+
+%files Irish
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ga/
+
+##########
+
+%package Galician
+Summary: Galician(gl) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-gl = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Galician < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Galician = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Galician
+This package contains %{summary}.
+
+%files Galician
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/gl/
+
+##########
+
+%package Hebrew
+Summary: Hebrew(he) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-he = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Hebrew < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Hebrew = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Hebrew
+This package contains %{summary}.
+
+%files Hebrew
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/he/
+%{tde_tdedocdir}/HTML/he/
+
+##########
+
+%package Hindi
+Summary: Hindi(hi) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-hi = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Hindi < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Hindi = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Hindi
+This package contains %{summary}.
+
+%files Hindi
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/hi/
+
+##########
+
+%package Croatian
+Summary: Croatian(hr) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-hr = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Croatian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Croatian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Croatian
+This package contains %{summary}.
+
+%files Croatian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/hr/
+%{tde_tdedocdir}/HTML/hr/
+
+##########
+
+%package Hungarian
+Summary: Hungarian(hu) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-hu = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Hungarian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Hungarian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Hungarian
+This package contains %{summary}.
+
+%files Hungarian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/hu/
+%{tde_tdedocdir}/HTML/hu/
+
+##########
+
+%package Indonesian
+Summary: Indonesian(id) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-id = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Indonesian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Indonesian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Indonesian
+This package contains %{summary}.
+
+#%files Indonesian
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/id/
+
+##########
+
+%package Icelandic
+Summary: Icelandic(is) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-is = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Icelandic < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Icelandic = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Icelandic
+This package contains %{summary}.
+
+%files Icelandic
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/is/
+
+##########
+
+%package Italian
+Summary: Italian(it) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-it = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Italian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Italian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Italian
+This package contains %{summary}.
+
+%files Italian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/it/
+%{tde_tdedocdir}/HTML/it/
+
+##########
+
+%package Japanese
+Summary: Japanese(ja) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ja = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Japanese < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Japanese = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Japanese
+This package contains %{summary}.
+
+%files Japanese
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ja/
+%{tde_tdedocdir}/HTML/ja/
+
+##########
+
+%package Kazakh
+Summary: Kazakh(kk) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-kk = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Kazakh < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Kazakh = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Kazakh
+This package contains %{summary}.
+
+%files Kazakh
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/kk/
+
+##########
+
+%package Khmer
+Summary: Khmer(km) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ko = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Khmer < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Khmer = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Khmer
+This package contains %{summary}.
+
+%files Khmer
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/km/
+
+##########
+
+%package Korean
+Summary: Korean(ko) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ko = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Korean < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Korean = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Korean
+This package contains %{summary}.
+
+%files Korean
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ko/
+%{tde_tdedocdir}/HTML/ko/
+
+##########
+
+%package Kurdish
+Summary: Kurdish(ku) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ku = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Kurdish < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Kurdish = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Kurdish
+This package contains %{summary}.
+
+#%files Kurdish
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/ku/
+
+##########
+
+%package Lao
+Summary: Lao(lo) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-lo = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Lao < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Lao = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Lao
+This package contains %{summary}.
+
+#%files Lao
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/lo/
+
+##########
+
+%package Lithuanian
+Summary: Lithuanian(lt) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-lt = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Lithuanian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Lithuanian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Lithuanian
+This package contains %{summary}.
+
+%files Lithuanian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/lt/
+
+##########
+
+%package Latvian
+Summary: Latvian(lv) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-lv = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Latvian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Latvian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Latvian
+This package contains %{summary}.
+
+%files Latvian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/lv/
+
+##########
+
+%package Maori
+Summary: Maori(mi) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-mi = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Maori < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Maori = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Maori
+This package contains %{summary}.
+
+#%files Maori
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/mi/
+
+##########
+
+%package Macedonian
+Summary: Macedonian(mk) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-mk = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Macedonian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Macedonian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Macedonian
+This package contains %{summary}.
+
+%files Macedonian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/mk/
+
+##########
+
+%package Mongolian
+Summary: Mongolian(mn) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-mn = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Mongolian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Mongolian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Mongolian
+This package contains %{summary}.
+
+%files Mongolian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/mn/
+
+##########
+
+%package Malay
+Summary: Malay(ms) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ms = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Malay < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Malay = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Malay
+This package contains %{summary}.
+
+%files Malay
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ms/
+
+##########
+
+%package Maltese
+Summary: Maltese(mt) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-mt = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Maltese < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Maltese = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Maltese
+This package contains %{summary}.
+
+#%files Maltese
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/mt/
+
+##########
+
+%package Low-Saxon
+Summary: Low Saxon(nds) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-nds = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Low-Saxon < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Low-Saxon = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Low-Saxon
+This package contains %{summary}.
+
+%files Low-Saxon
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/nds/
+
+##########
+
+%package Dutch
+Summary: Dutch(nl) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-nl = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Dutch < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Dutch = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Dutch
+This package contains %{summary}.
+
+%files Dutch
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/nl/
+%{tde_tdedocdir}/HTML/nl/
+
+##########
+
+%package Norwegian
+Summary: Norwegian(no) (Bokmaal) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-no = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Norwegian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Norwegian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Norwegian
+This package contains %{summary}.
+
+%files Norwegian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/nb/
+
+##########
+
+%package Norwegian-Nynorsk
+Summary: Norwegian(nn) (Nynorsk) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-nn = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Norwegian-Nynorsk < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Norwegian-Nynorsk = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Norwegian-Nynorsk
+This package contains %{summary}.
+
+%files Norwegian-Nynorsk
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/nn/
+
+##########
+
+%package Occitan
+Summary: Occitan(oc) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-oc = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Occitan < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Occitan = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Occitan
+This package contains %{summary}.
+
+#%files Occitan
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/oc/
+
+##########
+
+%package Polish
+Summary: Polish(pl) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-pl = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Polish < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Polish = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Polish
+This package contains %{summary}.
+
+%files Polish
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/pl/
+%{tde_tdedocdir}/HTML/pl/
+
+##########
+
+%package Portuguese
+Summary: Portuguese(pt) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-pt = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Portuguese < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Portuguese = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Portuguese
+This package contains %{summary}.
+
+%files Portuguese
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/pt/
+%{tde_tdedocdir}/HTML/pt/
+
+##########
+
+%package Punjabi
+Summary: Punjabi(pa) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-pa = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Punjabi < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Punjabi = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Punjabi
+This package contains %{summary}.
+
+%files Punjabi
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/pa/
+
+##########
+
+%package Brazil
+Summary: Brazil(pt_BR) Portuguese language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-pt_BR = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Brazil < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Brazil = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Brazil
+This package contains %{summary}.
+
+%files Brazil
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/pt_BR/
+%{tde_tdedocdir}/HTML/pt_BR/
+
+##########
+
+%package Romanian
+Summary: Romanian(ro) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ro = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Romanian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Romanian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Romanian
+This package contains %{summary}.
+
+%files Romanian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ro/
+%{tde_tdedocdir}/HTML/ro/
+
+##########
+
+%package Russian
+Summary: Russian(ru) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ru = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Russian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Russian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Russian
+This package contains %{summary}.
+
+%files Russian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ru/
+%{tde_tdedocdir}/HTML/ru/
+
+##########
+
+%package Kinyarwanda
+Summary: Kinyarwanda(rw) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-rw = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Kinyarwanda < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Kinyarwanda = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Kinyarwanda
+This package contains %{summary}.
+
+%files Kinyarwanda
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/rw/
+
+##########
+
+%package Northern-Sami
+Summary: Northern-Sami(se) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-se = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Northern-Sami < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Northern-Sami = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Northern-Sami
+This package contains %{summary}.
+
+%files Northern-Sami
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/se/
+
+##########
+
+%package Slovak
+Summary: Slovak(sk) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-sk = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Slovak < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Slovak = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Slovak
+This package contains %{summary}.
+
+%files Slovak
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/sk/
+%{tde_tdedocdir}/HTML/sk/
+
+##########
+
+%package Slovenian
+Summary: Slovenian(sl) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-sl = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Slovenian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Slovenian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Slovenian
+This package contains %{summary}.
+
+%files Slovenian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/sl/
+%{tde_tdedocdir}/HTML/sl/
+
+##########
+
+%package Serbian
+Summary: Serbian(sr) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-sr = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Serbian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Serbian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Serbian
+This package contains %{summary}.
+
+%files Serbian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/sr/
+%{tde_tdedocdir}/HTML/sr/
+
+##########
+
+%package Serbian-Latin
+Summary: Serbian-Latin(sr@Latn) language support for TDE
+Group: User Interface/Desktops
+Obsoletes: trinity-kde-i18n-Serbian-Latin < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Serbian-Latin = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Serbian-Latin
+This package contains %{summary}.
+
+%files Serbian-Latin
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/sr@Latn/
+
+##########
+
+%package South-Sudan
+Summary: South-Sudan(ss) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ss = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-South-Sudan < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-South-Sudan = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description South-Sudan
+This package contains %{summary}.
+
+%files South-Sudan
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ss/
+
+##########
+
+%package Swedish
+Summary: Swedish(sv) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-sv = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Swedish < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Swedish = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Swedish
+This package contains %{summary}.
+
+%files Swedish
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/sv/
+%{tde_tdedocdir}/HTML/sv/
+
+##########
+
+%package Tamil
+Summary: Tamil(ta) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ta = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Tamil < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Tamil = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Tamil
+This package contains %{summary}.
+
+%files Tamil
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ta/
+
+##########
+
+%package Telugu
+Summary: Telugu(te) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-te = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Telugu < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Telugu = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Telugu
+This package contains %{summary}.
+
+%files Telugu
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/te/
+
+##########
+
+%package Tajik
+Summary: Tajik(tg) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-tg = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Tajik < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Tajik = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Tajik
+This package contains %{summary}.
+
+%files Tajik
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/tg/
+
+##########
+
+%package Thai
+Summary: Thai(th) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-th = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Thai < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Thai = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Thai
+This package contains %{summary}.
+
+%files Thai
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/th/
+
+##########
+
+%package Turkish
+Summary: Turkish(tr) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-tr = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Turkish < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Turkish = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Turkish
+This package contains %{summary}.
+
+%files Turkish
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/tr/
+%{tde_tdedocdir}/HTML/tr/
+
+##########
+
+%package Ukrainian
+Summary: Ukrainian(uk) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-uk = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Ukrainian < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Ukrainian = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Ukrainian
+This package contains %{summary}.
+
+%files Ukrainian
+%defattr(-,root,root,-)
+%{tde_tdedocdir}/HTML/uk/
+%{tde_datadir}/locale/uk/
+
+##########
+
+%package Uzbek
+Summary: Uzbek(uz) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-uz = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Uzbek < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Uzbek = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Uzbek
+This package contains %{summary}.
+
+%files Uzbek
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/uz/
+
+##########
+
+%package Uzbek-Cyrillic
+Summary: Uzbek(uz@cyrillic) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-uz@cyrillic = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Uzbek-Cyrillic < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Uzbek-Cyrillic = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Uzbek-Cyrillic
+This package contains %{summary}.
+
+%files Uzbek-Cyrillic
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/uz@cyrillic/
+
+##########
+
+%package Venda
+Summary: Venda(ven) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ven = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Venda < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Venda = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Venda
+This package contains %{summary}.
+
+#%files Venda
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/ven/
+
+##########
+
+%package Vietnamese
+Summary: Vietnamese(vi) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-vi = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Vietnamese < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Vietnamese = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Vietnamese
+This package contains %{summary}.
+
+%files Vietnamese
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/vi/
+
+##########
+
+%package Walloon
+Summary: Walloon(wa) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-wa = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Walloon < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Walloon = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Walloon
+This package contains %{summary}.
+
+%files Walloon
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/wa/
+
+##########
+
+%package Xhosa
+Summary: Xhosa(xh) (a Bantu language) support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-xh = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Xhosa < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Xhosa = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Xhosa
+This package contains %{summary}.
+
+#%files Xhosa
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/xh/
+
+##########
+
+%package Chinese
+Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-zh_CN = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Chinese < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Chinese = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Chinese
+This package contains %{summary}.
+
+%files Chinese
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/zh_CN/
+%{tde_tdedocdir}/HTML/zh_CN/
+
+##########
+
+%package Chinese-Big5
+Summary: Chinese(zh_TW) (Big5) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-tz_TW = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kde-i18n-Chinese-Big5 < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-i18n-Chinese-Big5 = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description Chinese-Big5
+This package contains %{summary}.
+
+%files Chinese-Big5
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/zh_TW/
+%{tde_tdedocdir}/HTML/zh_TW/
+
+##########
+
+%prep
+%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+
+(
+for l in %{TDE_LANGS}; do
+ for f in tde-i18n-${l}/; do
+ if [ -d "${f}" ]; then
+ pushd ${f}
+
+ if [ ! -d cmake ]; then
+ ln -s ../cmake cmake
+ fi
+
+ if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+ fi
+
+ %cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ \
+ -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
+ -DBIN_INSTALL_DIR="%{tde_bindir}" \
+ -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
+ -DLIB_INSTALL_DIR="%{tde_libdir}" \
+ -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
+ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
+ \
+ -DBUILD_ALL=ON \
+ -DBUILD_DOC=ON \
+ -DBUILD_DATA=ON \
+ -DBUILD_MESSAGES=ON \
+ ..
+
+ # Run the build process in background
+ ( %__make -j4 || %__make || echo TDE_Error ) &
+
+ # Do not build more than 4 languages at the same time
+ while [ $(jobs | wc -l) -ge 4 ]; do sleep 3; done
+ popd
+ fi
+ done
+done
+) 2>&1 | tee /tmp/rpmbuild.$$
+
+if grep -qw TDE_Error /tmp/rpmbuild.$$; then
+ echo "Error while building. See '/tmp/rpmbuild.$$'"
+ exit 1
+fi
+
+wait
+rm -f /tmp/rpmbuild.$$
+
+
+%install
+%__rm -rf %{?buildroot}
+export PATH="%{tde_bindir}:${PATH}"
+
+for l in %{TDE_LANGS}; do
+ for f in tde-i18n-${l}/; do
+ %__make install DESTDIR="%{?buildroot}" -C "${f}/build"
+ done
+done
+
+
+# remove zero-length file
+find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \;
+
+# remove obsolete KDE 3 application data translations
+%__rm -rf "%{buildroot}%{tde_datadir}/apps"
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
diff --git a/redhat/core/tdeaccessibility/tdeaccessibility.spec b/redhat/core/tdeaccessibility/tdeaccessibility.spec
new file mode 100644
index 000000000..0856bcf0f
--- /dev/null
+++ b/redhat/core/tdeaccessibility/tdeaccessibility.spec
@@ -0,0 +1,512 @@
+#
+# spec file for package tdeaccessibility (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# BUILD WARNING:
+# Remove qt-devel and qt3-devel and any kde*-devel on your system !
+# Having KDE libraries may cause FTBFS here !
+
+# TDE variables
+%define tde_epoch 2
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdeaccessibility
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+
+Name: trinity-tdeaccessibility
+Summary: Trinity Desktop Environment - Accessibility
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+Group: System/GUI/Other
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Project
+#Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Source1: %{name}-rpmlintrc
+
+BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-tdebase-devel >= %{tde_version}
+BuildRequires: trinity-tdemultimedia-devel >= %{tde_version}
+
+BuildRequires: cmake
+BuildRequires: gcc-c++
+BuildRequires: desktop-file-utils
+BuildRequires: fdupes
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+# AUDIOFILE support
+BuildRequires: audiofile-devel
+
+# AKODE support
+%define with_akode 1
+BuildRequires: trinity-akode-devel
+
+# MAD support
+%ifarch %{ix86} x86_64
+%define with_libmad 1
+%{?with_libmad:BuildRequires: libakode_mpeg_decoder}
+%endif
+
+# ALSA support
+BuildRequires: alsa-lib-devel
+
+# GLIB2 support
+BuildRequires: glib2-devel
+
+# XCB support
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?pclinuxos}
+BuildRequires: libxcb-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?pclinuxos} == 0
+BuildRequires: %{_lib}xcb-devel
+%endif
+%endif
+
+# XAU support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?mgaversion} >= 4
+BuildRequires: %{_lib}xau-devel
+%else
+BuildRequires: %{_lib}xau%{?mgaversion:6}-devel
+%endif
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: libXau-devel
+%endif
+
+Obsoletes: trinity-kdeaccessibility < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdeaccessibility = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdeaccessibility-libs < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdeaccessibility-libs = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Requires: trinity-tde-icons-mono = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kbstate = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kmag = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kmousetool = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kmouth = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksayit = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kttsd = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kttsd-contrib-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description
+Included with this package are:
+* kmag, a screen magnifier,
+* kmousetool, a program for people whom it hurts to click the mouse,
+* kmouth, program that allows people who have lost their voice
+ to let their computer speak for them.
+
+%files
+
+##########
+
+%package -n trinity-tde-icons-mono
+Summary: A monochromatic icons theme for TDE
+Group: System/GUI/Other
+
+Obsoletes: trinity-kde-icons-mono < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kde-icons-mono = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-tde-icons-mono
+A monochromatic icon theme for TDE, designed for accessibility purposes.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-tde-icons-mono
+%defattr(-,root,root,-)
+%{tde_datadir}/icons/mono/
+
+##########
+
+%package -n trinity-kbstate
+Summary: A keyboard status applet for TDE
+Group: System/GUI/Other
+
+%description -n trinity-kbstate
+A panel applet that displays the keyboard status.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-kbstate
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kbstate_panelapplet.la
+%{tde_tdelibdir}/kbstate_panelapplet.so
+%{tde_datadir}/apps/kbstateapplet/
+%{tde_datadir}/apps/kicker/applets/kbstateapplet.desktop
+
+##########
+
+%package -n trinity-kmag
+Summary: A screen magnifier for TDE
+Group: System/GUI/Other
+
+%description -n trinity-kmag
+TDE's screen magnifier tool.
+
+You can use KMagnifier to magnify a part of the screen just as you would use
+a lens to magnify a newspaper fine-print or a photograph. This application is
+useful for a variety of people: from researchers to artists to web-designers to
+people with low vision.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-kmag
+%defattr(-,root,root,-)
+%{tde_bindir}/kmag
+%{tde_tdeappdir}/kmag.desktop
+%{tde_datadir}/apps/kmag/
+%{tde_datadir}/icons/hicolor/*/apps/kmag.png
+%{tde_datadir}/icons/locolor/*/apps/kmag.png
+%{tde_tdedocdir}/HTML/en/kmag/
+%{tde_mandir}/man1/kmag.1*
+
+##########
+
+%package -n trinity-kmousetool
+Summary: TDE mouse manipulation tool for the disabled
+Group: System/GUI/Other
+
+%description -n trinity-kmousetool
+KMouseTool clicks the mouse whenever the mouse cursor pauses briefly. It was
+designed to help those with repetitive strain injuries, for whom pressing
+buttons hurts.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-kmousetool
+%defattr(-,root,root,-)
+%{tde_bindir}/kmousetool
+%{tde_tdeappdir}/kmousetool.desktop
+%{tde_datadir}/apps/kmousetool/
+%{tde_datadir}/icons/hicolor/*/apps/kmousetool.png
+%{tde_tdedocdir}/HTML/en/kmousetool/
+%{tde_mandir}/man1/kmousetool.1*
+
+##########
+
+%package -n trinity-kmouth
+Summary: A type-and-say KDE frontend for speech synthesizers
+Group: System/GUI/Other
+
+%description -n trinity-kmouth
+KDE's type-and-say frontend for speech synthesizers.
+
+It includes a history of spoken sentences from which the user can select
+sentences to be re-spoken.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-kmouth
+%defattr(-,root,root,-)
+%config(noreplace) %{tde_confdir}/kmouthrc
+%{tde_bindir}/kmouth
+%{tde_tdeappdir}/kmouth.desktop
+%{tde_datadir}/apps/kmouth/
+%{tde_datadir}/icons/hicolor/*/actions/speak.png
+%{tde_datadir}/icons/hicolor/*/actions/nospeak.png
+%{tde_datadir}/icons/hicolor/*/apps/kmouth.png
+%{tde_datadir}/icons/locolor/*/actions/speak.png
+%{tde_datadir}/icons/locolor/*/apps/kmouth.png
+%{tde_tdedocdir}/HTML/en/kmouth/
+%{tde_mandir}/man1/kmouth.1*
+
+##########
+
+%package -n trinity-ksayit
+Summary: A frontend for the TDE Text-to-Speech system
+Group: System/GUI/Other
+
+%description -n trinity-ksayit
+Text-to-speech front-end to kttsd.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-ksayit
+%defattr(-,root,root,-)
+%{tde_bindir}/ksayit
+%{tde_tdelibdir}/libFreeverb_plugin.la
+%{tde_tdelibdir}/libFreeverb_plugin.so
+%{tde_libdir}/libKTTSD_Lib.so.*
+%{tde_tdeappdir}/ksayit.desktop
+%{tde_datadir}/apps/ksayit/
+%{tde_datadir}/icons/hicolor/*/apps/ksayit.png
+%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_clipempty.png
+%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_talking.png
+%{tde_datadir}/services/ksayit_libFreeverb.desktop
+%{tde_datadir}/servicetypes/ksayit_libFreeverb_service.desktop
+%{tde_tdedocdir}/HTML/en/ksayit/
+%{tde_mandir}/man1/ksayit.1*
+
+##########
+
+%package -n trinity-kttsd
+Summary: A Text-to-Speech system for TDE
+Group: System/GUI/Other
+
+%description -n trinity-kttsd
+The KDE Text-to-Speech system is a plugin based service that allows any KDE
+(or non-KDE) application to speak using the DCOP interface.
+
+ksayit and kmouth are useful front-ends for this capability, while one of
+festival, flite, and epos are essential back-ends.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+Homepage: http://accessibility.kde.org/developer/kttsd
+
+%files -n trinity-kttsd
+%defattr(-,root,root,-)
+%{tde_bindir}/kttsd
+%{tde_bindir}/kttsmgr
+%{tde_tdelibdir}/kcm_kttsd.la
+%{tde_tdelibdir}/kcm_kttsd.so
+%{tde_tdelibdir}/tdetexteditor_kttsd.la
+%{tde_tdelibdir}/tdetexteditor_kttsd.so
+%if 0%{?with_akode}
+%{tde_tdelibdir}/libkttsd_akodeplugin.la
+%{tde_tdelibdir}/libkttsd_akodeplugin.so
+%endif
+%{tde_tdelibdir}/libkttsd_alsaplugin.la
+%{tde_tdelibdir}/libkttsd_alsaplugin.so
+%{tde_tdelibdir}/libkttsd_artsplugin.la
+%{tde_tdelibdir}/libkttsd_artsplugin.so
+%{tde_tdelibdir}/libkttsd_commandplugin.la
+%{tde_tdelibdir}/libkttsd_commandplugin.so
+%{tde_tdelibdir}/libkttsd_eposplugin.la
+%{tde_tdelibdir}/libkttsd_eposplugin.so
+%{tde_tdelibdir}/libkttsd_festivalintplugin.la
+%{tde_tdelibdir}/libkttsd_festivalintplugin.so
+%{tde_tdelibdir}/libkttsd_fliteplugin.la
+%{tde_tdelibdir}/libkttsd_fliteplugin.so
+%{tde_tdelibdir}/libkttsd_sbdplugin.la
+%{tde_tdelibdir}/libkttsd_sbdplugin.so
+%{tde_tdelibdir}/libkttsd_stringreplacerplugin.la
+%{tde_tdelibdir}/libkttsd_stringreplacerplugin.so
+%{tde_tdelibdir}/libkttsd_talkerchooserplugin.la
+%{tde_tdelibdir}/libkttsd_talkerchooserplugin.so
+%{tde_tdelibdir}/libkttsd_xmltransformerplugin.la
+%{tde_tdelibdir}/libkttsd_xmltransformerplugin.so
+%{tde_tdelibdir}/libkttsjobmgrpart.la
+%{tde_tdelibdir}/libkttsjobmgrpart.so
+%{tde_libdir}/libkttsd.so.*
+%{tde_tdeappdir}/kcmkttsd.desktop
+%{tde_tdeappdir}/kttsmgr.desktop
+%{tde_datadir}/apps/tdetexteditor_kttsd/
+%exclude %{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl
+%{tde_datadir}/apps/kttsd/
+%{tde_datadir}/icons/hicolor/16x16/actions/female.png
+%{tde_datadir}/icons/hicolor/16x16/actions/male.png
+%{tde_datadir}/icons/hicolor/*/apps/kttsd.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmkttsd.png
+%{tde_datadir}/services/tdetexteditor_kttsd.desktop
+%{tde_datadir}/services/kttsd.desktop
+%if 0%{?with_akode}
+%{tde_datadir}/services/kttsd_akodeplugin.desktop
+%endif
+%{tde_datadir}/services/kttsd_alsaplugin.desktop
+%{tde_datadir}/services/kttsd_artsplugin.desktop
+%{tde_datadir}/services/kttsd_commandplugin.desktop
+%{tde_datadir}/services/kttsd_eposplugin.desktop
+%{tde_datadir}/services/kttsd_festivalintplugin.desktop
+%{tde_datadir}/services/kttsd_fliteplugin.desktop
+%{tde_datadir}/services/kttsd_sbdplugin.desktop
+%{tde_datadir}/services/kttsd_stringreplacerplugin.desktop
+%{tde_datadir}/services/kttsd_talkerchooserplugin.desktop
+%{tde_datadir}/services/kttsd_xmltransformerplugin.desktop
+%{tde_datadir}/services/kttsjobmgr.desktop
+%{tde_datadir}/servicetypes/kttsd_audioplugin.desktop
+%{tde_datadir}/servicetypes/kttsd_filterplugin.desktop
+%{tde_datadir}/servicetypes/kttsd_synthplugin.desktop
+%{tde_tdedocdir}/HTML/en/kttsd/
+%{tde_mandir}/man1/kttsd.1*
+%{tde_mandir}/man1/kttsmgr.1*
+
+##########
+
+%package -n trinity-kttsd-contrib-plugins
+Summary: The TDE Text-to-Speech system
+Group: System/GUI/Other
+Requires: trinity-kttsd = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kttsd-contrib-plugins
+kttsd synthetizer plugins that depends on non-free software :
+* FreeTTS plugin.
+* Hadifix (mbrola/txt2pho) plugin.
+Those plugins will require manual installation of third party,
+non free software to work.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-kttsd-contrib-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/libkttsd_freettsplugin.la
+%{tde_tdelibdir}/libkttsd_freettsplugin.so
+%{tde_tdelibdir}/libkttsd_hadifixplugin.la
+%{tde_tdelibdir}/libkttsd_hadifixplugin.so
+%{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl
+%{tde_datadir}/services/kttsd_freettsplugin.desktop
+%{tde_datadir}/services/kttsd_hadifixplugin.desktop
+
+##########
+
+%package devel
+Summary: Development files for tdeaccessibility
+Group: Development/Libraries/X11
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdelibs-devel >= %{version}
+Requires: libjpeg-devel
+Requires: libpng-devel
+
+Obsoletes: trinity-kdeaccessibility-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdeaccessibility-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description devel
+This package contains the development file for TDE accessibility
+programs.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkttsd.la
+%{tde_libdir}/libkttsd.so
+%{tde_libdir}/libKTTSD_Lib.la
+%{tde_libdir}/libKTTSD_Lib.so
+%{tde_tdeincludedir}/ksayit_fxplugin.h
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+# Update icons for some control center modules
+%__sed -i "kttsd/kcmkttsmgr/kcmkttsd.desktop" -e "s|^Icon=.*|Icon=kcmkttsd|"
+
+
+%build
+unset QTDIR QTLIB QTINC
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_SKIP_INSTALL_RPATH=OFF \
+ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=OFF \
+ \
+ -DCMAKE_INCLUDE_PATH="%{tde_tdeincludedir}" \
+ -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" \
+ -DSYSCONF_INSTALL_DIR="%{_sysconfdir}/trinity" \
+ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
+ -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
+ \
+ -DWITH_ALL_OPTIONS=ON \
+ \
+ -DBUILD_ALL=ON \
+ \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+# Adds missing icons in 'hicolor' theme
+# These icons are copied from 'crystalsvg' theme, provided by 'tdelibs'.
+%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,22x22,32x32,48x48,64x64,128x128}"/apps/"
+pushd "%{?buildroot}%{tde_datadir}/icons"
+for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kttsd.png hicolor/"$i"x"$i"/apps/kttsd.png ;done
+for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kttsd.png hicolor/"$i"x"$i"/apps/kcmkttsd.png ;done
+popd
+
+# Avoid conflict with tdelibs
+%__rm -f %{?buildroot}%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png
+%__rm -f %{?buildroot}%{tde_datadir}/icons/crystalsvg/scalable/apps/kttsd.svgz
+
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file -r kmag Utility Accessibility
+%suse_update_desktop_file kmousetool Utility Accessibility
+%suse_update_desktop_file kmouth Utility Accessibility
+%suse_update_desktop_file kttsmgr Utility Accessibility
+%suse_update_desktop_file ksayit Utility Accessibility
+%suse_update_desktop_file kcmkttsd Utility Accessibility
+%endif
+
+# Links duplicate files
+%fdupes "%{?buildroot}%{tde_datadir}"
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
diff --git a/redhat/core/tdeaccessibility/trinity-tdeaccessibility-rpmlintrc b/redhat/core/tdeaccessibility/trinity-tdeaccessibility-rpmlintrc
new file mode 100644
index 000000000..529351884
--- /dev/null
+++ b/redhat/core/tdeaccessibility/trinity-tdeaccessibility-rpmlintrc
@@ -0,0 +1,2 @@
+setBadness('library-without-ldconfig-postun', 0)
+setBadness('library-without-ldconfig-postin', 0)
diff --git a/redhat/core/tdeaddons/tdeaddons.spec b/redhat/core/tdeaddons/tdeaddons.spec
new file mode 100644
index 000000000..ca731fc4d
--- /dev/null
+++ b/redhat/core/tdeaddons/tdeaddons.spec
@@ -0,0 +1,781 @@
+#
+# spec file for package tdeaddons (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# BUILD WARNING:
+# Remove qt-devel and qt3-devel and any kde*-devel on your system !
+# Having KDE libraries may cause FTBFS here !
+
+# TDE variables
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdeaddons
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+
+Name: trinity-%{tde_pkg}
+Summary: Trinity Desktop Environment - Plugins
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+Group: User Interface/Desktops
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Project
+#Packager: Francois Andriot <francois.andriot@free.fr>
+
+Obsoletes: trinity-kdeaddons < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdeaddons = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdeaddons-extras < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdeaddons-extras = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+
+# Trinity dependencies
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-tdebase-devel >= %{tde_version}
+BuildRequires: trinity-tdegames-devel >= %{tde_version}
+BuildRequires: trinity-tdemultimedia-devel >= %{tde_version}
+BuildRequires: trinity-tdepim-devel >= %{tde_version}
+
+BuildRequires: trinity-cmake >= %{tde_version}
+BuildRequires: gcc-c++
+BuildRequires: pkgconfig
+BuildRequires: fdupes
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+# SDL support
+BuildRequires: SDL-devel
+
+# ALSA support
+BuildRequires: alsa-lib-devel
+
+# OPENSSL support
+BuildRequires: openssl-devel
+
+# IDN support
+BuildRequires: libidn-devel
+
+# GAMIN support
+# Not on openSUSE.
+%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 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
+
+# ACL support
+BuildRequires: libacl-devel
+
+# DB4/DB5 support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 || 0%{?mdkversion} || 0%{?mgaversion}
+%define with_db 1
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos}
+BuildRequires: db5-devel
+%endif
+%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
+BuildRequires: libdb-devel
+BuildRequires: libdb-cxx-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libdb-4_8-devel
+%endif
+%if 0%{?rhel} && 0%{?rhel} <= 6
+BuildRequires: db4-devel
+%endif
+%endif
+
+# XMMS support: no, always disabled, even on Fedora
+#%if 0%{?fedora}
+#define with_xmms 1
+#BuildRequires: xmms-devel
+#%endif
+
+# PYTHON2 support
+%if 0%{?sle_version} >= 150400 || 0%{?rhel} >= 9
+%define with_python 0
+%global __python %__python3
+%else
+%define with_python 1
+%if 0%{?rhel} >= 7 || 0%{?fedora} >= 30 || 0%{?suse_version} >= 1500 || 0%{?mgaversion} >= 7
+%global python python2
+%global __python %__python2
+%else
+%global python python
+%endif
+%endif
+
+Requires: trinity-atlantikdesigner = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kaddressbook-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kate-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdeaddons-tdefile-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kicker-applets = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-knewsticker-scripts = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-konq-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksig = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-noatun-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+
+
+%description
+A collection of TDE Addons/Plugins, including:
+* atlantikdesigner: game board designer
+* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver
+* kate (plugins)
+* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol
+* knewsticker-scripts
+* noatun-plugins
+
+%files
+%defattr(-,root,root,-)
+
+##########
+
+%package -n trinity-atlantikdesigner
+Summary: Game board designer for Atlantik
+Group: Applications/Games
+#Requires: trinity-atlantik
+Requires: trinity-tdegames
+
+%description -n trinity-atlantikdesigner
+Atlantik Designer is a game board designer for the game Atlantik.
+
+Atlantik is a TDE client for playing Monopoly-like board games on the
+monopd network. It can play any board supported by the network
+server, including the classic Monopoly game as well as the Atlantik
+game in which the properties include several major cities in North
+America and Europe.
+
+%files -n trinity-atlantikdesigner
+%defattr(-,root,root,-)
+%doc README atlantikdesigner/TODO
+%{tde_bindir}/atlantikdesigner
+%{tde_datadir}/apps/atlantikdesigner
+%{tde_tdeappdir}/atlantikdesigner.desktop
+%{tde_datadir}/icons/hicolor/*/apps/atlantikdesigner.png
+%{tde_tdedocdir}/HTML/en/atlantikdesigner/
+%{tde_mandir}/man1/atlantikdesigner.1*
+
+##########
+
+%package -n trinity-kaddressbook-plugins
+Summary: Plugins for KAddressBook, the Trinity address book
+Group: Applications/Utilities
+Requires: trinity-kaddressbook
+
+%description -n trinity-kaddressbook-plugins
+This package contains a variety of useful plugins for the KDE address
+book. These plugins can be loaded through the TDE address book settings.
+
+Highlights include exporting postal addresses as flags in KWorldClock,
+as well as importing and exporting contacts in the native format used
+by the German freemail provider GMX.
+
+%files -n trinity-kaddressbook-plugins
+%defattr(-,root,root,-)
+%doc README
+%{tde_tdelibdir}/libkaddrbk_geo_xxport.la
+%{tde_tdelibdir}/libkaddrbk_geo_xxport.so
+%{tde_tdelibdir}/libkaddrbk_gmx_xxport.la
+%{tde_tdelibdir}/libkaddrbk_gmx_xxport.so
+%{tde_datadir}/apps/kaddressbook
+%{tde_datadir}/services/kaddressbook
+
+##########
+
+%package -n trinity-kate-plugins
+Summary: Plugins for Kate, the TDE Advanced Text Editor
+Group: Applications/Utilities
+Requires: trinity-kate
+Requires: tidy
+
+%description -n trinity-kate-plugins
+This package contains a variety of useful plugins for Kate, the KDE
+Advanced Text Editor. These plugins can be loaded through the plugin
+manager in Kate settings.
+
+Highlights include spell checking, text filtering, HTML/XML construction
+and validation, vim/emacs modeline handling, templates for new files
+and text snippets, opening of C/C++ headers, extraction of C/C++ symbols,
+a tab bar, a Python browser and even more.
+
+%files -n trinity-kate-plugins
+%defattr(-,root,root,-)
+%doc kate/xmltools/ChangeLog kate/xmltools/README
+%{tde_tdelibdir}/katecppsymbolviewerplugin.la
+%{tde_tdelibdir}/katecppsymbolviewerplugin.so
+%{tde_tdelibdir}/katefiletemplates.la
+%{tde_tdelibdir}/katefiletemplates.so
+%{tde_tdelibdir}/katefll_plugin.la
+%{tde_tdelibdir}/katefll_plugin.so
+%{tde_tdelibdir}/katehelloworldplugin.la
+%{tde_tdelibdir}/katehelloworldplugin.so
+%{tde_tdelibdir}/katehtmltoolsplugin.la
+%{tde_tdelibdir}/katehtmltoolsplugin.so
+%{tde_tdelibdir}/kateinsertcommandplugin.la
+%{tde_tdelibdir}/kateinsertcommandplugin.so
+%{tde_tdelibdir}/katemakeplugin.la
+%{tde_tdelibdir}/katemakeplugin.so
+%{tde_tdelibdir}/katemodelineplugin.la
+%{tde_tdelibdir}/katemodelineplugin.so
+%{tde_tdelibdir}/kateopenheaderplugin.la
+%{tde_tdelibdir}/kateopenheaderplugin.so
+%{tde_tdelibdir}/katepybrowseplugin.la
+%{tde_tdelibdir}/katepybrowseplugin.so
+%{tde_tdelibdir}/katesnippetsplugin.la
+%{tde_tdelibdir}/katesnippetsplugin.so
+%{tde_tdelibdir}/katetextfilterplugin.la
+%{tde_tdelibdir}/katetextfilterplugin.so
+%{tde_tdelibdir}/katexmlcheckplugin.la
+%{tde_tdelibdir}/katexmlcheckplugin.so
+%{tde_tdelibdir}/katexmltoolsplugin.la
+%{tde_tdelibdir}/katexmltoolsplugin.so
+%{tde_tdelibdir}/libkatetabbarextensionplugin.la
+%{tde_tdelibdir}/libkatetabbarextensionplugin.so
+%{tde_datadir}/applnk/.hidden/kate-plugins.desktop
+%{tde_datadir}/applnk/.hidden/katefll.desktop
+%{tde_datadir}/apps/kate
+%{tde_datadir}/apps/katepart
+%{tde_datadir}/apps/katexmltools
+%{tde_datadir}/services/katecppsymbolviewer.desktop
+%{tde_datadir}/services/katefiletemplates.desktop
+%{tde_datadir}/services/katefll_plugin.desktop
+%{tde_datadir}/services/katehelloworld.desktop
+%{tde_datadir}/services/katehtmltools.desktop
+%{tde_datadir}/services/kateinsertcommand.desktop
+%{tde_datadir}/services/katemake.desktop
+%{tde_datadir}/services/katemodeline.desktop
+%{tde_datadir}/services/kateopenheader.desktop
+%{tde_datadir}/services/katepybrowse.desktop
+%{tde_datadir}/services/katesnippets.desktop
+%{tde_datadir}/services/katetabbarextension.desktop
+%{tde_datadir}/services/katetextfilter.desktop
+%{tde_datadir}/services/katexmlcheck.desktop
+%{tde_datadir}/services/katexmltools.desktop
+%{tde_tdedocdir}/HTML/en/kate-plugins/
+# katesort plugin
+%{tde_tdelibdir}/katesortplugin.la
+%{tde_tdelibdir}/katesortplugin.so
+%{tde_datadir}/icons/hicolor/*/actions/katesort.png
+%{tde_datadir}/services/katesort.desktop
+
+##########
+
+%package tdefile-plugins
+Summary: Trinity file dialog plugins for text files and folders
+Group: Applications/Utilities
+
+Obsoletes: trinity-tdeaddons-kfile-plugins < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-tdeaddons-kfile-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description tdefile-plugins
+This is a collection of plugins for the TDE file dialog. These plugins
+extend the file dialog to offer advanced meta-information for text,
+HTML and desktop files, as well as for folders, Windows .lnk files,
+MIME archives and X.509 certificates.
+
+This package also includes plugins for the KDE file rename dialog,
+allowing a user to more easily decide what to do when faced with a
+decision regarding conflicting filenames. Rename dialog plugins are
+provided for audio and image files.
+
+%files tdefile-plugins
+%defattr(-,root,root,-)
+%doc tdefile-plugins/lnk/README
+%{tde_bindir}/lnkforward
+%{tde_tdelibdir}/tdefile_cert.la
+%{tde_tdelibdir}/tdefile_cert.so
+%{tde_tdelibdir}/tdefile_desktop.la
+%{tde_tdelibdir}/tdefile_desktop.so
+%{tde_tdelibdir}/tdefile_folder.la
+%{tde_tdelibdir}/tdefile_folder.so
+%{tde_tdelibdir}/tdefile_html.la
+%{tde_tdelibdir}/tdefile_html.so
+%{tde_tdelibdir}/tdefile_lnk.la
+%{tde_tdelibdir}/tdefile_lnk.so
+%{tde_tdelibdir}/tdefile_mhtml.la
+%{tde_tdelibdir}/tdefile_mhtml.so
+%{tde_tdelibdir}/tdefile_txt.la
+%{tde_tdelibdir}/tdefile_txt.so
+%{tde_tdelibdir}/librenaudioplugin.la
+%{tde_tdelibdir}/librenaudioplugin.so
+%{tde_tdelibdir}/librenimageplugin.la
+%{tde_tdelibdir}/librenimageplugin.so
+%{tde_datadir}/applnk/.hidden/lnkforward.desktop
+%{tde_datadir}/mimelnk/application/x-win-lnk.desktop
+%{tde_datadir}/services/tdefile_cert.desktop
+%{tde_datadir}/services/tdefile_desktop.desktop
+%{tde_datadir}/services/tdefile_folder.desktop
+%{tde_datadir}/services/tdefile_html.desktop
+%{tde_datadir}/services/tdefile_lnk.desktop
+%{tde_datadir}/services/tdefile_mhtml.desktop
+%{tde_datadir}/services/tdefile_txt.desktop
+%{tde_datadir}/services/renaudiodlg.desktop
+%{tde_datadir}/services/renimagedlg.desktop
+%{tde_mandir}/man1/lnkforward.1*
+
+##########
+
+%package -n trinity-kicker-applets
+Summary: Applets for Kicker, the Trinity panel
+Group: Applications/Utilities
+Requires: trinity-kicker
+
+%description -n trinity-kicker-applets
+This package contains a variety of applets for Kicker, the KDE panel.
+These applets will appear in the panel's Add--Applet menu.
+
+Included are a system monitor, a colour picker, a media player controller,
+a mathematical evaluator and a binary clock.
+
+The media control applet does not support XMMS, as this would force all
+kicker-applets users to install XMMS. If you want a kicker applet that
+controls XMMS, install the xmms-kde-trinity package.
+
+%files -n trinity-kicker-applets
+%defattr(-,root,root,-)
+%doc README
+%{tde_tdelibdir}/kolourpicker_panelapplet.la
+%{tde_tdelibdir}/kolourpicker_panelapplet.so
+%{tde_tdelibdir}/ktimemon_panelapplet.la
+%{tde_tdelibdir}/ktimemon_panelapplet.so
+%{tde_tdelibdir}/math_panelapplet.la
+%{tde_tdelibdir}/math_panelapplet.so
+%{tde_tdelibdir}/mediacontrol_panelapplet.la
+%{tde_tdelibdir}/mediacontrol_panelapplet.so
+%{tde_tdelibdir}/kbinaryclock_panelapplet.la
+%{tde_tdelibdir}/kbinaryclock_panelapplet.so
+%{tde_datadir}/apps/kicker/applets
+%{tde_datadir}/apps/mediacontrol
+%{tde_datadir}/config.kcfg/kbinaryclock.kcfg
+%{tde_datadir}/icons/locolor/*/apps/ktimemon.png
+%{tde_datadir}/icons/crystalsvg/*/apps/ktimemon.png
+%{tde_tdedocdir}/HTML/en/kicker-applets/
+
+##########
+
+%package -n trinity-knewsticker-scripts
+Summary: scripts for KNewsTicker, the Trinity news ticker
+Group: Applications/Utilities
+Requires: perl
+%if 0%{with_python}
+Requires: %{python}
+%endif
+#Requires: libfinance-quote-perl
+#Requires: libmime-perl
+#Requires: libnews-nntpclient-perl
+Requires: perl-libwww-perl
+Requires: trinity-knewsticker
+
+%description -n trinity-knewsticker-scripts
+This package contains a variety of scripts that provide additional news
+sources for KNewsTicker, the news ticker applet for the TDE panel.
+
+Highlights include newsgroup handling, stock data retrieval, sports scores
+and various local news sources.
+
+%files -n trinity-knewsticker-scripts
+%defattr(-,root,root,-)
+%doc README
+%{tde_datadir}/apps/knewsticker/
+
+##########
+
+%package -n trinity-konq-plugins
+Summary: plugins for Konqueror, the Trinity file/web/doc browser
+Group: Applications/Utilities
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?pclinuxos} == 0
+Requires: %{_lib}jpeg8
+%endif
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+Requires: libjpeg
+%endif
+%if 0%{?suse_version} == 1220
+Requires: libjpeg62
+%endif
+%if 0%{?pclinuxos}
+Requires: %{_lib}jpeg62
+%endif
+%if 0%{?suse_version} == 1230
+Requires: libjpeg8
+%endif
+%if 0%{with_python}
+Requires: %{python}
+%endif
+Requires: rsync
+#Requires: unison
+Requires: trinity-konqueror
+%if 0%{?fedora}
+Requires: %{python}-exif
+%endif
+
+%description -n trinity-konq-plugins
+This package contains a variety of useful plugins for Konqueror, the
+file manager, web browser and document viewer for TDE. Many of these
+plugins will appear in Konqueror's Tools menu.
+
+Highlights for web browsing include web page translation, web page archiving,
+auto-refreshing, HTML and CSS structural analysis, a search toolbar, a
+sidebar news ticker, fast access to common options, bookmarklets, a crash
+monitor, a microformat availability indicator, a del.icio.us bookmarks
+sidebar, and integration with the aKregator RSS feed reader.
+
+Highlights for directory browsing include directory filters, image gallery
+creation, archive compression and extraction, quick copy/move, a sidebar
+media player, a file information metabar/sidebar, a media folder helper, a
+graphical disk usage viewer and image conversions and transformations.
+
+%files -n trinity-konq-plugins
+%defattr(-,root,root,-)
+%doc konq-plugins/README
+%{_sysconfdir}/trinity/translaterc
+%{tde_bindir}/fsview
+%{tde_bindir}/jpegorient
+%{tde_tdelibdir}/konq_sidebarnews.la
+%{tde_tdelibdir}/konq_sidebarnews.so
+%{tde_tdelibdir}/konqsidebar_delicious.la
+%{tde_tdelibdir}/konqsidebar_delicious.so
+%{tde_tdelibdir}/konqsidebar_mediaplayer.la
+%{tde_tdelibdir}/konqsidebar_mediaplayer.so
+%{tde_tdelibdir}/konqsidebar_metabar.la
+%{tde_tdelibdir}/konqsidebar_metabar.so
+%{tde_tdelibdir}/libakregatorkonqfeedicon.la
+%{tde_tdelibdir}/libakregatorkonqfeedicon.so
+%{tde_tdelibdir}/libakregatorkonqplugin.la
+%{tde_tdelibdir}/libakregatorkonqplugin.so
+%{tde_tdelibdir}/libarkplugin.la
+%{tde_tdelibdir}/libarkplugin.so
+%{tde_tdelibdir}/libautorefresh.la
+%{tde_tdelibdir}/libautorefresh.so
+%{tde_tdelibdir}/libbabelfishplugin.la
+%{tde_tdelibdir}/libbabelfishplugin.so
+%{tde_tdelibdir}/libcrashesplugin.la
+%{tde_tdelibdir}/libcrashesplugin.so
+%{tde_tdelibdir}/libdirfilterplugin.la
+%{tde_tdelibdir}/libdirfilterplugin.so
+%{tde_tdelibdir}/librsyncplugin.la
+%{tde_tdelibdir}/librsyncplugin.so
+%{tde_tdelibdir}/libdomtreeviewerplugin.la
+%{tde_tdelibdir}/libdomtreeviewerplugin.so
+%{tde_tdelibdir}/libfsviewpart.la
+%{tde_tdelibdir}/libfsviewpart.so
+%{tde_tdelibdir}/libtdehtmlsettingsplugin.la
+%{tde_tdelibdir}/libtdehtmlsettingsplugin.so
+%{tde_tdelibdir}/kcm_kuick.la
+%{tde_tdelibdir}/kcm_kuick.so
+%{tde_tdelibdir}/libkimgallery.la
+%{tde_tdelibdir}/libkimgallery.so
+%{tde_tdelibdir}/libkuickplugin.la
+%{tde_tdelibdir}/libkuickplugin.so
+%{tde_tdelibdir}/libmfkonqmficon.la
+%{tde_tdelibdir}/libmfkonqmficon.so
+%{tde_tdelibdir}/libminitoolsplugin.la
+%{tde_tdelibdir}/libminitoolsplugin.so
+%{tde_tdelibdir}/librellinksplugin.la
+%{tde_tdelibdir}/librellinksplugin.so
+%{tde_tdelibdir}/libsearchbarplugin.la
+%{tde_tdelibdir}/libsearchbarplugin.so
+%{tde_tdelibdir}/libuachangerplugin.la
+%{tde_tdelibdir}/libuachangerplugin.so
+%{tde_tdelibdir}/libvalidatorsplugin.la
+%{tde_tdelibdir}/libvalidatorsplugin.so
+%{tde_tdelibdir}/libwebarchiverplugin.la
+%{tde_tdelibdir}/libwebarchiverplugin.so
+%{tde_tdelibdir}/webarchivethumbnail.la
+%{tde_tdelibdir}/webarchivethumbnail.so
+%{tde_datadir}/applnk/.hidden/arkplugin.desktop
+%{tde_datadir}/applnk/.hidden/kcmkuick.desktop
+%{tde_datadir}/applnk/.hidden/kuickplugin.desktop
+%{tde_datadir}/applnk/.hidden/mediaplayerplugin.desktop
+%{tde_datadir}/applnk/.hidden/crashesplugin.desktop
+%{tde_datadir}/applnk/.hidden/dirfilterplugin.desktop
+%{tde_datadir}/applnk/.hidden/rsyncplugin.desktop
+%{tde_datadir}/applnk/.hidden/fsview.desktop
+%{tde_datadir}/applnk/.hidden/tdehtmlsettingsplugin.desktop
+%{tde_datadir}/applnk/.hidden/kimgalleryplugin.desktop
+%{tde_datadir}/applnk/.hidden/plugin_babelfish.desktop
+%{tde_datadir}/applnk/.hidden/plugin_domtreeviewer.desktop
+%{tde_datadir}/applnk/.hidden/plugin_validators.desktop
+%{tde_datadir}/applnk/.hidden/plugin_webarchiver.desktop
+%{tde_datadir}/applnk/.hidden/uachangerplugin.desktop
+%{tde_datadir}/apps/akregator
+%{tde_datadir}/apps/domtreeviewer
+%{tde_datadir}/apps/fsview
+%{tde_datadir}/apps/imagerotation/
+%{tde_datadir}/apps/tdehtml/kpartplugins
+%{tde_datadir}/apps/konqiconview
+%{tde_datadir}/apps/konqlistview
+%{tde_datadir}/apps/konqsidebartng
+%{tde_datadir}/apps/konqueror/icons
+%{tde_datadir}/apps/konqueror/kpartplugins
+%{tde_datadir}/apps/konqueror/servicemenus
+%{tde_datadir}/apps/metabar/
+%{tde_datadir}/apps/microformat/
+%{tde_datadir}/config.kcfg/konq_sidebarnews.kcfg
+%{tde_datadir}/icons/crystalsvg/*/actions/babelfish.png
+%{tde_datadir}/icons/crystalsvg/*/actions/cssvalidator.png
+%{tde_datadir}/icons/crystalsvg/*/actions/domtreeviewer.png
+%{tde_datadir}/icons/crystalsvg/*/actions/htmlvalidator.png
+%{tde_datadir}/icons/crystalsvg/*/actions/imagegallery.png
+%{tde_datadir}/icons/crystalsvg/*/actions/remotesync.png
+%{tde_datadir}/icons/crystalsvg/*/actions/remotesyncconfig.png
+%{tde_datadir}/icons/crystalsvg/*/actions/minitools.png
+%{tde_datadir}/icons/crystalsvg/*/actions/validators.png
+%{tde_datadir}/icons/crystalsvg/*/actions/webarchiver.png
+%{tde_datadir}/icons/crystalsvg/*/apps/konqsidebar_delicious.png
+%{tde_datadir}/icons/crystalsvg/*/apps/konqsidebar_mediaplayer.png
+%{tde_datadir}/icons/crystalsvg/*/apps/konqsidebar_news.png
+%{tde_datadir}/icons/hicolor/*/apps/metabar.png
+%{tde_datadir}/icons/hicolor/*/apps/fsview.png
+%{tde_datadir}/icons/hicolor/scalable/apps/metabar.svgz
+%{tde_datadir}/icons/locolor/*/apps/autorefresh.png
+%{tde_datadir}/icons/locolor/*/apps/konqsidebar_mediaplayer.png
+%{tde_datadir}/services/akregator_konqplugin.desktop
+%{tde_datadir}/services/ark_plugin.desktop
+%{tde_datadir}/services/fsview_part.desktop
+%{tde_datadir}/services/kuick_plugin.desktop
+%{tde_datadir}/services/webarchivethumbnail.desktop
+%{tde_tdelibdir}/libadblock.la
+%{tde_tdelibdir}/libadblock.so
+%{tde_tdedocdir}/HTML/en/konq-plugins/
+%{tde_mandir}/man1/exif.py.1*
+%{tde_mandir}/man1/fsview.1*
+%{tde_mandir}/man1/jpegorient.1*
+%{tde_mandir}/man1/orient.py.1*
+
+##########
+
+%package -n trinity-ksig
+Summary: Graphical tool for managing multiple email signatures
+Group: Applications/Utilities
+Requires: trinity-kmail
+
+%description -n trinity-ksig
+KSig is a graphical tool for keeping track of many different email
+signatures. The signatures themselves can be edited through KSig's
+graphical user interface. A command-line interface is then available
+for generating random or daily signatures from this list.
+
+The command-line interface makes a suitable plugin for generating
+signatures in external mail clients such as KMail.
+
+%files -n trinity-ksig
+%defattr(-,root,root,-)
+%doc README
+%{tde_bindir}/ksig
+%{tde_tdeappdir}/ksig.desktop
+%{tde_datadir}/apps/ksig/
+%{tde_datadir}/icons/hicolor/*/apps/ksig.png
+%{tde_tdedocdir}/HTML/en/ksig/
+%{tde_mandir}/man1/ksig.1*
+
+##########
+
+%package -n trinity-noatun-plugins
+Summary: plugins for Noatun, the Trinity media player
+Group: Applications/Utilities
+Requires: trinity-noatun
+
+%description -n trinity-noatun-plugins
+This package contains a variety of useful plugins for Noatun, the audio and
+video media player for TDE. These plugins can be loaded through the plugin
+manager in Noatun settings.
+
+Highlights include an alarm clock, guessing tags from filenames, adjustable
+playback speed, capture to wave file and displaying lyrics, plus a variety
+of user interfaces, playlists and visualisation plugins.
+
+%files -n trinity-noatun-plugins
+%defattr(-,root,root,-)
+%doc README
+%{tde_bindir}/noatunsynaescope.bin
+%{tde_bindir}/noatuntippecanoe.bin
+%{tde_bindir}/noatuntyler.bin
+%{tde_tdelibdir}/noatunalsaplayer.la
+%{tde_tdelibdir}/noatunalsaplayer.so
+%{tde_tdelibdir}/noatunblurscope.la
+%{tde_tdelibdir}/noatunblurscope.so
+%{tde_tdelibdir}/noatuncharlatan.la
+%{tde_tdelibdir}/noatuncharlatan.so
+%{tde_tdelibdir}/noatundub.la
+%{tde_tdelibdir}/noatundub.so
+%{tde_tdelibdir}/noatun_ffrs.la
+%{tde_tdelibdir}/noatun_ffrs.so
+%{tde_tdelibdir}/noatunluckytag.la
+%{tde_tdelibdir}/noatunluckytag.so
+%{tde_tdelibdir}/noatunlyrics.la
+%{tde_tdelibdir}/noatunlyrics.so
+%{tde_tdelibdir}/noatunmadness.la
+%{tde_tdelibdir}/noatunmadness.so
+%if 0%{?with_db}
+%{tde_tdelibdir}/noatun_oblique.la
+%{tde_tdelibdir}/noatun_oblique.so
+%endif
+%{tde_tdelibdir}/noatunpitchablespeed.la
+%{tde_tdelibdir}/noatunpitchablespeed.so
+%{tde_tdelibdir}/noatunsynaescope.la
+%{tde_tdelibdir}/noatunsynaescope.so
+%{tde_tdelibdir}/noatuntippecanoe.la
+%{tde_tdelibdir}/noatuntippecanoe.so
+%{tde_tdelibdir}/noatuntyler.la
+%{tde_tdelibdir}/noatuntyler.so
+%{tde_tdelibdir}/noatunwakeup.la
+%{tde_tdelibdir}/noatunwakeup.so
+%{tde_tdelibdir}/noatunwavecapture.la
+%{tde_tdelibdir}/noatunwavecapture.so
+%{tde_datadir}/apps/noatun/*
+%{tde_datadir}/icons/crystalsvg/16x16/apps/synaescope.png
+%{tde_mandir}/man1/noatunsynaescope.bin.1*
+%{tde_mandir}/man1/noatuntippecanoe.bin.1*
+%{tde_mandir}/man1/noatuntyler.bin.1*
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?mgaversion} >= 8
+# Fix shebangs
+sed -i "knewsticker-scripts/sportscores.py" \
+ "konq-plugins/imagerotation/orient.py" \
+ "konq-plugins/imagerotation/exif.py" \
+ -e "s|env python|env %{python}|"
+%endif
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+# Help cmake to find DB headers ...
+if [ -d "/usr/include/db53" ]; then
+ export CMAKE_INCLUDE_PATH="/usr/include/db53"
+fi
+if [ -d "/usr/include/db4" ]; then
+ export CMAKE_INCLUDE_PATH="/usr/include/db4"
+fi
+
+
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=OFF \
+ \
+ -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" \
+ -DSYSCONF_INSTALL_DIR="%{_sysconfdir}/trinity" \
+ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
+ \
+ -DWITH_ALL_OPTIONS=ON \
+ -DWITH_ARTS=ON \
+ -DWITH_SDL=ON \
+ -DWITH_BERKELEY_DB=ON \
+ -DWITH_XMMS=OFF \
+ -DWITH_TEST=OFF \
+ \
+ -DBUILD_ALL=ON \
+ -DBUILD_ATLANTIKDESIGNER=ON \
+ -DBUILD_DOC=ON \
+ -DBUILD_KADDRESSBOOK_PLUGINS=ON \
+ -DBUILD_KATE_PLUGINS=ON \
+ -DBUILD_KICKER_APPLETS=ON \
+ -DBUILD_KNEWSTICKER_SCRIPTS=ON \
+ -DBUILD_KONQ_PLUGINS=ON \
+ -DBUILD_KSIG=ON \
+ -DBUILD_NOATUN_PLUGINS=ON \
+ -DBUILD_RENAMEDLG_PLUGINS=ON \
+ -DBUILD_TDEFILE_PLUGINS=ON \
+ -DBUILD_TUTORIALS=OFF \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+# Temporary
+%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/en/khelpcenter
+
+
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file atlantikdesigner Game BoardGame
+%suse_update_desktop_file -r ksig Network Email
+%endif
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
diff --git a/redhat/core/tdeadmin/kpackagerc b/redhat/core/tdeadmin/kpackagerc
new file mode 100644
index 000000000..72be06d46
--- /dev/null
+++ b/redhat/core/tdeadmin/kpackagerc
@@ -0,0 +1,33 @@
+[Kpackage]
+BSD=false
+DEBAPT=false
+DEBDPKG=false
+KISS=false
+RPM=true
+SLACK=false
+
+[Rpm]
+Package_L_0_0=/mnt/cdrom/RedHat/RPMS
+Package_L_0_1=/mnt/cdrom/SRPMS
+Package_L_0_2=/usr/src/redhat/RPMS
+Package_L_0_3=/usr/src/redhat/SRPMS
+Package_L_0_4=ftp://ftp.redhat.com/pub/redhat/linux/updates/7.2/en
+Package_L_1_0=ftp://rhcontrib.bero.org/pub/rh-contrib/7.2/i386
+Package_L_1_1=ftp://rhcontrib.bero.org/pub/rh-contrib/7.2/noarch
+Package_L_1_2=ftp://rhcontrib.bero.org/pub/rh-contrib/7.2/SRPMS
+Package_S_0_0=0
+Package_S_0_1=0
+Package_S_0_2=1
+Package_S_0_3=0
+Package_S_0_4=1
+Package_S_1_0=0
+Package_S_1_1=0
+Package_S_1_2=0
+Package_U_0_0=1
+Pacakge_U_0_1=1
+Package_U_0_2=1
+Pacakge_U_0_3=1
+Package_U_0_4=0
+Package_U_1_0=0
+Package_U_1_1=0
+Package_U_1_2=0
diff --git a/redhat/core/tdeadmin/ksysvrc b/redhat/core/tdeadmin/ksysvrc
new file mode 100644
index 000000000..48754643d
--- /dev/null
+++ b/redhat/core/tdeadmin/ksysvrc
@@ -0,0 +1,8 @@
+[Other Settings]
+Configured=true
+[Path Settings]
+RunlevelPath=/etc/rc.d
+ScriptPath=/etc/rc.d/init.d
+[Runlevels]
+Show Runlevels=0,1,2,3,4,5,6
+
diff --git a/redhat/core/tdeadmin/kuser.pam b/redhat/core/tdeadmin/kuser.pam
new file mode 100644
index 000000000..30492636a
--- /dev/null
+++ b/redhat/core/tdeadmin/kuser.pam
@@ -0,0 +1,3 @@
+USER=root
+PROGRAM=/usr/sbin/kuser
+SESSION=true
diff --git a/redhat/core/tdeadmin/kuser.pamd b/redhat/core/tdeadmin/kuser.pamd
new file mode 100644
index 000000000..c7d67e332
--- /dev/null
+++ b/redhat/core/tdeadmin/kuser.pamd
@@ -0,0 +1,4 @@
+#%PAM-1.0
+auth include config-util
+account include config-util
+session include config-util
diff --git a/redhat/core/tdeadmin/kuserrc b/redhat/core/tdeadmin/kuserrc
new file mode 100644
index 000000000..baeb5a53b
--- /dev/null
+++ b/redhat/core/tdeadmin/kuserrc
@@ -0,0 +1,6 @@
+[template]
+copySkel=true
+createHomeDir=true
+homeBase=/home
+shell=/bin/bash
+userPrivateGroup=true
diff --git a/redhat/core/tdeadmin/tdeadmin.spec b/redhat/core/tdeadmin/tdeadmin.spec
new file mode 100644
index 000000000..9eebbaa10
--- /dev/null
+++ b/redhat/core/tdeadmin/tdeadmin.spec
@@ -0,0 +1,475 @@
+#
+# spec file for package tdeadmin (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# BUILD WARNING:
+# Remove qt-devel and qt3-devel and any kde*-devel on your system !
+# Having KDE libraries may cause FTBFS here !
+
+# TDE variables
+%define tde_epoch 2
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdeadmin
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
+%define tde_sbindir %{tde_prefix}/sbin
+%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_sbindir %{tde_prefix}/sbin
+%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-%{tde_pkg}
+Summary: Administrative tools for TDE
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+Group: System/GUI/Other
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Project
+#Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Source1: kuser.pam
+Source2: kuser.pamd
+Source5: kpackagerc
+Source6: ksysvrc
+Source7: kuserrc
+
+Obsoletes: trinity-kdeadmin < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdeadmin = %{?epoch:%{epoch}:}%{version}-%{release}
+
+BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+
+BuildRequires: trinity-cmake >= %{tde_version}
+BuildRequires: libtool
+BuildRequires: fdupes
+BuildRequires: gcc-c++
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+# ACL support
+BuildRequires: libacl-devel
+
+# IDN support
+BuildRequires: libidn-devel
+
+# OPENSSL support
+BuildRequires: openssl-devel
+
+# RPM support
+BuildRequires: rpm-devel
+
+# PAM support
+BuildRequires: pam-devel
+
+# LILO support
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+#define with_lilo 1
+%endif
+%if 0%{?with_lilo}
+BuildRequires: lilo
+%endif
+
+Requires: trinity-kcron = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kdat = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-kfile-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-knetworkconf = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kpackage = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksysv = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kuser = %{?epoch:%{epoch}:}%{version}-%{release}
+%if 0%{?with_lilo}
+Requires: trinity-lilo-config = %{?epoch:%{epoch}:}%{version}-%{release}
+%else
+Obsoletes: trinity-lilo-config < %{?epoch:%{epoch}:}%{version}-%{release}
+%endif
+
+# CONSOLEHELPER (usermode) support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_consolehelper 1
+
+# Avoids relinking, which breaks consolehelper
+%define dont_relink 1
+%endif
+
+%description
+The tdeadmin package includes administrative tools for the Trinity Desktop
+Environment (TDE) including:
+kcron, kdat, knetworkconf, kpackage, ksysv, kuser.
+
+%files
+%defattr(-,root,root,-)
+
+##########
+
+%package -n trinity-kcron
+Summary: The Trinity crontab editor
+Group: System/GUI/Other
+
+%description -n trinity-kcron
+KCron is an application for scheduling programs to run in the background.
+It is a graphical user interface to cron, the UNIX system scheduler.
+
+%files -n trinity-kcron
+%defattr(-,root,root,-)
+%{tde_bindir}/kcron
+%{tde_tdeappdir}/kcron.desktop
+%{tde_datadir}/apps/kcron/
+%{tde_datadir}/icons/hicolor/*/apps/kcron.png
+%{tde_tdedocdir}/HTML/en/kcron/
+
+##########
+
+%package -n trinity-kdat
+Summary: A Trinity tape backup tool
+Group: System/GUI/Other
+
+%description -n trinity-kdat
+KDat is a tar-based tape archiver. It is designed to work with multiple
+archives on a single tape.
+
+Main features are:
+* Simple graphical interface to local filesystem and tape contents.
+* Multiple archives on the same physical tape.
+* Complete index of archives and files is stored on local hard disk.
+* Selective restore of files from an archive.
+* Backup profiles for frequently used backups.
+
+%files -n trinity-kdat
+%defattr(-,root,root,-)
+%doc rpmdocs/kdat/*
+%{tde_bindir}/kdat
+%{tde_tdeappdir}/kdat.desktop
+%{tde_datadir}/apps/kdat/
+%{tde_datadir}/icons/hicolor/*/apps/kdat.png
+%{tde_datadir}/icons/locolor/*/apps/kdat.png
+%{tde_tdedocdir}/HTML/en/kdat/
+
+##########
+
+%package kfile-plugins
+Summary: Trinity file metainfo plugins for deb and rpm files
+Group: System/GUI/Other
+
+%description kfile-plugins
+This package contains the Trinity File metainfo plugins for deb and rpm
+package files.
+
+%files kfile-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/tdefile_deb.la
+%{tde_tdelibdir}/tdefile_deb.so
+%{tde_tdelibdir}/tdefile_rpm.la
+%{tde_tdelibdir}/tdefile_rpm.so
+%{tde_datadir}/services/tdefile_deb.desktop
+%{tde_datadir}/services/tdefile_rpm.desktop
+
+##########
+
+%package -n trinity-knetworkconf
+Summary: Trinity network configuration tool
+Group: System/GUI/Other
+
+%description -n trinity-knetworkconf
+This is a TDE control center module to configure TCP/IP settings. It
+can be used to manage network devices and settings for each device.
+
+%files -n trinity-knetworkconf
+%defattr(-,root,root,-)
+%doc rpmdocs/knetworkconf/*
+%{tde_datadir}/icons/hicolor/*/apps/knetworkconf.png
+%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_wlan.png
+%{tde_datadir}/icons/hicolor/22x22/actions/network_connected_lan_knc.png
+%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_lan.png
+%{tde_datadir}/icons/hicolor/22x22/actions/network_traffic_wlan.png
+%{tde_datadir}/apps/knetworkconf/
+%{tde_tdeappdir}/kcm_knetworkconfmodule.desktop
+%{tde_tdelibdir}/kcm_knetworkconfmodule.so
+%{tde_tdelibdir}/kcm_knetworkconfmodule.la
+%{tde_tdedocdir}/HTML/en/knetworkconf/
+
+##########
+
+%package -n trinity-kpackage
+Summary: Trinity package management tool
+Group: System/GUI/Other
+
+%description -n trinity-kpackage
+This is a frontend to both .rpm and .deb package formats. It allows you
+to view currently installed packages, browse available packages, and
+install/remove them.
+
+%files -n trinity-kpackage
+%defattr(-,root,root,-)
+%doc rpmdocs/kpackage/*
+%{tde_bindir}/kpackage
+%{tde_tdeappdir}/kpackage.desktop
+%{tde_datadir}/apps/kpackage/
+%config(noreplace) %{tde_confdir}/kpackagerc
+%{tde_datadir}/icons/hicolor/*/apps/kpackage.png
+%{tde_tdedocdir}/HTML/en/kpackage/
+
+##########
+
+%package -n trinity-ksysv
+Summary: Trinity SysV-style init configuration editor
+Group: System/GUI/Other
+
+%description -n trinity-ksysv
+This program allows you to edit your start and stop scripts using a
+drag and drop GUI.
+
+%files -n trinity-ksysv
+%defattr(-,root,root,-)
+%doc rpmdocs/ksysv/*
+%{tde_bindir}/ksysv
+%{tde_tdeappdir}/ksysv.desktop
+%{tde_datadir}/apps/ksysv/
+%config(noreplace) %{tde_confdir}/ksysvrc
+%{tde_datadir}/icons/hicolor/*/apps/ksysv.png
+%{tde_datadir}/mimelnk/application/x-ksysv.desktop
+%{tde_datadir}/mimelnk/text/x-ksysv-log.desktop
+%{tde_tdedocdir}/HTML/en/ksysv/
+
+##########
+
+%package -n trinity-kuser
+Summary: Trinity user/group administration tool
+Group: System/GUI/Other
+
+%if 0%{?with_consolehelper}
+# package 'usermode' provides '/usr/bin/consolehelper-gtk'
+%if 0%{?rhel} || 0%{?fedora}
+Requires: usermode-gtk
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+Requires: usermode
+%endif
+%endif
+
+%description -n trinity-kuser
+A user/group administration tool for TDE.
+
+%files -n trinity-kuser
+%defattr(-,root,root,-)
+%doc rpmdocs/kuser/*
+%{tde_bindir}/kuser
+%{tde_tdeappdir}/kuser.desktop
+%{tde_datadir}/apps/kuser/
+%config(noreplace) %{tde_confdir}/kuserrc
+%{tde_datadir}/config.kcfg/kuser.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kuser.png
+%{tde_tdedocdir}/HTML/en/kuser/
+
+%if 0%{?with_consolehelper}
+%{tde_sbindir}/kuser
+%{_sbindir}/kuser
+%config(noreplace) /etc/pam.d/kuser
+%config(noreplace) /etc/security/console.apps/kuser
+%endif
+
+##########
+
+%if 0%{?with_lilo}
+%package -n trinity-lilo-config
+Summary: Trinity frontend for lilo configuration
+Group: System/GUI/Other
+Requires: trinity-kcontrol
+Requires: trinity-tdebase-bin
+#Requires: lilo
+
+%description -n trinity-lilo-config
+lilo-config is a TDE based frontend to the lilo boot manager configuration.
+It runs out of the Trinity Control Center.
+
+If you want to use the menu entry to launch lilo-config, you need to install
+tdebase-bin since it uses the tdesu command to gain root privileges.
+
+%files -n trinity-lilo-config
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcm_lilo.la
+%{tde_tdelibdir}/kcm_lilo.so
+%{tde_tdeappdir}/lilo.desktop
+%{tde_tdedocdir}/HTML/en/lilo-config/
+
+%post -n trinity-lilo-config
+touch /etc/lilo.conf
+%endif
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+
+%build
+unset QTDIR QTLIB QTINC
+export PATH="%{tde_bindir}:${PATH}"
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=OFF \
+ \
+ -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" \
+ -DSYSCONF_INSTALL_DIR="%{_sysconfdir}/trinity" \
+ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
+ \
+ -DBUILD_ALL=ON \
+ -DBUILD_DOC=ON \
+ -DBUILD_KCRON=ON \
+ -DBUILD_KDAT=ON \
+ -DBUILD_KNETWORKCONF=ON \
+ -DBUILD_KPACKAGE=ON \
+ -DBUILD_KSYSV=ON \
+ -DBUILD_KUSER=ON \
+ -DBUILD_LILO_CONFIG=ON \
+ -DBUILD_SECPOLICY=ON \
+ -DBUILD_TDEFILE_PLUGINS=ON \
+ \
+%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1210 || 0%{?rhel} >= 7 || 0%{?mageia} >= 4
+ -DKU_FIRSTUID="1000" \
+ -DKU_FIRSTGID="1000" \
+%endif
+ -DKU_USERPRIVATEGROUP=false \
+ -DKU_HOMEDIR_PERM="0700" \
+ -DKU_HOMETEMPLATE="/home/%U" \
+ -DKU_MAILBOX_GID="0" \
+ -DKU_MAILBOX_PERM="0660" \
+ \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+comps="kcron kdat knetworkconf kpackage ksysv kuser"
+%__mkdir_p %{buildroot}%{tde_datadir}/config \
+ %{buildroot}%{_sysconfdir}/security/console.apps \
+ %{buildroot}%{_sysconfdir}/pam.d \
+ %{buildroot}%{tde_sbindir} \
+ %{buildroot}%{_sbindir}
+
+%__mkdir_p "%{buildroot}%{tde_confdir}/"
+%__install -p -m644 %{SOURCE5} %{SOURCE6} %{SOURCE7} "%{buildroot}%{tde_confdir}/"
+
+%if 0%{?with_consolehelper}
+# Run kuser through consolehelper
+%__install -p -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/security/console.apps/kuser
+%__install -p -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/kuser
+%__mv %{buildroot}%{tde_bindir}/kuser %{buildroot}%{tde_sbindir}
+%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kuser
+%if "%{tde_prefix}" != "/usr"
+%__ln_s %{tde_sbindir}/kuser %{?buildroot}%{_sbindir}/kuser
+%endif
+%endif
+
+# rpmdocs
+for dir in $comps ; do
+ for file in AUTHORS ChangeLog README TODO ; do
+ test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
+ done
+done
+
+# The following files are not installed in any binary package.
+# This is deliberate.
+
+# - This file serves no purpose that we can see, and conflicts
+# with GNOME system tools, so be sure to leave it out.
+%__rm -f %{?buildroot}%{tde_libdir}/pkgconfig/*.pc
+
+# Extract from changelog:
+# tdeadmin (4:3.5.5-2) unstable; urgency=low
+# +++ Changes by Ana Beatriz Guerrero Lopez:
+# * Removed useless program secpolicy. (Closes: #399426)
+%__rm -f %{?buildroot}%{tde_bindir}/secpolicy
+
+# Remove lilo related files, if unwanted.
+%if 0%{?with_lilo} == 0
+%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/en/lilo-config/
+%__rm -f %{?buildroot}%{tde_tdelibdir}/kcm_lilo.la
+%__rm -f %{?buildroot}%{tde_tdelibdir}/kcm_lilo.so
+%__rm -f %{?buildroot}%{tde_tdeappdir}/lilo.desktop
+%endif
+
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file kdat System Backup
+%suse_update_desktop_file kpackage System PackageManager
+%suse_update_desktop_file kcron System ServiceConfiguration
+%suse_update_desktop_file ksysv System ServiceConfiguration
+%suse_update_desktop_file kuser System SystemSetup
+%endif
+
+# Links duplicate files
+%fdupes "%{?buildroot}%{tde_datadir}"
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
diff --git a/redhat/core/tdeartwork/tdeartwork.spec b/redhat/core/tdeartwork/tdeartwork.spec
new file mode 100644
index 000000000..3722ca1bd
--- /dev/null
+++ b/redhat/core/tdeartwork/tdeartwork.spec
@@ -0,0 +1,803 @@
+#
+# spec file for package tdeartwork (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# BUILD WARNING:
+# Remove qt-devel and qt3-devel and any kde*-devel on your system !
+# Having KDE libraries may cause FTBFS here !
+
+# TDE variables
+%define tde_epoch 2
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdeartwork
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_sbindir %{tde_prefix}/sbin
+%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-%{tde_pkg}
+Summary: Additional artwork (themes, sound themes, ...) for TDE
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+Group: System/GUI/Other
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Desktop
+#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
+
+Obsoletes: trinity-kdeartwork < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdeartwork = %{?epoch:%{epoch}:}%{version}-%{release}
+
+BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-tdebase-devel >= %{tde_version}
+
+BuildRequires: trinity-cmake >= %{tde_version}
+BuildRequires: gcc-c++
+BuildRequires: fdupes
+
+BuildRequires: gettext
+BuildRequires: libidn-devel
+
+# ESOUND support
+BuildRequires: esound-devel
+
+# ACL support
+BuildRequires: libacl-devel
+
+# 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
+%if 0%{?suse_version}
+BuildRequires: Mesa-libGL-devel
+BuildRequires: Mesa-libGLU-devel
+%endif
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-Mesa-libGLU
+%endif
+
+# LIBART support
+%define with_libart 1
+BuildRequires: libart_lgpl-devel
+
+# XSCREENSAVER support
+# RHEL 4: disabled
+# RHEL 6: available in EPEL
+# RHEL 7: available in NUX
+# RHEL 8: available in EPEL
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || ( 0%{?rhel} >= 5 && 0%{?rhel} <= 8 ) || 0%{?suse_version}
+%define with_xscreensaver 1
+
+%if 0%{?fedora} || 0%{?rhel} >= 5
+BuildRequires: libXScrnSaver-devel
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-base
+BuildRequires: xscreensaver-extras
+%if 0%{?fedora}
+BuildRequires: xscreensaver-extras-base
+%endif
+BuildRequires: xscreensaver-gl-base
+BuildRequires: xscreensaver-gl-extras
+%endif
+
+%if 0%{?suse_version}
+BuildRequires: libXScrnSaver-devel
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-data
+BuildRequires: xscreensaver-data-extra
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?mgaversion} >= 4
+BuildRequires: %{_lib}xscrnsaver-devel
+%else
+BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
+%endif
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-base
+%if 0%{?pclinuxos} == 0
+BuildRequires: xscreensaver-extrusion
+%endif
+BuildRequires: xscreensaver-gl
+%endif
+
+# Opensuse <= 13.10 does not provide 'webcollage' screensaver
+%if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1320
+%define with_webcollage 1
+%endif
+
+%endif
+
+# JACK support
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
+%define with_jack 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%define jack_devel %{_lib}jack-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora}
+%define jack_devel jack-audio-connection-kit-devel
+%endif
+%if 0%{?suse_version}
+%define jack_devel libjack-devel
+%endif
+BuildRequires: %{jack_devel}
+%endif
+
+# GAMIN support
+# Not on openSUSE.
+%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_gamin 1
+BuildRequires: gamin-devel
+%endif
+
+# OPENSSL support
+BuildRequires: openssl-devel
+
+
+# Metapackage
+Requires: %{name}-emoticons = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-misc = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-style = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-theme-icon = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-theme-window = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdewallpapers = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdescreensaver = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%if 0%{?with_xscreensaver}
+Requires: trinity-tdescreensaver-xsavers = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdescreensaver-xsavers-extra = %{?epoch:%{epoch}:}%{version}-%{release}
+%if 0%{?with_webcollage}
+Requires: trinity-tdescreensaver-xsavers-webcollage = %{?epoch:%{epoch}:}%{version}-%{release}
+%endif
+%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 a collection of artistic extras (themes, widget
+styles, screen savers, wallpaper, icons, emoticons and so on) provided
+with the official release of TDE.
+
+
+%files
+
+##########
+
+%package emoticons
+Summary: Emoticon collections for tDE chat clients
+Group: System/GUI/Other
+
+%description emoticons
+This package contains several collections of emoticons used by official
+and unofficial TDE chat clients, such as Kopete and Konversation.
+
+This package is part of TDE, and a component of the TDE artwork module.
+
+%files emoticons
+%defattr(-,root,root,-)
+%{tde_datadir}/emoticons/
+
+##########
+
+%package misc
+Summary: Various multimedia goodies released with TDE
+Group: System/GUI/Other
+
+%description misc
+This package contains miscellaneous multimedia goodies for TDE.
+Included are additional TDE sounds and kworldclock themes.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files misc
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kworldclock/
+%{tde_datadir}/sounds/KDE_Logout_new.wav
+%{tde_datadir}/sounds/KDE_Startup_new.wav
+
+##########
+
+%package style
+Summary: Widget styles released with Trinity
+Group: System/GUI/Other
+
+%description style
+This package contains additional widget styles for Trinity. Widget styles
+can be used to customise the look and feel of interface components such
+as buttons, scrollbars and so on. They can be applied using the style
+manager in the Trinity Control Center.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files style
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/plugins/styles/
+%{tde_tdelibdir}/tdestyle_phase_config.la
+%{tde_tdelibdir}/tdestyle_phase_config.so
+%{tde_datadir}/apps/tdestyle/
+
+##########
+
+%package theme-icon
+Summary: Icon themes released with Trinity
+Group: System/GUI/Other
+
+Obsoletes: trinity-kdeartwork-icons < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdeartwork-icons = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description theme-icon
+This package contains additional icon themes for Trinity. Icon themes can be
+used to customise the appearance of standard icons throughout TDE. They
+can be applied using the icon manager in the Trinity Control Centre.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files theme-icon
+%defattr(-,root,root,-)
+%{tde_datadir}/icons/ikons/
+%{tde_datadir}/icons/kdeclassic/
+%{tde_datadir}/icons/kids/
+%{tde_datadir}/icons/slick/
+%{tde_datadir}/icons/locolor/index.theme
+%{tde_datadir}/icons/locolor/*/*/*.png
+
+##########
+
+%package theme-window
+Summary: Window decoration themes released with Trinity
+Group: System/GUI/Other
+
+%description theme-window
+This package contains additional window decoration themes for Trinity. Window
+decoration themes can be used to customise the look of window borders and
+buttons, and can be applied using the window decoration manager in the Trinity
+Control Center.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files theme-window
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/twin*
+%{tde_datadir}/apps/twin/
+
+##########
+
+%package -n trinity-tdewallpapers
+Summary: Wallpapers released with Trinity
+Group: System/GUI/Other
+Obsoletes: trinity-kdewallpapers < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdewallpapers = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-tdewallpapers
+This package contains additional wallpapers for Trinity. Wallpapers can be
+applied using the background manager in the Trinity Control Center.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-tdewallpapers
+%defattr(-,root,root,-)
+%{tde_datadir}/wallpapers/*
+
+##########
+
+%package -n trinity-tdescreensaver
+Summary: Additional screen savers released with Trinity
+Group: System/GUI/Other
+
+Obsoletes: trinity-kscreensaver < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kscreensaver = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-tdescreensaver
+This package contains the screen savers for Trinity. They can be tested and
+selected within the Appearance and Themes section of the Trinity Control
+Center.
+
+The hooks for the standard xscreensavers are no longer part of this
+package. To select and/or configure the standard xscreensavers through
+the Trinity Control Center, install the separate package tdescreensaver-xsavers.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-tdescreensaver
+%defattr(-,root,root,-)
+%{tde_bindir}/kslideshow.kss
+%{tde_bindir}/kpolygon.kss
+%{tde_bindir}/krotation.kss
+%{tde_bindir}/ksolarwinds.kss
+%{tde_bindir}/klorenz.kss
+%{tde_bindir}/kvm.kss
+%{tde_bindir}/kflux.kss
+%{tde_bindir}/kscience.kss
+%{tde_bindir}/kbanner.kss
+%{tde_bindir}/kclock.kss
+%{tde_bindir}/kfiresaver.kss
+%{tde_bindir}/keuphoria.kss
+%{tde_bindir}/kfountain.kss
+%{tde_bindir}/kgravity.kss
+%{tde_bindir}/tdepartsaver.kss
+%{tde_bindir}/kpendulum.kss
+%{tde_bindir}/kblob.kss
+%{tde_bindir}/klines.kss
+%{tde_bindir}/kwave.kss
+%{tde_bindir}/tdeasciiquarium.kss
+%{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/tdepartsaver.desktop
+%{tde_datadir}/apps/kfiresaver/
+%{tde_datadir}/apps/tdescreensaver/
+%{tde_mandir}/man1/kbanner.kss.1*
+%{tde_mandir}/man1/kblob.kss.1*
+%{tde_mandir}/man1/kclock.kss.1*
+%{tde_mandir}/man1/keuphoria.kss.1
+%{tde_mandir}/man1/kfiresaver.kss.1
+%{tde_mandir}/man1/kflux.kss.1
+%{tde_mandir}/man1/kfountain.kss.1
+%{tde_mandir}/man1/kgravity.kss.1
+%{tde_mandir}/man1/klines.kss.1
+%{tde_mandir}/man1/klorenz.kss.1
+%{tde_mandir}/man1/kpendulum.kss.1
+%{tde_mandir}/man1/kpolygon.kss.1
+%{tde_mandir}/man1/krotation.kss.1
+%{tde_mandir}/man1/kscience.kss.1
+%{tde_mandir}/man1/kslideshow.kss.1
+%{tde_mandir}/man1/ksolarwinds.kss.1
+%{tde_mandir}/man1/kvm.kss.1
+%{tde_mandir}/man1/kwave.kss.1
+%{tde_mandir}/man1/tdeasciiquarium.kss.1
+%{tde_mandir}/man1/tdepartsaver.kss.1
+
+%if 0%{?with_xscreensaver}
+%{tde_bindir}/kspace.kss
+%{tde_bindir}/kswarm.kss
+%{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop
+%{tde_mandir}/man1/kspace.kss.1
+%{tde_mandir}/man1/kswarm.kss.1
+%endif
+
+##########
+
+%if 0%{?with_xscreensaver}
+
+%package -n trinity-tdescreensaver-xsavers
+Summary: Trinity hooks for standard xscreensavers
+Group: System/GUI/Other
+Requires: trinity-tdebase-bin >= %{tde_version}
+Requires: xscreensaver
+
+Obsoletes: trinity-kscreensaver-xsavers < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kscreensaver-xsavers = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-tdescreensaver-xsavers
+This package allows a smooth integration of the standard xscreensavers
+into Trinity. With this package installed you can select and/or configure
+the standard xscreensavers through the Appearances and Themes section of
+the Trinity Control Centre.
+
+Note that this package does not actually contain any screensavers itself.
+For the additional screensavers shipped with Trinity, see the separate package
+tdescreensaver-trinity. This package does depend on the xscreensaver package, and
+recommend the xscreensaver-gl package, as well as contain the necessary
+files to integrate these packages into Trinity.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-tdescreensaver-xsavers
+%defattr(-,root,root,-)
+%{tde_bindir}/xscreensaver-getimage-file
+%{tde_bindir}/xscreensaver-getimage
+%{tde_bindir}/kxsconfig
+%{tde_bindir}/kxsrun
+%{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/braid.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/deco.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/distort.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/engine.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/gears.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/queens.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop
+%endif
+%if 0%{?rhel} == 5
+%{tde_datadir}/applnk/System/ScreenSavers/bubbles.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/critical.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flag.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/forest.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glforestfire.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/hyperball.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/hypercube.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/juggle.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/laser.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lightning.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lisa.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lissie.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lmorph.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/mismunch.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/rotor.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/sphere.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/spiral.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/t3d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/vines.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/whirlygig.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/worm.desktop
+%endif
+%{tde_mandir}/man1/kxsconfig.1
+%{tde_mandir}/man1/kxsrun.1
+
+%endif
+
+##########
+
+%if 0%{?with_webcollage}
+
+%package -n trinity-tdescreensaver-xsavers-webcollage
+Summary: Webcollage screensaver Trinity hook
+Group: System/GUI/Other
+Requires: trinity-tdescreensaver-xsavers-extra = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: netpbm
+
+Obsoletes: trinity-kscreensaver-xsavers-webcollage < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kscreensaver-xsavers-webcollage = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-tdescreensaver-xsavers-webcollage
+This package give access to the webcollage screensaver through the Trinity
+screensaver configuration.
+
+This screensaver downloads random pictures from the internet and creates
+a collage as screensaver.
+
+IMPORTANT NOTICE: The internet contains all kinds of pictures, some of which
+you might find inappropriate and offensive.
+You are specially discouraged to install this package if you are using
+your computer in a working environment or in an environment with children.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-tdescreensaver-xsavers-webcollage
+%defattr(-,root,root,-)
+%{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop
+
+%endif
+
+##########
+
+%package -n trinity-tdescreensaver-xsavers-extra
+Summary: Trinity hooks for standard xscreensavers
+Group: System/GUI/Other
+Requires: trinity-tdescreensaver-xsavers = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Obsoletes: trinity-kscreensaver-xsavers-extra < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kscreensaver-xsavers-extra = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-tdescreensaver-xsavers-extra
+This package allows a smooth integration of the universe xscreensavers
+into Trinity. With this package installed you can select and/or configure
+the universe xscreensavers through the Appearances and Themes section of
+the Trinity Control Centre.
+
+Note that this package does not actually contain any screensavers itself.
+For the additional screensavers shipped with TDE, see the separate package
+tdescreensaver.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-tdescreensaver-xsavers-extra
+%defattr(-,root,root,-)
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/braid.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/deco.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/distort.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/engine.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/gears.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/queens.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop
+%endif
+%if 0%{?rhel} == 5
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/bubbles.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/critical.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/flag.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/forest.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/glforestfire.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/hyperball.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/hypercube.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/juggle.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/laser.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/lightning.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/lisa.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/lissie.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/lmorph.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/mismunch.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/rotor.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/sphere.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/spiral.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/t3d.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/vines.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/whirlygig.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/worm.desktop
+%endif
+
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/tdepartsaver.desktop
+
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop
+%exclude %{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop
+
+%{tde_datadir}/applnk/System/ScreenSavers/*.desktop
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+# http://www.trinitydesktop.org/wiki/bin/view/Developers/HowToBuild
+# NOTE: Before building tdeartwork, install any and all xhack screensavers that might be uses, then:
+cd tdescreensaver/kxsconfig/
+./update_hacks.sh
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=OFF \
+ \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ \
+ %{!?with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \
+ %{!?with_libart}:-DWITH_LIBART=OFF} \
+ -DWITH_ALL_OPTIONS=ON \
+ -DWITH_ARTS=ON \
+ -DWITH_LIBART=ON \
+ -DWITH_OPENGL=ON \
+ -DBUILD_ALL=ON \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf "%{buildroot}"
+%__make install -C build DESTDIR="%{buildroot}"
+
+# Should not be here if xscreensaver is disabled
+%if 0%{?with_xscreensaver} == 0
+%__rm -f "%{?buildroot}%{tde_bindir}/xscreensaver-getimage"
+%__rm -f "%{?buildroot}%{tde_bindir}/xscreensaver-getimage-file"
+%endif
+
+# Duplicate with trinity-kbabel (from tdesdk)
+%__rm -f "%{?buildroot}%{tde_datadir}/icons/locolor/16x16/apps/kbabel.png"
+%__rm -f "%{?buildroot}%{tde_datadir}/icons/locolor/32x32/apps/kbabel.png"
+
+# Links duplicate files
+%fdupes "%{?buildroot}%{tde_datadir}"
+
+# Fix invalid permissions
+%if 0%{?with_xscreensaver}
+chmod +x "%{?buildroot}%{tde_bindir}/xscreensaver-getimage"
+chmod +x "%{?buildroot}%{tde_bindir}/xscreensaver-getimage-file"
+%endif
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
diff --git a/redhat/core/tdebase/mgabutton.svg b/redhat/core/tdebase/mgabutton.svg
new file mode 100644
index 000000000..5897323c5
--- /dev/null
+++ b/redhat/core/tdebase/mgabutton.svg
@@ -0,0 +1,744 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="32px"
+ height="32px"
+ id="svg6639"
+ version="1.1"
+ inkscape:version="0.48.0 r9654"
+ sodipodi:docname="test_rond.svg">
+ <defs
+ id="defs6641">
+ <linearGradient
+ gradientTransform="translate(-217.49002,-504.04797)"
+ id="SVGID_144_"
+ gradientUnits="userSpaceOnUse"
+ x1="233.5"
+ y1="520.32031"
+ x2="233.5"
+ y2="498.52591">
+ <stop
+ offset="0"
+ style="stop-color:#FFFFFF;stop-opacity:0.5"
+ id="stop6136" />
+ <stop
+ offset="0.4485"
+ style="stop-color:#FFFFFF;stop-opacity:0"
+ id="stop6138" />
+ </linearGradient>
+ <linearGradient
+ id="path827_1_"
+ gradientUnits="userSpaceOnUse"
+ x1="237.6899"
+ y1="764.00677"
+ x2="237.6899"
+ y2="766.55182"
+ gradientTransform="matrix(1,0,0,-1,-219.38992,770.35243)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop4955" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop4957" />
+ </linearGradient>
+ <linearGradient
+ id="path820_1_"
+ gradientUnits="userSpaceOnUse"
+ x1="234.2964"
+ y1="765.98541"
+ x2="234.2964"
+ y2="768.24799"
+ gradientTransform="matrix(1,0,0,-1,-219.38992,770.35243)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop4949" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop4951" />
+ </linearGradient>
+ <linearGradient
+ id="path813_1_"
+ gradientUnits="userSpaceOnUse"
+ x1="238.1138"
+ y1="758.77338"
+ x2="238.1138"
+ y2="761.88568"
+ gradientTransform="matrix(1,0,0,-1,-219.38992,770.35243)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop4943" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop4945" />
+ </linearGradient>
+ <linearGradient
+ id="path806_1_"
+ gradientUnits="userSpaceOnUse"
+ x1="235.0034"
+ y1="761.46088"
+ x2="235.0034"
+ y2="764.28809"
+ gradientTransform="matrix(1,0,0,-1,-219.38992,770.35243)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop4937" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop4939" />
+ </linearGradient>
+ <linearGradient
+ id="path799_1_"
+ gradientUnits="userSpaceOnUse"
+ x1="233.0239"
+ y1="757.64258"
+ x2="233.0239"
+ y2="761.03607"
+ gradientTransform="matrix(1,0,0,-1,-219.38992,770.35243)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop4931" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop4933" />
+ </linearGradient>
+ <linearGradient
+ id="path792_1_"
+ gradientUnits="userSpaceOnUse"
+ x1="216.2861"
+ y1="668.24799"
+ x2="216.2861"
+ y2="685.1748"
+ gradientTransform="matrix(1,0,0,-1,-1.8999,1130.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop4925" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop4927" />
+ </linearGradient>
+ <linearGradient
+ id="path781_1_"
+ gradientUnits="userSpaceOnUse"
+ x1="216.2861"
+ y1="666.24799"
+ x2="216.2861"
+ y2="698.24799"
+ gradientTransform="matrix(1,0,0,-1,-1.8999,1130.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#253774"
+ id="stop4915" />
+ <stop
+ offset="0.6748"
+ style="stop-color:#0069B3"
+ id="stop4917" />
+ <stop
+ offset="1"
+ style="stop-color:#2397D4"
+ id="stop4919" />
+ </linearGradient>
+ <radialGradient
+ gradientTransform="translate(-336.83363,-421.80696)"
+ id="SVGID_86_"
+ cx="353.12939"
+ cy="451.68161"
+ r="16.8687"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ offset="0"
+ style="stop-color:#2397D4"
+ id="stop5558" />
+ <stop
+ offset="0.3252"
+ style="stop-color:#0069B3"
+ id="stop5560" />
+ <stop
+ offset="1"
+ style="stop-color:#253774"
+ id="stop5562" />
+ </radialGradient>
+ <radialGradient
+ id="SVGID_85_"
+ cx="352.67291"
+ cy="600.85162"
+ r="10.2375"
+ gradientTransform="matrix(1,0,0,0.5146,0,120.2001)"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ offset="0"
+ style="stop-color:#FFFFFF"
+ id="stop5551" />
+ <stop
+ offset="1"
+ style="stop-color:#FFFFFF;stop-opacity:0"
+ id="stop5553" />
+ </radialGradient>
+ <linearGradient
+ id="SVGID_79_"
+ gradientUnits="userSpaceOnUse"
+ x1="373.5239"
+ y1="752.03607"
+ x2="373.5239"
+ y2="767.75"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop5509" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop5511" />
+ </linearGradient>
+ <linearGradient
+ id="SVGID_80_"
+ gradientUnits="userSpaceOnUse"
+ x1="371.52881"
+ y1="767.37598"
+ x2="371.52881"
+ y2="770.36823"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop5516" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop5518" />
+ </linearGradient>
+ <linearGradient
+ id="SVGID_81_"
+ gradientUnits="userSpaceOnUse"
+ x1="373.2749"
+ y1="770.74219"
+ x2="373.2749"
+ y2="773.2373"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop5523" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop5525" />
+ </linearGradient>
+ <linearGradient
+ id="SVGID_82_"
+ gradientUnits="userSpaceOnUse"
+ x1="376.0181"
+ y1="768.37402"
+ x2="376.0181"
+ y2="771.11719"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop5530" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop5532" />
+ </linearGradient>
+ <linearGradient
+ id="SVGID_83_"
+ gradientUnits="userSpaceOnUse"
+ x1="372.65091"
+ y1="774.73242"
+ x2="372.65091"
+ y2="776.72949"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop5537" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop5539" />
+ </linearGradient>
+ <linearGradient
+ id="SVGID_84_"
+ gradientUnits="userSpaceOnUse"
+ x1="375.64401"
+ y1="772.98633"
+ x2="375.64401"
+ y2="775.23138"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop5544" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop5546" />
+ </linearGradient>
+ <radialGradient
+ gradientTransform="translate(-336.83363,-421.80696)"
+ id="SVGID_78_"
+ cx="353.1279"
+ cy="451.67969"
+ r="16.8687"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ offset="0"
+ style="stop-color:#2397D4"
+ id="stop5496" />
+ <stop
+ offset="0.6606"
+ style="stop-color:#0069B3"
+ id="stop5498" />
+ <stop
+ offset="1"
+ style="stop-color:#253774"
+ id="stop5500" />
+ </radialGradient>
+ <radialGradient
+ id="SVGID_77_"
+ cx="352.72711"
+ cy="440.5596"
+ r="13.9677"
+ fx="362.53101"
+ fy="450.50839"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ offset="0"
+ style="stop-color:#2397D4"
+ id="stop5487" />
+ <stop
+ offset="0.7697"
+ style="stop-color:#0069B3"
+ id="stop5489" />
+ <stop
+ offset="1"
+ style="stop-color:#253774"
+ id="stop5491" />
+ </radialGradient>
+ <radialGradient
+ gradientTransform="translate(-336.83363,-421.80696)"
+ r="13.9677"
+ fy="450.50839"
+ fx="362.53101"
+ cy="440.5596"
+ cx="352.72711"
+ gradientUnits="userSpaceOnUse"
+ id="radialGradient6848-1"
+ xlink:href="#SVGID_77_-9"
+ inkscape:collect="always" />
+ <radialGradient
+ id="SVGID_77_-9"
+ cx="352.72711"
+ cy="440.5596"
+ r="13.9677"
+ fx="362.53101"
+ fy="450.50839"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ offset="0"
+ style="stop-color:#2397D4"
+ id="stop5487-4" />
+ <stop
+ offset="0.7697"
+ style="stop-color:#0069B3"
+ id="stop5489-7" />
+ <stop
+ offset="1"
+ style="stop-color:#253774"
+ id="stop5491-8" />
+ </radialGradient>
+ <radialGradient
+ gradientTransform="translate(-336.47642,-422.7893)"
+ id="SVGID_78_-4"
+ cx="353.1279"
+ cy="451.67969"
+ r="16.8687"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ offset="0"
+ style="stop-color:#2397D4"
+ id="stop5496-5" />
+ <stop
+ offset="0.6606"
+ style="stop-color:#0069B3"
+ id="stop5498-0" />
+ <stop
+ offset="1"
+ style="stop-color:#253774"
+ id="stop5500-3" />
+ </radialGradient>
+ <linearGradient
+ id="SVGID_79_-6"
+ gradientUnits="userSpaceOnUse"
+ x1="373.5239"
+ y1="752.03607"
+ x2="373.5239"
+ y2="767.75"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop5509-1" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop5511-0" />
+ </linearGradient>
+ <linearGradient
+ id="SVGID_80_-6"
+ gradientUnits="userSpaceOnUse"
+ x1="371.52881"
+ y1="767.37598"
+ x2="371.52881"
+ y2="770.36823"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop5516-3" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop5518-2" />
+ </linearGradient>
+ <linearGradient
+ id="SVGID_81_-0"
+ gradientUnits="userSpaceOnUse"
+ x1="373.2749"
+ y1="770.74219"
+ x2="373.2749"
+ y2="773.2373"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop5523-6" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop5525-1" />
+ </linearGradient>
+ <linearGradient
+ id="SVGID_82_-5"
+ gradientUnits="userSpaceOnUse"
+ x1="376.0181"
+ y1="768.37402"
+ x2="376.0181"
+ y2="771.11719"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop5530-5" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop5532-4" />
+ </linearGradient>
+ <linearGradient
+ id="SVGID_83_-7"
+ gradientUnits="userSpaceOnUse"
+ x1="372.65091"
+ y1="774.73242"
+ x2="372.65091"
+ y2="776.72949"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop5537-6" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop5539-5" />
+ </linearGradient>
+ <linearGradient
+ id="SVGID_84_-6"
+ gradientUnits="userSpaceOnUse"
+ x1="375.64401"
+ y1="772.98633"
+ x2="375.64401"
+ y2="775.23138"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop5544-9" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop5546-3" />
+ </linearGradient>
+ <radialGradient
+ id="SVGID_85_-7"
+ cx="352.67291"
+ cy="600.85162"
+ r="10.2375"
+ gradientTransform="matrix(1,0,0,0.5146,0,120.2001)"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ offset="0"
+ style="stop-color:#FFFFFF"
+ id="stop5551-4" />
+ <stop
+ offset="1"
+ style="stop-color:#FFFFFF;stop-opacity:0"
+ id="stop5553-5" />
+ </radialGradient>
+ <radialGradient
+ gradientTransform="translate(-336.47642,-422.7893)"
+ id="SVGID_86_-2"
+ cx="353.12939"
+ cy="451.68161"
+ r="16.8687"
+ gradientUnits="userSpaceOnUse">
+ <stop
+ offset="0"
+ style="stop-color:#2397D4"
+ id="stop5558-5" />
+ <stop
+ offset="0.3252"
+ style="stop-color:#0069B3"
+ id="stop5560-4" />
+ <stop
+ offset="1"
+ style="stop-color:#253774"
+ id="stop5562-7" />
+ </radialGradient>
+ <radialGradient
+ r="13.9677"
+ fy="450.50839"
+ fx="362.53101"
+ cy="440.5596"
+ cx="352.72711"
+ gradientTransform="translate(-336.47642,-422.7893)"
+ gradientUnits="userSpaceOnUse"
+ id="radialGradient7057"
+ xlink:href="#SVGID_77_-9"
+ inkscape:collect="always" />
+ </defs>
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="11.197802"
+ inkscape:cx="16"
+ inkscape:cy="16"
+ inkscape:current-layer="layer1"
+ showgrid="true"
+ inkscape:grid-bbox="true"
+ inkscape:document-units="px"
+ inkscape:window-width="1280"
+ inkscape:window-height="966"
+ inkscape:window-x="-3"
+ inkscape:window-y="-3"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata6644">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ id="layer1"
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer">
+ <path
+ style="fill:url(#radialGradient7057)"
+ inkscape:connector-curvature="0"
+ d="m 10.301583,14.192704 c 1.862,0.381 3.791,0.582 5.766,0.582 2.337001,0 4.611001,-0.283 6.785001,-0.81 l 0.01,0.003 c 2.435,-0.593 4.747,-1.493 6.891,-2.659 -1.815,-5.8390001 -7.267,-10.0790001 -13.686001,-10.0790001 -6.4190003,0 -11.8720003,4.24 -13.6860003,10.0750001 2.444,1.33 5.106,2.314 7.9190003,2.89"
+ id="path5493" />
+ <path
+ style="fill:url(#SVGID_78_-4)"
+ inkscape:connector-curvature="0"
+ d="m 10.302583,14.197704 c -2.8130003,-0.574 -5.4750003,-1.561 -7.9190003,-2.889 -0.424,1.34 -0.641,2.77 -0.641,4.249 0,2.88 0.852,5.563 2.314,7.812 2.558,3.932 6.9870003,6.534 12.0120003,6.534 4.583001,0 8.677001,-2.167 11.303001,-5.531 1.897,-2.435 3.033,-5.495 3.033,-8.814 -0.012,-1.479 -0.229,-2.911 -0.652,-4.253 -2.145,1.165 -4.457,2.068 -6.891,2.661 -2.177,0.528 -4.454,0.81 -6.794001,0.81 -1.976,0 -3.904,-0.202 -5.766,-0.581"
+ id="path5502" />
+ <g
+ transform="translate(-336.47642,-422.7893)"
+ id="g5504">
+ <g
+ id="g5506">
+ <linearGradient
+ id="linearGradient6804"
+ gradientUnits="userSpaceOnUse"
+ x1="373.5239"
+ y1="752.03607"
+ x2="373.5239"
+ y2="767.75"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop6806" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop6808" />
+ </linearGradient>
+ <path
+ style="fill:url(#SVGID_79_-6)"
+ inkscape:connector-curvature="0"
+ d="m 352.624,450.364 c -4.607,0 -8.354,-3.895 -8.354,-8.681 0,-2.63 1.131,-5.091 3.106,-6.75 0.449,-0.377 1.106,-0.377 1.555,0 1.062,0.893 2.339,1.365 3.693,1.365 1.357,0 2.636,-0.473 3.696,-1.365 0.45,-0.377 1.107,-0.377 1.557,0 1.972,1.658 3.103,4.118 3.103,6.75 -0.001,4.787 -3.749,8.681 -8.356,8.681 z m -4.349,-12.91 c -1.01,1.146 -1.575,2.646 -1.575,4.233 0,3.443 2.658,6.241 5.923,6.241 3.267,0 5.923,-2.798 5.923,-6.241 0,-1.59 -0.563,-3.087 -1.571,-4.233 -1.303,0.827 -2.814,1.274 -4.352,1.274 -1.536,10e-4 -3.045,-0.447 -4.348,-1.274 z"
+ id="path5513" />
+ </g>
+ <linearGradient
+ id="linearGradient6811"
+ gradientUnits="userSpaceOnUse"
+ x1="371.52881"
+ y1="767.37598"
+ x2="371.52881"
+ y2="770.36823"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop6813" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop6815" />
+ </linearGradient>
+ <path
+ style="fill:url(#SVGID_80_-6)"
+ inkscape:connector-curvature="0"
+ d="m 350.629,435.024 0,0 c -0.825,0 -1.496,-0.67 -1.497,-1.494 -0.001,-0.826 0.67,-1.498 1.494,-1.498 0.826,0 1.498,0.67 1.498,1.494 0.002,0.826 -0.669,1.497 -1.495,1.498 l 0,0 z"
+ id="path5520" />
+ <linearGradient
+ id="linearGradient6818"
+ gradientUnits="userSpaceOnUse"
+ x1="373.2749"
+ y1="770.74219"
+ x2="373.2749"
+ y2="773.2373"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop6820" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop6822" />
+ </linearGradient>
+ <path
+ style="fill:url(#SVGID_81_-0)"
+ inkscape:connector-curvature="0"
+ d="m 352.375,431.658 0,0 c -0.688,0 -1.247,-0.559 -1.247,-1.245 0,-0.335 0.128,-0.648 0.364,-0.884 0.236,-0.236 0.549,-0.366 0.881,-0.366 0.689,0 1.248,0.559 1.249,1.245 10e-4,0.334 -0.129,0.648 -0.365,0.884 -0.236,0.236 -0.548,0.366 -0.882,0.366 l 0,0 z"
+ id="path5527" />
+ <linearGradient
+ id="linearGradient6825"
+ gradientUnits="userSpaceOnUse"
+ x1="376.0181"
+ y1="768.37402"
+ x2="376.0181"
+ y2="771.11719"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop6827" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop6829" />
+ </linearGradient>
+ <path
+ style="fill:url(#SVGID_82_-5)"
+ inkscape:connector-curvature="0"
+ d="m 355.118,434.026 c -0.756,0 -1.372,-0.613 -1.372,-1.369 -10e-4,-0.757 0.614,-1.374 1.37,-1.374 0.757,0 1.373,0.614 1.374,1.37 0,0.757 -0.615,1.373 -1.372,1.373 l 0,0 0,0 z"
+ id="path5534" />
+ <linearGradient
+ id="linearGradient6832"
+ gradientUnits="userSpaceOnUse"
+ x1="372.65091"
+ y1="774.73242"
+ x2="372.65091"
+ y2="776.72949"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop6834" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop6836" />
+ </linearGradient>
+ <path
+ style="fill:url(#SVGID_83_-7)"
+ inkscape:connector-curvature="0"
+ d="m 351.751,427.668 0,0 c -0.551,0 -0.998,-0.447 -0.998,-0.997 0,-0.268 0.103,-0.519 0.291,-0.706 0.188,-0.188 0.438,-0.294 0.706,-0.294 0.55,0 0.997,0.447 0.998,0.997 0.002,0.551 -0.446,0.999 -0.997,1 l 0,0 z"
+ id="path5541" />
+ <linearGradient
+ id="linearGradient6839"
+ gradientUnits="userSpaceOnUse"
+ x1="375.64401"
+ y1="772.98633"
+ x2="375.64401"
+ y2="775.23138"
+ gradientTransform="matrix(1,0,0,-1,-20.8999,1202.4004)">
+ <stop
+ offset="0"
+ style="stop-color:#4EA2DC"
+ id="stop6841" />
+ <stop
+ offset="1"
+ style="stop-color:#CDE3FF"
+ id="stop6843" />
+ </linearGradient>
+ <path
+ style="fill:url(#SVGID_84_-6)"
+ inkscape:connector-curvature="0"
+ d="m 354.745,429.414 h -10e-4 c -0.618,0 -1.121,-0.503 -1.122,-1.122 0,-0.62 0.503,-1.123 1.122,-1.123 0.619,0 1.122,0.503 1.123,1.12 10e-4,0.301 -0.117,0.583 -0.329,0.795 -0.212,0.212 -0.494,0.328 -0.793,0.33 l 0,0 z"
+ id="path5548" />
+ </g>
+ <ellipse
+ transform="translate(-336.47642,-422.7893)"
+ style="fill:url(#SVGID_85_-7)"
+ sodipodi:ry="5.2680001"
+ sodipodi:rx="10.239"
+ sodipodi:cy="429.39801"
+ sodipodi:cx="352.673"
+ cx="352.673"
+ cy="429.39801"
+ rx="10.239"
+ ry="5.2680001"
+ id="ellipse5555" />
+ <path
+ style="opacity:0.1;fill:url(#SVGID_86_-2)"
+ inkscape:connector-curvature="0"
+ d="m 10.304583,14.200704 c -2.8130003,-0.573 -5.4760003,-1.56 -7.9190003,-2.889 -0.424,1.341 -0.641,2.77 -0.641,4.249 0,2.88 0.852,5.563 2.314,7.813 2.558,3.932 6.9870003,6.533 12.0120003,6.533 4.583001,0 8.677001,-2.166 11.303001,-5.531 1.897,-2.435 3.033,-5.494 3.033,-8.814 -0.012,-1.479 -0.229,-2.91 -0.653,-4.252 -2.145,1.165 -4.457,2.067 -6.891,2.66 -2.177,0.528 -4.454,0.811 -6.794001,0.811 -1.976,0 -3.904,-0.202 -5.766,-0.581"
+ id="path5564" />
+ </g>
+</svg>
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.el5 b/redhat/core/tdebase/pamd.kcheckpass-trinity.el5
new file mode 100644
index 000000000..56939d5a9
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.el5
@@ -0,0 +1,9 @@
+#%PAM-1.0
+auth include system-auth
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session include system-auth
+session required pam_loginuid.so
+session optional pam_selinux.so
+session optional pam_console.so
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.el6 b/redhat/core/tdebase/pamd.kcheckpass-trinity.el6
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.el6
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.el7 b/redhat/core/tdebase/pamd.kcheckpass-trinity.el7
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.el7
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.el8 b/redhat/core/tdebase/pamd.kcheckpass-trinity.el8
new file mode 120000
index 000000000..dab729b22
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.el8
@@ -0,0 +1 @@
+pamd.kcheckpass-trinity.el7 \ No newline at end of file
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.el9 b/redhat/core/tdebase/pamd.kcheckpass-trinity.el9
new file mode 120000
index 000000000..dab729b22
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.el9
@@ -0,0 +1 @@
+pamd.kcheckpass-trinity.el7 \ No newline at end of file
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.fc34 b/redhat/core/tdebase/pamd.kcheckpass-trinity.fc34
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.fc34
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.fc35 b/redhat/core/tdebase/pamd.kcheckpass-trinity.fc35
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.fc35
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.fc36 b/redhat/core/tdebase/pamd.kcheckpass-trinity.fc36
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.fc36
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.fc37 b/redhat/core/tdebase/pamd.kcheckpass-trinity.fc37
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.fc37
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.mdv2011.0 b/redhat/core/tdebase/pamd.kcheckpass-trinity.mdv2011.0
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.mdv2011.0
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.mga8 b/redhat/core/tdebase/pamd.kcheckpass-trinity.mga8
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.mga8
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.opensuse1220 b/redhat/core/tdebase/pamd.kcheckpass-trinity.opensuse1220
new file mode 100644
index 000000000..c6a7c9c90
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.opensuse1220
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include common-auth
+account include common-account
+password include common-password
+session include common-session
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos b/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos
new file mode 120000
index 000000000..ad0fc6da6
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos
@@ -0,0 +1 @@
+pamd.kcheckpass-trinity.pclos2018 \ No newline at end of file
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2012 b/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2012
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2012
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2013 b/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2013
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2013
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2014 b/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2014
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2014
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2015 b/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2015
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2015
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2016 b/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2016
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2016
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2017 b/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2017
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2017
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2018 b/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2018
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kcheckpass-trinity.pclos2018
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.el5 b/redhat/core/tdebase/pamd.kdm-trinity-np.el5
new file mode 100644
index 000000000..8dc8ef34d
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.el5
@@ -0,0 +1,11 @@
+#%PAM-1.0
+auth required pam_env.so
+auth required pam_nologin.so
+auth required pam_permit.so
+account include system-auth
+password include system-auth
+session optional pam_keyinit.so force revoke
+session include system-auth
+session required pam_loginuid.so
+session optional pam_selinux.so
+session optional pam_console.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.el6 b/redhat/core/tdebase/pamd.kdm-trinity-np.el6
new file mode 100644
index 000000000..c3f7172de
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.el6
@@ -0,0 +1,13 @@
+ #%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_selinux.so close
+session required pam_loginuid.so
+session optional pam_console.so
+session required pam_selinux.so open
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.el7 b/redhat/core/tdebase/pamd.kdm-trinity-np.el7
new file mode 100644
index 000000000..c3f7172de
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.el7
@@ -0,0 +1,13 @@
+ #%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_selinux.so close
+session required pam_loginuid.so
+session optional pam_console.so
+session required pam_selinux.so open
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.el8 b/redhat/core/tdebase/pamd.kdm-trinity-np.el8
new file mode 120000
index 000000000..3415e7d55
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.el8
@@ -0,0 +1 @@
+pamd.kdm-trinity-np.el7 \ No newline at end of file
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.el9 b/redhat/core/tdebase/pamd.kdm-trinity-np.el9
new file mode 120000
index 000000000..3415e7d55
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.el9
@@ -0,0 +1 @@
+pamd.kdm-trinity-np.el7 \ No newline at end of file
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.fc34 b/redhat/core/tdebase/pamd.kdm-trinity-np.fc34
new file mode 100644
index 000000000..0616e66f6
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.fc34
@@ -0,0 +1,16 @@
+ #%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+auth include postlogin
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_selinux.so close
+session required pam_loginuid.so
+session optional pam_console.so
+-session optional pam_ck_connector.so
+session required pam_selinux.so open
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session include system-auth
+session include postlogin
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.fc35 b/redhat/core/tdebase/pamd.kdm-trinity-np.fc35
new file mode 100644
index 000000000..0616e66f6
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.fc35
@@ -0,0 +1,16 @@
+ #%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+auth include postlogin
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_selinux.so close
+session required pam_loginuid.so
+session optional pam_console.so
+-session optional pam_ck_connector.so
+session required pam_selinux.so open
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session include system-auth
+session include postlogin
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.fc36 b/redhat/core/tdebase/pamd.kdm-trinity-np.fc36
new file mode 100644
index 000000000..0616e66f6
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.fc36
@@ -0,0 +1,16 @@
+ #%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+auth include postlogin
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_selinux.so close
+session required pam_loginuid.so
+session optional pam_console.so
+-session optional pam_ck_connector.so
+session required pam_selinux.so open
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session include system-auth
+session include postlogin
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.fc37 b/redhat/core/tdebase/pamd.kdm-trinity-np.fc37
new file mode 100644
index 000000000..0616e66f6
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.fc37
@@ -0,0 +1,16 @@
+ #%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+auth include postlogin
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_selinux.so close
+session required pam_loginuid.so
+session optional pam_console.so
+-session optional pam_ck_connector.so
+session required pam_selinux.so open
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session include system-auth
+session include postlogin
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.mdv2011.0 b/redhat/core/tdebase/pamd.kdm-trinity-np.mdv2011.0
new file mode 100644
index 000000000..690b4df08
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.mdv2011.0
@@ -0,0 +1,7 @@
+#%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+account include system-auth
+password include system-auth
+session include system-auth
+session optional pam_console.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.mga8 b/redhat/core/tdebase/pamd.kdm-trinity-np.mga8
new file mode 100644
index 000000000..f884c1de6
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.mga8
@@ -0,0 +1,11 @@
+#%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_loginuid.so
+session optional pam_console.so
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.pclos b/redhat/core/tdebase/pamd.kdm-trinity-np.pclos
new file mode 120000
index 000000000..5cde6e2c5
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.pclos
@@ -0,0 +1 @@
+pamd.kdm-trinity-np.pclos2018 \ No newline at end of file
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2012 b/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2012
new file mode 100644
index 000000000..690b4df08
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2012
@@ -0,0 +1,7 @@
+#%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+account include system-auth
+password include system-auth
+session include system-auth
+session optional pam_console.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2013 b/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2013
new file mode 100644
index 000000000..690b4df08
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2013
@@ -0,0 +1,7 @@
+#%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+account include system-auth
+password include system-auth
+session include system-auth
+session optional pam_console.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2014 b/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2014
new file mode 100644
index 000000000..690b4df08
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2014
@@ -0,0 +1,7 @@
+#%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+account include system-auth
+password include system-auth
+session include system-auth
+session optional pam_console.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2015 b/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2015
new file mode 100644
index 000000000..690b4df08
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2015
@@ -0,0 +1,7 @@
+#%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+account include system-auth
+password include system-auth
+session include system-auth
+session optional pam_console.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2016 b/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2016
new file mode 100644
index 000000000..690b4df08
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2016
@@ -0,0 +1,7 @@
+#%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+account include system-auth
+password include system-auth
+session include system-auth
+session optional pam_console.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2017 b/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2017
new file mode 100644
index 000000000..690b4df08
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2017
@@ -0,0 +1,7 @@
+#%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+account include system-auth
+password include system-auth
+session include system-auth
+session optional pam_console.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2018 b/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2018
new file mode 100644
index 000000000..690b4df08
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity-np.pclos2018
@@ -0,0 +1,7 @@
+#%PAM-1.0
+auth required pam_env.so
+auth required pam_permit.so
+account include system-auth
+password include system-auth
+session include system-auth
+session optional pam_console.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.el5 b/redhat/core/tdebase/pamd.kdm-trinity.el5
new file mode 100644
index 000000000..30a26ae99
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.el5
@@ -0,0 +1,10 @@
+#%PAM-1.0
+auth include system-auth
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session optional pam_keyinit.so force revoke
+session include system-auth
+session required pam_loginuid.so
+session optional pam_selinux.so
+session optional pam_console.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.el6 b/redhat/core/tdebase/pamd.kdm-trinity.el6
new file mode 100644
index 000000000..14f4aa748
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.el6
@@ -0,0 +1,16 @@
+#%PAM-1.0
+auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
+auth required pam_env.so
+auth substack system-auth
+auth optional pam_gnome_keyring.so
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_selinux.so close
+session required pam_loginuid.so
+session optional pam_console.so
+session required pam_selinux.so open
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session optional pam_gnome_keyring.so auto_start
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.el7 b/redhat/core/tdebase/pamd.kdm-trinity.el7
new file mode 100644
index 000000000..14f4aa748
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.el7
@@ -0,0 +1,16 @@
+#%PAM-1.0
+auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
+auth required pam_env.so
+auth substack system-auth
+auth optional pam_gnome_keyring.so
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_selinux.so close
+session required pam_loginuid.so
+session optional pam_console.so
+session required pam_selinux.so open
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session optional pam_gnome_keyring.so auto_start
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.el8 b/redhat/core/tdebase/pamd.kdm-trinity.el8
new file mode 120000
index 000000000..f85413ec6
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.el8
@@ -0,0 +1 @@
+pamd.kdm-trinity.el7 \ No newline at end of file
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.el9 b/redhat/core/tdebase/pamd.kdm-trinity.el9
new file mode 120000
index 000000000..f85413ec6
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.el9
@@ -0,0 +1 @@
+pamd.kdm-trinity.el7 \ No newline at end of file
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.fc34 b/redhat/core/tdebase/pamd.kdm-trinity.fc34
new file mode 100644
index 000000000..4e760760f
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.fc34
@@ -0,0 +1,23 @@
+#%PAM-1.0
+auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
+auth required pam_env.so
+auth substack system-auth
+-auth optional pam_gnome_keyring.so
+-auth optional pam_kwallet.so
+-auth optional pam_kwallet5.so
+auth include postlogin
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_selinux.so close
+session required pam_loginuid.so
+session optional pam_console.so
+-session optional pam_ck_connector.so
+session required pam_selinux.so open
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session include system-auth
+-session optional pam_gnome_keyring.so auto_start
+-session optional pam_kwallet.so
+-session optional pam_kwallet5.so
+session include postlogin
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.fc35 b/redhat/core/tdebase/pamd.kdm-trinity.fc35
new file mode 100644
index 000000000..4e760760f
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.fc35
@@ -0,0 +1,23 @@
+#%PAM-1.0
+auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
+auth required pam_env.so
+auth substack system-auth
+-auth optional pam_gnome_keyring.so
+-auth optional pam_kwallet.so
+-auth optional pam_kwallet5.so
+auth include postlogin
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_selinux.so close
+session required pam_loginuid.so
+session optional pam_console.so
+-session optional pam_ck_connector.so
+session required pam_selinux.so open
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session include system-auth
+-session optional pam_gnome_keyring.so auto_start
+-session optional pam_kwallet.so
+-session optional pam_kwallet5.so
+session include postlogin
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.fc36 b/redhat/core/tdebase/pamd.kdm-trinity.fc36
new file mode 100644
index 000000000..4e760760f
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.fc36
@@ -0,0 +1,23 @@
+#%PAM-1.0
+auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
+auth required pam_env.so
+auth substack system-auth
+-auth optional pam_gnome_keyring.so
+-auth optional pam_kwallet.so
+-auth optional pam_kwallet5.so
+auth include postlogin
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_selinux.so close
+session required pam_loginuid.so
+session optional pam_console.so
+-session optional pam_ck_connector.so
+session required pam_selinux.so open
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session include system-auth
+-session optional pam_gnome_keyring.so auto_start
+-session optional pam_kwallet.so
+-session optional pam_kwallet5.so
+session include postlogin
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.fc37 b/redhat/core/tdebase/pamd.kdm-trinity.fc37
new file mode 100644
index 000000000..4e760760f
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.fc37
@@ -0,0 +1,23 @@
+#%PAM-1.0
+auth [success=done ignore=ignore default=bad] pam_selinux_permit.so
+auth required pam_env.so
+auth substack system-auth
+-auth optional pam_gnome_keyring.so
+-auth optional pam_kwallet.so
+-auth optional pam_kwallet5.so
+auth include postlogin
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_selinux.so close
+session required pam_loginuid.so
+session optional pam_console.so
+-session optional pam_ck_connector.so
+session required pam_selinux.so open
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session include system-auth
+-session optional pam_gnome_keyring.so auto_start
+-session optional pam_kwallet.so
+-session optional pam_kwallet5.so
+session include postlogin
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.mdv2011.0 b/redhat/core/tdebase/pamd.kdm-trinity.mdv2011.0
new file mode 100644
index 000000000..87d080f58
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.mdv2011.0
@@ -0,0 +1,8 @@
+#%PAM-1.0
+auth include system-auth
+auth required pam_nologin.so
+account include system-auth
+password include system-auth
+session include system-auth
+session optional pam_console.so
+session required pam_namespace.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.mga8 b/redhat/core/tdebase/pamd.kdm-trinity.mga8
new file mode 100644
index 000000000..cb0982c9a
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.mga8
@@ -0,0 +1,15 @@
+#%PAM-1.0
+auth required pam_env.so
+auth required pam_succeed_if.so
+auth sufficient pam_succeed_if.so user ingroup nopasswdlogin
+auth substack system-auth
+-auth optional pam_kwallet.so
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session required pam_loginuid.so
+session optional pam_console.so
+session optional pam_keyinit.so force revoke
+session required pam_namespace.so
+session include system-auth
+-session optional pam_kwallet.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.pclos b/redhat/core/tdebase/pamd.kdm-trinity.pclos
new file mode 120000
index 000000000..fcc6957f7
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.pclos
@@ -0,0 +1 @@
+pamd.kdm-trinity.pclos2018 \ No newline at end of file
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.pclos2012 b/redhat/core/tdebase/pamd.kdm-trinity.pclos2012
new file mode 100644
index 000000000..87d080f58
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.pclos2012
@@ -0,0 +1,8 @@
+#%PAM-1.0
+auth include system-auth
+auth required pam_nologin.so
+account include system-auth
+password include system-auth
+session include system-auth
+session optional pam_console.so
+session required pam_namespace.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.pclos2013 b/redhat/core/tdebase/pamd.kdm-trinity.pclos2013
new file mode 100644
index 000000000..87d080f58
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.pclos2013
@@ -0,0 +1,8 @@
+#%PAM-1.0
+auth include system-auth
+auth required pam_nologin.so
+account include system-auth
+password include system-auth
+session include system-auth
+session optional pam_console.so
+session required pam_namespace.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.pclos2014 b/redhat/core/tdebase/pamd.kdm-trinity.pclos2014
new file mode 100644
index 000000000..87d080f58
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.pclos2014
@@ -0,0 +1,8 @@
+#%PAM-1.0
+auth include system-auth
+auth required pam_nologin.so
+account include system-auth
+password include system-auth
+session include system-auth
+session optional pam_console.so
+session required pam_namespace.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.pclos2015 b/redhat/core/tdebase/pamd.kdm-trinity.pclos2015
new file mode 100644
index 000000000..87d080f58
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.pclos2015
@@ -0,0 +1,8 @@
+#%PAM-1.0
+auth include system-auth
+auth required pam_nologin.so
+account include system-auth
+password include system-auth
+session include system-auth
+session optional pam_console.so
+session required pam_namespace.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.pclos2016 b/redhat/core/tdebase/pamd.kdm-trinity.pclos2016
new file mode 100644
index 000000000..87d080f58
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.pclos2016
@@ -0,0 +1,8 @@
+#%PAM-1.0
+auth include system-auth
+auth required pam_nologin.so
+account include system-auth
+password include system-auth
+session include system-auth
+session optional pam_console.so
+session required pam_namespace.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.pclos2017 b/redhat/core/tdebase/pamd.kdm-trinity.pclos2017
new file mode 100644
index 000000000..87d080f58
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.pclos2017
@@ -0,0 +1,8 @@
+#%PAM-1.0
+auth include system-auth
+auth required pam_nologin.so
+account include system-auth
+password include system-auth
+session include system-auth
+session optional pam_console.so
+session required pam_namespace.so
diff --git a/redhat/core/tdebase/pamd.kdm-trinity.pclos2018 b/redhat/core/tdebase/pamd.kdm-trinity.pclos2018
new file mode 100644
index 000000000..87d080f58
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kdm-trinity.pclos2018
@@ -0,0 +1,8 @@
+#%PAM-1.0
+auth include system-auth
+auth required pam_nologin.so
+account include system-auth
+password include system-auth
+session include system-auth
+session optional pam_console.so
+session required pam_namespace.so
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.el5 b/redhat/core/tdebase/pamd.kscreensaver-trinity.el5
new file mode 100644
index 000000000..56939d5a9
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.el5
@@ -0,0 +1,9 @@
+#%PAM-1.0
+auth include system-auth
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session include system-auth
+session required pam_loginuid.so
+session optional pam_selinux.so
+session optional pam_console.so
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.el6 b/redhat/core/tdebase/pamd.kscreensaver-trinity.el6
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.el6
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.el7 b/redhat/core/tdebase/pamd.kscreensaver-trinity.el7
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.el7
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.el8 b/redhat/core/tdebase/pamd.kscreensaver-trinity.el8
new file mode 120000
index 000000000..a5fab9e3e
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.el8
@@ -0,0 +1 @@
+pamd.kscreensaver-trinity.el7 \ No newline at end of file
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.el9 b/redhat/core/tdebase/pamd.kscreensaver-trinity.el9
new file mode 120000
index 000000000..a5fab9e3e
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.el9
@@ -0,0 +1 @@
+pamd.kscreensaver-trinity.el7 \ No newline at end of file
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.fc34 b/redhat/core/tdebase/pamd.kscreensaver-trinity.fc34
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.fc34
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.fc35 b/redhat/core/tdebase/pamd.kscreensaver-trinity.fc35
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.fc35
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.fc36 b/redhat/core/tdebase/pamd.kscreensaver-trinity.fc36
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.fc36
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.fc37 b/redhat/core/tdebase/pamd.kscreensaver-trinity.fc37
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.fc37
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.mdv2011.0 b/redhat/core/tdebase/pamd.kscreensaver-trinity.mdv2011.0
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.mdv2011.0
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.mga8 b/redhat/core/tdebase/pamd.kscreensaver-trinity.mga8
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.mga8
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos b/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos
new file mode 120000
index 000000000..31d43e302
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos
@@ -0,0 +1 @@
+pamd.kscreensaver-trinity.pclos2018 \ No newline at end of file
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2012 b/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2012
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2012
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2013 b/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2013
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2013
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2014 b/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2014
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2014
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2015 b/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2015
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2015
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2016 b/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2016
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2016
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2017 b/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2017
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2017
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2018 b/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2018
new file mode 100644
index 000000000..0a37e6e13
--- /dev/null
+++ b/redhat/core/tdebase/pamd.kscreensaver-trinity.pclos2018
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include system-auth
+account include system-auth
+password include system-auth
+session include system-auth
diff --git a/redhat/core/tdebase/suse-displaymanagers-tdm b/redhat/core/tdebase/suse-displaymanagers-tdm
new file mode 100644
index 000000000..5bf0eb4ef
--- /dev/null
+++ b/redhat/core/tdebase/suse-displaymanagers-tdm
@@ -0,0 +1,26 @@
+tdm_start_proc() {
+ splashcopy 0 6
+ # stop plymouth (bug#775548)
+ plymouth_quit
+
+ return 0
+}
+
+tdm_vars() {
+ if [ -x /opt/trinity/bin/kdm ]; then
+ TDM_BIN=/opt/trinity/bin/kdm
+ export KDEROOTHOME=/root/.tdm
+ else
+ TDM_BIN=/opt/trinity/bin/tdm
+ export TDEROOTHOME=/root/.tdm
+ fi
+ case "${DISPLAYMANAGER##*/}" in
+ tdm)
+ DISPLAYMANAGER=$TDM_BIN
+ STARTPROC=tdm_start_proc
+ ;;
+ *) return 1 ;;
+ esac
+ return 0
+}
+
diff --git a/redhat/core/tdebase/tdebase.spec b/redhat/core/tdebase/tdebase.spec
new file mode 100644
index 000000000..ce8582aaa
--- /dev/null
+++ b/redhat/core/tdebase/tdebase.spec
@@ -0,0 +1,3573 @@
+#
+# spec file for package tdebase (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# TDE variables
+%define tde_epoch 2
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdebase
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define tdm tdm
+%define tdm_datadir %{tde_datadir}/apps/%{tdm}
+%define starttde starttde
+
+
+Name: trinity-%{tde_pkg}
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+Summary: Trinity Base Programs
+Group: System/GUI/Other
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Desktop
+#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: %{name}-rpmlintrc
+
+# 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
+%if 0%{?suse_version} >= 1210
+Source6: suse-displaymanagers-tdm
+%endif
+
+# openSUSE 11.4: overwrite distribution-provided '/etc/init.d/xdm' !!!
+%if 0%{?suse_version} == 1140
+Source7: xdm%{?dist}
+%endif
+
+# Fedora >= 17: special selinux policy required for TDM
+# If login through TDM takes ages, then look at '/var/log/audit/audit.log'.
+# Locate the line containing 'USER_AVC' and dbus stuff.
+# Put this line into a temporary file, then (e.g for Fedora 17):
+# audit2allow -i /tmp/file -m tdm.fc17 >tdm.fc17.te
+# audit2allow -i /tmp/file -M tdm.fc17
+
+%if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
+%define with_selinux_policy 1
+Source8: tdm%{?dist}.te
+%endif
+
+%if 0%{?mgaversion} >= 3
+Source9: mgabutton.svg
+%endif
+
+Obsoletes: trinity-kdebase < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdebase = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdebase-libs < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdebase-libs = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdebase-extras < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdebase-extras = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: tdebase < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdebase = %{?epoch:%{epoch}:}%{version}-%{release}
+
+# for set_permissions macro
+%if 0%{?suse_version}
+PreReq: permissions
+%endif
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+### Distribution-specific settings ###
+
+# Fedora Theme
+%if 0%{?fedora}
+Requires: f%{?fedora}-backgrounds-base
+%define tde_bg /usr/share/backgrounds/f%{?fedora}/default/standard/%{?fedora}.png
+Requires: fedora-logos
+%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
+%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
+%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
+%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
+%endif
+
+# RHEL 7 Theme
+%if 0%{?rhel} == 7
+Requires: redhat-logos
+%define tde_bg /usr/share/backgrounds/day.jpg
+%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png
+%endif
+
+# RHEL 8 Theme
+%if 0%{?rhel} == 8
+Requires: redhat-logos
+%define tde_bg /usr/share/backgrounds/c8/default/normalish/c8.png
+%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png
+%endif
+
+# Rocky 9 Theme
+%if 0%{?rocky} == 9
+Requires: rocky-backgrounds
+Requires: rocky-logos
+%define tde_bg /usr/share/backgrounds/rocky-default-9-abstract-1-day.png
+%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png
+%endif
+
+# Mageia Theme
+%if 0%{?mgaversion}
+Requires: mageia-theme-Default
+%define tde_bg /usr/share/mga/backgrounds/default.jpg
+%define tde_starticon %{tde_datadir}/icons/oxygen/scalable/mgabutton.svg
+%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
+%endif
+
+# PCLINUXOS
+%if 0%{?pclinuxos}
+Requires: desktop-common-data
+%define tde_starticon /usr/share/icons/pclinuxos.png
+%endif
+
+# OpenSuse 15.x Theme
+%if "%{?suse_version}" == "1500"
+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
+%endif
+
+# OpenSuse TW Theme
+%if "%{?suse_version}" == "1550"
+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
+%endif
+
+BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+
+BuildRequires: trinity-cmake >= %{tde_version}
+BuildRequires: gcc-c++
+BuildRequires: make
+BuildRequires: fdupes
+
+# HTDIG support
+BuildRequires: htdig
+
+# OPENSSL support
+BuildRequires: openssl-devel
+
+# AUDIOFILE support
+BuildRequires: audiofile-devel
+
+# ALSA supportl
+BuildRequires: alsa-lib-devel
+
+# RAW1394 support
+BuildRequires: libraw1394-devel
+
+# VORBIS support
+BuildRequires: libvorbis-devel
+
+# GLIB2 support
+BuildRequires: glib2-devel
+
+# PCRE support
+BuildRequires: pcre-devel
+
+# SASL support
+%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos}
+BuildRequires: %{_lib}sasl2-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: cyrus-sasl-devel
+%endif
+
+# PAM support
+BuildRequires: pam-devel
+
+# LIBUSB support
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos}
+BuildRequires: %{_lib}usb1.0-devel
+BuildRequires: %{_lib}usb-compat0.1-devel
+%else
+%if 0%{?fedora} >= 37
+BuildRequires: libusb1-devel
+BuildRequires: libusb-compat-0.1-devel
+%else
+BuildRequires: libusb-devel
+%endif
+%endif
+
+# ESOUND support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_esound 1
+BuildRequires: esound-devel
+%endif
+
+# IDN support
+BuildRequires: libidn-devel
+
+# GAMIN support
+# Not on openSUSE.
+%if 0%{?rhel} && 0%{?rhel} <= 8 || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_gamin 1
+BuildRequires: gamin-devel
+%endif
+
+# OPENLDAP support
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: openldap-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: openldap2-devel
+%endif
+%if 0%{?rhel} == 5
+BuildRequires: openldap24-libs-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} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
+%if 0%{?suse_version} >= 1310
+BuildRequires: udev
+%endif
+BuildRequires: libudev-devel
+%define with_tsak 1
+%define with_tdehwlib 1
+%endif
+
+# ACL support
+BuildRequires: libacl-devel
+
+# 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
+
+# HAL support
+# Only for RHEL5
+%if 0%{?rhel} == 5
+%define with_hal 1
+BuildRequires: hal-devel >= 0.5
+%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
+# RHEL 4: disabled
+# RHEL 5: available in centos-extras
+# RHEL 6: available in EPEL
+# RHEL 7: available in NUX
+# RHEL 8: available in EPEL
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || ( 0%{?rhel} >= 5 && 0%{?rhel} <= 8 ) || 0%{?suse_version}
+%define with_xscreensaver 1
+
+%if 0%{?fedora} || 0%{?rhel} >= 5
+BuildRequires: libXScrnSaver-devel
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-base
+BuildRequires: xscreensaver-extras
+%if 0%{?fedora}
+BuildRequires: xscreensaver-extras-base
+%endif
+BuildRequires: xscreensaver-gl-base
+BuildRequires: xscreensaver-gl-extras
+%endif
+
+%if 0%{?suse_version}
+BuildRequires: libXScrnSaver-devel
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-data
+BuildRequires: xscreensaver-data-extra
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?mgaversion} >= 4
+BuildRequires: %{_lib}xscrnsaver-devel
+%else
+BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
+%endif
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-base
+%if 0%{?pclinuxos} == 0
+BuildRequires: xscreensaver-extrusion
+%endif
+BuildRequires: xscreensaver-gl
+%endif
+%endif
+
+# AVAHI support
+# Disabled on RHEL4 and RHEL5
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
+BuildRequires: libavahi-tqt-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
+%if 0%{?suse_version}
+BuildRequires: Mesa-libGL-devel
+BuildRequires: Mesa-libGLU-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: libdbus-tqt-1-devel >= %{tde_epoch}:0.63
+BuildRequires: libdbus-1-tqt-devel >= %{tde_epoch}:0.9
+Requires: libdbus-tqt-1-0 >= %{tde_epoch}:0.63
+%endif
+
+%if 0%{?fedora} >= 17
+BuildRequires: perl-Digest-MD5
+%endif
+
+# LIBART_LGPL support
+%define with_libart 1
+BuildRequires: libart_lgpl-devel
+
+# 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
+
+# XKB support
+%if 0%{?suse_version} == 1140
+BuildRequires: xorg-x11-libxkbfile-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1210
+BuildRequires: libxkbfile-devel
+%endif
+
+# XDMCP support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?mgaversion} >= 4
+BuildRequires: %{_lib}xdmcp-devel
+%else
+BuildRequires: %{_lib}xdmcp%{?mgaversion:6}-devel
+%endif
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: libXdmcp-devel
+%endif
+
+# XTST support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?mgaversion} >= 4
+%define xtst_devel %{_lib}xtst-devel
+%else
+%define xtst_devel %{_lib}xtst%{?mgaversion:6}-devel
+%endif
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+%define xtst_devel libXtst-devel
+%endif
+%{?xtst_devel:BuildRequires: %{xtst_devel}}
+
+# XDAMAGE support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xdamage-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: libXdamage-devel
+%endif
+
+# Requires 'usb.ids'
+BuildRequires: usbutils
+
+# LIBFONTENC support
+%if 0%{?suse_version} == 1140
+BuildRequires: xorg-x11-libfontenc-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220
+BuildRequires: libfontenc-devel
+%endif
+
+# Other X11 stuff ...
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: x11-font-util
+BuildRequires: x11-proto-devel
+%endif
+
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: xorg-x11-proto-devel
+%endif
+
+%if ( 0%{?rhel} >= 5 && 0%{?rhel} <= 8 ) || 0%{?fedora}
+BuildRequires: xorg-x11-font-utils
+%endif
+
+%if 0%{?suse_version} >= 1220 || 0%{?fedora} >= 34
+BuildRequires: font-util
+%endif
+
+%if 0%{?suse_version} >= 1220 || 0%{?fedora} >= 34 || 0%{?rhel} >= 9
+BuildRequires: bdftopcf
+%endif
+
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: drakconf
+%endif
+
+# LIBCONFIG support
+# Needed for "compton" stuff
+%if 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora}
+%define with_libconfig 1
+BuildRequires: libconfig-devel
+%endif
+
+# KBDLEDSYNC support
+%if 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora}
+%define with_kbdledsync 1
+%endif
+
+# TDERANDR support
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_tderandrtray 1
+%endif
+
+# ELFICON support
+%if 0
+%define with_elficon 1
+BuildRequires: libr-devel >= 0.6.0
+%endif
+
+# RPC support
+%if 0%{?fedora} >= 28 || 0%{?suse_version} >= 1500 || 0%{?mgaversion} >= 8 || 0%{?pclinuxos}
+BuildRequires: libtirpc-devel
+BuildRequires: rpcgen
+%if 0%{?fedora}
+BuildRequires: libnsl2-devel
+%else
+BuildRequires: libnsl-devel
+%endif
+%endif
+
+# ATTR support
+BuildRequires: libattr-devel
+
+# SELINUX support
+%if 0%{?rhel} >= 6 || 0%{?fedora}
+BuildRequires: checkpolicy
+BuildRequires: selinux-policy-devel
+%endif
+
+# LIBSSH support
+%if 0%{?rhel} == 6
+%define with_libssh 0
+%else
+%define with_libssh 1
+%endif
+%if 0%{?with_libssh}
+BuildRequires: libssh-devel
+%endif
+
+# tdebase is a metapackage that installs all sub-packages
+Requires: %{name}-runtime-data-common = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-bin = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-tdeio-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-tdeio-pim-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kappfinder = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kate = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kwrite = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kcontrol = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdepasswd = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdeprint = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kdesktop = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdm = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kfind = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-khelpcenter = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kicker = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-klipper = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kmenuedit = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-konqueror = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-konqueror-nsplugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-konsole = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kpager = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kpersonalizer = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksmserver = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksplash = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksysguard = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksysguardd = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ktip = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-twin = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkonq = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-libtqt3-integration = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-tdeio-smb-plugin = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Requires: trinity-arts >= %{tde_epoch}:1.5.10
+Requires: trinity-tdelibs >= %{tde_version}
+Requires: openssl
+
+
+# RHEL 6 Configuration files are provided in separate packages
+%if 0%{?rhel} || 0%{?fedora}
+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
+%{tde_bindir}/tde_release_notes
+%{tde_datadir}/autostart/tde_release_notes.desktop
+%{tde_tdeappdir}/tdehtml_userinterface.desktop
+
+##########
+
+%package devel
+Summary: %{summary} - Development files
+Group: Development/Libraries/Other
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-arts-devel >= %{tde_epoch}:1.5.10
+Requires: trinity-tdelibs-devel >= %{tde_version}
+
+Requires: %{name}-bin-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kate-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kcontrol-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kdesktop-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kicker-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-konqueror-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksplash-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksysguard-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkonq-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdm-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-twin-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Provides: trinity-kdebase-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdebase-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdebase-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: tdebase-devel < %{?epoch:%{epoch}:}%{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 TWin styles.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_datadir}/cmake/*.cmake
+
+##########
+
+%package tdeio-pim-plugins
+Summary: PIM TDEIOslaves from %{name}
+Group: System/GUI/Other
+
+Provides: trinity-kdebase-pim-ioslaves = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdebase-pim-ioslaves < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdebase-kio-pim-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: tdebase-kio-pim-plugins < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-tdebase-kio-pim-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-tdebase-kio-pim-plugins < %{?epoch:%{epoch}:}%{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: System/GUI/Other
+
+Provides: tdebase-runtime-data-common = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: tdebase-runtime-data-common < %{?epoch:%{epoch}:}%{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}/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/
+
+##########
+
+%package -n trinity-kappfinder
+Summary: Non-TDE application finder for TDE
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{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
+%{tde_mandir}/man1/kappfinder.1*
+
+##########
+
+%package -n trinity-libkateinterfaces
+Summary: Common libraries used by kwrite and kate
+Group: System/GUI/Other
+
+%description -n trinity-libkateinterfaces
+This package contains the kateinterface library.
+
+%files -n trinity-libkateinterfaces
+%defattr(-,root,root,-)
+%{tde_libdir}/libkateinterfaces.so.*
+
+##########
+
+%package -n trinity-kate
+Summary: Advanced text editor for TDE
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kwrite = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkateinterfaces = %{?epoch:%{epoch}:}%{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}/libtdeinit_kate.la
+%{tde_libdir}/libtdeinit_kate.so
+%{tde_tdeappdir}/kate.desktop
+%{tde_datadir}/apps/kate/
+%{tde_datadir}/apps/tdeconf_update/kate-2.4.upd
+%config(noreplace) %{tde_confdir}/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/
+%{tde_mandir}/man1/kate.1*
+
+##########
+
+%package -n trinity-kate-devel
+Summary: Development files for kate
+Group: Development/Libraries/Other
+Requires: trinity-kate = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kate-devel
+This package contains the development files fare Kate.
+
+%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
+
+##########
+
+%package -n trinity-kwrite
+Summary: Advanced text editor for TDE
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkateinterfaces = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kwrite
+Kwrite is an advanced text editor for TDE.
+
+%files -n trinity-kwrite
+%defattr(-,root,root,-)
+%{tde_bindir}/kwrite
+%{tde_tdelibdir}/kwrite.la
+%{tde_tdelibdir}/kwrite.so
+%{tde_libdir}/libtdeinit_kwrite.la
+%{tde_libdir}/libtdeinit_kwrite.so
+%{tde_tdeappdir}/kwrite.desktop
+%{tde_datadir}/apps/kwrite/
+%{tde_datadir}/icons/hicolor/*/apps/kwrite.png
+%{tde_datadir}/icons/hicolor/*/apps/kwrite2.svgz
+%{tde_tdedocdir}/HTML/en/kwrite/
+%{tde_mandir}/man1/kwrite.1*
+
+##########
+
+%package -n trinity-kcontrol
+Summary: Control center for TDE
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+# Requires 'usb.ids'
+Requires: usbutils
+BuildRequires: usbutils
+%if 0%{?suse_version} == 0
+BuildRequires: hwdata
+Requires: hwdata
+%endif
+
+%description -n trinity-kcontrol
+The Trinity 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}/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
+%if 0%{?with_tdehwlib}
+%{tde_tdelibdir}/kcm_hwmanager.la
+%{tde_tdelibdir}/kcm_hwmanager.so
+%endif
+%{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_joystick.la
+%{tde_tdelibdir}/kcm_joystick.so
+%{tde_tdelibdir}/kcm_kded.la
+%{tde_tdelibdir}/kcm_kded.so
+%{tde_tdelibdir}/kcm_%{tdm}.la
+%{tde_tdelibdir}/kcm_%{tdm}.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}/tdestyle_keramik_config.la
+%{tde_tdelibdir}/tdestyle_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}/libtdeinit_kaccess.la
+%{tde_libdir}/libtdeinit_kaccess.so
+%{tde_libdir}/libtdeinit_kcontrol.la
+%{tde_libdir}/libtdeinit_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
+%if 0%{?with_tdehwlib}
+%{tde_tdeappdir}/hwmanager.desktop
+%endif
+%{tde_tdeappdir}/icons.desktop
+%{tde_tdeappdir}/installktheme.desktop
+%{tde_tdeappdir}/interrupts.desktop
+%{tde_tdeappdir}/ioports.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}/%{tdm}.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}/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}/tde-kcontrol.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_filemanager.desktop
+%{tde_datadir}/apps/kcm_componentchooser/kcm_terminal.desktop
+%{tde_datadir}/apps/kcmview1394/
+%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop
+%{tde_datadir}/apps/usb.ids
+%{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}/icons/hicolor/*/apps/kcmcolors.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmcomponentchooser.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmdesktop.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmdesktopbehavior.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmkdnssd.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmlaunch.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmmedia.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmmouse.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmnetpref.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmnic.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmperformance.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmprivacy.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmtaskbar.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmcgi.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmcrypto.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmhistory.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmjoystick.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmkded.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmkhtml_filter.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmsmserver.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmspellchecking.png
+%{tde_tdedocdir}/HTML/en/tdefontview/
+
+# tdehwtray
+%if "%{?tde_version}" == "14.1.0"
+%{tde_bindir}/tdehwdevicetray
+%{tde_tdeappdir}/tdehwdevicetray.desktop
+%{tde_datadir}/autostart/tdehwdevicetray-autostart.desktop
+%endif
+
+# The following features are not compiled under RHEL 5 and older
+%if 0%{?with_tderandrtray}
+%{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
+%{tde_tdedocdir}/HTML/en/tderandrtray/
+%endif
+
+##########
+
+%package -n trinity-kcontrol-devel
+Summary: Development files for kcontrol
+Group: Development/Libraries/Other
+Requires: trinity-kcontrol = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kcontrol-devel
+%{summary}.
+
+%files -n trinity-kcontrol-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libtdefontinst.la
+%{tde_libdir}/libtdefontinst.so
+
+##########
+
+%package bin
+Summary: Core binaries for the TDE base module
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: pam
+%if 0%{?rhel} >= 7
+Requires: xorg-x11-server-Xorg
+Requires: xorg-x11-drv-evdev
+Requires: dejavu-sans-fonts
+%endif
+
+Provides: tdebase-bin = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: tdebase-bin < %{?epoch:%{epoch}:}%{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
+%if 0%{?with_tsak}
+%{tde_bindir}/tsak
+%endif
+%if 0%{?with_libconfig}
+%{tde_bindir}/compton-tde
+%endif
+%{tde_bindir}/tdedebugdialog
+%{tde_bindir}/kreadconfig
+%{tde_bindir}/kwriteconfig
+%{tde_bindir}/kstart
+%config(noreplace) %{tde_confdir}/kxkb_groups
+%{tde_bindir}/drkonqi
+%{tde_bindir}/crashtest
+%{tde_bindir}/kapplymousetheme
+%{tde_bindir}/kblankscrn.kss
+%{tde_bindir}/kcminit
+%{tde_bindir}/kcminit_startup
+%{tde_bindir}/kdcop
+%{tde_bindir}/tdesu
+%attr(0755,root,root) %{tde_bindir}/tdesud
+%{tde_bindir}/kdialog
+%{tde_bindir}/khotkeys
+%{tde_bindir}/knetattach
+%{tde_bindir}/krandom.kss
+%{tde_bindir}/ksystraycmd
+%{tde_bindir}/kxkb
+%dir %{tde_libdir}/tdeconf_update_bin
+%{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}/libtdeinit_kcminit.la
+%{tde_libdir}/libtdeinit_kcminit.so
+%{tde_libdir}/libtdeinit_kcminit_startup.la
+%{tde_libdir}/libtdeinit_kcminit_startup.so
+%{tde_libdir}/libtdeinit_khotkeys.la
+%{tde_libdir}/libtdeinit_khotkeys.so
+%{tde_libdir}/libtdeinit_kxkb.la
+%{tde_libdir}/libtdeinit_kxkb.so
+%{tde_libdir}/libkhotkeys_shared.so.*
+%{tde_tdeappdir}/kdcop.desktop
+%{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/
+%{tde_datadir}/apps/khotkeys/
+%{tde_datadir}/services/kxkb.desktop
+%if 0%{?suse_version} == 0
+%config(noreplace) %{_sysconfdir}/pam.d/kcheckpass-trinity
+%config(noreplace) %{_sysconfdir}/pam.d/tdescreensaver-trinity
+%endif
+%{tde_tdedocdir}/HTML/en/kdcop/
+%{tde_tdedocdir}/HTML/en/tdedebugdialog//
+%{tde_tdedocdir}/HTML/en/tdesu/
+%{tde_tdedocdir}/HTML/en/knetattach/
+%{tde_tdedocdir}/HTML/en/kxkb/
+%{tde_mandir}/man1/drkonqi.1*
+%{tde_mandir}/man1/kblankscrn.kss.1*
+%{tde_mandir}/man1/kcheckpass.1*
+%{tde_mandir}/man1/kcminit.1*
+%{tde_mandir}/man1/kdcop.1*
+%{tde_mandir}/man1/kdialog.1*
+%{tde_mandir}/man1/khotkeys.1*
+%{tde_mandir}/man1/knetattach.1*
+%{tde_mandir}/man1/krandom.kss.1*
+%{tde_mandir}/man1/kreadconfig.1*
+%{tde_mandir}/man1/kstart.1*
+%{tde_mandir}/man1/ksystraycmd.1*
+%{tde_mandir}/man1/kwriteconfig.1*
+%{tde_mandir}/man1/kxkb.1*
+%{tde_mandir}/man1/tdedebugdialog.1*
+%{tde_mandir}/man1/tdesu.1*
+
+# SETUID binaries
+# Some setuid binaries need special care
+%if 0%{?suse_version}
+%{?with_tsak:%verify(not mode) %{tde_bindir}/%{tdm}tsak}
+%verify(not mode) %{tde_bindir}/kcheckpass
+%{?with_kbdledsync:%verify(not mode) %{tde_bindir}/tdekbdledsync}
+%else
+%{?with_tsak:%attr(4511,root,root) %{tde_bindir}/%{tdm}tsak}
+%attr(4755,root,root) %{tde_bindir}/kcheckpass
+%{?with_kbdledsync:%attr(4755,root,root) %{tde_bindir}/tdekbdledsync}
+%endif
+
+# SUSE's runupdater utility
+%if 0
+%{tde_bindir}/runupdater
+%{tde_libdir}/libtdeinit_runupdater.la
+%{tde_libdir}/libtdeinit_runupdater.so
+%{tde_tdelibdir}/runupdater.la
+%{tde_tdelibdir}/runupdater.so
+%{tde_datadir}/apps/autostart/runupdater.desktop
+%endif
+
+%post bin
+# Sets permissions on setuid files (openSUSE specific)
+%if 0%{?suse_version}
+%{?with_tsak:%set_permissions %{tde_bindir}/%{tdm}tsak}
+%set_permissions %{tde_bindir}/kcheckpass
+%{?with_kbdledsync:%set_permissions %{tde_bindir}/tdekbdledsync}
+%endif
+
+##########
+
+%package bin-devel
+Summary: Development files for core binaries for the TDE base module
+Group: Development/Libraries/Other
+Requires: %{name}-bin = %{?epoch:%{epoch}:}%{version}-%{release}
+%{?xtst_devel:Requires: %{xtst_devel}}
+
+Obsoletes: tdebase-bin-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdebase-bin-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description bin-devel
+This package contains the development files for core binaries for
+the TDE base module
+
+%files bin-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkhotkeys_shared.la
+%{tde_libdir}/libkhotkeys_shared.so
+
+##########
+
+%package data
+Summary: Shared data files for the TDE base module
+Group: System/GUI/Other
+Requires: %{name}-runtime-data-common = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Obsoletes: tdebase-data < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdebase-data = %{?epoch:%{epoch}:}%{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,-)
+%config(noreplace) %{tde_confdir}/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/
+%{tde_datadir}/apps/kcmcss/
+%{tde_datadir}/apps/kcminput/
+%{tde_datadir}/apps/kcmkeys/
+%{tde_datadir}/apps/kcmlocale/
+%{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/kthememanager/
+%{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/%{tdm}config.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/*/categories/preferences-desktop.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/*/categories/applications-development.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_favourite.png
+%{tde_datadir}/icons/crystalsvg/*/categories/applications-games.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_games_kids.png
+%{tde_datadir}/icons/crystalsvg/*/categories/applications-multimedia.png
+%{tde_datadir}/icons/crystalsvg/*/categories/applications-internet.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/*/categories/applications-utilities.png
+%{tde_datadir}/icons/crystalsvg/*/apps/penguin.png
+%{tde_datadir}/icons/crystalsvg/*/categories/preferences-desktop-personal.png
+%{tde_datadir}/icons/crystalsvg/*/apps/phppg.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_games_logic.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/*/categories/applications-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/*/categories/preferences-desktop-peripherals.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/*/categories/preferences-system.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/*/categories/applications-graphics.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_system.png
+%{tde_datadir}/icons/crystalsvg/*/categories/applications-office.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/
+%{tde_datadir}/servicetypes/searchprovider.desktop
+%{tde_datadir}/servicetypes/uasprovider.desktop
+%exclude %{tde_datadir}/sounds/pop.wav
+%{tde_datadir}/sounds/
+%{tde_datadir}/wallpapers/*
+
+# XDG directories information
+%dir %{_sysconfdir}/xdg/menus/applications-merged
+%config(noreplace) %{_sysconfdir}/xdg/menus/applications-merged/tde-essential.menu
+%config(noreplace) %{_sysconfdir}/xdg/menus/tde-screensavers.menu
+%config(noreplace) %{_sysconfdir}/xdg/menus/tde-settings.menu
+
+%{tde_tdedocdir}/HTML/en/kcontrol/
+%exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/
+
+%post data
+%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
+
+##########
+
+%package tdeio-plugins
+Summary: Core I/O slaves for TDE
+Group: System/GUI/Other
+Requires: trinity-kdesktop = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: cyrus-sasl
+Requires: psmisc
+%if 0%{?with_hal}
+Requires: hal >= 0.5
+%endif
+#%if 0%{?rhel} == 4 || 0%{?suse_version} || 0%{?fedora} >= 35
+#Requires: cryptsetup
+#%else
+#Requires: cryptsetup-luks
+#%endif
+
+Obsoletes: tdebase-kio-plugins < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdebase-kio-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-tdebase-kio-plugins < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-tdebase-kio-plugins = %{?epoch:%{epoch}:}%{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}/kcm_trash.la
+%{tde_tdelibdir}/kcm_trash.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
+%if 0%{?with_libssh}
+%{tde_tdelibdir}/tdeio_sftp.la
+%{tde_tdelibdir}/tdeio_sftp.so
+%endif
+%{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}/applications/tde/kcmtrash.desktop
+%{tde_datadir}/apps/tdeio_finger/
+%{tde_datadir}/apps/tdeio_info/
+%{tde_datadir}/apps/tdeio_man/
+%{tde_datadir}/apps/systemview/
+%{tde_datadir}/autostart/mediabackend.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
+%if 0%{?with_libssh}
+%{tde_datadir}/services/sftp.protocol
+%endif
+%{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/
+%{tde_mandir}/man1/ktrash.1*
+%{tde_mandir}/man1/tdeio_media_mounthelper.1*
+%{tde_mandir}/man1/tdeio_system_documenthelper.1*
+
+%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
+
+%if "%{tde_version}" == "14.1.0"
+%{tde_tdelibdir}/ktrashpropsdlgplugin.la
+%{tde_tdelibdir}/ktrashpropsdlgplugin.so
+%{tde_datadir}/services/ktrashpropsdlgplugin.desktop
+%endif
+
+##########
+
+%package -n trinity-tdepasswd
+Summary: Password changer for TDE
+Group: System/GUI/Other
+
+Obsoletes: trinity-kdepasswd < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdepasswd = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-tdepasswd
+This is a simple application which allows users to change their
+system passwords.
+
+%files -n trinity-tdepasswd
+%defattr(-,root,root,-)
+%{tde_bindir}/tdepasswd
+%{tde_tdelibdir}/kcm_useraccount.la
+%{tde_tdelibdir}/kcm_useraccount.so
+%{tde_tdeappdir}/kcm_useraccount.desktop
+%{tde_tdeappdir}/tdepasswd.desktop
+%{tde_datadir}/config.kcfg/kcm_useraccount.kcfg
+%{tde_datadir}/config.kcfg/kcm_useraccount_pass.kcfg
+%{tde_tdedocdir}/HTML/en/tdepasswd/
+%{_datadir}/faces/Apple.png
+%{_datadir}/faces/BeachBall.png
+%{_datadir}/faces/Blowfish.png
+%{_datadir}/faces/Bug.png
+%{_datadir}/faces/Butterfly.png
+%{_datadir}/faces/Car.png
+%{_datadir}/faces/Cow.png
+%{_datadir}/faces/Daemon.png
+%{_datadir}/faces/Dog.png
+%{_datadir}/faces/Elephant.png
+%{_datadir}/faces/Flower.png
+%{_datadir}/faces/Frog.png
+%{_datadir}/faces/Ghost.png
+%{_datadir}/faces/Guitar.png
+%{_datadir}/faces/Heart.png
+%{_datadir}/faces/Konqui.png
+%{_datadir}/faces/Lion.png
+%{_datadir}/faces/Monkey.png
+%{_datadir}/faces/Penguin.png
+%{_datadir}/faces/Pig.png
+%{_datadir}/faces/Rabbit.png
+%{_datadir}/faces/Ring.png
+%{_datadir}/faces/Scream.png
+%{_datadir}/faces/Shark.png
+%{_datadir}/faces/Splash.png
+%{_datadir}/faces/Star.png
+%{_datadir}/faces/Teddybear.png
+%{_datadir}/faces/Turtle.png
+%{tde_mandir}/man1/tdepasswd.1*
+
+##########
+
+%package -n trinity-tdeprint
+Summary: Print system for TDE
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{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}/tdeprintfax
+%{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}/libtdeprint_part.la
+%{tde_tdelibdir}/libtdeprint_part.so
+%{tde_libdir}/libtdeinit_kjobviewer.la
+%{tde_libdir}/libtdeinit_kjobviewer.so
+%{tde_libdir}/libtdeinit_kprinter.la
+%{tde_libdir}/libtdeinit_kprinter.so
+%{tde_tdeappdir}/tdeprintfax.desktop
+%{tde_tdeappdir}/kjobviewer.desktop
+%{tde_tdeappdir}/printers.desktop
+%{tde_datadir}/apps/tdeprint/
+%{tde_datadir}/apps/tdeprintfax/
+%{tde_datadir}/apps/kjobviewer/
+%{tde_datadir}/apps/tdeprint_part/
+%{tde_datadir}/autostart/kjobviewer-autostart.desktop
+%{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/tdeprint/
+%{tde_tdedocdir}/HTML/en/tdeprintfax/
+%{tde_tdedocdir}/HTML/en/kjobviewer/
+%{tde_mandir}/man1/kjobviewer.1*
+%{tde_mandir}/man1/kprinter.1*
+%{tde_mandir}/man1/tdeprintfax.1*
+
+##########
+
+%package -n trinity-kdesktop
+Summary: Miscellaneous binaries and files for the TDE desktop
+Group: System/GUI/Other
+Requires: %{name}-bin = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkonq = %{?epoch:%{epoch}:}%{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,-)
+%config(noreplace) %{tde_confdir}/kdesktop_custom_menu1
+%config(noreplace) %{tde_confdir}/kdesktop_custom_menu2
+%{tde_bindir}/kcheckrunning
+%{tde_bindir}/tdeeject
+%{tde_bindir}/kdesktop
+%{tde_bindir}/kdesktop_lock
+%{tde_bindir}/kwebdesktop
+%{tde_tdelibdir}/kdesktop.la
+%{tde_tdelibdir}/kdesktop.so
+%{tde_libdir}/libtdeinit_kdesktop.la
+%{tde_libdir}/libtdeinit_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
+
+##########
+
+%package -n trinity-kdesktop-devel
+Summary: Development files for kdesktop
+Group: Development/Libraries/Other
+Requires: trinity-kdesktop = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kdesktop-devel
+This package contains the development files for kdesktop.
+
+%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: System/GUI/Other
+Requires: %{name}-bin = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: pam
+Requires: logrotate
+
+# 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
+Provides: %{tdm}
+%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 tdepasswd 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%{tdm}conf
+%{tde_bindir}/%{tdm}
+%{tde_bindir}/%{tdm}_config
+%{tde_bindir}/%{tdm}ctl
+%{tde_bindir}/%{tdm}_greet
+%{tde_bindir}/krootimage
+%dir %{tdm_datadir}
+%dir %{tdm_datadir}/pics
+%{tdm_datadir}/pics/tdelogo.png
+%{tdm_datadir}/pics/shutdown.jpg
+%{tdm_datadir}/pics/users
+%dir %{tdm_datadir}/sessions
+%{tdm_datadir}/sessions/*.desktop
+%{tdm_datadir}/themes/
+%config(noreplace) %{tde_confdir}/%{tdm}
+%if 0%{?with_selinux_policy}
+%exclude %{tde_confdir}/%{tdm}/tdm.pp
+%endif
+%{tde_tdedocdir}/HTML/en/%{tdm}/
+%if 0%{?suse_version} == 0
+%config(noreplace) %{_sysconfdir}/pam.d/tdm-trinity
+%config(noreplace) %{_sysconfdir}/pam.d/tdm-trinity-np
+%endif
+%{tde_mandir}/man1/gentdmconf.1*
+%{tde_mandir}/man1/krootimage.1*
+%{tde_mandir}/man1/tdm.1*
+%{tde_mandir}/man1/tdmctl.1*
+%{tde_mandir}/man1/tdm_config.1*
+%{tde_mandir}/man1/tdm_greet.1*
+
+%if "%{?tde_version}" == "14.1.0"
+%{tde_bindir}/tdecryptocardwatcher
+%endif
+
+# XDG user faces
+%dir %{_datadir}/faces
+%{_datadir}/faces/default1.png
+%{_datadir}/faces/default2.png
+%{_datadir}/faces/default3.png
+%{_datadir}/faces/default4.png
+%{_datadir}/faces/root1.png
+
+# Distribution specific stuff
+%if 0%{?suse_version} == 1140
+%{_sysconfdir}/init.d/xdm.tde
+%endif
+%if 0%{?suse_version} >= 1210
+/usr/lib/X11/displaymanagers/
+%endif
+%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 || 0%{?mgaversion} >= 6
+/usr/lib/systemd/system/tdm.service
+%endif
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} || 0%{?mgaversion} >= 6
+%{_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}
+%config %{tde_confdir}/%{tdm}/tdm.pp
+%endif
+
+# Logrotate configuration
+%config %{_sysconfdir}/logrotate.d/trinity-tdm
+
+%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 "%{tde_confdir}/%{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 "%{tde_confdir}" ]; then
+ mkdir -p "%{tde_confdir}"
+ fi
+ echo "Migrating TDM configuration from '%{tde_datadir}/config/%{tdm}' to '%{tde_confdir}/%{tdm}'"
+ mv -f "%{tde_datadir}/config/%{tdm}" "%{tde_confdir}/%{tdm}.migr"
+ fi
+fi
+
+# Remove actual directory before creating a symlink
+if [ ! -L "%{tdm_datadir}/pics/users" ] && [ -d "%{tdm_datadir}/pics/users" ] ; then
+ [ -d "%{_datadir}/faces" ] || mkdir -p "%{_datadir}/faces"
+ cp -f "%{tdm_datadir}/pics/users/"* "%{_datadir}/faces"
+ rm -rf "%{tdm_datadir}/pics/users"
+fi
+
+%post -n trinity-tdm
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%make_session
+%endif
+
+# SELINUX context for tdm
+%if 0%{?with_selinux_policy}
+/usr/sbin/semodule -i "%{tde_confdir}/%{tdm}/tdm.pp"
+%endif
+
+%if 0%{?fedora} == 21 || 0%{?rhel} >= 7
+if ! grep -q "%{tde_bindir}/tdm" "/etc/selinux/targeted/contexts/files/file_contexts.local" ; then
+ echo "%{tde_bindir}/tdm -- system_u:object_r:xdm_exec_t" >>"/etc/selinux/targeted/contexts/files/file_contexts.local"
+ restorecon "%{tde_bindir}/tdm"
+fi
+%endif
+
+# Sets default user icon in TDM
+if [ ! -r "%{tdm_datadir}/faces/.default.face.icon" ]; then
+ [ -d "%{tdm_datadir}/faces" ] || mkdir -p "%{tdm_datadir}/faces"
+ cp -f "%{tdm_datadir}/pics/users/default2.png" "%{tdm_datadir}/faces/.default.face.icon"
+fi
+
+# Sets default language for TDM
+if [ "$1" = "1" ]; then
+ if [ -n "${LANG}" ] && [ "${LANG}" != "C" ]; then
+ sed -i "%{tde_confdir}/%{tdm}/%{tdm}rc" -e "s|^#*Language=.*|Language=${LANG}|"
+ fi
+fi
+
+# openSUSE 11.4 tdm's startup script
+if [ -r "%{_sysconfdir}/init.d/xdm.tde" ]; then
+ cat "%{_sysconfdir}/init.d/xdm.tde" >"%{_sysconfdir}/init.d/xdm"
+fi
+
+# openSUSE 15.0 alternatives
+%if 0%{?suse_version} >= 1500
+update-alternatives --install /usr/lib/X11/displaymanagers/default-displaymanager default-displaymanager /usr/lib/X11/displaymanagers/tdm 30 || :
+%endif
+
+%posttrans -n trinity-tdm
+# Make sure that TDM configuration files are now under '/etc/trinity/tdm'
+if [ -d "%{tde_confdir}/%{tdm}.migr" ] && [ -d "%{tde_confdir}/%{tdm}" ]; then
+ mv -f "%{tde_confdir}/%{tdm}.migr/"* "%{tde_confdir}/%{tdm}/"
+ rmdir "%{tde_confdir}/%{tdm}.migr/"
+fi
+
+%postun -n trinity-tdm
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%make_session
+%endif
+
+# openSUSE 15.0 alternatives
+%if 0%{?suse_version} >= 1500
+if [ "$1" = "0" ]; then
+ update-alternatives --remove default-displaymanager /usr/lib/X11/displaymanagers/tdm || :
+fi
+%endif
+
+##########
+
+%package -n trinity-tdm-devel
+Summary: Development files for tdm
+Group: Development/Libraries/Other
+Requires: trinity-tdm = %{?epoch:%{epoch}:}%{version}-%{release}
+%{?xtst_devel:Requires: %{xtst_devel}}
+
+%description -n trinity-tdm-devel
+This package contains the development files for TDM.
+
+%files -n trinity-tdm-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kgreeterplugin.h
+
+##########
+
+%package -n trinity-kfind
+Summary: File-find utility for TDE
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{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/
+%{tde_mandir}/man1/kfind.1*
+
+##########
+
+%package -n trinity-khelpcenter
+Summary: Help center for TDE
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: htdig
+
+%description -n trinity-khelpcenter
+The TDE Help Center provides documentation on how to use the TDE desktop.
+
+The htdig package is needed to build a searchable archive of TDE
+documentation.
+
+%files -n trinity-khelpcenter
+%defattr(-,root,root,-)
+%{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}/libtdeinit_khelpcenter.la
+%{tde_libdir}/libtdeinit_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/
+
+##########
+
+%package -n trinity-kicker
+Summary: Desktop panel for TDE
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{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_tdeprint.la
+%{tde_tdelibdir}/kickermenu_tdeprint.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}/libtdeinit_appletproxy.la
+%{tde_libdir}/libtdeinit_appletproxy.so
+%{tde_libdir}/libtdeinit_extensionproxy.la
+%{tde_libdir}/libtdeinit_extensionproxy.so
+%{tde_libdir}/libtdeinit_kicker.la
+%{tde_libdir}/libtdeinit_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/
+%{tde_datadir}/apps/tdeconf_update/kicker-3.1-properSizeSetting.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/
+%{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/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}/icons/oxygen/scalable/mgabutton.svg
+%endif
+%{tde_mandir}/man1/appletproxy.1*
+%{tde_mandir}/man1/extensionproxy.1*
+%{tde_mandir}/man1/kasbar.1*
+%{tde_mandir}/man1/kicker.1*
+
+##########
+
+%package -n trinity-kicker-devel
+Summary: Development files for kicker
+Group: Development/Libraries/Other
+Requires: trinity-kicker = %{?epoch:%{epoch}:}%{version}-%{release}
+%{?xtst_devel:Requires: %{xtst_devel}}
+
+%description -n trinity-kicker-devel
+This package contains the development files for kicker.
+
+%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
+
+##########
+
+%package -n trinity-klipper
+Summary: Clipboard utility for Trinity
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{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
+%config(noreplace) %{tde_confdir}/klipperrc
+%{tde_tdelibdir}/klipper.la
+%{tde_tdelibdir}/klipper.so
+%{tde_tdelibdir}/klipper_panelapplet.la
+%{tde_tdelibdir}/klipper_panelapplet.so
+%{tde_libdir}/libtdeinit_klipper.la
+%{tde_libdir}/libtdeinit_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/
+
+##########
+
+%package -n trinity-kmenuedit
+Summary: Menu editor for TDE
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kmenuedit
+The TDE menu editor allows you to make customisations to the TDE 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}/libtdeinit_kcontroledit.la
+%{tde_libdir}/libtdeinit_kcontroledit.so
+%{tde_libdir}/libtdeinit_kmenuedit.la
+%{tde_libdir}/libtdeinit_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/
+%{tde_mandir}/man1/kmenuedit.1*
+
+##########
+
+%package -n trinity-konqueror
+Summary: TDE's advanced file manager, web browser and document viewer
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kcontrol = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-tdeio-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kdesktop = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kfind = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkonq = %{?epoch:%{epoch}:}%{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,-)
+%config(noreplace) %{tde_confdir}/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}/libtdeinit_keditbookmarks.la
+%{tde_libdir}/libtdeinit_keditbookmarks.so
+%{tde_libdir}/libtdeinit_kfmclient.la
+%{tde_libdir}/libtdeinit_kfmclient.so
+%{tde_libdir}/libtdeinit_konqueror.la
+%{tde_libdir}/libtdeinit_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/
+%{tde_datadir}/apps/tdehtml/kpartplugins/
+%{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/
+%dir %{tde_datadir}/apps/konqueror/dirtree
+%dir %{tde_datadir}/apps/konqueror/dirtree/remote
+%{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/installfont.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/*.desktop
+%ghost %{_sysconfdir}/alternatives/media_safelyremove.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase
+%{tde_datadir}/apps/konqueror/tiles/
+%{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/
+%{tde_tdedocdir}/HTML/en/keditbookmarks/
+%{tde_mandir}/man1/keditbookmarks.1*
+%{tde_mandir}/man1/kfmclient.1*
+%{tde_mandir}/man1/konqueror.1*
+
+%post -n trinity-konqueror
+if [ $1 -eq 1 ]; then
+ 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 || :
+fi
+
+%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/Other
+Requires: trinity-konqueror = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-konqueror-devel
+This package contains the development files for konqueror.
+
+%files -n trinity-konqueror-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/konqsidebarplugin.h
+%{tde_tdeincludedir}/KonquerorIface.h
+%{tde_libdir}/libkonqsidebarplugin.la
+%{tde_libdir}/libkonqsidebarplugin.so
+
+##########
+
+%package -n trinity-konqueror-nsplugins
+Summary: Netscape plugin support for Konqueror
+Group: System/GUI/Other
+Requires: trinity-konqueror = %{?epoch:%{epoch}:}%{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
+
+##########
+
+%package -n trinity-konsole
+Summary: X terminal emulator for TDE
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-konsole
+Konsole is an X terminal emulation which provides a command-line interface
+(CLI) while using the graphical Trinity 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_bindir}/terminalhere
+%{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}/libtdeinit_konsole.la
+%{tde_libdir}/libtdeinit_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/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/
+%config %{_sysconfdir}/fonts/conf.d/99-konsole.conf
+%{tde_mandir}/man1/konsole.1*
+
+##########
+
+%package -n trinity-kpager
+Summary: Desktop pager for TDE
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{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/
+%{tde_mandir}/man1/kpager.1*
+
+##########
+
+%package -n trinity-kpersonalizer
+Summary: Installation personalizer for TDE
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{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
+%{tde_mandir}/man1/kpersonalizer.1*
+
+##########
+
+%package -n trinity-ksmserver
+Summary: Session manager for TDE
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-twin = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: xmessage
+Requires: xprop
+
+%description -n trinity-ksmserver
+This package contains the TDE session manager. It is responsible for
+restoring your TDE session on login. It is also needed to properly
+start a TDE session. It registers TDE with X display managers, and
+provides the 'starttde' command, for starting an X session with TDE
+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,
+TDE will start, but many good defaults will not be set.
+
+%files -n trinity-ksmserver
+%defattr(-,root,root,-)
+%{tde_bindir}/ksmserver
+%{tde_bindir}/%{starttde}
+%{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}/libtdeinit_ksmserver.la
+%{tde_libdir}/libtdeinit_ksmserver.so
+%{tde_datadir}/apps/tdeconf_update/ksmserver.upd
+%{tde_datadir}/apps/tdeconf_update/move_session_config.sh
+%{tde_datadir}/apps/ksmserver/
+%{tde_mandir}/man1/starttde.1*
+
+%post -n trinity-ksmserver
+%if 0%{?mdkversion} || 0%{?mgaversion}
+fndSession
+%endif
+
+# openSUSE 15.0 alternatives
+%if 0%{?suse_version} >= 1500
+update-alternatives --install /usr/share/xsessions/default.desktop default-xsession.desktop /usr/share/xsessions/tde.desktop 30 || :
+%endif
+
+%postun -n trinity-ksmserver
+%if 0%{?mdkversion} || 0%{?mgaversion}
+fndSession
+%endif
+
+# openSUSE 15.0 alternatives
+%if 0%{?suse_version} >= 1500
+update-alternatives --remove default-xsession.desktop /usr/share/xsessions/tde.desktop || :
+%endif
+
+##########
+
+%package -n trinity-ksplash
+Summary: The TDE splash screen
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{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/
+
+##########
+
+%package -n trinity-ksplash-devel
+Summary: Development files for ksplash
+Group: Development/Libraries/Other
+Requires: trinity-ksplash = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-ksplash-devel
+This package contains the development files for ksplash.
+
+%files -n trinity-ksplash-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/ksplash/
+%{tde_libdir}/libksplashthemes.la
+%{tde_libdir}/libksplashthemes.so
+
+##########
+
+%package -n trinity-ksysguard
+Summary: System guard for TDE
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksysguardd = %{?epoch:%{epoch}:}%{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/
+
+##########
+
+%package -n trinity-ksysguard-devel
+Summary: Development files for ksysguard
+Group: Development/Libraries/Other
+Requires: trinity-ksysguard = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-ksysguard-devel
+This package contains the development files for ksysguard.
+
+%files -n trinity-ksysguard-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/ksgrd/
+%{tde_libdir}/libksgrd.la
+%{tde_libdir}/libksgrd.so
+
+##########
+
+%package -n trinity-ksysguardd
+Summary: System guard daemon for TDE
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{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) %{tde_confdir}/ksysguarddrc
+
+##########
+
+%package -n trinity-ktip
+Summary: Useful tips for TDE
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{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/tdewizard/
+%{tde_datadir}/autostart/ktip.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ktip.*
+
+##########
+
+%package -n trinity-twin
+Summary: The TDE window manager
+Group: System/GUI/Other
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{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}/twin
+%{tde_bindir}/twin_killer_helper
+%{tde_bindir}/twin_resumer_helper
+%{tde_bindir}/twin_rules_dialog
+%{tde_libdir}/tdeconf_update_bin/twin_update_default_rules
+%{tde_libdir}/tdeconf_update_bin/twin_update_window_settings
+%{tde_tdelibdir}/kcm_twin*.la
+%{tde_tdelibdir}/kcm_twin*.so
+%{tde_tdelibdir}/twin*.la
+%{tde_tdelibdir}/twin*.so
+%{tde_libdir}/libtdecorations.so.*
+%{tde_libdir}/libtdeinit_twin_rules_dialog.la
+%{tde_libdir}/libtdeinit_twin_rules_dialog.so
+%{tde_libdir}/libtdeinit_twin.la
+%{tde_libdir}/libtdeinit_twin.so
+%{tde_tdeappdir}/showdesktop.desktop
+%{tde_tdeappdir}/twindecoration.desktop
+%{tde_tdeappdir}/twinoptions.desktop
+%{tde_tdeappdir}/twinrules.desktop
+%{tde_datadir}/applnk/.hidden/twinactions.desktop
+%{tde_datadir}/applnk/.hidden/twinadvanced.desktop
+%{tde_datadir}/applnk/.hidden/twinfocus.desktop
+%{tde_datadir}/applnk/.hidden/twinmoving.desktop
+%{tde_datadir}/applnk/.hidden/twintranslucency.desktop
+%{tde_datadir}/apps/tdeconf_update/twin3_plugin.pl
+%{tde_datadir}/apps/tdeconf_update/twin3_plugin.upd
+%{tde_datadir}/apps/tdeconf_update/twin_focus1.sh
+%{tde_datadir}/apps/tdeconf_update/twin_focus1.upd
+%{tde_datadir}/apps/tdeconf_update/twin_focus2.sh
+%{tde_datadir}/apps/tdeconf_update/twin_focus2.upd
+%{tde_datadir}/apps/tdeconf_update/twin_fsp_workarounds_1.upd
+%{tde_datadir}/apps/tdeconf_update/twiniconify.upd
+%{tde_datadir}/apps/tdeconf_update/twinsticky.upd
+%{tde_datadir}/apps/tdeconf_update/twin.upd
+%{tde_datadir}/apps/tdeconf_update/twinupdatewindowsettings.upd
+%{tde_datadir}/apps/tdeconf_update/pluginlibFix.pl
+%{tde_datadir}/apps/twin/
+%{tde_datadir}/config.kcfg/twin.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/twin.png
+%{tde_tdedocdir}/HTML/en/kompmgr/
+
+##########
+
+%package -n trinity-twin-devel
+Summary: Development files for twin
+Group: Development/Libraries/Other
+Requires: trinity-twin = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-twin-devel
+This package contains the development files for twin.
+
+%files -n trinity-twin-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/twin/
+%{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
+
+##########
+
+%package -n trinity-libkonq
+Summary: Core libraries for Konqueror
+Group: System/GUI/Other
+
+%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/
+%{tde_datadir}/apps/tdeconf_update/favicons.upd
+%{tde_datadir}/apps/tdeconf_update/move_favicons.sh
+%dir %{tde_datadir}/apps/konqueror/pics
+%{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
+
+##########
+
+%package libtqt3-integration
+Summary: Integration library between TQt3 and TDE
+Group: System/GUI/Other
+
+Obsoletes: tdebase-libtqt3-integration < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdebase-libtqt3-integration = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description libtqt3-integration
+These libraries allow you to use TDE dialogs in native TQt3 applications.
+
+%files libtqt3-integration
+%defattr(-,root,root,-)
+%{_libdir}/tqt3/plugins/integration/
+%{tde_tdelibdir}/kded_tdeintegration.la
+%{tde_tdelibdir}/kded_tdeintegration.so
+%{tde_datadir}/services/kded/tdeintegration.desktop
+
+##########
+
+%package -n trinity-libkonq-devel
+Summary: Development files for Konqueror's core libraries
+Group: Development/Libraries/Other
+Requires: trinity-libkonq = %{?epoch:%{epoch}:}%{version}-%{release}
+%{?xtst_devel:Requires: %{xtst_devel}}
+
+%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
+
+##########
+
+%package tdeio-smb-plugin
+Summary: Windows Connection Module for TDE
+Group: System/GUI/Other
+
+%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
+%dir %{tde_datadir}/apps/remoteview
+%{tde_datadir}/apps/remoteview/smb-network.desktop
+%{tde_datadir}/mimelnk/application/x-smb-workgroup.desktop
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%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/gen%{tdm}conf.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|$TDEDIR/share/wallpapers/Trinity-lineart.svg.desktop|%{tde_bg}|' \
+ -e 's|Wallpaper=Trinity-lineart.svg|Wallpaper=%{tde_bg}|'
+%endif
+
+# TDE default directory and icon in startup script
+%__sed -i "%{starttde}" \
+ -e "s|/opt/trinity|%{tde_prefix}|g"
+
+# Sets default TDE menu icon
+%if "%{tde_starticon}" != ""
+%__sed -i "kicker/libkicker/kickerSettings.kcfg" \
+ -e "s|QString(\"kmenu\")|QString(\"%{tde_starticon}\")|"
+%endif
+
+# Xsession script location may vary on some distro
+%if 0%{?rhel} || 0%{?fedora}
+%__sed -i "%{tdm}/kfrontend/gen%{tdm}conf.c" -e "s|/etc/X11/Xsession|/etc/X11/xinit/Xsession|"
+%endif
+%if 0%{?suse_version}
+%__sed -i "%{tdm}/kfrontend/gen%{tdm}conf.c" -e "s|/etc/X11/Xsession|/etc/X11/xdm/Xsession|"
+%endif
+%if 0%{?suse_version} >= 1550
+# /etc/X11 moved to /usr/etc/X11 on opensuse TW
+%__sed -i "%{tdm}/kfrontend/gen%{tdm}conf.c" \
+ -i "%{tdm}/README" \
+ -i "doc/khelpcenter/adminguide/index.docbook" \
+ -i "doc/khelpcenter/faq/notrelated.docbook" \
+ -e "s|/etc/X11/xdm|/usr/etc/X11/xdm|g" \
+ -e "s|/etc/X11/sessions|/usr/etc/X11/sessions|g"
+%endif
+
+# Reboot command location may vary on some distributions
+if [ -x "/usr/bin/reboot" ]; then
+ POWEROFF="/usr/bin/poweroff"
+ REBOOT="/usr/bin/reboot"
+fi
+if [ -n "${REBOOT}" ]; then
+ %__sed -i \
+ "doc/%{tdm}/%{tdm}rc-ref.docbook" \
+ "kcontrol/%{tdm}/%{tdm}-shut.cpp" \
+ "%{tdm}/config.def" \
+ -e "s|/sbin/poweroff|${POWEROFF}|g" \
+ -e "s|/sbin/reboot|${REBOOT}|g"
+fi
+
+# Update icons for some control center modules
+%__sed -i "kcontrol/componentchooser/componentchooser.desktop" -e "s|^Icon=.*|Icon=kcmcomponentchooser|"
+%__sed -i "kcontrol/taskbar/kcmtaskbar.desktop" -e "s|^Icon=.*|Icon=kcmtaskbar|"
+%__sed -i "kcontrol/nics/nic.desktop" -e "s|^Icon=.*|Icon=kcmnic|"
+%__sed -i "kcontrol/input/mouse.desktop" -e "s|^Icon=.*|Icon=kcmmouse|"
+%__sed -i "kcontrol/smserver/kcmsmserver.desktop" -e "s|^Icon=.*|Icon=kcmsmserver|"
+%__sed -i "kcontrol/kded/kcmkded.desktop" -e "s|^Icon=.*|Icon=kcmkded|"
+%__sed -i "kcontrol/konq/desktop.desktop" -e "s|^Icon=.*|Icon=kcmdesktop|"
+%__sed -i "kcontrol/konq/desktopbehavior.desktop" -e "s|^Icon=.*|Icon=kcmdesktopbehavior|"
+%__sed -i "kcontrol/privacy/privacy.desktop" -e "s|^Icon=.*|Icon=kcmprivacy|"
+%__sed -i "kcontrol/crypto/crypto.desktop" -e "s|^Icon=.*|Icon=kcmcrypto|"
+%__sed -i "kcontrol/tdeio/netpref.desktop" -e "s|^Icon=.*|Icon=kcmnetpref|"
+%__sed -i "kcontrol/konqhtml/tdehtml_filter.desktop" -e "s|^Icon=.*|Icon=kcmkhtml_filter|"
+%__sed -i "kcontrol/joystick/joystick.desktop" -e "s|^Icon=.*|Icon=kcmjoystick|"
+%__sed -i "kcontrol/colors/colors.desktop" -e "s|^Icon=.*|Icon=kcmcolors|"
+%__sed -i "kcontrol/performance/kcmperformance.desktop" -e "s|^Icon=.*|Icon=kcmperformance|"
+%__sed -i "kcontrol/launch/kcmlaunch.desktop" -e "s|^Icon=.*|Icon=kcmlaunch|"
+%__sed -i "kcontrol/dnssd/kcm_tdednssd.desktop" -e "s|^Icon=.*|Icon=kcmkdnssd|"
+%__sed -i "kcontrol/spellchecking/spellchecking.desktop" -e "s|^Icon=.*|Icon=kcmspellchecking|"
+%__sed -i "konqueror/sidebar/trees/history_module/kcmhistory.desktop" -e "s|^Icon=.*|Icon=kcmhistory|"
+%__sed -i "tdeioslave/cgi/kcmcgi/kcmcgi.desktop" -e "s|^Icon=.*|Icon=kcmcgi|"
+%__sed -i "tdeioslave/media/tdecmodule/media.desktop" -e "s|^Icon=.*|Icon=kcmmedia|"
+
+# RHEL 5 does not support 'compton'
+%if 0%{?with_libconfig} == 0
+%__sed -i "twin/CMakeLists.txt" -e "/compton-tde/ s/^/#/"
+%endif
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+export TDEDIR="%{tde_prefix}"
+
+# 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
+
+# openldap 2.4 includes (CentOS 5)
+if [ -d "/usr/include/openldap24" ]; then
+ RPM_OPT_FLAGS="-I%{_includedir}/openldap24 -L%{_libdir}/openldap24 ${RPM_OPT_FLAGS}"
+fi
+
+# libtirpc (fedora)
+if [ -d "/usr/include/tirpc" ]; then
+ RPM_OPT_FLAGS="$(pkg-config --cflags --libs libtirpc) ${RPM_OPT_FLAGS}"
+fi
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_NO_BUILTIN_CHRPATH=ON \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=ON \
+ \
+ -DBIN_INSTALL_DIR="%{tde_bindir}" \
+ -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
+ -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
+ -DLIB_INSTALL_DIR="%{tde_libdir}" \
+ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
+ -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
+ -DSYSCONF_INSTALL_DIR="%{tde_confdir}" \
+ -DXDG_MENU_INSTALL_DIR="%{_sysconfdir}/xdg/menus" \
+ \
+ -DWITH_ALL_OPTIONS=ON \
+ -DWITH_SASL=ON \
+ -DWITH_LDAP=ON \
+ -DWITH_SAMBA=ON \
+ %{?!with_exr:-DWITH_OPENEXR=OFF} \
+ -DWITH_XCOMPOSITE=ON \
+ -DWITH_XCURSOR=ON \
+ -DWITH_XFIXES=ON \
+ %{?!with_xrandr:-DWITH_XRANDR=OFF} \
+ -DWITH_XRENDER=ON \
+ %{?!with_libconfig:-DWITH_LIBCONFIG=OFF} \
+ -DWITH_PCRE=ON \
+ %{?!with_xtest:-DWITH_XTEST=OFF} \
+ -DWITH_OPENGL=ON \
+ %{?!with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \
+ %{?!with_libart:-DWITH_LIBART=OFF} \
+ -DWITH_LIBUSB=ON \
+ -DWITH_LIBRAW1394=ON \
+ -DWITH_SUDO_TDESU_BACKEND=OFF \
+ -DWITH_SUDO_KONSOLE_SUPER_USER_COMMAND=OFF \
+ -DWITH_PAM=ON \
+ -DWITH_SHADOW=OFF \
+ -DWITH_XDMCP=ON \
+ -DWITH_XINERAMA=ON \
+ -DWITH_ARTS=ON \
+ -DWITH_I8K=ON \
+ -DWITH_SENSORS=ON \
+ %{?with_hal:-DWITH_HAL=ON} \
+ %{?!with_tdehwlib:-DWITH_TDEHWLIB=OFF} \
+ -DWITH_UPOWER=ON \
+ %{?!with_elficon:-DWITH_ELFICON=OFF} \
+ \
+ -DBUILD_ALL=ON \
+%if 0%{?suse_version}
+ -DKCHECKPASS_PAM_SERVICE="xdm" \
+ -DTDM_PAM_SERVICE="xdm" \
+ -DTDESCREENSAVER_PAM_SERVICE="xdm" \
+%else
+ -DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \
+ -DTDM_PAM_SERVICE="tdm-trinity" \
+ -DTDESCREENSAVER_PAM_SERVICE="tdescreensaver-trinity" \
+%endif
+ %{!?with_kbdledsync:-DBUILD_TDEKBDLEDSYNC=OFF} \
+ %{!?with_tsak:-DBUILD_TSAK=OFF} \
+%if 0%{?fedora} >= 22 || 0%{?suse_version} >= 1320
+ -DHTDIG_SEARCH_BINARY="/usr/bin/htdig" \
+%endif
+%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 || 0%{?mgaversion} >= 6
+ -DBUILD_TDM_SYSTEMD_UNIT_FILE="ON" \
+%endif
+ ..
+
+%__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} || 0%{?mgaversion} >= 6
+%__install -D -m 644 \
+ "%{?buildroot}%{tdm_datadir}/sessions/tde.desktop" \
+ "%{?buildroot}%{_datadir}/xsessions/tde.desktop"
+%endif
+
+# Mageia/Mandriva/PCLinuxOS stores its session file in different folder than RHEL/Fedora
+# Generated files for TDM/KDM4 go to '/usr/share/apps/kdm/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}
+%if 0%{?pclinuxos}
+FNDSESSION_EXEC="/usr/sbin/chksession -k"
+%else
+%if 0%{?mgaversion} >= 6
+FNDSESSION_EXEC="/usr/sbin/chksession -l"
+%else
+FNDSESSION_EXEC="/usr/sbin/chksession --generate=/usr/share/xsessions"
+%endif
+%endif
+EOF
+%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}%{tde_confdir}/%{tdm}/%{tdm}rc" \
+%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1210 || 0%{?rhel} >= 7 || 0%{?mageia} >= 4
+ -e "s/^#*MinShowUID=.*/MinShowUID=1000/"
+%else
+ -e "s/^#*MinShowUID=.*/MinShowUID=500/"
+%endif
+
+# Symlinks 'usb.ids' (Use system-provided version, not TDE provided version)
+if [ -r "/usr/share/usb.ids" ]; then
+ %__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids"
+ %__ln_s -f "/usr/share/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids"
+elif [ -r "/usr/share/hwdata/usb.ids" ]; then
+ %__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids"
+ %__ln_s -f "/usr/share/hwdata/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids"
+fi
+
+# Makes 'media_safelyremove.desktop' an alternative.
+# This allows the use of 'tdeio-umountwrapper' package.
+%__mv -f "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop" "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase"
+%__mkdir_p "%{buildroot}%{_sysconfdir}/alternatives"
+%__ln_s "media_safelyremove.desktop_tdebase" "%{buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop"
+
+# SUSE >= 12 : creates DM config file, used by '/etc/init.d/xdm'
+# You must set 'DISPLAYMANAGER=tdm' in '/etc/sysconfig/displaymanager'
+%if 0%{?suse_version} >= 1210
+%__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
+
+# SELINUX policy for RHEL / Fedora
+%if 0%{?with_selinux_policy}
+%__cp -f "%{SOURCE8}" "tdm.te"
+%__make -f "%{_datadir}/selinux/devel/Makefile"
+%__install -D -m 644 -D "tdm.pp" "%{?buildroot}%{tde_confdir}/%{tdm}/tdm.pp"
+%endif
+
+# Mageia icon for TDE menu
+%if 0%{?mgaversion} >= 3
+%__install -D -m 644 "%{SOURCE9}" "%{?buildroot}%{tde_datadir}/icons/oxygen/scalable/mgabutton.svg"
+%endif
+
+# openSUSE 11.4: tdm startup script
+%if 0%{?suse_version} == 1140
+%__install -D -m 755 "%{SOURCE7}" "%{?buildroot}%{?_sysconfdir}/init.d/xdm.tde"
+%endif
+
+# Console font to fontconfig
+%__mkdir_p "%{buildroot}%{_sysconfdir}/fonts/conf.d"
+cat <<EOF >"%{buildroot}%{_sysconfdir}/fonts/conf.d/99-konsole.conf"
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+ <!-- Font directory list -->
+ <dir>%{tde_datadir}/apps/konsole/fonts</dir>
+</fontconfig>
+EOF
+
+# logrotate configuration
+mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
+cat << EOF > "%{buildroot}%{_sysconfdir}/logrotate.d/trinity-tdm"
+/var/log/tdm.log {
+ weekly
+ notifempty
+ missingok
+ nocompress
+}
+EOF
+
+# Move faces icon to XDG directory '/usr/share/faces'
+if [ ! -d "%{?buildroot}%{_datadir}/faces" ]; then
+ %__mkdir_p "%{?buildroot}%{_datadir}/faces"
+ %__mv -f "%{?buildroot}%{tdm_datadir}/pics/users/"* "%{?buildroot}%{_datadir}/faces" 2>/dev/null
+ rmdir "%{?buildroot}%{tdm_datadir}/pics/users"
+fi
+%__ln_s "%{_datadir}/faces" "%{?buildroot}%{tdm_datadir}/pics/users"
+
+# Adds missing icons in 'hicolor' theme
+# These icons are copied from 'crystalsvg' theme, provided by 'tdelibs'.
+%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,22x22,32x32,48x48,64x64,128x128}"/apps/"
+pushd "%{?buildroot}%{tde_datadir}/icons"
+for i in {16,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/mimetypes/application-vnd.tde.misc.png hicolor/"$i"x"$i"/apps/kcmcomponentchooser.png ;done
+for i in {16,22,32,48,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/launch.png hicolor/"$i"x"$i"/apps/kcmperformance.png ;done
+for i in 16; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/services.png hicolor/"$i"x"$i"/apps/kcmkded.png ;done
+for i in {16,22,32,48}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/system-log-out.png hicolor/"$i"x"$i"/apps/kcmsmserver.png ;done
+for i in {16,22,32}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/tools-check-spelling.png hicolor/"$i"x"$i"/apps/kcmspellchecking.png ;done
+for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/desktop.png hicolor/"$i"x"$i"/apps/kcmdesktopbehavior.png ;done
+for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/desktop.png hicolor/"$i"x"$i"/apps/kcmdesktop.png ;done
+for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kmenu.png hicolor/"$i"x"$i"/apps/kcmtaskbar.png ;done
+for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/mimetypes/application-x-kcsrc.png hicolor/"$i"x"$i"/apps/kcmcolors.png ;done
+for i in {16,22,32,48,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/launch.png hicolor/"$i"x"$i"/apps/kcmlaunch.png ;done
+for i in {16,22,32}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/filter.png hicolor/"$i"x"$i"/apps/kcmkhtml_filter.png ;done
+for i in {16,22,32}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/system-run.png hicolor/"$i"x"$i"/apps/kcmcgi.png ;done
+for i in {16,22}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/history.png hicolor/"$i"x"$i"/apps/kcmhistory.png ;done
+for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/network.png hicolor/"$i"x"$i"/apps/kcmnetpref.png ;done
+for i in {16,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/blockdevice.png hicolor/"$i"x"$i"/apps/kcmkdnssd.png ;done
+for i in {16,22,32,48,64}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/input-joystick.png hicolor/"$i"x"$i"/apps/kcmjoystick.png ;done
+for i in {16,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/input-mouse.png hicolor/"$i"x"$i"/apps/kcmmouse.png ;done
+for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/computer.png hicolor/"$i"x"$i"/apps/kcmmedia.png ;done
+for i in {16,22,32}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/encrypted.png hicolor/"$i"x"$i"/apps/kcmcrypto.png ;done
+for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/trashcan_empty.png hicolor/"$i"x"$i"/apps/kcmprivacy.png ;done
+for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/network.png hicolor/"$i"x"$i"/apps/kcmnic.png ;done
+popd
+
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/Help.desktop Documentation Viewer
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/Home.desktop System FileManager core
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kate.desktop TextEditor
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/KControl.desktop X-SuSE-core
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/Kfind.desktop System Filesystem core
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kjobviewer.desktop PrintingUtility
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/klipper.desktop System TrayIcon
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kmenuedit.desktop Core-Configuration
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/knetattach.desktop System Network
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konqbrowser.desktop WebBrowser
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konquerorsu.desktop System FileManager
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konsole.desktop TerminalEmulator
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konsolesu.desktop TerminalEmulator
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpager.desktop Utility DesktopUtility
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpersonalizer.desktop DesktopUtility
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/ksysguard.desktop System Monitor
+%suse_update_desktop_file -u %{?buildroot}%{tde_tdeappdir}/ktip.desktop System Utility
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kwrite.desktop TextEditor
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/tdeprintfax.desktop PrintingUtility
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/tdefontview.desktop Graphics Viewer
+%{?with_tderandrtray:%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/tderandrtray.desktop Applet X-TDE-settings-desktop}
+%suse_update_desktop_file %{?buildroot}%{tde_datadir}/applnk/.hidden/konqfilemgr.desktop System FileManager
+%suse_update_desktop_file -u %{?buildroot}%{tde_tdeappdir}/kdcop.desktop System Utility
+%endif
+
+# Icons from TDE Control Center should only be displayed in TDE
+for i in %{?buildroot}%{tde_tdeappdir}/*.desktop ; do
+ if grep -q "^Categories=.*X-TDE-settings" "${i}"; then
+ if ! grep -q "OnlyShowIn=TDE" "${i}" ; then
+ echo "OnlyShowIn=TDE;" >>"${i}"
+ fi
+ fi
+done
+
+# Other apps that should stay in TDE
+for i in ksysguard tde-kcontrol tdefontview showdesktop; do
+ echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/${i}.desktop"
+done
+
+# Remove setuid bit on some binaries.
+%{?with_tsak:chmod 0511 "%{?buildroot}%{tde_bindir}/%{tdm}tsak"}
+chmod 0755 "%{?buildroot}%{tde_bindir}/kcheckpass"
+%{?with_kbdledsync:chmod 0755 "%{?buildroot}%{tde_bindir}/tdekbdledsync"}
+
+# Fix permissions on shell scripts
+chmod 0755 "%{?buildroot}%{tde_datadir}/apps/tdeconf_update/move_session_config.sh"
+chmod 0755 "%{?buildroot}%{tde_tdedocdir}/HTML/en/khelpcenter/glossary/checkxrefs"
+
+# Removes tderandrtray documentation, if not built.
+%if 0%{?with_tderandrtray} == 0
+%__rm -rf "%{?buildroot}%{tde_tdedocdir}/HTML/en/tderandrtray"
+%endif
+
+# Remove conflicting doc
+%__rm -rf "%{?buildroot}%{tde_tdedocdir}/HTML/en/tdeioslave/gopher"
+
+# Links duplicate files
+%fdupes "%{?buildroot}%{tde_datadir}"
+
+
+%clean
+%__rm -rf %{?buildroot}
+
+
+%if 0%{?suse_version}
+# Check permissions on setuid files (openSUSE specific)
+%verifyscript
+%{?with_tsak:%verify_permissions -e %{tde_bindir}/%{tdm}tsak}
+%verify_permissions -e %{tde_bindir}/kcheckpass
+%{?with_kbdledsync:%verify_permissions -e %{tde_bindir}/tdekbdledsync}
+%endif
+
+
+%changelog
diff --git a/redhat/core/tdebase/tdm.el6.te b/redhat/core/tdebase/tdm.el6.te
new file mode 100644
index 000000000..60508ae0d
--- /dev/null
+++ b/redhat/core/tdebase/tdm.el6.te
@@ -0,0 +1,11 @@
+
+module tdm 1.0;
+
+require {
+ type fprintd_t;
+ type initrc_t;
+ class dbus send_msg;
+}
+
+#============= fprintd_t ==============
+allow fprintd_t initrc_t:dbus send_msg;
diff --git a/redhat/core/tdebase/tdm.el7.te b/redhat/core/tdebase/tdm.el7.te
new file mode 100644
index 000000000..519ca0506
--- /dev/null
+++ b/redhat/core/tdebase/tdm.el7.te
@@ -0,0 +1,11 @@
+
+module tdm 1.0;
+
+require {
+ type fprintd_t;
+ type init_t;
+ class dbus send_msg;
+}
+
+#============= fprintd_t ==============
+allow fprintd_t init_t:dbus send_msg;
diff --git a/redhat/core/tdebase/tdm.el8.te b/redhat/core/tdebase/tdm.el8.te
new file mode 100644
index 000000000..519ca0506
--- /dev/null
+++ b/redhat/core/tdebase/tdm.el8.te
@@ -0,0 +1,11 @@
+
+module tdm 1.0;
+
+require {
+ type fprintd_t;
+ type init_t;
+ class dbus send_msg;
+}
+
+#============= fprintd_t ==============
+allow fprintd_t init_t:dbus send_msg;
diff --git a/redhat/core/tdebase/tdm.el9.te b/redhat/core/tdebase/tdm.el9.te
new file mode 120000
index 000000000..034e33247
--- /dev/null
+++ b/redhat/core/tdebase/tdm.el9.te
@@ -0,0 +1 @@
+tdm.el8.te \ No newline at end of file
diff --git a/redhat/core/tdebase/tdm.fc34.te b/redhat/core/tdebase/tdm.fc34.te
new file mode 100644
index 000000000..afe6de52a
--- /dev/null
+++ b/redhat/core/tdebase/tdm.fc34.te
@@ -0,0 +1,11 @@
+
+module tdm 1.0;
+
+require {
+ type fprintd_t;
+ type init_t;
+ class dbus send_msg;
+}
+
+#============= fprintd_t ==============
+allow fprintd_t init_t:dbus send_msg;
diff --git a/redhat/core/tdebase/tdm.fc35.te b/redhat/core/tdebase/tdm.fc35.te
new file mode 100644
index 000000000..afe6de52a
--- /dev/null
+++ b/redhat/core/tdebase/tdm.fc35.te
@@ -0,0 +1,11 @@
+
+module tdm 1.0;
+
+require {
+ type fprintd_t;
+ type init_t;
+ class dbus send_msg;
+}
+
+#============= fprintd_t ==============
+allow fprintd_t init_t:dbus send_msg;
diff --git a/redhat/core/tdebase/tdm.fc36.te b/redhat/core/tdebase/tdm.fc36.te
new file mode 100644
index 000000000..afe6de52a
--- /dev/null
+++ b/redhat/core/tdebase/tdm.fc36.te
@@ -0,0 +1,11 @@
+
+module tdm 1.0;
+
+require {
+ type fprintd_t;
+ type init_t;
+ class dbus send_msg;
+}
+
+#============= fprintd_t ==============
+allow fprintd_t init_t:dbus send_msg;
diff --git a/redhat/core/tdebase/tdm.fc37.te b/redhat/core/tdebase/tdm.fc37.te
new file mode 100644
index 000000000..afe6de52a
--- /dev/null
+++ b/redhat/core/tdebase/tdm.fc37.te
@@ -0,0 +1,11 @@
+
+module tdm 1.0;
+
+require {
+ type fprintd_t;
+ type init_t;
+ class dbus send_msg;
+}
+
+#============= fprintd_t ==============
+allow fprintd_t init_t:dbus send_msg;
diff --git a/redhat/core/tdebase/tdm.service.el9 b/redhat/core/tdebase/tdm.service.el9
new file mode 120000
index 000000000..87f56ea08
--- /dev/null
+++ b/redhat/core/tdebase/tdm.service.el9
@@ -0,0 +1 @@
+tdm.service.el7 \ No newline at end of file
diff --git a/redhat/core/tdebase/tdm.service.fc34 b/redhat/core/tdebase/tdm.service.fc34
new file mode 100644
index 000000000..9ef7e07ff
--- /dev/null
+++ b/redhat/core/tdebase/tdm.service.fc34
@@ -0,0 +1,12 @@
+[Unit]
+Description=The Trinity login manager
+Conflicts=getty@tty1.service
+After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service
+
+[Service]
+ExecStart=/opt/trinity/bin/tdm
+Restart=always
+IgnoreSIGPIPE=no
+
+[Install]
+Alias=display-manager.service
diff --git a/redhat/core/tdebase/tdm.service.fc35 b/redhat/core/tdebase/tdm.service.fc35
new file mode 100644
index 000000000..9ef7e07ff
--- /dev/null
+++ b/redhat/core/tdebase/tdm.service.fc35
@@ -0,0 +1,12 @@
+[Unit]
+Description=The Trinity login manager
+Conflicts=getty@tty1.service
+After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service
+
+[Service]
+ExecStart=/opt/trinity/bin/tdm
+Restart=always
+IgnoreSIGPIPE=no
+
+[Install]
+Alias=display-manager.service
diff --git a/redhat/core/tdebase/tdm.service.fc36 b/redhat/core/tdebase/tdm.service.fc36
new file mode 100644
index 000000000..9ef7e07ff
--- /dev/null
+++ b/redhat/core/tdebase/tdm.service.fc36
@@ -0,0 +1,12 @@
+[Unit]
+Description=The Trinity login manager
+Conflicts=getty@tty1.service
+After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service
+
+[Service]
+ExecStart=/opt/trinity/bin/tdm
+Restart=always
+IgnoreSIGPIPE=no
+
+[Install]
+Alias=display-manager.service
diff --git a/redhat/core/tdebase/tdm.service.fc37 b/redhat/core/tdebase/tdm.service.fc37
new file mode 100644
index 000000000..9ef7e07ff
--- /dev/null
+++ b/redhat/core/tdebase/tdm.service.fc37
@@ -0,0 +1,12 @@
+[Unit]
+Description=The Trinity login manager
+Conflicts=getty@tty1.service
+After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service
+
+[Service]
+ExecStart=/opt/trinity/bin/tdm
+Restart=always
+IgnoreSIGPIPE=no
+
+[Install]
+Alias=display-manager.service
diff --git a/redhat/core/tdebase/tdm.service.mga8 b/redhat/core/tdebase/tdm.service.mga8
new file mode 100644
index 000000000..eda2906e2
--- /dev/null
+++ b/redhat/core/tdebase/tdm.service.mga8
@@ -0,0 +1,12 @@
+[Unit]
+Description=Trinity Display Manager
+Documentation=man:tdm(1)
+Conflicts=getty@tty1.service
+After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service systemd-logind.service
+
+[Service]
+ExecStart=/opt/trinity/bin/tdm
+Restart=always
+
+[Install]
+Alias=display-manager.service
diff --git a/redhat/core/tdebase/trinity-tdebase-rpmlintrc b/redhat/core/tdebase/trinity-tdebase-rpmlintrc
new file mode 100644
index 000000000..8d22f2fc6
--- /dev/null
+++ b/redhat/core/tdebase/trinity-tdebase-rpmlintrc
@@ -0,0 +1,3 @@
+setBadness('permissions-file-setuid-bit', 0)
+setBadness('library-without-ldconfig-postun', 0)
+setBadness('library-without-ldconfig-postin', 0)
diff --git a/redhat/core/tdebase/xdm.oss114 b/redhat/core/tdebase/xdm.oss114
new file mode 100755
index 000000000..aabe4afb3
--- /dev/null
+++ b/redhat/core/tdebase/xdm.oss114
@@ -0,0 +1,349 @@
+#! /bin/bash
+# Copyright (c) 1996-2002 SuSE Linux AG, Nuernberg, Germany.
+# All rights reserved.
+#
+# Author: Florian La Roche, 1996
+# Werner Fink <werner@suse.de>, 1996,98,99
+# Martin Scherbaum, 1997
+# Reinhard Max <max@suse.de>, 1997
+#
+# Please send feedback to http://www.suse.de/feedback
+#
+# /etc/init.d/xdm
+#
+### BEGIN INIT INFO
+# Provides: xdm
+# Required-Start: $remote_fs dbus
+# Required-Stop: $remote_fs
+# Should-Start: ypbind $syslog gpm firstboot kbd resmgr earlyxdm winbind acpid ntp
+# Should-Stop: ypbind $syslog gpm firstboot kbd resmgr earlyxdm winbind acpid ntp
+# Default-Start: 5
+# Default-Stop:
+# Description: X Display Manager
+### END INIT INFO
+
+. /etc/rc.status
+. /etc/sysconfig/displaymanager
+. /etc/sysconfig/language
+. /etc/sysconfig/windowmanager
+test -e /etc/SuSEconfig/profile && . /etc/SuSEconfig/profile
+test -r /etc/profile.d/desktop-data.sh && . /etc/profile.d/desktop-data.sh
+
+locale_vars=" \
+LANG \
+LC_CTYPE \
+LC_NUMERIC \
+LC_TIME \
+LC_COLLATE \
+LC_MONETARY \
+LC_MESSAGES \
+LC_PAPER \
+LC_NAME \
+LC_ADDRESS \
+LC_TELEPHONE \
+LC_MEASUREMENT \
+LC_IDENTIFICATION \
+LC_ALL"
+
+unset LC_ALL
+for lc in $locale_vars
+do
+ eval val="\$RC_$lc"
+ if test -n "$val"; then
+ eval $lc="\$RC_$lc"
+ export $lc
+ fi
+done
+unset lc val
+
+if test -z "$WINDOWMANAGER" ; then
+ SAVEPATH=$PATH
+ PATH=$PATH:/usr/X11R6/bin:/usr/openwin/bin
+ desktop=/usr/share/xsessions/${DEFAULT_WM}.desktop
+ if test -s "$desktop" ; then
+ while read -r line; do
+ case ${line} in
+ Exec=*) WINDOWMANAGER="$(command -v ${line#Exec=})"
+ break
+ esac
+ done < $desktop
+ fi
+ if test -n "$DEFAULT_WM" -a -z "$WINDOWMANAGER" ; then
+ WINDOWMANAGER="$(command -v ${DEFAULT_WM##*/})"
+ fi
+ PATH=$SAVEPATH
+ unset SAVEPATH desktop
+fi
+unset DEFAULT_WM
+export WINDOWMANAGER
+
+XDM_PIDFILE="/var/run/xdm.pid"
+KDM_PIDFILE="/var/run/kdm.pid"
+TDM_PIDFILE="/var/run/tdm.pid"
+GDM_PIDFILE="/var/run/gdm.pid"
+SLIM_PIDFILE="/var/run/slim.lock"
+LXDM_PIDFILE="/var/run/lxdm.pid"
+ENTRANCE_PIDFILE="/var/run/entrance.pid"
+PIDFILE=$XDM_PIDFILE
+KDEROOTHOME=/root/.kdm
+export KDEROOTHOME
+XDMDIR=/etc/X11/xdm
+if [ -x /usr/bin/xdm ]; then
+ XDM_BIN=/usr/bin/xdm
+else
+ XDM_BIN=/usr/X11R6/bin/xdm
+fi
+if [ -x /usr/sbin/gdm ]; then
+ GDM_BIN=/usr/sbin/gdm
+else
+ GDM_BIN=/opt/gnome/sbin/gdm
+fi
+KDM_BIN=/opt/kde3/bin/kdm
+TDM_BIN=/opt/trinity/bin/kdm
+KDM4_BIN=/usr/bin/kdm
+WDM_BIN=/usr/bin/wdm
+SLIM_BIN=/usr/bin/slim
+LXDM_BIN=/usr/bin/lxdm
+ENTRANCE_BIN=/usr/sbin/entranced
+RELOADSIGNAL="-HUP"
+
+DM=${DISPLAYMANAGER##*/}
+
+case "${DM}" in
+ kdm3) DISPLAYMANAGER=$KDM_BIN
+ PIDFILE=$KDM_PIDFILE
+ ;;
+ tdm) DISPLAYMANAGER=$TDM_BIN
+ PIDFILE=$TDM_PIDFILE
+ ;;
+ kdm|kde|KDM|KDE) DISPLAYMANAGER=$KDM_BIN
+ if [ ! -r "$DISPLAYMANAGER" ]; then
+ DISPLAYMANAGER=$KDM4_BIN
+ fi
+ PIDFILE=$KDM_PIDFILE
+ ;;
+ kdm4) DISPLAYMANAGER=$KDM4_BIN
+ PIDFILE=$KDM_PIDFILE
+ ;;
+ xdm) DISPLAYMANAGER=$XDM_BIN
+ ;;
+ gdm|GDM|Gnome|GNOME) DISPLAYMANAGER=$GDM_BIN
+ PIDFILE=$GDM_PIDFILE
+ RELOADSIGNAL="-USR1"
+ ;;
+ wdm|WDM) DISPLAYMANAGER=$WDM_BIN
+ ;;
+ slim|SLIM) DISPLAYMANAGER=$SLIM_BIN
+ XDMOPTIONS=-d
+ PIDFILE=$SLIM_PIDFILE
+ ;;
+ lxdm|LXDM) DISPLAYMANAGER=$LXDM_BIN
+ XDMOPTIONS=-d
+ PIDFILE=$LXDM_PIDFILE
+ ;;
+ entrance)
+ DISPLAYMANAGER=$ENTRANCE_BIN
+ PIDFILE=$ENTRANCE_PIDFILE
+ ;;
+ console) exit 0
+ ;;
+ *) DISPLAYMANAGER=$XDM_BIN
+ if test -x $KDM_BIN; then
+ DISPLAYMANAGER=$KDM_BIN
+ PIDFILE=$KDM_PIDFILE
+ elif test -x $KDM4_BIN; then
+ DISPLAYMANAGER=$KDM4_BIN
+ PIDFILE=$KDM_PIDFILE
+ fi
+ ;;
+esac
+test ! -x "$DISPLAYMANAGER" && DISPLAYMANAGER=$XDM_BIN
+
+rc_reset
+
+splashcopy()
+{
+ local from=$1
+ local to=$2
+ if [ "$SPLASH" = yes ]
+ then
+ ver=$(sed "s/.*v\([[:digit:]]\)\.\([[:digit:]]\).*/\\1\\2/" /proc/splash)
+ if [ $ver -gt 31 ]
+ then
+ echo "copy $from $to" > /proc/splash
+ echo "@$to silent" > /proc/splash
+ echo "@$to show -1" > /proc/splash
+ fi
+ fi
+}
+
+case "$1" in
+ start)
+ if [ "$DISPLAYMANAGER" = "$KDM4_BIN" ] \
+ || [ "$DISPLAYMANAGER" = "$GDM_BIN" ]; then
+ splashcopy 0 6
+ fi
+ # Avoid duplicated messages when earlyxdm is in use
+ if [ "$DISPLAYMANAGER" = "$KDM_BIN" -a -s $KDM_PIDFILE ]; then
+ /sbin/checkproc -p $KDM_PIDFILE $KDM_BIN && rc_exit 0
+ elif [ "$DISPLAYMANAGER" = "$TDM_BIN" -a -s $TDM_PIDFILE ]; then
+ /sbin/checkproc -p $TDM_PIDFILE $TDM_BIN && rc_exit 0
+ elif [ "$DISPLAYMANAGER" = "$KDM4_BIN" -a -s $KDM_PIDFILE ]; then
+ /sbin/checkproc -p $KDM_PIDFILE $KDM4_BIN && rc_exit 0
+ elif [ "$DISPLAYMANAGER" = "$GDM_BIN" -a -s $GDM_PIDFILE ]; then
+ /sbin/checkproc -p $GDM_PIDFILE $GDM_BIN && rc_exit 0
+ elif [ "$DISPLAYMANAGER" = "$ENTRANCE_BIN" -a -s $ENTRANCE_PIDFILE ]; then
+ /sbin/checkproc -p $ENTRANCE_PIDFILE $ENTRANCE_BIN && rc_exit 0
+ fi
+
+ if [ "$DISPLAYMANAGER" != "$KDM_BIN" -a \
+ "$DISPLAYMANAGER" != "$TDM_BIN" -a \
+ "$DISPLAYMANAGER" != "$KDM4_BIN" -a \
+ "$DISPLAYMANAGER" != "$ENTRANCE_BIN" -a \
+ "$DISPLAYMANAGER" != "$GDM_BIN" ]; then
+ test -x /etc/X11/xdm/SuSEconfig.xdm && \
+ MD5DIR="/var/adm/SuSEconfig/md5" \
+ /etc/X11/xdm/SuSEconfig.xdm | \
+ sed 's+\(.*\)+/etc/init.d/xdm: \1+g' | \
+ /bin/logger
+ fi
+
+ # use system keyboard as global X keyboard configuration
+ if [ -x /etc/X11/xdm/keytable ]; then
+ /etc/X11/xdm/keytable
+ fi
+
+ echo -n "Starting service $DM"
+ # Don't start xdm if no Xserver is configured and xdm is not
+ # configured for remote access
+ if [ ! -x /usr/bin/X -a ! -x /usr/X11R6/bin/X -a \
+ "$DISPLAYMANAGER_REMOTE_ACCESS" = "no" ]; then
+ rc_status -u
+ rc_exit
+ fi
+ if [ "$DISPLAYMANAGER" = "$GDM_BIN" -a \
+ "$DISPLAYMANAGER_REMOTE_ACCESS" = "yes" -a \
+ "$DISPLAYMANAGER_STARTS_XSERVER" = "no" ]; then
+ XDMOPTIONS="--no-console"
+ fi
+ # Graphical failsafe mode (Bug #246158).
+ #
+ # Needs changes in kernel commandline of "Failsafe" entry in
+ # /boot/grub/menu.lst.
+ #
+ # * use the same "vga" option value as in the non-"Failsafe" entry
+ # * remove "3" option (runlevel)
+ # * add "x11failsafe" option
+ if cat /proc/cmdline | grep -q x11failsafe; then
+ if [ -f /etc/X11/xorg.conf.install ]; then
+ export XORGCONFIG=xorg.conf.install
+ echo
+ echo "Using failsafe X.Org configuration /etc/X11/xorg.conf.install"
+ else
+ echo
+ echo "The failsafe X.Org configuration /etc/X11/xorg.conf.install no longer exists."
+ echo "Either move it back (if still available) or copy /etc/X11/xorg.conf to"
+ echo "/etc/X11/xorg.conf.install to use the native graphics driver instead of the"
+ echo "failsafe graphics driver. Of course the latter option no longer can be called"
+ echo "failsafe."
+ rc_status -u
+ rc_exit
+ fi
+ fi
+ startproc -p $PIDFILE $DISPLAYMANAGER $XDMOPTIONS || rc_failed
+ # After a crash or a kill signal we may have
+ # a wrong owner ship of /dev/xconsole
+ if rc_status ; then
+ if test -x $XDMDIR/TakeDevices ; then
+ $XDMDIR/TakeDevices
+ else
+ chown root:tty /dev/xconsole /dev/tty0
+ chmod 622 /dev/xconsole /dev/tty0
+ fi
+ else
+ case "${DM}" in
+ slim|SLIM)
+ test -s $PIDFILE || pgrep -f $DISPLAYMANAGER > $PIDFILE
+ esac
+ fi
+ rc_status -v
+ ;;
+ stop)
+ # make sure to stop the running one (Bug #306035)
+ if test -s "$KDM_PIDFILE"; then
+ PIDFILE=$KDM_PIDFILE
+ elif test -s "$TDM_PIDFILE"; then
+ PIDFILE=$TDM_PIDFILE
+ elif test -s "$GDM_PIDFILE"; then
+ PIDFILE=$GDM_PIDFILE
+ elif test -s "$XDM_PIDFILE"; then
+ PIDFILE=$XDM_PIDFILE
+ elif test -s "$SLIM_PIDFILE"; then
+ PIDFILE=$SLIM_PIDFILE
+ elif test -s "$LXDM_PIDFILE"; then
+ PIDFILE=$LXDM_PIDFILE
+ elif test -s "$ENTRANCE_PIDFILE"; then
+ PIDFILE=$ENTRANCE_PIDFILE
+ fi
+ if test -s $PIDFILE; then
+ read -t 1 PID < $PIDFILE
+ if CHECKDM=$(ps ho command= -p $PID) ; then
+ DISPLAYMANAGER=${CHECKDM%%[[:blank:]]*}
+ DM=${DISPLAYMANAGER##*/}
+ fi
+ unset CHECKDM
+ else
+ rm -f $PIDFILE
+ unset PIDFILE
+ fi
+ echo -n "Shutting down service $DM"
+
+ #
+ # killproc(8) sleep upto five seconds and sends
+ # SIGKILL if xdm does not terminate within
+ #
+
+ killproc ${PIDFILE:+-p ${PIDFILE}} $DISPLAYMANAGER
+ rc_status -v
+ ;;
+ restart)
+ $0 stop
+ $0 start
+ rc_status
+ ;;
+ reload|force-reload)
+ test -x /etc/X11/xdm/SuSEconfig.xdm && \
+ MD5DIR="/var/adm/SuSEconfig/md5" \
+ /etc/X11/xdm/SuSEconfig.xdm | \
+ sed 's+\(.*\)+/etc/init.d/xdm: \1+g' | \
+ /bin/logger
+ echo -n "Reload service $DM"
+ killproc -p $PIDFILE $RELOADSIGNAL $DISPLAYMANAGER
+ rc_status -v
+ ;;
+ status|check)
+ echo -n "Checking for service ${DM}: "
+ checkproc -p $PIDFILE $DISPLAYMANAGER
+ rc_status -v
+ ;;
+ probe)
+ if test $XDMDIR/xdm-config -nt $PIDFILE -o \
+ $XDMDIR/Xservers -nt $PIDFILE
+ then
+ echo reload
+ fi
+ ;;
+ try-restart|condrestart)
+ $0 status
+ if test $? = 0; then
+ $0 restart
+ else
+ rc_reset
+ fi
+ rc_status
+ ;;
+ *)
+ echo "Usage: $0 {start|stop|status|restart|reload|force-reload|probe|try-restart}"
+ exit 1
+esac
+rc_exit
diff --git a/redhat/core/tdebindings/filter-requires.sh b/redhat/core/tdebindings/filter-requires.sh
new file mode 100644
index 000000000..da6c04566
--- /dev/null
+++ b/redhat/core/tdebindings/filter-requires.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ -x /usr/lib/rpm/redhat/find-requires ] ; then
+FINDREQ=/usr/lib/rpm/redhat/find-requires
+else
+FINDREQ=/usr/lib/rpm/find-requires
+fi
+
+$FINDREQ $* | sed -e '/libcairo.so.2/d' -e '/libpangocairo-1.0.so.0/d'
diff --git a/redhat/core/tdebindings/tdebindings.spec b/redhat/core/tdebindings/tdebindings.spec
new file mode 100644
index 000000000..3a827ab6d
--- /dev/null
+++ b/redhat/core/tdebindings/tdebindings.spec
@@ -0,0 +1,1232 @@
+#
+# spec file for package tdebindings (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# Required for PCLinuxOS: removes the ldflag '--no-undefined'
+%if 0%{?pclinuxos}
+%define _disable_ld_no_undefined 1
+%endif
+
+# BUILD WARNING:
+# Remove qt-devel and qt3-devel and any kde*-devel on your system !
+# Having KDE libraries may cause FTBFS here !
+
+# TDE variables
+%define tde_epoch 2
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdebindings
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+# Special note for RHEL4:
+# You must create symlink 'libgcj.so' manually because it does not exist by default.
+# E.g:
+# ln -s /usr/lib/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so
+# or 64 bits:
+# ln -s /usr/lib64/libgcj.so.5.0.0 /usr/lib/jvm/java/lib/libgcj.so
+
+Name: trinity-%{tde_pkg}
+Summary: TDE bindings to non-C++ languages
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+Group: System/GUI/Other
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Desktop
+#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: %{name}-rpmlintrc
+
+BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: gcc-c++
+BuildRequires: desktop-file-utils
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+# ZLIB support
+BuildRequires: zlib-devel
+
+# PERL module support
+BuildRequires: perl(ExtUtils::MakeMaker)
+
+# GTK2 support
+%if 0%{?rhel} == 4
+BuildRequires: evolution28-gtk2-devel
+Requires: evolution28-gtk2
+BuildRequires: evolution28-glib2-devel
+Requires: evolution28-glib2
+BuildRequires: evolution28-cairo-devel
+Requires: evolution28-cairo
+BuildRequires: evolution28-pango-devel
+Requires: evolution28-pango
+BuildRequires: evolution28-atk-devel
+Requires: evolution28-atk
+%else
+BuildRequires: gtk2-devel
+%endif
+
+# XULRUNNER support
+%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220
+#BuildRequires: xulrunner-devel
+%endif
+%if 0%{?suse_version} == 1140
+BuildRequires: mozilla-xulrunner20-devel
+%endif
+
+# OPENSSL support
+BuildRequires: openssl-devel
+
+# GTK1 support
+%if 0%{?fedora} || (0%{?rhel} >= 5 && 0%{?rhel} <= 7)
+%define with_gtk1 1
+BuildRequires: glib-devel
+BuildRequires: gtk+-devel
+%endif
+%if 0%{?rhel} == 5 || 0%{?rhel} == 6
+%if 0%{?with_gtk1}
+%define with_gtk1 1
+BuildRequires: glib-devel
+BuildRequires: gtk+-devel
+%endif
+%endif
+%if 0%{?mdkversion} == 201100
+%define with_gtk1 1
+BuildRequires: %{_lib}glib1.2-devel
+BuildRequires: %{_lib}gtk+-devel
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?pclinuxos}
+BuildRequires: libgdk_pixbuf2.0-devel
+%else
+BuildRequires: %{_lib}gdk_pixbuf2.0-devel
+%endif
+%endif
+%if 0%{?fedora}
+%if 0%{?fedora} >= 17
+BuildRequires: gdk-pixbuf2-devel
+%else
+BuildRequires: gdk-pixbuf-devel
+%endif
+%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
+%if 0%{?suse_version}
+BuildRequires: Mesa-libGL-devel
+BuildRequires: Mesa-libGLU-devel
+%endif
+
+# PYTHON support
+%if 0%{?sle_version} >= 150400 || 0%{?rhel} >= 9
+%define with_python 0
+%global __python %__python3
+%else
+%define with_python 1
+%if 0%{?rhel} >= 7 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 || 0%{?mgaversion} >= 7
+%global python python2
+%global __python %__python2
+%global python_sitearch %{python2_sitearch}
+%else
+%global python python
+%endif
+%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+BuildRequires: %{python}
+BuildRequires: %{python}-devel
+%endif
+
+## ruby
+BuildRequires: ruby-devel >= 1.8
+BuildRequires: ruby >= 1.8
+%if 0%{?fedora} >= 19
+BuildRequires: rubypick
+%endif
+
+# Check for Ruby library directory
+%if "%{?ruby_libarchdir}" != ""
+%define ruby_arch %{?ruby_libarchdir}
+%else
+%if "%{?rb_archdir}" != ""
+%define ruby_arch %{?rb_archdir}
+%else
+%if "%{%ruby_archdir}" != ""
+%define ruby_arch %{?ruby_archdir}
+%else
+%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]' || ruby -rrbconfig -e 'puts RbConfig::CONFIG["archdir"]')}
+%endif
+%endif
+%endif
+%if 0%{?rhel} == 5 || 0%{?rhel} == 6
+%define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')
+%endif
+%if 0%{?pclinuxos}
+%define ruby_arch %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["archdir"]')
+%endif
+
+%if "%{?ruby_libdir}" != ""
+%define ruby_rubylibdir %{?ruby_libdir}
+%else
+%if "%{?rb_libdir}" != ""
+%define ruby_rubylibdir %{?rb_libdir}
+%else
+%{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]' || ruby -rrbconfig -e 'puts RbConfig::CONFIG["rubylibdir"]')}
+%endif
+%endif
+
+# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file)
+%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/')
+
+## java
+%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
+BuildRequires: java-1.4.2-gcj-compat-devel
+BuildRequires: libgcj-devel
+BuildRequires: gcc-java
+%endif
+
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+
+# PCLinuxOS use SUN's Java
+%if 0%{?pclinuxos}
+BuildRequires: java-devel
+%else
+
+# Others use OpenJDK
+BuildRequires: java-openjdk
+BuildRequires: java-devel >= 1.4.2
+%if 0%{?suse_version} >= 1320
+BuildRequires: java-1_8_0-openjdk-devel
+%endif
+%if 0%{?fedora} >= 21 || 0%{?mgaversion} >= 5 || 0%{?rhel} >= 8
+BuildRequires: java-1.8.0-openjdk-devel
+%endif
+%if 0%{?fedora} == 17 || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?fedora} == 20 || 0%{?suse_version} == 1230 || 0%{?suse_version} == 1310 || 0%{?mgaversion} == 3 || 0%{?mgaversion} == 4 || 0%{?rhel} == 7
+BuildRequires: java-1.7.0-openjdk-devel
+%endif
+%if 0%{?rhel} == 5 || 0%{?rhel} == 6
+BuildRequires: java-1.6.0-openjdk-devel
+%endif
+
+%endif
+%endif
+
+%if 0%{?suse_version}
+%define java_home %{_usr}/%{_lib}/jvm/java
+%else
+%if 0%{?rhel} == 4
+%define java_home %{_usr}/lib/jvm/java-1.4.2-gcj-1.4.2.0
+%else
+%define java_home %{_usr}/lib/jvm/java
+%endif
+%endif
+%if 0%{?pclinuxos} == 0
+%define with_java 1
+%endif
+
+## Perl
+# There is no 'perl-devel' package on RHEL5
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: perl-devel
+%endif
+%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)}
+
+## QScintilla
+BuildRequires: libtqscintilla-devel >= %{?tde_epoch:%{tde_epoch}:}1.7.1
+%define with_qscintilla 1
+
+Obsoletes: trinity-kdebindings < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdebindings = %{?epoch:%{epoch}:}%{version}-%{release}
+
+# Metapackage requires
+%if 0%{?with_java}
+Requires: trinity-tdebindings-java = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-juic = %{?epoch:%{epoch}:}%{version}-%{release}
+%endif
+Requires: trinity-libsmoketqt = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libsmoketde = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: perl-dcop = %{?epoch:%{epoch}:}%{version}-%{release}
+%if 0%{with_python}
+Requires: python-dcop = %{?epoch:%{epoch}:}%{version}-%{release}
+%endif
+Requires: trinity-libkjsembed1 = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kjscmd = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkorundum0-ruby = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libqt0-ruby = %{?epoch:%{epoch}:}%{version}-%{release}
+
+
+%description
+TDE/DCOP bindings to non-C++ languages
+
+%files
+%defattr(-,root,root,-)
+
+##########
+
+%package java
+Summary: TDE Java bindings metapackage [Trinity]
+Group: System/Libraries
+Requires: trinity-libdcop3-java = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libdcop3-jni = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libqt3-java = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libtqt3-jni = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libtrinity-java = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libtrinity-jni = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description java
+A metapackage depending on all TDE, Qt and DCOP bindings libraries
+related to the Java language.
+
+This package is part of the official TDE bindings module.
+
+%files java
+%defattr(-,root,root,-)
+
+##########
+
+%if 0%{?with_java}
+
+%package -n trinity-libdcop3-java
+Summary: DCOP bindings for Java [Trinity]
+Group: System/Libraries
+
+Requires: trinity-libdcop3-jni = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libdcop3-java
+This package contains the Java classes necessary to run Java programs
+using the Java DCOP bindings. DCOP is the TDE Desktop COmmunications
+Protocol, used for communicating with running TDE applications.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libdcop3-java
+%defattr(-,root,root,-)
+%{tde_libdir}/java/org/
+
+%endif
+
+##########
+
+%if 0%{?with_java}
+
+%package -n trinity-libdcop3-java-devel
+Summary: DCOP bindings for Java (dcopidl2java program) [Trinity]
+Group: Development/Languages/Java
+Requires: trinity-libdcop3-java = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libdcop3-java-devel
+This package contains the dcopidl2java program which generates Java
+stubs from DCOP IDL files, necessary to do development with the DCOP Java
+bindings. DCOP is the TDE Desktop COmmunications Protocol, used for
+communicating with running TDE applications.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libdcop3-java-devel
+%defattr(-,root,root,-)
+%{tde_bindir}/dcopidl2java
+%{tde_mandir}/man1/dcopidl2java.1*
+
+%endif
+
+##########
+
+%if 0%{?with_java}
+
+%package -n trinity-libdcop3-jni
+Summary: DCOP bindings for Java ( Native libraries ) [Trinity]
+Group: System/Libraries
+
+%description -n trinity-libdcop3-jni
+This package contains the shared libraries and scripts necessary to
+run programs using the Java DCOP bindings. DCOP is the TDE Desktop
+COmmunications Protocol, used for communicating with running TDE
+applications.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libdcop3-jni
+%defattr(-,root,root,-)
+%{tde_libdir}/libjavadcop.la
+%{tde_libdir}/libjavadcop.so
+
+%endif
+
+##########
+
+%if 0%{?with_java}
+
+%package -n trinity-libqt3-java
+Summary: Java bindings for Qt [Trinity]
+Group: System/Libraries
+Requires: trinity-libdcop3-jni = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libtqt3-jni = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-juic = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libqt3-java
+This package contains the Java classes necessary to run Java programs
+using the Java Qt bindings. Qt is a very popular GUI toolkit, used by
+the TDE desktop environment.
+
+It also includes many example programs that make use of these bindings,
+plus many of the Qt Tutorial examples translated into Java.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libqt3-java
+%defattr(-,root,root,-)
+%{tde_libdir}/java/qtjava*.jar
+%{tde_tdedocdir}/HTML/en/javalib/
+
+%endif
+
+##########
+
+%if 0%{?with_java}
+
+%package -n trinity-libtqt3-jni
+Summary: Java bindings for TQt ( Native libraries ) [Trinity]
+Group: System/Libraries
+
+Obsoletes: trinity-libqt3-jni < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-libqt3-jni = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libtqt3-jni
+This package contains the shared libraries necessary to run Java
+programs using the Java Qt bindings. Qt is a very popular GUI
+toolkit, used by the TDE desktop environment.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libtqt3-jni
+%defattr(-,root,root,-)
+%{tde_libdir}/lib*qtjavasupport.la
+%{tde_libdir}/lib*qtjavasupport.so.*
+%{tde_libdir}/jni/lib*qtjava.la
+%{tde_libdir}/jni/lib*qtjava.so.*
+%doc qtjava/ChangeLog
+
+%endif
+
+##########
+
+%if 0%{?with_java}
+
+%package -n trinity-libtqt3-jni-devel
+Summary: Development files fo Java bindings for TQt ( Native libraries ) [Trinity]
+Group: Development/Languages/Java
+Requires: trinity-libtqt3-jni = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Obsoletes: trinity-libqt3-jni-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-libqt3-jni-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libtqt3-jni-devel
+This package contains the development files for trinity-libtqt3-jni.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libtqt3-jni-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/lib*qtjavasupport.so
+%{tde_libdir}/jni/lib*qtjava.so
+
+%endif
+
+##########
+
+%if 0%{?with_java}
+
+%package -n trinity-libtrinity-java
+Summary: Tdelibs bindings for Java [Trinity]
+Group: System/Libraries
+
+Requires: trinity-libtrinity-jni = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libtrinity-java
+This package contains the Java classes necessary to run Java programs
+using the Java tdelibs bindings. TDE is the Trinity Desktop Environment, a
+very popular UNIX Desktop Environment.
+
+It also includes some example applications that use these Java
+classes, and multiple usage samples of the most common TDE classes.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libtrinity-java
+%defattr(-,root,root,-)
+%{tde_libdir}/java/koala*.jar
+
+%endif
+
+##########
+
+%if 0%{?with_java}
+
+%package -n trinity-libtrinity-jni
+Summary: Tdelibs bindings for java ( Native libraries ) [Trinity]
+Group: System/Libraries
+
+%description -n trinity-libtrinity-jni
+This package contains the shared libraries necessary to run Java
+programs using the Java tdelibs bindings. TDE is the Trinity Desktop
+Environment, a very popular UNIX Desktop Environment.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libtrinity-jni
+%defattr(-,root,root,-)
+%{tde_libdir}/jni/libtdejava.la
+%{tde_libdir}/jni/libtdejava.so.*
+%doc tdejava/ChangeLog
+
+%endif
+
+##########
+
+%if 0%{?with_java}
+
+%package -n trinity-libtrinity-jni-devel
+Summary: Development files for tdelibs bindings for java ( Native libraries ) [Trinity]
+Group: Development/Languages/Java
+Requires: trinity-libtrinity-jni = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libtrinity-jni-devel
+This package contains the development files for trinity-libtrinity-jni.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libtrinity-jni-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/jni/libtdejava.so
+
+%endif
+
+##########
+
+%package -n trinity-libsmoketqt
+Summary: SMOKE Binding Library to Qt
+Group: System/Libraries
+
+Obsoletes: trinity-libsmokeqt1 < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-libsmokeqt1 = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libsmoketqt
+The "Scripting Meta Object Kompiler Engine" library is used by
+various TDE language bindings packages to provide interfaces to the
+Qt library.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libsmoketqt
+%defattr(-,root,root,-)
+%{tde_libdir}/libsmoketqt.so.*
+
+##########
+
+%package -n trinity-libsmoketqt-devel
+Summary: SMOKE Binding Library to TQt - Development Files
+Group: Development/Languages/Other
+Requires: trinity-libsmoketqt = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Obsoletes: trinity-libsmokeqt-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-libsmokeqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libsmoketqt-devel
+The "Scripting Meta Object Kompiler Engine" library is used by
+various TDE language bindings packages to provide interfaces to the
+Qt library. This package contains the development files for the
+library.
+
+If you are a normal user, you probably don't need this
+package.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libsmoketqt-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/smoke.h
+%{tde_libdir}/libsmoketqt.so
+%{tde_libdir}/libsmoketqt.la
+
+##########
+
+%package -n trinity-libsmoketde
+Summary: SMOKE Binding Library to TDE
+Group: System/Libraries
+
+Obsoletes: trinity-libsmokekde1 < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-libsmokekde1 = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libsmoketde
+The "Scripting Meta Object Kompiler Engine" library is used by
+various TDE language bindings packages to provide interfaces to the
+TDE libraries.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libsmoketde
+%defattr(-,root,root,-)
+%{tde_libdir}/libsmoketde.so.*
+
+##########
+
+%package -n trinity-libsmoketde-devel
+Summary: SMOKE Binding Library to TDE - Development Files
+Group: Development/Languages/Other
+Requires: trinity-libsmoketde = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Obsoletes: trinity-libsmokekde-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-libsmokekde-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libsmoketde-devel
+The "Scripting Meta Object Kompiler Engine" library is used by
+various TDE language bindings packages to provide interfaces to the
+Qt and TDE libraries. This package contains the development files for
+the library.
+
+If you are a normal user, you probably don't need this
+package.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libsmoketde-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libsmoketde.so
+%{tde_libdir}/libsmoketde.la
+
+##########
+
+%package -n perl-dcop
+Summary: DCOP Bindings for Perl
+Group: System/Libraries
+%if 0%{?suse_version}
+Requires: perl-base
+%else
+Requires: perl
+%endif
+
+Obsoletes: trinity-kdebindings-dcopperl < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdebindings-dcopperl = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Obsoletes: trinity-perl-dcop < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-perl-dcop = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n perl-dcop
+Perl bindings to the DCOP interprocess communication protocol used by TDE
+
+%files -n perl-dcop
+%defattr(-,root,root,-)
+%{perl_vendorarch}/auto/DCOP/
+%{perl_vendorarch}/DCOP.pm
+%{perl_vendorarch}/DCOP/
+%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO
+%{tde_mandir}/man3/DCOP.3pm*
+
+##########
+
+%if 0%{with_python}
+
+%package -n python-dcop
+Summary: DCOP bindings for Python
+Group: System/Libraries
+Requires: %{python}
+
+Obsoletes: trinity-python-dcop < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-python-dcop = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n python-dcop
+This package contains the shared libraries necessary to run and
+develop Python programs using the Python DCOP bindings
+libraries. DCOP is the TDE Desktop COmmunications Protocol, used for
+communicating with running TDE applications.
+
+This package is part of the official TDE bindings module.
+
+%files -n python-dcop
+%defattr(-,root,root,-)
+%{python_sitearch}/pcop.la
+%{python_sitearch}/pcop.so
+%{python_sitearch}/pydcop.py*
+
+%endif
+
+##########
+
+%package -n trinity-libkjsembed1
+Summary: Embedded JavaScript library
+Group: System/Libraries
+
+%description -n trinity-libkjsembed1
+This package contains the shared libraries necessary to run programs
+linked with the KJSEmbed library. This library provides JavaScript
+embedded scripting facilities to TDE applications.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libkjsembed1
+%defattr(-,root,root,-)
+%{tde_libdir}/libkjsembed.so.*
+%{tde_tdelibdir}/libimagefxplugin.la
+%{tde_tdelibdir}/libimagefxplugin.so
+%{tde_datadir}/services/imagefx_plugin.desktop
+%{tde_tdelibdir}/libqprocessplugin.so
+%{tde_tdelibdir}/libqprocessplugin.la
+%{tde_datadir}/services/qprocess_plugin.desktop
+%{tde_tdelibdir}/libfileitemplugin.la
+%{tde_tdelibdir}/libfileitemplugin.so
+%{tde_datadir}/services/tdefileitem_plugin.desktop
+%{tde_datadir}/apps/kjsembed/
+%{tde_datadir}/servicetypes/binding_type.desktop
+%{tde_bindir}/embedjs
+%{tde_datadir}/apps/embedjs/
+%{tde_tdeappdir}/embedjs.desktop
+%{tde_datadir}/icons/hicolor/16x16/apps/embedjs.png
+%{tde_datadir}/icons/hicolor/32x32/apps/embedjs.png
+%{tde_tdelibdir}/libjavascript.la
+%{tde_tdelibdir}/libjavascript.so
+%dir %{tde_datadir}/apps/kate
+%dir %{tde_datadir}/apps/kate/scripts
+%{tde_datadir}/apps/kate/scripts/swaptabs.js
+%{tde_datadir}/apps/kate/scripts/swaptabs.ui
+%{tde_datadir}/apps/kate/scripts/swaptabs.desktop
+%{tde_datadir}/services/javascript.desktop
+%doc kjsembed/docs/ChangeLog
+
+##########
+
+%package -n trinity-libkjsembed-devel
+Summary: Embedded JavaScript library (Development files)
+Group: Development/Libraries/Other
+Requires: trinity-libkjsembed1 = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libkjsembed-devel
+This package contains the header files and symbolic links necessary
+to develop and compile programs using the KJSEmbed library. This
+library provides JavaScript embedded scripting facilities to TDE
+applications.
+
+It also includes lots of example programs that make use of these
+bindings, plus comprehensive documentation of the bindings.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libkjsembed-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kjsembed/
+%{tde_libdir}/libkjsembed.so
+%{tde_libdir}/libkjsembed.la
+%{tde_docdir}/trinity-libkjsembed-devel/
+
+##########
+
+%package -n trinity-kjscmd
+Summary: A script interpreter using the TDE JavaScript library
+Group: System/Libraries
+Provides: %{tde_bindir}/kjscmd
+
+%description -n trinity-kjscmd
+This package contains the kjscmd program, which is a standalone
+JavaScript interpreter using the KJSEmbed library.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-kjscmd
+%defattr(-,root,root,-)
+%{tde_bindir}/kjscmd
+%{tde_tdeappdir}/kjscmd.desktop
+%{tde_mandir}/man1/kjscmd.*
+%{tde_tdelibdir}/libjsconsoleplugin.la
+%{tde_tdelibdir}/libjsconsoleplugin.so
+
+##########
+
+%if 0%{?with_java}
+%package -n trinity-juic
+Summary: The Qt Java UI Compiler
+Group: Development/Languages/Java
+Requires: trinity-libqt3-java = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-juic
+This package contains the juic program, which is used to convert
+a UI description file generated by the Qt Designer, and converts
+it into a Qt Java class. It is necessary for compiling and
+developing programs using the Qt Java bindings together with Qt
+Designer.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-juic
+%defattr(-,root,root,-)
+%{tde_bindir}/juic
+%{tde_datadir}/juic/
+%{tde_mandir}/man1/juic.1*
+%endif
+
+##########
+
+%package -n trinity-libkorundum0-ruby
+Summary: TDE bindings for Ruby [Trinity]
+Group: System/Libraries
+Requires: trinity-libqt0-ruby = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libkorundum0-ruby
+This package contains the files necessary for running and developing
+Ruby code using the Korundum TDE Ruby bindings.
+
+It also includes some example programs and templates that make use of
+these bindings.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libkorundum0-ruby
+%defattr(-,root,root,-)
+%{tde_bindir}/rbtdesh
+%{tde_bindir}/rbtdeapi
+%{tde_bindir}/krubyinit
+%{tde_bindir}/rbtdeconfig_compiler
+%{ruby_rubylibdir}/Korundum.rb
+%dir %{ruby_rubylibdir}/TDE
+%{ruby_rubylibdir}/TDE/korundum.rb
+%{ruby_arch}/korundum.la
+%{ruby_arch}/korundum.so*
+%doc korundum/ChangeLog
+%{tde_mandir}/man1/krubyinit.1*
+%{tde_mandir}/man1/rbtdeapi.1*
+%{tde_mandir}/man1/rbtdesh.1*
+
+##########
+
+%package -n trinity-libqt0-ruby
+Summary: Qt bindings for Ruby [Trinity]
+Group: System/Libraries
+Requires: ruby
+
+%description -n trinity-libqt0-ruby
+This package contains the files necessary for running and developing
+Ruby code using the Qt Ruby bindings.
+
+It also includes some example programs that make use of these bindings,
+plus many of the Qt Tutorial examples translated into Ruby.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libqt0-ruby
+%defattr(-,root,root,-)
+%{tde_bindir}/rbqtsh
+%{tde_bindir}/rbqtapi
+%{tde_bindir}/rbuic
+%{tde_bindir}/qtrubyinit
+%dir %{ruby_rubylibdir}/Qt
+%{ruby_rubylibdir}/Qt/qtruby.rb
+%{ruby_rubylibdir}/Qt.rb
+%{ruby_arch}/qtruby.so*
+%{ruby_arch}/qtruby.la
+%{ruby_arch}/tqui.so*
+%{ruby_arch}/tqui.la
+%doc qtruby/ChangeLog
+%{tde_mandir}/man1/qtrubyinit.1*
+%{tde_mandir}/man1/rbqtapi.1*
+%{tde_mandir}/man1/rbqtsh.1*
+%{tde_mandir}/man1/rbuic.1*
+
+##########
+
+%if 0
+%package -n trinity-kmozilla
+Summary: Kmozilla for TDE
+Group: System/Libraries
+
+%description -n trinity-kmozilla
+This package contains the kmozilla library fro TDE.
+
+%files -n trinity-kmozilla
+%defattr(-,root,root,-)
+%{tde_bindir}/kmozilla
+%{tde_libdir}/libkmozillapart.so.*
+%{tde_libdir}/libkmozillapart.so
+%{tde_libdir}/libkmozillapart.la
+%{tde_datadir}/services/kmozilla.desktop
+%endif
+
+##########
+
+%package -n trinity-xpart-notepad
+Summary: A small XPart editor
+Group: Productivity/Scientific/Math
+
+%description -n trinity-xpart-notepad
+xpart_notepad is a small XPart editor. Use it to understand how to use XPart.
+
+%files -n trinity-xpart-notepad
+%defattr(-,root,root,-)
+%{tde_bindir}/shell_xparthost
+%{tde_bindir}/xp_notepad
+%{tde_libdir}/libxp_notepadpart.la
+%{tde_libdir}/libxp_notepadpart.so
+%{tde_libdir}/libxp_notepadpart.so.*
+%{tde_datadir}/services/xp_notepad.desktop
+%doc xparts/xpart_notepad/README
+
+##########
+
+%if 0%{?with_gtk1}
+%package -n trinity-libgtkxparts1
+Summary: Xparts library for GTK
+Group: Development/Languages/Other
+
+%description -n trinity-libgtkxparts1
+This package contains the xparts library for GTK.
+
+%files -n trinity-libgtkxparts1
+%defattr(-,root,root,-)
+%{tde_libdir}/libgtkxparts.so.*
+%{tde_libdir}/libgtkxparts.la
+
+%endif
+
+##########
+
+%package -n trinity-libtdexparts
+Summary: Xparts library for TDE
+Group: Development/Languages/Other
+
+Obsoletes: trinity-libkdexparts1 < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-libkdexparts1 = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libtdexparts
+This package contains the xparts library for TDE.
+
+%files -n trinity-libtdexparts
+%defattr(-,root,root,-)
+%{tde_libdir}/libtdexparts.so.*
+%{tde_libdir}/libtdexparts.la
+
+##########
+
+%package -n trinity-libxparts-devel
+Summary: Xparts development files
+Group: Development/Languages/Other
+%if 0%{?with_gtk1}
+Requires: trinity-libgtkxparts1 = %{?epoch:%{epoch}:}%{version}-%{release}
+%endif
+Requires: trinity-libtdexparts = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libxparts-devel
+This package contains the development files for Xparts library.
+
+%files -n trinity-libxparts-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/xtdeparts/
+%if 0%{?with_gtk1}
+%{tde_libdir}/libgtkxparts.so
+%endif
+%{tde_libdir}/libtdexparts.so
+
+##########
+
+%package xparts-extras
+Summary: Extra xparts for TDE [Trinity]
+Group: Development/Languages/Other
+
+# Metapckage requires
+Requires: trinity-xpart-notepad = %{?epoch:%{epoch}:}%{version}-%{release}
+%if 0%{?with_gtk1}
+Requires: trinity-libgtkxparts1 = %{?epoch:%{epoch}:}%{version}-%{release}
+%endif
+Requires: trinity-libtdexparts = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libdcop-c = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description xparts-extras
+This package contains extra xparts-based modules for Trinity
+This includes the mozilla-konqueror plugin
+
+This package is part of the official TDE bindings module.
+
+%files xparts-extras
+%defattr(-,root,root,-)
+
+###########
+
+%package -n trinity-libdcop-c
+Summary: DCOP bindings for C [Trinity]
+Group: System/Libraries
+
+%description -n trinity-libdcop-c
+This package contains the DCOP bindings for C.
+
+%files -n trinity-libdcop-c
+%defattr(-,root,root,-)
+%{tde_libdir}/libdcopc.so.*
+
+###########
+
+%package -n trinity-libdcop-c-devel
+Summary: DCOP bindings for C, development files [Trinity]
+Group: Development/Languages/C and C++
+Requires: trinity-libdcop-c = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libdcop-c-devel
+This package contains the development files for DCOP bindings for C.
+
+%files -n trinity-libdcop-c-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libdcopc.so
+%{tde_libdir}/libdcopc.la
+%{tde_tdeincludedir}/dcopc/
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Languages/Other
+
+Requires: trinity-tdelibs-devel >= %{tde_version}
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Obsoletes: trinity-kdebindings-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdebindings-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+# Metapackage
+Requires: trinity-libsmoketqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+%if 0%{?with_java}
+Requires: trinity-libdcop3-java-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+%endif
+Requires: trinity-libsmoketde-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkjsembed-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libxparts-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libdcop-c-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+%if 0%{?with_java}
+Requires: trinity-libtqt3-jni-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libtrinity-jni-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+%endif
+
+%description devel
+This package contains the development files for the TDE bindings.
+
+%files devel
+%defattr(-,root,root,-)
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%if "%{?perl_vendorarch}" == ""
+exit 1
+%endif
+
+%if "%{?ruby_rubylibdir}" == ""
+exit 2
+%endif
+
+%if "%{?ruby_arch}" == ""
+exit 3
+%endif
+
+# [tdebindings] Function 'rb_frame_this_func' does not exist in RHEL4/5
+%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
+%__sed -i "qtruby/rubylib/qtruby/Qt.cpp" \
+ -i "korundum/rubylib/korundum/Korundum.cpp" \
+ -e "s|rb_frame_this_func|rb_frame_last_func|g"
+%endif
+
+# Another strange FTBFS in RHEL 5
+%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
+%__sed -i "xparts/xpart_notepad/shell_xparthost.cpp" \
+ -i "xparts/xpart_notepad/xp_notepad.cpp" \
+ -e "/TDEApplication/ s| );|, true, true, true);|"
+%endif
+
+# Disable kmozilla, it does not build with recent xulrunner (missing 'libmozjs.so')
+%__sed -i "xparts/Makefile.am" \
+ -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|"
+
+# Fix Fedora >= 28 automatic invalid dependency to '/usr/bin/kjscmd'
+%if 0%{?fedora} >= 28 || 0%{?mgaversion} >= 7 || 0%{?rhel} >= 8
+%__sed -i "kjsembed/tdescript/swaptabs.js" \
+ -i "kjsembed/stdlib/cmdline.js" \
+ -e "s|/usr/bin/env kjscmd|%{tde_bindir}/kjscmd|"
+%endif
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/"*"/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export TDEDIR=%{tde_prefix}
+
+unset JAVA_HOME ||:
+%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME}
+
+# sip/PyQt/PyKDE built separately, not here
+export DO_NOT_COMPILE="$DO_NOT_COMPILE python"
+
+# Ruby headers, strange location ...
+if [ -d "/usr/include/%{_normalized_cpu}-linux" ]; then
+ export EXTRA_INCLUDES="/usr/include/%{_normalized_cpu}-linux"
+fi
+
+# Specific path for RHEL4
+if [ -d "/usr/X11R6" ]; then
+ export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+if [ -d "/usr/evolution28" ]; then
+ export PATH="/usr/evolution28/bin:${PATH}"
+ export PKG_CONFIG_PATH="/usr/evolution28/%{_lib}/pkgconfig:${PKG_CONFIG_PATH}"
+fi
+
+# Warning: openSUSE 13.1: /usr/include/ruby-2.0.0/ruby.h
+%if 0%{?suse_version} == 1310 || 0%{?suse_version} == 1320
+EXTRA_INCLUDES="/usr/include/ruby-%{rb20_ver}:/usr/include/ruby-%{rb20_ver}/%{_target}"
+%endif
+%if 0%{?suse_version} >= 1330
+EXTRA_INCLUDES="/usr/include/ruby-%{rb_ver}:/usr/include/ruby-%{rb_ver}/%{_target}-gnu"
+%endif
+
+# Warning: GCC visibility causes FTBFS [Bug #1285]
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --docdir=%{tde_docdir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ \
+ --disable-dependency-tracking \
+ --disable-debug \
+ --enable-new-ldflags \
+ --enable-final \
+ --enable-closure \
+ --enable-rpath \
+ --disable-gcc-hidden-visibility \
+ \
+ --with-extra-includes=%{_includedir}/tqscintilla:${EXTRA_INCLUDES} \
+ --with-extra-libs=%{tde_libdir} \
+%if 0%{with_python}
+ --with-pythondir=%{_usr} \
+%endif
+ \
+ %{?with_java:--with-java=%{java_home}} %{!?with_java:--without-java} \
+ %{?with_qscintilla:--enable-qscintilla} %{!?with_qscintilla:--disable-qscintilla}
+
+# Build dcopperl with specific options
+pushd dcopperl
+CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor INSTALLVENDORMAN3DIR=%{tde_mandir}/man3
+%__make OPTIMIZE="$RPM_OPT_FLAGS" ||:
+popd
+
+# smoke (not smp-safe)
+%__make -C smoke
+
+# The rest is smp-safe
+%__make %{?_smp_mflags} PYTHON=%{__python}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf $RPM_BUILD_ROOT
+
+%__make install DESTDIR=%{?buildroot} \
+ PYTHON=%{__python}
+
+# Removes some perl files
+find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
+ -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
+
+%if 0%{?with_java}
+# Installs juic
+%__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic
+%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common
+%__install -m 644 qtjava/designer/juic/common/*.xml %{?buildroot}%{tde_datadir}/juic/common
+%__install -m 644 qtjava/designer/juic/common/*.xsl %{?buildroot}%{tde_datadir}/juic/common
+%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/java
+%__install -m 644 qtjava/designer/juic/java/*.xml %{?buildroot}%{tde_datadir}/juic/java
+%__install -m 644 qtjava/designer/juic/java/*.xsl %{?buildroot}%{tde_datadir}/juic/java
+%__install -m 644 qtjava/designer/juic/juic.xsl %{?buildroot}%{tde_datadir}/juic
+%endif
+
+# kjsembed sample files
+%__install -d -m 755 %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install -m 644 kjsembed/plugins/customobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install -m 644 kjsembed/plugins/customobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install -m 644 kjsembed/plugins/customobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install -m 644 kjsembed/plugins/customqobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install -m 644 kjsembed/plugins/customqobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install -m 644 kjsembed/plugins/customqobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+
+# Move 'embedjs.desktop' to correct location
+%__mv -f "%{?buildroot}%{tde_datadir}/applnk/Utilities/embedjs.desktop" "%{?buildroot}%{tde_tdeappdir}/embedjs.desktop"
+%__rm -rf "%{?buildroot}%{tde_datadir}/applnk"
+
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file -u kjscmd Development
+%suse_update_desktop_file -u embedjs Development
+%endif
+
+
+%clean
+%__rm -rf $RPM_BUILD_ROOT
+
+
+%changelog
diff --git a/redhat/core/tdebindings/trinity-tdebindings-rpmlintrc b/redhat/core/tdebindings/trinity-tdebindings-rpmlintrc
new file mode 100644
index 000000000..529351884
--- /dev/null
+++ b/redhat/core/tdebindings/trinity-tdebindings-rpmlintrc
@@ -0,0 +1,2 @@
+setBadness('library-without-ldconfig-postun', 0)
+setBadness('library-without-ldconfig-postin', 0)
diff --git a/redhat/core/tdeedu/tdeedu.spec b/redhat/core/tdeedu/tdeedu.spec
new file mode 100644
index 000000000..367506e6e
--- /dev/null
+++ b/redhat/core/tdeedu/tdeedu.spec
@@ -0,0 +1,1227 @@
+#
+# spec file for package tdeedu (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# BUILD WARNING:
+# Remove qt-devel and qt3-devel and any kde*-devel on your system !
+# Having KDE libraries may cause FTBFS here !
+
+# TDE variables
+%define tde_epoch 2
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdeedu
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+
+Name: trinity-%{tde_pkg}
+Summary: Educational/Edutainment applications
+Group: System/GUI/Other
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Desktop
+#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: %{name}-rpmlintrc
+
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+
+BuildRequires: trinity-cmake >= %{tde_version}
+BuildRequires: desktop-file-utils
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+BuildRequires: gcc-c++
+BuildRequires: fdupes
+BuildRequires: doxygen
+
+# ACL support
+BuildRequires: libacl-devel
+
+# IDN support
+BuildRequires: libidn-devel
+
+# OPENSSL support
+BuildRequires: openssl-devel
+
+# LIBUSB support
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos}
+BuildRequires: %{_lib}usb1.0-devel
+BuildRequires: %{_lib}usb-compat0.1-devel
+%else
+%if 0%{?fedora} >= 37
+BuildRequires: libusb1-devel
+BuildRequires: libusb-compat-0.1-devel
+%else
+BuildRequires: libusb-devel
+%endif
+%endif
+
+# PYTHON3 support
+%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100 || 0%{?mgaversion} >= 8
+%global python python3
+%global __python %__python3
+%global python_sitearch %{python3_sitearch}
+%else
+%global python python
+%endif
+%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+BuildRequires: %{python}
+BuildRequires: %{python}-devel
+
+# BOOST support
+BuildRequires: boost-devel
+%if 0%{?mgaversion} >= 7
+BuildRequires: %{_lib}boost_python3-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libboost_%{python}-devel
+%endif
+%if 0%{?fedora} || 0%{?rhel}
+BuildRequires: boost-%{python}-devel
+%endif
+
+# OCAML support
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
+BuildRequires: ocaml(compiler)
+#BuildRequires: ocaml-facile-devel
+%else
+BuildRequires: ocaml
+#BuildRequires: ocaml-facile-devel
+%endif
+
+# KIG python scripting support
+%if 0%{?rhel} != 5
+%define with_kig 1
+%endif
+
+# V4L support
+%if 0%{?rhel} != 5
+%define with_v4l 1
+%endif
+
+Obsoletes: trinity-kdeedu < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdeedu = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdeedu-libs < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdeedu-libs = %{?epoch:%{epoch}:}%{version}-%{release}
+
+# Meta-package
+Requires: %{name}-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-blinken = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kalzium = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kalzium-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kanagram = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kbruch = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-keduca = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kgeography = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kgeography-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-khangman = %{?epoch:%{epoch}:}%{version}-%{release}
+%if 0%{?with_kig}
+Requires: trinity-kig = %{?epoch:%{epoch}:}%{version}-%{release}
+%endif
+Requires: trinity-kiten = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-klatin = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-klettres = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-klettres-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kmplot = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kpercentage = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kstars = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kstars-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ktouch = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kturtle = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kverbos = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kvoctrain = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kwordquiz = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libtdeedu3 = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkiten1 = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-indi = %{?epoch:%{epoch}:}%{version}-%{release}
+
+
+%description
+Educational/Edutainment applications, including:
+* blinken: Simon Says Game
+* kalzium: Periodic Table of Elements
+* kanagram: Letter Order Game
+* kbruch: Exercise Fractions
+* keduca: Tests and Exams
+* kgeography: Geography Trainer
+* khangman: Hangman Game
+%if 0%{?with_kig}
+* kig: Interactive Geometry
+%endif
+* kiten: Japanese Reference/Study Tool
+* klatin: Latin Reviser
+* klettres: French alphabet tutor
+* kmplot: Mathematical Function Plotter
+* kpercentage: Excersie Percentages
+* kstars: Desktop Planetarium
+* ktouch: Touch Typing Tutor
+* kturtle: Logo Programming Environment
+* kverbos: Study Spanish Verbforms
+* kvoctrain: Vocabulary Trainer
+* kwordquiz: Vocabulary Trainer
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING README
+
+##########
+
+%package data
+Summary: Shared data for Trinity educational applications
+Group: System/GUI/Other
+
+%description data
+This package contains shared data necessary for running the
+educational applications provided with TDE (the Trinity Desktop
+Environment).
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files data
+%defattr(-,root,root,-)
+%{tde_datadir}/applnk/Edutainment/Languages/.directory
+%{tde_datadir}/applnk/Edutainment/Miscellaneous/.directory
+%{tde_datadir}/applnk/Edutainment/Mathematics/.directory
+%{tde_datadir}/applnk/Edutainment/Science/.directory
+%{tde_datadir}/applnk/Edutainment/Tools/.directory
+
+##########
+
+%package -n trinity-blinken
+Summary: Trinity version of the Simon Says electronic memory game
+Group: System/GUI/Other
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-blinken
+Blinken is based on an electronic game released in 1978, which
+challenges players to remember sequences of increasing length. On
+the face of the device, there are 4 different color buttons, each
+with its own distinctive sound. These buttons light up randomly,
+creating the sequence that the player must then recall. If the
+player is successful in remembering the sequence of lights in the
+correct order, they advance to the next stage, where an identical
+sequence with one extra step is presented.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-blinken
+%defattr(-,root,root,-)
+%{tde_bindir}/blinken
+%{tde_tdeappdir}/blinken.desktop
+%{tde_datadir}/apps/blinken/
+%{tde_datadir}/config.kcfg/blinken.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/blinken.png
+%{tde_datadir}/icons/hicolor/scalable/apps/blinken.svgz
+%{tde_tdedocdir}/HTML/en/blinken/
+%{tde_mandir}/man1/blinken*
+
+##########
+
+%package -n trinity-kalzium
+Summary: Chemistry teaching tool for Trinity
+Group: System/GUI/Other
+Requires: trinity-kalzium-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kalzium
+Kalzium is a program which shows you the Periodic System of Elements
+(PSE). You can use Kalzium to search for information about the
+elements or to learn facts about the PSE.
+
+Kalzium provides you with all kinds of information about the PSE.
+You can look up lots of information about the elements and also use
+visualisations to show them.
+
+You can visualise the Periodic Table of the Elements by blocks,
+groups, acidic behavior or different states of matter. You can also
+plot data for a range of elements (weight, mean weight, density, IE1,
+IE2, electronegativity), and you can go back in time to see what
+elements were known at a given date. In addition, on platforms where
+OCaml supports native code generation, Kalzium includes a chemical
+equation solver.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kalzium
+%defattr(-,root,root,-)
+%{tde_bindir}/kalzium
+%{tde_tdeappdir}/kalzium.desktop
+%{tde_datadir}/config.kcfg/kalzium.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kalzium.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kalzium.svgz
+%{tde_tdedocdir}/HTML/en/kalzium/
+%{tde_mandir}/man1/kalzium*
+
+##########
+
+%package -n trinity-kalzium-data
+Summary: Data files for Kalzium
+Group: System/GUI/Other
+
+%description -n trinity-kalzium-data
+This package contains architecture-independent data files for
+Kalzium, the TDE periodic table application. This includes pictures
+of various chemical equipment and of samples of several elements, in
+addition to the actual chemical data.
+
+See the kalzium package for further information.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kalzium-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kalzium/
+
+##########
+
+%package -n trinity-kanagram
+Summary: Letter order game for Trinity
+Group: System/GUI/Other
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kanagram
+KAnagram is a game that is based on the word/letter puzzles that the
+author played as a child. A word is picked at random and displayed
+with its letters in a messed order, with difficulty dependent on the
+chosen level. You have an unlimited number of attempts, and scores
+are kept.
+
+It is a very simply constructed game, with 3 difficulty levels of
+play. It is fully customizable, allowing you to write in your own
+words and set your own 'look and feel' of the game. It is aimed for
+children aged 10+ because of the difficulty, but of course everyone
+is welcome to try.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kanagram
+%defattr(-,root,root,-)
+%{tde_bindir}/kanagram
+%{tde_tdeappdir}/kanagram.desktop
+%{tde_datadir}/apps/kanagram/
+%{tde_datadir}/config.kcfg/kanagram.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kanagram.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kanagram.svgz
+%{tde_tdedocdir}/HTML/en/kanagram/
+%{tde_mandir}/man1/kanagram*
+
+##########
+
+%package -n trinity-kbruch
+Summary: Fraction calculation teaching tool for Trinity
+Group: System/GUI/Other
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kbruch
+KBruch is a small program to practice calculating with fractions.
+Different exercises are provided for this purpose. The program
+checks the user's input and gives feedback.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kbruch
+%defattr(-,root,root,-)
+%{tde_bindir}/kbruch
+%{tde_datadir}/apps/kbruch/
+%{tde_tdeappdir}/kbruch.desktop
+%{tde_datadir}/config.kcfg/kbruch.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kbruch.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kbruch.svgz
+%{tde_datadir}/icons/crystalsvg/*/actions/kbruch_*.png
+%{tde_tdedocdir}/HTML/en/kbruch/
+%{tde_mandir}/man1/kbruch*
+
+##########
+
+%package -n trinity-keduca
+Summary: Interactive form-based tests for Trinity
+Group: System/GUI/Other
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-keduca
+KEduca is a flash-card application which allows you to make
+interactive form-based tests.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-keduca
+%defattr(-,root,root,-)
+%{tde_bindir}/keduca
+%{tde_bindir}/keducabuilder
+%{tde_bindir}/keduca-shrinker
+%{tde_tdelibdir}/libkeducapart.la
+%{tde_tdelibdir}/libkeducapart.so
+%{tde_tdeappdir}/keduca.desktop
+%{tde_tdeappdir}/keducabuilder.desktop
+%{tde_datadir}/apps/keduca/
+%{tde_datadir}/config.kcfg/keduca.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/keduca.png
+%{tde_datadir}/mimelnk/application/x-edu.desktop
+%{tde_datadir}/mimelnk/application/x-edugallery.desktop
+%{tde_datadir}/services/keduca_part.desktop
+%{tde_tdedocdir}/HTML/en/keduca/
+%{tde_mandir}/man1/keduca*
+
+##########
+
+%package -n trinity-kgeography
+Summary: Geography learning tool for Trinity
+Group: System/GUI/Other
+Requires: trinity-kgeography-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kgeography
+KGeography contains maps allowing you to learn various countries or
+the political divisions of several countries. It has several modes,
+including a map browser and games involving the names, capitals, or
+flags of the map divisions.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kgeography
+%defattr(-,root,root,-)
+%{tde_bindir}/kgeography
+%{tde_bindir}/kgeography_gen_map.pl
+%{tde_tdeappdir}/kgeography.desktop
+%{tde_datadir}/config.kcfg/kgeography.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/kgeography.png
+%{tde_datadir}/icons/crystalsvg/scalable/apps/kgeography.svgz
+%{tde_datadir}/icons/hicolor/*/apps/kgeography.png
+%{tde_tdedocdir}/HTML/en/kgeography
+%{tde_mandir}/man1/kgeography*
+
+##########
+
+%package -n trinity-kgeography-data
+Summary: Data files for KGeography
+Group: System/GUI/Other
+
+%description -n trinity-kgeography-data
+This package contains architecture-independent data files for
+KGeography, the geography learning tool for TDE. This includes map
+and flag images.
+
+See the kgeography package for further information.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kgeography-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kgeography/
+
+##########
+
+%package -n trinity-khangman
+Summary: The classical hangman game for Trinity
+Group: System/GUI/Other
+#Requires: dustin-dustismo-sans-fonts
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-khangman
+KHangMan is a game based on the well known hangman game. It is aimed
+for children aged 6 and above. It has four levels of difficulty:
+Animals (animals words), Easy, Medium and Hard.
+
+A word is picked at random and the letters are hidden. You must
+guess the word by trying one letter after another. Each time you
+guess a wrong letter, a picture of a hangman is drawn. You must
+guess the word before getting hanged! You have 10 tries.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-khangman
+%defattr(-,root,root,-)
+%config(noreplace) %{tde_confdir}/khangmanrc
+%{tde_bindir}/khangman
+%{tde_tdeappdir}/khangman.desktop
+%{tde_datadir}/apps/khangman/
+%{tde_datadir}/config.kcfg/khangman.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/khangman.png
+%{tde_datadir}/icons/hicolor/scalable/apps/khangman.svgz
+%{tde_tdedocdir}/HTML/en/khangman/
+%{tde_mandir}/man1/khangman*
+
+##########
+
+%if 0%{?with_kig}
+%package -n trinity-kig
+Summary: Interactive geometry program for TDE
+Group: System/GUI/Other
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kig
+Kig is an application for interactive geometry. It is intended to
+serve two purposes:
+
+- to allow students to interactively explore mathematical figures and
+ concepts using the computer;
+- to serve as a WYSIWYG tool for drawing mathematical figures and
+ including them in other documents.
+
+With this program you can do geometry on a computer just like you
+would on a blackboard in a classroom. However, the program allows
+you to move and change parts of a geometrical drawing so that you can
+see how the other parts change as a result.
+
+Kig supports loci and user-defined macros. It also supports imports
+and exports to/from foreign file formats including Cabri, Dr. Geo,
+KGeo, KSeg and XFig.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kig
+%defattr(-,root,root,-)
+%config(noreplace) %{tde_confdir}/magic/cabri.magic
+%config(noreplace) %{tde_confdir}/magic/drgeo.magic
+%{tde_bindir}/kig
+%{tde_bindir}/pykig.py*
+%{tde_tdelibdir}/tdefile_drgeo.la
+%{tde_tdelibdir}/tdefile_drgeo.so
+%{tde_tdelibdir}/tdefile_kig.la
+%{tde_tdelibdir}/tdefile_kig.so
+%{tde_tdelibdir}/libkigpart.la
+%{tde_tdelibdir}/libkigpart.so
+%{tde_tdeappdir}/kig.desktop
+%if 0%{?with_kig}
+%{tde_datadir}/apps/katepart/syntax/python-kig.xml
+%endif
+%{tde_datadir}/apps/kig/
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/kig_doc.png
+%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kig_doc.svgz
+%{tde_datadir}/icons/hicolor/*/apps/kig.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kig.svgz
+%{tde_datadir}/mimelnk/application/x-cabri.desktop
+%{tde_datadir}/mimelnk/application/x-drgeo.desktop
+%{tde_datadir}/mimelnk/application/x-kig.desktop
+%{tde_datadir}/mimelnk/application/x-kgeo.desktop
+%{tde_datadir}/mimelnk/application/x-kseg.desktop
+%{tde_datadir}/services/tdefile_drgeo.desktop
+%{tde_datadir}/services/tdefile_kig.desktop
+%{tde_datadir}/services/kig_part.desktop
+%{tde_tdedocdir}/HTML/en/kig/
+%config(noreplace) %{tde_confdir}/magic/cabri.magic.mgc
+%config(noreplace) %{tde_confdir}/magic/drgeo.magic.mgc
+%{tde_mandir}/man1/kig*
+%endif
+
+##########
+
+%package -n trinity-kiten
+Summary: Japanese reference/study tool for Trinity
+Group: System/GUI/Other
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+#Requires: ttf-kochi-gothic | ttf-kochi-mincho
+
+%description -n trinity-kiten
+Kiten is a Japanese reference and study tool for TDE. It is an
+application with multiple functions. Firstly, it is a convenient
+English to Japanese and Japanese to English dictionary. Secondly, it
+is a Kanji dictionary, with multiple ways to look up specific
+characters. Thirdly, it is a tool to help you learn Kanji.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kiten
+%defattr(-,root,root,-)
+%{tde_bindir}/kiten
+%{tde_bindir}/kitengen
+%{tde_tdeappdir}/kiten.desktop
+%{tde_tdedocdir}/HTML/en/kiten/
+%{tde_datadir}/icons/hicolor/*/apps/kiten.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kiten.svgz
+%{tde_mandir}/man1/kiten*
+
+##########
+
+%package -n trinity-klatin
+Summary: Application to help revise/teach Latin
+Group: System/GUI/Other
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-klatin
+KLatin is a program to help revise Latin. There are three "sections"
+in which different aspects of the language can be revised. These are
+the vocabulary, grammar and verb testing sections. In addition there
+is a set of revision notes that can be used for self-guided revision.
+
+In the vocabulary section an XML file is loaded containing various
+words and their local language translations. KLatin asks you what
+each of these words translate into. The questions take place in a
+multiple-choice environment.
+
+In the grammar and verb sections KLatin asks for a particular part of
+a noun or a verb, such as the "ablative singular", or the "1st person
+indicative passive plural", and is not multiple choice.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-klatin
+%defattr(-,root,root,-)
+%{tde_bindir}/klatin
+%{tde_tdeappdir}/klatin.desktop
+%{tde_datadir}/apps/klatin/
+%{tde_datadir}/config.kcfg/klatin.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/klatin.png
+%{tde_datadir}/icons/hicolor/scalable/apps/klatin.svgz
+%{tde_tdedocdir}/HTML/en/klatin/
+%{tde_mandir}/man1/klatin*
+
+##########
+
+%package -n trinity-klettres
+Summary: Foreign alphabet tutor for Trinity
+Group: System/GUI/Other
+Requires: trinity-klettres-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-klettres
+KLettres is an application specially designed to help the user to
+learn the alphabet in a new language and then to learn to read simple
+syllables. The user can be a young child aged from two and a half or
+an adult that wants to learn the basics of a foreign language.
+
+Seven languages are currently available: Czech, Danish, Dutch,
+English, French, Italian and Slovak.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-klettres
+%defattr(-,root,root,-)
+%config(noreplace) %{tde_confdir}/klettresrc
+%{tde_bindir}/klettres
+%{tde_tdeappdir}/klettres.desktop
+%{tde_datadir}/config.kcfg/klettres.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/klettres.png
+%{tde_datadir}/icons/hicolor/scalable/apps/klettres.svgz
+%{tde_tdedocdir}/HTML/en/klettres/
+%{tde_mandir}/man1/klettres*
+
+##########
+
+%package -n trinity-klettres-data
+Summary: Data files for KLettres foreign alphabet tutor
+Group: System/GUI/Other
+
+%description -n trinity-klettres-data
+This package contains architecture-independent data files for
+KLettres, the foreign alphabet tutor for TDE. This includes sound
+files and graphics.
+
+See the klettres package for further information.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-klettres-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/klettres/
+
+##########
+
+%package -n trinity-kmplot
+Summary: Mathematical function plotter for Trinity
+Group: System/GUI/Other
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kmplot
+KmPlot is a mathematical function plotter for TDE. It has a powerful
+built-in parser. You can plot different functions simultaneously and
+combine them to build new functions.
+
+KmPlot supports parametric functions and functions in polar
+coordinates. Several grid modes are supported. Plots may be printed
+with high precision in the correct scale.
+
+KmPlot also provides some numerical and visual features, like filling
+and calculating the area between the plot and the first axis, finding
+maximum and minimum values, changing function parameters dynamically
+and plotting derivatives and integral functions.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kmplot
+%defattr(-,root,root,-)
+%{tde_bindir}/kmplot
+%{tde_tdelibdir}/libkmplotpart.la
+%{tde_tdelibdir}/libkmplotpart.so
+%{tde_tdeappdir}/kmplot.desktop
+%{tde_datadir}/apps/kmplot/
+%{tde_datadir}/config.kcfg/kmplot.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kmplot.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kmplot.svgz
+%{tde_datadir}/mimelnk/application/x-kmplot.desktop
+%{tde_datadir}/services/kmplot_part.desktop
+%{tde_tdedocdir}/HTML/en/kmplot/
+%{tde_mandir}/man1/kmplot*
+
+##########
+
+%package -n trinity-kpercentage
+Summary: Percentage calculation teaching tool for Trinity
+Group: System/GUI/Other
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kpercentage
+KPercentage is a small math application that will help pupils to
+improve their skills in calculating percentages.
+
+There is a special training section for the three basic tasks.
+Finally the pupil can select a random mode, in which all three tasks
+are mixed randomly.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kpercentage
+%defattr(-,root,root,-)
+%{tde_bindir}/kpercentage
+%{tde_tdeappdir}/kpercentage.desktop
+%{tde_datadir}/apps/kpercentage/
+%{tde_datadir}/icons/hicolor/*/apps/kpercentage.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kpercentage.svgz
+%{tde_tdedocdir}/HTML/en/kpercentage/
+%{tde_mandir}/man1/kpercentage*
+
+##########
+
+%package -n trinity-kstars
+Summary: Desktop planetarium for Trinity
+Group: System/GUI/Other
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kstars-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-indi = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kstars
+KStars is a graphical desktop planetarium for TDE. It depicts an
+accurate simulation of the night sky, including stars,
+constellations, star clusters, nebulae, galaxies, all planets, the
+Sun, the Moon, comets and asteroids. You can see the sky as it
+appears from any location on Earth, on any date.
+
+The user interface is highly intuitive and flexible. The display can
+be panned and zoomed with the mouse, and you can easily identify
+objects and track their motion across the sky. KStars includes many
+powerful features, yet the interface is clean and simple and fun to
+use.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kstars
+%defattr(-,root,root,-)
+%config(noreplace) %{tde_confdir}/kstarsrc
+%{tde_bindir}/kstars
+%{tde_tdeappdir}/kstars.desktop
+%{tde_datadir}/config.kcfg/kstars.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kstars.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kstars.svgz
+%{tde_tdedocdir}/HTML/en/kstars/
+%{tde_mandir}/man1/kstars*
+
+##########
+
+%package -n trinity-kstars-data
+Summary: Data files for KStars desktop planetarium
+Group: System/GUI/Other
+
+%description -n trinity-kstars-data
+This package contains architecture-independent data files for KStars,
+the graphical desktop planetarium for TDE. This includes star
+catalogues and astronomical images.
+
+See the kstars package for further information.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kstars-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kstars/
+
+##########
+
+%package -n trinity-ktouch
+Summary: Touch typing tutor for Trinity
+Group: System/GUI/Other
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-ktouch
+KTouch is a program for learning touch typing - it helps you learn to
+type on a keyboard quickly and correctly. Every finger has its place
+on the keyboard with associated keys to press.
+
+KTouch helps you learn to touch type by providing you with text to
+train on, and adjusts to different levels depending on how good you
+are. It can display which key to press next, and the correct finger
+to use.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-ktouch
+%defattr(-,root,root,-)
+%{tde_bindir}/ktouch
+%{tde_tdeappdir}/ktouch.desktop
+%{tde_datadir}/apps/ktouch/
+%{tde_datadir}/config.kcfg/ktouch.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/ktouch.png
+%{tde_datadir}/icons/hicolor/scalable/apps/ktouch.svgz
+%{tde_tdedocdir}/HTML/en/ktouch/
+%{tde_mandir}/man1/ktouch*
+
+##########
+
+%package -n trinity-kturtle
+Summary: Educational Logo programming environment
+Group: System/GUI/Other
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kturtle
+KTurtle is an educational programming environment using the Logo
+programming language. It tries to make programming as easy and
+accessible as possible. This makes KTurtle suitable for teaching
+kids the basics of mathematics, geometry and programming.
+
+The commands used to program are in the style of the Logo programming
+language. The unique feature of Logo is that the commands are often
+translated into the speaking language of the programmer.
+
+KTurtle is named after "the turtle" that plays a central role in the
+programming environment. The user programs the turtle, using the
+Logo commands, to draw a picture on the canvas.
+
+Note that this version of Logo is only focused on the educational
+qualities of the programming language and will not try to suit
+professional programmers' needs.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kturtle
+%defattr(-,root,root,-)
+%{tde_bindir}/kturtle
+%{tde_tdeappdir}/kturtle.desktop
+%{tde_datadir}/apps/katepart/syntax/logohighlightstyle*
+%{tde_datadir}/apps/kturtle/
+%{tde_datadir}/config.kcfg/kturtle.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kturtle.png
+%{tde_tdedocdir}/HTML/en/kturtle/
+%{tde_mandir}/man1/kturtle*
+
+##########
+
+%package -n trinity-kverbos
+Summary: Spanish verb form study application for Trinity
+Group: System/GUI/Other
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kverbos
+Kverbos allows the user to learn the forms of Spanish verbs. The
+program suggests a verb and a time and the user enters the different
+verb forms. The program corrects the user input and gives feedback.
+
+The user can edit the list of the verbs that can be studied. The
+program can build regular verb forms by itself. Irregular verb forms
+have to be entered by the user.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kverbos
+%defattr(-,root,root,-)
+%{tde_bindir}/kverbos
+%{tde_tdeappdir}/kverbos.desktop
+%{tde_datadir}/apps/kverbos/
+%{tde_datadir}/config.kcfg/kverbos.kcfg
+%{tde_datadir}/icons/crystalsvg/16x16/actions/kverbosuser.png
+%{tde_datadir}/icons/hicolor/*/apps/kverbos.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kverbos.svgz
+%{tde_tdedocdir}/HTML/en/kverbos/
+%{tde_mandir}/man1/kverbos*
+
+##########
+
+%package -n trinity-kvoctrain
+Summary: Vocabulary trainer for Trinity
+Group: System/GUI/Other
+Requires: perl
+Requires: perl-libwww-perl
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kvoctrain
+KVocTrain is a little utility to help you train your vocabulary when
+you are trying to learn a foreign language. You can create your own
+database with the words you need. It is intended as a replacement
+for index (flash) cards.
+
+You probably remember flashcards from school. The teacher would
+write the original expression on the front side of the card and the
+translation on the back. Then look at the cards one after another.
+If you knew the translation, you could put it away. If you failed,
+you put it back to try again.
+
+KVocTrain is not intended to teach you grammar or other sophisticated
+things. This is and probably will stay beyond the scope of this
+application.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kvoctrain
+%defattr(-,root,root,-)
+%config(noreplace) %{tde_confdir}/kvoctrainrc
+%{tde_bindir}/kvoctrain
+%{tde_bindir}/spotlight2kvtml
+%{tde_libdir}/libkvoctraincore.so.*
+%{tde_tdeappdir}/kvoctrain.desktop
+%{tde_datadir}/apps/kvoctrain/
+%{tde_datadir}/mimelnk/text/x-kvtml.desktop
+%{tde_datadir}/config.kcfg/kvoctrain.kcfg
+%{tde_datadir}/config.kcfg/languagesettings.kcfg
+%{tde_datadir}/config.kcfg/presettings.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kvoctrain.png
+%{tde_tdedocdir}/HTML/en/kvoctrain/
+%{tde_mandir}/man1/kvoctrain*
+%{tde_mandir}/man1/spotlight2kvtml*
+
+##########
+
+%package -n trinity-kwordquiz
+Summary: Flashcard and vocabulary learning program for Trinity
+Group: System/GUI/Other
+Requires: trinity-tdeedu-data = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kwordquiz
+KWordQuiz is a flashcard-based tool that helps you to master new
+vocabularies. It may be a language or any other kind of terminology.
+
+KWordQuiz can open several types of vocabulary data. Supported are
+kvtml files used by other TDE programs such as KVocTrain, wql files
+used by WordQuiz for Windows, csv files with comma-separated text,
+and xml.gz files created by Pauker (http://pauker.sourceforge.net).
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kwordquiz
+%defattr(-,root,root,-)
+%config(noreplace) %{tde_confdir}/kwordquizrc
+%{tde_bindir}/kwordquiz
+%{tde_tdeappdir}/kwordquiz.desktop
+%{tde_datadir}/apps/kwordquiz/
+%{tde_datadir}/config.kcfg/kwordquiz.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kwordquiz.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kwordquiz.svg
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/kwordquiz_doc.png
+%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kwordquiz_doc.svg
+%{tde_datadir}/mimelnk/application/x-kwordquiz.desktop
+%{tde_tdedocdir}/HTML/en/kwordquiz/
+%{tde_mandir}/man1/kwordquiz*
+%{tde_mandir}/man1/langen*
+
+##########
+
+%package -n trinity-libtdeedu3
+Summary: Library for use with Trinity educational apps
+Group: System/GUI/Other
+
+%description -n trinity-libtdeedu3
+The TDE-based library libtdeedu is used with educational
+applications. It currently provides support for data plotting and
+vocabulary items (including a parser for kvtml vocabulary files).
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-libtdeedu3
+%defattr(-,root,root,-)
+%{tde_libdir}/libextdate.so.*
+%{tde_libdir}/libtdeeducore.so.*
+%{tde_libdir}/libtdeeduplot.so.*
+%{tde_libdir}/libtdeeduui.so.*
+
+##########
+
+%package -n trinity-libtdeedu-devel
+Summary: Development files for Trinity educational library
+Group: Development/Libraries/Other
+Requires: trinity-libtdeedu3 = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libtdeedu-devel
+The TDE-based library libtdeedu is used with educational
+applications. It currently provides support for data plotting and
+vocabulary items (including a parser for kvtml vocabulary files).
+
+Development files for libtdeedu are included in this package.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-libtdeedu-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/libtdeedu/
+%{tde_libdir}/libextdate.la
+%{tde_libdir}/libextdate.so
+%{tde_libdir}/libtdeeducore.la
+%{tde_libdir}/libtdeeducore.so
+%{tde_libdir}/libtdeeduui.la
+%{tde_libdir}/libtdeeduui.so
+%{tde_libdir}/libtdeeduplot.la
+%{tde_libdir}/libtdeeduplot.so
+
+##########
+
+%package -n trinity-libkiten1
+Summary: Library for Kiten Japanese reference/study tool
+Group: System/GUI/Other
+#Requires: kanjidic
+
+%description -n trinity-libkiten1
+Kiten is a Japanese reference/study tool for TDE. The library
+libkiten contains portions of Kiten that may be useful for other
+applications. These portions include dictionary, character lookup
+and widget classes.
+
+This package contains the libkiten library along with supporting
+data, such as Japanese language data files and GUI resource files.
+For further information, see the kiten package.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-libkiten1
+%defattr(-,root,root,-)
+%{tde_libdir}/libkiten.so.*
+%{tde_datadir}/apps/kiten/
+%{tde_datadir}/config.kcfg/kiten.kcfg
+%{tde_datadir}/icons/crystalsvg/16x16/actions/kanjidic.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_add.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_remove.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/kanjidic.png
+%{tde_datadir}/icons/locolor/16x16/actions/edit_add.png
+%{tde_datadir}/icons/locolor/16x16/actions/edit_remove.png
+
+##########
+
+%package -n trinity-libkiten-devel
+Summary: Development files for Kiten library
+Group: Development/Libraries/Other
+Requires: trinity-libkiten1 = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdelibs-devel >= %{version}
+
+%description -n trinity-libkiten-devel
+Kiten is a Japanese reference/study tool for TDE. The library
+libkiten contains portions of Kiten that may be useful for other
+applications. These portions include dictionary, character lookup
+and widget classes.
+
+Development files for libkiten are included in this package. For
+further information, see the kiten package.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-libkiten-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/libkiten/
+%{tde_libdir}/libkiten.la
+%{tde_libdir}/libkiten.so
+
+##########
+
+%package -n trinity-indi
+Summary: Instrument Neutral Distributed Interface for astronomical devices
+Group: System/GUI/Other
+
+%description -n trinity-indi
+INDI is an Instrument Neutral Distributed Interface control protocol for
+astronomical devices, which provides a framework that decouples low level
+hardware drivers from high level front end clients. Clients that use the
+device drivers are completely unaware of the device capabilities and
+communicate with the device drivers and build a completely dynamic GUI
+based on the services provided by the device.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-indi
+%defattr(-,root,root,-)
+%{tde_bindir}/apmount
+%{tde_bindir}/apogee_ppi
+%{tde_bindir}/celestrongps
+%{tde_bindir}/fliccd
+%{tde_bindir}/fliwheel
+%{tde_bindir}/indiserver
+%{tde_bindir}/lx200_16
+%{tde_bindir}/lx200autostar
+%{tde_bindir}/lx200basic
+%{tde_bindir}/lx200classic
+%{tde_bindir}/lx200generic
+%{tde_bindir}/lx200gps
+%{tde_bindir}/sbigccd
+%{tde_bindir}/skycommander
+%{tde_bindir}/temma
+%if 0%{?with_v4l}
+%{tde_bindir}/meade_lpi
+%{tde_bindir}/v4ldriver
+%{tde_bindir}/v4lphilips
+%endif
+%{tde_mandir}/man1/celestrongps*
+%{tde_mandir}/man1/fliccd*
+%{tde_mandir}/man1/indi*
+%{tde_mandir}/man1/lx200*
+%{tde_mandir}/man1/temma*
+%{tde_mandir}/man1/v4l*
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries/Other
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libtdeedu-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkiten-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Obsoletes: trinity-kdeedu-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdeedu-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description devel
+This package contains the development files for tdeedu.
+
+%files devel
+%defattr(-,root,root,-)
+%doc libtdeedu/AUTHORS libtdeedu/README
+# kstars
+%{tde_tdeincludedir}/kstarsinterface.h
+%{tde_tdeincludedir}/simclockinterface.h
+# kvoctrain
+%{tde_libdir}/libkvoctraincore.la
+%{tde_libdir}/libkvoctraincore.so
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?mgaversion} >= 8
+# Fix shebangs
+sed -i "kig/pykig/pykig.py" \
+ -e "s|env python|env %{python}|"
+%endif
+
+
+%build
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_NO_BUILTIN_CHRPATH=ON \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=ON \
+ \
+ -DBIN_INSTALL_DIR="%{tde_bindir}" \
+ -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
+ -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
+ -DLIB_INSTALL_DIR="%{tde_libdir}" \
+ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
+ -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
+ -DSYSCONF_INSTALL_DIR="%{tde_confdir}" \
+ -DXDG_MENU_INSTALL_DIR="%{_sysconfdir}/xdg/menus" \
+ \
+ -DWITH_ALL_OPTIONS=ON \
+ %{?!with_kig:-DBUILD_KIG=OFF} \
+ -DWITH_OCAML_SOLVER=OFF \
+ %{?!with_kig:-DWITH_KIG_PYTHON_SCRIPTING=OFF} \
+ %{?!with_v4l:-DWITH_V4L=OFF} \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file -r khangman Education Languages Game KidsGame
+%suse_update_desktop_file kiten Education Languages
+%suse_update_desktop_file klatin Education Languages
+%suse_update_desktop_file klettres Education Languages
+%suse_update_desktop_file kverbos Education Languages
+%suse_update_desktop_file kvoctrain Education Languages
+%suse_update_desktop_file kwordquiz Education Languages
+%suse_update_desktop_file kbruch Education Math
+%suse_update_desktop_file kig Education Math
+%suse_update_desktop_file kmplot Education Math
+%suse_update_desktop_file kturtle Education Math
+%suse_update_desktop_file kpercentage Education Math
+%suse_update_desktop_file kalzium Education Chemistry
+%suse_update_desktop_file kstars Education Astronomy
+%suse_update_desktop_file keduca Education Teaching
+%suse_update_desktop_file keducabuilder Education Teaching
+%suse_update_desktop_file ktouch Education Teaching
+%suse_update_desktop_file -r blinken Education Teaching Game KidsGame
+%suse_update_desktop_file kgeography Education Teaching
+%suse_update_desktop_file -r kanagram Education Languages Game KidsGame
+%endif
+
+# Links duplicate files
+%fdupes "%{?buildroot}%{tde_datadir}"
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
diff --git a/redhat/core/tdeedu/trinity-tdeedu-rpmlintrc b/redhat/core/tdeedu/trinity-tdeedu-rpmlintrc
new file mode 100644
index 000000000..529351884
--- /dev/null
+++ b/redhat/core/tdeedu/trinity-tdeedu-rpmlintrc
@@ -0,0 +1,2 @@
+setBadness('library-without-ldconfig-postun', 0)
+setBadness('library-without-ldconfig-postin', 0)
diff --git a/redhat/core/tdegames/tdegames.spec b/redhat/core/tdegames/tdegames.spec
new file mode 100644
index 000000000..d3f676c4c
--- /dev/null
+++ b/redhat/core/tdegames/tdegames.spec
@@ -0,0 +1,1265 @@
+#
+# spec file for package tdegames (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# BUILD WARNING:
+# Remove qt-devel and qt3-devel and any kde*-devel on your system !
+# Having KDE libraries may cause FTBFS here !
+
+# TDE variables
+%define tde_epoch 2
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdegames
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+
+Name: trinity-%{tde_pkg}
+Summary: Trinity Desktop Environment - Games
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+Group: System/GUI/Other
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Project
+#Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Source1: %{name}-rpmlintrc
+
+BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-tdebase-devel >= %{tde_version}
+BuildRequires: trinity-tdemultimedia-devel >= %{tde_version}
+
+BuildRequires: trinity-cmake >= %{tde_version}
+BuildRequires: gcc-c++
+BuildRequires: desktop-file-utils
+BuildRequires: fdupes
+BuildRequires: libtool
+
+# AVAHI support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_avahi 1
+BuildRequires: libavahi-tqt-devel >= 1:0.6.30
+%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
+
+# IDN support
+BuildRequires: libidn-devel
+
+# GAMIN support
+# Not on openSUSE.
+%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_gamin 1
+BuildRequires: gamin-devel
+%endif
+
+# OPENSSL support
+BuildRequires: openssl-devel
+
+# ACL support
+BuildRequires: libacl-devel
+
+# ATTR support
+BuildRequires: libattr-devel
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+# GLIB2 support
+BuildRequires: glib2-devel
+
+Obsoletes: trinity-kdegames < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdegames = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdegames-libs < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdegames-libs = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Requires: trinity-libtdegames1 = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdegames-card-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-atlantik = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kasteroids = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-katomic = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kbackgammon = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kbattleship = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kblackbox = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kbounce = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kenolaba = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kfouleggs = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kgoldrunner = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kjumpingcube = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-klickety = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-klines = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kmahjongg = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kmines = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-knetwalk = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kolf = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-konquest = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kpat = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kpoker = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kreversi = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksame = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kshisen = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksirtet = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksmiletris = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksnake = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksokoban = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kspaceduel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ktron = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ktuberling = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-twin4 = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-lskat = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdefifteen = %{?epoch:%{epoch}:}%{version}-%{release}
+
+
+%description
+Games and gaming libraries for the Trinity Desktop Environment.
+Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg,
+kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris,
+ksnake, ksirtet, katomic, kjumpingcube, ktuberling.
+
+%files
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Amusements/Games/Other
+
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdelibs-devel >= %{tde_version}
+Requires: trinity-libtdegames-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-atlantik-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kolf-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Obsoletes: trinity-kdegames-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdegames-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description devel
+Install %{name}-devel if you wish to develop or compile games for the
+TDE desktop.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_datadir}/cmake/libtdegames.cmake
+%{tde_libdir}/pkgconfig/libtdegames.pc
+
+##########
+
+%package -n trinity-libtdegames1
+Summary: Trinity games library and common files
+Group: Amusements/Games/Other
+
+%description -n trinity-libtdegames1
+This library provides a common infrastructure for several of the
+games in the TDE distribution. Features include standardized menu
+items, high score handling, card display, and network connections
+including chat capabilities.
+
+This package is part of TDE, and a component of the TDE games module.
+
+%files -n trinity-libtdegames1
+%defattr(-,root,root,-)
+%{tde_libdir}/libtdegames.so.*
+%dir %{tde_datadir}/apps/tdegames
+%dir %{tde_datadir}/apps/tdegames/pics
+%{tde_datadir}/apps/tdegames/pics/star.png
+%{tde_datadir}/icons/crystalsvg/*/actions/roll.png
+%{tde_datadir}/icons/crystalsvg/*/actions/highscore.png
+
+##########
+
+%package -n trinity-libtdegames-devel
+Summary: Trinity games library headers
+Group: Development/Libraries/Other
+Requires: trinity-libtdegames1 = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libtdegames-devel
+This package is necessary if you want to develop your own games using
+the TDE games library.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-libtdegames-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/*.h
+%{tde_tdeincludedir}/kgame
+%{tde_libdir}/libtdegames.so
+%{tde_libdir}/libtdegames.la
+
+##########
+
+%package card-data
+Summary: Card decks for Trinity games
+Group: Amusements/Games/Other
+
+%description card-data
+Several different collections of card images for use by TDE games.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files card-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/carddecks/
+
+##########
+
+%package -n trinity-atlantik
+Summary: TDE client for Monopoly-like network games
+Group: Amusements/Games/Board/Other
+
+%description -n trinity-atlantik
+This is a TDE client for playing Monopoly-like boardgames on the
+monopd network. It can play any board supported by the network
+server, including the classic Monopoly game, as well as the Atlantik
+game in which the property includes several major cities in North
+America and Europe.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-atlantik
+%defattr(-,root,root,-)
+%{tde_bindir}/atlantik
+%{tde_libdir}/libatlantic.so.*
+%{tde_libdir}/libatlantikclient.so.*
+%{tde_libdir}/libatlantikui.so.*
+%{tde_tdelibdir}/tdeio_atlantik.la
+%{tde_tdelibdir}/tdeio_atlantik.so
+%{tde_datadir}/services/atlantik.protocol
+%{tde_tdeappdir}/atlantik.desktop
+%{tde_datadir}/icons/hicolor/*/apps/atlantik.png
+%{tde_datadir}/apps/atlantik/
+%{tde_tdedocdir}/HTML/en/atlantik/
+%{tde_mandir}/man*/atlantik.*
+
+##########
+
+%package -n trinity-atlantik-devel
+Summary: Development files for Atlantik
+Group: Development/Libraries/Other
+Requires: trinity-atlantik = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-atlantik-devel
+This package contains header files for compiling programs against the
+libraries which come with Atlantik.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-atlantik-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/atlantik
+%{tde_tdeincludedir}/atlantic
+%{tde_libdir}/libatlantic.so
+%{tde_libdir}/libatlantic.la
+%{tde_libdir}/libatlantikclient.so
+%{tde_libdir}/libatlantikclient.la
+%{tde_libdir}/libatlantikui.so
+%{tde_libdir}/libatlantikui.la
+
+##########
+
+%package -n trinity-kasteroids
+Summary: Asteroids for Trinity
+Group: Amusements/Games/Action/Arcade
+
+%description -n trinity-kasteroids
+You know this game. It is based on Warwick Allison's QwSpriteField
+widget.
+
+The objective of kasteroids is to destroy all the asteroids on the
+screen to advance to the next level. Your ship is destroyed if it
+makes contact with an asteroid.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kasteroids
+%defattr(-,root,root,-)
+%{tde_bindir}/kasteroids
+%{tde_datadir}/icons/hicolor/*/apps/kasteroids.png
+%{tde_tdeappdir}/kasteroids.desktop
+%{tde_datadir}/apps/kasteroids/
+%{tde_datadir}/config.kcfg/kasteroids.kcfg
+%{tde_tdedocdir}/HTML/en/kasteroids/
+%{tde_mandir}/man*/kasteroids.*
+
+##########
+
+%package -n trinity-katomic
+Summary: Atomic Entertainment game for Trinity
+Group: Amusements/Games/Strategy/Other
+
+%description -n trinity-katomic
+This is a puzzle game, in which the object is to assemble a molecule
+from its atoms on a Sokoban-like board. On each move, an atom goes
+as far as it can in a specified direction before being stopped by a
+wall or another atom.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-katomic
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/katomic/
+%{tde_datadir}/icons/hicolor/*/apps/katomic.png
+%{tde_tdeappdir}/katomic.desktop
+%{tde_bindir}/katomic
+%{tde_tdedocdir}/HTML/en/katomic/
+%{tde_mandir}/man*/katomic.*
+
+##########
+
+%package -n trinity-kbackgammon
+Summary: A Backgammon game for Trinity
+Group: Amusements/Games/Board/Other
+
+%description -n trinity-kbackgammon
+KBackgammon is a backgammon program for Trinity. It is based on the
+code, ideas and concepts of KFibs (which is a FIBS client for
+TDE1). For a short time, KBackgammon was called bacKgammon (if you
+know somebody who is still using bacKgammon, please force them to
+upgrade :-)).
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kbackgammon
+%defattr(-,root,root,-)
+%{tde_bindir}/kbackgammon
+%{tde_tdeappdir}/kbackgammon.desktop
+%{tde_datadir}/apps/kbackgammon/
+%{tde_datadir}/icons/hicolor/*/apps/kbackgammon.png
+%{tde_datadir}/icons/hicolor/*/apps/kbackgammon_engine.png
+%{tde_tdedocdir}/HTML/en/kbackgammon/
+%{tde_mandir}/man*/kbackgammon.*
+
+##########
+
+%package -n trinity-kbattleship
+Summary: Battleship game for Trinity
+Group: Amusements/Games/Board/Other
+
+%description -n trinity-kbattleship
+This is an implementation of the Battleship game. Each player tries
+to be the first to sink all the opponent's ships by firing "blindly"
+at them. The game has options to play over a network connection or
+against the computer.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kbattleship
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kbattleship/
+%{tde_datadir}/apps/zeroconf/_kbattleship._tcp
+%{tde_datadir}/icons/hicolor/*/apps/kbattleship.png
+%{tde_tdeappdir}/kbattleship.desktop
+%{tde_bindir}/kbattleship
+%{tde_tdedocdir}/HTML/en/kbattleship/
+%{tde_mandir}/man*/kbattleship.*
+
+##########
+
+%package -n trinity-kblackbox
+Summary: A simple logical game for the Trinity project
+Group: Amusements/Games/Board/Other
+
+%description -n trinity-kblackbox
+KBlackBox is a game of hide and seek played on an grid of boxes. Your
+opponent (Random number generator, in this case) has hidden several
+balls within this box. By shooting rays into the box and observing
+where they emerge it is possible to deduce the positions of the
+hidden balls. The fewer rays you use to find the balls, the lower
+your score.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kblackbox
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kblackbox/
+%{tde_datadir}/icons/hicolor/*/apps/kblackbox.png
+%{tde_tdeappdir}/kblackbox.desktop
+%{tde_bindir}/kblackbox
+%{tde_tdedocdir}/HTML/en/kblackbox/
+%{tde_mandir}/man*/kblackbox.*
+
+##########
+
+%package -n trinity-kbounce
+Summary: Jezzball clone for the K Desktop Environment
+Group: Amusements/Games/Action/Arcade
+
+%description -n trinity-kbounce
+This is a clone of the popular Jezzball game originally created by
+Microsoft. Jezzball is one of the rare and simple games requiring
+skill, timing, and patience in order to be successful. A ball begins
+to bounce off of an area enclosed by four borders (like a
+square). You must move your pointer to certain areas within the
+square. Upon clicking, a new border is constructed at a relatively
+quick pace. You can change the direction of the borders by 90 degrees
+as well. Ultimately, you must force the ball to bounce around in a
+smaller, and smaller area as time goes by without the ball ever
+touching the borders as they are being constructed. If a ball touches
+a certain part of the border as it is being built, the game is over.
+After 75% of the original space has been blocked off from the moving
+ball, you advance one level, and one more ball is added to the mix in
+the following level.
+
+This game was previously known as kjezz.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kbounce
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kbounce/
+%{tde_tdeappdir}/kbounce.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kbounce.png
+%{tde_bindir}/kbounce
+%{tde_tdedocdir}/HTML/en/kbounce/
+%{tde_mandir}/man*/kbounce.*
+
+##########
+
+%package -n trinity-kenolaba
+Summary: Enolaba board game for Trinity
+Group: Amusements/Games/Board/Other
+
+%description -n trinity-kenolaba
+kenolaba is a simple board strategy game that is played by two
+players. There are red and yellow pieces for each player. Beginning
+from a start position where each player has 14 pieces, moves are
+drawn until one player has pushed 6 pieces of his opponent out of the
+board.
+
+This game was previously known as kabalone, and was inspired by the
+board game Abalone by Abalone SA, France.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kenolaba
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kenolaba/
+%{tde_datadir}/icons/hicolor/*/apps/kenolaba.png
+%{tde_tdeappdir}/kenolaba.desktop
+%{tde_bindir}/kenolaba
+%{tde_tdedocdir}/HTML/en/kenolaba/
+%{tde_mandir}/man*/kenolaba.*
+
+##########
+
+%package -n trinity-kfouleggs
+Summary: A TDE clone of the Japanese PuyoPuyo game
+Group: Amusements/Games/Action/Arcade
+
+%description -n trinity-kfouleggs
+KFouleggs is a clone of the Japanese PuyoPuyo game, with advanced
+features such as multiplayer games against human or AI, and network
+play. If you have played Tetris or one of its many clones, you will
+find KFouleggs easy to learn.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kfouleggs
+%defattr(-,root,root,-)
+%{tde_tdeappdir}/kfouleggs.desktop
+%{tde_datadir}/apps/kfouleggs/
+%{tde_datadir}/config.kcfg/kfouleggs.kcfg
+%{tde_bindir}/kfouleggs
+%{tde_datadir}/icons/hicolor/*/apps/kfouleggs.png
+%{tde_tdedocdir}/HTML/en/kfouleggs/
+%{tde_mandir}/man*/kfouleggs.*
+
+##########
+
+%package -n trinity-kgoldrunner
+Summary: A Trinity clone of the Loderunner arcade game
+Group: Amusements/Games/Action/Arcade
+
+%description -n trinity-kgoldrunner
+KGoldrunner, a game of action and puzzle solving. Run through the
+maze, dodge your enemies, collect all the gold and climb up to the
+next level.
+
+You must guide the hero with the mouse or keyboard and collect all
+the gold nuggets, then you can climb up into the next level. Your
+enemies are also after the gold and they will kill you if they catch
+you!
+
+The problem is you have no weapon to kill them. All you can do is
+run away, dig holes in the floor to trap them or lure them into some
+area where they cannot hurt you. After a short time a trapped enemy
+climbs out of his hole, but if it closes before that, he will die and
+reappear somewhere else.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kgoldrunner
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kgoldrunner/
+%{tde_datadir}/icons/hicolor/*/apps/kgoldrunner.png
+%{tde_tdeappdir}/KGoldrunner.desktop
+%{tde_bindir}/kgoldrunner
+%{tde_tdedocdir}/HTML/en/kgoldrunner/
+%{tde_mandir}/man*/kgoldrunner.*
+
+##########
+
+%package -n trinity-kjumpingcube
+Summary: Tactical one or two player game
+Group: Amusements/Games/Strategy/Other
+
+%description -n trinity-kjumpingcube
+KJumpingCube is a simple tactical game. You can play it against the
+computer or against a friend. The playing field consists of squares
+that contains points. By clicking on the squares you can increase
+the points and if the points reach a maximum the points will jump to
+the squares neighbours and take them over. Winner is the one, who
+owns all squares.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kjumpingcube
+%defattr(-,root,root,-)
+%{tde_bindir}/kjumpingcube
+%{tde_datadir}/icons/hicolor/*/apps/kjumpingcube.png
+%{tde_datadir}/apps/kjumpingcube/
+%{tde_tdeappdir}/kjumpingcube.desktop
+%{tde_datadir}/config.kcfg/kjumpingcube.kcfg
+%{tde_tdedocdir}/HTML/en/kjumpingcube/
+%{tde_mandir}/man*/kjumpingcube.*
+
+##########
+
+%package -n trinity-klickety
+Summary: A Clickomania-like game for Trinity
+Group: Amusements/Games/Board/Other
+
+%description -n trinity-klickety
+Klickety is an adaptation of the (perhaps) well-known Clickomania
+game; it is very similar to the "same" game.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-klickety
+%defattr(-,root,root,-)
+%{tde_bindir}/klickety
+%{tde_tdeappdir}/klickety.desktop
+%{tde_datadir}/icons/hicolor/*/apps/klickety.png
+%{tde_datadir}/icons/crystalsvg/*/actions/endturn.png
+%{tde_datadir}/apps/klickety/
+%{tde_tdedocdir}/HTML/en/klickety/
+%{tde_mandir}/man*/klickety.*
+
+##########
+
+%package -n trinity-klines
+Summary: Color lines for Trinity
+Group: Amusements/Games/Strategy/Other
+
+%description -n trinity-klines
+KLines is a simple game. It is played by one player, so there is only
+one winner :-). You play for fun and against the high score. It was
+inspired by a well known game - "Color lines", written for DOS by
+Olga Demina, Igor Demina, Igor Ivkin and Gennady Denisov back in
+1992.
+
+The main rules of the game are as simple as possible: you move (using
+the mouse) marbles from cell to cell and build lines (horizontal,
+vertical or diagonal). When a line contains 5 or more marbles, they
+are removed and your score grows. After each turn the computer drops
+three more marbles.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-klines
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/klines/
+%{tde_tdeappdir}/klines.desktop
+%{tde_bindir}/klines
+%{tde_datadir}/config.kcfg/klines.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/klines.png
+%{tde_tdedocdir}/HTML/en/klines/
+%{tde_mandir}/man*/klines.*
+
+##########
+
+%package -n trinity-kmahjongg
+Summary: The classic mahjongg game for Trinity project
+Group: Amusements/Games/Board/Other
+
+%description -n trinity-kmahjongg
+Your mission in this game is to remove all tiles from the game board. A
+matching pair of tiles can be removed, if they are 'free', which means that
+no other tiles block them on the left or right side.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kmahjongg
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kmahjongg/
+%{tde_datadir}/icons/hicolor/*/apps/kmahjongg.png
+%{tde_tdeappdir}/kmahjongg.desktop
+%{tde_bindir}/kmahjongg
+%{tde_datadir}/config.kcfg/kmahjongg.kcfg
+%{tde_tdedocdir}/HTML/en/kmahjongg/
+%{tde_mandir}/man*/kmahjongg.*
+
+##########
+
+%package -n trinity-kmines
+Summary: Minesweeper for Trinity
+Group: Amusements/Games/Board/Other
+
+%description -n trinity-kmines
+KMines is the classic Minesweeper game. You must uncover all the
+empty cases without blowing on a mine.
+
+When you uncover a case, a number appears : it indicates how many
+mines surround this case. If there is no number the neighbour cases
+are automatically uncovered. In your process of uncovering secure
+cases, it is very useful to put a flag on the cases which contain a
+mine.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kmines
+%defattr(-,root,root,-)
+%{tde_datadir}/icons/hicolor/*/apps/kmines.png
+%{tde_tdeappdir}/kmines.desktop
+%{tde_datadir}/apps/kmines/
+%{tde_bindir}/kmines
+%{tde_tdedocdir}/HTML/en/kmines/
+%{tde_mandir}/man*/kmines.*
+
+##########
+
+%package -n trinity-knetwalk
+Summary: A game for system administrators
+Group: Amusements/Games/Board/Other
+
+%description -n trinity-knetwalk
+This game presents the player with a rectangular field consisting of
+a server, several clients, and pieces of wire. The object is to
+rotate these elements until every client is connected to the server,
+and no wires are left unconnected.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-knetwalk
+%defattr(-,root,root,-)
+%{tde_bindir}/knetwalk
+%{tde_datadir}/apps/knetwalk
+%{tde_datadir}/icons/hicolor/*/apps/knetwalk.png
+%{tde_tdeappdir}/knetwalk.desktop
+%{tde_tdedocdir}/HTML/en/knetwalk/
+%{tde_mandir}/man*/knetwalk.*
+
+##########
+
+%package -n trinity-kolf
+Summary: Minigolf game for TDE
+Group: Amusements/Games/Action/Arcade
+
+%description -n trinity-kolf
+This is a minigolf game for TDE that allows you to go through different
+golf courses and waste an exorbitant amount of time.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kolf
+%defattr(-,root,root,-)
+%config(noreplace) %{tde_confdir}/magic/kolf.magic
+%{tde_datadir}/apps/kolf/
+%{tde_bindir}/kolf
+%{tde_tdeappdir}/kolf.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kolf.png
+%{tde_datadir}/mimelnk/application/x-kolf.desktop
+%{tde_datadir}/mimelnk/application/x-kourse.desktop
+%{tde_libdir}/libtdeinit_kolf.so
+%{tde_libdir}/libtdeinit_kolf.la
+%{tde_tdelibdir}/kolf.la
+%{tde_tdelibdir}/kolf.so
+%{tde_libdir}/libkolf.so.1
+%{tde_libdir}/libkolf.so.1.2.0
+%{tde_tdedocdir}/HTML/en/kolf/
+%config(noreplace) %{tde_confdir}/magic/kolf.magic.mgc
+%{tde_mandir}/man*/kolf.*
+
+##########
+
+%package -n trinity-kolf-devel
+Summary: Development files for Kolf
+Group: Development/Libraries/Other
+Requires: trinity-kolf = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kolf-devel
+This package contains headers and development libraries for compiling
+Kolf plugins.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kolf-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kolf
+%{tde_libdir}/libkolf.la
+%{tde_libdir}/libkolf.so
+
+##########
+
+%package -n trinity-konquest
+Summary: TDE based GNU-Lactic Konquest game
+Group: Amusements/Games/Strategy/Other
+
+%description -n trinity-konquest
+This the TDE version of Gnu-Lactic Konquest, a multi-player strategy
+game. The goal of the game is to expand your interstellar empire
+across the galaxy and, of course, crush your rivals in the process.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-konquest
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/konquest/
+%{tde_datadir}/icons/hicolor/*/apps/konquest.png
+%{tde_tdeappdir}/konquest.desktop
+%{tde_bindir}/konquest
+%{tde_tdedocdir}/HTML/en/konquest/
+%{tde_mandir}/man*/konquest.*
+
+##########
+
+%package -n trinity-kpat
+Summary: Trinity solitaire patience game
+Group: Amusements/Games/Board/Card
+
+%description -n trinity-kpat
+KPatience is a collection of 14 card games. All the games are single
+player games.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kpat
+%defattr(-,root,root,-)
+%{tde_datadir}/icons/hicolor/*/apps/kpat.png
+%{tde_datadir}/apps/kpat/
+%{tde_tdeappdir}/kpat.desktop
+%{tde_bindir}/kpat
+%{tde_tdedocdir}/HTML/en/kpat/
+%{tde_mandir}/man*/kpat.*
+
+##########
+
+%package -n trinity-kpoker
+Summary: Trinity based Poker clone
+Group: Amusements/Games/Board/Card
+
+%description -n trinity-kpoker
+KPoker is a TDE compliant clone of those highly addictive pocket
+video poker games which are sometimes called "Videopoker" as well.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kpoker
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kpoker/
+%{tde_datadir}/icons/hicolor/*/apps/kpoker.png
+%{tde_tdeappdir}/kpoker.desktop
+%{tde_bindir}/kpoker
+%{tde_tdedocdir}/HTML/en/kpoker/
+%{tde_mandir}/man*/kpoker.*
+
+##########
+
+%package -n trinity-kreversi
+Summary: Reversi for Trinity
+Group: Amusements/Games/Board/Other
+
+%description -n trinity-kreversi
+Reversi is a simple strategy game that is played by two
+players. There is only one type of piece - one side of it is black,
+the other white. If a player captures a piece on the board, that
+piece is turned and belongs to that player. The winner is the person
+that has more pieces of his own color on the board and if there are
+no more moves possible.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kreversi
+%defattr(-,root,root,-)
+%{tde_bindir}/kreversi
+%{tde_tdeappdir}/kreversi.desktop
+%{tde_datadir}/apps/kreversi/
+%{tde_datadir}/config.kcfg/kreversi.kcfg
+%{tde_datadir}/icons/crystalsvg/*/actions/lastmoves.png
+%{tde_datadir}/icons/crystalsvg/*/actions/legalmoves.png
+%{tde_datadir}/icons/crystalsvg/scalable/actions/lastmoves.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/legalmoves.svgz
+%{tde_datadir}/icons/hicolor/*/apps/kreversi.png
+%{tde_tdedocdir}/HTML/en/kreversi/
+%{tde_mandir}/man*/kreversi.*
+
+##########
+
+%package -n trinity-ksame
+Summary: SameGame for Trinity
+Group: Amusements/Games/Strategy/Other
+
+%description -n trinity-ksame
+KSame is a simple game. It's played by one player, so there is only
+one winner :-) You play for fun and against the high score. It has
+been inspired by SameGame, that is only famous on the Macintosh
+platform.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ksame
+%defattr(-,root,root,-)
+%{tde_bindir}/ksame
+%{tde_datadir}/icons/hicolor/*/apps/ksame.png
+%{tde_datadir}/apps/ksame/
+%{tde_tdeappdir}/ksame.desktop
+%{tde_tdedocdir}/HTML/en/ksame/
+%{tde_mandir}/man*/ksame.*
+
+##########
+
+%package -n trinity-kshisen
+Summary: Shisen-Sho for Trinity
+Group: Amusements/Games/Board/Other
+
+%description -n trinity-kshisen
+KShisen-Sho is a single-player-game similar to Mahjongg and uses the
+same set of tiles as Mahjongg.
+
+The object of the game is to remove all tiles from the field.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kshisen
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kshisen/
+%{tde_datadir}/config.kcfg/kshisen.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kshisen.png
+%{tde_tdeappdir}/kshisen.desktop
+%{tde_bindir}/kshisen
+%{tde_tdedocdir}/HTML/en/kshisen/
+%{tde_mandir}/man*/kshisen.*
+
+##########
+
+%package -n trinity-ksirtet
+Summary: Tetris and Puyo-Puyo games for Trinity
+Group: Amusements/Games/Board/Other
+
+%description -n trinity-ksirtet
+This program is a clone of the well known game Tetris. You must fit
+the falling pieces to form full lines. You can rotate and translate
+the falling piece. The game ends when no more piece can fall ie when
+your incomplete lines reach the top of the board.
+
+Every time you have destroyed 10 lines, you gain a level and the
+pieces fall quicker (exactly the piece falls from a line each
+1/(1+level) second).
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ksirtet
+%defattr(-,root,root,-)
+%{tde_tdeappdir}/ksirtet.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ksirtet.png
+%{tde_datadir}/apps/ksirtet/
+%{tde_bindir}/ksirtet
+%{tde_datadir}/config.kcfg/ksirtet.kcfg
+%{tde_tdedocdir}/HTML/en/ksirtet/
+%{tde_mandir}/man*/ksirtet.*
+
+##########
+
+%package -n trinity-ksmiletris
+Summary: Tetris like game for Trinity
+Group: Amusements/Games/Action/Arcade
+
+%description -n trinity-ksmiletris
+This is a game with falling blocks composed of different types of
+smilies. The object of the game is to "crack a smile" by guiding
+blocks so there are two or more of the same symbol vertically.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ksmiletris
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/ksmiletris/
+%{tde_datadir}/icons/hicolor/*/apps/ksmiletris.png
+%{tde_tdeappdir}/ksmiletris.desktop
+%{tde_bindir}/ksmiletris
+%{tde_tdedocdir}/HTML/en/ksmiletris/
+%{tde_mandir}/man*/ksmiletris.*
+
+##########
+
+%package -n trinity-ksnake
+Summary: Snake Race for Trinity
+Group: Amusements/Games/Action/Arcade
+
+%description -n trinity-ksnake
+Snake Race is a game of speed and agility. You are a hungry snake and
+are trying to eat all the apples in the room before getting out!
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ksnake
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/ksnake/
+%{tde_datadir}/config.kcfg/ksnake.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/ksnake.png
+%{tde_tdeappdir}/ksnake.desktop
+%{tde_bindir}/ksnake
+%{tde_tdedocdir}/HTML/en/ksnake/
+%{tde_mandir}/man*/ksnake.*
+
+##########
+
+%package -n trinity-ksokoban
+Summary: Sokoban game for Trinity
+Group: Amusements/Games/Strategy/Other
+
+%description -n trinity-ksokoban
+The first sokoban game was created in 1982 by Hiroyuki Imabayashi at
+the Japanese company Thinking Rabbit, Inc. "Sokoban" is japanese for
+"warehouse keeper". The idea is that you are a warehouse keeper
+trying to push crates to their proper locations in a warehouse.
+
+The problem is that you cannot pull the crates or step over them. If
+you are not careful, some of the crates can get stuck in wrong places
+and/or block your way.
+
+It can be rather difficult just to solve a level. But if you want to
+make it even harder, you can try to minimise the number of moves
+and/or pushes you use to solve the level.
+
+To make the game more fun for small kids (below 10 years or so), some
+collections with easier levels are also included in KSokoban. These
+are marked (easy) in the level collection menu. Of course, these
+levels can be fun for adults too, for example if you don't want to
+expose yourself to too much mental strain.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ksokoban
+%defattr(-,root,root,-)
+%{tde_tdeappdir}/ksokoban.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ksokoban.png
+%{tde_bindir}/ksokoban
+%{tde_tdedocdir}/HTML/en/ksokoban/
+%{tde_mandir}/man*/ksokoban.*
+
+##########
+
+%package -n trinity-kspaceduel
+Summary: Arcade two-player space game for Trinity
+Group: Amusements/Games/Action/Arcade
+
+%description -n trinity-kspaceduel
+KSpaceduel is an space arcade game for two players.
+
+Each player controls a ship that flies around the sun and tries to
+shoot at the other ship. You can play KSpaceduel with another person,
+against the computer, or you can have the computer control both ships
+and play each other.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kspaceduel
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kspaceduel/
+%{tde_datadir}/icons/hicolor/*/apps/kspaceduel.png
+%{tde_tdeappdir}/kspaceduel.desktop
+%{tde_bindir}/kspaceduel
+%{tde_datadir}/config.kcfg/kspaceduel.kcfg
+%{tde_tdedocdir}/HTML/en/kspaceduel/
+%{tde_mandir}/man*/kspaceduel.*
+
+##########
+
+%package -n trinity-ktron
+Summary: Tron clone for the K Desktop Environment
+Group: Amusements/Games/Action/Arcade
+
+%description -n trinity-ktron
+The object of the game is to avoid running into walls, your own tail,
+and that of your opponent.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ktron
+%defattr(-,root,root,-)
+%{tde_bindir}/ktron
+%{tde_datadir}/icons/hicolor/*/apps/ktron.png
+%{tde_tdeappdir}/ktron.desktop
+%{tde_datadir}/apps/ktron/
+%{tde_datadir}/config.kcfg/ktron.kcfg
+%{tde_tdedocdir}/HTML/en/ktron/
+%{tde_mandir}/man*/ktron.*
+
+##########
+
+%package -n trinity-ktuberling
+Summary: Potato Guy for Trinity
+Group: Amusements/Games/Action/Arcade
+
+%description -n trinity-ktuberling
+KTuberling is a game intended for small children. Of course, it may
+be suitable for adults who have remained young at heart.
+
+It is a potato editor. That means that you can drag and drop eyes,
+mouths, moustache, and other parts of face and goodies onto a
+potato-like guy. Similarly, you have a penguin on which you can drop
+other stuff.
+
+There is no winner for the game. The only purpose is to make the
+funniest faces you can.
+
+There is a museum (like a "Madame Tusseau" gallery) where you can
+find many funny examples of decorated potatoes. Of course, you can
+send your own creations to the programmer, Eric Bischoff, who will
+include them in the museum if he gets some spare time.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ktuberling
+%defattr(-,root,root,-)
+%{tde_bindir}/ktuberling
+%{tde_datadir}/icons/hicolor/*/apps/ktuberling.png
+%{tde_tdeappdir}/ktuberling.desktop
+%{tde_datadir}/apps/ktuberling/
+%{tde_datadir}/mimelnk/application/x-tuberling.desktop
+%{tde_tdedocdir}/HTML/en/ktuberling/
+%{tde_mandir}/man*/ktuberling.*
+
+##########
+
+%package -n trinity-twin4
+Summary: Connect Four clone for Trinity
+Group: Amusements/Games/Board/Other
+
+%description -n trinity-twin4
+Four wins is a game for two players. Each player is represented by a
+colour (yellow and red). The goal of the game is to get four
+connected pieces of your colour into a row, column or any
+diagonal. This is done by placing one of your pieces into any of the
+seven columns. A piece will begin to fill a column from the bottom,
+i.e. it will fall down until it reaches the ground level or another
+stone. After a move is done it is the turn of the other player. This
+is repeated until the game is over, i.e. one of the players has four
+pieces in a row, column or diagonal or no more moves are possible
+because the board is filled.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-twin4
+%defattr(-,root,root,-)
+%{tde_bindir}/twin4
+%{tde_bindir}/twin4proc
+%{tde_datadir}/apps/twin4/
+%{tde_datadir}/config.kcfg/twin4.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/twin4.png
+%{tde_tdeappdir}/twin4.desktop
+%{tde_tdedocdir}/HTML/en/twin4/
+%{tde_mandir}/man*/twin4.*
+%{tde_mandir}/man*/twin4proc.*
+
+##########
+
+%package -n trinity-lskat
+Summary: Lieutnant Skat card game for Trinity
+Group: Amusements/Games/Board/Card
+
+%description -n trinity-lskat
+Lieutnant Skat (from German Offiziersskat) is a card game for two
+players. It is roughly played according to the rules of Skat but with
+only two players and simplified rules.
+
+Every player has a set of cards in front of him/her, half of them
+covered and half of them open. Both players try to win more than 60
+of the 120 possible points. After 16 moves all cards are played and
+the game ends.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-lskat
+%defattr(-,root,root,-)
+%{tde_bindir}/lskat
+%{tde_bindir}/lskatproc
+%{tde_datadir}/apps/lskat/
+%{tde_datadir}/icons/hicolor/*/apps/lskat.png
+%{tde_tdeappdir}/lskat.desktop
+%{tde_tdedocdir}/HTML/en/lskat/
+%{tde_mandir}/man*/lskat.*
+%{tde_mandir}/man*/lskatproc.*
+
+##########
+
+%package -n trinity-tdefifteen
+Summary: Puzzle-solving game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-tdefifteen
+TDEFifteen is a sliding puzzle that consists of a frame of numbered square
+tiles in random order with one tile missing.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-tdefifteen
+%defattr(-,root,root,-)
+%{tde_bindir}/tdefifteen
+%{tde_tdeappdir}/tdefifteen.desktop
+%{tde_datadir}/icons/hicolor/*/apps/tdefifteen.png
+%{tde_mandir}/man*/tdefifteen.*
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+
+# Specific path for RHEL4
+if [ -d "/usr/X11R6" ]; then
+ export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_NO_BUILTIN_CHRPATH=ON \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DCMAKE_PROGRAM_PATH="%{tde_bindir}" \
+ -DWITH_GCC_VISIBILITY=ON \
+ \
+ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON" \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{?buildroot} -C build
+
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file -r kasteroids Game ArcadeGame
+%suse_update_desktop_file -r KGoldrunner Game ArcadeGame
+%suse_update_desktop_file -r ksnake Game ArcadeGame
+%suse_update_desktop_file -r kspaceduel Game ArcadeGame
+%suse_update_desktop_file -r ktron Game ArcadeGame
+%suse_update_desktop_file -r kfouleggs Game BlocksGame
+%suse_update_desktop_file -r ksirtet Game BlocksGame
+%suse_update_desktop_file -r klickety Game BoardGame
+%suse_update_desktop_file -r ksmiletris Game BlocksGame
+%suse_update_desktop_file -r ktuberling Game KidsGame
+%suse_update_desktop_file -r atlantik Game BoardGame
+%suse_update_desktop_file -r kbackgammon Game BoardGame
+%suse_update_desktop_file -r kbattleship Game BoardGame
+%suse_update_desktop_file -r kblackbox Game BoardGame
+%suse_update_desktop_file -r kenolaba Game BoardGame
+%suse_update_desktop_file -r kmahjongg Game BoardGame
+%suse_update_desktop_file -r kreversi Game BoardGame
+%suse_update_desktop_file -r kshisen Game BoardGame
+%suse_update_desktop_file -r twin4 Game BoardGame
+%suse_update_desktop_file -r kpat Game CardGame
+%suse_update_desktop_file -r kpoker Game CardGame
+%suse_update_desktop_file -r lskat Game CardGame
+%suse_update_desktop_file -r katomic Game LogicGame
+%suse_update_desktop_file -r kjumpingcube Game LogicGame
+%suse_update_desktop_file -r klines Game LogicGame
+%suse_update_desktop_file -r -G "Tactical Game" knetwalk Game LogicGame
+%suse_update_desktop_file -r kmines Game LogicGame
+%suse_update_desktop_file -r konquest Game LogicGame
+%suse_update_desktop_file -r ksame Game LogicGame
+%suse_update_desktop_file -r ksokoban Game LogicGame
+%suse_update_desktop_file -r kbounce Game LogicGame
+%suse_update_desktop_file -r kolf Game SportsGame
+%endif
+
+# Links duplicate files
+%fdupes "%{?buildroot}"
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
diff --git a/redhat/core/tdegames/trinity-tdegames-rpmlintrc b/redhat/core/tdegames/trinity-tdegames-rpmlintrc
new file mode 100644
index 000000000..529351884
--- /dev/null
+++ b/redhat/core/tdegames/trinity-tdegames-rpmlintrc
@@ -0,0 +1,2 @@
+setBadness('library-without-ldconfig-postun', 0)
+setBadness('library-without-ldconfig-postin', 0)
diff --git a/redhat/core/tdegraphics/tdegraphics.spec b/redhat/core/tdegraphics/tdegraphics.spec
new file mode 100644
index 000000000..f5885d39f
--- /dev/null
+++ b/redhat/core/tdegraphics/tdegraphics.spec
@@ -0,0 +1,1137 @@
+#
+# spec file for package tdegraphics (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# TDE variables
+%define tde_epoch 2
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdegraphics
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+
+Name: trinity-%{tde_pkg}
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+Summary: Trinity Desktop Environment - Graphics Applications
+Group: Productivity/Graphics/Viewers
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Desktop
+#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: %{name}-rpmlintrc
+
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-tdebase-devel >= %{tde_version}
+
+BuildRequires: trinity-cmake >= %{tde_version}
+BuildRequires: gcc-c++
+BuildRequires: gettext
+BuildRequires: libtool
+BuildRequires: fdupes
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+# IDN support
+BuildRequires: libidn-devel
+
+# GAMIN support
+# Not on openSUSE.
+%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_gamin 1
+BuildRequires: gamin-devel
+%endif
+
+# LIBUSB support
+%if 0%{?fedora} >= 37
+BuildRequires: libusb1-devel
+BuildRequires: libusb-compat-0.1-devel
+%else
+BuildRequires: libusb-devel
+%endif
+
+# MNG support
+BuildRequires: libmng-devel
+
+# TIFF support
+BuildRequires: libtiff-devel
+
+# PCRE support
+BuildRequires: pcre-devel
+
+# ACL support
+BuildRequires: libacl-devel
+
+# GIF support
+%if 0%{?suse_version} || 0%{?fedora} >= 28 || 0%{?rhel} >= 8
+BuildRequires: giflib-devel
+%else
+BuildRequires: libungif-devel
+%endif
+
+# GPHOTO2 support
+%if 0%{?suse_version}
+BuildRequires: libgphoto2-devel
+%else
+BuildRequires: gphoto2-devel
+%endif
+
+# PAPER support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_paper 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}paper-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: libpaper-devel
+%endif
+%endif
+
+# T1LIB support
+%if 0%{?suse_version} && 0%{?suse_version} <= 1230
+%define with_t1lib 1
+BuildRequires: t1lib-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion} || (0%{?rhel} >= 5 && 0%{?rhel} <= 7) || 0%{?fedora}
+%define with_t1lib 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}t1lib-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora}
+BuildRequires: t1lib-devel
+%endif
+%endif
+
+# SANE support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}sane1-devel
+%else
+BuildRequires: sane-backends-devel
+%endif
+
+# LIBXXF86VM support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xxf86vm-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210
+BuildRequires: libXxf86vm-devel
+%endif
+
+# XMU support
+%if 0%{?suse_version} == 1140
+BuildRequires: xorg-x11-libXmu-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210
+BuildRequires: libXmu-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion} >= 4
+BuildRequires: libxmu-devel
+%endif
+%if 0%{?mgaversion} == 2 || 0%{?mgaversion} == 3
+BuildRequires: %{_lib}xmu%{?mgaversion:6}-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
+%if 0%{?suse_version}
+BuildRequires: Mesa-libGL-devel
+BuildRequires: Mesa-libGLU-devel
+%endif
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-Mesa-libGLU
+%endif
+
+# DRM support
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+%else
+BuildRequires: libdrm-devel
+%endif
+
+# OPENEXR support
+BuildRequires: OpenEXR-devel
+
+# POPPLER support
+%define with_pdf 1
+%if 0%{?with_pdf}
+%if 0%{?rhel} >=6 || 0%{?fedora} >= 15 || 0%{?suse_version}
+%if 0%{?suse_version} >= 1500
+BuildRequires: libpoppler-devel >= 0.12
+%else
+BuildRequires: poppler-devel >= 0.12
+%endif
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}poppler-devel
+%endif
+%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
+# On RHEL 5, the distro-provided poppler is too old. We built a newer one.
+BuildRequires: trinity-poppler-devel >= 0.12
+%endif
+%endif
+
+# LCMS support
+%if 0%{?suse_version} || 0%{?rhel} >= 7
+BuildRequires: liblcms-devel
+%else
+BuildRequires: lcms-devel
+%endif
+
+# FRIBIDI support
+BuildRequires: fribidi-devel
+
+# OPENSSL support
+BuildRequires: openssl-devel
+
+# kamera
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+%define build_kamera 1
+%endif
+
+# kmrml (deprecated)
+#define build_kmrml 1
+%if 0%{?build_kmrml}
+#Requires: gift
+%else
+Obsoletes: trinity-kmrml < %{?epoch:%{epoch}:}%{version}-%{release}
+%endif
+
+Obsoletes: trinity-kdegraphics < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdegraphics = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdegraphics-libs < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdegraphics-libs = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdegraphics-extras < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdegraphics-extras = %{?epoch:%{epoch}:}%{version}-%{release}
+
+
+%{?build_kamera:Requires: trinity-kamera = %{?epoch:%{epoch}:}%{version}-%{release}}
+Requires: trinity-kcoloredit = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-kfile-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kdvi = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kfax = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kfaxview = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kgamma = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kghostview = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kiconedit = %{?epoch:%{epoch}:}%{version}-%{release}
+%{?build_kmrml:Requires: trinity-kmrml = %{?epoch:%{epoch}:}%{version}-%{release}}
+Requires: trinity-kolourpaint = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kooka = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kpdf = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kpovmodeler = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kruler = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksnapshot = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksvg = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kview = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kviewshell = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkscan = %{?epoch:%{epoch}:}%{version}-%{release}
+%if 0%{?with_pdf}
+Requires: trinity-libpoppler-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
+%endif
+
+%description
+Graphics applications for the Trinity Desktop Environment, including
+%if 0%{?build_kamera}
+* kamera (digital camera support)
+%endif
+* kcoloredit (palette editor and color chooser)
+* kdvi (displays TeX .dvi files)
+* kfax
+* kfaxview
+* kghostview (displays postscript files)
+* kiconedit (icon editor)
+* kooka (scanner application)
+* kpdf (displays PDF files)
+* kpovmodler
+* kruler (screen ruler and color measurement tool)
+* ksnapshot (screen capture utility)
+* kview (image viewer for GIF, JPEG, TIFF, etc.)
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog README
+
+##########
+
+%if 0%{?build_kamera}
+
+%package -n trinity-kamera
+Summary: Digital camera io_slave for Konqueror
+Group: Hardware/Camera
+
+%description -n trinity-kamera
+This is a digital camera io_slave for TDE which uses gphoto2 and libgpio
+to allow access to your camera's pictures with the URL camera:/
+
+%files -n trinity-kamera
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcm_kamera.la
+%{tde_tdelibdir}/kcm_kamera.so
+%{tde_tdelibdir}/tdeio_kamera.la
+%{tde_tdelibdir}/tdeio_kamera.so
+%{tde_tdeappdir}/kamera.desktop
+%{tde_datadir}/services/camera.protocol
+%{tde_tdedocdir}/HTML/en/kamera/
+%{tde_tdedocdir}/HTML/en/tdeioslave/camera/
+
+%endif
+
+##########
+
+%package -n trinity-kcoloredit
+Summary: A color palette editor and color picker for TDE
+Group: Productivity/Graphics/Viewers
+
+%description -n trinity-kcoloredit
+This package contains two programs, a color palette editor and also a color
+picker.
+
+%files -n trinity-kcoloredit
+%defattr(-,root,root,-)
+%{tde_bindir}/kcolorchooser
+%{tde_bindir}/kcoloredit
+%{tde_tdeappdir}/kcolorchooser.desktop
+%{tde_tdeappdir}/kcoloredit.desktop
+%{tde_datadir}/apps/kcoloredit/
+%{tde_datadir}/icons/hicolor/*/apps/kcolorchooser.png
+%{tde_datadir}/icons/hicolor/*/apps/kcoloredit.png
+%{tde_tdedocdir}/HTML/en/kcoloredit/
+%{tde_mandir}/man1/kcolorchooser.1*
+%{tde_mandir}/man1/kcoloredit.1*
+
+##########
+
+%package kfile-plugins
+Summary: TDE metainfo plugins for graphic files
+Group: System/GUI/Other
+
+%description kfile-plugins
+This packages provides meta information for graphic files (file sizes,
+tags, etc. all from within the file manager).
+
+%files kfile-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/gsthumbnail.la
+%{tde_tdelibdir}/gsthumbnail.so
+%{tde_tdelibdir}/tdefile_bmp.la
+%{tde_tdelibdir}/tdefile_bmp.so
+%{tde_tdelibdir}/tdefile_dds.la
+%{tde_tdelibdir}/tdefile_dds.so
+%{tde_tdelibdir}/tdefile_dvi.la
+%{tde_tdelibdir}/tdefile_dvi.so
+%{tde_tdelibdir}/tdefile_exr.la
+%{tde_tdelibdir}/tdefile_exr.so
+%{tde_tdelibdir}/tdefile_gif.la
+%{tde_tdelibdir}/tdefile_gif.so
+%{tde_tdelibdir}/tdefile_ico.la
+%{tde_tdelibdir}/tdefile_ico.so
+%{tde_tdelibdir}/tdefile_jpeg.la
+%{tde_tdelibdir}/tdefile_jpeg.so
+%{tde_tdelibdir}/tdefile_pcx.la
+%{tde_tdelibdir}/tdefile_pcx.so
+%if 0%{?with_pdf}
+%{tde_tdelibdir}/tdefile_pdf.la
+%{tde_tdelibdir}/tdefile_pdf.so
+%endif
+%{tde_tdelibdir}/tdefile_png.la
+%{tde_tdelibdir}/tdefile_png.so
+%{tde_tdelibdir}/tdefile_pnm.la
+%{tde_tdelibdir}/tdefile_pnm.so
+%{tde_tdelibdir}/tdefile_ps.la
+%{tde_tdelibdir}/tdefile_ps.so
+%{tde_tdelibdir}/tdefile_raw.la
+%{tde_tdelibdir}/tdefile_raw.so
+%{tde_tdelibdir}/tdefile_rgb.la
+%{tde_tdelibdir}/tdefile_rgb.so
+%{tde_tdelibdir}/tdefile_tga.la
+%{tde_tdelibdir}/tdefile_tga.so
+%{tde_tdelibdir}/tdefile_tiff.la
+%{tde_tdelibdir}/tdefile_tiff.so
+%{tde_tdelibdir}/tdefile_xbm.la
+%{tde_tdelibdir}/tdefile_xbm.so
+%{tde_tdelibdir}/tdefile_xpm.la
+%{tde_tdelibdir}/tdefile_xpm.so
+%{tde_datadir}/services/gsthumbnail.desktop
+%{tde_datadir}/services/tdefile_bmp.desktop
+%{tde_datadir}/services/tdefile_dds.desktop
+%{tde_datadir}/services/tdefile_dvi.desktop
+%{tde_datadir}/services/tdefile_exr.desktop
+%{tde_datadir}/services/tdefile_gif.desktop
+%{tde_datadir}/services/tdefile_ico.desktop
+%{tde_datadir}/services/tdefile_jpeg.desktop
+%{tde_datadir}/services/tdefile_pcx.desktop
+%if 0%{?with_pdf}
+%{tde_datadir}/services/tdefile_pdf.desktop
+%endif
+%{tde_datadir}/services/tdefile_png.desktop
+%{tde_datadir}/services/tdefile_pnm.desktop
+%{tde_datadir}/services/tdefile_ps.desktop
+%{tde_datadir}/services/tdefile_raw.desktop
+%{tde_datadir}/services/tdefile_rgb.desktop
+%{tde_datadir}/services/tdefile_tga.desktop
+%{tde_datadir}/services/tdefile_tiff.desktop
+%{tde_datadir}/services/tdefile_xbm.desktop
+%{tde_datadir}/services/tdefile_xpm.desktop
+
+##########
+
+%package -n trinity-kdvi
+Summary: Dvi viewer for TDE
+Group: Productivity/Graphics/Viewers
+
+%description -n trinity-kdvi
+This program and KPart allow the user to display *.DVI files from TeX.
+
+%files -n trinity-kdvi
+%defattr(-,root,root,-)
+%{tde_bindir}/kdvi
+%{tde_tdelibdir}/kdvipart.la
+%{tde_tdelibdir}/kdvipart.so
+%{tde_tdeappdir}/kdvi.desktop
+%{tde_datadir}/apps/kdvi/
+%{tde_datadir}/config.kcfg/kdvi.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kdvi.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kdvi.svgz
+%{tde_datadir}/services/kdvimultipage.desktop
+%{tde_tdedocdir}/HTML/en/kdvi/
+%{tde_mandir}/man1/kdvi.1*
+
+##########
+
+%package -n trinity-kfax
+Summary: G3/G4 fax viewer for Trinity
+Group: Productivity/Graphics/Viewers
+
+%description -n trinity-kfax
+A fax viewer for Trinity, supporting the display of raw and tiffed fax images
+(g3, g3-2d, g4).
+
+%files -n trinity-kfax
+%defattr(-,root,root,-)
+%{tde_bindir}/kfax
+%{tde_tdeappdir}/kfax.desktop
+%{tde_datadir}/apps/kfax/
+%{tde_datadir}/icons/hicolor/??x??/apps/kfax.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kfax.svgz
+%{tde_tdedocdir}/HTML/en/kfax/
+%{tde_mandir}/man1/kfax.1*
+
+##########
+
+%package -n trinity-kfaxview
+Summary: G3/G4 fax viewer for Trinity using kviewshell
+Group: Productivity/Publishing/TeX/Frontends
+
+%description -n trinity-kfaxview
+A fax viewer for Trinity, supporting the display of raw and tiffed fax images
+(g3, g3-2d, g4).
+
+This faxviewer uses kviewshell and is intended to replace the standalone
+kfax application once it reproduces all of kfax's features.
+
+%files -n trinity-kfaxview
+%defattr(-,root,root,-)
+%{tde_bindir}/kfaxview
+%{tde_libdir}/libkfaximage.so.*
+%{tde_tdelibdir}/kfaxviewpart.*
+%{tde_tdeappdir}/kfaxview.desktop
+%{tde_datadir}/apps/kfaxview/
+%{tde_datadir}/icons/hicolor/??x??/apps/kfaxview.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kfaxview.svgz
+%{tde_datadir}/services/kfaxmultipage.desktop
+%{tde_datadir}/services/kfaxmultipage_tiff.desktop
+%{tde_tdedocdir}/HTML/en/kfaxview/
+%{tde_mandir}/man1/kfaxview.1*
+
+##########
+
+%package -n trinity-kgamma
+Summary: Gamma correction module for the Trinity Control Center
+Group: Productivity/Graphics/Viewers
+
+%description -n trinity-kgamma
+KGamma is a Trinity Control Center module for gamma calibration/correction
+of XFree86. With proper gamma settings, your display (websites, images,
+etc.) will look the same on your monitor as on other monitors.
+
+Homepage: http://kgamma.berlios.de/index2.php
+
+%files -n trinity-kgamma
+%defattr(-,root,root,-)
+%{tde_bindir}/xf86gammacfg
+%{tde_tdelibdir}/kcm_kgamma.la
+%{tde_tdelibdir}/kcm_kgamma.so
+%{tde_datadir}/applnk/.hidden/kgamma.desktop
+%{tde_datadir}/apps/kgamma/
+%{tde_datadir}/icons/hicolor/*/apps/kgamma.png
+%{tde_tdedocdir}/HTML/en/kgamma/
+
+##########
+
+%package -n trinity-kghostview
+Summary: PostScript viewer for Trinity
+Group: Productivity/Graphics/Viewers
+Requires: ghostscript
+
+%description -n trinity-kghostview
+KGhostview is Trinity's PostScript viewer. It is a port of Tim Theisen's
+Ghostview program which is used to view documents prepared in Adobe's
+PostScript page description language. PostScript is the major page
+description language for printing on UNIX systems, and this application is
+useful to preview material intended for printing, or for reading documents
+online.
+
+%files -n trinity-kghostview
+%defattr(-,root,root,-)
+%{tde_bindir}/kghostview
+%{tde_tdelibdir}/libkghostviewpart.la
+%{tde_tdelibdir}/libkghostviewpart.so
+%{tde_libdir}/libkghostviewlib.so.*
+%{tde_tdeappdir}/kghostview.desktop
+%{tde_datadir}/apps/tdeconf_update/kghostview.upd
+%{tde_datadir}/apps/tdeconf_update/update-to-xt-names.pl
+%{tde_datadir}/apps/kghostview/
+%{tde_datadir}/config.kcfg/kghostview.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kghostview.png
+%{tde_datadir}/services/kghostview_part.desktop
+%{tde_tdedocdir}/HTML/en/kghostview/
+%{tde_mandir}/man1/kghostview.1*
+
+##########
+
+%package -n trinity-tdeiconedit
+Summary: An icon editor for Trinity
+Group: Productivity/Graphics/Viewers
+
+Obsoletes: trinity-kiconedit < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kiconedit = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-tdeiconedit
+TDEIconedit allows you easily to create and edit icons.
+
+%files -n trinity-tdeiconedit
+%defattr(-,root,root,-)
+%{tde_bindir}/tdeiconedit
+%{tde_tdeappdir}/tdeiconedit.desktop
+%{tde_datadir}/apps/tdeiconedit/
+%{tde_datadir}/icons/hicolor/*/apps/tdeiconedit.png
+%{tde_tdedocdir}/HTML/en/tdeiconedit/
+%{tde_mandir}/man1/tdeiconedit.1*
+
+##########
+
+%if 0%{?build_kmrml}
+
+%package -n trinity-kmrml
+Summary: A Konqueror plugin for searching pictures
+Group: Productivity/Graphics/Viewers
+
+%description -n trinity-kmrml
+MRML is short for Multimedia Retrieval Markup Language, which defines a
+protocol for querying a server for images based on their content. See
+http://www.mrml.net about MRML and the GNU Image Finding Tool (GIFT), an
+MRML server.
+
+%files -n trinity-kmrml
+%defattr(-,root,root,-)
+%{tde_bindir}/mrmlsearch
+%{tde_tdelibdir}/kcm_kmrml.la
+%{tde_tdelibdir}/kcm_kmrml.so
+%{tde_tdelibdir}/kded_daemonwatcher.la
+%{tde_tdelibdir}/kded_daemonwatcher.so
+%{tde_tdelibdir}/tdeio_mrml.la
+%{tde_tdelibdir}/tdeio_mrml.so
+%{tde_tdelibdir}/libkmrmlpart.la
+%{tde_tdelibdir}/libkmrmlpart.so
+%{tde_tdelibdir}/mrmlsearch.la
+%{tde_tdelibdir}/mrmlsearch.so
+%{tde_libdir}/libtdeinit_mrmlsearch.so
+%{tde_tdeappdir}/kcmkmrml.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/mrml-servicemenu.desktop
+%{tde_datadir}/mimelnk/text/mrml.desktop
+%{tde_datadir}/services/kded/daemonwatcher.desktop
+%{tde_datadir}/services/mrml.protocol
+%{tde_datadir}/services/mrml_part.desktop
+
+%endif
+
+##########
+
+%package -n trinity-kolourpaint
+Summary: A simple paint program for Trinity
+Group: Productivity/Graphics/Viewers
+
+%description -n trinity-kolourpaint
+KolourPaint is a very simple paint program for Trinity. It aims to be
+conceptually simple to understand; providing a level of functionality
+targeted towards the average user. It's designed for daily tasks like:
+
+* Painting - drawing diagrams and "finger painting"
+* Image Manipulation - editing screenshots and photos; applying effects
+* Icon Editing - drawing clipart and logos with transparency
+
+It's not an unusable and monolithic program where simple tasks like
+drawing lines become near impossible. Nor is it so simple that it lacks
+essential features like Undo/Redo.
+
+Homepage: http://kolourpaint.sourceforge.net
+
+%files -n trinity-kolourpaint
+%defattr(-,root,root,-)
+%{tde_bindir}/kolourpaint
+%{tde_tdeappdir}/kolourpaint.desktop
+%{tde_datadir}/apps/kolourpaint/
+%{tde_datadir}/icons/hicolor/*/apps/kolourpaint.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kolourpaint.svgz
+%{tde_tdedocdir}/HTML/en/kolourpaint/
+%{tde_mandir}/man1/kolourpaint.1*
+
+##########
+
+%package -n trinity-kooka
+Summary: Scanner program for Trinity
+Group: Hardware/Scanner
+
+%description -n trinity-kooka
+Kooka is an open source GNU/Linux scan program based on SANE and
+KScan library.
+
+Kooka helps you to handle the most important scan parameters, find the
+correct image file format to save and manage your scanned images. It
+offers support for different OCR modules. Libkscan, a autonomous part
+of Kooka, provides a scan service for easy and consistent use to all
+KDE applications.
+
+Install ocrad or gocr if you wish to enable optical character recognition
+in kooka.
+
+Homepage: http://kooka.kde.org/
+
+%files -n trinity-kooka
+%defattr(-,root,root,-)
+%{tde_bindir}/kooka
+%{tde_tdeappdir}/kooka.desktop
+%{tde_datadir}/apps/kooka/
+%config(noreplace) %{tde_confdir}/kookarc
+%{tde_datadir}/icons/hicolor/*/apps/kooka.png
+%{tde_tdedocdir}/HTML/en/kooka/
+%{tde_mandir}/man1/kooka.1*
+
+##########
+
+%package -n trinity-kpdf
+Summary: PDF viewer for Trinity
+Group: Productivity/Graphics/Viewers
+
+%description -n trinity-kpdf
+KPDF allows you to view PDF (Portable Document Format) files. This package
+includes kpdfpart so you can embed in konqueror or run as a standalone
+application.
+
+%files -n trinity-kpdf
+%defattr(-,root,root,-)
+%{tde_bindir}/kpdf
+%{tde_tdelibdir}/libkpdfpart.la
+%{tde_tdelibdir}/libkpdfpart.so
+%{tde_tdeappdir}/kpdf.desktop
+%{tde_datadir}/apps/kpdf/
+%{tde_datadir}/apps/kpdfpart/
+%{tde_datadir}/config.kcfg/kpdf.kcfg
+%{tde_tdedocdir}/HTML/en/kpdf/
+%{tde_datadir}/icons/hicolor/*/apps/kpdf.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kpdf.svgz
+%{tde_datadir}/services/kpdf_part.desktop
+%{tde_mandir}/man1/kpdf.1*
+
+##########
+
+%package -n trinity-kpovmodeler
+Summary: A graphical editor for povray scenes
+Group: Productivity/Graphics/Viewers
+#Requires: povray
+
+%description -n trinity-kpovmodeler
+KPovmodeler is KDE's graphical editor for povray scenes. KPovModeler is a
+modeling and composition program for creating POV-Ray scenes in KDE.
+
+For most modelers, POV-Ray is nothing but a rendering engine. This greatly
+limits the innate possibilities of the POV-Ray scripted language. This
+is not the case for KPovModeler, which allows you to use all the features
+of POV-Ray through the translation of POV-Ray language into a graphical
+tree.
+
+kpovmodeler uses the povray package, currently available only in Debian's
+non-free, unsupported repository.
+
+Homepage: http://www.kpovmodeler.org
+
+%files -n trinity-kpovmodeler
+%defattr(-,root,root,-)
+%{tde_bindir}/kpovmodeler
+%{tde_libdir}/libkpovmodeler.so.*
+%{tde_tdelibdir}/libkpovmodelerpart.*
+%{tde_tdeappdir}/kpovmodeler.desktop
+%{tde_datadir}/apps/kpovmodeler/
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.*
+%{tde_datadir}/icons/hicolor/*/apps/kpovmodeler.*
+%doc %{tde_tdedocdir}/HTML/en/kpovmodeler/
+%{tde_mandir}/man1/kpovmodeler.1*
+
+##########
+
+%package -n trinity-kruler
+Summary: A screen ruler and color measurement tool for Trinity
+Group: Productivity/Graphics/Viewers
+
+%description -n trinity-kruler
+Kruler is a screen ruler (using pixels) and color measurement tool for KDE.
+
+%files -n trinity-kruler
+%defattr(-,root,root,-)
+%{tde_bindir}/kruler
+%{tde_tdeappdir}/kruler.desktop
+%{tde_datadir}/applnk/Graphics/kruler.desktop
+%{tde_datadir}/apps/kruler/
+%{tde_datadir}/icons/hicolor/*/apps/kruler.png
+%{tde_tdedocdir}/HTML/en/kruler/
+%{tde_mandir}/man1/kruler.1*
+
+##########
+
+%package -n trinity-ksnapshot
+Summary: Screenshot utility for Trinity
+Group: Productivity/Graphics/Viewers
+
+%description -n trinity-ksnapshot
+KSnapshot is a simple applet for taking screenshots. It is capable of
+capturing images of either the whole desktop or just a single window.
+The images can then be saved in a variety of formats.
+
+%files -n trinity-ksnapshot
+%defattr(-,root,root,-)
+%{tde_bindir}/ksnapshot
+%{tde_tdeappdir}/ksnapshot.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ksnapshot.png
+%{tde_datadir}/icons/hicolor/scalable/apps/ksnapshot.svgz
+%{tde_tdedocdir}/HTML/en/ksnapshot/
+%{tde_mandir}/man1/ksnapshot.1*
+
+##########
+
+%package -n trinity-ksvg
+Summary: SVG viewer for Trinity
+Group: Productivity/Graphics/Viewers
+
+%description -n trinity-ksvg
+KSVG allows you view SVG (scalable vector graphics) files. This package
+includes kpart so you can embed it in konqueror and a standalone
+application.
+
+%files -n trinity-ksvg
+%defattr(-,root,root,-)
+%{tde_bindir}/printnodetest
+%{tde_bindir}/svgdisplay
+%{tde_tdelibdir}/libksvgplugin.la
+%{tde_tdelibdir}/libksvgplugin.so
+%{tde_tdelibdir}/libksvgrendererlibart.la
+%{tde_tdelibdir}/libksvgrendererlibart.so
+%{tde_tdelibdir}/svgthumbnail.la
+%{tde_tdelibdir}/svgthumbnail.so
+%{tde_libdir}/libksvg.so.0
+%{tde_libdir}/libksvg.so.0.0.1
+%{tde_libdir}/libtext2path.so.0
+%{tde_libdir}/libtext2path.so.0.0.0
+%{tde_datadir}/apps/ksvg/
+%{tde_datadir}/services/ksvglibartcanvas.desktop
+%{tde_datadir}/services/ksvgplugin.desktop
+%{tde_datadir}/services/svgthumbnail.desktop
+%{tde_datadir}/servicetypes/ksvgrenderer.desktop
+
+##########
+
+%package -n trinity-kview
+Summary: Simple image viewer/converter for Trinity
+Group: Productivity/Graphics/Viewers
+
+%description -n trinity-kview
+KView is a simple image viewer and converter application. It supports
+a number of plugins, which add an array of basic editing capabilities
+as well.
+
+%files -n trinity-kview
+%defattr(-,root,root,-)
+%{tde_bindir}/kview
+%{tde_tdelibdir}/kcm_kviewcanvasconfig.la
+%{tde_tdelibdir}/kcm_kviewcanvasconfig.so
+%{tde_tdelibdir}/kcm_kviewgeneralconfig.la
+%{tde_tdelibdir}/kcm_kviewgeneralconfig.so
+%{tde_tdelibdir}/kcm_kviewpluginsconfig.la
+%{tde_tdelibdir}/kcm_kviewpluginsconfig.so
+%{tde_tdelibdir}/kcm_kviewpresenterconfig.la
+%{tde_tdelibdir}/kcm_kviewpresenterconfig.so
+%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.la
+%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.so
+%{tde_tdelibdir}/kview.la
+%{tde_tdelibdir}/kview.so
+%{tde_tdelibdir}/kview_browserplugin.la
+%{tde_tdelibdir}/kview_browserplugin.so
+%{tde_tdelibdir}/kview_effectsplugin.la
+%{tde_tdelibdir}/kview_effectsplugin.so
+%{tde_tdelibdir}/kview_presenterplugin.la
+%{tde_tdelibdir}/kview_presenterplugin.so
+%{tde_tdelibdir}/kview_scannerplugin.la
+%{tde_tdelibdir}/kview_scannerplugin.so
+%{tde_tdelibdir}/libkviewcanvas.la
+%{tde_tdelibdir}/libkviewcanvas.so
+%{tde_tdelibdir}/libkviewviewer.la
+%{tde_tdelibdir}/libkviewviewer.so
+%{tde_libdir}/libtdeinit_kview.so
+%{tde_libdir}/libkimageviewer.so.*
+%{tde_tdelibdir}/libphotobook.la
+%{tde_tdelibdir}/libphotobook.so
+%{tde_tdeappdir}/kview.desktop
+%{tde_datadir}/apps/kview/
+%{tde_datadir}/apps/kviewviewer/
+%{tde_datadir}/apps/photobook/
+%{tde_datadir}/icons/crystalsvg/*/apps/photobook.png
+%{tde_datadir}/icons/hicolor/*/apps/kview.png
+%{tde_datadir}/services/tdeconfiguredialog/
+%{tde_datadir}/services/kviewcanvas.desktop
+%{tde_datadir}/services/kviewviewer.desktop
+%{tde_datadir}/services/photobook.desktop
+%{tde_datadir}/servicetypes/kimageviewer.desktop
+%{tde_datadir}/servicetypes/kimageviewercanvas.desktop
+%{tde_tdedocdir}/HTML/en/kview/
+%{tde_mandir}/man1/kview.1*
+
+##########
+
+%package -n trinity-kviewshell
+Summary: Generic framework for viewer applications in Trinity
+Group: Productivity/Graphics/Viewers
+
+%description -n trinity-kviewshell
+KViewShell is a generic viewing framework that allows the graphical
+applications, such as the kview image viewer, to be embedded in other
+KDE applications, such as Konqueror.
+
+KViewShell comes with a djvuviewpart plugin included, for viewing
+DjVu images.
+
+%files -n trinity-kviewshell
+%defattr(-,root,root,-)
+%{tde_bindir}/kviewshell
+%{tde_libdir}/libdjvu.la
+%{tde_libdir}/libdjvu.so
+%{tde_tdelibdir}/djvuviewpart.so
+%{tde_tdelibdir}/djvuviewpart.la
+%{tde_tdelibdir}/emptymultipagepart.la
+%{tde_tdelibdir}/emptymultipagepart.so
+%{tde_tdelibdir}/kviewerpart.la
+%{tde_tdelibdir}/kviewerpart.so
+%{tde_libdir}/libtdemultipage.so.*
+%{tde_datadir}/apps/djvumultipage.rc
+%{tde_datadir}/apps/kviewerpart/
+%{tde_datadir}/apps/kviewshell/
+%{tde_datadir}/config.kcfg/djvumultipage.kcfg
+%{tde_datadir}/config.kcfg/kviewshell.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/kviewshell.png
+%{tde_datadir}/services/emptymultipage.desktop
+%{tde_datadir}/services/djvumultipage.desktop
+%{tde_datadir}/servicetypes/tdemultipage.desktop
+%{tde_mandir}/man1/kviewshell.1*
+
+##########
+
+%package -n trinity-libkscan
+Summary: Scanner library for Trinity
+Group: Hardware/Scanner
+
+%description -n trinity-libkscan
+KScan is TDE's scanner library. It's used by kooka and by koffice currently.
+It provides an easy-to-use library, which allows you to access your scanner
+(as long as it's sane compatible).
+
+%files -n trinity-libkscan
+%defattr(-,root,root,-)
+%{tde_libdir}/libkscan.so.*
+%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_color.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_gray.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_halftone.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_lineart.png
+%{tde_datadir}/services/scanservice.desktop
+
+##########
+
+%package -n trinity-libkscan-devel
+Summary: Development files for the Trinity scanner library
+Group: Development/Libraries/Other
+Requires: trinity-libkscan = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libkscan-devel
+This package contains development files for Trinity's scanner library.
+
+%files -n trinity-libkscan-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkscan.la
+%{tde_libdir}/libkscan.so
+
+##########
+
+%if 0%{?with_pdf}
+%package -n trinity-libpoppler-tqt
+Summary: TQt support for Poppler
+Group: Productivity/Graphics/Viewers
+Obsoletes: poppler-tqt < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: poppler-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: %{name}-libpoppler-tqt < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: %{name}-libpoppler-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libpoppler-tqt
+TQt support library for Poppler.
+This library is used by the Trinity graphics file plugins for PDF support.
+
+%files -n trinity-libpoppler-tqt
+%defattr(-,root,root,-)
+%{tde_libdir}/libpoppler-tqt.so.*
+%endif
+
+##########
+
+%if 0%{?with_pdf}
+%package -n trinity-libpoppler-tqt-devel
+Summary: Development files for TQt support for Poppler
+Group: Development/Libraries/Other
+Requires: trinity-libpoppler-tqt = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: poppler-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: poppler-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: %{name}-libpoppler-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: %{name}-libpoppler-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libpoppler-tqt-devel
+Development files of TQt support library for Poppler.
+This package contains the development files needed to compile applications against poppler-tqt.
+
+%files -n trinity-libpoppler-tqt-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/poppler-link-qt3.h
+%{tde_tdeincludedir}/poppler-page-transition.h
+%{tde_tdeincludedir}/poppler-qt.h
+%{tde_libdir}/libpoppler-tqt.la
+%{tde_libdir}/libpoppler-tqt.so
+%{tde_libdir}/pkgconfig/poppler-tqt.pc
+%endif
+
+##########
+
+%package devel
+Summary: Development files for tdegraphics
+Group: Development/Libraries/Other
+
+Obsoletes: trinity-kdegraphics-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdegraphics-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkscan-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+%if 0%{?with_pdf}
+Requires: trinity-libpoppler-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+%endif
+
+%description devel
+This package contains the development files needed to compile
+applications against tdegraphics libraries.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/dom/
+%{tde_tdeincludedir}/kfaximage.h
+%{tde_tdeincludedir}/tdemultipageInterface.h
+%{tde_tdeincludedir}/ksvg/
+%{tde_tdeincludedir}/kviewshell/
+%{tde_tdeincludedir}/libtext2path-0.1/
+%{tde_libdir}/libtdeinit_kview.la
+%if 0%{?build_kmrml}
+%{tde_libdir}/libtdeinit_mrmlsearch.la
+%endif
+%{tde_libdir}/libkghostviewlib.la
+%{tde_libdir}/libkghostviewlib.so
+%{tde_libdir}/libkimageviewer.la
+%{tde_libdir}/libkimageviewer.so
+%{tde_libdir}/libtdemultipage.la
+%{tde_libdir}/libtdemultipage.so
+%{tde_libdir}/libkpovmodeler.la
+%{tde_libdir}/libkpovmodeler.so
+%{tde_libdir}/libksvg.la
+%{tde_libdir}/libksvg.so
+%{tde_libdir}/libtext2path.la
+%{tde_libdir}/libtext2path.so
+# kfaxview
+%{tde_libdir}/libkfaximage.so
+%{tde_libdir}/libkfaximage.la
+# cmake
+%{tde_datadir}/cmake/*
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%if 0%{?build_kamera} == 0
+%__rm -rf doc/kamera/
+%endif
+
+# Fix applications icons
+%__sed -i "kooka/kooka.desktop" -e "s|^Icon=.*|Icon=kooka|"
+
+# Fix FTBFS in RHEL 5
+%if 0%{?rhel} && 0%{?rhel} <= 5
+%__sed -i "kpdf/xpdf/aconf.h" \
+ -e "s|#define HAVE_MKSTEMPS 1|#define HAVE_MKSTEMPS 0|"
+%__sed -i "tdefile-plugins/dependencies/poppler-tqt/CMakeLists.txt" \
+ -e "/link_directories/ s|$|\n \${POPPLER_LIBRARY_DIRS}|" \
+ -e "/{POPPLER_INCLUDE_DIRS/ s|$|\n \${POPPLER_INCLUDE_DIRS}/..|"
+%endif
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+# Warning: GCC visibility causes FTBFS [Bug #1285]
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_NO_BUILTIN_CHRPATH=ON \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=OFF \
+ \
+ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
+ \
+ %{?with_t1lib:-DWITH_T1LIB=ON} \
+ %{?with_paper:-DWITH_LIBPAPER=ON} \
+ -DWITH_TIFF=ON \
+ -DWITH_OPENEXR=ON \
+ -DWITH_PDF=%{?with_pdf:ON}%{?!with_pdf:OFF} \
+ -DBUILD_ALL=ON \
+ -DBUILD_KUICKSHOW=OFF \
+ %{!?build_kmrml:-DBUILD_KMRML=OFF} \
+ %{!?build_kamera:-DBUILD_KAMERA=OFF} \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+# Adds missing icons in 'hicolor' theme
+%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,32x32,48x48,64x64}"/apps/"
+pushd "%{?buildroot}%{tde_datadir}/icons"
+for i in {16,32,48,64}; do %__cp $BUILD_ROOT%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/scanner.png %{buildroot}%{tde_datadir}/icons/hicolor/"$i"x"$i"/apps/kooka.png; done
+popd
+
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpovmodeler.desktop Graphics 3DGraphics
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kolourpaint.desktop Graphics RasterGraphics
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/tdeiconedit.desktop Graphics RasterGraphics
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kview.desktop Graphics Viewer
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kooka.desktop Graphics Scanning
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kruler.desktop Utility DesktopUtility
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/ksnapshot.desktop Utility DesktopUtility
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kcolorchooser.desktop Utility DesktopUtility
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kcoloredit.desktop Utility DesktopUtility
+%suse_update_desktop_file -u %{?buildroot}%{tde_tdeappdir}/kfax.desktop Office Viewer
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kghostview.desktop Office Viewer
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kdvi.desktop Office Viewer
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpdf.desktop Office Viewer
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kfaxview.desktop Office Viewer
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kamera.desktop
+%endif
+
+# Links duplicate files
+%fdupes "%{?buildroot}"
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
diff --git a/redhat/core/tdegraphics/trinity-tdegraphics-rpmlintrc b/redhat/core/tdegraphics/trinity-tdegraphics-rpmlintrc
new file mode 100644
index 000000000..529351884
--- /dev/null
+++ b/redhat/core/tdegraphics/trinity-tdegraphics-rpmlintrc
@@ -0,0 +1,2 @@
+setBadness('library-without-ldconfig-postun', 0)
+setBadness('library-without-ldconfig-postin', 0)
diff --git a/redhat/core/tdelibs/tdelibs.spec b/redhat/core/tdelibs/tdelibs.spec
new file mode 100644
index 000000000..0920255c2
--- /dev/null
+++ b/redhat/core/tdelibs/tdelibs.spec
@@ -0,0 +1,762 @@
+#
+# spec file for package tdelibs (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# BUILD WARNING:
+# Remove qt-devel and qt3-devel and any kde*-devel on your system !
+# Having KDE libraries may cause FTBFS here !
+
+# TDE variables
+%define tde_epoch 2
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdelibs
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
+%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-%{tde_pkg}
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+Summary: TDE Libraries
+Group: System/GUI/Other
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Desktop
+#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: %{name}-rpmlintrc
+
+Obsoletes: tdelibs < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdelibs = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdelibs < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdelibs = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdelibs-apidocs < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdelibs-apidocs = %{?epoch:%{epoch}:}%{version}-%{release}
+
+# for set_permissions macro
+%if 0%{?suse_version}
+PreReq: permissions
+%endif
+
+# Trinity dependencies
+BuildRequires: libtqt4-devel = %{tde_epoch}:4.2.0
+BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
+BuildRequires: libdbus-tqt-1-devel >= %{tde_epoch}:0.63
+BuildRequires: libdbus-1-tqt-devel >= %{tde_epoch}:0.9
+BuildRequires: trinity-filesystem >= %{tde_version}
+
+Requires: trinity-arts >= %{tde_epoch}:1.5.10
+Requires: trinity-filesystem >= %{tde_version}
+%if 0%{?mgaversion} >= 6
+%else
+Requires: fileshareset >= 2.0
+%endif
+
+BuildRequires: trinity-cmake >= %{tde_version}
+BuildRequires: gcc-c++
+BuildRequires: pkgconfig
+BuildRequires: fdupes
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+# KRB5 support
+BuildRequires: krb5-devel
+
+# XSLT support
+BuildRequires: libxslt-devel
+
+# ALSA support
+BuildRequires: alsa-lib-devel
+
+# IDN support
+BuildRequires: libidn-devel
+
+# CUPS support
+BuildRequires: cups-devel
+
+# TIFF support
+BuildRequires: libtiff-devel
+
+# OPENSSL support
+BuildRequires: openssl-devel
+
+# ACL support
+BuildRequires: libacl-devel
+
+# GLIB2 support
+BuildRequires: glib2-devel
+
+# LUA support are not ready yet
+#BuildRequires: lua-devel
+
+# LIBART_LGPL support
+BuildRequires: libart_lgpl-devel
+
+# ASPELL support
+BuildRequires: aspell
+BuildRequires: aspell-devel
+
+# GAMIN support
+# Not on openSUSE.
+%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 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%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}utempter-devel
+%endif
+%if 0%{?rhel} >=5 || 0%{?fedora}
+BuildRequires: libutempter-devel
+%endif
+%if 0%{?rhel} == 4
+BuildRequires: utempter
+%endif
+%if 0%{?suse_version}
+BuildRequires: utempter-devel
+%endif
+
+# HSPELL support
+%if 0%{?rhel} >=6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_hspell 1
+BuildRequires: hspell-devel
+%endif
+
+# JASPER support
+%if 0%{?rhel} >=6 || 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: libavahi-tqt-devel >= 1:0.6.30
+%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} >=6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_openexr 1
+BuildRequires: OpenEXR-devel
+%if 0%{?pclinuxos}
+BuildRequires: libpthread-stubs
+%endif
+%endif
+
+# LIBTOOL
+BuildRequires: 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
+
+# X11 support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: x11-proto-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: xorg-x11-proto-devel
+%endif
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+%endif
+
+# ICEAUTH
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220 || 0%{?fedora} >= 34
+Requires: iceauth
+BuildRequires: iceauth
+%endif
+%if 0%{?rhel} >= 5 || ( 0%{?fedora} && 0%{?fedora} <= 33 )
+Requires: xorg-x11-server-utils
+BuildRequires: xorg-x11-server-utils
+%endif
+%if 0%{?rhel} == 4
+Requires: xorg-x11
+BuildRequires: 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
+
+# Certificates support
+%if 0%{?fedora} || 0%{?rhel} >= 6
+BuildRequires: ca-certificates
+Requires: ca-certificates
+%if 0%{?fedora} >= 20 || 0%{?rhel} >= 6
+%define cacert %{_sysconfdir}/pki/tls/certs/ca-bundle.crt
+%endif
+%if 0%{?fedora} == 18 || 0%{?fedora} == 19
+%define cacert %{_sysconfdir}/ssl/certs/ca-certificates.crt
+%endif
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?pclinuxos} || 0%{?mgaversion} >= 8
+Requires: rootcerts
+%define cacert %{_sysconfdir}/pki/tls/certs/ca-bundle.crt
+%else
+%define cacert %{_sysconfdir}/ssl/certs/ca-bundle.crt
+Requires: openssl
+%endif
+%endif
+%if 0%{?rhel} == 5
+%define cacert %{_sysconfdir}/pki/tls/certs/ca-bundle.crt
+Requires: openssl
+%endif
+%if 0%{?suse_version}
+%define cacert %{_sysconfdir}/ssl/ca-bundle.pem
+BuildRequires: ca-certificates
+Requires: ca-certificates
+%endif
+%if "%{cacert}" != ""
+Requires: %{cacert}
+%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
+
+# XCOMPOSITE support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?mgaversion} >= 4
+%define xcomposite_devel %{_lib}xcomposite-devel
+%else
+%define xcomposite_devel %{_lib}xcomposite%{?mgaversion:1}-devel
+%endif
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+%define xcomposite_devel libXcomposite-devel
+%endif
+%{?xcomposite_devel:BuildRequires: %{xcomposite_devel}}
+
+# XT support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%define xt_devel libXt-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%define xt_devel libxt-devel
+%endif
+%{?xt_devel:BuildRequires: %{xt_devel}}
+
+### New features in TDE R14
+
+# LIBMAGIC support
+%if 0%{?rhel} != 5
+BuildRequires: file-devel
+%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}
+%if 0%{?mgaversion} != 8
+BuildRequires: %{_lib}nm-util-devel
+%endif
+%endif
+%if 0%{?rhel} >= 6 || 0%{?fedora}
+%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
+BuildRequires: NetworkManager-libnm-devel
+%else
+BuildRequires: NetworkManager-glib-devel
+%endif
+%endif
+%if 0%{?suse_version}
+BuildRequires: NetworkManager-devel
+%endif
+%endif
+
+# UDEV support
+%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6
+%define with_tdehwlib 1
+BuildRequires: libudev-devel
+%endif
+
+# HAL support
+%if 0%{?rhel} == 5
+%define with_hal 1
+%endif
+
+# UDISKS support
+%if 0%{?rhel} == 6
+%if 0%{?pclinuxos} == 0 && 0%{?suse_version} <= 1310
+%define with_udisks 1
+BuildRequires: udisks-devel
+Requires: udisks
+%endif
+%endif
+
+# UDISKS2 support
+%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 7
+%define with_udisks2 1
+%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
+BuildRequires: libudisks2-devel
+%else
+%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300
+BuildRequires: libudisks2-0-devel
+%else
+BuildRequires: udisks2-devel
+%endif
+%endif
+Requires: udisks2
+%endif
+
+# DEVICEKIT POWER support
+%if 0%{?rhel} == 6
+%define with_devkitpower 1
+Requires: DeviceKit-power
+%endif
+
+# UPOWER support
+%if 0%{?fedora} || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?rhel} >= 7
+%define with_upower 1
+Requires: upower
+%endif
+
+# SYSTEMD support
+%if 0%{?fedora} || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?rhel} >= 7
+%define with_systemd 1
+%endif
+
+# PCSCLITE support
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: %{_lib}pcsclite-devel
+%else
+BuildRequires: pcsc-lite-devel
+%endif
+
+# PKCS11 support
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: %{_lib}pkcs11-helper-devel
+%else
+BuildRequires: pkcs11-helper-devel
+%endif
+
+# OPENSC support
+BuildRequires: opensc
+
+# CRYPTSETUP support
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: %{_lib}cryptsetup-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libcryptsetup-devel
+%endif
+%if 0%{?rhel} >= 7 || 0%{?fedora}
+BuildRequires: cryptsetup-devel
+%endif
+%if 0%{?rhel} == 5 || 0%{?rhel} == 6
+BuildRequires: cryptsetup-luks-devel
+%endif
+
+# ELFICON support
+%if 0
+%define with_elficon 1
+BuildRequires: libr-devel >= 0.6.0
+%endif
+
+# ATTR support
+BuildRequires: libattr-devel
+
+# INTLTOOL support
+BuildRequires: intltool
+
+
+%description
+Libraries for the Trinity Desktop Environment:
+TDE Libraries included: tdecore (TDE core library), tdeui (user interface),
+kfm (file manager), tdehtmlw (HTML widget), tdeio (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}/imagetops
+%{tde_bindir}/tdeab2tdeabc
+%{tde_bindir}/kaddprinterwizard
+%{tde_bindir}/tdebuildsycoca
+%{tde_bindir}/tdecmshell
+%{tde_bindir}/tdeconf_update
+%{tde_bindir}/kcookiejar
+%{tde_bindir}/tde-config
+%{tde_bindir}/tde-menu
+%{tde_bindir}/kded
+%{tde_bindir}/tdeinit
+%{tde_bindir}/tdeinit_shutdown
+%{tde_bindir}/tdeinit_wrapper
+%{tde_bindir}/tdesu_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}/tdeiso_info
+%{tde_bindir}/tdelauncher
+%if 0%{?with_elficon}
+%{tde_bindir}/tdelfeditor
+%endif
+%{tde_bindir}/tdemailservice
+%{tde_bindir}/tdemimelist
+%{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_tdeinit_wrapper
+%{tde_bindir}/checkXML
+%{tde_bindir}/ksvgtopng
+%{tde_bindir}/tdeunittestmodrunner
+%{tde_bindir}/preparetips
+%{tde_tdelibdir}/*
+%{tde_libdir}/lib*.so.*
+%{tde_libdir}/libtdeinit_*.la
+%{tde_libdir}/libtdeinit_*.so
+%{tde_datadir}/applications/tde/*.desktop
+%{tde_datadir}/autostart/tdeab2tdeabc.desktop
+%{tde_datadir}/applnk/tdeio_iso.desktop
+%{tde_datadir}/apps/*
+%exclude %{tde_datadir}/apps/ksgmltools2/
+%{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/*/*.desktop
+%{tde_datadir}/services/*
+%{tde_datadir}/servicetypes/*
+%{tde_tdedocdir}/HTML/en/common/*
+%{tde_tdedocdir}/HTML/en/tdespell/
+
+# Global Trinity configuration
+%config(noreplace) %{tde_confdir}
+
+# Some setuid binaries need special care
+%if 0%{?suse_version}
+%verify(not mode) %{tde_bindir}/kgrantpty
+%verify(not mode) %{tde_bindir}/kpac_dhcp_helper
+%verify(not mode) %{tde_bindir}/start_tdeinit
+%else
+%attr(4755,root,root) %{tde_bindir}/kgrantpty
+%attr(4755,root,root) %{tde_bindir}/kpac_dhcp_helper
+%attr(4711,root,root) %{tde_bindir}/start_tdeinit
+%endif
+
+%config %{_sysconfdir}/xdg/menus/tde-applications.menu
+%config %{_sysconfdir}/xdg/menus/tde-applications.menu-no-kde
+
+# DBUS stuff, related to TDE hwlib
+%if 0%{?with_tdehwlib}
+%{tde_bindir}/tde_dbus_hardwarecontrol
+%config %{_sysconfdir}/dbus-1/system.d/org.trinitydesktop.hardwarecontrol.conf
+%{_datadir}/dbus-1/system-services/org.trinitydesktop.hardwarecontrol.service
+%endif
+
+%pre
+# TDE Bug #1074
+if [ -d "%{tde_datadir}/locale/all_languages" ]; then
+ rm -rf "%{tde_datadir}/locale/all_languages"
+fi
+
+%post
+%if 0%{?suse_version}
+# Sets permissions on setuid files (openSUSE specific)
+%set_permissions %{tde_bindir}/kgrantpty
+%set_permissions %{tde_bindir}/kpac_dhcp_helper
+%set_permissions %{tde_bindir}/start_tdeinit
+%endif
+
+##########
+
+%package devel
+Summary: TDE Libraries (Development files)
+Group: Development/Libraries/X11
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Obsoletes: tdelibs-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdelibs-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdelibs-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdelibs-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Requires: libtqt3-mt-devel >= 3.5.0
+Requires: libtqt4-devel = %{tde_epoch}:4.2.0
+Requires: trinity-arts-devel >= %{tde_epoch}:1.5.10
+Requires: libart_lgpl-devel
+Requires: libattr-devel
+Requires: intltool
+%{?xcomposite_devel:Requires: %{xcomposite_devel}}
+%{?xt_devel:Requires: %{xt_devel}}
+
+%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}/maketdewidgets
+%{tde_datadir}/apps/ksgmltools2/
+%{tde_tdeincludedir}/*
+%{tde_libdir}/*.la
+%{tde_libdir}/*.so
+%{tde_libdir}/*.a
+%exclude %{tde_libdir}/libtdeinit_*.la
+%exclude %{tde_libdir}/libtdeinit_*.so
+%{tde_datadir}/cmake/tdelibs.cmake
+%{tde_libdir}/pkgconfig/tdelibs.pc
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+# RHEL 5: remove tdehwlib stuff from include files, to avoid FTBFS in tdebindings
+%if 0%{?rhel} == 5
+%__sed -i "tdecore/kinstance.h" \
+ -i "tdecore/tdeglobal.h" \
+ -e "/#ifdef __TDE_HAVE_TDEHWLIB/,/#endif/d"
+%endif
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+
+if [ -d "/usr/X11R6" ]; then
+ export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -L/usr/X11R6/%{_lib} -I/usr/X11R6/include"
+fi
+
+export TDEDIR="%{tde_prefix}"
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_NO_BUILTIN_CHRPATH=ON \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=ON \
+ \
+ -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
+ -DBIN_INSTALL_DIR="%{tde_bindir}" \
+ -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
+ -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}" \
+ \
+ -DWITH_ALL_OPTIONS=ON \
+ -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=OFF} \
+ %{?!with_openexr:-DWITH_OPENEXR=OFF} \
+ -DWITH_UTEMPTER=ON \
+ %{?!with_avahi:-DWITH_AVAHI=OFF} \
+ %{?!with_elficon:-DWITH_ELFICON=OFF} \
+ %{?!with_pcre:-DWITH_PCRE=OFF} \
+ %{?!with_inotify:-DWITH_INOTIFY=OFF} \
+ %{?!with_gamin:-DWITH_GAMIN=OFF} \
+ %{?!with_tdehwlib:-DWITH_TDEHWLIB=OFF} \
+ %{?!with_tdehwlib:-DWITH_TDEHWLIB_DAEMONS=OFF} \
+ %{?with_hal:-DWITH_HAL=ON} \
+ %{?with_devkitpower:-DWITH_DEVKITPOWER=ON} \
+ %{?with_systemd:-DWITH_LOGINDPOWER=ON} \
+ %{?!with_upower:-DWITH_UPOWER=OFF} \
+ %{?!with_udisks:-DWITH_UDISKS=OFF} \
+ %{?!with_udisks2:-DWITH_UDISKS2=OFF} \
+ -DWITH_UDEVIL=OFF \
+ -DWITH_CONSOLEKIT=ON \
+ %{?with_nm:-DWITH_NETWORK_MANAGER_BACKEND=ON} \
+ -DWITH_SUDO_TDESU_BACKEND=OFF \
+ -DWITH_OLD_XDG_STD=OFF \
+ -DWITH_PCSC=ON \
+ -DWITH_PKCS=ON \
+ -DWITH_CRYPTSETUP=ON \
+ %{?!with_lzma:-DWITH_LZMA=OFF} \
+ -DWITH_LIBBFD=OFF \
+ %{?!with_xrandr:-DWITH_XRANDR=OFF} \
+ -DWITH_XCOMPOSITE=ON \
+ -DWITH_KDE4_MENU_SUFFIX=OFF \
+ \
+ -DWITH_ASPELL=ON \
+ %{?!with_hspell:-DWITH_HSPELL=OFF} \
+ -DWITH_TDEICONLOADER_DEBUG=OFF \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+%__rm -rf "%{?buildroot}"
+%__make install DESTDIR="%{?buildroot}" -C build
+
+# Use system-wide CA certificates
+%if "%{?cacert}" != ""
+%__rm -f "%{?buildroot}%{tde_datadir}/apps/kssl/ca-bundle.crt"
+%__ln_s "%{cacert}" "%{?buildroot}%{tde_datadir}/apps/kssl/ca-bundle.crt"
+%endif
+
+# Symlinks duplicate files (mostly under 'ksgmltools2')
+%fdupes -s "%{?buildroot}"
+
+# Fix 'tderesources.desktop' (openSUSE only)
+%if 0%{?suse_version}
+%suse_update_desktop_file -r tderesources Qt X-TDE-settings-desktop
+%endif
+
+# Remove setuid bit on some binaries.
+chmod 0755 "%{?buildroot}%{tde_bindir}/kgrantpty"
+chmod 0755 "%{?buildroot}%{tde_bindir}/kpac_dhcp_helper"
+chmod 0755 "%{?buildroot}%{tde_bindir}/start_tdeinit"
+
+# fileshareset 2.0 is provided separately.
+# Remove integrated fileshareset 1.0 .
+%__rm -f "%{?buildroot}%{tde_bindir}/filesharelist"
+%__rm -f "%{?buildroot}%{tde_bindir}/fileshareset"
+
+
+%clean
+%__rm -rf "%{?buildroot}"
+
+%if 0%{?suse_version}
+# Check permissions on setuid files (openSUSE specific)
+%verifyscript
+%verify_permissions -e %{tde_bindir}/kgrantpty
+%verify_permissions -e %{tde_bindir}/kpac_dhcp_helper
+%verify_permissions -e %{tde_bindir}/start_tdeinit
+%endif
+
+
+%changelog
diff --git a/redhat/core/tdelibs/trinity-tdelibs-rpmlintrc b/redhat/core/tdelibs/trinity-tdelibs-rpmlintrc
new file mode 100644
index 000000000..cd73a0285
--- /dev/null
+++ b/redhat/core/tdelibs/trinity-tdelibs-rpmlintrc
@@ -0,0 +1,4 @@
+setBadness('suse-dbus-unauthorized-service', 0)
+setBadness('permissions-file-setuid-bit', 0)
+setBadness('non-position-independent-executable', 0)
+setBadness('library-without-ldconfig-postun', 0)
diff --git a/redhat/core/tdemultimedia/tdemultimedia.spec b/redhat/core/tdemultimedia/tdemultimedia.spec
new file mode 100644
index 000000000..6484ae4d8
--- /dev/null
+++ b/redhat/core/tdemultimedia/tdemultimedia.spec
@@ -0,0 +1,1159 @@
+#
+# spec file for package tdemultimedia (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# BUILD WARNING:
+# Remove qt-devel and qt3-devel and any kde*-devel on your system !
+# Having KDE libraries may cause FTBFS here !
+
+# TDE variables
+%define tde_epoch 2
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdemultimedia
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+
+Name: trinity-%{tde_pkg}
+Summary: Multimedia applications for the Trinity Desktop Environment
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+Group: Productivity/Multimedia/Sound/Utilities
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Project
+#Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Source1: %{name}-rpmlintrc
+
+Obsoletes: trinity-kdemultimedia < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdemultimedia = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdemultimedia-libs < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdemultimedia-libs = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdemultimedia-extras < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdemultimedia-extras = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdemultimedia-extras-libs < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdemultimedia-extras-libs = %{?epoch:%{epoch}:}%{version}-%{release}
+
+BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-tdebase-devel >= %{tde_version}
+
+BuildRequires: trinity-cmake >= %{tde_version}
+BuildRequires: gcc-c++
+BuildRequires: fdupes
+BuildRequires: desktop-file-utils
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+# TAGLIB support
+%define with_taglib 1
+BuildRequires: taglib-devel
+
+# AKODE support
+%define with_akode 1
+BuildRequires: trinity-akode-devel
+
+# MAD support
+%ifarch %{ix86} x86_64
+%define with_libmad 1
+%{?with_libmad:BuildRequires: libakode_mpeg_decoder}
+%endif
+
+# ZLIB support
+BuildRequires: zlib-devel
+
+# MUSICBRAINZ support
+## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4)
+#define with_musicbrainz 1
+#BuildRequires: libmusicbrainz-devel libtunepimp-devel
+
+# Audio libraries
+BuildRequires: libvorbis-devel
+BuildRequires: audiofile-devel
+BuildRequires: libtheora-devel
+BuildRequires: alsa-lib-devel
+BuildRequires: cdparanoia
+#BuildRequires: libmpg123-devel
+
+# CDDA support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: libcdda-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: cdparanoia-devel
+%endif
+
+# FLAC support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?pclinuxos}
+BuildRequires: libflac-devel
+%else
+BuildRequires: %{_lib}flac-devel
+%endif
+%endif
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: flac-devel
+%endif
+
+# GSTREAMER support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}gstreamer1.0-devel
+BuildRequires: %{_lib}gstreamer-plugins-base1.0-devel
+%endif
+%if 0%{?rhel} == 4
+BuildRequires: gstreamer-devel
+BuildRequires: gstreamer-plugins-devel
+%endif
+%if 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?suse_version}
+BuildRequires: gstreamer-devel
+BuildRequires: gstreamer-plugins-base-devel
+%endif
+%if 0%{?rhel} >= 7 || 0%{?fedora}
+BuildRequires: gstreamer1-devel >= 1.0
+BuildRequires: gstreamer1-plugins-base-devel >= 1.0
+%endif
+
+# X11 Libraries
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xxf86dga-devel
+BuildRequires: %{_lib}xxf86vm-devel
+%if 0%{?mgaversion} >= 4
+BuildRequires: %{_lib}xtst-devel
+%else
+BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel
+%endif
+%endif
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: libXxf86dga-devel
+BuildRequires: libXxf86vm-devel
+%endif
+
+# XINE support
+%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?rhel} || 0%{?suse_version}
+%define with_xine 1
+%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
+BuildRequires: %{_lib}xine1.2-devel
+%endif
+%if 0%{?fedora} || 0%{?rhel}
+BuildRequires: xine-lib-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libxine-devel
+%endif
+%endif
+
+# LAME support
+%if 0%{?opensuse_bs} == 0
+%define with_lame 1
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?pclinuxos}
+BuildRequires: liblame-devel
+%else
+%if 0%{?mgaversion} >= 6
+BuildRequires: %{_lib}mp3lame-devel
+%else
+BuildRequires: %{_lib}lame-devel
+%endif
+%endif
+%endif
+%if 0%{?suse_version}
+BuildRequires: libmp3lame-devel
+%endif
+%endif
+
+# IDN support
+BuildRequires: libidn-devel
+
+# OPENSSL support
+BuildRequires: openssl-devel
+
+# ACL support
+BuildRequires: libacl-devel
+
+# ATTR support
+BuildRequires: libattr-devel
+
+%if 0%{?fedora} || 0%{?rhel}
+BuildRequires: lame-devel
+%endif
+
+
+Requires: trinity-artsbuilder = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-juk = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kaboodle = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kaudiocreator = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-kfile-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-kappfinder-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-tdeio-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdemid = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kmix = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-krec = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kscd = %{?epoch:%{epoch}:}%{version}-%{release}
+%{?with_akode:Requires: trinity-libarts-akode = %{?epoch:%{epoch}:}%{version}-%{release}}
+Requires: trinity-libarts-audiofile = %{?epoch:%{epoch}:}%{version}-%{release}
+%{?with_mpeg:Requires: trinity-libarts-mpeglib = %{?epoch:%{epoch}:}%{version}-%{release}}
+%{?with_xine:Requires: trinity-libarts-xine = %{?epoch:%{epoch}:}%{version}-%{release}}
+Requires: trinity-libkcddb = %{?epoch:%{epoch}:}%{version}-%{release}
+%{?with_mpeg:Requires: trinity-mpeglib = %{?epoch:%{epoch}:}%{version}-%{release}}
+Requires: trinity-noatun = %{?epoch:%{epoch}:}%{version}-%{release}
+
+
+%description
+The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window
+System. The tdemultimedia package contains multimedia applications for
+TDE, including:
+ artsbuilder, Synthesizer designer for aRts
+ juk, a media player
+ tdemid, a midi player
+ kmix, an audio mixer
+ arts, additional functionality for the aRts sound system
+ krec, a recording tool
+ kscd, an Audio-CD player
+ kaudiocreator, a graphical frontend for audio file creation
+ kaboodle, a media player
+ noatun, a media player
+
+%files
+
+##########
+
+%package -n trinity-artsbuilder
+Summary: Synthesizer designer for aRts
+Group: Productivity/Multimedia/Sound/Mixers
+Requires: trinity-kicker >= %{tde_version}
+
+%description -n trinity-artsbuilder
+This is the analog Realtime synthesizer's graphical design tool.
+
+%files -n trinity-artsbuilder
+%defattr(-,root,root,-)
+%{tde_bindir}/artsbuilder
+%{tde_bindir}/artscontrol
+%{tde_bindir}/midisend
+%{tde_libdir}/libartsbuilder.la
+%{tde_libdir}/libartsbuilder.so.*
+%{tde_libdir}/libartscontrolapplet.la
+%{tde_libdir}/libartscontrolapplet.so.*
+%{tde_libdir}/libartscontrolsupport.la
+%{tde_libdir}/libartscontrolsupport.so.*
+%{tde_libdir}/libartsgui_idl.la
+%{tde_libdir}/libartsgui_idl.so.*
+%{tde_libdir}/libartsgui_kde.la
+%{tde_libdir}/libartsgui_kde.so.*
+%{tde_libdir}/libartsgui.la
+%{tde_libdir}/libartsgui.so.*
+%{tde_libdir}/libartsmidi_idl.la
+%{tde_libdir}/libartsmidi_idl.so.*
+%{tde_libdir}/libartsmidi.la
+%{tde_libdir}/libartsmidi.so.*
+%{tde_libdir}/libartsmodulescommon.la
+%{tde_libdir}/libartsmodulescommon.so.*
+%{tde_libdir}/libartsmoduleseffects.la
+%{tde_libdir}/libartsmoduleseffects.so.*
+%{tde_libdir}/libartsmodulesmixers.la
+%{tde_libdir}/libartsmodulesmixers.so.*
+%{tde_libdir}/libartsmodules.la
+%{tde_libdir}/libartsmodules.so.*
+%{tde_libdir}/libartsmodulessynth.la
+%{tde_libdir}/libartsmodulessynth.so.*
+%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass
+%{tde_libdir}/mcop/artsbuilder.mcopclass
+%{tde_libdir}/mcop/artsbuilder.mcoptype
+%{tde_libdir}/mcop/Arts/Button.mcopclass
+%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass
+%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass
+%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass
+%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass
+%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass
+%{tde_libdir}/mcop/Arts/Fader.mcopclass
+%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass
+%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/GraphLine.mcopclass
+%{tde_libdir}/mcop/artsgui.mcopclass
+%{tde_libdir}/mcop/artsgui.mcoptype
+%{tde_libdir}/mcop/Arts/HBox.mcopclass
+%{tde_libdir}/mcop/Arts/Label.mcopclass
+%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass
+%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass
+%{tde_libdir}/mcop/Arts/LineEdit.mcopclass
+%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass
+%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass
+%{tde_libdir}/mcop/Arts/MidiManager.mcopclass
+%{tde_libdir}/mcop/artsmidi.mcopclass
+%{tde_libdir}/mcop/artsmidi.mcoptype
+%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass
+%{tde_libdir}/mcop/artsmodulescommon.mcopclass
+%{tde_libdir}/mcop/artsmodulescommon.mcoptype
+%{tde_libdir}/mcop/artsmoduleseffects.mcopclass
+%{tde_libdir}/mcop/artsmoduleseffects.mcoptype
+%{tde_libdir}/mcop/artsmodules.mcopclass
+%{tde_libdir}/mcop/artsmodules.mcoptype
+%{tde_libdir}/mcop/artsmodulesmixers.mcopclass
+%{tde_libdir}/mcop/artsmodulesmixers.mcoptype
+%{tde_libdir}/mcop/artsmodulessynth.mcopclass
+%{tde_libdir}/mcop/artsmodulessynth.mcoptype
+%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass
+%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass
+%{tde_libdir}/mcop/Arts/PopupBox.mcopclass
+%{tde_libdir}/mcop/Arts/Poti.mcopclass
+%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass
+%{tde_libdir}/mcop/Arts/SpinBox.mcopclass
+%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass
+%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass
+%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass
+%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass
+%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass
+%{tde_libdir}/mcop/Arts/VBox.mcopclass
+%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/Widget.mcopclass
+%{tde_tdeappdir}/artsbuilder.desktop
+%{tde_tdeappdir}/artscontrol.desktop
+%{tde_datadir}/apps/artsbuilder/
+%{tde_datadir}/apps/artscontrol/
+%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop
+%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png
+%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png
+%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png
+%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png
+%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png
+%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png
+%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz
+%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png
+%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png
+%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz
+%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz
+%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop
+%{tde_tdedocdir}/HTML/en/artsbuilder/
+
+##########
+
+%package -n trinity-juk
+Summary: Music organizer and player for Trinity
+Group: Productivity/Multimedia/Sound/Players
+
+%description -n trinity-juk
+JuK (pronounced "jook") is a jukebox and music manager for the TDE
+desktop similar to jukebox software on other platforms such as
+iTunes or RealOne.
+
+Some of JuK's features include:
+* Support for Ogg Vorbis and MP3 formats
+* Tag editing support for both formats, including ID3v2 for MP3 files.
+ Multitagging or editing a selection of multiple files at once is also
+ supported
+* Output to either the aRts, default KDE sound system, or GStreamer
+* Management of your "collection" and multiple playlists
+* Import and export to m3u playlists
+* Binary caching of audio meta-data and playlist information for faster
+ load times (starting with the second time you run JuK)
+* Integration into TDE that allows drag-and-drop and clipboard usage
+ with other TDE and X apps
+
+%files -n trinity-juk
+%defattr(-,root,root,-)
+%{tde_bindir}/juk
+%{tde_tdeappdir}/juk.desktop
+%{tde_datadir}/apps/juk/
+%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop
+%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png
+%{tde_datadir}/icons/hicolor/*/apps/juk.png
+%{tde_tdedocdir}/HTML/en/juk/
+%{tde_mandir}/man1/juk.1*
+
+##########
+
+%package -n trinity-kaboodle
+Summary: Light, embedded media player for Trinity
+Group: System/GUI/Other
+
+%if 0%{?with_xine}
+Requires: trinity-libarts-xine = %{?epoch:%{epoch}:}%{version}-%{release}
+%endif
+
+%description -n trinity-kaboodle
+Kaboodle is a light, embedded media player, supporting both video and audio,
+for TDE. It uses the aRts framework for playing media files.
+
+%files -n trinity-kaboodle
+%defattr(-,root,root,-)
+%{tde_bindir}/kaboodle
+%{tde_tdelibdir}/libkaboodlepart.la
+%{tde_tdelibdir}/libkaboodlepart.so
+%{tde_tdeappdir}/kaboodle.desktop
+%{tde_datadir}/apps/kaboodle/
+%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png
+%{tde_datadir}/services/kaboodle_component.desktop
+%{tde_datadir}/services/kaboodleengine.desktop
+%{tde_tdedocdir}/HTML/en/kaboodle/
+%{tde_mandir}/man1/kaboodle.1*
+
+##########
+
+%package -n trinity-kaudiocreator
+Summary: CD ripper and audio encoder frontend for Trinity
+Group: Productivity/Multimedia/CD/Grabbers
+
+Requires: %{name}-tdeio-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: vorbis-tools
+Requires: flac
+
+%description -n trinity-kaudiocreator
+KAudioCreator is a tool for audio extraction (ripping) and encoding. It can
+keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also
+searches CDDB to retrieve the information of the disk.
+
+%files -n trinity-kaudiocreator
+%defattr(-,root,root,-)
+%{tde_bindir}/kaudiocreator
+%{tde_tdeappdir}/kaudiocreator.desktop
+%{tde_datadir}/apps/kaudiocreator/
+%{tde_datadir}/apps/tdeconf_update/kaudiocreator-libkcddb.upd
+%{tde_datadir}/apps/tdeconf_update/kaudiocreator-meta.upd
+%{tde_datadir}/apps/tdeconf_update/upgrade-kaudiocreator-metadata.sh
+%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop
+%{tde_datadir}/config.kcfg/kaudiocreator.kcfg
+%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png
+%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png
+%{tde_tdedocdir}/HTML/en/kaudiocreator/
+%{tde_mandir}/man1/kaudiocreator.1*
+
+##########
+
+%package kfile-plugins
+Summary: An au/avi/m3u/mp3/ogg/wav plugins for kfile
+Group: Productivity/Multimedia/Sound/Utilities
+
+%description kfile-plugins
+au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity.
+
+%files kfile-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/tdefile_au.la
+%{tde_tdelibdir}/tdefile_au.so
+%{tde_tdelibdir}/tdefile_avi.la
+%{tde_tdelibdir}/tdefile_avi.so
+%{tde_tdelibdir}/tdefile_flac.la
+%{tde_tdelibdir}/tdefile_flac.so
+%{tde_tdelibdir}/tdefile_m3u.la
+%{tde_tdelibdir}/tdefile_m3u.so
+%{tde_tdelibdir}/tdefile_mp3.la
+%{tde_tdelibdir}/tdefile_mp3.so
+%{tde_tdelibdir}/tdefile_mpc.la
+%{tde_tdelibdir}/tdefile_mpc.so
+%{tde_tdelibdir}/tdefile_mpeg.la
+%{tde_tdelibdir}/tdefile_mpeg.so
+%{tde_tdelibdir}/tdefile_ogg.la
+%{tde_tdelibdir}/tdefile_ogg.so
+%{tde_tdelibdir}/tdefile_sid.la
+%{tde_tdelibdir}/tdefile_sid.so
+%{tde_tdelibdir}/tdefile_theora.la
+%{tde_tdelibdir}/tdefile_theora.so
+%{tde_tdelibdir}/tdefile_wav.la
+%{tde_tdelibdir}/tdefile_wav.so
+%{tde_datadir}/services/tdefile_au.desktop
+%{tde_datadir}/services/tdefile_avi.desktop
+%{tde_datadir}/services/tdefile_flac.desktop
+%{tde_datadir}/services/tdefile_m3u.desktop
+%{tde_datadir}/services/tdefile_mp3.desktop
+%{tde_datadir}/services/tdefile_mpc.desktop
+%{tde_datadir}/services/tdefile_mpeg.desktop
+%{tde_datadir}/services/tdefile_ogg.desktop
+%{tde_datadir}/services/tdefile_sid.desktop
+%{tde_datadir}/services/tdefile_theora.desktop
+%{tde_datadir}/services/tdefile_wav.desktop
+
+##########
+
+%package kappfinder-data
+Summary: Multimedia data for kappfinder
+Group: Productivity/Multimedia/Sound/Utilities
+
+Requires: trinity-kappfinder >= %{tde_version}
+Requires: trinity-tdebase-runtime-data-common >= %{tde_version}
+
+%description kappfinder-data
+This package provides data on multimedia applications for kappfinder.
+
+%files kappfinder-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kappfinder/
+%{tde_datadir}/desktop-directories/tde-multimedia-music.directory
+%config %{_sysconfdir}/xdg/menus/applications-merged/tde-multimedia-music.menu
+
+##########
+
+%package tdeio-plugins
+Summary: Enables the browsing of audio CDs under Konqueror
+Group: Productivity/Multimedia/Sound/Utilities
+Requires: trinity-tdebase-tdeio-plugins >= %{tde_version}
+
+Obsoletes: trinity-tdemultimedia-kio-plugins < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-tdemultimedia-kio-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description tdeio-plugins
+This package allow audio CDs to be browsed like a file system using
+Konqueror and the audiocd:/ URL.
+
+%files tdeio-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcm_audiocd.la
+%{tde_tdelibdir}/kcm_audiocd.so
+%{tde_tdelibdir}/tdeio_audiocd.la
+%{tde_tdelibdir}/tdeio_audiocd.so
+%{tde_tdelibdir}/libaudiocd_encoder_flac.la
+%{tde_tdelibdir}/libaudiocd_encoder_flac.so
+%{tde_tdelibdir}/libaudiocd_encoder_lame.la
+%{tde_tdelibdir}/libaudiocd_encoder_lame.so
+%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la
+%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so
+%{tde_tdelibdir}/libaudiocd_encoder_wav.la
+%{tde_tdelibdir}/libaudiocd_encoder_wav.so
+%{tde_libdir}/libaudiocdplugins.so.*
+%{tde_tdeappdir}/audiocd.desktop
+%{tde_datadir}/apps/tdeconf_update/audiocd.upd
+%{tde_datadir}/apps/tdeconf_update/upgrade-metadata.sh
+%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg
+%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg
+%{tde_datadir}/services/audiocd.protocol
+%{tde_tdedocdir}/HTML/en/tdeioslave/audiocd/
+%{tde_tdedocdir}/HTML/en/kcontrol/audiocd/
+
+##########
+
+%package -n trinity-tdemid
+Summary: MIDI/karaoke player for Trinity
+Group: Productivity/Multimedia/Sound/Midi
+
+Obsoletes: trinity-kmid < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kmid = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-tdemid
+This package provides a MIDI and karaoke player for TDE.
+
+%files -n trinity-tdemid
+%defattr(-,root,root,-)
+%{tde_bindir}/tdemid
+%{tde_tdelibdir}/libtdemidpart.la
+%{tde_tdelibdir}/libtdemidpart.so
+%{tde_libdir}/libtdemidlib.so.*
+%{tde_tdeappdir}/tdemid.desktop
+%{tde_datadir}/apps/tdemid/
+%{tde_datadir}/icons/hicolor/*/apps/tdemid.png
+%{tde_datadir}/mimelnk/audio/x-karaoke.desktop
+%{tde_datadir}/servicetypes/audiomidi.desktop
+%{tde_tdedocdir}/HTML/en/tdemid/
+
+##########
+
+%package -n trinity-kmix
+Summary: Sound mixer applet for Trinity
+Group: Productivity/Multimedia/Sound/Mixers
+Requires: trinity-kicker >= %{tde_version}
+
+%description -n trinity-kmix
+This package includes TDE's dockable sound mixer applet.
+
+%files -n trinity-kmix
+%defattr(-,root,root,-)
+%{tde_bindir}/kmix
+%{tde_bindir}/kmixctrl
+%{tde_tdelibdir}/kmix.la
+%{tde_tdelibdir}/kmix.so
+%{tde_tdelibdir}/kmix_panelapplet.la
+%{tde_tdelibdir}/kmix_panelapplet.so
+%{tde_tdelibdir}/kmixctrl.la
+%{tde_tdelibdir}/kmixctrl.so
+%{tde_libdir}/libtdeinit_kmix.so
+%{tde_libdir}/libtdeinit_kmixctrl.so
+%{tde_tdeappdir}/kmix.desktop
+%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop
+%{tde_datadir}/apps/kmix/
+%{tde_datadir}/autostart/kmix.desktop
+%{tde_datadir}/autostart/restore_kmix_volumes.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kmix.png
+%{tde_datadir}/services/kmixctrl_restore.desktop
+%{tde_tdedocdir}/HTML/en/kmix/
+%{tde_mandir}/man1/kmix.1*
+%{tde_mandir}/man1/kmixctrl.1*
+
+##########
+
+%package -n trinity-krec
+Summary: Sound recorder utility for Trinity
+Group: Productivity/Multimedia/CD/Record
+
+%description -n trinity-krec
+This is a sound recording utility for Trinity.
+
+%files -n trinity-krec
+%defattr(-,root,root,-)
+%{tde_bindir}/krec
+%{tde_tdelibdir}/kcm_krec.la
+%{tde_tdelibdir}/kcm_krec.so
+%{tde_tdelibdir}/kcm_krec_files.la
+%{tde_tdelibdir}/kcm_krec_files.so
+%{tde_tdelibdir}/krec.la
+%{tde_tdelibdir}/krec.so
+%if 0%{?with_lame}
+%{tde_tdelibdir}/libkrecexport_mp3.la
+%{tde_tdelibdir}/libkrecexport_mp3.so
+%{tde_datadir}/services/krec_exportmp3.desktop
+%endif
+%{tde_tdelibdir}/libkrecexport_ogg.la
+%{tde_tdelibdir}/libkrecexport_ogg.so
+%{tde_tdelibdir}/libkrecexport_wave.la
+%{tde_tdelibdir}/libkrecexport_wave.so
+%{tde_libdir}/libtdeinit_krec.so
+%{tde_tdeappdir}/krec.desktop
+%{tde_datadir}/apps/krec/
+%{tde_datadir}/icons/hicolor/*/apps/krec.png
+%{tde_datadir}/services/kcm_krec.desktop
+%{tde_datadir}/services/kcm_krec_files.desktop
+%{tde_datadir}/services/krec_exportogg.desktop
+%{tde_datadir}/services/krec_exportwave.desktop
+%{tde_datadir}/servicetypes/krec_exportitem.desktop
+%{tde_tdedocdir}/HTML/en/krec/
+%{tde_mandir}/man1/krec.1*
+
+##########
+
+%package -n trinity-kscd
+Summary: Audio CD player for Trinity
+Group: Productivity/Multimedia/CD/Players
+
+%description -n trinity-kscd
+This is Trinity's audio CD player.
+
+%files -n trinity-kscd
+%defattr(-,root,root,-)
+%{tde_bindir}/kscd
+%{tde_bindir}/workman2cddb.pl
+%{tde_tdeappdir}/kscd.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop
+%{tde_datadir}/apps/kscd/
+%{tde_datadir}/apps/profiles/kscd.profile.xml
+%{tde_datadir}/config.kcfg/kscd.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kscd.png
+%{tde_datadir}/mimelnk/text/xmcd.desktop
+%{tde_tdedocdir}/HTML/en/kscd/
+
+##########
+
+%if 0%{?with_akode}
+%package -n trinity-libarts-akode
+Summary: Akode plugin for aRts
+Group: Productivity/Multimedia/Other
+
+%description -n trinity-libarts-akode
+This package contains akode plugins for aRts.
+
+%files -n trinity-libarts-akode
+%defattr(-,root,root,-)
+%{tde_libdir}/libarts_akode.so.*
+%{tde_libdir}/libarts_akode.la
+%{tde_libdir}/mcop/akodearts.mcoptype
+%{tde_libdir}/mcop/akodearts.mcopclass
+%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass
+%{tde_libdir}/mcop/akodePlayObject.mcopclass
+%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass
+%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass
+%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass
+
+# Requires MAD support
+%{?with_libmad:%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass}
+
+%endif
+
+##########
+
+%package -n trinity-libarts-audiofile
+Summary: Audiofile plugin for aRts
+Group: Productivity/Multimedia/Other
+
+%description -n trinity-libarts-audiofile
+This package contains audiofile plugins for aRts.
+
+%files -n trinity-libarts-audiofile
+%defattr(-,root,root,-)
+%{tde_libdir}/libarts_audiofile.so.*
+%{tde_libdir}/libarts_audiofile.la
+%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass
+%{tde_libdir}/mcop/audiofilearts.mcopclass
+%{tde_libdir}/mcop/audiofilearts.mcoptype
+
+##########
+
+%if 0%{?with_mpeg}
+%package -n trinity-libarts-mpeglib
+Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video
+Group: Productivity/Multimedia/Other
+
+%description -n trinity-libarts-mpeglib
+This package contains the mpeglib aRts plugin, supporting mp3 and mpeg
+audio and video.
+
+This is the arts (TDE Sound daemon) plugin.
+
+%files -n trinity-libarts-mpeglib
+%defattr(-,root,root,-)
+%{tde_bindir}/mpeglibartsplay
+%{tde_libdir}/libarts_mpeglib-0.3.0.so*
+%{tde_libdir}/libarts_mpeglib.la
+%{tde_libdir}/libarts_splay.so.*
+%{tde_libdir}/libarts_splay.la
+%{tde_libdir}/mcop/CDDAPlayObject.mcopclass
+%{tde_libdir}/mcop/MP3PlayObject.mcopclass
+%{tde_libdir}/mcop/NULLPlayObject.mcopclass
+%{tde_libdir}/mcop/OGGPlayObject.mcopclass
+%{tde_libdir}/mcop/SplayPlayObject.mcopclass
+%{tde_libdir}/mcop/WAVPlayObject.mcopclass
+
+%endif
+
+##########
+
+%if 0%{?with_xine}
+%package -n trinity-libarts-xine
+Summary: ARTS plugin enabling xine support
+Group: Productivity/Multimedia/Other
+
+%description -n trinity-libarts-xine
+This package contains aRts' xine plugin, allowing the use of the xine
+multimedia engine though aRts.
+
+%files -n trinity-libarts-xine
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/videothumbnail.la
+%{tde_tdelibdir}/videothumbnail.so
+%{tde_libdir}/libarts_xine.so.*
+%{tde_libdir}/libarts_xine.la
+%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass
+%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass
+%{tde_datadir}/apps/videothumbnail/sprocket-large.png
+%{tde_datadir}/apps/videothumbnail/sprocket-medium.png
+%{tde_datadir}/apps/videothumbnail/sprocket-small.png
+%{tde_datadir}/services/videothumbnail.desktop
+
+%endif
+
+##########
+
+%package -n trinity-libkcddb
+Summary: CDDB library for Trinity
+Group: Productivity/Multimedia/Other
+Requires: trinity-kcontrol >= %{tde_version}
+
+%description -n trinity-libkcddb
+The Trinity native CDDB (CD Data Base) library, providing easy access to Audio
+CD meta-information (track titles, artist information, etc.) from on-line
+databases, for TDE applications.
+
+%files -n trinity-libkcddb
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcm_cddb.la
+%{tde_tdelibdir}/kcm_cddb.so
+%{tde_libdir}/libkcddb.so.*
+%{tde_tdeappdir}/libkcddb.desktop
+%{tde_datadir}/apps/tdeconf_update/kcmcddb-emailsettings.upd
+%{tde_datadir}/config.kcfg/libkcddb.kcfg
+%{tde_tdedocdir}/HTML/en/kcontrol/cddb/
+
+##########
+
+%if 0%{?with_mpeg}
+
+%package -n trinity-mpeglib
+Summary: MP3 and MPEG-1 audio and video library
+Group: Productivity/Multimedia/Other
+%if 0%{?with_mpeg}
+Requires: trinity-libarts-mpeglib = %{?epoch:%{epoch}:}%{version}-%{release}
+%endif
+
+%description -n trinity-mpeglib
+mpeglib is a MPEG-1 and MP3 audio and video library. It supports
+MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer,
+and WAV playback
+
+%files -n trinity-mpeglib
+%defattr(-,root,root,-)
+%{tde_bindir}/yaf-cdda
+%{tde_bindir}/yaf-mpgplay
+%{tde_bindir}/yaf-splay
+%{tde_bindir}/yaf-tplay
+%{tde_bindir}/yaf-vorbis
+%{tde_bindir}/yaf-yuv
+%{tde_libdir}/libmpeg-0.3.0.so
+%{tde_libdir}/libyafcore.so
+%{tde_libdir}/libyafxplayer.so
+
+%endif
+
+##########
+
+%package -n trinity-noatun
+Summary: Media player for Trinity
+Group: Productivity/Multimedia/Video/Players
+Requires: trinity-tdebase-bin >= %{tde_version}
+
+# 20120802: Hack to avoid dependency issue on MGA2 and MDV2011
+%if 0%{?mgaversion} || 0%{?mdkversion}
+Provides: devel(libnoatunarts)
+Provides: devel(libnoatunarts(64bit))
+%endif
+
+%description -n trinity-noatun
+Noatun is an aRts-based audio and video player for Trinity. It supports all
+formats supported by your installation of aRts (including aRts plugins).
+
+%files -n trinity-noatun
+%defattr(-,root,root,-)
+%{tde_bindir}/noatun
+%{tde_libdir}/tdeconf_update_bin/noatun20update
+%{tde_tdelibdir}/noatun.la
+%{tde_tdelibdir}/noatun.so
+%{tde_tdelibdir}/noatun_dcopiface.la
+%{tde_tdelibdir}/noatun_dcopiface.so
+%{tde_tdelibdir}/noatun_excellent.la
+%{tde_tdelibdir}/noatun_excellent.so
+%{tde_tdelibdir}/noatun_htmlexport.la
+%{tde_tdelibdir}/noatun_htmlexport.so
+%{tde_tdelibdir}/noatun_infrared.la
+%{tde_tdelibdir}/noatun_infrared.so
+%{tde_tdelibdir}/noatun_kaiman.la
+%{tde_tdelibdir}/noatun_kaiman.so
+%{tde_tdelibdir}/noatun_keyz.la
+%{tde_tdelibdir}/noatun_keyz.so
+%{tde_tdelibdir}/noatun_kjofol.la
+%{tde_tdelibdir}/noatun_kjofol.so
+%{tde_tdelibdir}/noatun_marquis.la
+%{tde_tdelibdir}/noatun_marquis.so
+%{tde_tdelibdir}/noatun_metatag.la
+%{tde_tdelibdir}/noatun_metatag.so
+%{tde_tdelibdir}/noatun_monoscope.la
+%{tde_tdelibdir}/noatun_monoscope.so
+%{tde_tdelibdir}/noatun_net.la
+%{tde_tdelibdir}/noatun_net.so
+%{tde_tdelibdir}/noatun_splitplaylist.la
+%{tde_tdelibdir}/noatun_splitplaylist.so
+%{tde_tdelibdir}/noatun_systray.la
+%{tde_tdelibdir}/noatun_systray.so
+%{tde_tdelibdir}/noatun_ui.la
+%{tde_tdelibdir}/noatun_ui.so
+%{tde_tdelibdir}/noatun_voiceprint.la
+%{tde_tdelibdir}/noatun_voiceprint.so
+%{tde_tdelibdir}/noatun_winskin.la
+%{tde_tdelibdir}/noatun_winskin.so
+%{tde_tdelibdir}/noatunsimple.la
+%{tde_tdelibdir}/noatunsimple.so
+%{tde_libdir}/libartseffects.la
+%{tde_libdir}/libartseffects.so
+%{tde_libdir}/libtdeinit_noatun.so
+%{tde_libdir}/libnoatun.so.*
+%{tde_libdir}/libnoatunarts.la
+%{tde_libdir}/libnoatunarts.so
+%{tde_libdir}/libnoatuncontrols.so.*
+%{tde_libdir}/libnoatuntags.so.*
+%{tde_libdir}/libwinskinvis.la
+%{tde_libdir}/libwinskinvis.so
+%{tde_libdir}/mcop/ExtraStereo.mcopclass
+%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass
+%{tde_libdir}/mcop/Noatun/
+%{tde_libdir}/mcop/RawWriter.mcopclass
+%{tde_libdir}/mcop/VoiceRemoval.mcopclass
+%{tde_libdir}/mcop/artseffects.mcopclass
+%{tde_libdir}/mcop/artseffects.mcoptype
+%{tde_libdir}/mcop/noatunarts.mcopclass
+%{tde_libdir}/mcop/noatunarts.mcoptype
+%{tde_libdir}/mcop/winskinvis.mcopclass
+%{tde_libdir}/mcop/winskinvis.mcoptype
+%{tde_tdeappdir}/noatun.desktop
+%{tde_datadir}/apps/tdeconf_update/noatun.upd
+%{tde_datadir}/apps/noatun/
+%{tde_datadir}/icons/hicolor/*/apps/noatun.png
+%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop
+%{tde_tdedocdir}/HTML/en/noatun/
+%{tde_mandir}/man1/noatun.1*
+
+##########
+
+%package devel
+Summary: Development files for %{name}, aRts and noatun plugins
+Group: Development/Libraries/Other
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdelibs-devel >= %{tde_version}
+
+Obsoletes: trinity-kdemultimedia-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdemultimedia-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description devel
+{summary}.
+
+Install %{name}-devel if you wish to develop or compile any
+applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or
+noatun plugins.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_includedir}/*
+%if 0%{?with_akode}
+%{tde_libdir}/libarts_akode.so
+%endif
+%{tde_libdir}/libarts_audiofile.so
+%if 0%{?with_mpeg}
+%{tde_libdir}/libarts_mpeglib.so
+%{tde_libdir}/libarts_splay.so
+%endif
+%if 0%{?with_xine}
+%{tde_libdir}/libarts_xine.so
+%endif
+%{tde_libdir}/libartsbuilder.so
+%{tde_libdir}/libartscontrolapplet.so
+%{tde_libdir}/libartscontrolsupport.so
+%{tde_libdir}/libartsgui.so
+%{tde_libdir}/libartsgui_idl.so
+%{tde_libdir}/libartsgui_kde.so
+%{tde_libdir}/libartsmidi.so
+%{tde_libdir}/libartsmidi_idl.so
+%{tde_libdir}/libartsmodules.so
+%{tde_libdir}/libartsmodulescommon.so
+%{tde_libdir}/libartsmoduleseffects.so
+%{tde_libdir}/libartsmodulesmixers.so
+%{tde_libdir}/libartsmodulessynth.so
+%{tde_libdir}/libaudiocdplugins.la
+%{tde_libdir}/libaudiocdplugins.so
+%{tde_libdir}/libkcddb.la
+%{tde_libdir}/libkcddb.so
+%{tde_libdir}/libtdeinit_kmix.la
+%{tde_libdir}/libtdeinit_kmixctrl.la
+%{tde_libdir}/libtdeinit_krec.la
+%{tde_libdir}/libtdeinit_noatun.la
+%{tde_libdir}/libtdemidlib.la
+%{tde_libdir}/libtdemidlib.so
+%if 0%{?with_mpeg}
+%{tde_libdir}/libmpeg.la
+%{tde_libdir}/libmpeg.so
+%endif
+%{tde_libdir}/libnoatun.la
+%{tde_libdir}/libnoatun.so
+%{tde_libdir}/libnoatuncontrols.la
+%{tde_libdir}/libnoatuncontrols.so
+%{tde_libdir}/libnoatuntags.la
+%{tde_libdir}/libnoatuntags.so
+%if 0%{?with_mpeg}
+%{tde_libdir}/libyafcore.la
+%{tde_libdir}/libyafxplayer.la
+%endif
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+# Update icons for some control center modules
+%__sed -i "tdeioslave/audiocd/kcmaudiocd/audiocd.desktop" -e "s|^Icon=.*|Icon=kcmaudio|"
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_NO_BUILTIN_CHRPATH=ON \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=ON \
+ \
+ -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
+ -DBIN_INSTALL_DIR="%{tde_bindir}" \
+ -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
+ -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}" \
+ \
+ -DWITH_ALL_OPTIONS=ON \
+ -DWITH_ALSA=ON \
+ -DWITH_ARTS_AKODE=ON \
+ -DWITH_ARTS_AUDIOFILE=ON \
+ -DWITH_ARTS_MPEGLIB=ON \
+ -DWITH_ARTS_XINE=ON \
+ -DWITH_CDPARANOIA=ON \
+ -DWITH_FLAC=ON \
+ -DWITH_GSTREAMER=ON \
+ -DWITH_KSCD_CDDA=ON \
+ -DWITH_LAME=%{?with_lame:ON}%{!?with_lame:OFF} \
+ -DWITH_MUSICBRAINZ=%{?with_musicbrainz:ON}%{!?with_musicbrainz:OFF} \
+ -DWITH_TAGLIB=%{?with_taglib:ON}%{!?with_taglib:OFF} \
+ -DWITH_THEORA=ON \
+ -DWITH_VORBIS=ON \
+ -DBUILD_ALL=ON \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{?buildroot}
+%__make install DESTDIR="%{?buildroot}" -C build
+
+# Disable MPEG support entirely
+%if 0%{?with_mpeg} == 0
+%__rm %{?buildroot}%{tde_bindir}/mpeglibartsplay
+%__rm %{?buildroot}%{tde_bindir}/yaf-*
+%__rm %{?buildroot}%{tde_libdir}/libarts_mpeglib*
+%__rm %{?buildroot}%{tde_libdir}/libarts_splay.*
+%__rm %{?buildroot}%{tde_libdir}/libmpeg*
+%__rm %{?buildroot}%{tde_libdir}/libyaf*
+%__rm %{?buildroot}%{tde_libdir}/mcop/MP3PlayObject.mcopclass
+%__rm %{?buildroot}%{tde_libdir}/mcop/CDDAPlayObject.mcopclass
+%__rm %{?buildroot}%{tde_libdir}/mcop/NULLPlayObject.mcopclass
+%__rm %{?buildroot}%{tde_libdir}/mcop/OGGPlayObject.mcopclass
+%__rm %{?buildroot}%{tde_libdir}/mcop/SplayPlayObject.mcopclass
+%__rm %{?buildroot}%{tde_libdir}/mcop/WAVPlayObject.mcopclass
+%endif
+
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file krec AudioVideo Recorder
+%suse_update_desktop_file tdemid AudioVideo Midi
+%suse_update_desktop_file artsbuilder AudioVideo AudioVideoEditing
+%suse_update_desktop_file artscontrol AudioVideo AudioVideoEditing
+%suse_update_desktop_file kmix AudioVideo Mixer
+%suse_update_desktop_file kaboodle AudioVideo Player
+%suse_update_desktop_file kaudiocreator AudioVideo CD
+%suse_update_desktop_file kscd AudioVideo Player CD
+%suse_update_desktop_file noatun AudioVideo Player Video
+%suse_update_desktop_file juk AudioVideo Player Jukebox
+%suse_update_desktop_file audiocd
+%endif
+
+# Links duplicate files
+%fdupes "%{?buildroot}%{tde_datadir}"
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
diff --git a/redhat/core/tdemultimedia/trinity-tdemultimedia-rpmlintrc b/redhat/core/tdemultimedia/trinity-tdemultimedia-rpmlintrc
new file mode 100644
index 000000000..529351884
--- /dev/null
+++ b/redhat/core/tdemultimedia/trinity-tdemultimedia-rpmlintrc
@@ -0,0 +1,2 @@
+setBadness('library-without-ldconfig-postun', 0)
+setBadness('library-without-ldconfig-postin', 0)
diff --git a/redhat/core/tdenetwork/kppp.pamd b/redhat/core/tdenetwork/kppp.pamd
new file mode 100644
index 000000000..c7d67e332
--- /dev/null
+++ b/redhat/core/tdenetwork/kppp.pamd
@@ -0,0 +1,4 @@
+#%PAM-1.0
+auth include config-util
+account include config-util
+session include config-util
diff --git a/redhat/core/tdenetwork/ktalk b/redhat/core/tdenetwork/ktalk
new file mode 100644
index 000000000..4458a0964
--- /dev/null
+++ b/redhat/core/tdenetwork/ktalk
@@ -0,0 +1,12 @@
+# default: off
+# description: KDE version of the talk server (accepting talk requests
+# for chatting with users on other systems).
+service ntalk
+{
+ disable = yes
+ socket_type = dgram
+ wait = yes
+ user = root
+ group = tty
+ server = /usr/bin/ktalkd
+}
diff --git a/redhat/core/tdenetwork/tdenetwork.spec b/redhat/core/tdenetwork/tdenetwork.spec
new file mode 100644
index 000000000..f519297af
--- /dev/null
+++ b/redhat/core/tdenetwork/tdenetwork.spec
@@ -0,0 +1,1242 @@
+%if 0%{?fedora} >= 23
+%define _hardened_ldflags %nil
+%endif
+
+#
+# spec file for package tdenetwork (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# BUILD WARNING:
+# Remove qt-devel and qt3-devel and any kde*-devel on your system !
+# Having KDE libraries may cause FTBFS here !
+
+# TDE variables
+%define tde_epoch 2
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdenetwork
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
+%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_sbindir %{tde_prefix}/sbin
+%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
+
+# Avoids relinking, which breaks consolehelper
+%define dont_relink 1
+
+# Disable AIM support
+%define with_aim 1
+
+Name: trinity-%{tde_pkg}
+Summary: Trinity Desktop Environment - Network Applications
+Group: Applications/Internet
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Desktop
+#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: kppp.pamd
+Source2: ktalk
+Source3: trinity-tdenetwork-rpmlintrc
+
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-tdebase-devel >= %{tde_version}
+BuildRequires: libtqca-devel >= %{tde_epoch}:1.0
+
+BuildRequires: trinity-cmake >= %{tde_version}
+BuildRequires: gettext
+BuildRequires: coreutils
+BuildRequires: gcc-c++
+BuildRequires: desktop-file-utils
+BuildRequires: fdupes
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+# for set_permissions macro
+%if 0%{?suse_version}
+PreReq: permissions
+%endif
+
+# AVAHI support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_avahi 1
+BuildRequires: libavahi-tqt-devel >= 1:0.6.30
+%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
+
+# OPENSSL support
+BuildRequires: openssl-devel
+
+# TLS support
+BuildRequires: gnutls-devel
+
+# SQLITE support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: sqlite3-devel
+%else
+BuildRequires: sqlite-devel
+%endif
+
+# GADU support
+%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_gadu 1
+BuildRequires: libgadu-devel
+%endif
+
+# PCRE support
+BuildRequires: pcre-devel
+
+# GAMIN support
+# Not on openSUSE.
+%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_gamin 1
+BuildRequires: gamin-devel
+%endif
+
+# XTST support
+%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1210
+BuildRequires: libXtst-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: libxtst-devel
+%endif
+
+# XMU support
+%if 0%{?suse_version} == 1140
+BuildRequires: xorg-x11-libXmu-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1210
+BuildRequires: libXmu-devel
+%endif
+%if 0%{?mdkversion} || 0%{?mgaversion} >= 4
+BuildRequires: libxmu-devel
+%endif
+%if 0%{?mgaversion} == 2 || 0%{?mgaversion} == 3
+BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel
+%endif
+
+# Other stuff
+%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5
+BuildRequires: libXScrnSaver-devel
+BuildRequires: libXxf86vm-devel
+%endif
+
+# Fedora review: http://bugzilla.redhat.com/195486
+
+## Conditional build:
+# RHEL6: xmms is outdated !
+#define _with_xmms --with-xmms
+
+# Wifi support
+%define with_wifi 1
+%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5
+BuildRequires: wireless-tools-devel
+%endif
+%if 0%{?mgaversion} == 2 || 0%{?mdkversion}
+BuildRequires: %{_lib}iw29-devel
+%endif
+%if 0%{?rhel} == 5 || 0%{?suse_version}
+BuildRequires: wireless-tools
+%endif
+%if 0%{?suse_version} || 0%{?mgaversion} >= 3
+BuildRequires: libiw-devel
+%endif
+
+# OpenSLP support
+%if 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_openslp 1
+BuildRequires: openslp-devel
+%endif
+
+%ifarch %{ix86}
+# BR: /usr/include/valgrind/valgrind.h
+BuildRequires: valgrind
+%endif
+
+%{?_with_xmms:BuildRequires: xmms-devel}
+
+# V4L support
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version}
+BuildRequires: libv4l-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}v4l-devel
+%endif
+%if 0%{?rhel} == 5
+BuildRequires: kernel-headers
+%endif
+
+# XML support
+BuildRequires: libxml2-devel
+BuildRequires: libxslt-devel
+
+#jabber
+BuildRequires: libidn-devel
+#jabber/jingle
+%if 0%{?suse_version}
+BuildRequires: libexpat-devel
+%else
+BuildRequires: expat-devel
+%endif
+BuildRequires: glib2-devel
+BuildRequires: speex-devel
+# jabber/ssl
+#{?fedora:Requires(hint): qca-tls}
+#Requires: jasper
+
+# ACL support
+BuildRequires: libacl-devel
+
+# MEANWHILE support
+%if 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?fedora} >= 15 || 0%{?suse_version}
+%define with_meanwhile 1
+BuildRequires: meanwhile-devel
+%endif
+
+# SPEEX support
+%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion}
+%define with_speex 1
+BuildRequires: speex-devel
+%endif
+
+# CONSOLEHELPER (usermode) support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_consolehelper 1
+
+# XINETD support
+%if 0%{?fedora} >= 34 || 0%{?rhel} >= 9
+# No xinetd
+%else
+%define with_xinetd 1
+Requires: xinetd
+%endif
+
+# Avoids relinking, which breaks consolehelper
+%define dont_relink 1
+%endif
+
+# Build kopete motionaway plugin
+%if 0%{?rhel} != 5
+%define build_kopete_motionaway 1
+%endif
+
+Obsoletes: trinity-kdenetwork < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdenetwork = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdenetwork-libs < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdenetwork-libs = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdenetwork-extras < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdenetwork-extras = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: tdenetwork < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdenetwork = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Requires: trinity-dcoprss = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-filesharing = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kdict = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-tdefile-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kget = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-knewsticker = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kopete = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kopete-nowlistening = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kpf = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kppp = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-krdc = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-krfb = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksirc = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ktalkd = %{?epoch:%{epoch}:}%{version}-%{release}
+%if 0%{?with_wifi}
+Requires: trinity-kwifimanager = %{?epoch:%{epoch}:}%{version}-%{release}
+%endif
+Requires: trinity-librss = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-lisa = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description
+This metapackage includes a collection of network and networking related
+applications provided with the official release of Trinity.
+
+Networking applications, including:
+* dcoprss: RSS utilities for Trinity
+* filesharing: Network filesharing configuration module for Trinity
+* kdict: Dictionary client for Trinity
+* tdefile-plugins: Torrent metainfo plugin for Trinity
+* kget: downloader manager
+* knewsticker: RDF newsticker applet
+* kopete: chat client
+* kopete-nowlistening: (xmms) plugin for Kopete.
+* kpf: Public fileserver for Trinity
+* kppp: dialer and front end for pppd
+* krdc: a client for Desktop Sharing and other VNC servers
+* krfb: Desktop Sharing server, allow others to access your desktop via VNC
+* ksirc: IRC client for Trinity
+* ktalkd: Talk daemon for Trinity
+%if 0%{?with_wifi}
+* kwifimanager: Wireless lan manager for Trinity
+%endif
+* librss: RSS library for Trinity
+* lisa: lan information server
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README
+
+
+##########
+
+%package -n trinity-dcoprss
+Summary: RSS utilities for Trinity
+Group: Applications/Internet
+
+%description -n trinity-dcoprss
+dcoprss is a RSS to DCOP bridge, allowing all
+DCOP aware applications to access RSS news feeds. There is also
+a few sample utilities provided.
+RSS is a standard for publishing news headlines.
+DCOP is the TDE interprocess communication protocol.
+
+%files -n trinity-dcoprss
+%defattr(-,root,root,-)
+%{tde_bindir}/feedbrowser
+%{tde_bindir}/rssclient
+%{tde_bindir}/rssservice
+%{tde_datadir}/services/rssservice.desktop
+
+##########
+
+%package devel
+Summary: Development files for the Trinity network module
+Group: Development/Libraries/Other
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kdict = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kopete = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksirc = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-librss = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdelibs-devel >= %{tde_version}
+
+Obsoletes: trinity-kdenetwork-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdenetwork-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: tdenetwork-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdenetwork-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description devel
+This is the development package which contains the headers for the TDE RSS
+library as well as the Kopete chat client, as well as miscellaneous
+development-related files for the TDE network module.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kopete/
+%{tde_tdeincludedir}/rss/
+%{tde_libdir}/libkopete.la
+%{tde_libdir}/libkopete.so
+%if 0%{?with_aim}
+%{tde_libdir}/libkopete_msn_shared.la
+%{tde_libdir}/libkopete_msn_shared.so
+%endif
+%{tde_libdir}/libkopete_oscar.la
+%{tde_libdir}/libkopete_oscar.so
+%{tde_libdir}/libkopete_videodevice.la
+%{tde_libdir}/libkopete_videodevice.so
+%{tde_libdir}/librss.la
+%{tde_libdir}/librss.so
+
+##########
+
+%package filesharing
+#Recommends: perl-suid
+Summary: Network filesharing configuration module for Trinity
+Group: Applications/Internet
+
+Obsoletes: tdenetwork-filesharing < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdenetwork-filesharing = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description filesharing
+This package provides a Trinity Control Center module to configure
+NFS and Samba.
+
+%files filesharing
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/fileshare_propsdlgplugin.la
+%{tde_tdelibdir}/fileshare_propsdlgplugin.so
+%{tde_tdelibdir}/kcm_fileshare.la
+%{tde_tdelibdir}/kcm_fileshare.so
+%{tde_tdelibdir}/kcm_kcmsambaconf.la
+%{tde_tdelibdir}/kcm_kcmsambaconf.so
+%{tde_tdeappdir}/fileshare.desktop
+%{tde_tdeappdir}/kcmsambaconf.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kcmfileshare.png
+%{tde_datadir}/icons/hicolor/*/apps/kcmsambaconf.png
+%{tde_datadir}/services/fileshare_propsdlgplugin.desktop
+%{tde_tdedocdir}/HTML/en/kcontrol/fileshare/
+%{tde_tdedocdir}/HTML/en/kcontrol/kcmsambaconf/
+
+##########
+
+%package -n trinity-kdict
+Summary: Dictionary client for Trinity
+Group: Applications/Internet
+Requires: trinity-kicker >= %{tde_version}
+
+%description -n trinity-kdict
+KDict is an advanced TDE graphical client for the DICT Protocol, with full
+Unicode support. It enables you to search through dictionary databases for a
+word or phrase, then displays suitable definitions. KDict tries to ease
+basic as well as advanced queries.
+
+%files -n trinity-kdict
+%defattr(-,root,root,-)
+%{tde_bindir}/kdict
+%{tde_tdelibdir}/kdict.*
+%{tde_tdelibdir}/kdict_panelapplet.*
+%{tde_libdir}/libtdeinit_kdict.*
+%{tde_tdeappdir}/kdict.desktop
+%{tde_datadir}/apps/kdict
+%{tde_datadir}/apps/kicker/applets/kdictapplet.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kdict.*
+%{tde_tdedocdir}/HTML/en/kdict
+%{tde_mandir}/man1/kdict.1*
+
+##########
+
+%package tdefile-plugins
+Summary: Torrent metainfo plugin for Trinity
+Group: Applications/Internet
+
+Obsoletes: tdenetwork-kfile-plugins < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdenetwork-kfile-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-tdenetwork-kfile-plugins < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-tdenetwork-kfile-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description tdefile-plugins
+This package provides a metainformation plugin for bittorrent files.
+TDE uses tdefile-plugins to provide metainfo tab in the files properties
+dialog in konqueror and other file-handling applications.
+
+%files tdefile-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/tdefile_torrent.la
+%{tde_tdelibdir}/tdefile_torrent.so
+%{tde_datadir}/services/tdefile_torrent.desktop
+
+##########
+
+%package -n trinity-kget
+Summary: Download manager for Trinity
+Group: Applications/Internet
+Requires: trinity-tdebase-data >= %{tde_version}
+Requires: trinity-konqueror >= %{tde_version}
+
+%description -n trinity-kget
+KGet is a a download manager similar to GetRight or Go!zilla. It keeps
+all your downloads in one dialog and you can add and remove transfers.
+Transfers can be paused, resumed, queued or scheduled.
+Dialogs display info about status of transfers - progress, size, speed
+and remaining time. Program supports drag & drop from TDE
+applications and Netscape.
+
+%files -n trinity-kget
+%defattr(-,root,root,-)
+%{tde_bindir}/kget
+%{tde_tdelibdir}/tdehtml_kget.la
+%{tde_tdelibdir}/tdehtml_kget.so
+%{tde_tdeappdir}/kget.desktop
+%{tde_datadir}/apps/kget
+%{tde_datadir}/apps/tdehtml/kpartplugins/kget_plug_in.desktop
+%{tde_datadir}/apps/tdehtml/kpartplugins/kget_plug_in.rc
+%{tde_datadir}/apps/konqueror/servicemenus/kget_download.desktop
+%{tde_datadir}/icons/crystalsvg/*/actions/tdehtml_kget.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kget.png
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/kget_list.png
+%{tde_datadir}/icons/hicolor/*/apps/kget.png
+%{tde_datadir}/mimelnk/application/x-kgetlist.desktop
+%{tde_datadir}/sounds/KGet_Added.ogg
+%{tde_datadir}/sounds/KGet_Finished.ogg
+%{tde_datadir}/sounds/KGet_Finished_All.ogg
+%{tde_datadir}/sounds/KGet_Started.ogg
+%{tde_tdedocdir}/HTML/en/kget
+%{tde_mandir}/man1/kget.1*
+
+##########
+
+%package -n trinity-knewsticker
+Summary: News ticker applet for Trinity
+Group: Applications/Internet
+Requires: trinity-kicker >= %{tde_version}
+
+%description -n trinity-knewsticker
+This is a news ticker applet for the Trinity panel. It can scroll news from
+your favorite news sites, such as lwn.net, /. and freshmeat.net.
+To achieve this, KNewsTicker requires the news sites to provide a
+RSS feed to newsitems. KNewsTicker already comes with a selection of
+good news sources which provide such files.
+
+%files -n trinity-knewsticker
+%defattr(-,root,root,-)
+%{tde_bindir}/knewstickerstub
+%{tde_tdelibdir}/knewsticker_panelapplet.la
+%{tde_tdelibdir}/knewsticker_panelapplet.so
+%{tde_tdelibdir}/libkntsrcfilepropsdlg.la
+%{tde_tdelibdir}/libkntsrcfilepropsdlg.so
+%{tde_tdeappdir}/knewsticker-standalone.desktop
+%{tde_datadir}/applnk/.hidden/knewstickerstub.desktop
+%{tde_datadir}/apps/tdeconf_update/knewsticker.upd
+%{tde_datadir}/apps/tdeconf_update/knt-0.1-0.2.pl
+%{tde_datadir}/apps/kicker/applets/knewsticker.desktop
+%{tde_datadir}/apps/knewsticker/
+%{tde_datadir}/icons/hicolor/*/apps/knewsticker.png
+%{tde_datadir}/services/kntsrcfilepropsdlg.desktop
+%{tde_tdedocdir}/HTML/en/knewsticker
+
+##########
+
+%package -n trinity-kopete
+Summary: Instant messenger for Trinity
+Group: Applications/Internet
+Requires: trinity-tdebase-bin >= %{tde_version}
+Requires: trinity-tdebase-data >= %{tde_version}
+Requires: trinity-filesystem >= %{tde_version}
+
+%description -n trinity-kopete
+Kopete is an instant messenger program which can communicate with a variety
+of IM systems, such as Yahoo, ICQ, IRC and Jabber.
+
+Support for more IM protocols can be added through a plugin system.
+
+%files -n trinity-kopete
+%defattr(-,root,root,-)
+# nowlistening support
+%exclude %{tde_datadir}/apps/kopete/*nowlisteningchatui*
+%exclude %{tde_datadir}/apps/kopete/*nowlisteningui*
+%exclude %{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg
+%exclude %{tde_datadir}/services/tdeconfiguredialog/*nowlistening*
+%exclude %{tde_datadir}/services/*nowlistening*
+%exclude %{tde_tdelibdir}/*nowlistening*
+# Main kopete package
+%{tde_bindir}/kopete
+%{tde_bindir}/kopete_latexconvert.sh
+%{tde_libdir}/tdeconf_update_bin/kopete-account-tdeconf_update
+%{tde_libdir}/tdeconf_update_bin/kopete-nameTracking-tdeconf_update
+%{tde_libdir}/tdeconf_update_bin/kopete-pluginloader2-tdeconf_update
+%{tde_tdelibdir}/kcm_kopete_*.so
+%{tde_tdelibdir}/kcm_kopete_*.la
+%{tde_tdelibdir}/tdeio_jabberdisco.la
+%{tde_tdelibdir}/tdeio_jabberdisco.so
+%{tde_tdelibdir}/kopete_*.la
+%{tde_tdelibdir}/kopete_*.so
+%{tde_tdelibdir}/libkrichtexteditpart.la
+%{tde_tdelibdir}/libkrichtexteditpart.so
+%{tde_libdir}/libkopete_oscar.so.*
+%{tde_libdir}/libkopete.so.*
+%{tde_libdir}/libkopete_videodevice.so.*
+%{tde_tdeappdir}/kopete.desktop
+%{tde_datadir}/apps/tdeconf_update/kopete-*
+%{tde_datadir}/apps/kopete/
+%{tde_datadir}/apps/kopete_*/
+%{tde_datadir}/apps/kopeterichtexteditpart/
+%{tde_datadir}/config.kcfg/historyconfig.kcfg
+%{tde_datadir}/config.kcfg/kopeteidentityconfigpreferences.kcfg
+%{tde_datadir}/config.kcfg/kopete.kcfg
+%{tde_datadir}/config.kcfg/latexconfig.kcfg
+%{tde_datadir}/icons/crystalsvg/*/actions/voicecall.png
+%{tde_datadir}/icons/crystalsvg/*/actions/webcamreceive.png
+%{tde_datadir}/icons/crystalsvg/*/actions/webcamsend.png
+%{tde_datadir}/icons/crystalsvg/*/actions/account_offline_overlay.png
+%{tde_datadir}/icons/crystalsvg/*/actions/add_user.png
+%{tde_datadir}/icons/crystalsvg/*/actions/contact_away_overlay.png
+%{tde_datadir}/icons/crystalsvg/*/actions/contact_busy_overlay.png
+%{tde_datadir}/icons/crystalsvg/*/actions/contact_food_overlay.png
+%{tde_datadir}/icons/crystalsvg/*/actions/contact_invisible_overlay.png
+%{tde_datadir}/icons/crystalsvg/*/actions/contact_phone_overlay.png
+%{tde_datadir}/icons/crystalsvg/*/actions/contact_xa_overlay.png
+%{tde_datadir}/icons/crystalsvg/*/actions/delete_user.png
+%{tde_datadir}/icons/crystalsvg/*/actions/edit_user.png
+%{tde_datadir}/icons/crystalsvg/*/actions/emoticon.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_away.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_chatty.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_connecting.mng
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_group.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_invisible.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_na.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_offline.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_online.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_raw.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_off.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_on.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_xa.png
+%{tde_datadir}/icons/crystalsvg/*/actions/kopeteavailable.png
+%{tde_datadir}/icons/crystalsvg/*/actions/kopeteaway.png
+%{tde_datadir}/icons/crystalsvg/*/actions/kopeteeditstatusmessage.png
+%{tde_datadir}/icons/crystalsvg/*/actions/kopetestatusmessage.png
+%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_away.png
+%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_offline.png
+%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_online.png
+%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_unknown.png
+%{tde_datadir}/icons/crystalsvg/*/actions/newmsg.png
+%{tde_datadir}/icons/crystalsvg/*/actions/search_user.png
+%{tde_datadir}/icons/crystalsvg/*/actions/show_offliners.png
+%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown_overlay.png
+%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_aim.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_gadu.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_http-ws.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_icq.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_irc.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_msn.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_qq.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_smtp.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_tlen.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_yahoo.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_protocol.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kopete_all_away.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kopete_offline.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_away.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_online.png
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/kopete_emoticons.png
+%{tde_datadir}/icons/crystalsvg/scalable/actions/account_offline_overlay.svgz
+%{tde_datadir}/icons/hicolor/*/apps/kopete.png
+%{tde_datadir}/icons/hicolor/*/actions/emoticon.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_away.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_chatty.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_connecting.mng
+%{tde_datadir}/icons/hicolor/*/actions/jabber_group.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_invisible.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_na.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_offline.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_online.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_raw.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_off.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_on.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_xa.png
+%{tde_datadir}/icons/hicolor/*/actions/kopeteavailable.png
+%{tde_datadir}/icons/hicolor/*/actions/kopeteaway.png
+%{tde_datadir}/icons/hicolor/*/actions/newmsg.png
+%{tde_datadir}/icons/hicolor/*/actions/status_unknown_overlay.png
+%{tde_datadir}/icons/hicolor/*/actions/status_unknown.png
+%{tde_datadir}/icons/hicolor/*/apps/jabber_protocol.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kopete2.svgz
+%{tde_datadir}/icons/crystalsvg/*/actions/newmessage.mng
+%{tde_datadir}/icons/hicolor/*/actions/newmessage.mng
+%{tde_datadir}/icons/crystalsvg/*/apps/icq_protocol.png
+%{tde_datadir}/icons/crystalsvg/*/apps/irc_protocol.png
+%{tde_datadir}/icons/crystalsvg/*/actions/icq_away.png
+%{tde_datadir}/icons/crystalsvg/*/actions/icq_connecting.mng
+%{tde_datadir}/icons/crystalsvg/*/actions/icq_dnd.png
+%{tde_datadir}/icons/crystalsvg/*/actions/icq_ffc.png
+%{tde_datadir}/icons/crystalsvg/*/actions/icq_invisible.png
+%{tde_datadir}/icons/crystalsvg/*/actions/icq_na.png
+%{tde_datadir}/icons/crystalsvg/*/actions/icq_occupied.png
+%{tde_datadir}/icons/crystalsvg/*/actions/icq_offline.png
+%{tde_datadir}/icons/crystalsvg/*/actions/icq_online.png
+%{tde_datadir}/icons/crystalsvg/*/actions/irc_away.png
+%{tde_datadir}/icons/crystalsvg/*/actions/irc_channel.png
+%{tde_datadir}/icons/crystalsvg/*/actions/irc_connecting.mng
+%{tde_datadir}/icons/crystalsvg/*/actions/irc_normal.png
+%{tde_datadir}/icons/crystalsvg/*/actions/irc_online.png
+%{tde_datadir}/icons/crystalsvg/*/actions/irc_op.png
+%{tde_datadir}/icons/crystalsvg/*/actions/irc_server.png
+%{tde_datadir}/icons/crystalsvg/*/actions/irc_voice.png
+%{tde_datadir}/icons/hicolor/*/actions/icq_away.png
+%{tde_datadir}/icons/hicolor/*/actions/icq_connecting.mng
+%{tde_datadir}/icons/hicolor/*/actions/icq_dnd.png
+%{tde_datadir}/icons/hicolor/*/actions/icq_ffc.png
+%{tde_datadir}/icons/hicolor/*/actions/icq_invisible.png
+%{tde_datadir}/icons/hicolor/*/actions/icq_na.png
+%{tde_datadir}/icons/hicolor/*/actions/icq_occupied.png
+%{tde_datadir}/icons/hicolor/*/actions/icq_offline.png
+%{tde_datadir}/icons/hicolor/*/actions/icq_online.png
+%{tde_datadir}/icons/hicolor/*/apps/icq_protocol.png
+%{tde_datadir}/mimelnk/application/x-icq.desktop
+%{tde_datadir}/mimelnk/application/x-kopete-emoticons.desktop
+%{tde_datadir}/services/chatwindow.desktop
+%{tde_datadir}/services/emailwindow.desktop
+%{tde_datadir}/services/jabberdisco.protocol
+%{tde_datadir}/services/tdeconfiguredialog/kopete_*.desktop
+%{tde_datadir}/services/kopete_*.desktop
+%{tde_datadir}/icons/crystalsvg/16x16/apps/jabber_gateway_sms.png
+%{tde_datadir}/servicetypes/kopete*.desktop
+%{tde_datadir}/sounds/Kopete_*.ogg
+%{tde_tdedocdir}/HTML/en/kopete
+# jingle support for kopete
+%{tde_bindir}/relayserver
+%{tde_bindir}/stunserver
+# winpopup support for kopete
+%{tde_bindir}/winpopup-install.sh
+%{tde_bindir}/winpopup-send.sh
+%if 0%{?build_kopete_motionaway}
+# motionaway plugin for kopete
+%{tde_datadir}/config.kcfg/motionawayconfig.kcfg
+%endif
+# smpp plugin for kopete
+%{tde_datadir}/config.kcfg/smpppdcs.kcfg
+# aim support is deprecated in TDE 14.1.0
+%if 0%{?with_aim}
+%{tde_datadir}/icons/crystalsvg/*/apps/aim_protocol.png
+%{tde_datadir}/icons/crystalsvg/*/actions/aim_away.png
+%{tde_datadir}/icons/crystalsvg/*/actions/aim_connecting.mng
+%{tde_datadir}/icons/crystalsvg/*/actions/aim_offline.png
+%{tde_datadir}/icons/crystalsvg/*/actions/aim_online.png
+%{tde_datadir}/icons/hicolor/*/actions/aim_away.png
+%{tde_datadir}/icons/hicolor/*/actions/aim_connecting.mng
+%{tde_datadir}/icons/hicolor/*/actions/aim_offline.png
+%{tde_datadir}/icons/hicolor/*/actions/aim_online.png
+%{tde_datadir}/icons/hicolor/*/apps/aim_protocol.png
+%{tde_datadir}/services/aim.protocol
+%{tde_libdir}/libkopete_msn_shared.so.0
+%{tde_libdir}/libkopete_msn_shared.so.0.0.0
+%endif
+%{tde_mandir}/man1/kopete.1*
+
+##########
+
+%package -n trinity-kopete-nowlistening
+Summary: Nowlistening (xmms) plugin for Kopete
+Group: Applications/Internet
+Requires: trinity-kopete = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-filesystem >= %{tde_version}
+
+%description -n trinity-kopete-nowlistening
+Kopete includes the "Now Listening" plug-in that can report what music you
+are currently listening to, in a number of different players, including
+noatun, kscd, juk, kaffeine and amarok.
+
+%files -n trinity-kopete-nowlistening
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kopete/*nowlisteningchatui*
+%{tde_datadir}/apps/kopete/*nowlisteningui*
+%{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg
+%{tde_datadir}/services/tdeconfiguredialog/*nowlistening*
+%{tde_datadir}/services/*nowlistening*
+%{tde_tdelibdir}/*nowlistening*
+
+##########
+
+%package -n trinity-kpf
+Summary: Public fileserver for Trinity
+Group: Applications/Internet
+Requires: trinity-kicker >= %{tde_version}
+
+%description -n trinity-kpf
+kpf provides simple file sharing using HTTP. kpf is strictly a public
+fileserver, which means that there are no access restrictions to shared
+files. Whatever you select for sharing is available to anyone. kpf is
+designed to be used for sharing files with friends.
+
+%files -n trinity-kpf
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kpf*
+%{tde_datadir}/apps/kicker/applets/kpfapplet.desktop
+%{tde_datadir}/icons/crystalsvg/*/apps/kpf.*
+%{tde_datadir}/services/kpfpropertiesdialogplugin.desktop
+%{tde_tdedocdir}/HTML/en/kpf
+
+##########
+
+%package -n trinity-kppp
+Summary: Modem dialer and ppp frontend for Trinity
+Group: Applications/Internet
+BuildRequires: ppp
+Requires: ppp
+
+%if 0%{?with_consolehelper}
+# package 'usermode' provides '/usr/bin/consolehelper-gtk'
+%if 0%{?rhel} || 0%{?fedora}
+Requires: usermode-gtk
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+Requires: usermode
+%endif
+%endif
+
+%description -n trinity-kppp
+KPPP is a dialer and front end for pppd. It allows for interactive
+script generation and network setup. It will automate the dialing in
+process to your ISP while letting you conveniently monitor the entire
+process.
+
+Once connected KPPP will provide a rich set of statistics and keep
+track of the time spent online for you.
+
+%files -n trinity-kppp
+%defattr(-,root,root,-)
+%if 0%{?with_consolehelper} == 0
+# Some setuid binaries need special care
+%if 0%{?suse_version}
+%verify(not mode) %{tde_bindir}/kppp
+%else
+%attr(4711,root,root) %{tde_bindir}/kppp
+%endif
+%endif
+%{tde_bindir}/kppplogview
+%{tde_tdeappdir}/Kppp.desktop
+%{tde_tdeappdir}/kppplogview.desktop
+%{tde_datadir}/apps/kppp/
+%{tde_datadir}/icons/hicolor/*/apps/kppp.png
+%{tde_tdedocdir}/HTML/en/kppp/
+%dir %{_sysconfdir}/ppp/peers
+%{_sysconfdir}/ppp/peers/kppp-options
+
+%if 0%{?with_consolehelper}
+%config(noreplace) /etc/security/console.apps/kppp3
+%config(noreplace) /etc/pam.d/kppp3
+%{_sbindir}/kppp3
+%{tde_bindir}/kppp3
+%{tde_sbindir}/kppp3
+%endif
+
+%post -n trinity-kppp
+%if 0%{?suse_version}
+# Sets permissions on setuid files (openSUSE specific)
+%set_permissions %{tde_bindir}/kppp
+%endif
+
+##########
+
+%package -n trinity-krdc
+Summary: Remote Desktop Connection for Trinity
+Group: Applications/Internet
+Requires: rdesktop
+
+%description -n trinity-krdc
+krdc is an TDE graphical client for the rfb protocol, used by VNC,
+and if rdesktop is installed, krdc can connect to Windows Terminal
+Servers using RDP.
+
+%files -n trinity-krdc
+%defattr(-,root,root,-)
+%{tde_bindir}/krdc
+%{tde_tdeappdir}/krdc.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop
+%{tde_datadir}/apps/krdc/
+%{tde_datadir}/icons/crystalsvg/*/apps/krdc.png
+%{tde_datadir}/icons/hicolor/*/apps/krdc.png
+%{tde_datadir}/services/rdp.protocol
+%{tde_datadir}/services/vnc.protocol
+%{tde_tdedocdir}/HTML/en/krdc/
+%{tde_tdedocdir}/HTML/en/tdeioslave/rdp/
+%{tde_tdedocdir}/HTML/en/tdeioslave/vnc/
+
+##########
+
+%package -n trinity-krfb
+Summary: Desktop Sharing for Trinity
+Group: Applications/Internet
+
+%description -n trinity-krfb
+Desktop Sharing (krfb) is a server application that allows you to share
+your current session with a user on another machine, who can use a
+VNC client like krdc to view or even control the desktop. It doesn't
+require you to start a new X session - it can share the current session.
+This makes it very useful when you want someone to help you perform a
+task.
+
+%files -n trinity-krfb
+%defattr(-,root,root,-)
+%{tde_bindir}/krfb
+%{tde_bindir}/krfb_httpd
+%{tde_tdelibdir}/kcm_krfb.la
+%{tde_tdelibdir}/kcm_krfb.so
+%{tde_tdelibdir}/kded_kinetd.la
+%{tde_tdelibdir}/kded_kinetd.so
+%{tde_tdeappdir}/kcmkrfb.desktop
+%{tde_tdeappdir}/krfb.desktop
+%{tde_datadir}/apps/kinetd/
+%{tde_datadir}/apps/krfb
+%{tde_datadir}/icons/crystalsvg/*/apps/krfb.png
+%{tde_datadir}/icons/hicolor/*/apps/krfb.png
+%{tde_datadir}/icons/locolor/*/apps/krfb.png
+%{tde_datadir}/services/kded/kinetd.desktop
+%{tde_datadir}/services/kinetd_krfb.desktop
+%{tde_datadir}/services/kinetd_krfb_httpd.desktop
+%{tde_datadir}/servicetypes/kinetdmodule.desktop
+%{tde_tdedocdir}/HTML/en/krfb/
+
+##########
+
+%package -n trinity-ksirc
+Summary: IRC client for Trinity
+Group: Applications/Internet
+
+%description -n trinity-ksirc
+KSirc is an IRC chat client for TDE. It supports scripting with Perl and has a
+lot of compatibility with mIRC for general use.
+
+If you want to connect to an IRC server via SSL, you will need to install the
+recommended package libio-socket-ssl-perl.
+
+%files -n trinity-ksirc
+%defattr(-,root,root,-)
+%{tde_bindir}/dsirc
+%{tde_bindir}/ksirc
+%{tde_libdir}/libtdeinit_ksirc.*
+%{tde_tdelibdir}/ksirc.*
+%{tde_tdeappdir}/ksirc.desktop
+%{tde_datadir}/apps/ksirc/
+%config(noreplace) %{tde_confdir}/ksircrc
+%{tde_datadir}/icons/hicolor/*/apps/ksirc.*
+%{tde_tdedocdir}/HTML/??/ksirc/
+
+##########
+
+%package -n trinity-ktalkd
+Summary: Talk daemon for Trinity
+Group: Applications/Internet
+Requires: trinity-kcontrol >= %{tde_version}
+Requires: trinity-tdebase-data >= %{tde_version}
+%if 0%{?with_xinetd}
+Requires: xinetd
+%endif
+
+%description -n trinity-ktalkd
+KTalkd is an enhanced talk daemon - a program to handle incoming talk
+requests, announce them and allow you to respond to it using a talk
+client. Note that KTalkd is designed to run on a single-user workstation,
+and shouldn't be run on a multi-user machine.
+
+%files -n trinity-ktalkd
+%defattr(-,root,root,-)
+%{tde_bindir}/ktalkd*
+%{tde_bindir}/mail.local
+%{tde_tdelibdir}/kcm_ktalkd.*
+%{tde_tdeappdir}/kcmktalkd.desktop
+%config(noreplace) %{tde_confdir}/ktalkdrc
+%{tde_datadir}/icons/crystalsvg/*/apps/ktalkd.png
+%{tde_datadir}/icons/hicolor/*/apps/ktalkd.png
+%{tde_datadir}/sounds/ktalkd.wav
+%if 0%{?with_xinetd}
+%dir %{_sysconfdir}/xinetd.d
+%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk
+%endif
+%{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd
+%{tde_tdedocdir}/HTML/en/ktalkd
+
+##########
+
+%if 0%{?with_wifi}
+
+%package -n trinity-kwifimanager
+Summary: Wireless lan manager for Trinity
+Group: Applications/Internet
+Requires: trinity-kicker >= %{tde_version}
+
+%description -n trinity-kwifimanager
+KWiFiManager suite is a set of tools which allows you to manage your
+wireless LAN connection under the K Desktop Environment. It provides
+information about your current connection. KWiFiManager supports every
+wavelan card that uses the wireless extensions interface.
+
+%files -n trinity-kwifimanager
+%defattr(-,root,root,-)
+%{tde_bindir}/kwifimanager
+%{tde_tdelibdir}/kcm_wifi.*
+%{tde_libdir}/libkwireless.la
+%{tde_libdir}/libkwireless.so
+%{tde_tdeappdir}/kcmwifi.desktop
+%{tde_tdeappdir}/kwifimanager.desktop
+%{tde_datadir}/apps/kicker/applets/kwireless.desktop
+%{tde_datadir}/apps/kwifimanager
+%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.png
+%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.svgz
+%{tde_tdedocdir}/HTML/en/kwifimanager/
+%{tde_tdedocdir}/HTML/en/kcontrol/kcmwifi/
+%{tde_mandir}/man1/kwifimanager.1*
+
+%endif
+
+##########
+
+%package -n trinity-librss
+Summary: RSS library for Trinity
+Group: Environment/Libraries
+
+%description -n trinity-librss
+This is the runtime package for programs that use the TDE RSS library.
+End users should not need to install this, it should get installed
+automatically when needed.
+
+%files -n trinity-librss
+%defattr(-,root,root,-)
+%{tde_libdir}/librss.so.*
+%{tde_datadir}/cmake/librss.cmake
+
+##########
+
+%package -n trinity-lisa
+Summary: LAN information server for Trinity
+Group: Applications/Internet
+Requires: trinity-konqueror >= %{tde_version}
+Requires: trinity-tdebase-data >= %{tde_version}
+
+%description -n trinity-lisa
+LISa is intended to provide TDE with a kind of "network neighborhood"
+but relying only on the TCP/IP protocol.
+
+%files -n trinity-lisa
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcm_lanbrowser.la
+%{tde_tdelibdir}/kcm_lanbrowser.so
+%{tde_tdelibdir}/tdeio_lan.la
+%{tde_tdelibdir}/tdeio_lan.so
+%{tde_datadir}/applnk/.hidden/kcmtdeiolan.desktop
+%{tde_datadir}/applnk/.hidden/kcmlisa.desktop
+%{tde_datadir}/applnk/.hidden/kcmreslisa.desktop
+%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/lisa.desktop
+%{tde_datadir}/apps/konqueror/dirtree/remote/lan.desktop
+%{tde_datadir}/apps/lisa/
+%{tde_datadir}/apps/remoteview/lan.desktop
+%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/
+%{tde_tdedocdir}/HTML/en/lisa/
+%{tde_datadir}/services/lan.protocol
+%{tde_datadir}/services/rlan.protocol
+%{tde_bindir}/lisa
+%{tde_bindir}/reslisa
+%{tde_mandir}/man8/lisa.8*
+%{tde_mandir}/man8/reslisa.8*
+
+##########
+
+%package -n trinity-kdnssd
+Summary: Zeroconf support for TDE
+Group: Applications/Internet
+
+%description -n trinity-kdnssd
+A tdeioslave and tded module that provide Zeroconf support. Try
+"zeroconf:/" in Konqueror.
+
+%files -n trinity-kdnssd
+%defattr(-,root,root,-)
+%{tde_datadir}/services/zeroconf.protocol
+%{tde_datadir}/services/invitation.protocol
+%{tde_datadir}/services/kded/dnssdwatcher.desktop
+%{tde_datadir}/apps/remoteview/zeroconf.desktop
+%{tde_datadir}/apps/zeroconf/_http._tcp
+%{tde_datadir}/apps/zeroconf/_ftp._tcp
+%{tde_datadir}/apps/zeroconf/_ldap._tcp
+%{tde_datadir}/apps/zeroconf/_webdav._tcp
+%{tde_datadir}/apps/zeroconf/_nfs._tcp
+%{tde_datadir}/apps/zeroconf/_ssh._tcp
+%{tde_datadir}/apps/zeroconf/_rfb._tcp
+%{tde_tdelibdir}/tdeio_zeroconf.so
+%{tde_tdelibdir}/tdeio_zeroconf.la
+%{tde_tdelibdir}/kded_dnssdwatcher.so
+%{tde_tdelibdir}/kded_dnssdwatcher.la
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+# Workaround libiw detection failure on opensuse
+%if 0%{?suse_version}
+%if 0%{?with_wifi}
+%__sed -i "wifi/ConfigureChecks.cmake" -e "s|^check_library_exists.*|set( HAVE_IW 1 )|"
+%endif
+%endif
+
+# Update icons for some control center modules
+%__sed -i "filesharing/simple/fileshare.desktop" -e "s|^Icon=.*|Icon=kcmfileshare|"
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_NO_BUILTIN_CHRPATH=ON \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=OFF \
+ \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ \
+ -DWITH_JINGLE=ON \
+ %{?with_speex:-DWITH_SPEEX=ON} \
+ -DWITH_WEBCAM=ON \
+ -DWITH_GSM=OFF \
+ -DWITH_XMMS=OFF \
+ -DWITH_ARTS=ON \
+ %{!?with_openslp:-DWITH_SLP=OFF} \
+ -DBUILD_ALL=ON \
+ -DBUILD_KOPETE_PLUGIN_ALL=ON \
+ -DBUILD_KOPETE_PROTOCOL_ALL=ON \
+ %{!?build_kopete_motionaway:-DBUILD_KOPETE_PLUGIN_MOTIONAUTOAWAY=OFF} \
+ %{!?with_gadu:-DBUILD_KOPETE_PROTOCOL_GADU=OFF} \
+ %{!?with_meanwhile:-DBUILD_KOPETE_PROTOCOL_MEANWHILE=OFF} \
+ %{!?with_wifi:-DBUILD_WIFI=OFF} \
+ ..
+
+# Tdenetwork is not smp safe !
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+# Adds missing icons in 'hicolor' theme
+# These icons are copied from 'crystalsvg' theme, provided by 'tdelibs'.
+%__mkdir_p %{buildroot}%{tde_datadir}/icons/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps/
+pushd %{buildroot}%{tde_datadir}/icons
+for i in {16,22,32,48}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kget.png hicolor/"$i"x"$i"/apps/kget.png ;done
+for i in {32,48}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/krdc.png hicolor/"$i"x"$i"/apps/krdc.png ;done
+for i in {16,32,48}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/krfb.png hicolor/"$i"x"$i"/apps/krfb.png ;done
+for i in {16,22,32,48,128}; do %__cp %{?buildroot}%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/ktalkd.png hicolor/"$i"x"$i"/apps/ktalkd.png ;done
+for i in {16,22,32,48,64,128}; do %__cp $BUILD_ROOT%{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/share.png hicolor/"$i"x"$i"/apps/kcmfileshare.png ;done
+popd
+
+%if 0%{?with_consolehelper}
+# Run kppp through consolehelper, and rename it to 'kppp3'
+%__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3
+%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir}
+%__mv %{buildroot}%{tde_bindir}/kppp %{buildroot}%{tde_sbindir}/kppp3
+%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kppp3
+%if "%{tde_prefix}" != "/usr"
+%__ln_s %{tde_sbindir}/kppp3 %{?buildroot}%{_sbindir}/kppp3
+%endif
+%__mkdir_p %{buildroot}%{_sysconfdir}/security/console.apps
+cat > %{buildroot}%{_sysconfdir}/security/console.apps/kppp3 <<EOF
+USER=root
+PROGRAM=%{tde_sbindir}/kppp3
+SESSION=true
+EOF
+
+# Renames 'kppp' as 'kppp3' in launch icon
+%__sed -i %{buildroot}%{tde_tdeappdir}/Kppp.desktop -e "/Exec=/ s|kppp|kppp3|"
+%endif
+
+# Remove setuid bit on some binaries.
+if [ -r "%{?buildroot}%{tde_bindir}/kppp" ]; then
+ chmod 0755 "%{?buildroot}%{tde_bindir}/kppp"
+fi
+
+%if 0%{?with_xinetd}
+# ktalk
+%__install -p -m 0644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/xinetd.d/ktalk
+%endif
+
+# Avoids conflict with trinity-kvirc
+%__mv -f %{buildroot}%{tde_datadir}/services/irc.protocol %{buildroot}%{tde_datadir}/apps/kopete/
+
+# Icons from TDE Control Center should only be displayed in TDE
+for i in %{?buildroot}%{tde_tdeappdir}/*.desktop ; do
+ if grep -q "^Categories=.*X-TDE-settings" "${i}"; then
+ if ! grep -q "OnlyShowIn=TDE" "${i}" ; then
+ echo "OnlyShowIn=TDE;" >>"${i}"
+ fi
+ fi
+done
+
+# Remove unwanted doc
+%if 0%{?with_wifi} == 0
+%__rm -rf "%{buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmwifi/"
+%__rm -rf "%{buildroot}%{tde_tdedocdir}/HTML/en/kwifimanager/"
+%endif
+
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file kcmkrfb
+%suse_update_desktop_file fileshare
+%suse_update_desktop_file kopete Network InstantMessaging
+%suse_update_desktop_file ksirc Network IRCClient
+%suse_update_desktop_file Kppp Network Dialup
+%suse_update_desktop_file -r kppplogview System Monitor
+%suse_update_desktop_file kdict Office Dictionary
+%suse_update_desktop_file -r krdc System RemoteAccess
+%suse_update_desktop_file -r krfb System RemoteAccess
+%suse_update_desktop_file -r kget System TrayIcon
+%if 0%{?with_wifi}
+%suse_update_desktop_file -r kwifimanager System Network
+%suse_update_desktop_file kcmwifi
+%endif
+%suse_update_desktop_file -u knewsticker-standalone Network News
+%suse_update_desktop_file %{buildroot}%{tde_datadir}/apps/remoteview/zeroconf.desktop
+%endif
+
+# Links duplicate files
+%fdupes "%{?buildroot}%{tde_datadir}"
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%if 0%{?suse_version}
+# Check permissions on setuid files (openSUSE specific)
+%verifyscript
+%verify_permissions -e %{tde_bindir}/kppp
+%endif
+
+
+%changelog
diff --git a/redhat/core/tdenetwork/trinity-tdenetwork-rpmlintrc b/redhat/core/tdenetwork/trinity-tdenetwork-rpmlintrc
new file mode 100644
index 000000000..8d22f2fc6
--- /dev/null
+++ b/redhat/core/tdenetwork/trinity-tdenetwork-rpmlintrc
@@ -0,0 +1,3 @@
+setBadness('permissions-file-setuid-bit', 0)
+setBadness('library-without-ldconfig-postun', 0)
+setBadness('library-without-ldconfig-postin', 0)
diff --git a/redhat/core/tdepim/tdepim.spec b/redhat/core/tdepim/tdepim.spec
new file mode 100644
index 000000000..40b05d660
--- /dev/null
+++ b/redhat/core/tdepim/tdepim.spec
@@ -0,0 +1,1936 @@
+#
+# spec file for package tdepim (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# BUILD WARNING:
+# Remove qt-devel and qt3-devel and any kde*-devel on your system !
+# Having KDE libraries may cause FTBFS here !
+
+# TDE variables
+%define tde_epoch 2
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdepim
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
+%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
+
+# TDEPIM optional features
+#define with_kitchensync 1
+
+Name: trinity-%{tde_pkg}
+Summary: Personal Information Management apps from the official Trinity release
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+Group: Applications/Productivity
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Desktop
+#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: %{name}-rpmlintrc
+
+BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-tdebase-devel >= %{tde_version}
+BuildRequires: libcaldav-devel >= %{tde_epoch}:0.6.5
+BuildRequires: libcarddav-devel >= %{tde_epoch}:0.6.2
+
+BuildRequires: trinity-cmake >= %{tde_version}
+BuildRequires: gcc-c++
+BuildRequires: fdupes
+BuildRequires: desktop-file-utils
+BuildRequires: make
+
+BuildRequires: gpgme-devel
+BuildRequires: libgpg-error-devel
+BuildRequires: flex
+BuildRequires: libical-devel
+BuildRequires: boost-devel
+BuildRequires: pcre-devel
+BuildRequires: libidn-devel
+
+# OPENSSL support
+BuildRequires: openssl-devel
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+# GAMIN support
+# Not on openSUSE.
+%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_gamin 1
+BuildRequires: gamin-devel
+%endif
+
+# KDEPIM specific features
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%if 0%{?suse_version} < 1550 && 0%{?sle_version} < 150200
+%define with_gnokii 1
+BuildRequires: gnokii-devel
+%endif
+%endif
+
+
+# FLEX support
+%if 0%{?fedora} >= 15
+BuildRequires: flex-static
+%endif
+
+# BISON support
+BuildRequires: bison
+
+# CURL support
+BuildRequires: curl-devel
+
+# GLIB2 support
+BuildRequires: glib2-devel
+
+# SASL support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}sasl2-devel
+%else
+BuildRequires: cyrus-sasl-devel
+%endif
+
+# XCOMPOSITE support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?mgaversion} >= 4
+BuildRequires: %{_lib}xcomposite-devel
+%else
+BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel
+%endif
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: libXcomposite-devel
+%endif
+
+# XSCREENSAVER support
+# RHEL 4: disabled
+# RHEL 6: available in EPEL
+# RHEL 7: available in NUX
+# RHEL 8: available in EPEL
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || ( 0%{?rhel} >= 5 && 0%{?rhel} <= 8 ) || 0%{?suse_version}
+%define with_xscreensaver 1
+
+%if 0%{?fedora} || 0%{?rhel} >= 5
+BuildRequires: libXScrnSaver-devel
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-base
+BuildRequires: xscreensaver-extras
+%if 0%{?fedora}
+BuildRequires: xscreensaver-extras-base
+%endif
+BuildRequires: xscreensaver-gl-base
+BuildRequires: xscreensaver-gl-extras
+%endif
+
+%if 0%{?suse_version}
+BuildRequires: libXScrnSaver-devel
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-data
+BuildRequires: xscreensaver-data-extra
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?mgaversion} >= 4
+BuildRequires: %{_lib}xscrnsaver-devel
+%else
+BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
+%endif
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-base
+%if 0%{?pclinuxos} == 0
+BuildRequires: xscreensaver-extrusion
+%endif
+BuildRequires: xscreensaver-gl
+%endif
+%endif
+
+# ACL support
+BuildRequires: libacl-devel
+
+
+Requires: trinity-libtdepim = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-kfile-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-tdeio-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-tderesources = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-wizards = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-akregator = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kaddressbook = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kalarm = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kandy = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-karm = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kleopatra = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kmail = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kmailcvt = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kmobile = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-knode = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-knotes = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kode = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-konsolekalendar = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kontact = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-korganizer = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-korn = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ktnef = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libindex = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkcal = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkgantt = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkleopatra = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkmime = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkpimexchange = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkpimidentities = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libksieve = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libktnef = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libmimelib = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Obsoletes: trinity-kdepim < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdepim = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: tdepim < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdepim = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description
+This metapackage includes a collection of Personal Information Management
+(PIM) applications provided with the official release of Trinity.
+
+%files
+%defattr(-,root,root,-)
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries/Other
+
+Obsoletes: tdepim-cmake < %{?epoch:%{epoch}:}%{version}-%{release}
+
+Obsoletes: trinity-kdepim-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdepim-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: tdepim-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdepim-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-akregator-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libtdepim-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kaddressbook-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-karm-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kmail-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-knode-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-knotes-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kode-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kontact-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-korganizer-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libindex-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkcal-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkgantt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkleopatra-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkmime-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkpimexchange-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkpimidentities-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libksieve-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libktnef-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libmimelib-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-tderesources-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description devel
+This metapackage includes all development files for TDE PIM.
+It also contains the CMAKE macros.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_datadir}/cmake/*
+
+##########
+
+%package -n trinity-akregator
+Summary: RSS feed aggregator for TDE
+Group: Applications/Internet
+Requires: trinity-libtdepim = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkcal = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-akregator
+aKregator is a fast, lightweight, and intuitive feed reader program
+for TDE. It allows you to quickly browse through hundreds of
+thousands of internet feeds in a quick, efficient, and familiar way.
+
+%files -n trinity-akregator
+%defattr(-,root,root,-)
+%{tde_bindir}/akregator
+%{tde_tdelibdir}/libakregatorpart.la
+%{tde_tdelibdir}/libakregatorpart.so
+%{tde_tdelibdir}/libakregator_mk4storage_plugin.la
+%{tde_tdelibdir}/libakregator_mk4storage_plugin.so
+%{tde_libdir}/libakregatorprivate.so.*
+%{tde_tdeappdir}/akregator.desktop
+%{tde_datadir}/apps/akregator
+%{tde_datadir}/config.kcfg/akregator.kcfg
+%{tde_datadir}/config.kcfg/mk4config.kcfg
+%{tde_datadir}/icons/crystalsvg/*/actions/rss_tag.png
+%{tde_datadir}/icons/crystalsvg/16x16/apps/akregator_empty.png
+%{tde_datadir}/icons/hicolor/*/apps/akregator.png
+%{tde_datadir}/icons/hicolor/scalable/apps/akregator.svgz
+%{tde_datadir}/services/akregator_mk4storage_plugin.desktop
+%{tde_datadir}/services/akregator_part.desktop
+%{tde_datadir}/services/feed.protocol
+%{tde_datadir}/services/kontact/akregatorplugin*.desktop
+%{tde_datadir}/servicetypes/akregator_plugin.desktop
+%{tde_tdedocdir}/HTML/en/akregator/
+%{tde_tdedocdir}/HTML/en/tdeioslave/feed/
+
+##########
+
+%package -n trinity-akregator-devel
+Summary: Development files for trinity-akregator
+Group: Development/Libraries/Other
+Requires: trinity-akregator = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-akregator-devel
+%{summary}
+
+%files -n trinity-akregator-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/akregator/
+%{tde_libdir}/libakregatorprivate.la
+%{tde_libdir}/libakregatorprivate.so
+
+##########
+
+%package -n trinity-kaddressbook
+Summary: TDE addressbook application
+Group: Applications/Communications
+Requires: trinity-tdebase-tdeio-pim-plugins
+Requires: %{name}-tderesources = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kaddressbook
+KAddressBook is the main address book application for TDE; it enables you
+to manage your contacts efficiently and comfortably. It can load and save
+your contacts to many different locations, including the local file system,
+LDAP servers, and SQL databases.
+
+%files -n trinity-kaddressbook
+%defattr(-,root,root,-)
+%{tde_bindir}/tdeabc2mutt
+%{tde_bindir}/kaddressbook
+%{tde_bindir}/tdeabcdistlistupdater
+%{tde_tdelibdir}/kcm_kabconfig.la
+%{tde_tdelibdir}/kcm_kabconfig.so
+%{tde_tdelibdir}/kcm_kabcustomfields.la
+%{tde_tdelibdir}/kcm_kabcustomfields.so
+%{tde_tdelibdir}/kcm_kabldapconfig.la
+%{tde_tdelibdir}/kcm_kabldapconfig.so
+%{tde_tdelibdir}/ldifvcardthumbnail.la
+%{tde_tdelibdir}/ldifvcardthumbnail.so
+%{tde_tdelibdir}/libkaddrbk_*.la
+%{tde_tdelibdir}/libkaddrbk_*.so
+%{tde_tdelibdir}/libkaddressbookpart.la
+%{tde_tdelibdir}/libkaddressbookpart.so
+%{tde_libdir}/libkabinterfaces.so.*
+%{tde_libdir}/libkaddressbook.so.*
+%{tde_tdeappdir}/kaddressbook.desktop
+%{tde_datadir}/apps/kaddressbook
+%{tde_datadir}/icons/hicolor/*/apps/kaddressbook.png
+%{tde_datadir}/services/kabconfig.desktop
+%{tde_datadir}/services/kabcustomfields.desktop
+%{tde_datadir}/services/kabldapconfig.desktop
+%{tde_datadir}/services/kaddressbook
+%{tde_datadir}/services/kontact/kaddressbookplugin.desktop
+%{tde_datadir}/services/tderesources/tdeabc/imap.desktop
+%{tde_datadir}/services/ldifvcardthumbnail.desktop
+%{tde_datadir}/servicetypes/dcopaddressbook.desktop
+%{tde_datadir}/servicetypes/kaddressbook_contacteditorwidget.desktop
+%{tde_datadir}/servicetypes/kaddressbookimprotocol.desktop
+%{tde_datadir}/servicetypes/kaddressbook_extension.desktop
+%{tde_datadir}/servicetypes/kaddressbook_view.desktop
+%{tde_datadir}/servicetypes/kaddressbook_xxport.desktop
+%{tde_tdedocdir}/HTML/en/kaddressbook/
+%{tde_datadir}/autostart/tdeabcdistlistupdater.desktop
+%{tde_tdeincludedir}/kaddressbook/
+%{tde_tdeincludedir}/tdeabc/
+
+##########
+
+%package -n trinity-kaddressbook-devel
+Summary: Development files for trinity-kaddressbook
+Group: Development/Libraries/Other
+Requires: trinity-kaddressbook = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kaddressbook-devel
+%{summary}
+
+%files -n trinity-kaddressbook-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkabinterfaces.la
+%{tde_libdir}/libkabinterfaces.so
+%{tde_libdir}/libkaddressbook.la
+%{tde_libdir}/libkaddressbook.so
+
+##########
+
+%package -n trinity-kalarm
+Summary: Trinity alarm message, command and email scheduler
+Group: Applications/Communications
+Requires: trinity-libkpimidentities = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kalarm
+KAlarm provides a graphical interface to schedule personal timed events -
+pop-up alarm messages, command execution and sending emails. There is a
+range of options for configuring recurring events.
+
+A pop-up alarm can show either a simple text message, or the contents of a
+text or image file, It can optionally be spoken, or play a sound file. You
+can choose its appearance, and set reminders. Among KAlarm's other
+facilities, you can set up templates to allow KAlarm to be used as a 'tea
+timer'.
+
+As an alternative to using the graphical interface, alarms can be scheduled
+from the command line or via DCOP calls from other programs. KAlarm is
+TDE-based, but will also run on other desktops.
+
+%files -n trinity-kalarm
+%defattr(-,root,root,-)
+%{tde_bindir}/kalarm
+%{tde_bindir}/kalarmd
+%{tde_tdeappdir}/kalarm.desktop
+%{tde_datadir}/applnk/.hidden/kalarmd.desktop
+%{tde_datadir}/applnk/Applications/kalarm.desktop
+%{tde_datadir}/apps/kalarm
+%{tde_datadir}/autostart/kalarm.tray.desktop
+%{tde_datadir}/autostart/kalarmd.autostart.desktop
+%{tde_datadir}/icons/crystalsvg/*/actions/kalarm.png
+%{tde_datadir}/icons/hicolor/*/apps/kalarm.png
+%{tde_tdedocdir}/HTML/en/kalarm/
+
+##########
+
+%package -n trinity-kandy
+Summary: Trinity mobile phone utility
+Group: Applications/Communications
+
+%description -n trinity-kandy
+At the moment Kandy is more or less a terminal program with some special
+features to store commands and their parameters, but is also has a simple GUI
+to access the phone book of a mobile phone and it is able to save this phone
+book to the TDE address book.
+
+Kandy is aimed at mobile phones with integrated (GSM) modems.
+
+%files -n trinity-kandy
+%defattr(-,root,root,-)
+%{tde_bindir}/kandy
+%{tde_bindir}/kandy_client
+%{tde_tdeappdir}/kandy.desktop
+%{tde_datadir}/applnk/Utilities/kandy.desktop
+%{tde_datadir}/apps/kandy/
+%{tde_datadir}/icons/crystalsvg/*/apps/kandy.png
+%{tde_datadir}/icons/hicolor/*/apps/kandy.png
+%{tde_datadir}/config.kcfg/kandy.kcfg
+%{tde_tdedocdir}/HTML/en/kandy/
+
+##########
+
+%package -n trinity-karm
+Summary: Trinity time tracker tool
+Group: Applications/Productivity
+
+%description -n trinity-karm
+KArm is a time tracker for busy people who need to keep track of the amount of
+time they spend on various tasks.
+
+%files -n trinity-karm
+%defattr(-,root,root,-)
+%{tde_bindir}/karm
+%{tde_libdir}/libkarm.so.*
+%{tde_tdelibdir}/libkarmpart.la
+%{tde_tdelibdir}/libkarmpart.so
+%{tde_tdeappdir}/karm.desktop
+%{tde_datadir}/applnk/Utilities/karm.desktop
+%{tde_datadir}/apps/karm/
+%{tde_datadir}/apps/karmpart/
+%{tde_datadir}/icons/hicolor/*/apps/karm.png
+%{tde_datadir}/services/karm_part.desktop
+%{tde_datadir}/services/kontact/karmplugin.desktop
+%{tde_tdedocdir}/HTML/en/karm/
+
+##########
+
+%package -n trinity-karm-devel
+Summary: Development files for karm
+Group: Development/Libraries/Other
+
+%description -n trinity-karm-devel
+%{summary}
+
+%files -n trinity-karm-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkarm.so
+%{tde_libdir}/libkarm.la
+
+##########
+
+%package kfile-plugins
+Summary: TDE File dialog plugins for palm and vcf files
+Group: Environment/Libraries
+
+Obsoletes: tdepim-kfile-plugins < %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description kfile-plugins
+File dialog plugins for palm and vcf files.
+
+%files kfile-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/tdefile_ics.la
+%{tde_tdelibdir}/tdefile_ics.so
+%{tde_tdelibdir}/tdefile_vcf.la
+%{tde_tdelibdir}/tdefile_vcf.so
+%{tde_datadir}/services/tdefile_ics.desktop
+%{tde_datadir}/services/tdefile_vcf.desktop
+
+##########
+
+%package tdeio-plugins
+Summary: Trinity PIM I/O Slaves
+Group: Environment/Libraries
+
+Obsoletes: tdepim-kio-plugins < %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-tdepim-kio-plugins < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-tdepim-kio-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description tdeio-plugins
+This package includes the pim kioslaves. This includes imap4, sieve,
+and mbox.
+
+%files tdeio-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/tdeio_groupwise.la
+%{tde_tdelibdir}/tdeio_groupwise.so
+%{tde_tdelibdir}/tdeio_imap4.la
+%{tde_tdelibdir}/tdeio_imap4.so
+%{tde_tdelibdir}/tdeio_mbox.la
+%{tde_tdelibdir}/tdeio_mbox.so
+%{tde_tdelibdir}/tdeio_scalix.la
+%{tde_tdelibdir}/tdeio_scalix.so
+%{tde_tdelibdir}/tdeio_sieve.la
+%{tde_tdelibdir}/tdeio_sieve.so
+%{tde_datadir}/services/groupwise.protocol
+%{tde_datadir}/services/groupwises.protocol
+%{tde_datadir}/services/imap4.protocol
+%{tde_datadir}/services/imaps.protocol
+%{tde_datadir}/services/mbox.protocol
+%{tde_datadir}/services/scalix.protocol
+%{tde_datadir}/services/scalixs.protocol
+%{tde_datadir}/services/sieve.protocol
+%{tde_tdedocdir}/HTML/en/tdeioslave/groupwise/
+%{tde_tdedocdir}/HTML/en/tdeioslave/mbox/
+%{tde_tdedocdir}/HTML/en/tdeioslave/scalix/
+
+##########
+
+%package tderesources
+Summary: Trinity pim resource plugins
+Group: Environment/Libraries
+#Requires: trinity-kaddressbook = %{?epoch:%{epoch}:}%{version}-%{release}
+#Requires: trinity-korganizer = %{?epoch:%{epoch}:}%{version}-%{release}
+#Requires: trinity-knotes = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: libcaldav
+Requires: libcarddav
+
+Obsoletes: tdepim-kresources < %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-tdepim-kresources < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-tdepim-kresources = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description tderesources
+This package includes several plugins needed to interface with groupware
+servers. It also includes plugins for features such as blogging and
+tracking feature plans.
+
+%files tderesources
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcal_caldav.la
+%{tde_tdelibdir}/kcal_caldav.so
+%{tde_tdelibdir}/kcal_groupdav.la
+%{tde_tdelibdir}/kcal_groupdav.so
+%{tde_tdelibdir}/kcal_groupwise.la
+%{tde_tdelibdir}/kcal_groupwise.so
+%{tde_tdelibdir}/kcal_kolab.la
+%{tde_tdelibdir}/kcal_kolab.so
+%{tde_tdelibdir}/kcal_scalix.la
+%{tde_tdelibdir}/kcal_scalix.so
+%{tde_tdelibdir}/kcal_newexchange.la
+%{tde_tdelibdir}/kcal_newexchange.so
+%{tde_tdelibdir}/kcal_resourcefeatureplan.la
+%{tde_tdelibdir}/kcal_resourcefeatureplan.so
+%{tde_tdelibdir}/kcal_slox.la
+%{tde_tdelibdir}/kcal_slox.so
+%{tde_tdelibdir}/kcal_xmlrpc.la
+%{tde_tdelibdir}/kcal_xmlrpc.so
+%{tde_tdelibdir}/knotes_kolab.la
+%{tde_tdelibdir}/knotes_kolab.so
+%{tde_tdelibdir}/knotes_scalix.la
+%{tde_tdelibdir}/knotes_scalix.so
+%{tde_tdelibdir}/knotes_xmlrpc.la
+%{tde_tdelibdir}/knotes_xmlrpc.so
+%{tde_libdir}/libtdeabckolab.so.*
+%{tde_libdir}/libtdeabcscalix.so.*
+%{tde_libdir}/libtdeabc_groupdav.so.*
+%{tde_libdir}/libtdeabc_groupwise.so.*
+%{tde_libdir}/libtdeabc_newexchange.so.*
+%{tde_libdir}/libtdeabc_slox.so.*
+%{tde_libdir}/libtdeabc_xmlrpc.so.*
+%{tde_libdir}/libkcalkolab.so.*
+%{tde_libdir}/libkcalscalix.so.*
+%{tde_libdir}/libkcal_caldav.so.*
+%{tde_libdir}/libtdeabc_carddav.so.*
+%{tde_libdir}/libkcal_groupdav.so.*
+%{tde_libdir}/libkcal_groupwise.so.*
+%{tde_libdir}/libkcal_newexchange.so.*
+%{tde_libdir}/libkcal_resourcefeatureplan.so.*
+%{tde_libdir}/libkcal_slox.so.*
+%{tde_libdir}/libkcal_xmlrpc.so.*
+%{tde_libdir}/libkgroupwarebase.so.*
+%{tde_libdir}/libkgroupwaredav.so.*
+%{tde_libdir}/libknoteskolab.so.*
+%{tde_libdir}/libknotesscalix.so.*
+%{tde_libdir}/libknotes_xmlrpc.so.*
+%{tde_libdir}/libkslox.so.*
+%{tde_libdir}/libgwsoap.so.*
+%{tde_datadir}/services/tderesources/tdeabc/tdeabc_groupdav.desktop
+%{tde_datadir}/services/tderesources/tdeabc/tdeabc_groupwise.desktop
+%{tde_datadir}/services/tderesources/tdeabc/tdeabc_newexchange.desktop
+%{tde_datadir}/services/tderesources/tdeabc/tdeabc_opengroupware.desktop
+%{tde_datadir}/services/tderesources/tdeabc/tdeabc_ox.desktop
+%{tde_datadir}/services/tderesources/tdeabc/tdeabc_slox.desktop
+%{tde_datadir}/services/tderesources/tdeabc/tdeabc_xmlrpc.desktop
+%{tde_datadir}/services/tderesources/tdeabc/kolab.desktop
+%{tde_datadir}/services/tderesources/tdeabc/scalix.desktop
+%dir %{tde_datadir}/services/tderesources/kcal
+%{tde_datadir}/services/tderesources/kcal/exchange.desktop
+%{tde_datadir}/services/tderesources/kcal/kcal_caldav.desktop
+%{tde_datadir}/services/tderesources/tdeabc/tdeabc_carddav.desktop
+%{tde_datadir}/services/tderesources/kcal/kcal_groupdav.desktop
+%{tde_datadir}/services/tderesources/kcal/kcal_groupwise.desktop
+%{tde_datadir}/services/tderesources/kcal/kcal_newexchange.desktop
+%{tde_datadir}/services/tderesources/kcal/kcal_opengroupware.desktop
+%{tde_datadir}/services/tderesources/kcal/kcal_ox.desktop
+%{tde_datadir}/services/tderesources/kcal/kcal_resourcefeatureplan.desktop
+%{tde_datadir}/services/tderesources/kcal/kcal_slox.desktop
+%{tde_datadir}/services/tderesources/kcal/kcal_xmlrpc.desktop
+%{tde_datadir}/services/tderesources/kcal/kolab.desktop
+%{tde_datadir}/services/tderesources/kcal/scalix.desktop
+%dir %{tde_datadir}/services/tderesources/knotes
+%{tde_datadir}/services/tderesources/knotes/knotes_xmlrpc.desktop
+%{tde_datadir}/services/tderesources/knotes/kolabresource.desktop
+%{tde_datadir}/services/tderesources/knotes/scalix.desktop
+
+%{tde_datadir}/apps/tdeconf_update/upgrade-resourcetype.pl
+%{tde_datadir}/apps/tdeconf_update/kolab-resource.upd
+
+%{tde_tdelibdir}/tdeabc_carddav.la
+%{tde_tdelibdir}/tdeabc_carddav.so
+%{tde_tdelibdir}/tdeabc_groupdav.la
+%{tde_tdelibdir}/tdeabc_groupdav.so
+%{tde_tdelibdir}/tdeabc_groupwise.la
+%{tde_tdelibdir}/tdeabc_groupwise.so
+%{tde_tdelibdir}/tdeabc_kolab.la
+%{tde_tdelibdir}/tdeabc_kolab.so
+%{tde_tdelibdir}/tdeabc_newexchange.la
+%{tde_tdelibdir}/tdeabc_newexchange.so
+%{tde_tdelibdir}/tdeabc_scalix.la
+%{tde_tdelibdir}/tdeabc_scalix.so
+%{tde_tdelibdir}/tdeabc_slox.la
+%{tde_tdelibdir}/tdeabc_slox.so
+%{tde_tdelibdir}/tdeabc_xmlrpc.la
+%{tde_tdelibdir}/tdeabc_xmlrpc.so
+
+##########
+
+%package tderesources-devel
+Summary: Development files for tderesources
+Group: Development/Libraries/Other
+Requires: %{name}-tderesources = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: libcaldav
+Requires: libcarddav
+
+Obsoletes: tdepim-tderesources-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-tdepim-kresources-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-tdepim-kresources-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description tderesources-devel
+%{summary}
+
+%files tderesources-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkslox.la
+%{tde_libdir}/libkslox.so
+%{tde_libdir}/libtdeabc_groupdav.la
+%{tde_libdir}/libtdeabc_groupdav.so
+%{tde_libdir}/libtdeabc_groupwise.la
+%{tde_libdir}/libtdeabc_groupwise.so
+%{tde_libdir}/libgwsoap.la
+%{tde_libdir}/libgwsoap.so
+%{tde_libdir}/libtdeabc_carddav.la
+%{tde_libdir}/libtdeabc_carddav.so
+%{tde_libdir}/libtdeabc_newexchange.la
+%{tde_libdir}/libtdeabc_newexchange.so
+%{tde_libdir}/libtdeabc_slox.la
+%{tde_libdir}/libtdeabc_slox.so
+%{tde_libdir}/libtdeabc_xmlrpc.la
+%{tde_libdir}/libtdeabc_xmlrpc.so
+%{tde_libdir}/libtdeabckolab.la
+%{tde_libdir}/libtdeabckolab.so
+%{tde_libdir}/libtdeabcscalix.la
+%{tde_libdir}/libtdeabcscalix.so
+%{tde_libdir}/libkcal_caldav.la
+%{tde_libdir}/libkcal_caldav.so
+%{tde_libdir}/libkcal_groupdav.la
+%{tde_libdir}/libkcal_groupdav.so
+%{tde_libdir}/libkcal_groupwise.la
+%{tde_libdir}/libkcal_groupwise.so
+%{tde_libdir}/libkcal_newexchange.la
+%{tde_libdir}/libkcal_newexchange.so
+%{tde_libdir}/libkcal_resourcefeatureplan.la
+%{tde_libdir}/libkcal_resourcefeatureplan.so
+%{tde_libdir}/libkcal_slox.la
+%{tde_libdir}/libkcal_slox.so
+%{tde_libdir}/libkcal_xmlrpc.la
+%{tde_libdir}/libkcal_xmlrpc.so
+%{tde_libdir}/libkcalkolab.la
+%{tde_libdir}/libkcalkolab.so
+%{tde_libdir}/libkcalscalix.la
+%{tde_libdir}/libkcalscalix.so
+%{tde_libdir}/libkgroupwarebase.la
+%{tde_libdir}/libkgroupwarebase.so
+%{tde_libdir}/libkgroupwaredav.la
+%{tde_libdir}/libkgroupwaredav.so
+%{tde_libdir}/libknotes_xmlrpc.la
+%{tde_libdir}/libknotes_xmlrpc.so
+%{tde_libdir}/libknoteskolab.la
+%{tde_libdir}/libknoteskolab.so
+%{tde_libdir}/libknotesscalix.la
+%{tde_libdir}/libknotesscalix.so
+%{tde_tdeincludedir}/kpimprefs.h
+
+##########
+
+%package wizards
+Summary: Trinity server configuration wizards
+Group: Applications/Communications
+
+Obsoletes: tdepim-wizards < %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description wizards
+This package contains TDE-based wizards for configuring eGroupware,
+Kolab, and SUSE Linux Openexchange servers.
+
+%files wizards
+%defattr(-,root,root,-)
+%{tde_bindir}/egroupwarewizard
+%{tde_bindir}/exchangewizard
+%{tde_bindir}/groupwarewizard
+%{tde_bindir}/groupwisewizard
+%{tde_bindir}/kolabwizard
+%{tde_bindir}/scalixadmin
+%{tde_bindir}/scalixwizard
+%{tde_bindir}/sloxwizard
+%{tde_tdelibdir}/libegroupwarewizard.la
+%{tde_tdelibdir}/libegroupwarewizard.so
+%{tde_tdelibdir}/libexchangewizard.la
+%{tde_tdelibdir}/libexchangewizard.so
+%{tde_tdelibdir}/libgroupwisewizard.la
+%{tde_tdelibdir}/libgroupwisewizard.so
+%{tde_tdelibdir}/libkolabwizard.la
+%{tde_tdelibdir}/libkolabwizard.so
+%{tde_tdelibdir}/libscalixwizard.la
+%{tde_tdelibdir}/libscalixwizard.so
+%{tde_tdelibdir}/libsloxwizard.la
+%{tde_tdelibdir}/libsloxwizard.so
+%{tde_tdeappdir}/groupwarewizard.desktop
+%{tde_datadir}/config.kcfg/egroupware.kcfg
+%{tde_datadir}/config.kcfg/groupwise.kcfg
+%{tde_datadir}/config.kcfg/kolab.kcfg
+%{tde_datadir}/config.kcfg/scalix.kcfg
+%{tde_datadir}/config.kcfg/slox.kcfg
+
+##########
+
+%if 0%{?with_kitchensync}
+%package -n trinity-kitchensync
+Summary: Synchronization framework
+Group: Applications/Communications
+BuildRequires: opensync-devel
+#Suggests: konqueror-trinity
+#Conflicts: kdebluetooth-irmcsync-trinity (<< 0.99+1.0beta2-4.1), ksync-trinity
+
+%description -n trinity-kitchensync
+This package contains a synchronization framework, still under heavy
+development (?). Kitchensync uses opensync.
+
+%files -n trinity-kitchensync
+%defattr(-,root,root,-)
+%{tde_bindir}/kitchensync
+%{tde_tdelibdir}/libkitchensyncpart.la
+%{tde_tdelibdir}/libkitchensyncpart.so
+%{tde_datadir}/apps/kitchensync
+%{tde_libdir}/libkitchensync.so.*
+%{tde_libdir}/libqopensync.so.*
+%{tde_tdeappdir}/kitchensync.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kitchensync.png
+%endif
+
+##########
+
+%package -n trinity-kleopatra
+Summary: Trinity Certificate Manager
+Group: Applications/Communications
+
+# GPG support
+%if 0%{?suse_version}
+Requires: gpg2
+%endif
+%if 0%{?rhel} == 4
+Requires: gnupg
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
+Requires: gnupg2
+%endif
+
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+Requires: pinentry
+Requires: dirmngr
+%endif
+
+%description -n trinity-kleopatra
+Kleopatra is the TDE tool for managing X.509 certificates in the gpgsm
+keybox and for retrieving certificates from LDAP servers.
+
+%files -n trinity-kleopatra
+%defattr(-,root,root,-)
+%{tde_bindir}/kleopatra
+%{tde_bindir}/kwatchgnupg
+%{tde_tdelibdir}/kcm_kleopatra.la
+%{tde_tdelibdir}/kcm_kleopatra.so
+%{tde_tdeappdir}/kleopatra_import.desktop
+%{tde_datadir}/apps/kleopatra
+%{tde_datadir}/apps/kwatchgnupg
+%{tde_datadir}/services/kleopatra_config_*.desktop
+%{tde_tdeappdir}/kleopatra.desktop
+%{tde_tdedocdir}/HTML/en/kleopatra/
+%{tde_tdedocdir}/HTML/en/kwatchgnupg/
+%{tde_datadir}/icons/hicolor/*/apps/kleopatra.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kleopatra.svgz
+
+##########
+
+%package -n trinity-kmail
+Summary: Trinity Email client
+Group: Applications/Communications
+Requires: %{name}-tdeio-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdebase-tdeio-pim-plugins >= %{tde_version}
+
+# GPG support
+%if 0%{?suse_version}
+Requires: gpg2
+%endif
+%if 0%{?rhel} == 4
+Requires: gnupg
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
+Requires: gnupg2
+%endif
+
+# Pinentry
+%if 0%{?suse_version} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
+Requires: pinentry
+%endif
+
+Requires: procmail
+Requires: trinity-kaddressbook = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kleopatra = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdebase-tdeio-pim-plugins >= %{tde_version}
+
+Provides: imap-client, mail-reader
+
+%description -n trinity-kmail
+KMail is a fully-featured email client that fits nicely into the TDE
+desktop. It has features such as support for IMAP, POP3, multiple accounts,
+mail filtering and sorting, PGP/GnuPG privacy, and inline attachments.
+
+You need to install %{name}-tdeio-plugins if you want to use IMAP or
+mbox files, and/or trinity-tdebase-tdeio-plugins if you want to use POP3.
+
+%files -n trinity-kmail
+%defattr(-,root,root,-)
+%config(noreplace) %{tde_confdir}/kmail.antispamrc
+%config(noreplace) %{tde_confdir}/kmail.antivirusrc
+%{tde_bindir}/kmail
+%{tde_bindir}/kmail_*.sh
+%{tde_tdelibdir}/kcm_kmail.la
+%{tde_tdelibdir}/kcm_kmail.so
+%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.la
+%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.so
+%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.la
+%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.so
+%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.la
+%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.so
+%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.la
+%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.so
+%{tde_tdelibdir}/libkmailpart.la
+%{tde_tdelibdir}/libkmailpart.so
+%{tde_tdeappdir}/KMail.desktop
+%{tde_tdeappdir}/kmail_view.desktop
+%{tde_datadir}/apps/tdeconf_update/kmail-3.1-update-new-mail-notification-settings.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.1-use-UOID-for-identities.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.1.4-dont-use-UOID-0-for-any-identity.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.2-misc.sh
+%{tde_datadir}/apps/tdeconf_update/kmail-3.2-update-loop-on-goto-unread-settings.sh
+%{tde_datadir}/apps/tdeconf_update/kmail-3.3-aegypten.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.3-misc.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.3-move-identities.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.3-split-sign-encr-keys.sh
+%{tde_datadir}/apps/tdeconf_update/kmail-3.3-use-ID-for-accounts.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.3b1-misc.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.4-misc.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.4.1-update-status-filters.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.5-trigger-flag-migration.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.5-filter-icons.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-pgpidentity.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-upd-identities.pl
+%{tde_datadir}/apps/tdeconf_update/kmail.upd
+%{tde_datadir}/apps/tdeconf_update/upgrade-signature.pl
+%{tde_datadir}/apps/tdeconf_update/upgrade-transport.pl
+%{tde_datadir}/apps/kmail
+%{tde_datadir}/apps/konqueror/servicemenus/email.desktop
+%{tde_datadir}/config.kcfg/custommimeheader.kcfg
+%{tde_datadir}/config.kcfg/kmail.kcfg
+%{tde_datadir}/config.kcfg/customtemplates_kfg.kcfg
+%{tde_datadir}/config.kcfg/replyphrases.kcfg
+%{tde_datadir}/config.kcfg/templatesconfiguration_kfg.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/kmaillight.png
+%{tde_datadir}/icons/hicolor/*/apps/kmail.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kmail.svgz
+%{tde_datadir}/services/kmail_config_*.desktop
+%{tde_datadir}/services/kontact/kmailplugin.desktop
+%{tde_datadir}/servicetypes/dcopimap.desktop
+%{tde_datadir}/servicetypes/dcopmail.desktop
+# 'libkmailprivate.so' is required at runtime, not devel !
+%{tde_libdir}/libkmailprivate.so
+%{tde_libdir}/libkmailprivate.la
+%{tde_tdedocdir}/HTML/en/kmail/
+
+##########
+
+%package -n trinity-kmail-devel
+Summary: Development files for kmail
+Group: Development/Libraries/Other
+
+%description -n trinity-kmail-devel
+%{summary}
+
+%files -n trinity-kmail-devel
+%defattr(-,root,root,-)
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kmail/
+%{tde_tdeincludedir}/kmail*.h
+
+##########
+
+%package -n trinity-kmailcvt
+Summary: Trinity KMail mail folder converter
+Group: Applications/Communications
+Requires: trinity-kmail = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kmailcvt
+Converts mail folders to KMail format. Formats supported for import
+include Outlook Express, Evolution, and plain mbox.
+
+%files -n trinity-kmailcvt
+%defattr(-,root,root,-)
+%{tde_bindir}/kmailcvt
+%{tde_datadir}/applnk/Utilities/kmailcvt.desktop
+%{tde_datadir}/apps/kmailcvt
+%{tde_datadir}/icons/crystalsvg/*/apps/kmailcvt.png
+
+##########
+
+%package -n trinity-knode
+Summary: Trinity news reader
+Group: Applications/Internet
+
+%description -n trinity-knode
+KNode is an easy-to-use, convenient newsreader. It is intended to be usable
+by inexperienced users, but also includes support for such features as
+MIME attachments, article scoring, and creating and verifying GnuPG
+signatures.
+
+%files -n trinity-knode
+%defattr(-,root,root,-)
+%{tde_bindir}/knode
+%{tde_tdelibdir}/kcm_knode.la
+%{tde_tdelibdir}/kcm_knode.so
+%{tde_tdelibdir}/libknodepart.la
+%{tde_tdelibdir}/libknodepart.so
+%{tde_libdir}/libknodecommon.so.*
+%{tde_tdeappdir}/KNode.desktop
+%{tde_datadir}/apps/knode/
+%{tde_datadir}/icons/hicolor/*/apps/knode.png
+%{tde_datadir}/icons/hicolor/*/apps/knode2.png
+%{tde_datadir}/services/knewsservice.protocol
+%{tde_datadir}/services/knode_config_*.desktop
+%{tde_datadir}/services/kontact/knodeplugin.desktop
+%{tde_tdedocdir}/HTML/en/knode/
+
+##########
+
+%package -n trinity-knode-devel
+Summary: Development files for trinity-knode
+Group: Development/Libraries/Other
+Requires: trinity-knode = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-knode-devel
+%{summary}
+
+%files -n trinity-knode-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libknodecommon.la
+%{tde_libdir}/libknodecommon.so
+
+##########
+
+%package -n trinity-knotes
+Summary: Trinity sticky notes
+Group: Applications/Utilities
+Requires: trinity-tdepim-tderesources = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-knotes
+KNotes is a program that lets you write sticky notes. The notes are saved
+automatically when you exit the program, and they display when you open the
+program. The program supports printing and mailing your notes.
+
+%files -n trinity-knotes
+%defattr(-,root,root,-)
+%{tde_bindir}/knotes
+%{tde_tdelibdir}/knotes_local.la
+%{tde_tdelibdir}/knotes_local.so
+%{tde_libdir}/libknotes.so.*
+%{tde_tdeappdir}/knotes.desktop
+%{tde_datadir}/apps/knotes/
+%{tde_datadir}/config.kcfg/knoteconfig.kcfg
+%{tde_datadir}/config.kcfg/knotesglobalconfig.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/knotes.png
+%{tde_datadir}/services/tderesources/knotes/imap.desktop
+%{tde_datadir}/services/tderesources/knotes/local.desktop
+%{tde_datadir}/services/tderesources/knotes_manager.desktop
+%{tde_datadir}/services/kontact/knotesplugin.desktop
+%{tde_tdedocdir}/HTML/en/knotes/
+
+##########
+
+%package -n trinity-knotes-devel
+Summary: Development files for knots
+Group: Development/Libraries/Other
+Requires: trinity-knotes = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-tderesources-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-knotes-devel
+%{summary}
+
+%files -n trinity-knotes-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libknotes.so
+%{tde_libdir}/libknotes.la
+%{tde_tdeincludedir}/KNotesAppIface.h
+%{tde_tdeincludedir}/KNotesIface.h
+
+##########
+
+%package -n trinity-kode
+Summary: Helper library for programmatic generation of C++ code
+Group: Development/Libraries
+
+%description -n trinity-kode
+This package includes a program kode for generation of C++ template files
+and kxml_compiler for generation of C++ classes representing XML data
+described by RelaxNG schemes.
+
+%files -n trinity-kode
+%defattr(-,root,root,-)
+%{tde_bindir}/kode
+%{tde_bindir}/kxml_compiler
+%{tde_libdir}/libkode.so.*
+
+##########
+
+%package -n trinity-kode-devel
+Summary: Development files for trinity-kode
+Group: Development/Libraries/Other
+Requires: trinity-kode = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kode-devel
+%{summary}
+
+%files -n trinity-kode-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkode.la
+%{tde_libdir}/libkode.so
+
+##########
+
+%package -n trinity-konsolekalendar
+Summary: Trinity konsole personal organizer
+Group: Applications/Productivity
+
+%description -n trinity-konsolekalendar
+KonsoleKalendar is a command-line interface to TDE calendars.
+Konsolekalendar complements the TDE KOrganizer by providing a console
+frontend to manage your calendars.
+
+%files -n trinity-konsolekalendar
+%defattr(-,root,root,-)
+%{tde_bindir}/konsolekalendar
+%{tde_tdeappdir}/konsolekalendar.desktop
+%{tde_datadir}/icons/crystalsvg/*/apps/konsolekalendar.png
+%{tde_tdedocdir}/HTML/en/konsolekalendar/
+
+##########
+
+%package -n trinity-kontact
+Summary: Trinity pim application
+Group: Applications/Communications
+Requires: trinity-kmail = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-korganizer = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kaddressbook = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-knode = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-knotes = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-akregator = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kontact
+Kontact is the integrated solution to your personal information management
+needs. It combines TDE applications like KMail, KOrganizer, and
+KAddressBook into a single interface to provide easy access to mail,
+scheduling, address book and other PIM functionality.
+
+%files -n trinity-kontact
+%defattr(-,root,root,-)
+%{tde_bindir}/kontact
+%{tde_tdelibdir}/kcm_kmailsummary.la
+%{tde_tdelibdir}/kcm_kmailsummary.so
+%{tde_tdelibdir}/kcm_kontact.la
+%{tde_tdelibdir}/kcm_kontact.so
+%{tde_tdelibdir}/kcm_kontactknt.la
+%{tde_tdelibdir}/kcm_kontactknt.so
+%{tde_tdelibdir}/kcm_kontactsummary.la
+%{tde_tdelibdir}/kcm_kontactsummary.so
+%{tde_tdelibdir}/kcm_korgsummary.la
+%{tde_tdelibdir}/kcm_korgsummary.so
+%{tde_tdelibdir}/kcm_sdsummary.la
+%{tde_tdelibdir}/kcm_sdsummary.so
+%{tde_tdelibdir}/libkontact_*.la
+%{tde_tdelibdir}/libkontact_*.so
+%{tde_libdir}/libkontact.so.*
+%{tde_libdir}/libkpinterfaces.so.*
+%{tde_tdeappdir}/Kontact.desktop
+%{tde_tdeappdir}/kontactdcop.desktop
+%{tde_datadir}/apps/kontact/
+%{tde_datadir}/apps/kontactsummary/
+%{tde_datadir}/config.kcfg/kontact.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kontact.png
+%{tde_datadir}/icons/crystalsvg/*/actions/kontact_*.png
+%{tde_datadir}/services/kcmkmailsummary.desktop
+%{tde_datadir}/services/kcmkontactknt.desktop
+%{tde_datadir}/services/kcmkontactsummary.desktop
+%{tde_datadir}/services/kcmkorgsummary.desktop
+%{tde_datadir}/services/kcmsdsummary.desktop
+%dir %{tde_datadir}/services/kontact
+%{tde_datadir}/services/kontact/newstickerplugin.desktop
+%{tde_datadir}/services/kontact/specialdatesplugin.desktop
+%{tde_datadir}/services/kontact/summaryplugin.desktop
+%{tde_datadir}/services/kontact/weatherplugin.desktop
+%{tde_datadir}/services/kontactconfig.desktop
+%{tde_datadir}/servicetypes/kontactplugin.desktop
+%{tde_tdedocdir}/HTML/en/kontact/
+
+##########
+
+%package -n trinity-kontact-devel
+Summary: Development files for kontact
+Group: Development/Libraries/Other
+Requires: trinity-kontact = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kontact-devel
+%{summary}
+
+%files -n trinity-kontact-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkontact.la
+%{tde_libdir}/libkontact.so
+%{tde_libdir}/libkpinterfaces.la
+%{tde_libdir}/libkpinterfaces.so
+%{tde_tdeincludedir}/kontact/
+
+##########
+
+%package -n trinity-korganizer
+Summary: Trinity personal organizer
+Group: Applications/Productivity
+Requires: trinity-libkpimidentities = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkpimexchange = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-tderesources = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: perl
+
+%description -n trinity-korganizer
+This package contains KOrganizer, a calendar and scheduling program.
+
+KOrganizer aims to be a complete program for organizing appointments,
+contacts, projects, etc. KOrganizer natively supports information interchange
+with other calendar applications, through the industry standard vCalendar
+personal data interchange file format. This eases the move from other
+modern PIMs to KOrganizer.
+
+KOrganizer offers full synchronization with Palm Pilots, if kpilot is
+installed.
+
+%files -n trinity-korganizer
+%defattr(-,root,root,-)
+%{tde_bindir}/ical2vcal
+%{tde_bindir}/korgac
+%{tde_bindir}/korganizer
+%{tde_tdelibdir}/kcm_korganizer.la
+%{tde_tdelibdir}/kcm_korganizer.so
+%{tde_tdelibdir}/libkorg_*.la
+%{tde_tdelibdir}/libkorg_*.so
+%{tde_tdelibdir}/libkorganizerpart.la
+%{tde_tdelibdir}/libkorganizerpart.so
+%{tde_libdir}/libkocorehelper.so.*
+%{tde_libdir}/libkorg_stdprinting.so.*
+%{tde_libdir}/libkorganizer.so.*
+%{tde_libdir}/libkorganizer_calendar.so.*
+%{tde_libdir}/libkorganizer_eventviewer.so.*
+%{tde_tdeappdir}/korganizer.desktop
+%{tde_datadir}/apps/tdeconf_update/korganizer.upd
+%{tde_datadir}/apps/korgac/
+%{tde_datadir}/apps/korganizer/
+%{tde_datadir}/autostart/korgac.desktop
+%{tde_datadir}/config.kcfg/korganizer.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/korganizer.png
+%dir %{tde_datadir}/services/kontact
+%{tde_datadir}/services/kontact/korganizerplugin.desktop
+%{tde_datadir}/services/kontact/journalplugin.desktop
+%{tde_datadir}/services/kontact/todoplugin.desktop
+%{tde_datadir}/services/korganizer_*.desktop
+%{tde_datadir}/services/korganizer
+%{tde_datadir}/services/webcal.protocol
+%{tde_datadir}/servicetypes/calendardecoration.desktop
+%{tde_datadir}/servicetypes/calendarplugin.desktop
+%{tde_datadir}/servicetypes/dcopcalendar.desktop
+%{tde_datadir}/servicetypes/korganizerpart.desktop
+%{tde_datadir}/servicetypes/korgprintplugin.desktop
+%{tde_tdedocdir}/HTML/en/korganizer/
+%{tde_tdedocdir}/HTML/en/tdeioslave/webcal/
+
+##########
+
+%package -n trinity-korganizer-devel
+Summary: Development files for korganizer
+Group: Development/Libraries/Other
+Requires: trinity-korganizer = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-korganizer-devel
+%{summary}
+
+%files -n trinity-korganizer-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/korganizer/
+%{tde_tdeincludedir}/calendar/
+%{tde_libdir}/libkocorehelper.la
+%{tde_libdir}/libkocorehelper.so
+%{tde_libdir}/libkorg_stdprinting.la
+%{tde_libdir}/libkorg_stdprinting.so
+%{tde_libdir}/libkorganizer.la
+%{tde_libdir}/libkorganizer.so
+%{tde_libdir}/libkorganizer_calendar.la
+%{tde_libdir}/libkorganizer_calendar.so
+%{tde_libdir}/libkorganizer_eventviewer.la
+%{tde_libdir}/libkorganizer_eventviewer.so
+
+##########
+
+%package -n trinity-korn
+Summary: Trinity mail checker
+Group: Applications/Communications
+Requires: %{name}-tdeio-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-korn
+Korn is a TDE mail checker that can display a small summary in the Kicker
+tray. It supports checking mbox, pop3, imap4, and nntp sources.
+
+Once mail is received you can have Korn run a third party program or change
+the color/icon of the Kicker display. In addition to this you can have
+Korn run a program once you click on the docked icon in Kicker.
+
+%files -n trinity-korn
+%defattr(-,root,root,-)
+%{tde_bindir}/korn
+%{tde_libdir}/tdeconf_update_bin/korn-3-4-config_change
+%{tde_tdeappdir}/KOrn.desktop
+%{tde_datadir}/apps/tdeconf_update/korn-3-4-config_change.upd
+%{tde_datadir}/apps/tdeconf_update/korn-3-5-metadata-update.pl
+%{tde_datadir}/apps/tdeconf_update/korn-3-5-ssl-update.pl
+%{tde_datadir}/apps/tdeconf_update/korn-3-5-update.upd
+%{tde_datadir}/icons/hicolor/*/apps/korn.png
+%{tde_tdedocdir}/HTML/en/korn/
+
+##########
+
+%package -n trinity-ktnef
+Summary: Trinity TNEF viewer
+Group: Applications/Communications
+
+%description -n trinity-ktnef
+The TNEF File Viewer allows you to handle mail attachments using the TNEF
+format. These attachments are usually found in mails coming from Microsoft
+mail servers and embed the mail properties as well as the actual attachments.
+
+%files -n trinity-ktnef
+%defattr(-,root,root,-)
+%{tde_bindir}/ktnef
+%{tde_tdeappdir}/ktnef.desktop
+%{tde_datadir}/apps/ktnef
+%{tde_datadir}/icons/hicolor/*/apps/ktnef.png
+%{tde_datadir}/icons/locolor/*/apps/ktnef.png
+%{tde_datadir}/mimelnk/application/ms-tnef.desktop
+%{tde_tdedocdir}/HTML/en/ktnef/
+
+##########
+
+%package -n trinity-libindex
+Summary: Trinity indexing library
+Group: Environment/Libraries
+
+%description -n trinity-libindex
+This library provides text indexing and is currently used by KMail
+to implement fast searches in mail bodies.
+
+This is the runtime package for programs that use the libindex library.
+
+%files -n trinity-libindex
+%defattr(-,root,root,-)
+%{tde_libdir}/libindex.so.*
+
+##########
+
+%package -n trinity-libindex-devel
+Summary: Trinity indexing library [development]
+Group: Development/Libraries/Other
+Requires: trinity-libindex = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libindex-devel
+This library provides text indexing and is currently used by KMail
+to implement searching through mail text.
+
+This is the development package which contains the headers for the libindex-trinity
+library.
+
+%files -n trinity-libindex-devel
+%defattr(-,root,root,-)
+%{tde_bindir}/indexlib-config
+%{tde_tdeincludedir}/index
+%{tde_libdir}/libindex.la
+%{tde_libdir}/libindex.so
+
+##########
+
+%package -n trinity-libkcal
+Summary: Trinity calendaring library
+Group: Environment/Libraries
+#Requires: %{name}-tderesources = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkmime = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libkcal
+This library provides a C++ API for handling the vCalendar and iCalendar
+formats.
+
+This is the runtime package for programs that use the libkcal-trinity library.
+
+%files -n trinity-libkcal
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcal_tdeabc.la
+%{tde_tdelibdir}/kcal_tdeabc.so
+%{tde_tdelibdir}/kcal_localdir.la
+%{tde_tdelibdir}/kcal_localdir.so
+%{tde_tdelibdir}/kcal_local.la
+%{tde_tdelibdir}/kcal_local.so
+%{tde_tdelibdir}/kcal_remote.la
+%{tde_tdelibdir}/kcal_remote.so
+%{tde_libdir}/libkcal.so.*
+%{tde_libdir}/libkcal_resourceremote.so.*
+%{tde_libdir}/libkholidays.so.*
+%{tde_datadir}/apps/libkholidays/
+%dir %{tde_datadir}/services/tderesources/kcal
+%{tde_datadir}/services/tderesources/kcal/imap.desktop
+%{tde_datadir}/services/tderesources/kcal/tdeabc.desktop
+%{tde_datadir}/services/tderesources/kcal/local.desktop
+%{tde_datadir}/services/tderesources/kcal/localdir.desktop
+%{tde_datadir}/services/tderesources/kcal/remote.desktop
+%{tde_datadir}/services/tderesources/kcal_manager.desktop
+
+##########
+
+%package -n trinity-libkcal-devel
+Summary: Trinity calendaring library [development]
+Group: Development/Libraries/Other
+Requires: trinity-libkcal = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libtdepim-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libktnef-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libkcal-devel
+This library provides a C++ API for handling the vCalendar and iCalendar
+formats.
+
+This is the development package which contains the headers for the libkcal-trinity
+library.
+
+%files -n trinity-libkcal-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/libemailfunctions/
+%{tde_tdeincludedir}/libkcal
+%{tde_libdir}/libkcal.la
+%{tde_libdir}/libkcal.so
+%{tde_libdir}/libkcal_resourceremote.la
+%{tde_libdir}/libkcal_resourceremote.so
+%{tde_libdir}/libkholidays.la
+%{tde_libdir}/libkholidays.so
+
+##########
+
+%package -n trinity-libtdepim
+Summary: Trinity PIM library
+Group: Environment/Libraries
+Requires: trinity-libkcal = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libktnef = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Obsoletes: libtdepim < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: libtdepim = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libtdepim
+This is the runtime package for programs that use the trinity-libtdepim library.
+
+%files -n trinity-libtdepim
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/plugins/designer/tdepimwidgets.la
+%{tde_tdelibdir}/plugins/designer/tdepimwidgets.so
+%{tde_tdelibdir}/plugins/designer/tdepartsdesignerplugin.la
+%{tde_tdelibdir}/plugins/designer/tdepartsdesignerplugin.so
+%{tde_libdir}/libtdepim.so.*
+%{tde_datadir}/apps/tdepimwidgets
+%{tde_datadir}/apps/libtdepim
+%{tde_datadir}/apps/tdepim
+%{tde_datadir}/config.kcfg/pimemoticons.kcfg
+%{tde_datadir}/icons/crystalsvg/22x22/actions/button_fewer.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/button_more.png
+
+##########
+
+%package -n trinity-libtdepim-devel
+Summary: Trinity PIM library [development]
+Group: Development/Libraries/Other
+Requires: trinity-libtdepim = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdelibs-devel >= %{version}
+
+Obsoletes: libtdepim-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: libtdepim-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libtdepim-devel
+This is the development package which contains the headers for the libtdepim-trinity
+library.
+
+%files -n trinity-libtdepim-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libtdepim.la
+%{tde_libdir}/libtdepim.so
+
+##########
+
+%package -n trinity-libkgantt
+Summary: Trinity gantt charting library
+Group: Environment/Libraries
+
+%description -n trinity-libkgantt
+This is the runtime package for programs that use the libkgantt-trinity library.
+
+%files -n trinity-libkgantt
+%defattr(-,root,root,-)
+%{tde_libdir}/libkgantt.so.*
+%{tde_datadir}/apps/kgantt
+
+##########
+
+%package -n trinity-libkgantt-devel
+Summary: Trinity gantt charting library [development]
+Group: Development/Libraries/Other
+Requires: trinity-libkgantt = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libtdepim-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libkgantt-devel
+This is the development package which contains the headers for the libkgantt-trinity
+library.
+
+%files -n trinity-libkgantt-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kgantt
+%{tde_libdir}/libkgantt.la
+%{tde_libdir}/libkgantt.so
+
+##########
+
+%package -n trinity-libkleopatra
+Summary: TDE GnuPG interface libraries
+Group: Environment/Libraries
+Requires: gnupg
+
+%description -n trinity-libkleopatra
+This library is used by several TDE applications to interface to the
+GnuPG program.
+
+This is the runtime package for programs that use the libkleopatra-trinity library.
+
+%files -n trinity-libkleopatra
+%defattr(-,root,root,-)
+%config(noreplace) %{tde_confdir}/libkleopatrarc
+%{tde_libdir}/libgpgme++.so.*
+%{tde_libdir}/libkleopatra.so.*
+%{tde_libdir}/libkpgp.so.*
+%{tde_libdir}/libqgpgme.so.*
+%{tde_datadir}/apps/tdeconf_update/kpgp-3.1-upgrade-address-data.pl
+%{tde_datadir}/apps/tdeconf_update/kpgp.upd
+%{tde_datadir}/apps/libkleopatra/
+%{tde_datadir}/icons/crystalsvg/*/apps/dirmngr.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gpg.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gpg_agent.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gpgsm.png
+%{tde_datadir}/icons/crystalsvg/*/apps/pinentry.png
+%{tde_datadir}/icons/crystalsvg/*/apps/scdaemon.png
+
+##########
+
+%package -n trinity-libkleopatra-devel
+Summary: Trinity GnuPG interface libraries [development]
+Group: Development/Libraries/Other
+Requires: trinity-libkleopatra = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libtdepim-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libkleopatra-devel
+This library is used by several TDE applications to interface to the
+GnuPG program.
+
+This is the development package which contains the headers for the
+libkleopatra-trinity library.
+
+%files -n trinity-libkleopatra-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/gpgme++/
+%{tde_tdeincludedir}/kleo/
+%{tde_tdeincludedir}/qgpgme/
+%{tde_libdir}/libgpgme++.la
+%{tde_libdir}/libgpgme++.so
+%{tde_libdir}/libkleopatra.la
+%{tde_libdir}/libkleopatra.so
+%{tde_libdir}/libkpgp.la
+%{tde_libdir}/libkpgp.so
+%{tde_libdir}/libqgpgme.la
+%{tde_libdir}/libqgpgme.so
+
+##########
+
+%package -n trinity-libkmime
+Summary: Trinity MIME interface library
+Group: Environment/Libraries
+#Conflicts: trinity-libmimelib
+
+%description -n trinity-libkmime
+This library provides a C++ interface to MIME messages, parsing them into
+an object tree.
+
+%files -n trinity-libkmime
+%defattr(-,root,root,-)
+%{tde_libdir}/libkmime.so.*
+
+##########
+
+%package -n trinity-libkmime-devel
+Summary: Development files for libkmime
+Group: Development/Libraries/Other
+Requires: trinity-libkmime = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libkmime-devel
+%{summary}
+
+%files -n trinity-libkmime-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkmime.la
+%{tde_libdir}/libkmime.so
+
+##########
+
+%package -n trinity-libkpimexchange
+Summary: Trinity PIM Exchange library
+Group: Development/Libraries/Other
+
+%description -n trinity-libkpimexchange
+This is the runtime package for programs that use the libkpimexchange-trinity
+library.
+
+%files -n trinity-libkpimexchange
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/resourcecalendarexchange.la
+%{tde_tdelibdir}/resourcecalendarexchange.so
+%{tde_libdir}/libkpimexchange.so.*
+
+##########
+
+%package -n trinity-libkpimexchange-devel
+Summary: Trinity PIM Exchange library [development]
+Group: Development/Libraries/Other
+Requires: trinity-libkpimexchange = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libkcal-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libtdepim-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libkpimexchange-devel
+This is the development package which contains the headers for the
+libkpimexchange-trinity library.
+
+%files -n trinity-libkpimexchange-devel
+%defattr(-,root,root,-)
+%dir %{tde_tdeincludedir}/tdepim
+%{tde_tdeincludedir}/tdepim/exchangeaccount.h
+%{tde_tdeincludedir}/tdepim/exchangeclient.h
+%{tde_libdir}/libkpimexchange.la
+%{tde_libdir}/libkpimexchange.so
+
+##########
+
+%package -n trinity-libkpimidentities
+Summary: Trinity PIM user identity information library
+Group: Environment/Libraries
+
+%description -n trinity-libkpimidentities
+This library provides information to TDE programs about user identity,
+such as email address, organization, etc.
+
+This is the runtime package for programs that use the libkpimidentities-trinity
+library.
+
+%files -n trinity-libkpimidentities
+%defattr(-,root,root,-)
+%{tde_libdir}/libkpimidentities.so.*
+
+##########
+
+%package -n trinity-libkpimidentities-devel
+Summary: Development files for libkpimidentities
+Group: Development/Libraries/Other
+Requires: trinity-libkpimidentities = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libkpimidentities-devel
+%{summary}
+
+%files -n trinity-libkpimidentities-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkpimidentities.la
+%{tde_libdir}/libkpimidentities.so
+
+##########
+
+%package -n trinity-libksieve
+Summary: Trinity mail/news message filtering library
+Group: Environment/Libraries
+
+%description -n trinity-libksieve
+This is the runtime package for programs that use the libksieve-trinity library.
+
+%files -n trinity-libksieve
+%defattr(-,root,root,-)
+%{tde_libdir}/libksieve.so.*
+%{tde_tdedocdir}/HTML/en/tdeioslave/sieve/
+
+##########
+
+%package -n trinity-libksieve-devel
+Summary: Trinity mail/news message filtering library [development]
+Group: Development/Libraries/Other
+Requires: trinity-libksieve = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libtdepim-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libksieve-devel
+This is the development package which contains the headers for the libksieve-trinity
+library.
+
+%files -n trinity-libksieve-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/ksieve
+%{tde_libdir}/libksieve.la
+%{tde_libdir}/libksieve.so
+
+##########
+
+%package -n trinity-libktnef
+Summary: Library for handling KTNEF email attachments
+Group: Environment/Libraries
+
+%description -n trinity-libktnef
+This library handles mail attachments using the TNEF format. These
+attachments are usually found in mails coming from Microsoft mail
+servers and embed the mail properties as well as the actual
+attachments.
+.
+This is the runtime library for packages using the ktnef-trinity library.
+
+%files -n trinity-libktnef
+%defattr(-,root,root,-)
+%{tde_libdir}/libktnef.so.*
+
+##########
+
+%package -n trinity-libktnef-devel
+Summary: KTNEF handler library [development]
+Group: Development/Libraries/Other
+Requires: trinity-libktnef = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libtdepim-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libktnef-devel
+This library handles mail attachments using the TNEF format. These
+attachments are usually found in mails coming from Microsoft mail
+servers and embed the mail properties as well as the actual
+attachments.
+
+This is the development package which contains the headers for the
+ktnef-trinity library.
+
+%files -n trinity-libktnef-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/ktnef
+%{tde_libdir}/libktnef.la
+%{tde_libdir}/libktnef.so
+
+##########
+
+%package -n trinity-libmimelib
+Summary: Trinity mime library
+Group: Environment/Libraries
+
+%description -n trinity-libmimelib
+This library is used by several Trinity applications to handle mime types.
+
+This is the runtime package for programs that use the libmimelib-trinity library.
+
+%files -n trinity-libmimelib
+%defattr(-,root,root,-)
+%{tde_libdir}/libmimelib.so.*
+
+##########
+
+%package -n trinity-libmimelib-devel
+Summary: Trinity mime library [development]
+Group: Development/Libraries/Other
+Requires: trinity-libmimelib = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libmimelib-devel
+This library is used by several TDE applications to handle mime types.
+
+This is the development package which contains the headers for the
+libmimelib library.
+
+%files -n trinity-libmimelib-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/mimelib/
+%{tde_libdir}/libmimelib.la
+%{tde_libdir}/libmimelib.so
+
+##########
+
+%package -n trinity-kmobile
+Summary: Synchronize and manage mobile phone with your PC.
+Group: Applications/Communications
+
+%description -n trinity-kmobile
+KMobileTools is a nice TDE-based application that allows to synchronize
+and manage mobile phones with your PC. It handles full SMS control,
+dialing calls, phonebook, and phone status monitoring.
+
+%files -n trinity-kmobile
+%defattr(-,root,root,-)
+%{tde_bindir}/kmobile
+%{tde_datadir}/icons/default.tde/32x32/devices/mobile_camera.png
+%{tde_datadir}/icons/default.tde/32x32/devices/mobile_musicplayer.png
+%{tde_datadir}/icons/default.tde/32x32/devices/mobile_organizer.png
+%{tde_datadir}/icons/default.tde/32x32/devices/mobile_phone.png
+%{tde_datadir}/icons/default.tde/32x32/devices/mobile_unknown.png
+%{tde_datadir}/icons/hicolor/*/apps/kmobile.png
+%{tde_datadir}/services/libkmobile_digicam.desktop
+%{tde_datadir}/services/libkmobile_gammu.desktop
+%{tde_datadir}/services/libkmobile_skeleton.desktop
+%{tde_datadir}/servicetypes/libkmobile.desktop
+%{tde_datadir}/apps/kmobile/
+%{tde_tdeappdir}/kmobile.desktop
+%{tde_tdelibdir}/libkmobile_skeleton.la
+%{tde_tdelibdir}/libkmobile_skeleton.so
+%{tde_libdir}/libkmobileclient.la
+%{tde_libdir}/libkmobileclient.so
+%{tde_libdir}/libkmobiledevice.la
+%{tde_libdir}/libkmobiledevice.so
+%{tde_tdedocdir}/HTML/en/kmobile/
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+# Fix 'ical2vcal' contains '/bin/perl' instead of '/usr/bin/perl'
+if [ -x /usr/bin/perl ]; then
+ %__sed -i "korganizer/ical2vcal.in" -e "s|@PERL@|/usr/bin/perl|"
+fi
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+
+# Specific path for RHEL4
+if [ -d "/usr/X11R6" ]; then
+ export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+# Warning: GCC visibility causes FTBFS [Bug #1285]
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_NO_BUILTIN_CHRPATH=ON \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DCMAKE_PROGRAM_PATH="%{tde_bindir}" \
+ -DWITH_GCC_VISIBILITY=OFF \
+ \
+ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ \
+ -DWITH_ARTS=ON \
+ -DWITH_SASL=ON \
+ -DWITH_NEWDISTRLISTS=ON \
+ %{?with_gnokii:-DWITH_GNOKII=ON} \
+ -DWITH_EXCHANGE=ON \
+ -DWITH_EGROUPWARE=ON \
+ -DWITH_KOLAB=ON \
+ -DWITH_SLOX=ON \
+ -DWITH_GROUPWISE=ON \
+ -DWITH_FEATUREPLAN=ON \
+ -DWITH_GROUPDAV=ON \
+ -DWITH_BIRTHDAYS=ON \
+ -DWITH_NEWEXCHANGE=ON \
+ -DWITH_SCALIX=ON \
+ -DWITH_CALDAV=ON \
+ -DWITH_CARDDAV=ON \
+ -DWITH_INDEXLIB=ON \
+ %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \
+ %{?with_kitchensync:-DBUILD_KITCHENSYNC=ON} \
+ -DBUILD_ALL=ON \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{?buildroot} -C build
+
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/akregator.desktop Network RSS-News
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/groupwarewizard.desktop Utility DesktopSettings X-TDE-Utilities-PIM
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kaddressbook.desktop
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kalarm.desktop Utility TimeUtility X-TDE-Utilities-PIM
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kandy.desktop Utility Telephony X-TDE-Utilities-Peripherals
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/karm.desktop Utility TimeUtility X-TDE-Utilities-PIM
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/kleopatra.desktop Network System
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/KNode.desktop
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/knotes.desktop Utility DesktopUtility X-TDE-Utilities-Desktop
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/KMail.desktop
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/Kontact.desktop Office Core-Office
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/korganizer.desktop Office Calendar
+%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/KOrn.desktop Utility Applet X-TDE-More
+%suse_update_desktop_file -u %{?buildroot}%{tde_tdeappdir}/ktnef.desktop Network Email
+%if 0%{?with_kitchensync}
+%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kitchensync.desktop Utility X-SuSE-SyncUtility
+%endif
+%endif
+
+# Adds missing icons in 'hicolor' theme
+pushd "%{?buildroot}%{tde_datadir}/icons"
+for i in {16,32,48}; do %__cp crystalsvg/"$i"x"$i"/apps/kandy.png hicolor/"$i"x"$i"/apps/kandy.png ;done
+for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/network.png hicolor/"$i"x"$i"/apps/kleopatra.png ;done
+popd
+
+# Links duplicate files
+%fdupes "%{?buildroot}%{tde_datadir}"
+
+
+%clean
+%__rm -rf %{?buildroot}
+
+
+%changelog
diff --git a/redhat/core/tdepim/trinity-tdepim-rpmlintrc b/redhat/core/tdepim/trinity-tdepim-rpmlintrc
new file mode 100644
index 000000000..529351884
--- /dev/null
+++ b/redhat/core/tdepim/trinity-tdepim-rpmlintrc
@@ -0,0 +1,2 @@
+setBadness('library-without-ldconfig-postun', 0)
+setBadness('library-without-ldconfig-postin', 0)
diff --git a/redhat/core/tdesdk/tdesdk.spec b/redhat/core/tdesdk/tdesdk.spec
new file mode 100644
index 000000000..87a63ad0b
--- /dev/null
+++ b/redhat/core/tdesdk/tdesdk.spec
@@ -0,0 +1,1187 @@
+#
+# spec file for package tdesdk (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# BUILD WARNING:
+# Remove qt-devel and qt3-devel and any kde*-devel on your system !
+# Having KDE libraries may cause FTBFS here !
+
+# TDE variables
+%define tde_epoch 2
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdesdk
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+
+Name: trinity-%{tde_pkg}
+Summary: The Trinity Software Development Kit (SDK)
+Group: Development/Tools/Other
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Desktop
+#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: %{name}-rpmlintrc
+
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-perl-dcop >= %{tde_version}
+BuildRequires: trinity-tdepim-devel >= %{tde_version}
+
+BuildRequires: trinity-cmake >= %{tde_version}
+BuildRequires: gcc-c++
+BuildRequires: libtool
+BuildRequires: fdupes
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+# ACL support
+BuildRequires: libacl-devel
+
+# IDN support
+BuildRequires: libidn-devel
+
+# GAMIN support
+# Not on openSUSE.
+%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_gamin 1
+BuildRequires: gamin-devel
+%endif
+
+# PCRE support
+BuildRequires: pcre-devel
+
+# for kbugbuster/libkcal
+BuildRequires: desktop-file-utils
+
+# DB5 support
+%if 0%{?rhel} >= 8 || 0%{?fedora} >= 33
+BuildRequires: libdb-devel
+
+# DB4 support
+%else
+%if 0%{?mgaversion} || 0%{?mdkversion}
+#BuildRequires: %{_lib}db4.8-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: db4-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libdb-4_8-devel
+%endif
+%endif
+
+# kbabel, F-7+: flex >= 2.5.33-9
+BuildRequires: flex
+# umbrello
+BuildRequires: libxslt-devel
+BuildRequires: libxml2-devel
+BuildRequires: subversion-devel
+BuildRequires: neon-devel
+
+# PERL support
+BuildRequires: perl
+%if 0%{?fedora} >= 19
+BuildRequires: perl-podlators
+%endif
+
+# OPENSSL support
+BuildRequires: openssl-devel
+
+# PYTHON support
+%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 || 0%{?mgaversion} >= 8
+%define python python3
+%else
+%define python python
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}ltdl-devel
+BuildRequires: %{_lib}binutils-devel
+%endif
+%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version}
+BuildRequires: binutils-devel
+%endif
+%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220
+BuildRequires: libtool-ltdl-devel
+%endif
+
+# KIOSLAVE
+# Does not build on RHEL4
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion}
+%define build_kioslave 1
+%endif
+
+Obsoletes: trinity-kdesdk < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdesdk = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdesdk-libs < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdesdk-libs = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Requires: trinity-cervisia = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kapptemplate = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kbabel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kbugbuster = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdecachegrind = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdecachegrind-converters = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-kfile-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-misc = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-scripts = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kmtrace = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kompare = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kspy = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kuiviewer = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libcvsservice0 = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-poxml = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-umbrello = %{?epoch:%{epoch}:}%{version}-%{release}
+%{?build_kioslave:Requires: %{name}-tdeio-plugins = %{?epoch:%{epoch}:}%{version}-%{release}}
+Requires: trinity-tdeunittest = %{?epoch:%{epoch}:}%{version}-%{release}
+
+
+%description
+A collection of applications and tools used by developers, including:
+* cervisia: a CVS frontend
+* kbabel: PO file management
+* kbugbuster: a tool to manage the TDE bug report system
+* tdecachegrind: a browser for data produced by profiling tools (e.g. cachegrind)
+* kompare: diff tool
+* kuiviewer: displays designer's UI files
+* umbrello: UML modeller and UML diagram tool
+
+%files
+%defattr(-,root,root,-)
+
+##########
+
+%package -n trinity-cervisia
+Summary: A graphical CVS front end for Trinity
+Group: Development/Tools/Version Control
+
+%description -n trinity-cervisia
+Cervisia is a TDE-based graphical front end for the CVS client.
+
+As well as providing both common and advanced CVS operations, it offers
+a variety of methods for graphically viewing information about the CVS
+repository, your own sandbox and the relationships between different
+versions of files. A Changelog editor is also included and is coupled
+with the commit dialog.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-cervisia
+%defattr(-,root,root,-)
+%{tde_bindir}/cervisia
+%{tde_libdir}/libtdeinit_cervisia.la
+%{tde_libdir}/libtdeinit_cervisia.so
+%{tde_tdelibdir}/cervisia.la
+%{tde_tdelibdir}/cervisia.so
+%{tde_tdelibdir}/libcervisiapart.la
+%{tde_tdelibdir}/libcervisiapart.so
+%{tde_tdeappdir}/cervisia.desktop
+%{tde_datadir}/apps/cervisia/
+%{tde_datadir}/apps/cervisiapart/
+%{tde_datadir}/apps/tdeconf_update/cervisia.upd
+%{tde_datadir}/apps/tdeconf_update/cervisia-change_repos_list.pl
+%{tde_datadir}/apps/tdeconf_update/cervisia-normalize_cvsroot.pl
+%{tde_datadir}/apps/tdeconf_update/move_repositories.pl
+%{tde_datadir}/apps/tdeconf_update/change_colors.pl
+%{tde_datadir}/config.kcfg/cervisiapart.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/cervisia.png
+%{tde_datadir}/icons/crystalsvg/*/actions/vcs_*.png
+%{tde_datadir}/icons/crystalsvg/scalable/actions/vcs_*.svgz
+%{tde_mandir}/man1/cervisia.1*
+%{tde_tdedocdir}/HTML/en/cervisia/
+
+##########
+
+%package -n trinity-kapptemplate
+Summary: Creates a framework to develop a Trinity application
+Group: Development/Languages/Other
+
+%description -n trinity-kapptemplate
+KAppTemplate is a shell script that will create the necessary
+framework to develop various TDE applications. It takes care of the
+autoconf/automake code as well as providing a skeleton and example of
+what the code typically looks like.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kapptemplate
+%defattr(-,root,root,-)
+%{tde_bindir}/kapptemplate
+%{tde_datadir}/apps/kapptemplate/
+%{tde_mandir}/man1/kapptemplate.1*
+
+%pre -n trinity-kapptemplate
+if [ -d "%{tde_bindir}/kapptemplate" ]; then
+ rm -rf "%{tde_bindir}/kapptemplate"
+fi
+
+##########
+
+%package -n trinity-kbabel
+Summary: PO-file editing suite for Trinity
+Group: Development/Languages/Other
+
+%description -n trinity-kbabel
+This is a suite of programs for editing gettext message files (PO-files).
+It is designed to help you translate fast and consistently.
+
+This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an
+advanced and easy to use PO-file editor with full navigational and editing
+capabilities, syntax checking and statistics. CatalogManager is a multi
+functional catalog manager which allows you to keep track of many
+PO-files at once. KBabelDict is a dictionary to assist with searching
+for common translations.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kbabel
+%defattr(-,root,root,-)
+%{tde_bindir}/catalogmanager
+%{tde_bindir}/kbabel
+%{tde_bindir}/kbabeldict
+%{tde_libdir}/libkbabelcommon.so.*
+%{tde_libdir}/libkbabeldictplugin.so.*
+%{tde_tdelibdir}/tdefile_po.la
+%{tde_tdelibdir}/tdefile_po.so
+%{tde_tdelibdir}/pothumbnail.la
+%{tde_tdelibdir}/pothumbnail.so
+%{tde_tdelibdir}/kbabel_accelstool.la
+%{tde_tdelibdir}/kbabel_accelstool.so
+%{tde_tdelibdir}/kbabel_argstool.la
+%{tde_tdelibdir}/kbabel_argstool.so
+%{tde_tdelibdir}/kbabel_contexttool.la
+%{tde_tdelibdir}/kbabel_contexttool.so
+%{tde_tdelibdir}/kbabel_equationstool.la
+%{tde_tdelibdir}/kbabel_equationstool.so
+%{tde_tdelibdir}/kbabel_gettextexport.la
+%{tde_tdelibdir}/kbabel_gettextexport.so
+%{tde_tdelibdir}/kbabel_gettextimport.la
+%{tde_tdelibdir}/kbabel_gettextimport.so
+%{tde_tdelibdir}/kbabel_lengthtool.la
+%{tde_tdelibdir}/kbabel_lengthtool.so
+%{tde_tdelibdir}/kbabel_linguistexport.la
+%{tde_tdelibdir}/kbabel_linguistexport.so
+%{tde_tdelibdir}/kbabel_linguistimport.la
+%{tde_tdelibdir}/kbabel_linguistimport.so
+%{tde_tdelibdir}/kbabel_nottranslatedtool.la
+%{tde_tdelibdir}/kbabel_nottranslatedtool.so
+%{tde_tdelibdir}/kbabel_pluraltool.la
+%{tde_tdelibdir}/kbabel_pluraltool.so
+%{tde_tdelibdir}/kbabel_punctuationtool.la
+%{tde_tdelibdir}/kbabel_punctuationtool.so
+%{tde_tdelibdir}/kbabel_regexptool.la
+%{tde_tdelibdir}/kbabel_regexptool.so
+%{tde_tdelibdir}/kbabel_setfuzzytool.la
+%{tde_tdelibdir}/kbabel_setfuzzytool.so
+%{tde_tdelibdir}/kbabel_whitespacetool.la
+%{tde_tdelibdir}/kbabel_whitespacetool.so
+%{tde_tdelibdir}/kbabel_xliffexport.la
+%{tde_tdelibdir}/kbabel_xliffexport.so
+%{tde_tdelibdir}/kbabel_xliffimport.la
+%{tde_tdelibdir}/kbabel_xliffimport.so
+%{tde_tdelibdir}/kbabel_xmltool.la
+%{tde_tdelibdir}/kbabel_xmltool.so
+%{tde_tdelibdir}/kbabeldict_dbsearchengine.la
+%{tde_tdelibdir}/kbabeldict_dbsearchengine.so
+%{tde_tdelibdir}/kbabeldict_poauxiliary.la
+%{tde_tdelibdir}/kbabeldict_poauxiliary.so
+%{tde_tdelibdir}/kbabeldict_pocompendium.la
+%{tde_tdelibdir}/kbabeldict_pocompendium.so
+%{tde_tdelibdir}/kbabeldict_tmxcompendium.la
+%{tde_tdelibdir}/kbabeldict_tmxcompendium.so
+%{tde_tdeappdir}/catalogmanager.desktop
+%{tde_tdeappdir}/kbabel.desktop
+%{tde_tdeappdir}/kbabeldict.desktop
+%{tde_datadir}/apps/catalogmanager/
+%{tde_datadir}/apps/kbabel/
+%{tde_datadir}/apps/tdeconf_update/kbabel-difftoproject.upd
+%{tde_datadir}/apps/tdeconf_update/kbabel-project.upd
+%{tde_datadir}/apps/tdeconf_update/kbabel-projectrename.upd
+%{tde_datadir}/config.kcfg/kbabel.kcfg
+%{tde_datadir}/config.kcfg/kbprojectsettings.kcfg
+%{tde_tdedocdir}/HTML/en/kbabel/
+%{tde_datadir}/icons/hicolor/*/apps/catalogmanager.png
+%{tde_datadir}/icons/hicolor/*/apps/kbabel.png
+%{tde_datadir}/icons/hicolor/*/apps/kbabeldict.png
+%{tde_datadir}/icons/locolor/*/apps/catalogmanager.png
+%{tde_datadir}/icons/locolor/*/apps/kbabel.png
+%{tde_datadir}/icons/locolor/*/apps/kbabeldict.png
+%{tde_datadir}/services/dbsearchengine.desktop
+%{tde_datadir}/services/tdefile_po.desktop
+%{tde_datadir}/services/pothumbnail.desktop
+%{tde_datadir}/services/kbabel_accelstool.desktop
+%{tde_datadir}/services/kbabel_argstool.desktop
+%{tde_datadir}/services/kbabel_contexttool.desktop
+%{tde_datadir}/services/kbabel_equationstool.desktop
+%{tde_datadir}/services/kbabel_gettext_export.desktop
+%{tde_datadir}/services/kbabel_gettext_import.desktop
+%{tde_datadir}/services/kbabel_lengthtool.desktop
+%{tde_datadir}/services/kbabel_linguist_export.desktop
+%{tde_datadir}/services/kbabel_linguist_import.desktop
+%{tde_datadir}/services/kbabel_nottranslatedtool.desktop
+%{tde_datadir}/services/kbabel_pluralformstool.desktop
+%{tde_datadir}/services/kbabel_punctuationtool.desktop
+%{tde_datadir}/services/kbabel_regexptool.desktop
+%{tde_datadir}/services/kbabel_setfuzzytool.desktop
+%{tde_datadir}/services/kbabel_whitespacetool.desktop
+%{tde_datadir}/services/kbabel_xliff_export.desktop
+%{tde_datadir}/services/kbabel_xliff_import.desktop
+%{tde_datadir}/services/kbabel_xmltool.desktop
+%{tde_datadir}/services/pocompendium.desktop
+%{tde_datadir}/services/poauxiliary.desktop
+%{tde_datadir}/services/tmxcompendium.desktop
+%{tde_datadir}/servicetypes/kbabel_tool.desktop
+%{tde_datadir}/servicetypes/kbabel_validator.desktop
+%{tde_datadir}/servicetypes/kbabeldict_module.desktop
+%{tde_datadir}/servicetypes/kbabelfilter.desktop
+%{tde_mandir}/man1/catalogmanager.1*
+%{tde_mandir}/man1/kbabel.1*
+%{tde_mandir}/man1/kbabeldict.1*
+
+##########
+
+%package -n trinity-kbabel-devel
+Summary: PO-file editing suite for Trinity (development files)
+Group: Development/Libraries/Other
+Requires: trinity-kbabel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kbabel-devel
+This is a suite of programs for editing gettext message files (PO-files).
+It is designed to help you translate fast and consistently.
+
+This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an
+advanced and easy to use PO-file editor with full navigational and editing
+capabilities, syntax checking and statistics. CatalogManager is a multi
+functional catalog manager which allows you to keep track of many
+PO-files at once. KBabelDict is a dictionary to assist with searching
+for common translations.
+
+This package contains the KBabel development files.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kbabel-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kbabel/
+%{tde_libdir}/libkbabelcommon.la
+%{tde_libdir}/libkbabelcommon.so
+%{tde_libdir}/libkbabeldictplugin.la
+%{tde_libdir}/libkbabeldictplugin.so
+
+##########
+
+%package -n trinity-kbugbuster
+Summary: A front end for the Trinity bug tracking system
+Group: Development/Languages/Other
+Requires: trinity-libkcal >= %{tde_version}
+
+%description -n trinity-kbugbuster
+KBugBuster is a GUI front end for the TDE bug tracking system.
+It allows the user to view and manipulate bug reports and provides a
+variety of options for searching through reports.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kbugbuster
+%defattr(-,root,root,-)
+%{tde_bindir}/kbugbuster
+%{tde_tdelibdir}/kcal_bugzilla.la
+%{tde_tdelibdir}/kcal_bugzilla.so
+%{tde_tdeappdir}/kbugbuster.desktop
+%{tde_datadir}/apps/kbugbuster/
+%{tde_datadir}/icons/hicolor/*/apps/kbugbuster.png
+%{tde_datadir}/icons/locolor/*/apps/kbugbuster.png
+%{tde_datadir}/services/tderesources/kcal/bugzilla.desktop
+%{tde_tdedocdir}/HTML/en/kbugbuster/
+%{tde_mandir}/man1/kbugbuster.1*
+
+##########
+
+%package -n trinity-tdecachegrind
+Summary: Visualisation tool for valgrind profiling output
+Group: Development/Languages/Other
+
+%description -n trinity-tdecachegrind
+tdecachegrind is a visualisation tool for the profiling data generated
+by calltree, a profiling skin for valgrind. Applications can be
+profiled using calltree without being recompiled, and shared libraries
+and plugin architectures are supported.
+
+For visualising the output from other profiling tools, several converters
+can be found in the tdecachegrind-converters package.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-tdecachegrind
+%defattr(-,root,root,-)
+%{tde_bindir}/tdecachegrind
+%{tde_tdeappdir}/tdecachegrind.desktop
+%{tde_datadir}/apps/tdecachegrind/
+%{tde_datadir}/icons/locolor/*/apps/tdecachegrind.png
+%{tde_datadir}/icons/hicolor/*/apps/tdecachegrind.png
+%{tde_datadir}/mimelnk/application/x-tdecachegrind.desktop
+%{tde_tdedocdir}/HTML/en/tdecachegrind/
+%{tde_mandir}/man1/tdecachegrind.1*
+
+##########
+
+%package -n trinity-tdecachegrind-converters
+Summary: Format converters for tdecachegrind profiling visualisation tool
+Group: Development/Languages/Other
+Requires: %{python}
+%if 0%{?suse_version} || 0%{?rhel} == 4
+Requires: php
+%else
+Requires: php-cli
+%endif
+
+%description -n trinity-tdecachegrind-converters
+This is a collection of scripts for converting the output from
+different profiling tools into a format that tdecachegrind can use.
+
+tdecachegrind is a visualisation tool for the profiling data generated
+by calltree, a profiling skin for valgrind. Applications can be
+profiled using calltree without being recompiled, and shared libraries
+and plugin architectures are supported.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-tdecachegrind-converters
+%defattr(-,root,root,-)
+%{tde_bindir}/dprof2calltree
+%{tde_bindir}/hotshot2calltree
+%{tde_bindir}/memprof2calltree
+%{tde_bindir}/op2calltree
+%{tde_bindir}/pprof2calltree
+%{tde_mandir}/man1/dprof2calltree.1*
+%{tde_mandir}/man1/hotshot2calltree.1*
+%{tde_mandir}/man1/memprof2calltree.1*
+%{tde_mandir}/man1/op2calltree.1*
+%{tde_mandir}/man1/pprof2calltree.1*
+
+##########
+
+%package kfile-plugins
+Summary: Trinity file dialog plugins for software development files
+Group: Development/Languages/Other
+
+%description kfile-plugins
+This is a collection of plugins for the TDE file dialog. These plugins
+extend the file dialog to offer advanced meta-information for source files,
+patch files and Qt Linguist data.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files kfile-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/tdefile_cpp.so
+%{tde_tdelibdir}/tdefile_cpp.la
+%{tde_tdelibdir}/tdefile_diff.so
+%{tde_tdelibdir}/tdefile_diff.la
+%{tde_tdelibdir}/tdefile_ts.so
+%{tde_tdelibdir}/tdefile_ts.la
+%{tde_datadir}/services/tdefile_cpp.desktop
+%{tde_datadir}/services/tdefile_diff.desktop
+%{tde_datadir}/services/tdefile_h.desktop
+%{tde_datadir}/services/tdefile_ts.desktop
+
+##########
+
+%package misc
+Summary: Various goodies from the Trinity Software Development Kit
+Group: Development/Languages/Other
+
+%description misc
+This package contains miscellaneous goodies provided with the official
+TDE release to assist with TDE software development.
+
+Included are:
+- headers to assist with profiling TDE code;
+- a widget style for checking conformity with the TDE/Qt style guide;
+- palettes that match the KDE standard colour palette;
+- a TDE address book plugin that reads the list of TDE CVS accounts.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files misc
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/tdeabcformat_kdeaccounts.la
+%{tde_tdelibdir}/tdeabcformat_kdeaccounts.so
+%{tde_tdelibdir}/plugins/styles/scheck.so
+%{tde_tdelibdir}/plugins/styles/scheck.la
+%{tde_datadir}/apps/tdeabc/formats/kdeaccountsplugin.desktop
+%{tde_datadir}/apps/tdestyle/themes/scheck.themerc
+%{tde_datadir}/kdepalettes/
+
+%{tde_libdir}/libkstartperf.so.*
+%{tde_libdir}/libkstartperf.la
+%{tde_bindir}/kstartperf
+
+##########
+
+%package scripts
+Summary: a set of useful development scripts for Trinity
+Group: Development/Languages/Other
+Requires: %{python}
+
+%description scripts
+This package contains a number of scripts which can be used to help in
+developing TDE-based applications. Many of these scripts however are
+not specific to TDE, and in particular there are several general-use
+scripts to help users in working with SVN and CVS repositories.
+
+In addition to these scripts, this package provides:
+- gdb macros for Qt/TDE programming;
+- vim and emacs helper files for Qt/TDE programming;
+- bash and zsh completion controls for TDE apps;
+- valgrind error suppressions for TDE apps.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files scripts
+%defattr(-,root,root,-)
+%{tde_bindir}/adddebug
+%{tde_bindir}/build-progress.sh
+%{tde_bindir}/cheatmake
+%{tde_bindir}/create_cvsignore
+%{tde_bindir}/create_makefile
+%{tde_bindir}/create_makefiles
+%{tde_bindir}/cvs-clean
+%{tde_bindir}/cvs2dist
+%{tde_bindir}/cvsbackport
+%{tde_bindir}/cvsblame
+%{tde_bindir}/cvscheck
+%{tde_bindir}/cvsforwardport
+%{tde_bindir}/cvslastchange
+%{tde_bindir}/cvslastlog
+%{tde_bindir}/cvsrevertlast
+%{tde_bindir}/cvsversion
+%{tde_bindir}/cxxmetric
+%{tde_bindir}/extend_dmalloc
+%{tde_bindir}/extractattr
+%{tde_bindir}/extractrc
+%{tde_bindir}/findmissingcrystal
+%{tde_bindir}/fixkdeincludes
+%{tde_bindir}/fixuifiles
+%{tde_bindir}/includemocs
+%{tde_bindir}/kde-build
+%{tde_bindir}/kdedoc
+%{tde_bindir}/tdekillall
+%{tde_bindir}/kdelnk2desktop.py*
+%{tde_bindir}/kdemangen.pl
+%{tde_bindir}/makeobj
+%{tde_bindir}/noncvslist
+%{tde_bindir}/package_crystalsvg
+%{tde_bindir}/png2mng.pl
+%{tde_bindir}/pruneemptydirs
+%{tde_bindir}/qtdoc
+%{tde_bindir}/zonetab2pot.py*
+%{tde_bindir}/svn2dist
+%{tde_bindir}/svnrevertlast
+%{tde_bindir}/svnforwardport
+%{tde_bindir}/nonsvnlist
+%{tde_bindir}/tdesvn-build
+%{tde_bindir}/svnlastlog
+%{tde_bindir}/svnversions
+%{tde_bindir}/create_svnignore
+%{tde_bindir}/svnlastchange
+%{tde_bindir}/colorsvn
+%{tde_bindir}/svnaddcurrentdir
+%{tde_bindir}/svnbackport
+%{tde_bindir}/svngettags
+%{tde_bindir}/svnchangesince
+%{tde_bindir}/svn-clean
+%{tde_datadir}/apps/katepart/syntax/tdesvn-buildrc.xml
+%{tde_mandir}/man1/adddebug.1*
+%{tde_mandir}/man1/build-progress.sh.1*
+%{tde_mandir}/man1/cheatmake.1*
+%{tde_mandir}/man1/create_cvsignore.1*
+%{tde_mandir}/man1/create_makefile.1*
+%{tde_mandir}/man1/create_makefiles.1*
+%{tde_mandir}/man1/cvsblame.1*
+%{tde_mandir}/man1/cvscheck.1*
+%{tde_mandir}/man1/cvs-clean.1*
+%{tde_mandir}/man1/cvs2dist.1*
+%{tde_mandir}/man1/cvsaskpass.1*
+%{tde_mandir}/man1/cvsbackport.1*
+%{tde_mandir}/man1/cvsforwardport.1*
+%{tde_mandir}/man1/cvslastchange.1*
+%{tde_mandir}/man1/cvslastlog.1*
+%{tde_mandir}/man1/cvsrevertlast.1*
+%{tde_mandir}/man1/cvsservice.1*
+%{tde_mandir}/man1/cvsversion.1*
+%{tde_mandir}/man1/cxxmetric.1*
+%{tde_mandir}/man1/extend_dmalloc.1*
+%{tde_mandir}/man1/extractattr.1*
+%{tde_mandir}/man1/extractrc.1*
+%{tde_mandir}/man1/findmissingcrystal.1*
+%{tde_mandir}/man1/fixkdeincludes.1*
+%{tde_mandir}/man1/fixuifiles.1*
+%{tde_mandir}/man1/includemocs.1*
+%{tde_mandir}/man1/kde-build.1*
+%{tde_mandir}/man1/kdedoc.1*
+%{tde_mandir}/man1/kdelnk2desktop.py.1*
+%{tde_mandir}/man1/kdemangen.pl.1*
+%{tde_mandir}/man1/licensecheck.1*
+%{tde_mandir}/man1/noncvslist.1*
+%{tde_mandir}/man1/makeobj.1*
+%{tde_mandir}/man1/package_crystalsvg.1*
+%{tde_mandir}/man1/png2mng.pl.1
+%{tde_mandir}/man1/pruneemptydirs.1
+%{tde_mandir}/man1/qtdoc.1*
+%{tde_mandir}/man1/tdekillall.1*
+%{tde_mandir}/man1/tdesvn-build.1*
+%{tde_mandir}/man1/zonetab2pot.py.1*
+%{tde_tdedocdir}/HTML/en/tdesvn-build/
+#scripts/kde-devel-gdb /opt/trinity/share/tdesdk-scripts
+#scripts/kde-devel-vim.vim /opt/trinity/share/tdesdk-scripts
+#scripts/kde-emacs/*.el /opt/trinity/share/emacs/site-lisp/tdesdk-scripts
+#scripts/kde.supp /opt/trinity/lib/valgrind
+#scripts/completions /opt/trinity/share/tdesdk-scripts
+
+#debian/desktop-i18n/createdesktop.pl /opt/trinity/lib/kubuntu-desktop-i18n/
+#debian/desktop-i18n/findfiles /opt/trinity/lib/kubuntu-desktop-i18n/
+#debian/desktop-i18n/msgsplit /opt/trinity/lib/kubuntu-desktop-i18n/
+
+%if "%{?tde_prefix}" != "/usr"
+%{tde_bindir}/licensecheck
+%else
+%exclude %{tde_bindir}/licensecheck
+%endif
+
+##########
+
+%package -n trinity-kmtrace
+Summary: A Trinity memory leak tracer
+Group: Development/Languages/Other
+Requires: less
+
+%description -n trinity-kmtrace
+KMtrace is a TDE tool to assist with malloc debugging using glibc's
+"mtrace" functionality.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kmtrace
+%defattr(-,root,root,-)
+%{tde_bindir}/demangle
+%{tde_bindir}/kminspector
+%{tde_bindir}/kmmatch
+%{tde_bindir}/kmtrace
+%dir %{tde_libdir}/kmtrace
+%{tde_libdir}/kmtrace/libktrace.la
+%{tde_libdir}/kmtrace/libktrace.so
+%{tde_datadir}/apps/kmtrace/
+%{tde_mandir}/man1/demangle.1*
+%{tde_mandir}/man1/kminspector.1*
+%{tde_mandir}/man1/kmmatch.1*
+%{tde_mandir}/man1/kmtrace.1*
+
+##########
+
+%package -n trinity-kompare
+Summary: A Trinity GUI for viewing differences between files
+Group: Development/Languages/Other
+
+%description -n trinity-kompare
+Kompare is a graphical user interface for viewing the differences between
+files. It can compare two documents, create a diff file, display a diff
+file and/or blend a diff file back into the original documents.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kompare
+%defattr(-,root,root,-)
+%{tde_bindir}/kompare
+%{tde_libdir}/libkompareinterface.la
+%{tde_libdir}/libkompareinterface.so.*
+%{tde_tdelibdir}/libkomparenavtreepart.la
+%{tde_tdelibdir}/libkomparenavtreepart.so
+%{tde_tdelibdir}/libkomparepart.la
+%{tde_tdelibdir}/libkomparepart.so
+%{tde_tdeappdir}/kompare.desktop
+%{tde_datadir}/apps/kompare/
+%{tde_datadir}/services/komparenavtreepart.desktop
+%{tde_datadir}/services/komparepart.desktop
+%{tde_datadir}/servicetypes/komparenavigationpart.desktop
+%{tde_datadir}/servicetypes/kompareviewpart.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kompare.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kompare.svgz
+%{tde_tdedocdir}/HTML/en/kompare/
+%{tde_mandir}/man1/kompare.1*
+
+##########
+
+%package -n trinity-kspy
+Summary: Examines the internal state of a Qt/TDE app
+Group: Development/Languages/Other
+Requires: trinity-tdelibs-devel
+
+%description -n trinity-kspy
+KSpy is a tiny library which can be used to graphically display
+the QObjects in use by a Qt/TDE app. In addition to the object tree,
+you can also view the properties, signals and slots of any QObject.
+
+Basically it provides much the same info as QObject::dumpObjectTree() and
+QObject::dumpObjectInfo(), but in a much more convenient form. KSpy has
+minimal overhead for the application, because the kspy library is
+loaded dynamically using KLibLoader.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kspy
+%defattr(-,root,root,-)
+%{tde_libdir}/libkspy.la
+%{tde_libdir}/libkspy.so.*
+%{tde_mandir}/man1/testkspy.1*
+
+##########
+
+%package -n trinity-kuiviewer
+Summary: Viewer for Qt Designer user interface files
+Group: Development/Languages/Other
+
+%description -n trinity-kuiviewer
+KUIViewer is a utility to display and test the user interface (.ui) files
+generated by Qt Designer. The interfaces can be displayed in a variety of
+different widget styles.
+
+The Qt Designer itself is in the package qt3-designer.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kuiviewer
+%defattr(-,root,root,-)
+%{tde_bindir}/kuiviewer
+%{tde_tdelibdir}/libkuiviewerpart.so
+%{tde_tdelibdir}/libkuiviewerpart.la
+%{tde_tdelibdir}/quithumbnail.so
+%{tde_tdelibdir}/quithumbnail.la
+%{tde_tdeappdir}/kuiviewer.desktop
+%{tde_datadir}/apps/kuiviewer/
+%{tde_datadir}/apps/kuiviewerpart/
+%{tde_datadir}/icons/hicolor/*/apps/kuiviewer.png
+%{tde_datadir}/icons/locolor/*/apps/kuiviewer.png
+%{tde_datadir}/services/designerthumbnail.desktop
+%{tde_datadir}/services/kuiviewer_part.desktop
+%{tde_tdedocdir}/HTML/en/kuiviewer/
+%{tde_mandir}/man1/kuiviewer.1*
+
+##########
+
+%package -n trinity-libcvsservice0
+Summary: DCOP service for accessing CVS repositories
+Group: Development/Languages/Other
+Requires: cvs
+
+%description -n trinity-libcvsservice0
+This library provides a DCOP service for accessing and working with
+remote CVS repositories. Applications may link with this library to
+access the DCOP service directly from C++. Alternatively, scripts may
+access the service using the standard "dcop" command-line tool.
+
+DCOP is the Desktop Communication Protocol used throughout TDE.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-libcvsservice0
+%defattr(-,root,root,-)
+%{tde_bindir}/cvsaskpass
+%{tde_bindir}/cvsservice
+%{tde_libdir}/libcvsservice.so.*
+%{tde_libdir}/libtdeinit_cvsaskpass.so
+%{tde_libdir}/libtdeinit_cvsservice.so
+%{tde_tdelibdir}/cvsaskpass.la
+%{tde_tdelibdir}/cvsaskpass.so
+%{tde_tdelibdir}/cvsservice.la
+%{tde_tdelibdir}/cvsservice.so
+%{tde_datadir}/services/cvsservice.desktop
+
+##########
+
+%package -n trinity-libcvsservice-devel
+Summary: Development files for CVS DCOP service
+Group: Development/Libraries/Other
+Requires: trinity-libcvsservice0 = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-libcvsservice-devel
+The library libcvsservice provides a DCOP service for accessing and
+working with remote CVS repositories. Applications may link with this
+library to access the DCOP service directly from C++. Alternatively,
+scripts may access the service using the standard "dcop" command-line
+tool.
+
+Development files for libcvsservice are included in this package.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-libcvsservice-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/cvsjob_stub.h
+%{tde_tdeincludedir}/cvsservice_stub.h
+%{tde_tdeincludedir}/repository_stub.h
+%{tde_libdir}/libcvsservice.la
+%{tde_libdir}/libcvsservice.so
+%{tde_libdir}/libtdeinit_cvsaskpass.la
+%{tde_libdir}/libtdeinit_cvsservice.la
+%{tde_datadir}/cmake/cervisia.cmake
+
+##########
+
+%package -n trinity-poxml
+Summary: Tools for using PO-files to translate DocBook XML files
+Group: Development/Languages/Other
+
+%description -n trinity-poxml
+This is a collection of tools that facilitate translating DocBook XML
+files using gettext message files (PO-files).
+
+Also included are some miscellaneous command-line utilities for
+manipulating DocBook XML files, PO-files and PO-template files.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-poxml
+%defattr(-,root,root,-)
+%{tde_bindir}/po2xml
+%{tde_bindir}/split2po
+%{tde_bindir}/swappo
+%{tde_bindir}/transxx
+%{tde_bindir}/xml2pot
+%{tde_mandir}/man1/po2xml.1*
+%{tde_mandir}/man1/split2po.1*
+%{tde_mandir}/man1/swappo.1*
+%{tde_mandir}/man1/transxx.1*
+%{tde_mandir}/man1/xml2pot.1*
+
+##########
+
+%package -n trinity-umbrello
+Summary: UML modelling tool and code generator
+Group: Development/Languages/Other
+
+%description -n trinity-umbrello
+Umbrello UML Modeller is a Unified Modelling Language editor for TDE.
+With UML you can create diagrams of software and other systems in an
+industry standard format. Umbrello can also generate code from your
+UML diagrams in a number of programming languages.
+
+The program supports class diagrams, sequence diagrams, collaboration
+diagrams, use case diagrams, state diagrams, activity diagrams, component
+diagrams and deployment diagrams.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-umbrello
+%defattr(-,root,root,-)
+%{tde_bindir}/umbodoc
+%{tde_bindir}/umbrello
+%{tde_tdeappdir}/umbrello.desktop
+%{tde_datadir}/apps/umbrello/
+%{tde_datadir}/icons/crystalsvg/*/actions/umbrello_*.png
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/umbrellofile.png
+%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/umbrellofile.svgz
+%{tde_datadir}/icons/hicolor/*/apps/umbrello.png
+%{tde_datadir}/icons/hicolor/scalable/apps/umbrello.svgz
+%{tde_datadir}/icons/hicolor/*/mimetypes/umbrellofile.png
+%{tde_datadir}/mimelnk/application/x-umbrello.desktop
+%{tde_tdedocdir}/HTML/en/umbrello/
+%{tde_mandir}/man1/umbrello.1*
+
+##########
+
+%if 0%{?build_kioslave}
+
+%package tdeio-plugins
+Summary: Subversion ioslave for Trinity
+Group: Development/Languages/Other
+Requires: subversion
+
+Obsoletes: trinity-tdesdk-kio-plugins < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-tdesdk-kio-plugins = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description tdeio-plugins
+This package provides easy access to remote SVN repositories from within
+Konqueror, and TDE generally, by browsing them as if they were a
+filesystem, using URLs like svn://hostname/path, or svn+ssh://, etc.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files tdeio-plugins
+%defattr(-,root,root,-)
+%{tde_bindir}/tdeio_svn_helper
+%{tde_tdelibdir}/kded_ksvnd.la
+%{tde_tdelibdir}/kded_ksvnd.so
+%{tde_tdelibdir}/tdeio_svn.la
+%{tde_tdelibdir}/tdeio_svn.so
+%{tde_datadir}/apps/konqueror/servicemenus/subversion_toplevel.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/subversion.desktop
+%{tde_datadir}/services/kded/ksvnd.desktop
+%{tde_datadir}/services/svn+file.protocol_tdesdk
+%{tde_datadir}/services/svn+http.protocol_tdesdk
+%{tde_datadir}/services/svn+https.protocol_tdesdk
+%{tde_datadir}/services/svn+ssh.protocol_tdesdk
+%{tde_datadir}/services/svn.protocol_tdesdk
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_switch.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_merge.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_branch.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_remove.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_add.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_status.png
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_add.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_status.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_remove.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_switch.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_branch.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_merge.svgz
+
+%post tdeio-plugins
+for proto in svn+file svn+http svn+https svn+ssh svn; do
+ update-alternatives --install \
+ %{tde_datadir}/services/${proto}.protocol \
+ ${proto}.protocol \
+ %{tde_datadir}/services/${proto}.protocol_tdesdk \
+ 10
+done
+
+%preun tdeio-plugins
+if [ $1 -eq 0 ]; then
+ for proto in svn+file svn+http svn+https svn+ssh svn; do
+ update-alternatives --remove \
+ ${proto}.protocol \
+ %{tde_datadir}/services/${proto}.protocol_tdesdk || :
+ done
+fi
+
+%endif
+
+##########
+
+%package -n trinity-tdeunittest
+Summary: Unit testing library for Trinity
+Group: Development/Languages/Other
+
+Obsoletes: trinity-kunittest < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kunittest = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-tdeunittest
+tdeunittest is a small library that facilitates the writing of tests for
+TDE developers. There are two ways to use the tdeunittest library. One is
+to create dynamically loadable modules and use the tdeunittestmodrunner or
+tdeunittestguimodrunner programs to run the tests. The other is to use the
+libraries to create your own testing application.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-tdeunittest
+%defattr(-,root,root,-)
+%{tde_bindir}/tdeunittest
+%{tde_bindir}/tdeunittest_debughelper
+%{tde_bindir}/tdeunittestmod
+%{tde_bindir}/tdeunittestguimodrunner
+%{tde_libdir}/libtdeunittestgui.la
+%{tde_libdir}/libtdeunittestgui.so.*
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries/Other
+
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kbabel-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: %{name}-misc = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kspy = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kmtrace = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdeunittest = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-libcvsservice-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kompare = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Obsoletes: trinity-kdesdk-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdesdk-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description devel
+This package contains the development files for tdesdk.
+
+%files devel
+%defattr(-,root,root,-)
+# misc
+%{tde_tdeincludedir}/kprofilemethod.h
+%{tde_libdir}/libkstartperf.so
+# kspy
+%{tde_tdeincludedir}/kspy.h
+%{tde_libdir}/libkspy.so
+# kmtrace
+%{tde_libdir}/kmtrace/libktrace_s.a
+%{tde_tdeincludedir}/ktrace.h
+# tdeunittest
+%{tde_libdir}/libtdeunittestgui.so
+%{tde_tdeincludedir}/tdeunittest/runnergui.h
+# kompare
+%{tde_libdir}/libkompareinterface.so
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%if 0%{?fedora} >= 30 || 0%{?rhel} >= 8 || 0%{?mgaversion} >= 8
+# Fix shebangs
+sed -i "scripts/kdelnk2desktop.py" \
+ "scripts/zonetab2pot.py" \
+ "tdecachegrind/converters/hotshot2calltree" \
+ "umbrello/umbrello/headings/heading.py" \
+ -e "s|env python|env %{python}|"
+%endif
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+# FIXME PCLinuxOS: '/usr/bin/ld: cannot find -ltdeabc'
+%if 0%{?pclinuxos}
+export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -L%{tde_libdir}"
+%endif
+
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_NO_BUILTIN_CHRPATH=ON \
+ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=OFF \
+ \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DMAN_INSTALL_DIR=%{tde_mandir} \
+ -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ \
+ -DWITH_DBSEARCHENGINE=ON \
+ -DWITH_KCAL=ON \
+ -DBUILD_ALL=ON \
+ %{!?build_kioslave:-DBUILD_KIOSLAVE=OFF} \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+
+%__make install DESTDIR=%{?buildroot} -C build
+
+
+# Installs kdepalettes
+%__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes/kde_xpaintrc
+%__install -D -m 644 kdepalettes/KDE_Gimp %{?buildroot}%{tde_datadir}/kdepalettes/KDE_Gimp
+%__install -D -m 644 kdepalettes/README %{?buildroot}%{tde_datadir}/kdepalettes/README
+
+# Installs SVN protocols as alternatives
+%if 0%{?build_kioslave}
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesdk
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesdk
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesdk
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesdk
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesdk
+%endif
+
+# Removes useless stuff
+%__rm -f %{?buildroot}%{tde_datadir}/apps/kapptemplate/admin/debianrules
+
+# Fix permissions
+chmod 644 %{?buildroot}%{tde_datadir}/apps/kapptemplate/admin/Doxyfile.global
+
+# Make kapptemplate archive
+pushd %{?buildroot}%{tde_datadir}/apps/kapptemplate
+mkdir kapptemplate
+mv admin appframework bin existing include kapp kpartapp kpartplugin kapptemplate/
+tar cfz kapptemplate.tar.gz kapptemplate
+rm -rf kapptemplate
+popd
+
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file kuiviewer Development GUIDesigner
+%suse_update_desktop_file umbrello Development Design
+%suse_update_desktop_file kbugbuster Development Debugger
+%suse_update_desktop_file -u catalogmanager Development Translation
+%suse_update_desktop_file kbabel Development Translation
+%suse_update_desktop_file -u kbabeldict Development Translation
+%suse_update_desktop_file cervisia Development RevisionControl
+%suse_update_desktop_file kompare Development RevisionControl
+%suse_update_desktop_file tdecachegrind Development Profiling
+%endif
+
+# Links duplicate files
+%fdupes "%{?buildroot}%{tde_datadir}"
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
diff --git a/redhat/core/tdesdk/trinity-tdesdk-rpmlintrc b/redhat/core/tdesdk/trinity-tdesdk-rpmlintrc
new file mode 100644
index 000000000..529351884
--- /dev/null
+++ b/redhat/core/tdesdk/trinity-tdesdk-rpmlintrc
@@ -0,0 +1,2 @@
+setBadness('library-without-ldconfig-postun', 0)
+setBadness('library-without-ldconfig-postin', 0)
diff --git a/redhat/core/tdetoys/tdetoys.spec b/redhat/core/tdetoys/tdetoys.spec
new file mode 100644
index 000000000..9846c40fa
--- /dev/null
+++ b/redhat/core/tdetoys/tdetoys.spec
@@ -0,0 +1,449 @@
+#
+# spec file for package tdetoys (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# BUILD WARNING:
+# Remove qt-devel and qt3-devel and any kde*-devel on your system !
+# Having KDE libraries may cause FTBFS here !
+
+# TDE variables
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdetoys
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+
+Name: trinity-%{tde_pkg}
+Summary: Trinity Desktop Environment - Toys and Amusements
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+Group: Amusements/Graphics
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Project
+#Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+# Trinity dependencies
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-kdesktop >= %{tde_version}
+BuildRequires: trinity-kicker >= %{tde_version}
+BuildRequires: trinity-tdebase-devel >= %{tde_version}
+
+BuildRequires: trinity-cmake >= %{tde_version}
+BuildRequires: gcc-c++
+BuildRequires: pkgconfig
+BuildRequires: fdupes
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+# IDN support
+BuildRequires: libidn-devel
+
+# GAMIN support
+# Not on openSUSE.
+%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_gamin 1
+BuildRequires: gamin-devel
+%endif
+
+# ACL support
+BuildRequires: libacl-devel
+
+# PCRE support
+BuildRequires: pcre-devel
+
+# OPENSSL support
+BuildRequires: openssl-devel
+
+
+Obsoletes: trinity-kdetoys < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdetoys = %{?epoch:%{epoch}:}%{version}-%{release}
+
+# Metapackage
+Requires: trinity-amor = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-eyesapplet = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-fifteenapplet = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kmoon = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kodo = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kteatime = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ktux = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kweather = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kworldclock = %{?epoch:%{epoch}:}%{version}-%{release}
+
+
+%description
+Includes:
+* amor: Amusing Misuse Of Resources put's comic figures above your windows
+* eyesapplet: a kicker applet similar to XEyes
+* fifteenapplet: kicker applet, order 15 pieces in a 4x4 square by moving them
+* kmoon: system tray applet showing the moon phase
+* kodo: mouse movement meter
+* kteatime: system tray applet that makes sure your tea doesn't get too strong
+* ktux: Tux-in-a-Spaceship screen saver
+* kweather: kicker applet that will display the current weather outside
+* kworldwatch: application and kicker applet showing daylight area on the world
+ globe
+
+NOTE: kicker applets and screen savers require tdebase to be installed,
+and user to be logged-in to TDE.
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README
+
+##########
+
+%package -n trinity-amor
+Summary: a Trinity creature for your desktop
+Group: Amusements/Graphics
+
+%description -n trinity-amor
+AMOR stands for Amusing Misuse Of Resources. It provides several different
+characters who prance around your X screen doing tricks and giving you tips.
+
+Note that AMOR will only work with some window managers. Both TWin (the
+TDE window manager) and Metacity (a GTK2 window manager) are supported.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-amor
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README
+%{tde_bindir}/amor
+%{tde_datadir}/apps/amor/
+%{tde_tdeappdir}/amor.desktop
+%{tde_datadir}/icons/hicolor/*/apps/amor.png
+%{tde_tdedocdir}/HTML/en/amor/
+%{tde_mandir}/man*/amor.*
+
+##########
+
+%package -n trinity-eyesapplet
+Summary: eyes applet for Trinity
+Group: Amusements/Graphics
+
+Requires: trinity-kicker >= %{tde_version}
+
+%description -n trinity-eyesapplet
+An applet for the TDE panel containing a pair of eyes that follow your mouse
+around the screen.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-eyesapplet
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README
+%{tde_tdelibdir}/eyes_panelapplet.la
+%{tde_tdelibdir}/eyes_panelapplet.so
+%{tde_datadir}/apps/kicker/applets/eyesapplet.desktop
+
+##########
+
+%package -n trinity-fifteenapplet
+Summary: fifteen pieces puzzle for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-fifteenapplet
+An applet for the TDE panel that lets you play the Fifteen Pieces
+sliding block puzzle. You have to order 15 pieces in a 4x4 square by
+moving them around.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-fifteenapplet
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README
+%{tde_tdelibdir}/fifteen_panelapplet.la
+%{tde_tdelibdir}/fifteen_panelapplet.so
+%{tde_datadir}/apps/kicker/applets/kfifteenapplet.desktop
+
+##########
+
+%package -n trinity-kmoon
+Summary: moon phase indicator for Trinity
+Group: Amusements/Graphics
+
+Requires: trinity-kicker >= %{tde_version}
+
+%description -n trinity-kmoon
+An applet for the TDE panel that displays the current phase of the moon.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-kmoon
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README
+%{tde_tdelibdir}/kmoon_panelapplet.la
+%{tde_tdelibdir}/kmoon_panelapplet.so
+%{tde_datadir}/apps/kicker/applets/kmoonapplet.desktop
+%{tde_datadir}/apps/kmoon/
+%{tde_datadir}/icons/hicolor/*/apps/kmoon.png
+%{tde_tdedocdir}/HTML/en/kmoon/
+
+##########
+
+%package -n trinity-kodo
+Summary: mouse odometer for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-kodo
+KOdometer measures your desktop mileage. It tracks the movement of your mouse
+pointer across your desktop and renders it in inches/feet/miles! It can
+do cm/metres/km too. Its most exciting feature is the tripometer.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-kodo
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README
+%{tde_bindir}/kodo
+%{tde_tdeappdir}/kodo.desktop
+%{tde_datadir}/apps/kodo/
+%{tde_datadir}/icons/hicolor/*/apps/kodo.png
+%{tde_tdedocdir}/HTML/en/kodo/
+%{tde_mandir}/man*/kodo.*
+
+##########
+
+%package -n trinity-kteatime
+Summary: Trinity utility for making a fine cup of tea
+Group: Amusements/Graphics
+
+%description -n trinity-kteatime
+KTeaTime is a handy timer for steeping tea. No longer will you have to
+guess at how long it takes for your tea to be ready. Simply select the
+type of tea you have, and it will alert you when the tea is ready to
+drink.
+
+KTeaTime sits in the Trinity system tray.
+
+Please note that KTeaTime is written explicitly for Trinity. If you are
+using a non-TDE window manager or desktop environment then it is quite
+possible that KTeaTime will not work on your system.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-kteatime
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README
+%{tde_bindir}/kteatime
+%{tde_tdeappdir}/kteatime.desktop
+%{tde_datadir}/apps/kteatime/
+%{tde_datadir}/icons/hicolor/*/apps/kteatime.png
+%{tde_tdedocdir}/HTML/en/kteatime/
+%{tde_mandir}/man*/kteatime.*
+
+##########
+
+%package -n trinity-ktux
+Summary: Tux screensaver for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-ktux
+A neat Tux-in-a-spaceship screensaver for the Trinity Desktop Environment (TDE).
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-ktux
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README
+%{tde_bindir}/ktux
+%{tde_datadir}/apps/ktux/
+%{tde_datadir}/applnk/System/ScreenSavers/ktux.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ktux.png
+%{tde_mandir}/man*/ktux.*
+
+##########
+
+%package -n trinity-kweather
+Summary: weather display applet for Trinity
+Group: Amusements/Graphics
+
+Requires: trinity-kicker >= %{tde_version}
+
+%description -n trinity-kweather
+An applet for the TDE panel that displays your area's current weather.
+Information shown includes the temperature, wind speed, air pressure
+and more. By pressing a button a full weather report can be obtained.
+
+KWeather also provides a weather service that can track multiple weather
+stations and provide this information to other applications, including
+Konqueror's sidebar and Kontact's summary page.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-kweather
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README
+%{tde_bindir}/kweatherservice
+%{tde_bindir}/kweatherreport
+%{tde_libdir}/libtdeinit_kweatherreport.so
+%{tde_libdir}/libtdeinit_kweatherreport.la
+%{tde_tdelibdir}/kcm_weather.so
+%{tde_tdelibdir}/kcm_weather.la
+%{tde_tdelibdir}/kcm_weatherservice.so
+%{tde_tdelibdir}/kcm_weatherservice.la
+%{tde_tdelibdir}/kweatherreport.so
+%{tde_tdelibdir}/kweatherreport.la
+%{tde_tdelibdir}/weather_panelapplet.la
+%{tde_tdelibdir}/weather_panelapplet.so
+%{tde_tdelibdir}/weather_sidebar.la
+%{tde_tdelibdir}/weather_sidebar.so
+%{tde_datadir}/apps/kicker/applets/kweather.desktop
+%{tde_datadir}/apps/konqsidebartng/
+%{tde_datadir}/apps/kweather/
+%{tde_datadir}/apps/kweatherservice/
+%{tde_datadir}/icons/hicolor/*/apps/kweather.png
+%{tde_datadir}/services/kweatherservice.desktop
+%{tde_datadir}/services/kcmweather.desktop
+%{tde_datadir}/services/kcmweatherservice.desktop
+%{tde_tdedocdir}/HTML/en/kweather/
+%{tde_mandir}/man*/kweatherreport.*
+%{tde_mandir}/man*/kweatherservice.*
+
+##########
+
+%package -n trinity-kworldclock
+Summary: earth watcher for Trinity
+Group: Amusements/Graphics
+
+Requires: trinity-kdesktop >= %{tde_version}
+Requires: trinity-kicker >= %{tde_version}
+
+%description -n trinity-kworldclock
+Displays where in the world it is light and dark depending on time, as
+well as offering the time in all of the major cities of the world.
+This can be run standalone, as an applet in the TDE panel or as a
+desktop background.
+
+Additional kworldclock themes are available in the tdeartwork-misc package.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-kworldclock
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README
+%{tde_bindir}/kworldclock
+%{tde_tdelibdir}/ww_panelapplet.la
+%{tde_tdelibdir}/ww_panelapplet.so
+%{tde_tdeappdir}/kworldclock.desktop
+%{tde_datadir}/apps/kdesktop/programs/kdeworld.desktop
+%{tde_datadir}/apps/kicker/applets/kwwapplet.desktop
+%{tde_datadir}/apps/kworldclock/
+%{tde_datadir}/icons/hicolor/*/apps/kworldclock.png
+%{tde_tdedocdir}/HTML/en/kworldclock/
+%{tde_mandir}/man*/kworldclock.*
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=OFF \
+ \
+ -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}" \
+ \
+ -DBUILD_ALL=ON \
+ ..
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf "%{buildroot}"
+%__make install DESTDIR=%{buildroot} -C build
+
+# Useless include file from Amor
+%__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h
+
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file -r kworldclock Utility Clock
+%suse_update_desktop_file -r kteatime Applet
+%suse_update_desktop_file -r amor Amusement
+%suse_update_desktop_file -r kodo Amusement
+%suse_update_desktop_file ktux Screensaver
+%endif
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
diff --git a/redhat/core/tdeutils/kcmlaptoprc b/redhat/core/tdeutils/kcmlaptoprc
new file mode 100644
index 000000000..66d400f5d
--- /dev/null
+++ b/redhat/core/tdeutils/kcmlaptoprc
@@ -0,0 +1,114 @@
+[AcpiDefault]
+EnableHibernate=true
+EnablePerformance=false
+EnableStandby=true
+EnableSuspend=true
+EnableThrottle=false
+
+[BatteryCritical]
+Brightness=false
+BrightnessValue=255
+CriticalValPercent=3
+CriticalValTime=5
+Hibernate=false
+Logout=false
+Notify=true
+Performance=false
+PerformanceValue=
+PlaySound=false
+PlaySoundPath=
+RunCommand=false
+RunCommandPath=
+Shutdown=true
+Standby=false
+Suspend=false
+SystemBeep=true
+Throttle=false
+ThrottleValue=00%
+TimeBasedAction=true
+
+[BatteryDefault]
+BlankSaver=false
+ChargePixmap=laptop_charge
+Enable=true
+NoBatteryPixmap=laptop_nobattery
+NoChargePixmap=laptop_nocharge
+NotifyMe=false
+Poll=20
+
+[BatteryLow]
+Brightness=false
+BrightnessValue=255
+Hibernate=false
+Logout=false
+LowValPercent=7
+LowValTime=15
+Notify=true
+Performance=false
+PerformanceValue=
+PlaySound=false
+PlaySoundPath=
+RunCommand=false
+RunCommandPath=
+Shutdown=false
+Standby=false
+Suspend=false
+SystemBeep=true
+Throttle=false
+ThrottleValue=00%
+TimeBasedAction=true
+
+[LaptopButtons]
+LidBrightness=0
+LidBrightnessEnabled=false
+LidPerformance=
+LidPerformanceEnabled=false
+LidSuspend=0
+LidThrottle=00%
+LidThrottleEnabled=false
+PowerBrightness=0
+PowerBrightnessEnabled=false
+PowerPerformance=
+PowerPerformanceEnabled=false
+PowerSuspend=0
+PowerThrottle=
+PowerThrottleEnabled=false
+
+[LaptopPower]
+LavEnabled=false
+NoLavEnabled=false
+NoPowerBrightness=0
+NoPowerBrightnessEnabled=false
+NoPowerLav=0
+NoPowerPerformance=
+NoPowerPerformanceEnabled=false
+NoPowerSuspend=0
+NoPowerThrottle=00%
+NoPowerThrottleEnabled=false
+NoPowerWait=5
+PowerBrightness=255
+PowerBrightnessEnabled=false
+PowerLav=0
+PowerPerformance=
+PowerPerformanceEnabled=false
+PowerSuspend=0
+PowerThrottle=00%
+PowerThrottleEnabled=false
+PowerWait=20
+
+[ProfileDefault]
+BrightnessOffLevel=160
+BrightnessOnLevel=255
+EnableBrightnessOff=0
+EnableBrightnessOn=0
+EnablePerformanceOff=0
+EnablePerformanceOn=0
+EnableThrottleOff=0
+EnableThrottleOn=0
+PerformanceOffLevel=
+PerformanceOnLevel=
+ThrottleOffLevel=00%
+ThrottleOnLevel=00%
+
+[SoftwareSuspendDefault]
+EnableHibernate=false
diff --git a/redhat/core/tdeutils/klaptop_acpi_helper.console b/redhat/core/tdeutils/klaptop_acpi_helper.console
new file mode 100644
index 000000000..6a738ec88
--- /dev/null
+++ b/redhat/core/tdeutils/klaptop_acpi_helper.console
@@ -0,0 +1 @@
+FALLBACK=true
diff --git a/redhat/core/tdeutils/klaptop_acpi_helper.pam b/redhat/core/tdeutils/klaptop_acpi_helper.pam
new file mode 100644
index 000000000..321c2eefb
--- /dev/null
+++ b/redhat/core/tdeutils/klaptop_acpi_helper.pam
@@ -0,0 +1,4 @@
+#%PAM-1.0
+auth sufficient pam_rootok.so
+auth required pam_console.so
+account required pam_permit.so
diff --git a/redhat/core/tdeutils/tdeutils.spec b/redhat/core/tdeutils/tdeutils.spec
new file mode 100644
index 000000000..6ca4ab863
--- /dev/null
+++ b/redhat/core/tdeutils/tdeutils.spec
@@ -0,0 +1,1039 @@
+#
+# spec file for package tdeutils (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# BUILD WARNING:
+# Remove qt-devel and qt3-devel and any kde*-devel on your system !
+# Having KDE libraries may cause FTBFS here !
+
+# TDE variables
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdeutils
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
+%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_sbindir %{tde_prefix}/sbin
+%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-%{tde_pkg}
+Summary: TDE Utilities
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+Group: Applications/System
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Project
+#Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Source1: klaptop_acpi_helper.pam
+Source2: klaptop_acpi_helper.console
+Source3: kcmlaptoprc
+Source4: %{name}-rpmlintrc
+
+Obsoletes: trinity-kdeutils < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdeutils = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdeutils-extras < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdeutils-extras = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: tdeutils < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdeutils = %{?epoch:%{epoch}:}%{version}-%{release}
+
+BuildRequires: trinity-filesystem >= %{tde_version}
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-tdebase-devel >= %{tde_version}
+
+BuildRequires: trinity-cmake >= %{tde_version}
+BuildRequires: gcc-c++
+BuildRequires: pkgconfig
+BuildRequires: fdupes
+
+BuildRequires: gettext
+BuildRequires: net-snmp-devel
+BuildRequires: gmp-devel
+
+# PYTHON support
+%if 0%{?sle_version} >= 150400 || 0%{?rhel} >= 9
+%define python python3
+%define __python %__python3
+%else
+%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31
+%define python python2
+%define __python %__python2
+%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%else
+%define python python
+%endif
+%endif
+BuildRequires: %{python}
+BuildRequires: %{python}-devel
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+# XTST support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?mgaversion} >= 4
+%define xtst_devel %{_lib}xtst-devel
+%else
+%define xtst_devel %{_lib}xtst%{?mgaversion:6}-devel
+%endif
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+%define xtst_devel libXtst-devel
+%endif
+%{?xtst_devel:BuildRequires: %{xtst_devel}}
+
+# IDN support
+BuildRequires: libidn-devel
+
+# GAMIN support
+# Not on openSUSE.
+%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_gamin 1
+BuildRequires: gamin-devel
+%endif
+
+# PCRE support
+BuildRequires: pcre-devel
+
+# XMMS support
+#if 0#{?fedora}
+#BuildRequires: xmms-devel
+#endif
+
+# KLAPTOPDAEMON
+# Not for RHEL 4!
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define build_klaptopdaemon 1
+%endif
+
+# ACL support
+BuildRequires: libacl-devel
+
+# XSCREENSAVER support
+# RHEL 8: available in EPEL
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
+%define with_xscreensaver 1
+%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version}
+BuildRequires: libXScrnSaver-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?mgaversion} >= 4
+BuildRequires: %{_lib}xscrnsaver-devel
+%else
+BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
+%endif
+%endif
+%endif
+
+# OPENSSL support
+BuildRequires: openssl-devel
+
+# CONSOLEHELPER (usermode) support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_consolehelper 1
+
+# Avoids relinking, which breaks consolehelper
+%define dont_relink 1
+%endif
+
+%if "%{?tde_version}" == "14.1.0"
+%define build_tdefilereplace 1
+%endif
+
+Requires: trinity-ark = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kcalc = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kcharselect = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdelirc = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdessh = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kdf = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kedit = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kfloppy = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kgpg = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-khexedit = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kjots = %{?epoch:%{epoch}:}%{version}-%{release}
+%{?build_klaptopdaemon:Requires: trinity-klaptopdaemon = %{?epoch:%{epoch}:}%{version}-%{release}}
+Requires: trinity-kmilo = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kmilo-legacy = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kregexpeditor = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ksim = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-ktimer = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdewalletmanager = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-superkaramba = %{?epoch:%{epoch}:}%{version}-%{release}
+%if 0%{?build_tdefilereplace}
+Requires: trinity-tdefilereplace = %{?epoch:%{epoch}:}%{version}-%{release}
+%endif
+
+%description
+Utilities for the Trinity Desktop Environment, including:
+* ark (tar/gzip archive manager)
+* kcalc (scientific calculator)
+* kcharselect (character selector)
+* tdelirc (infrared control)
+* tdessh (ssh front end)
+* kdf (view disk usage)
+* kedit (simple text editor)
+* kfloppy (floppy formatting tool)
+* kgpg (gpg gui)
+* khexedit (hex editor)
+* kjots (note taker)
+%if 0%{?build_klaptopdaemon}
+* klaptopdaemon (battery monitoring and management for laptops);
+%endif
+* kmilo
+* kregexpeditor (regular expression editor)
+* ksim (system information monitor);
+* ktimer (task scheduler)
+* kwikdisk (removable media utility)
+* tdefilereplace: batch search and replace tool
+
+%files
+
+##########
+
+%package -n trinity-ark
+Summary: Graphical archiving tool for Trinity
+Group: Applications/Utilities
+#Requires: ncompress
+Requires: unzip
+Requires: zip
+#Requires: zoo
+Requires: bzip2
+#Requires: p7zip
+#Requires: xz
+#Requires: lzma
+#Requires: rar, unrar
+
+%description -n trinity-ark
+Ark is a graphical program for managing various archive formats within the
+TDE environment. Archives can be viewed, extracted, created and modified
+from within Ark.
+
+The program can handle various formats such as tar, gzip, bzip2, zip, rar and
+lha (if appropriate command-line programs are installed).
+
+Ark can work closely with Konqueror in the TDE environment to handle archives,
+if you install the Konqueror Integration plugin available in the konq-plugins
+package.
+
+%files -n trinity-ark
+%defattr(-,root,root,-)
+%{tde_bindir}/ark
+%{tde_tdelibdir}/ark.la
+%{tde_tdelibdir}/ark.so
+%{tde_tdelibdir}/libarkpart.la
+%{tde_tdelibdir}/libarkpart.so
+%{tde_libdir}/libtdeinit_ark.so
+%{tde_tdeappdir}/ark.desktop
+%{tde_datadir}/apps/ark/
+%{tde_datadir}/config.kcfg/ark.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/ark.png
+%{tde_datadir}/icons/hicolor/scalable/apps/ark.svgz
+%{tde_datadir}/services/ark_part.desktop
+%{tde_tdedocdir}/HTML/en/ark/
+%{tde_mandir}/man1/ark.1*
+
+##########
+
+%package -n trinity-kcalc
+Summary: Calculator for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kcalc
+KCalc is TDE's scientific calculator.
+
+It provides:
+* trigonometric functions, logic operations, and statistical calculations
+* easy cut and paste of numbers from/into its display
+* a results-stack which lets you conveniently recall previous results
+* configurable precision, and number of digits after the period
+
+%files -n trinity-kcalc
+%defattr(-,root,root,-)
+%{tde_bindir}/kcalc
+%{tde_tdelibdir}/kcalc.la
+%{tde_tdelibdir}/kcalc.so
+%{tde_libdir}/libtdeinit_kcalc.so
+%{tde_tdeappdir}/kcalc.desktop
+%{tde_datadir}/apps/kcalc/
+%{tde_datadir}/apps/tdeconf_update/kcalcrc.upd
+%{tde_datadir}/config.kcfg/kcalc.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kcalc.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kcalc.svgz
+%{tde_tdedocdir}/HTML/en/kcalc/
+%{tde_mandir}/man1/kcalc.1*
+
+##########
+
+%package -n trinity-kcharselect
+Summary: Character selector for Trinity
+Group: Applications/Utilities
+Requires: trinity-kicker
+
+%description -n trinity-kcharselect
+This package contains kcharselect, a character set selector for TDE.
+
+%files -n trinity-kcharselect
+%defattr(-,root,root,-)
+%{tde_bindir}/kcharselect
+%{tde_tdelibdir}/kcharselect_panelapplet.la
+%{tde_tdelibdir}/kcharselect_panelapplet.so
+%{tde_tdeappdir}/KCharSelect.desktop
+%{tde_datadir}/apps/kcharselect/
+%{tde_datadir}/apps/tdeconf_update/kcharselect.upd
+%{tde_datadir}/apps/kicker/applets/kcharselectapplet.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kcharselect.png
+%{tde_tdedocdir}/HTML/en/kcharselect/
+%{tde_mandir}/man1/kcharselect.1*
+
+##########
+
+%package -n trinity-tdelirc
+Summary: Infrared control for Trinity
+Group: Applications/Utilities
+Requires: trinity-filesystem
+
+Obsoletes: trinity-kdelirc < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdelirc = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-tdelirc
+This is a frontend for the LIRC suite to use infrared devices with TDE.
+
+%files -n trinity-tdelirc
+%defattr(-,root,root,-)
+%{tde_bindir}/irkick
+%{tde_tdelibdir}/irkick.la
+%{tde_tdelibdir}/irkick.so
+%{tde_tdelibdir}/kcm_kcmlirc.la
+%{tde_tdelibdir}/kcm_kcmlirc.so
+%{tde_libdir}/libtdeinit_irkick.so
+%{tde_tdeappdir}/irkick.desktop
+%{tde_tdeappdir}/kcmlirc.desktop
+%{tde_datadir}/apps/irkick/
+%{tde_datadir}/apps/profiles/tdelauncher.profile.xml
+%{tde_datadir}/apps/profiles/konqueror.profile.xml
+%{tde_datadir}/apps/profiles/noatun.profile.xml
+%{tde_datadir}/apps/profiles/profile.dtd
+%dir %{tde_datadir}/apps/remotes
+%{tde_datadir}/apps/remotes/RM-0010.remote.xml
+%{tde_datadir}/apps/remotes/cimr100.remote.xml
+%{tde_datadir}/apps/remotes/hauppauge.remote.xml
+%{tde_datadir}/apps/remotes/remote.dtd
+%{tde_datadir}/apps/remotes/sherwood.remote.xml
+%{tde_datadir}/apps/remotes/sonytv.remote.xml
+%{tde_datadir}/autostart/irkick.desktop
+%{tde_datadir}/icons/hicolor/*/apps/irkick.png
+%{tde_datadir}/icons/locolor/*/apps/irkick.png
+%{tde_tdedocdir}/HTML/en/irkick/
+%{tde_tdedocdir}/HTML/en/kcontrol/kcmlirc/
+
+##########
+
+%package -n trinity-tdessh
+Summary: Ssh frontend for Trinity
+Group: Applications/Utilities
+%if 0%{?suse_version}
+Requires: openssh
+%else
+Requires: openssh-clients
+%endif
+
+Obsoletes: trinity-kdessh < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdessh = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-tdessh
+This package contains TDE's frontend for ssh.
+
+%files -n trinity-tdessh
+%defattr(-,root,root,-)
+%{tde_bindir}/tdessh
+
+##########
+
+%package -n trinity-kdf
+Summary: Disk space utility for Trinity
+Group: Applications/Utilities
+Requires: trinity-kcontrol
+
+%description -n trinity-kdf
+KDiskFree displays the available file devices (hard drive partitions, floppy
+and CD drives, etc.) along with information on their capacity, free space, type
+and mount point. It also allows you to mount and unmount drives and view them
+in a file manager.
+
+%files -n trinity-kdf
+%defattr(-,root,root,-)
+%{tde_bindir}/kdf
+%{tde_bindir}/kwikdisk
+%{tde_tdelibdir}/kcm_kdf.la
+%{tde_tdelibdir}/kcm_kdf.so
+%{tde_tdeappdir}/kcmdf.desktop
+%{tde_tdeappdir}/kdf.desktop
+%{tde_tdeappdir}/kwikdisk.desktop
+%{tde_datadir}/apps/kdf/
+%{tde_datadir}/icons/hicolor/*/apps/kdf.png
+%{tde_datadir}/icons/hicolor/*/apps/kwikdisk.png
+%{tde_tdedocdir}/HTML/en/kdf/
+%{tde_tdedocdir}/HTML/en/kcontrol/storagedevices/
+%{tde_mandir}/man1/kdf.1*
+%{tde_mandir}/man1/kwikdisk.1*
+
+##########
+
+%package -n trinity-kedit
+Summary: Basic text editor for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kedit
+A simple text editor for TDE.
+
+It can be used with Konqueror for text and configuration file browsing.
+KEdit also serves well for creating small plain text documents. KEdit's
+functionality will intentionally remain rather limited to ensure a
+reasonably fast start.
+
+%files -n trinity-kedit
+%defattr(-,root,root,-)
+%{tde_bindir}/kedit
+%{tde_tdelibdir}/kedit.la
+%{tde_tdelibdir}/kedit.so
+%{tde_libdir}/libtdeinit_kedit.so
+%{tde_tdeappdir}/KEdit.desktop
+%{tde_datadir}/apps/kedit/
+%{tde_datadir}/config.kcfg/kedit.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kedit.png
+%{tde_tdedocdir}/HTML/en/kedit/
+%{tde_mandir}/man1/kedit.1*
+
+##########
+
+%package -n trinity-kfloppy
+Summary: Floppy formatter for Trinity
+Group: Applications/Utilities
+Requires: dosfstools
+
+%description -n trinity-kfloppy
+Kfloppy is a utility that provides a straightforward graphical means
+to format 3.5" and 5.25" floppy disks.
+
+%files -n trinity-kfloppy
+%defattr(-,root,root,-)
+%{tde_bindir}/kfloppy
+%{tde_tdeappdir}/KFloppy.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/floppy_format.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kfloppy.png
+%{tde_tdedocdir}/HTML/en/kfloppy/
+%{tde_mandir}/man1/kfloppy.1*
+
+##########
+
+%package -n trinity-kgpg
+Summary: GnuPG frontend for Trinity
+Group: Applications/Utilities
+Requires: trinity-konsole
+Requires: gnupg
+
+%description -n trinity-kgpg
+Kgpg is a frontend for GNU Privacy Guard (GnuPG). It provides file
+encryption, file decryption and key management.
+
+Features:
+* an editor mode for easily and quickly encrypting or decrypting a file
+ or message which is typed, copied, pasted or dragged into the editor,
+ or which is double-clicked in the file manager
+* Konqueror integration for encrypting or decrypting files
+* a panel applet for encrypting / decrypting files or the clipboard
+ contents, etc.
+* key management functions (generation, import, export, deletion and
+ signing)
+* decrypting clipboard contents, including integration with Klipper
+
+%files -n trinity-kgpg
+%defattr(-,root,root,-)
+%{tde_bindir}/kgpg
+%{tde_tdeappdir}/kgpg.desktop
+%{tde_datadir}/apps/kgpg/
+%{tde_datadir}/apps/konqueror/servicemenus/encryptfile.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/encryptfolder.desktop
+%{tde_datadir}/autostart/kgpg.desktop
+%{tde_datadir}/config.kcfg/kgpg.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kgpg.png
+%{tde_tdedocdir}/HTML/en/kgpg/
+%{tde_mandir}/man1/kgpg.1*
+
+##########
+
+%package -n trinity-khexedit
+Summary: Trinity hex editor
+Group: Applications/Utilities
+
+%description -n trinity-khexedit
+KHexEdit is an editor for the raw data of binary files. It includes
+find/replace functions, bookmarks, many configuration options, drag and drop
+support and other powerful features.
+
+%files -n trinity-khexedit
+%defattr(-,root,root,-)
+%{tde_bindir}/khexedit
+%{tde_tdelibdir}/libkbyteseditwidget.la
+%{tde_tdelibdir}/libkbyteseditwidget.so
+%{tde_tdelibdir}/libkhexedit2part.la
+%{tde_tdelibdir}/libkhexedit2part.so
+%{tde_libdir}/libkhexeditcommon.so.*
+%{tde_tdeappdir}/khexedit.desktop
+%{tde_datadir}/apps/khexedit/
+%{tde_datadir}/apps/khexedit2part/
+%{tde_datadir}/icons/hicolor/*/apps/khexedit.png
+%{tde_datadir}/services/kbyteseditwidget.desktop
+%{tde_datadir}/services/khexedit2part.desktop
+%{tde_tdedocdir}/HTML/en/khexedit/
+%{tde_mandir}/man1/khexedit.1*
+
+##########
+
+%package -n trinity-kjots
+Summary: Note taking utility for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kjots
+Kjots is a small note taker program. Name and idea are taken from the jots
+program included in the tkgoodstuff package.
+
+%files -n trinity-kjots
+%defattr(-,root,root,-)
+%{tde_bindir}/kjots
+%{tde_tdeappdir}/Kjots.desktop
+%{tde_datadir}/apps/kjots/
+%{tde_datadir}/config.kcfg/kjots.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kjots.png
+%{tde_tdedocdir}/HTML/en/kjots/
+
+##########
+
+%if 0%{?build_klaptopdaemon}
+
+%package -n trinity-klaptopdaemon
+Summary: Battery monitoring and management for laptops using Trinity
+Group: Applications/Utilities
+Requires: trinity-kcontrol
+
+%if 0%{?with_consolehelper}
+# package 'usermode' provides '/usr/bin/consolehelper-gtk'
+%if 0%{?rhel} || 0%{?fedora}
+Requires: usermode-gtk
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+Requires: usermode
+%endif
+%endif
+
+%description -n trinity-klaptopdaemon
+This package contains utilities to monitor batteries and configure
+power management, for laptops, from within TDE.
+
+%files -n trinity-klaptopdaemon
+%defattr(-,root,root,-)
+%{tde_bindir}/klaptop_acpi_helper
+%{tde_bindir}/klaptop_check
+%{tde_tdelibdir}/kcm_laptop.la
+%{tde_tdelibdir}/kcm_laptop.so
+%{tde_tdelibdir}/kded_klaptopdaemon.la
+%{tde_tdelibdir}/kded_klaptopdaemon.so
+%{tde_libdir}/libkcmlaptop.so.*
+%{tde_tdeappdir}/laptop.desktop
+%{tde_tdeappdir}/pcmcia.desktop
+%{tde_datadir}/apps/klaptopdaemon/
+%{tde_datadir}/icons/crystalsvg/*/apps/laptop_battery.png
+%{tde_datadir}/icons/crystalsvg/*/apps/laptop_pcmcia.png
+%{tde_datadir}/icons/crystalsvg/scalable/apps/laptop_battery.svgz
+%{tde_datadir}/services/kded/klaptopdaemon.desktop
+%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/
+%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/
+%{tde_tdedocdir}/HTML/en/kcontrol/laptop/
+%{tde_tdedocdir}/HTML/en/kcontrol/powerctrl/
+
+# ConsoleHelper support
+%if 0%{?with_consolehelper}
+%{_sysconfdir}/pam.d/klaptop_acpi_helper
+%attr(644,root,root) %{_sysconfdir}/security/console.apps/klaptop_acpi_helper
+%{tde_sbindir}/klaptop_acpi_helper
+%{_sbindir}/klaptop_acpi_helper
+%endif
+
+%config(noreplace) %{tde_confdir}/kcmlaptoprc
+
+%endif
+
+##########
+
+%package -n trinity-kmilo
+Summary: Laptop special keys support for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kmilo
+KMilo lets you use the special keys on some keyboards and laptops.
+
+Usually this includes volume keys and other features. Currently, KMilo
+comes with plugins for Powerbooks, Thinkpads, Vaios and generic keyboards
+with special keys.
+
+%files -n trinity-kmilo
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kded_kmilod.la
+%{tde_tdelibdir}/kded_kmilod.so
+%{tde_tdelibdir}/kmilo_generic.la
+%{tde_tdelibdir}/kmilo_generic.so
+%{tde_libdir}/libkmilo.so.*
+%{tde_datadir}/services/kded/kmilod.desktop
+%dir %{tde_datadir}/services/kmilo
+%{tde_datadir}/services/kmilo/kmilo_generic.desktop
+%dir %{tde_datadir}/servicetypes/kmilo
+%{tde_datadir}/servicetypes/kmilo/kmilopluginsvc.desktop
+
+##########
+
+%package -n trinity-kmilo-legacy
+Summary: Non-standard plugins for KMilo
+Group: Applications/Utilities
+Requires: trinity-kmilo = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kcontrol
+
+%description -n trinity-kmilo-legacy
+KMilo lets you use the special keys on some keyboards and laptops.
+
+Usually this includes volume keys and other features. Currently, KMilo
+comes with plugins for Powerbooks, Thinkpads and Vaios.
+
+The intention is that all laptops work with the generic kmilo
+plugin, if you need this package please file a bug.
+
+%files -n trinity-kmilo-legacy
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcm_kvaio.la
+%{tde_tdelibdir}/kcm_kvaio.so
+%{tde_tdelibdir}/kcm_thinkpad.la
+%{tde_tdelibdir}/kcm_thinkpad.so
+%{tde_tdelibdir}/kmilo_asus.la
+%{tde_tdelibdir}/kmilo_asus.so
+%{tde_tdelibdir}/kmilo_delli8k.la
+%{tde_tdelibdir}/kmilo_delli8k.so
+%{tde_tdelibdir}/kmilo_kvaio.la
+%{tde_tdelibdir}/kmilo_kvaio.so
+%{tde_tdelibdir}/kmilo_thinkpad.la
+%{tde_tdelibdir}/kmilo_thinkpad.so
+%{tde_tdeappdir}/kvaio.desktop
+%{tde_tdeappdir}/thinkpad.desktop
+%{tde_datadir}/services/kmilo/kmilo_asus.desktop
+%{tde_datadir}/services/kmilo/kmilo_delli8k.desktop
+%{tde_datadir}/services/kmilo/kmilo_kvaio.desktop
+%{tde_datadir}/services/kmilo/kmilo_thinkpad.desktop
+%{tde_tdedocdir}/HTML/en/kcontrol/kvaio/
+%{tde_tdedocdir}/HTML/en/kcontrol/thinkpad/
+
+##########
+
+%package -n trinity-kregexpeditor
+Summary: Graphical regular expression editor plugin for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kregexpeditor
+This package contains a graphical regular expression editor plugin for use
+with TDE. It let you draw your regular expression in an unambiguous way.
+
+%files -n trinity-kregexpeditor
+%defattr(-,root,root,-)
+%{tde_bindir}/kregexpeditor
+%{tde_tdelibdir}/libkregexpeditorgui.la
+%{tde_tdelibdir}/libkregexpeditorgui.so
+%{tde_libdir}/libkregexpeditorcommon.so.*
+%{tde_tdeappdir}/kregexpeditor.desktop
+%{tde_datadir}/apps/kregexpeditor/
+%{tde_datadir}/icons/hicolor/*/apps/kregexpeditor.png
+%{tde_datadir}/services/kregexpeditorgui.desktop
+%{tde_tdedocdir}/HTML/en/KRegExpEditor/
+
+##########
+
+%package -n trinity-ksim
+Summary: System information monitor for Trinity
+Group: Applications/Utilities
+Requires: trinity-kicker
+
+%description -n trinity-ksim
+KSim is a system monitor app which has its own plugin system with support
+for GKrellm skins. It allows users to follow uptime, memory usage, network
+connections, power, etc.
+
+%files -n trinity-ksim
+%defattr(-,root,root,-)
+%config(noreplace) %{tde_confdir}/ksim_panelextensionrc
+%{tde_tdelibdir}/ksim_*.la
+%{tde_tdelibdir}/ksim_*.so
+%{tde_libdir}/libksimcore.so.*
+%{tde_datadir}/apps/kicker/extensions/ksim.desktop
+%{tde_datadir}/apps/ksim/
+%{tde_tdedocdir}/HTML/en/ksim/
+%{tde_datadir}/icons/crystalsvg/*/apps/ksim.png
+%{tde_datadir}/icons/crystalsvg/*/devices/ksim_cpu.png
+
+##########
+
+%package -n trinity-ktimer
+Summary: Timer utility for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-ktimer
+This is a timer application for TDE. It allows you to execute commands after
+a certain amount of time. It supports looping commands as well as delayed
+command execution.
+
+%files -n trinity-ktimer
+%defattr(-,root,root,-)
+%{tde_bindir}/ktimer
+%{tde_tdeappdir}/ktimer.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ktimer.png
+%{tde_tdedocdir}/HTML/en/ktimer/
+
+##########
+
+%package -n trinity-tdewalletmanager
+Summary: Wallet manager for Trinity
+Group: Applications/Utilities
+
+Obsoletes: trinity-kwalletmanager < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kwalletmanager = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-tdewalletmanager
+This program keeps various wallets for any kind of data that the user can
+store encrypted with passwords and can also serve as a password manager that
+keeps a master password to all wallets.
+
+%files -n trinity-tdewalletmanager
+%defattr(-,root,root,-)
+%{tde_bindir}/tdewalletmanager
+%{tde_tdelibdir}/kcm_tdewallet.la
+%{tde_tdelibdir}/kcm_tdewallet.so
+%{tde_tdeappdir}/tdewalletconfig.desktop
+%{tde_tdeappdir}/tdewalletmanager.desktop
+%{tde_tdeappdir}/tdewalletmanager-tdewalletd.desktop
+%{tde_datadir}/apps/tdewalletmanager/
+%{tde_datadir}/icons/hicolor/*/apps/tdewalletmanager.png
+%{tde_datadir}/services/tdewallet_config.desktop
+%{tde_datadir}/services/tdewalletmanager_show.desktop
+%{tde_tdedocdir}/HTML/en/tdewallet/
+
+##########
+
+%package -n trinity-superkaramba
+Summary: A program based on karamba improving the eyecandy of TDE
+Group: Applications/Utilities
+
+%description -n trinity-superkaramba
+SuperKaramba is a tool based on karamba that allows anyone to easily create
+and run little interactive widgets on a TDE desktop. Widgets are defined in a
+simple text file and can be augmented with Python code to make them
+interactive.
+
+Here are just some examples of the things that can be done:
+* Display system information such as CPU Usage, MP3 playing, etc.
+* Create cool custom toolbars that work any way imaginable.
+* Create little games or virtual pets that live on your desktop.
+* Display information from the internet, such as weather and headlines.
+
+%files -n trinity-superkaramba
+%defattr(-,root,root,-)
+%{tde_bindir}/superkaramba
+%{tde_tdeappdir}/superkaramba.desktop
+%{tde_datadir}/apps/superkaramba/
+%{tde_datadir}/icons/crystalsvg/*/apps/superkaramba.png
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/superkaramba_theme.png
+%{tde_datadir}/icons/crystalsvg/scalable/apps/superkaramba.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/superkaramba_theme.svgz
+%{tde_datadir}/mimelnk/application/x-superkaramba.desktop
+%{tde_tdedocdir}/HTML/en/superkaramba/
+%{tde_mandir}/man1/superkaramba.1*
+
+##########
+
+%if 0%{?build_tdefilereplace}
+
+%package -n trinity-tdefilereplace
+Summary: Batch search-and-replace component for TDE
+Group: Applications/Utilities
+
+Obsoletes: trinity-kfilereplace < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kfilereplace = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-tdefilereplace
+TDEFileReplace is an embedded component for TDE that acts as a batch
+search-and-replace tool. It allows you to replace one expression with
+another in many files at once.
+
+Note that at the moment TDEFileReplace does not come as a standalone
+application.
+
+This package is part of Trinity, as a component of the TDE utilities module.
+
+%files -n trinity-tdefilereplace
+%defattr(-,root,root,-)
+%{tde_bindir}/tdefilereplace
+%{tde_tdelibdir}/libtdefilereplacepart.la
+%{tde_tdelibdir}/libtdefilereplacepart.so
+%{tde_tdeappdir}/tdefilereplace.desktop
+%{tde_datadir}/apps/tdefilereplace/
+%{tde_datadir}/apps/tdefilereplacepart/
+%{tde_tdedocdir}/HTML/en/tdefilereplace/
+%{tde_datadir}/icons/hicolor/*/apps/tdefilereplace.png
+%{tde_datadir}/services/tdefilereplacepart.desktop
+
+%endif
+
+##########
+
+# afaik, nobody BR's it, and it pulls kdeutils into multilib -- Rex
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-tdelibs-devel
+
+Obsoletes: trinity-kdeutils-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdeutils-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: tdeutils-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: tdeutils-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description devel
+This package contains the development files for tdeutils.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/*
+%if 0%{?build_klaptopdaemon}
+%{tde_libdir}/libkcmlaptop.la
+%{tde_libdir}/libkcmlaptop.so
+%endif
+%{tde_libdir}/libtdeinit_ark.la
+%{tde_libdir}/libtdeinit_irkick.la
+%{tde_libdir}/libtdeinit_kcalc.la
+%{tde_libdir}/libtdeinit_kedit.la
+%{tde_libdir}/libkmilo.la
+%{tde_libdir}/libkmilo.so
+%{tde_libdir}/libkregexpeditorcommon.la
+%{tde_libdir}/libkregexpeditorcommon.so
+%{tde_libdir}/libksimcore.la
+%{tde_libdir}/libksimcore.so
+%{tde_libdir}/libkhexeditcommon.la
+%{tde_libdir}/libkhexeditcommon.so
+%{tde_datadir}/cmake/libksimcore.cmake
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%if 0%{?rhel} == 5
+# Reverts some older Python stuff
+%__sed -i "superkaramba/src/"*".cpp" \
+ -e "s|PyBytes_CheckExact|PyString_CheckExact|g" \
+ -e "s|PyBytes_AsString|PyString_AsString|g" \
+ -e "s|PyBytes_FromString|PyString_FromString|g" \
+%endif
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+
+# Shitty hack for RHEL4 ...
+if [ -d "/usr/X11R6" ]; then
+ export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}"
+ export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=OFF \
+ \
+ -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
+ -DBIN_INSTALL_DIR="%{tde_bindir}" \
+ -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
+ -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}" \
+ \
+ -DWITH_DPMS=ON \
+ %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \
+ -DWITH_ASUS=ON \
+ -DWITH_POWERBOOK=OFF \
+ -DWITH_POWERBOOK2=OFF \
+ -DWITH_VAIO=ON \
+ -DWITH_THINKPAD=ON \
+ -DWITH_I8K=ON \
+ -DWITH_SNMP=ON \
+ -DWITH_SENSORS=ON \
+ -DWITH_XMMS=ON \
+ -DWITH_TDENEWSTUFF=ON \
+ -DBUILD_ALL=ON \
+ %{?!build_klaptopdaemon:-DBUILD_KLAPTOPDAEMON=OFF} \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{?buildroot} -C build
+
+%if 0%{?build_klaptopdaemon}
+### Use consolehelper for 'klaptop_acpi_helper'
+%if 0%{?with_consolehelper}
+# Install configuration files
+%__install -p -D -m 644 "%{SOURCE1}" "%{buildroot}%{_sysconfdir}/pam.d/klaptop_acpi_helper"
+%__install -p -D -m 644 "%{SOURCE2}" "%{buildroot}%{_sysconfdir}/security/console.apps/klaptop_acpi_helper"
+# Moves the actual binary from 'bin' to 'sbin'
+%__mkdir_p "%{buildroot}%{tde_sbindir}" "%{buildroot}%{_sbindir}"
+%__mv "%{buildroot}%{tde_bindir}/klaptop_acpi_helper" "%{buildroot}%{tde_sbindir}"
+# Links to consolehelper
+%__ln_s "%{_bindir}/consolehelper" "%{buildroot}%{tde_bindir}/klaptop_acpi_helper"
+# Put another symlink under '/usr', otherwise consolehelper does not work
+%if "%{tde_prefix}" != "/usr"
+%__ln_s "%{tde_sbindir}/klaptop_acpi_helper" "%{?buildroot}%{_sbindir}/klaptop_acpi_helper"
+%endif
+%endif
+
+# klaptop settings file
+%__install -p -D -m 644 "%{SOURCE3}" "%{buildroot}%{tde_confdir}/kcmlaptoprc"
+
+%else
+
+# Klaptop's documentation is installed even if we did not build the program ...
+%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/
+%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/
+%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/laptop/
+%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/powerctrl/
+
+%endif
+
+# Fix desktop shortcut location
+if [ -d "%{?buildroot}%{tde_datadir}/applnk" ]; then
+ %__mkdir_p "%{?buildroot}%{tde_tdeappdir}"
+ %__mv "%{?buildroot}%{tde_datadir}/applnk/Utilities/superkaramba.desktop" "%{?buildroot}%{tde_tdeappdir}/superkaramba.desktop"
+ %__rm -rf "%{?buildroot}%{tde_datadir}/applnk"
+fi
+
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file KEdit Utility TextEditor
+%suse_update_desktop_file superkaramba Utility DesktopUtility
+%suse_update_desktop_file KCharSelect Utility Accessibility
+%suse_update_desktop_file khexedit Utility Editor
+%suse_update_desktop_file Kjots Utility TimeUtility
+%suse_update_desktop_file ktimer Utility TimeUtility
+%suse_update_desktop_file kwikdisk System Applet
+%suse_update_desktop_file kdf System Filesystem
+%suse_update_desktop_file ark System Archiving
+%suse_update_desktop_file kcalc Utility Calculator
+%suse_update_desktop_file kgpg Utility Security
+%suse_update_desktop_file irkick Applet
+%suse_update_desktop_file tdewalletmanager Applet
+%suse_update_desktop_file kregexpeditor Utility Editor
+%suse_update_desktop_file kcmdf
+%suse_update_desktop_file kcmlirc
+%suse_update_desktop_file tdewalletconfig
+%suse_update_desktop_file thinkpad
+%suse_update_desktop_file kvaio
+%suse_update_desktop_file KFloppy System Filesystem
+%if 0%{?build_tdefilereplace}
+%suse_update_desktop_file -r tdefilereplace System FileManager
+%endif
+%endif
+
+# Icons from TDE Control Center should only be displayed in TDE
+for i in %{?buildroot}%{tde_tdeappdir}/*.desktop ; do
+ if grep -q "^Categories=.*X-TDE-settings" "${i}"; then
+ if ! grep -q "OnlyShowIn=TDE" "${i}" ; then
+ echo "OnlyShowIn=TDE;" >>"${i}"
+ fi
+ fi
+done
+
+# Other TDE-only apps
+echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/thinkpad.desktop"
+echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kcmlirc.desktop"
+echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kvaio.desktop"
+echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kcmdf.desktop"
+echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/tdewalletconfig.desktop"
+echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/khexedit.desktop"
+echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kregexpeditor.desktop"
+echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kgpg.desktop"
+echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/Kjots.desktop"
+
+# Links duplicate files
+%fdupes "%{?buildroot}%{tde_datadir}"
+
+
+%clean
+%__rm -rf "%{?buildroot}"
+
+
+%changelog
diff --git a/redhat/core/tdeutils/trinity-tdeutils-rpmlintrc b/redhat/core/tdeutils/trinity-tdeutils-rpmlintrc
new file mode 100644
index 000000000..529351884
--- /dev/null
+++ b/redhat/core/tdeutils/trinity-tdeutils-rpmlintrc
@@ -0,0 +1,2 @@
+setBadness('library-without-ldconfig-postun', 0)
+setBadness('library-without-ldconfig-postin', 0)
diff --git a/redhat/core/tdevelop/tdevelop.spec b/redhat/core/tdevelop/tdevelop.spec
new file mode 100644
index 000000000..a9a08187e
--- /dev/null
+++ b/redhat/core/tdevelop/tdevelop.spec
@@ -0,0 +1,675 @@
+#
+# spec file for package tdevelop (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# BUILD WARNING:
+# Remove qt-devel and qt3-devel and any kde*-devel on your system !
+# Having KDE libraries may cause FTBFS here !
+
+# TDE variables
+%define tde_epoch 2
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdevelop
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
+%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-%{tde_pkg}
+Summary: Integrated Development Environment for C++/C
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+Group: Development/Tools
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Project
+#Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Source1: %{name}-rpmlintrc
+
+Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release}
+
+BuildRequires: tqt3-apps-devel >= 3.5.0
+BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-tdebase-devel >= %{tde_version}
+BuildRequires: trinity-tdesdk-devel >= %{tde_version}
+
+Obsoletes: trinity-kdevelop < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdevelop = %{?epoch:%{epoch}:}%{version}-%{release}
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+BuildRequires: trinity-cmake >= %{tde_version}
+BuildRequires: gcc-c++
+BuildRequires: fdupes
+BuildRequires: desktop-file-utils
+BuildRequires: make
+
+Requires: make
+Requires: perl
+Requires: tqt3-designer >= 3.5.0
+Requires: libtqt3-mt-devel >= 3.5.0
+Requires: gettext
+Requires: ctags
+
+
+# LIBIDN support
+BuildRequires: libidn-devel
+
+# GAMIN support
+# Not on openSUSE.
+%if ( 0%{?rhel} && 0%{?rhel} <= 8 ) || ( 0%{?fedora} && 0%{?fedora} <= 33 ) || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_gamin 1
+BuildRequires: gamin-devel
+%endif
+
+# PCRE support
+BuildRequires: pcre-devel
+
+# DB5 support
+%if 0%{?rhel} >= 8 || 0%{?fedora} >= 33
+BuildRequires: libdb-devel
+
+%else
+# DB4 support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+#BuildRequires: %{_lib}db4.8-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: db4-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libdb-4_8-devel
+%endif
+%endif
+
+# FLEX support
+BuildRequires: flex
+Requires: flex >= 2.5.4
+
+# SVN support
+BuildRequires: subversion-devel
+
+# NEON support
+BuildRequires: neon-devel
+
+# OPENLDAP support
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: openldap-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: openldap2-devel
+%endif
+%if 0%{?rhel} == 5
+BuildRequires: openldap24-libs-devel
+%endif
+
+# LIBACL support
+%if 0%{?suse_version} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: libacl-devel
+%endif
+
+# OPENSSL support
+BuildRequires: openssl-devel
+
+# PYTHON support
+%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 || 0%{?mgaversion} >= 8
+%global python python2
+%global __python python2
+%else
+%global __python python2
+%endif
+
+
+%description
+The TDevelop Integrated Development Environment provides many features
+that developers need as well as providing a unified interface to programs
+like gdb, the C/C++ compiler, and make. TDevelop manages or provides:
+
+All development tools needed for C++ programming like Compiler,
+Linker, automake and autoconf; KAppWizard, which generates complete,
+ready-to-go sample applications; Classgenerator, for creating new
+classes and integrating them into the current project; File management
+for sources, headers, documentation etc. to be included in the
+project; The creation of User-Handbooks written with SGML and the
+automatic generation of HTML-output with the KDE look and feel;
+Automatic HTML-based API-documentation for your project's classes with
+cross-references to the used libraries; Internationalization support
+for your application, allowing translators to easily add their target
+language to a project;
+
+tdevelop also includes WYSIWYG (What you see is what you get)-creation
+of user interfaces with a built-in dialog editor; Debugging your
+application by integrating KDbg; Editing of project-specific pixmaps
+with KIconEdit; The inclusion of any other program you need for
+development by adding it to the "Tools"-menu according to your
+individual needs.
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/kdevassistant
+%{tde_bindir}/kdevdesigner
+%{tde_bindir}/tdevelop
+%{tde_bindir}/tdevelop-htdig
+%{tde_bindir}/kdevprj2kdevelop
+%{tde_bindir}/kdevprofileeditor
+%{tde_libdir}/tdeconf_update_bin/kdev-gen-settings-tdeconf_update
+%config(noreplace) %{tde_confdir}/kdevassistantrc
+%config(noreplace) %{tde_confdir}/tdeveloprc
+%{tde_tdeappdir}/kdevassistant.desktop
+%{tde_tdeappdir}/kdevdesigner.desktop
+%{tde_tdeappdir}/tdevelop.desktop
+%{tde_tdeappdir}/tdevelop_c_cpp.desktop
+%{tde_tdeappdir}/tdevelop_kde_cpp.desktop
+%{tde_tdeappdir}/tdevelop_ruby.desktop
+%{tde_tdeappdir}/tdevelop_scripting.desktop
+%{tde_tdelibdir}/tdeio_chm.la
+%{tde_tdelibdir}/tdeio_chm.so
+%{tde_tdelibdir}/tdeio_csharpdoc.la
+%{tde_tdelibdir}/tdeio_csharpdoc.so
+%{tde_tdelibdir}/tdeio_perldoc.la
+%{tde_tdelibdir}/tdeio_perldoc.so
+%{tde_tdelibdir}/tdeio_pydoc.la
+%{tde_tdelibdir}/tdeio_pydoc.so
+%{tde_tdelibdir}/libdocchmplugin.la
+%{tde_tdelibdir}/libdocchmplugin.so
+%{tde_tdelibdir}/libdoccustomplugin.la
+%{tde_tdelibdir}/libdoccustomplugin.so
+%{tde_tdelibdir}/libdocdevhelpplugin.la
+%{tde_tdelibdir}/libdocdevhelpplugin.so
+%{tde_tdelibdir}/libdocdoxygenplugin.la
+%{tde_tdelibdir}/libdocdoxygenplugin.so
+%{tde_tdelibdir}/libdockdevtocplugin.la
+%{tde_tdelibdir}/libdockdevtocplugin.so
+%{tde_tdelibdir}/libdocqtplugin.la
+%{tde_tdelibdir}/libdocqtplugin.so
+%{tde_tdelibdir}/libkchmpart.la
+%{tde_tdelibdir}/libkchmpart.so
+%{tde_tdelibdir}/libkdevabbrev.la
+%{tde_tdelibdir}/libkdevabbrev.so
+%{tde_tdelibdir}/libkdevadaproject.la
+%{tde_tdelibdir}/libkdevadaproject.so
+%{tde_tdelibdir}/libkdevadasupport.la
+%{tde_tdelibdir}/libkdevadasupport.so
+%{tde_tdelibdir}/libkdevantproject.la
+%{tde_tdelibdir}/libkdevantproject.so
+%{tde_tdelibdir}/libkdevappview.la
+%{tde_tdelibdir}/libkdevappview.so
+%{tde_tdelibdir}/libkdevappwizard.la
+%{tde_tdelibdir}/libkdevappwizard.so
+%{tde_tdelibdir}/libkdevastyle.la
+%{tde_tdelibdir}/libkdevastyle.so
+%{tde_tdelibdir}/libkdevautoproject.la
+%{tde_tdelibdir}/libkdevautoproject.so
+%{tde_tdelibdir}/libkdevbashsupport.la
+%{tde_tdelibdir}/libkdevbashsupport.so
+%{tde_tdelibdir}/libkdevbookmarks.la
+%{tde_tdelibdir}/libkdevbookmarks.so
+%{tde_tdelibdir}/libkdevclassview.la
+%{tde_tdelibdir}/libkdevclassview.so
+%{tde_tdelibdir}/libkdevcppsupport.la
+%{tde_tdelibdir}/libkdevcppsupport.so
+%{tde_tdelibdir}/libkdevcsharpsupport.la
+%{tde_tdelibdir}/libkdevcsharpsupport.so
+%{tde_tdelibdir}/libkdevctags2.la
+%{tde_tdelibdir}/libkdevctags2.so
+%{tde_tdelibdir}/libkdevcustompcsimporter.la
+%{tde_tdelibdir}/libkdevcustompcsimporter.so
+%{tde_tdelibdir}/libkdevcustomproject.la
+%{tde_tdelibdir}/libkdevcustomproject.so
+%{tde_tdelibdir}/libkdevdccoptions.la
+%{tde_tdelibdir}/libkdevdccoptions.so
+%{tde_tdelibdir}/libkdevdebugger.la
+%{tde_tdelibdir}/libkdevdebugger.so
+%{tde_tdelibdir}/libkdevdesignerpart.la
+%{tde_tdelibdir}/libkdevdesignerpart.so
+%{tde_tdelibdir}/libkdevdiff.la
+%{tde_tdelibdir}/libkdevdiff.so
+%{tde_tdelibdir}/libkdevdistpart.la
+%{tde_tdelibdir}/libkdevdistpart.so
+%{tde_tdelibdir}/libkdevdocumentation.la
+%{tde_tdelibdir}/libkdevdocumentation.so
+%{tde_tdelibdir}/libkdevdoxygen.la
+%{tde_tdelibdir}/libkdevdoxygen.so
+%{tde_tdelibdir}/libkdeveditorchooser.la
+%{tde_tdelibdir}/libkdeveditorchooser.so
+%{tde_tdelibdir}/libkdevfilecreate.la
+%{tde_tdelibdir}/libkdevfilecreate.so
+%{tde_tdelibdir}/libkdevfilegroups.la
+%{tde_tdelibdir}/libkdevfilegroups.so
+%{tde_tdelibdir}/libkdevfilelist.la
+%{tde_tdelibdir}/libkdevfilelist.so
+%{tde_tdelibdir}/libkdevfileselector.la
+%{tde_tdelibdir}/libkdevfileselector.so
+%{tde_tdelibdir}/libkdevfileview.la
+%{tde_tdelibdir}/libkdevfileview.so
+%{tde_tdelibdir}/libkdevfilter.la
+%{tde_tdelibdir}/libkdevfilter.so
+%{tde_tdelibdir}/libkdevfortransupport.la
+%{tde_tdelibdir}/libkdevfortransupport.so
+%{tde_tdelibdir}/libkdevfpcoptions.la
+%{tde_tdelibdir}/libkdevfpcoptions.so
+%{tde_tdelibdir}/libkdevfullscreen.la
+%{tde_tdelibdir}/libkdevfullscreen.so
+%{tde_tdelibdir}/libkdevgccoptions.la
+%{tde_tdelibdir}/libkdevgccoptions.so
+%{tde_tdelibdir}/libkdevgrepview.la
+%{tde_tdelibdir}/libkdevgrepview.so
+%{tde_tdelibdir}/libkdevjavasupport.la
+%{tde_tdelibdir}/libkdevjavasupport.so
+%{tde_tdelibdir}/libkdevtdelibsimporter.la
+%{tde_tdelibdir}/libkdevtdelibsimporter.so
+%{tde_tdelibdir}/libkdevkonsoleview.la
+%{tde_tdelibdir}/libkdevkonsoleview.so
+%{tde_tdelibdir}/libkdevmakeview.la
+%{tde_tdelibdir}/libkdevmakeview.so
+%{tde_tdelibdir}/libkdevopenwith.la
+%{tde_tdelibdir}/libkdevopenwith.so
+%{tde_tdelibdir}/libkdevpartexplorer.la
+%{tde_tdelibdir}/libkdevpartexplorer.so
+%{tde_tdelibdir}/libkdevpascalproject.la
+%{tde_tdelibdir}/libkdevpascalproject.so
+%{tde_tdelibdir}/libkdevpascalsupport.la
+%{tde_tdelibdir}/libkdevpascalsupport.so
+%{tde_tdelibdir}/libkdevperlsupport.la
+%{tde_tdelibdir}/libkdevperlsupport.so
+%{tde_tdelibdir}/libkdevpgioptions.la
+%{tde_tdelibdir}/libkdevpgioptions.so
+%{tde_tdelibdir}/libkdevphpsupport.la
+%{tde_tdelibdir}/libkdevphpsupport.so
+%{tde_tdelibdir}/libkdevpythonsupport.la
+%{tde_tdelibdir}/libkdevpythonsupport.so
+%{tde_tdelibdir}/libkdevqt4importer.la
+%{tde_tdelibdir}/libkdevqt4importer.so
+%{tde_tdelibdir}/libkdevqtimporter.la
+%{tde_tdelibdir}/libkdevqtimporter.so
+%{tde_tdelibdir}/libkdevquickopen.la
+%{tde_tdelibdir}/libkdevquickopen.so
+%{tde_tdelibdir}/libkdevrbdebugger.la
+%{tde_tdelibdir}/libkdevrbdebugger.so
+%{tde_tdelibdir}/libkdevregexptest.la
+%{tde_tdelibdir}/libkdevregexptest.so
+%{tde_tdelibdir}/libkdevreplace.la
+%{tde_tdelibdir}/libkdevreplace.so
+%{tde_tdelibdir}/libkdevrubysupport.la
+%{tde_tdelibdir}/libkdevrubysupport.so
+%{tde_tdelibdir}/libkdevscripting.la
+%{tde_tdelibdir}/libkdevscripting.so
+%{tde_tdelibdir}/libkdevscriptproject.la
+%{tde_tdelibdir}/libkdevscriptproject.so
+%{tde_tdelibdir}/libkdevsnippet.la
+%{tde_tdelibdir}/libkdevsnippet.so
+%{tde_tdelibdir}/libkdevsqlsupport.la
+%{tde_tdelibdir}/libkdevsqlsupport.so
+%{tde_tdelibdir}/libkdevtexttools.la
+%{tde_tdelibdir}/libkdevtexttools.so
+%{tde_tdelibdir}/libkdevtipofday.la
+%{tde_tdelibdir}/libkdevtipofday.so
+%{tde_tdelibdir}/libkdevtools.la
+%{tde_tdelibdir}/libkdevtools.so
+%{tde_tdelibdir}/libkdevtrollproject.la
+%{tde_tdelibdir}/libkdevtrollproject.so
+%{tde_tdelibdir}/libkdevuichooser.la
+%{tde_tdelibdir}/libkdevuichooser.so
+%{tde_tdelibdir}/libkdevvalgrind.la
+%{tde_tdelibdir}/libkdevvalgrind.so
+%{tde_tdelibdir}/libkdevvcsmanager.la
+%{tde_tdelibdir}/libkdevvcsmanager.so
+%{tde_datadir}/apps/tdeconf_update/
+%{tde_datadir}/apps/kdevabbrev/
+%{tde_datadir}/apps/kdevadaproject/
+%{tde_datadir}/apps/kdevadasupport/
+%{tde_datadir}/apps/kdevantproject/
+%{tde_datadir}/apps/kdevappoutputview/
+%{tde_datadir}/apps/kdevappwizard/
+%{tde_datadir}/apps/kdevassistant/
+%{tde_datadir}/apps/kdevastyle/
+%{tde_datadir}/apps/kdevautoproject/
+%{tde_datadir}/apps/kdevbashsupport/
+%{tde_datadir}/apps/kdevclassview/
+%{tde_datadir}/apps/kdevcppsupport/
+%{tde_datadir}/icons/hicolor/*/actions/breakpoint_add.png
+%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete.png
+%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete_all.png
+%{tde_datadir}/icons/hicolor/*/actions/breakpoint_edit.png
+%{tde_datadir}/icons/hicolor/*/actions/ktip.png
+%{tde_datadir}/icons/hicolor/*/apps/kdevassistant.png
+%{tde_datadir}/icons/hicolor/*/apps/kdevdesigner.png
+%{tde_datadir}/icons/hicolor/*/apps/tdevelop.png
+%{tde_datadir}/icons/locolor/*/actions/tdevelop_tip.png
+%{tde_datadir}/mimelnk/application/x-tdevelop.desktop
+%{tde_datadir}/services/chm.protocol
+%{tde_datadir}/services/csharpdoc.protocol
+%{tde_datadir}/services/docchmplugin.desktop
+%{tde_datadir}/services/doccustomplugin.desktop
+%{tde_datadir}/services/docdevhelpplugin.desktop
+%{tde_datadir}/services/docdoxygenplugin.desktop
+%{tde_datadir}/services/dockdevtocplugin.desktop
+%{tde_datadir}/services/docqtplugin.desktop
+%{tde_datadir}/services/kchmpart.desktop
+%{tde_datadir}/services/kdevabbrev.desktop
+%{tde_datadir}/services/kdevadaproject.desktop
+%{tde_datadir}/services/kdevadasupport.desktop
+%{tde_datadir}/services/kdevantproject.desktop
+%{tde_datadir}/services/kdevappoutputview.desktop
+%{tde_datadir}/services/kdevappwizard.desktop
+%{tde_datadir}/services/kdevastyle.desktop
+%{tde_datadir}/services/kdevautoproject.desktop
+%{tde_datadir}/services/kdevbashsupport.desktop
+%{tde_datadir}/services/kdevbookmarks.desktop
+%{tde_datadir}/services/kdevclassview.desktop
+%{tde_datadir}/services/kdevcppsupport.desktop
+%{tde_datadir}/services/kdevcsharpsupport.desktop
+%{tde_datadir}/services/kdevcsupport.desktop
+%{tde_datadir}/services/kdevctags2.desktop
+%{tde_datadir}/services/kdevcustomproject.desktop
+%{tde_datadir}/services/kdevdccoptions.desktop
+%{tde_datadir}/services/kdevdebugger.desktop
+%{tde_datadir}/services/kdevdesigner_part.desktop
+%{tde_datadir}/services/kdevdiff.desktop
+%{tde_datadir}/services/kdevdistpart.desktop
+%{tde_datadir}/services/kdevdocumentation.desktop
+%{tde_datadir}/services/kdevdoxygen.desktop
+%{tde_datadir}/services/kdeveditorchooser.desktop
+%{tde_datadir}/services/kdevfilecreate.desktop
+%{tde_datadir}/services/kdevfilegroups.desktop
+%{tde_datadir}/services/kdevfilelist.desktop
+%{tde_datadir}/services/kdevfileselector.desktop
+%{tde_datadir}/services/kdevfileview.desktop
+%{tde_datadir}/services/kdevfilter.desktop
+%{tde_datadir}/services/kdevfortransupport.desktop
+%{tde_datadir}/services/kdevfpcoptions.desktop
+%{tde_datadir}/services/kdevfullscreen.desktop
+%{tde_datadir}/services/kdevg77options.desktop
+%{tde_datadir}/services/kdevgccoptions.desktop
+%{tde_datadir}/services/kdevgppoptions.desktop
+%{tde_datadir}/services/kdevgrepview.desktop
+%{tde_datadir}/services/kdevjavasupport.desktop
+%{tde_datadir}/services/kdevtdeautoproject.desktop
+%{tde_datadir}/services/kdevtdelibsimporter.desktop
+%{tde_datadir}/services/kdevkonsoleview.desktop
+%{tde_datadir}/services/kdevmakeview.desktop
+%{tde_datadir}/services/kdevopenwith.desktop
+%{tde_datadir}/services/kdevpartexplorer.desktop
+%{tde_datadir}/services/kdevpascalproject.desktop
+%{tde_datadir}/services/kdevpascalsupport.desktop
+%{tde_datadir}/services/kdevpcscustomimporter.desktop
+%{tde_datadir}/services/kdevperlsupport.desktop
+%{tde_datadir}/services/kdevpgf77options.desktop
+%{tde_datadir}/services/kdevpghpfoptions.desktop
+%{tde_datadir}/services/kdevphpsupport.desktop
+%{tde_datadir}/services/kdevpythonsupport.desktop
+%{tde_datadir}/services/kdevqt4importer.desktop
+%{tde_datadir}/services/kdevqtimporter.desktop
+%{tde_datadir}/services/kdevquickopen.desktop
+%{tde_datadir}/services/kdevrbdebugger.desktop
+%{tde_datadir}/services/kdevregexptest.desktop
+%{tde_datadir}/services/kdevreplace.desktop
+%{tde_datadir}/services/kdevrubysupport.desktop
+%{tde_datadir}/services/kdevscripting.desktop
+%{tde_datadir}/services/kdevscriptproject.desktop
+%{tde_datadir}/services/kdevsnippet.desktop
+%{tde_datadir}/services/kdevsqlsupport.desktop
+%{tde_datadir}/services/kdevtexttools.desktop
+%{tde_datadir}/services/kdevtipofday.desktop
+%{tde_datadir}/services/kdevtmakeproject.desktop
+%{tde_datadir}/services/kdevtools.desktop
+%{tde_datadir}/services/kdevtrollproject.desktop
+%{tde_datadir}/services/kdevuichooser.desktop
+%{tde_datadir}/services/kdevvalgrind.desktop
+%{tde_datadir}/services/kdevvcsmanager.desktop
+%{tde_datadir}/services/perldoc.protocol
+%{tde_datadir}/services/pydoc.protocol
+%{tde_datadir}/servicetypes/tdevelopappfrontend.desktop
+%{tde_datadir}/servicetypes/tdevelopcodebrowserfrontend.desktop
+%{tde_datadir}/servicetypes/tdevelopcompileroptions.desktop
+%{tde_datadir}/servicetypes/tdevelopcreatefile.desktop
+%{tde_datadir}/servicetypes/tdevelopdifffrontend.desktop
+%{tde_datadir}/servicetypes/tdevelopdocumentationplugins.desktop
+%{tde_datadir}/servicetypes/tdeveloplanguagesupport.desktop
+%{tde_datadir}/servicetypes/tdevelopmakefrontend.desktop
+%{tde_datadir}/servicetypes/tdeveloppcsimporter.desktop
+%{tde_datadir}/servicetypes/tdevelopplugin.desktop
+%{tde_datadir}/servicetypes/tdevelopproject.desktop
+%{tde_datadir}/servicetypes/tdevelopquickopen.desktop
+%{tde_datadir}/servicetypes/tdevelopsourceformatter.desktop
+%{tde_datadir}/servicetypes/tdevelopvcsintegrator.desktop
+%{tde_datadir}/servicetypes/tdevelopversioncontrol.desktop
+%{tde_datadir}/apps/kdevcsharpsupport/
+%{tde_datadir}/apps/kdevctags2/
+%{tde_datadir}/apps/kdevcustomproject/
+%{tde_datadir}/apps/kdevdebugger/
+%{tde_datadir}/apps/kdevdesigner/
+%{tde_datadir}/apps/kdevdesignerpart/
+%{tde_datadir}/apps/kdevdiff/
+%{tde_datadir}/apps/kdevdistpart/
+%{tde_datadir}/apps/kdevdocumentation/
+%{tde_datadir}/apps/kdevdoxygen/
+%{tde_datadir}/apps/tdevelop/
+%{tde_datadir}/apps/kdevfilecreate/
+%{tde_datadir}/apps/kdevfilelist/
+%{tde_datadir}/apps/kdevfilter/
+%{tde_datadir}/apps/kdevfortransupport/
+%{tde_datadir}/apps/kdevfullscreen/
+%{tde_datadir}/apps/kdevgrepview/
+%{tde_datadir}/apps/kdevjavasupport/
+%{tde_datadir}/apps/kdevmakeview/
+%{tde_datadir}/apps/kdevpartexplorer/
+%{tde_datadir}/apps/kdevpascalproject/
+%{tde_datadir}/apps/kdevpascalsupport/
+%{tde_datadir}/apps/kdevperlsupport/
+%{tde_datadir}/apps/kdevphpsupport/
+%{tde_datadir}/apps/kdevpythonsupport/
+%{tde_datadir}/apps/kdevquickopen/
+%{tde_datadir}/apps/kdevrbdebugger/
+%{tde_datadir}/apps/kdevregexptest/
+%{tde_datadir}/apps/kdevreplace/
+%{tde_datadir}/apps/kdevrubysupport/
+%{tde_datadir}/apps/kdevscripting/
+%{tde_datadir}/apps/kdevscriptproject/
+%{tde_datadir}/apps/kdevsnippet/
+%{tde_datadir}/apps/kdevsqlsupport
+%{tde_datadir}/apps/kdevtipofday/
+%{tde_datadir}/apps/kdevtools/
+%{tde_datadir}/apps/kdevtrollproject/
+%{tde_datadir}/apps/kdevvalgrind/
+%{tde_datadir}/apps/tdeio_pydoc/
+%{tde_datadir}/desktop-directories/tde-development-tdevelop.directory
+%{tde_tdedocdir}/HTML/en/tdevelop/
+%{tde_libdir}/libd.so.0
+%{tde_libdir}/libd.so.0.0.0
+%{tde_libdir}/libkinterfacedesigner.so.0
+%{tde_libdir}/libkinterfacedesigner.so.0.0.0
+%{tde_tdelibdir}/libkdevvisualboyadvance.la
+%{tde_tdelibdir}/libkdevvisualboyadvance.so
+%{tde_datadir}/apps/kdevdesignerpart/pics/
+%{tde_datadir}/apps/kdevvisualboyadvance/
+%{tde_tdedocdir}/HTML/en/tde_app_devel/
+%{tde_datadir}/mimelnk/text/x-fortran.desktop
+%{tde_datadir}/services/kdevvisualboyadvance.desktop
+%{tde_tdedocdir}/HTML/en/kdevdesigner/
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries/Other
+Requires: %{name}-libs = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Obsoletes: trinity-kdevelop-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdevelop-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description devel
+This package contains the development files for tdevelop.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_libdir}/lib*.so
+%{tde_libdir}/lib*.la
+%{tde_includedir}/*
+
+##########
+
+%package libs
+Summary: %{name} runtime libraries
+Group: System Environment/Libraries
+Requires: trinity-tdelibs >= %{tde_version}
+# include to be paranoid, installing libs-only is still mostly untested -- Rex
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Obsoletes: trinity-kdevelop-libs < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdevelop-libs = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description libs
+This package contains the libraries needed for the tdevelop programs.
+
+%files libs
+%defattr(-,root,root,-)
+%{tde_libdir}/libdesignerintegration.so.0
+%{tde_libdir}/libdesignerintegration.so.0.0.0
+%{tde_libdir}/libdocumentation_interfaces.so.0
+%{tde_libdir}/libdocumentation_interfaces.so.0.0.0
+%{tde_libdir}/libgdbmi_parser.so.0
+%{tde_libdir}/libgdbmi_parser.so.0.0.0
+%{tde_libdir}/libkdevbuildbase.so.0
+%{tde_libdir}/libkdevbuildbase.so.0.0.0
+%{tde_libdir}/libkdevbuildtoolswidgets.so.0
+%{tde_libdir}/libkdevbuildtoolswidgets.so.0.0.0
+%{tde_libdir}/libkdevcatalog.so.0
+%{tde_libdir}/libkdevcatalog.so.0.0.0
+%{tde_libdir}/libkdevcppparser.so.0
+%{tde_libdir}/libkdevcppparser.so.0.0.0
+%{tde_libdir}/libtdevelop.so.1
+%{tde_libdir}/libtdevelop.so.1.0.0
+%{tde_libdir}/libkdevextras.so.0
+%{tde_libdir}/libkdevextras.so.0.0.0
+%{tde_libdir}/libkdevpropertyeditor.so.0
+%{tde_libdir}/libkdevpropertyeditor.so.0.0.0
+%{tde_libdir}/libkdevqmakeparser.so.0
+%{tde_libdir}/libkdevqmakeparser.so.0.0.0
+%{tde_libdir}/libkdevshell.so.0
+%{tde_libdir}/libkdevshell.so.0.0.0
+%{tde_libdir}/libkdevwidgets.so.0
+%{tde_libdir}/libkdevwidgets.so.0.0.0
+%{tde_libdir}/liblang_debugger.so.0
+%{tde_libdir}/liblang_debugger.so.0.0.0
+%{tde_libdir}/liblang_interfaces.so.0
+%{tde_libdir}/liblang_interfaces.so.0.0.0
+%{tde_libdir}/libprofileengine.so.0
+%{tde_libdir}/libprofileengine.so.0.0.0
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+# openldap 2.4 includes (CentOS 5)
+if [ -d "/usr/include/openldap24" ]; then
+ RPM_OPT_FLAGS="-I%{_includedir}/openldap24 -L%{_libdir}/openldap24 ${RPM_OPT_FLAGS}"
+fi
+
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+# Warning: GCC visibility causes FTBFS [Bug #1285]
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_NO_BUILTIN_CHRPATH=ON \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=OFF \
+ \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ \
+ -DWITH_BUILDTOOL_ALL=ON \
+ -DWITH_LANGUAGE_ALL=ON \
+ -DWITH_VCS_ALL=OFF \
+ -DBUILD_ALL=ON \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+# Links duplicate files
+%fdupes "%{?buildroot}%{tde_datadir}"
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
diff --git a/redhat/core/tdevelop/trinity-tdevelop-rpmlintrc b/redhat/core/tdevelop/trinity-tdevelop-rpmlintrc
new file mode 100644
index 000000000..529351884
--- /dev/null
+++ b/redhat/core/tdevelop/trinity-tdevelop-rpmlintrc
@@ -0,0 +1,2 @@
+setBadness('library-without-ldconfig-postun', 0)
+setBadness('library-without-ldconfig-postin', 0)
diff --git a/redhat/core/tdewebdev/css.tar.bz2 b/redhat/core/tdewebdev/css.tar.bz2
new file mode 100644
index 000000000..c66fc5ba4
--- /dev/null
+++ b/redhat/core/tdewebdev/css.tar.bz2
Binary files differ
diff --git a/redhat/core/tdewebdev/html.tar.bz2 b/redhat/core/tdewebdev/html.tar.bz2
new file mode 100644
index 000000000..7aa4db193
--- /dev/null
+++ b/redhat/core/tdewebdev/html.tar.bz2
Binary files differ
diff --git a/redhat/core/tdewebdev/javascript.tar.bz2 b/redhat/core/tdewebdev/javascript.tar.bz2
new file mode 100644
index 000000000..aa044ec2d
--- /dev/null
+++ b/redhat/core/tdewebdev/javascript.tar.bz2
Binary files differ
diff --git a/redhat/core/tdewebdev/php_manual_en_20030401.tar.bz2 b/redhat/core/tdewebdev/php_manual_en_20030401.tar.bz2
new file mode 100644
index 000000000..0b39d8cd0
--- /dev/null
+++ b/redhat/core/tdewebdev/php_manual_en_20030401.tar.bz2
Binary files differ
diff --git a/redhat/core/tdewebdev/tdewebdev.spec b/redhat/core/tdewebdev/tdewebdev.spec
new file mode 100644
index 000000000..7892fe02b
--- /dev/null
+++ b/redhat/core/tdewebdev/tdewebdev.spec
@@ -0,0 +1,551 @@
+#
+# spec file for package tdewebdev (version R14)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# BUILD WARNING:
+# Remove qt-devel and qt3-devel and any kde*-devel on your system !
+# Having KDE libraries may cause FTBFS here !
+
+# TDE variables
+%define tde_epoch 2
+%if "%{?tde_version}" == ""
+%define tde_version 14.1.0
+%endif
+%define tde_pkg tdewebdev
+%define tde_prefix /opt/trinity
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+
+Name: trinity-%{tde_pkg}
+Summary: Web development applications
+Group: Applications/Editors
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
+URL: http://www.trinitydesktop.org/
+
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Project
+#Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Source1: http://download.sourceforge.net/quanta/css.tar.bz2
+Source2: http://download.sourceforge.net/quanta/html.tar.bz2
+Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2
+Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2
+
+Source10: %{name}-rpmlintrc
+
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-tdesdk-devel >= %{tde_version}
+
+BuildRequires: cmake
+BuildRequires: desktop-file-utils
+BuildRequires: gcc-c++
+
+# SUSE desktop files utility
+%if 0%{?suse_version}
+BuildRequires: update-desktop-files
+%endif
+
+%if 0%{?opensuse_bs} && 0%{?suse_version}
+# for xdg-menu script
+BuildRequires: brp-check-trinity
+%endif
+
+BuildRequires: libxslt-devel
+
+%if 0%{?rhel} == 4
+# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241)
+BuildRequires: libgcrypt-devel
+%endif
+
+# PERL support
+BuildRequires: perl
+
+# KXSLDBG requires libxml2
+#if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || ( 0%{?fedora} > 0 && %{?fedora} <= 17 ) || 0%{?suse_version}
+%define build_kxsldbg 1
+BuildRequires: libxml2-devel
+#endif
+
+# ICU support
+BuildRequires: libicu-devel
+
+# Readline support
+BuildRequires: readline-devel
+
+%if "%{?tde_version}" != "14.1.0"
+%define build_tdefilereplace 1
+%endif
+
+Obsoletes: trinity-kdewebdev-libs < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdewebdev-libs = %{?epoch:%{epoch}:}%{version}-%{release}
+Obsoletes: trinity-kdewebdev < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdewebdev = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Requires: trinity-quanta = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-quanta-data = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kimagemapeditor = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-klinkstatus = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kommander = %{?epoch:%{epoch}:}%{version}-%{release}
+%{?build_kxsldbg:Requires: trinity-kxsldbg = %{?epoch:%{epoch}:}%{version}-%{release}}
+
+%description
+Web development applications, including:
+* kimagemapeditor: HTML image map editor
+* klinkstatus: link checker
+* kommander: visual dialog building tool
+* quanta+: web development
+%{?build_kxsldbg:* kxsldbg: xslt Debugger}
+
+%files
+%defattr(-,root,root,-)
+
+##########
+
+%package -n trinity-quanta
+Summary: web development environment for TDE [Trinity]
+Group: Applications/Development
+Requires: trinity-tdefilereplace
+Requires: trinity-klinkstatus = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kommander = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-quanta-data = %{?epoch:%{epoch}:}%{version}-%{release}
+#Requires: trinity-kimagemapeditor = %{?epoch:%{epoch}:}%{version}-%{release}
+#Requires: trinity-kxsldbg = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: tidy
+
+%description -n trinity-quanta
+Quanta Plus is a web development environment for working with HTML
+and associated languages. It strives to be neutral and transparent
+to all markup languages, while supporting popular web-based scripting
+languages, CSS and other emerging W3C recommendations.
+
+Quanta Plus supports many external components, debuggers and other tools
+for web development, several of which are shipped with the TDE web
+development module.
+
+Quanta Plus is not in any way affiliated with any commercial versions
+of Quanta. The primary coders from the original team left the GPL'd
+version to produce a commercial product.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-quanta
+%defattr(-,root,root,-)
+%{tde_bindir}/quanta
+%{tde_tdelibdir}/quantadebuggerdbgp.la
+%{tde_tdelibdir}/quantadebuggerdbgp.so
+%{tde_tdelibdir}/quantadebuggergubed.la
+%{tde_tdelibdir}/quantadebuggergubed.so
+%{tde_tdeappdir}/quanta.desktop
+%{tde_datadir}/apps/kafkapart
+%{tde_datadir}/icons/hicolor/*/apps/quanta.png
+%{tde_datadir}/mimelnk/application/x-webprj.desktop
+%{tde_datadir}/services/quantadebuggerdbgp.desktop
+%{tde_datadir}/services/quantadebuggergubed.desktop
+%{tde_datadir}/services/quanta_preview_config.desktop
+%{tde_datadir}/servicetypes/quantadebugger.desktop
+%{tde_tdedocdir}/HTML/en/quanta/
+%{tde_mandir}/man1/quanta.1*
+
+##########
+
+%package -n trinity-quanta-data
+Summary: data files for Quanta Plus web development environment [Trinity]
+Group: Applications/Development
+
+%description -n trinity-quanta-data
+This package contains architecture-independent data files for Quanta
+Plus, a web development environment for working with HTML and associated
+languages.
+
+See the quanta package for further information.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-quanta-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/quanta/
+
+##########
+
+%package -n trinity-kimagemapeditor
+Summary: HTML image map editor for TDE
+Group: Applications/Development
+
+%description -n trinity-kimagemapeditor
+KImageMapEditor is a tool that allows you to edit image maps in HTML
+files. As well as providing a standalone application, KImageMapEditor
+makes itself available as a KPart for embedding into larger applications.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-kimagemapeditor
+%defattr(-,root,root,-)
+%{tde_bindir}/kimagemapeditor
+%{tde_tdelibdir}/libkimagemapeditor.la
+%{tde_tdelibdir}/libkimagemapeditor.so
+%{tde_tdeappdir}/kimagemapeditor.desktop
+%{tde_datadir}/apps/kimagemapeditor/
+%{tde_datadir}/icons/hicolor/*/apps/kimagemapeditor.png
+%{tde_datadir}/icons/locolor/*/apps/kimagemapeditor.png
+%{tde_datadir}/services/kimagemapeditorpart.desktop
+%{tde_tdedocdir}/HTML/en/kimagemapeditor/
+%{tde_mandir}/man1/kimagemapeditor.1*
+
+##########
+
+%package -n trinity-klinkstatus
+Summary: web link validity checker for TDE
+Group: Applications/Development
+
+%description -n trinity-klinkstatus
+KLinkStatus is TDE's web link validity checker. It allows you to
+search internal and external links throughout your web site. Simply
+point it to a single page and choose the depth to search.
+
+You can also check local files, or files over ftp:, fish: or any other
+KIO protocols. For performance, links can be checked simultaneously.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-klinkstatus
+%defattr(-,root,root,-)
+%{tde_bindir}/klinkstatus
+%{tde_tdelibdir}/libklinkstatuspart.la
+%{tde_tdelibdir}/libklinkstatuspart.so
+%{tde_tdeappdir}/klinkstatus.desktop
+%{tde_datadir}/apps/klinkstatus/
+%{tde_datadir}/apps/klinkstatuspart/
+%{tde_datadir}/config.kcfg/klinkstatus.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/klinkstatus.png
+%{tde_datadir}/services/klinkstatus_part.desktop
+%{tde_tdedocdir}/HTML/en/klinkstatus/
+%{tde_mandir}/man1/klinkstatus.1*
+
+##########
+
+%package -n trinity-kommander
+Summary: visual dialog builder and executor tool [Trinity]
+Group: Applications/Development
+Requires: gettext
+
+%description -n trinity-kommander
+Kommander is a visual dialog building tool whose primary objective is
+to create as much functionality as possible without using any scripting
+language.
+
+More specifically, Kommander is a set of tools that allow you to create
+dynamic GUI dialogs that generate, based on their state, a piece of
+text. The piece of text can be a command line to a program, any piece
+of code, business documents that contain a lot of repetitious or
+templated text and so on.
+
+The resulting generated text can then be executed as a command line
+program (hence the name "Kommander"), written to a file, passed to a
+script for extended processing, and literally anything else you can
+think of. And you aren't required to write a single line of code!
+
+As well as building dialogs, Kommander may be expanded to create full
+mainwindow applications.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-kommander
+%defattr(-,root,root,-)
+%{tde_bindir}/kmdr-editor
+%{tde_bindir}/kmdr-executor
+%{tde_bindir}/kmdr-plugins
+%{tde_libdir}/libkommanderplugin.so.*
+%{tde_libdir}/libkommanderwidgets.la
+%{tde_libdir}/libkommanderwidget.so.*
+%{tde_libdir}/libkommanderwidgets.so.*
+%{tde_tdeappdir}/kmdr-editor.desktop
+%{tde_datadir}/applnk/.hidden/kmdr-executor.desktop
+%{tde_datadir}/apps/katepart/syntax/kommander.xml
+%{tde_tdedocdir}/HTML/en/kommander/
+%{tde_datadir}/icons/crystalsvg/*/apps/kommander.png
+%{tde_datadir}/icons/hicolor/*/apps/kommander.png
+%{tde_datadir}/mimelnk/application/x-kommander.desktop
+%{tde_tdelibdir}/libkommander_part.so
+%{tde_tdelibdir}/libkommander_part.la
+%{tde_datadir}/apps/kommander/
+%{tde_datadir}/apps/kmdr-editor/
+%{tde_datadir}/apps/katepart/syntax/kommander-new.xml
+%{tde_datadir}/apps/tdevappwizard/
+%{tde_datadir}/services/kommander_part.desktop
+%{tde_mandir}/man1/extractkmdr.1*
+%{tde_mandir}/man1/kmdr-editor.1*
+%{tde_mandir}/man1/kmdr-executor.1*
+%{tde_mandir}/man1/kmdr-plugins.1*
+%{tde_mandir}/man1/kmdr2po.1*
+
+##########
+
+%package -n trinity-kommander-devel
+Summary: development files for Kommander [Trinity]
+Group: Development/Libraries
+Requires: trinity-kommander = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-kommander-devel
+This package contains the headers and other development files for
+building plugins or otherwise extending Kommander.
+
+Kommander is a visual dialog building tool whose primary objective is
+to create as much functionality as possible without using any scripting
+language.
+
+See the kommander package for further information.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-kommander-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkommanderplugin.la
+%{tde_libdir}/libkommanderplugin.so
+%{tde_libdir}/libkommanderwidget.la
+%{tde_libdir}/libkommanderwidget.so
+%{tde_libdir}/libkommanderwidgets.so
+%{tde_tdeincludedir}/kommander*
+%{tde_tdeincludedir}/specials.h
+
+##########
+
+%if 0%{?build_kxsldbg}
+
+%package -n trinity-kxsldbg
+Summary: graphical XSLT debugger for TDE [Trinity]
+Group: Applications/Development
+
+%description -n trinity-kxsldbg
+KXSLDbg is a debugger for XSLT scripts. It includes a graphical user
+interface as well as a text-based debugger. KXSLDbg can be run as a
+standalone application or as an embedded TDE part.
+
+XSLT is an XML language for defining transformations of XML files from
+XML to some other arbitrary format, such as XML, HTML, plain text, etc.,
+using standard XSLT stylesheets.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-kxsldbg
+%defattr(-,root,root,-)
+%{tde_bindir}/kxsldbg
+%{tde_bindir}/xsldbg
+%{tde_tdelibdir}/libkxsldbgpart.la
+%{tde_tdelibdir}/libkxsldbgpart.so
+%{tde_tdeappdir}/kxsldbg.desktop
+%{tde_datadir}/applnk/.hidden/xsldbg.desktop
+%{tde_datadir}/apps/kxsldbg/
+%{tde_datadir}/apps/kxsldbgpart/
+%{tde_tdedocdir}/HTML/en/kxsldbg/
+%{tde_tdedocdir}/HTML/en/xsldbg/
+%{tde_datadir}/icons/hicolor/*/actions/1downarrow.png
+%{tde_datadir}/icons/hicolor/*/actions/configure.png
+%{tde_datadir}/icons/hicolor/*/actions/system-log-out.png
+%{tde_datadir}/icons/hicolor/*/actions/system-run.png
+%{tde_datadir}/icons/hicolor/*/actions/hash.png
+%{tde_datadir}/icons/hicolor/*/actions/mark.png
+%{tde_datadir}/icons/hicolor/*/actions/next.png
+%{tde_datadir}/icons/hicolor/*/actions/step.png
+%{tde_datadir}/icons/hicolor/*/actions/xsldbg_*.png
+%{tde_datadir}/icons/hicolor/*/apps/kxsldbg.png
+%{tde_datadir}/icons/locolor/*/apps/kxsldbg.png
+%{tde_datadir}/services/kxsldbg_part.desktop
+%{tde_mandir}/man1/kxsldbg.1*
+
+%endif
+
+##########
+
+%if 0%{?build_tdefilereplace}
+
+%package -n trinity-tdefilereplace
+Summary: Batch search-and-replace component for TDE
+Group: Applications/Utilities
+
+Obsoletes: trinity-kfilereplace < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kfilereplace = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description -n trinity-tdefilereplace
+TDEFileReplace is an embedded component for TDE that acts as a batch
+search-and-replace tool. It allows you to replace one expression with
+another in many files at once.
+
+Note that at the moment TDEFileReplace does not come as a standalone
+application.
+
+This package is part of Trinity, as a component of the TDE utilities module.
+
+%files -n trinity-tdefilereplace
+%defattr(-,root,root,-)
+%{tde_bindir}/tdefilereplace
+%{tde_tdelibdir}/libtdefilereplacepart.la
+%{tde_tdelibdir}/libtdefilereplacepart.so
+%{tde_tdeappdir}/tdefilereplace.desktop
+%{tde_datadir}/apps/tdefilereplace/
+%{tde_datadir}/apps/tdefilereplacepart/
+%{tde_tdedocdir}/HTML/en/tdefilereplace/
+%{tde_datadir}/icons/hicolor/*/apps/tdefilereplace.png
+%{tde_datadir}/services/tdefilereplacepart.desktop
+%{tde_mandir}/man1/tdefilereplace.1*
+
+%endif
+
+##########
+
+%package devel
+Group: Development/Libraries
+Summary: Header files and documentation for %{name}
+
+Obsoletes: trinity-kdewebdev-devel < %{?epoch:%{epoch}:}%{version}-%{release}
+Provides: trinity-kdewebdev-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+Requires: trinity-tdelibs-devel >= %{tde_version}
+Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
+Requires: trinity-kommander-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+
+##########
+
+%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -a 1 -a 2 -a 3 -a 4
+
+%if 0%{?build_kxsldbg} == 0
+%__rm -rf kxsldbg/ doc/kxsldbg/ doc/xsldbg/
+%endif
+
+
+%build
+unset QTDIR QTLIB QTINC
+export PATH="%{tde_bindir}:${PATH}"
+
+if ! rpm -E %%cmake|grep -q "cd build"; then
+ %__mkdir_p build
+ cd build
+fi
+
+%cmake \
+ -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
+ -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DCMAKE_SKIP_INSTALL_RPATH=OFF \
+ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_GCC_VISIBILITY=OFF \
+ \
+ -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" \
+ -DSYSCONF_INSTALL_DIR="%{_sysconfdir}/trinity" \
+ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
+ \
+ -DWITH_ALL_OPTIONS=ON \
+ -DWITH_QUANTA_CVSSERVICE=OFF \
+ \
+ -DBUILD_ALL=ON \
+ \
+ ..
+
+# Strange cmake behaviour under rhel6
+%if 0%{?rhel} == 6
+grep -rl "CXX_FLAGS.*\"-O2" | while read file; do
+ sed -i "${file}" -e "s|\"||g"
+done
+%endif
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{?buildroot} -C build
+
+
+## package separately? Why doesn't upstream include this? -- Rex
+# install docs
+for i in css html javascript ; do
+ pushd $i
+ ./install.sh <<EOF
+%{buildroot}%{tde_datadir}/apps/quanta/doc
+EOF
+ popd
+ rm -rf $i
+done
+cp -a php php.docrc %{buildroot}%{tde_datadir}/apps/quanta/doc/
+
+# Updates applications categories for openSUSE
+%if 0%{?suse_version}
+%suse_update_desktop_file -r klinkstatus Office WebDevelopment
+%if 0%{?build_kxsldbg}
+%suse_update_desktop_file -r kxsldbg Office WebDevelopment
+%endif
+%suse_update_desktop_file -r kimagemapeditor Office WebDevelopment
+%suse_update_desktop_file kmdr-editor Development GUIDesigner
+%suse_update_desktop_file kmdr-executor Development GUIDesigner
+%suse_update_desktop_file -r quanta Office WebDevelopment
+%if 0%{?build_tdefilereplace}
+%suse_update_desktop_file -r tdefilereplace System FileManager
+%endif
+%endif
+
+# Adds missing icons in 'hicolor' theme
+%__mkdir_p %{buildroot}%{tde_datadir}/icons/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps/
+pushd %{buildroot}%{tde_datadir}/icons
+for i in {16,22,32,64,128}; do %__cp crystalsvg/"$i"x"$i"/apps/kommander.png hicolor/"$i"x"$i"/apps/kommander.png ;done
+popd
+
+# Unwanted icon
+%__rm -f "%{buildroot}%{tde_datadir}/icons/crystalsvg/16x16/actions/bug.png"
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
diff --git a/redhat/core/tdewebdev/trinity-tdewebdev-rpmlintrc b/redhat/core/tdewebdev/trinity-tdewebdev-rpmlintrc
new file mode 100644
index 000000000..529351884
--- /dev/null
+++ b/redhat/core/tdewebdev/trinity-tdewebdev-rpmlintrc
@@ -0,0 +1,2 @@
+setBadness('library-without-ldconfig-postun', 0)
+setBadness('library-without-ldconfig-postin', 0)