summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
Diffstat (limited to 'redhat')
-rw-r--r--redhat/tde-i18n/trinity-tde-i18n-3.5.13.2.spec1284
-rw-r--r--redhat/tdeaccessibility/trinity-tdeaccessibility-3.5.13.2.spec519
-rw-r--r--redhat/tdeaddons/trinity-tdeaddons-3.5.13.2.spec755
-rw-r--r--redhat/tdeadmin/trinity-tdeadmin-3.5.13.2.spec494
-rw-r--r--redhat/tdeartwork/trinity-tdeartwork-3.5.13.2.spec710
-rw-r--r--redhat/tdebase/trinity-tdebase-3.5.13.2.spec3511
-rw-r--r--redhat/tdebindings/trinity-tdebindings-3.5.13.2.spec1107
-rw-r--r--redhat/tdeedu/trinity-tdeedu-3.5.13.2.spec1395
-rw-r--r--redhat/tdegames/trinity-tdegames-3.5.13.2.spec1603
-rw-r--r--redhat/tdegraphics/trinity-tdegraphics-3.5.13.2.spec1324
-rw-r--r--redhat/tdelibs/trinity-tdelibs-3.5.13.2.spec481
-rw-r--r--redhat/tdemultimedia/trinity-tdemultimedia-3.5.13.2.spec1241
-rw-r--r--redhat/tdenetwork/trinity-tdenetwork-3.5.13.2.spec1198
-rw-r--r--redhat/tdepim/trinity-tdepim-3.5.13.2.spec2251
-rw-r--r--redhat/tdesdk/trinity-tdesdk-3.5.13.2.spec1159
-rw-r--r--redhat/tdetoys/trinity-tdetoys-3.5.13.2.spec451
-rw-r--r--redhat/tdeutils/trinity-tdeutils-3.5.13.2.spec1086
-rw-r--r--redhat/tdevelop/trinity-tdevelop-3.5.13.2.spec646
-rw-r--r--redhat/tdewebdev/trinity-tdewebdev-3.5.13.2.spec573
19 files changed, 21788 insertions, 0 deletions
diff --git a/redhat/tde-i18n/trinity-tde-i18n-3.5.13.2.spec b/redhat/tde-i18n/trinity-tde-i18n-3.5.13.2.spec
new file mode 100644
index 000000000..5aaea6aa3
--- /dev/null
+++ b/redhat/tde-i18n/trinity-tde-i18n-3.5.13.2.spec
@@ -0,0 +1,1284 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+BuildRequires: autoconf automake libtool m4
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdedocdir %{tde_docdir}/tde
+
+# Builds all supported languages (not unsupported ones)
+%if "%{?KDE_LANGS}" == ""
+%define KDE_LANGS ar bg bn ca cs da de el en_GB es et fi fr he hi hu is it ja lt nl nb nn pa pl pt pt_BR ro ru sk sl sr sv ta tr uk zh_CN zh_TW
+%endif
+
+
+Name: trinity-i18n
+Summary: Internationalization support for Trinity
+Version: 3.5.13.2
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+License: GFDL
+Group: User Interface/Desktops
+BuildArch: noarch
+
+# Speed build options
+%define debug_package %{nil}
+%define __spec_install_post %{nil}
+AutoReq: no
+
+Source0: trinity-tde-i18n-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+# TDE 3.5.12: Translate 'kdesu' message was modified in 'kdebase' package
+Patch0: kde-i18n-kdesu.patch
+
+# TDE 3.5.12: Translate 'Open Terminal Here' desktop shortcut
+Patch1: trinity-kde-i18n-fr-openterminalhere.patch
+
+# TDE 3.5.13: French translations for new features
+Patch2: kde-i18n-3.5.13-add_french_translations.patch
+
+# TDE 3.5.13: Updated translations for zh_TW, thanks to Wei-Lun Chao !
+Patch3: kde-i18n-zh_TW-3.5.10.patch.gz
+
+# TDE 3.5.13.2: Updated french translations
+Patch4: trinity-tde-i18n-fr-3.5.13.2-updates.patch
+
+BuildRequires: findutils
+BuildRequires: gettext
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+
+%description
+%{summary}.
+
+%package Afrikaans
+Summary: Afrikaans(af) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-af = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Afrikaans < %{version}-%{release}
+Provides: trinity-kde-i18n-Afrikaans = %{version}-%{release}
+%description Afrikaans
+%{summary}.
+
+%package Arabic
+Summary: Arabic(ar) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ar = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release}
+Provides: trinity-kde-i18n-Arabic = %{version}-%{release}
+%description Arabic
+%{summary}.
+
+%package Azerbaijani
+Summary: Azerbaijani(az) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-az = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release}
+Provides: trinity-kde-i18n-Arabic = %{version}-%{release}
+%description Azerbaijani
+%{summary}.
+
+%package Belarusian
+Summary: Belarusian(be) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-be = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Belarusian < %{version}-%{release}
+Provides: trinity-kde-i18n-Belarusian = %{version}-%{release}
+%description Belarusian
+%{summary}.
+
+%package Bulgarian
+Summary: Bulgarian(bg) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-bg = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Bulgarian < %{version}-%{release}
+Provides: trinity-kde-i18n-Bulgarian = %{version}-%{release}
+%description Bulgarian
+%{summary}.
+
+%package Bengali
+Summary: Bengali(bn) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-bn = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Bengali < %{version}-%{release}
+Provides: trinity-kde-i18n-Bengali = %{version}-%{release}
+%description Bengali
+%{summary}.
+
+%package Tibetan
+Summary: Tibetan(bo) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-bo = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Tibetan < %{version}-%{release}
+Provides: trinity-kde-i18n-Tibetan = %{version}-%{release}
+%description Tibetan
+%{summary}.
+
+%package Breton
+Summary: Breton(br) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-br = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Breton < %{version}-%{release}
+Provides: trinity-kde-i18n-Breton = %{version}-%{release}
+%description Breton
+%{summary}.
+
+%package Bosnian
+Summary: Bosnian(bs) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-bs = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Bosnian < %{version}-%{release}
+Provides: trinity-kde-i18n-Bosnian = %{version}-%{release}
+%description Bosnian
+%{summary}.
+
+%package Catalan
+Summary: Catalan(ca) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ca = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Catalan < %{version}-%{release}
+Provides: trinity-kde-i18n-Catalan = %{version}-%{release}
+%description Catalan
+%{summary}.
+
+%package Czech
+Summary: Czech(cs) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-cs = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Czech < %{version}-%{release}
+Provides: trinity-kde-i18n-Czech = %{version}-%{release}
+%description Czech
+%{summary}.
+
+%package Cymraeg
+Summary: Cymraeg language support for TDE
+Group: User Interface/Desktops
+Obsoletes: trinity-kde-i18n-Cymraeg < %{version}-%{release}
+Provides: trinity-kde-i18n-Cymraeg = %{version}-%{release}
+%description Cymraeg
+%{summary}.
+
+%package Welsh
+Summary: Welsh(cy) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-cy = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Welsh < %{version}-%{release}
+Provides: trinity-kde-i18n-Welsh = %{version}-%{release}
+%description Welsh
+%{summary}.
+
+%package Danish
+Summary: Danish(da) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-da = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Danish < %{version}-%{release}
+Provides: trinity-kde-i18n-Danish = %{version}-%{release}
+%description Danish
+%{summary}.
+
+%package German
+Summary: German(de) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-de = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-German < %{version}-%{release}
+Provides: trinity-kde-i18n-German = %{version}-%{release}
+%description German
+%{summary}.
+
+%package Greek
+Summary: Greek(el) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-el = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Greek < %{version}-%{release}
+Provides: trinity-kde-i18n-Greek = %{version}-%{release}
+%description Greek
+%{summary}.
+
+%package British
+Summary: British(en_GB) English support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-en_GB = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-British < %{version}-%{release}
+Provides: trinity-kde-i18n-British = %{version}-%{release}
+%description British
+%{summary}.
+
+%package Esperanto
+Summary: Esperanto(eo) support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-eo = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Esperanto < %{version}-%{release}
+Provides: trinity-kde-i18n-Esperanto = %{version}-%{release}
+%description Esperanto
+%{summary}.
+
+%package Spanish
+Summary: Spanish(es) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-es = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Spanish < %{version}-%{release}
+Provides: trinity-kde-i18n-Spanish = %{version}-%{release}
+%description Spanish
+%{summary}.
+
+%package Estonian
+Summary: Estonian(et) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-et = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Estonian < %{version}-%{release}
+Provides: trinity-kde-i18n-Estonian = %{version}-%{release}
+%description Estonian
+%{summary}.
+
+%package Basque
+Summary: Basque(eu) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-eu = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Basque < %{version}-%{release}
+Provides: trinity-kde-i18n-Basque = %{version}-%{release}
+%description Basque
+%{summary}.
+
+%package Farsi
+Summary: Farsi(fa) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fa = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Farsi < %{version}-%{release}
+Provides: trinity-kde-i18n-Farsi = %{version}-%{release}
+%description Farsi
+%{summary}.
+
+%package Finnish
+Summary: Finnish(fi) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fi = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Finnish < %{version}-%{release}
+Provides: trinity-kde-i18n-Finnish = %{version}-%{release}
+%description Finnish
+%{summary}.
+
+%package Faroese
+Summary: Faroese(fo) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fo = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Faroese < %{version}-%{release}
+Provides: trinity-kde-i18n-Faroese = %{version}-%{release}
+%description Faroese
+%{summary}.
+
+%package French
+Summary: French(fr) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fr = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-French < %{version}-%{release}
+Provides: trinity-kde-i18n-French = %{version}-%{release}
+%description French
+%{summary}.
+
+%package Frisian
+Summary: Frisian(fy) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fy = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Frisian < %{version}-%{release}
+Provides: trinity-kde-i18n-Frisian = %{version}-%{release}
+%description Frisian
+%{summary}.
+
+%package Irish
+Summary: Irish(ga) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ga = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Irish < %{version}-%{release}
+Provides: trinity-kde-i18n-Irish = %{version}-%{release}
+%description Irish
+%{summary}.
+
+%package Galician
+Summary: Galician(gl) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-gl = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Galician < %{version}-%{release}
+Provides: trinity-kde-i18n-Galician = %{version}-%{release}
+%description Galician
+%{summary}.
+
+%package Hebrew
+Summary: Hebrew(he) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-he = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Hebrew < %{version}-%{release}
+Provides: trinity-kde-i18n-Hebrew = %{version}-%{release}
+%description Hebrew
+%{summary}.
+
+%package Hindi
+Summary: Hindi(hi) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-hi = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Hindi < %{version}-%{release}
+Provides: trinity-kde-i18n-Hindi = %{version}-%{release}
+%description Hindi
+%{summary}.
+
+%package Croatian
+Summary: Croatian(hr) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-hr = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Croatian < %{version}-%{release}
+Provides: trinity-kde-i18n-Croatian = %{version}-%{release}
+%description Croatian
+%{summary}.
+
+%package Hungarian
+Summary: Hungarian(hu) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-hu = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Hungarian < %{version}-%{release}
+Provides: trinity-kde-i18n-Hungarian = %{version}-%{release}
+%description Hungarian
+%{summary}.
+
+%package Indonesian
+Summary: Indonesian(id) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-id = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Indonesian < %{version}-%{release}
+Provides: trinity-kde-i18n-Indonesian = %{version}-%{release}
+%description Indonesian
+%{summary}.
+
+%package Icelandic
+Summary: Icelandic(is) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-is = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Icelandic < %{version}-%{release}
+Provides: trinity-kde-i18n-Icelandic = %{version}-%{release}
+%description Icelandic
+%{summary}.
+
+%package Italian
+Summary: Italian(it) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-it = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Italian < %{version}-%{release}
+Provides: trinity-kde-i18n-Italian = %{version}-%{release}
+%description Italian
+%{summary}.
+
+%package Japanese
+Summary: Japanese(ja) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ja = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Japanese < %{version}-%{release}
+Provides: trinity-kde-i18n-Japanese = %{version}-%{release}
+%description Japanese
+%{summary}.
+
+%package Korean
+Summary: Korean(ko) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ko = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Korean < %{version}-%{release}
+Provides: trinity-kde-i18n-Korean = %{version}-%{release}
+%description Korean
+%{summary}.
+
+%package Kurdish
+Summary: Kurdish(ku) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ku = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Kurdish < %{version}-%{release}
+Provides: trinity-kde-i18n-Kurdish = %{version}-%{release}
+%description Kurdish
+%{summary}.
+
+%package Lao
+Summary: Lao(lo) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-lo = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Lao < %{version}-%{release}
+Provides: trinity-kde-i18n-Lao = %{version}-%{release}
+%description Lao
+%{summary}.
+
+%package Lithuanian
+Summary: Lithuanian(lt) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-lt = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Lithuanian < %{version}-%{release}
+Provides: trinity-kde-i18n-Lithuanian = %{version}-%{release}
+%description Lithuanian
+%{summary}.
+
+%package Latvian
+Summary: Latvian(lv) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-lv = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Latvian < %{version}-%{release}
+Provides: trinity-kde-i18n-Latvian = %{version}-%{release}
+%description Latvian
+%{summary}.
+
+%package Maori
+Summary: Maori(mi) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-mi = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Maori < %{version}-%{release}
+Provides: trinity-kde-i18n-Maori = %{version}-%{release}
+%description Maori
+%{summary}.
+
+%package Macedonian
+Summary: Macedonian(mk) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-mk = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Macedonian < %{version}-%{release}
+Provides: trinity-kde-i18n-Macedonian = %{version}-%{release}
+%description Macedonian
+%{summary}.
+
+%package Maltese
+Summary: Maltese(mt) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-mt = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Maltese < %{version}-%{release}
+Provides: trinity-kde-i18n-Maltese = %{version}-%{release}
+%description Maltese
+%{summary}.
+
+%package Dutch
+Summary: Dutch(nl) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-nl = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Dutch < %{version}-%{release}
+Provides: trinity-kde-i18n-Dutch = %{version}-%{release}
+%description Dutch
+%{summary}.
+
+%package Norwegian
+Summary: Norwegian(no) (Bokmaal) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-no = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Norwegian < %{version}-%{release}
+Provides: trinity-kde-i18n-Norwegian = %{version}-%{release}
+%description Norwegian
+%{summary}.
+
+%package Norwegian-Nynorsk
+Summary: Norwegian(nn) (Nynorsk) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-nn = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Norwegian-Nynorsk < %{version}-%{release}
+Provides: trinity-kde-i18n-Norwegian-Nynorsk = %{version}-%{release}
+%description Norwegian-Nynorsk
+%{summary}.
+
+%package Occitan
+Summary: Occitan(oc) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-oc = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Occitan < %{version}-%{release}
+Provides: trinity-kde-i18n-Occitan = %{version}-%{release}
+%description Occitan
+%{summary}.
+
+%package Polish
+Summary: Polish(pl) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-pl = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Polish < %{version}-%{release}
+Provides: trinity-kde-i18n-Polish = %{version}-%{release}
+%description Polish
+%{summary}.
+
+%package Portuguese
+Summary: Portuguese(pt) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-pt = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Portuguese < %{version}-%{release}
+Provides: trinity-kde-i18n-Portuguese = %{version}-%{release}
+%description Portuguese
+%{summary}.
+
+%package Punjabi
+Summary: Punjabi(pa) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-pa = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Punjabi < %{version}-%{release}
+Provides: trinity-kde-i18n-Punjabi = %{version}-%{release}
+%description Punjabi
+%{summary}.
+
+%package Brazil
+Summary: Brazil(pt_BR) Portuguese language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-pt_BR = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Brazil < %{version}-%{release}
+Provides: trinity-kde-i18n-Brazil = %{version}-%{release}
+%description Brazil
+%{summary}.
+
+%package Romanian
+Summary: Romanian(ro) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ro = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Romanian < %{version}-%{release}
+Provides: trinity-kde-i18n-Romanian = %{version}-%{release}
+%description Romanian
+%{summary}.
+
+%package Russian
+Summary: Russian(ru) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ru = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Russian < %{version}-%{release}
+Provides: trinity-kde-i18n-Russian = %{version}-%{release}
+%description Russian
+%{summary}.
+
+%package Slovak
+Summary: Slovak(sk) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-sk = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Slovak < %{version}-%{release}
+Provides: trinity-kde-i18n-Slovak = %{version}-%{release}
+%description Slovak
+%{summary}.
+
+%package Slovenian
+Summary: Slovenian(sl) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-sl = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Slovenian < %{version}-%{release}
+Provides: trinity-kde-i18n-Slovenian = %{version}-%{release}
+%description Slovenian
+%{summary}.
+
+%package Serbian
+Summary: Serbian(sr) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-sr = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Serbian < %{version}-%{release}
+Provides: trinity-kde-i18n-Serbian = %{version}-%{release}
+%description Serbian
+%{summary}.
+
+%package Swedish
+Summary: Swedish(sv) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-sv = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Swedish < %{version}-%{release}
+Provides: trinity-kde-i18n-Swedish = %{version}-%{release}
+%description Swedish
+%{summary}.
+
+%package Tamil
+Summary: Tamil(ta) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ta = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Tamil < %{version}-%{release}
+Provides: trinity-kde-i18n-Tamil = %{version}-%{release}
+%description Tamil
+%{summary}.
+
+%package Tajik
+Summary: Tajik(tg) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-tg = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Tajik < %{version}-%{release}
+Provides: trinity-kde-i18n-Tajik = %{version}-%{release}
+%description Tajik
+%{summary}.
+
+%package Thai
+Summary: Thai(th) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-th = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Thai < %{version}-%{release}
+Provides: trinity-kde-i18n-Thai = %{version}-%{release}
+%description Thai
+%{summary}.
+
+%package Turkish
+Summary: Turkish(tr) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-tr = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Turkish < %{version}-%{release}
+Provides: trinity-kde-i18n-Turkish = %{version}-%{release}
+%description Turkish
+%{summary}.
+
+%package Ukrainian
+Summary: Ukrainian(uk) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-uk = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Ukrainian < %{version}-%{release}
+Provides: trinity-kde-i18n-Ukrainian = %{version}-%{release}
+%description Ukrainian
+%{summary}.
+
+%package Venda
+Summary: Venda(ven) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ven = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Venda < %{version}-%{release}
+Provides: trinity-kde-i18n-Venda = %{version}-%{release}
+%description Venda
+%{summary}.
+
+%package Vietnamese
+Summary: Vietnamese(vi) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-vi = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Vietnamese < %{version}-%{release}
+Provides: trinity-kde-i18n-Vietnamese = %{version}-%{release}
+%description Vietnamese
+%{summary}.
+
+%package Walloon
+Summary: Walloon(wa) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-wa = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Walloon < %{version}-%{release}
+Provides: trinity-kde-i18n-Walloon = %{version}-%{release}
+%description Walloon
+%{summary}.
+
+%package Xhosa
+Summary: Xhosa(xh) (a Bantu language) support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-xh = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Xhosa < %{version}-%{release}
+Provides: trinity-kde-i18n-Xhosa = %{version}-%{release}
+%description Xhosa
+%{summary}.
+
+%package Chinese
+Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-zh_CN = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Chinese < %{version}-%{release}
+Provides: trinity-kde-i18n-Chinese = %{version}-%{release}
+%description Chinese
+%{summary}.
+
+%package Chinese-Big5
+Summary: Chinese(zh_TW) (Big5) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-tz_TW = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Chinese-Big5 < %{version}-%{release}
+Provides: trinity-kde-i18n-Chinese-Big5 = %{version}-%{release}
+%description Chinese-Big5
+%{summary}.
+
+
+
+%prep
+%setup -q -n trinity-tde-i18n-%{version}%{?preversion:~%{preversion}}
+
+# Patches for French translations
+pushd tde-i18n-fr
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch4 -p1
+popd
+
+# Patches for Chinese (zh_TW) translations
+pushd tde-i18n-zh_TW
+zcat %{PATCH3} | patch -p1 || :
+popd
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i admin/acinclude.m4.in \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+
+
+%build
+unset QTDIR; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+export KDEDIR=%{tde_prefix}
+
+export kde_htmldir="%{tde_tdedocdir}/HTML"
+
+for l in %{KDE_LANGS}; do
+ for f in tde-i18n-${l}/; do
+ if [ -d "${f}" ]; then
+ pushd ${f}
+ (
+ %__sed -i "configure.in" -e "s|AM_CONFIG_HEADER|AC_CONFIG_HEADER|g"
+ %__make -f "admin/Makefile.common"
+ %configure \
+ --prefix=%{tde_prefix} \
+ --datadir=%{tde_datadir} \
+ --docdir=%{tde_tdedocdir}
+ %__make %{?_smp_mflags}
+ ) &
+ sleep 3
+ popd
+ fi
+ done
+done
+
+wait
+
+%install
+%__rm -rf %{?buildroot}
+export PATH="%{tde_bindir}:${PATH}"
+
+for l in %{KDE_LANGS}; do
+ for f in tde-i18n-${l}/; do
+ if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then
+ %__make install DESTDIR="%{?buildroot}" -C "${f}"
+ fi
+ done
+done
+
+# make symlinks relative
+%if "%{tde_prefix}" == "/usr"
+pushd "%{buildroot}%{tde_tdedocdir}/HTML"
+for lang in *; do
+ if [ -d "$lang" ]; then
+ pushd "$lang"
+ for i in */*/*; do
+ if [ -d $i -a -L $i/common ]; then
+ rm -f $i/common
+ ln -sf ../../../docs/common $i
+ fi
+ done
+
+ for i in */*; do
+ if [ -d $i -a -L $i/common ]; then
+ rm -f $i/common
+ ln -sf ../../docs/common $i
+ fi
+ done
+
+ for i in *; do
+ if [ -d $i -a -L $i/common ]; then
+ rm -f $i/common
+ ln -sf ../docs/common $i
+ fi
+ done
+
+ popd
+ fi
+done
+popd
+%endif
+
+# remove zero-length file
+find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \;
+
+# See http://fedoraproject.org/wiki/Languages (???)
+%__rm -f %{buildroot}%{tde_datadir}/locale/*/flag.png
+
+# Removes conflict with KDE4
+%if "%{?tde_prefix}" == "/usr"
+%__rm -f %{buildroot}%{tde_datadir}/locale/*/entry.desktop
+%endif
+
+# remove obsolete KDE 3 application data translations
+%__rm -rf "%{buildroot}%{tde_datadir}/apps"
+
+%clean
+%__rm -rf %{buildroot}
+
+%if "%( grep -w af <<< '%{KDE_LANGS}' )" != ""
+%files Afrikaans
+%defattr(-,root,root,-)
+%lang(af) %{tde_datadir}/locale/af/*
+%lang(af) %{tde_tdedocdir}/HTML/af/
+%endif
+
+%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != ""
+%files Arabic
+%defattr(-,root,root,-)
+%lang(ar) %{tde_datadir}/locale/ar/*
+%endif
+
+%if "%( grep -w az <<< '%{KDE_LANGS}' )" != ""
+%files Azerbaijani
+%defattr(-,root,root,-)
+%lang(az) %{tde_datadir}/locale/az/*
+%endif
+
+%if "%( grep -w be <<< '%{KDE_LANGS}' )" != ""
+%files Belarusian
+%defattr(-,root,root,-)
+%lang(be) %{tde_datadir}/locale/be/*
+%endif
+
+%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != ""
+%files Bulgarian
+%defattr(-,root,root,-)
+%lang(bg) %{tde_datadir}/locale/bg/*
+%endif
+
+%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != ""
+%files Bengali
+%defattr(-,root,root,-)
+%lang(bn) %{tde_datadir}/locale/bn/*
+%endif
+
+%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != ""
+%files Tibetan
+%defattr(-,root,root,-)
+%lang(bo) %{tde_datadir}/locale/bo/*
+%endif
+
+%if "%( grep -w br <<< '%{KDE_LANGS}' )" != ""
+%files Breton
+%defattr(-,root,root,-)
+%lang(br) %{tde_datadir}/locale/br/*
+%endif
+
+%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != ""
+%files Bosnian
+%defattr(-,root,root,-)
+%lang(bs) %{tde_datadir}/locale/bs/*
+%endif
+
+%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != ""
+%files Catalan
+%defattr(-,root,root,-)
+%lang(ca) %{tde_datadir}/locale/ca/*
+%lang(ca) %{tde_tdedocdir}/HTML/ca/
+%endif
+
+%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != ""
+%files Czech
+%defattr(-,root,root,-)
+%lang(cs) %{tde_datadir}/locale/cs/*
+%lang(cs) %{tde_tdedocdir}/HTML/cs/
+%endif
+
+%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != ""
+%files Welsh
+%defattr(-,root,root,-)
+%lang(cy) %{tde_datadir}/locale/cy/*
+%endif
+
+%if "%( grep -w da <<< '%{KDE_LANGS}' )" != ""
+%files Danish
+%defattr(-,root,root,-)
+%lang(da) %{tde_datadir}/locale/da/*
+%lang(da) %{tde_tdedocdir}/HTML/da/
+%endif
+
+%if "%( grep -w de <<< '%{KDE_LANGS}' )" != ""
+%files German
+%defattr(-,root,root,-)
+%lang(de) %{tde_datadir}/locale/de/*
+%lang(de) %{tde_tdedocdir}/HTML/de/
+%endif
+
+%if "%( grep -w el <<< '%{KDE_LANGS}' )" != ""
+%files Greek
+%defattr(-,root,root,-)
+%lang(el) %{tde_datadir}/locale/el/*
+%endif
+
+%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != ""
+%files British
+%defattr(-,root,root,-)
+%lang(en_GB) %{tde_datadir}/locale/en_GB/*
+%lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/
+%endif
+
+%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != ""
+%files Esperanto
+%defattr(-,root,root,-)
+%lang(eo) %{tde_datadir}/locale/eo/*
+%endif
+
+%if "%( grep -w es <<< '%{KDE_LANGS}' )" != ""
+%files Spanish
+%defattr(-,root,root,-)
+%lang(es) %{tde_datadir}/locale/es/*
+%lang(es) %{tde_tdedocdir}/HTML/es/
+%endif
+
+%if "%( grep -w et <<< '%{KDE_LANGS}' )" != ""
+%files Estonian
+%defattr(-,root,root,-)
+%lang(et) %{tde_datadir}/locale/et/*
+%lang(et) %{tde_tdedocdir}/HTML/et/
+%endif
+
+%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != ""
+%files Basque
+%defattr(-,root,root,-)
+%lang(eu) %{tde_datadir}/locale/eu/*
+%endif
+
+%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != ""
+%files Farsi
+%defattr(-,root,root,-)
+%lang(fa) %{tde_datadir}/locale/fa/*
+%endif
+
+%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != ""
+%files Finnish
+%defattr(-,root,root,-)
+%lang(fi) %{tde_datadir}/locale/fi/*
+%lang(fi) %{tde_tdedocdir}/HTML/fi/
+%endif
+
+%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != ""
+%files Faroese
+%defattr(-,root,root,-)
+%lang(fo) %{tde_datadir}/locale/fo/*
+%endif
+
+%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != ""
+%files French
+%defattr(-,root,root,-)
+%lang(fr) %{tde_datadir}/locale/fr/*
+%lang(fr) %{tde_tdedocdir}/HTML/fr/
+%endif
+
+%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != ""
+%files Frisian
+%defattr(-,root,root,-)
+%lang(fy) %{tde_datadir}/locale/fy/*
+%endif
+
+%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != ""
+%files Irish
+%defattr(-,root,root,-)
+%lang(ga) %{tde_datadir}/locale/ga/*
+%endif
+
+%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != ""
+%files Galician
+%defattr(-,root,root,-)
+%lang(gl) %{tde_datadir}/locale/gl/*
+%endif
+
+%if "%( grep -w he <<< '%{KDE_LANGS}' )" != ""
+%files Hebrew
+%defattr(-,root,root,-)
+%lang(he) %{tde_datadir}/locale/he/*
+%lang(he) %{tde_tdedocdir}/HTML/he/
+%endif
+
+%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != ""
+%files Hindi
+%defattr(-,root,root,-)
+%lang(hi) %{tde_datadir}/locale/hi/*
+%endif
+
+%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != ""
+%files Croatian
+%defattr(-,root,root,-)
+%lang(hr) %{tde_datadir}/locale/hr/*
+%lang(hr) %{tde_tdedocdir}/HTML/hr/
+%endif
+
+%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != ""
+%files Hungarian
+%defattr(-,root,root,-)
+%lang(hu) %{tde_datadir}/locale/hu/*
+%lang(hu) %{tde_tdedocdir}/HTML/hu/
+%endif
+
+%if "%( grep -w id <<< '%{KDE_LANGS}' )" != ""
+%files Indonesian
+%defattr(-,root,root,-)
+%lang(id) %{tde_datadir}/locale/id/*
+%lang(id) %{tde_tdedocdir}/HTML/id/
+%endif
+
+%if "%( grep -w is <<< '%{KDE_LANGS}' )" != ""
+%files Icelandic
+%defattr(-,root,root,-)
+%lang(is) %{tde_datadir}/locale/is/*
+%endif
+
+%if "%( grep -w it <<< '%{KDE_LANGS}' )" != ""
+%files Italian
+%defattr(-,root,root,-)
+%lang(it) %{tde_datadir}/locale/it/*
+%lang(it) %{tde_tdedocdir}/HTML/it/
+%endif
+
+%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != ""
+%files Japanese
+%defattr(-,root,root,-)
+%lang(ja) %{tde_datadir}/locale/ja/*
+%lang(ja) %{tde_tdedocdir}/HTML/ja/
+%endif
+
+%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != ""
+%files Korean
+%defattr(-,root,root,-)
+%lang(ko) %{tde_datadir}/locale/ko/*
+%lang(ko) %{tde_tdedocdir}/HTML/ko/
+%endif
+
+%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != ""
+%files Kurdish
+%defattr(-,root,root,-)
+%lang(ku) %{tde_datadir}/locale/ku/*
+%lang(ku) %{tde_tdedocdir}/HTML/ku/
+%endif
+
+%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != ""
+%files Lao
+%defattr(-,root,root,-)
+%lang(lo) %{tde_datadir}/locale/lo/*
+%lang(lo) %{tde_tdedocdir}/HTML/lo/
+%endif
+
+%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != ""
+%files Lithuanian
+%defattr(-,root,root,-)
+%lang(lt) %{tde_datadir}/locale/lt/*
+%endif
+
+%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != ""
+%files Latvian
+%defattr(-,root,root,-)
+%lang(lv) %{tde_datadir}/locale/lv/*
+%endif
+
+%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != ""
+%files Maori
+%defattr(-,root,root,-)
+%lang(mi) %{tde_datadir}/locale/mi/*
+%endif
+
+%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != ""
+%files Macedonian
+%defattr(-,root,root,-)
+%lang(mk) %{tde_datadir}/locale/mk/*
+%endif
+
+%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != ""
+%files Maltese
+%defattr(-,root,root,-)
+%lang(mt) %{tde_datadir}/locale/mt/*
+%endif
+
+%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != ""
+%files Dutch
+%defattr(-,root,root,-)
+%lang(nl) %{tde_datadir}/locale/nl/*
+%lang(nl) %{tde_tdedocdir}/HTML/nl/
+%endif
+
+%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != ""
+%files Norwegian
+%defattr(-,root,root,-)
+%lang(nb) %{tde_datadir}/locale/nb/*
+#%lang(nb) %{tde_tdedocdir}/HTML/nb/
+%endif
+
+%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != ""
+%files Norwegian-Nynorsk
+%defattr(-,root,root,-)
+%lang(nn) %{tde_datadir}/locale/nn/*
+#%lang(nn) %{tde_tdedocdir}/HTML/nn/
+%endif
+
+%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != ""
+%files Occitan
+%defattr(-,root,root,-)
+%lang(oc) %{tde_datadir}/locale/oc/*
+%endif
+
+%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != ""
+%files Punjabi
+%defattr(-,root,root,-)
+%lang(pa) %{tde_datadir}/locale/pa/*
+%endif
+
+%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != ""
+%files Polish
+%defattr(-,root,root,-)
+%lang(pl) %{tde_datadir}/locale/pl/*
+%lang(pl) %{tde_tdedocdir}/HTML/pl/
+%endif
+
+%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != ""
+%files Portuguese
+%defattr(-,root,root,-)
+%lang(pt) %{tde_datadir}/locale/pt/*
+%lang(pt) %{tde_tdedocdir}/HTML/pt/
+%endif
+
+%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != ""
+%files Brazil
+%defattr(-,root,root,-)
+%lang(pt_BR) %{tde_datadir}/locale/pt_BR/*
+%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/
+%endif
+
+%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != ""
+%files Romanian
+%defattr(-,root,root,-)
+%lang(ro) %{tde_datadir}/locale/ro/*
+%lang(ro) %{tde_tdedocdir}/HTML/ro/
+%endif
+
+%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != ""
+%files Russian
+%defattr(-,root,root,-)
+%lang(ru) %{tde_datadir}/locale/ru/*
+%lang(ru) %{tde_tdedocdir}/HTML/ru/
+%endif
+
+%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != ""
+%files Slovak
+%defattr(-,root,root,-)
+%lang(sk) %{tde_datadir}/locale/sk/*
+%lang(sk) %{tde_tdedocdir}/HTML/sk/
+%endif
+
+%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != ""
+%files Slovenian
+%defattr(-,root,root,-)
+%lang(sl) %{tde_datadir}/locale/sl/*
+%lang(sl) %{tde_tdedocdir}/HTML/sl/
+%endif
+
+%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != ""
+%files Serbian
+%defattr(-,root,root,-)
+%lang(sr) %{tde_datadir}/locale/sr/*
+%lang(sr) %{tde_tdedocdir}/HTML/sr/
+%endif
+
+%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != ""
+%files Swedish
+%defattr(-,root,root,-)
+%lang(sv) %{tde_datadir}/locale/sv/*
+%lang(sv) %{tde_tdedocdir}/HTML/sv/
+%endif
+
+%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != ""
+%files Tamil
+%defattr(-,root,root,-)
+%lang(ta) %{tde_datadir}/locale/ta/*
+%endif
+
+%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != ""
+%files Tajik
+%defattr(-,root,root,-)
+%lang(tg) %{tde_datadir}/locale/tg/*
+%endif
+
+%if "%( grep -w th <<< '%{KDE_LANGS}' )" != ""
+%files Thai
+%defattr(-,root,root,-)
+%lang(th) %{tde_datadir}/locale/th/*
+%endif
+
+%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != ""
+%files Turkish
+%defattr(-,root,root,-)
+%lang(tr) %{tde_datadir}/locale/tr/*
+%lang(tr) %{tde_tdedocdir}/HTML/tr/
+%endif
+
+%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != ""
+%files Ukrainian
+%defattr(-,root,root,-)
+%lang(uk) %{tde_tdedocdir}/HTML/uk/
+%lang(uk) %{tde_datadir}/locale/uk/*
+%endif
+
+%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != ""
+%files Venda
+%defattr(-,root,root,-)
+%lang(ven) %{tde_datadir}/locale/ven/*
+%endif
+
+%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != ""
+%files Vietnamese
+%defattr(-,root,root,-)
+%lang(vi) %{tde_datadir}/locale/vi/*
+%endif
+
+%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != ""
+%files Walloon
+%defattr(-,root,root,-)
+%lang(wa) %{tde_datadir}/locale/wa/*
+%endif
+
+%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != ""
+%files Xhosa
+%defattr(-,root,root,-)
+%lang(xh) %{tde_datadir}/locale/xh/*
+%lang(xh) %{tde_tdedocdir}/HTML/xh/
+%endif
+
+%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != ""
+%files Chinese
+%defattr(-,root,root,-)
+%lang(zh_CN) %{tde_datadir}/locale/zh_CN/*
+%lang(zh_CN) %{tde_tdedocdir}/HTML/zh_CN/
+%endif
+
+%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != ""
+%files Chinese-Big5
+%defattr(-,root,root,-)
+%lang(zh_TW) %{tde_datadir}/locale/zh_TW/*
+%lang(zh_TW) %{tde_tdedocdir}/HTML/zh_TW/
+%endif
+
+%changelog
+* Sat Jan 19 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
+
+* Wed Aug 15 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-7
+- Renames to 'trinity-i18n'
+- Updates 'zh_TW' translations
+
+* Sun Dec 18 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-6
+- Updates French translations (mostly Kickoff Menu related)
+
+* Sun Dec 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-5
+- Removes 'kde-filesystem" dependancy
+
+* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-4
+- Fix HTML directory location
+
+* Fri Nov 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-3
+- Re-adds missing files 'entry.desktop'
+- Updates zh_TW translation, thanks to Wei-Lun Chao
+
+* Tue Nov 01 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
+- Add missing french translations for TDE 3.5.13
+
+* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
+- Initial release for RHEL 6, RHEL 5 and Fedora 15
+
+* Sun Dec 19 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
+- Initial version (French language only)
+- Based on RHEL SPEC file 'kde-i18n'
diff --git a/redhat/tdeaccessibility/trinity-tdeaccessibility-3.5.13.2.spec b/redhat/tdeaccessibility/trinity-tdeaccessibility-3.5.13.2.spec
new file mode 100644
index 000000000..fcd506a32
--- /dev/null
+++ b/redhat/tdeaccessibility/trinity-tdeaccessibility-3.5.13.2.spec
@@ -0,0 +1,519 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Summary: Trinity Desktop Environment - Accessibility
+Name: trinity-tdeaccessibility
+Version: 3.5.13.2
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2
+Group: User Interface/Desktops
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: desktop-file-utils
+BuildRequires: trinity-akode-devel
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tdemultimedia-devel >= %{version}
+
+BuildRequires: alsa-lib-devel
+
+# X11 Libraries
+%if 0%{?fedora} > 4 || 0%{?rhel} > 4
+BuildRequires: libXtst-devel
+%endif
+
+# XCB support
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?pclinuxos}
+BuildRequires: libxcb-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xcb-devel
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xi-devel
+BuildRequires: %{_lib}xext%{?mgaversion:6}-devel
+BuildRequires: %{_lib}x11%{?mgaversion:_6}-devel
+BuildRequires: %{_lib}xau%{?mgaversion:6}-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: libXi-devel
+BuildRequires: libXext-devel
+BuildRequires: libX11-devel
+BuildRequires: libXau-devel
+%endif
+%if 0%{?rhel} == 4 || 0%{?suse_version} == 1140
+BuildRequires: xorg-x11-devel
+%endif
+
+Obsoletes: trinity-kdeaccessibility < %{version}-%{release}
+Provides: trinity-kdeaccessibility = %{version}-%{release}
+Obsoletes: trinity-kdeaccessibility-libs < %{version}-%{release}
+Provides: trinity-kdeaccessibility-libs = %{version}-%{release}
+
+Requires: trinity-kde-icons-mono = %{version}-%{release}
+Requires: trinity-kbstate = %{version}-%{release}
+Requires: trinity-kmag = %{version}-%{release}
+Requires: trinity-kmousetool = %{version}-%{release}
+Requires: trinity-kmouth = %{version}-%{release}
+Requires: trinity-ksayit = %{version}-%{release}
+Requires: trinity-kttsd = %{version}-%{release}
+Requires: trinity-kttsd-contrib-plugins = %{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-kde-icons-mono
+Summary: A monochromatic icons theme for TDE
+Group: User Interface/Desktops
+
+%description -n trinity-kde-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-kde-icons-mono
+%defattr(-,root,root,-)
+%{tde_datadir}/icons/mono/index.theme
+%{tde_datadir}/icons/mono/scalable/*/*.svgz
+
+##########
+
+%package -n trinity-kbstate
+Summary: a keyboard status applet for TDE
+Group: User Interface/Desktops
+
+%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: User Interface/Desktops
+
+%description -n trinity-kmag
+KDE'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_datadir}/applnk/Applications/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/
+
+%post -n trinity-kmag
+/sbin/ldconfig ||:
+for icon_theme in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+%postun -n trinity-kmag
+/sbin/ldconfig ||:
+for icon_theme in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-kmousetool
+Summary: TDE mouse manipulation tool for the disabled
+Group: User Interface/Desktops
+
+%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_datadir}/applnk/Applications/kmousetool.desktop
+%{tde_datadir}/apps/kmousetool/
+%{tde_datadir}/icons/hicolor/*/apps/kmousetool.png
+%{tde_tdedocdir}/HTML/en/kmousetool/
+
+%post -n trinity-kmousetool
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+%postun -n trinity-kmousetool
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-kmouth
+Summary: A type-and-say KDE frontend for speech synthesizers
+Group: User Interface/Desktops
+
+%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,-)
+%{tde_datadir}/config/kmouthrc
+%{tde_bindir}/kmouth
+%{tde_datadir}/applnk/Applications/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/
+
+%post -n trinity-kmouth
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+%postun -n trinity-kmouth
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-ksayit
+Summary: A frontend for the TDE Text-to-Speech system
+Group: User Interface/Desktops
+
+%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_tdeincludedir}/ksayit_fxplugin.h
+%{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
+
+%post -n trinity-ksayit
+/sbin/ldconfig ||:
+for icon_theme in mono hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksayit
+/sbin/ldconfig ||:
+for icon_theme in mono hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kttsd
+Summary: A Text-to-Speech system for TDE
+Group: User Interface/Desktops
+
+%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}/ktexteditor_kttsd.la
+%{tde_tdelibdir}/ktexteditor_kttsd.so
+%{tde_tdelibdir}/libkttsd_akodeplugin.la
+%{tde_tdelibdir}/libkttsd_akodeplugin.so
+%{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/ktexteditor_kttsd/ktexteditor_kttsdui.rc
+%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}/services/ktexteditor_kttsd.desktop
+%{tde_datadir}/services/kttsd.desktop
+%{tde_datadir}/services/kttsd_akodeplugin.desktop
+%{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_datadir}/icons/crystalsvg/*/apps/kttsd.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.svgz
+%{tde_tdedocdir}/HTML/en/kttsd/
+
+%post -n trinity-kttsd
+/sbin/ldconfig ||:
+for icon_theme in crystalsvg hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kttsd
+/sbin/ldconfig ||:
+for icon_theme in crystalsvg hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kttsd-contrib-plugins
+Summary: the TDE Text-to-Speech system
+Group: User Interface/Desktops
+Requires: trinity-kttsd = %{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 %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tdelibs-devel >= %{version}
+
+Obsoletes: trinity-kdeaccessibility-devel < %{version}-%{release}
+Provides: trinity-kdeaccessibility-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkttsd.la
+%{tde_libdir}/libkttsd.so
+%{tde_libdir}/libKTTSD_Lib.la
+%{tde_libdir}/libKTTSD_Lib.so
+
+%post devel
+/sbin/ldconfig ||:
+
+%postun devel
+/sbin/ldconfig ||:
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i admin/acinclude.m4.in \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+# Avoids conflict with KDE4, if installed
+# see file: '/etc/profile.d/kde.sh' from package 'kde-settings'
+export KDEDIRS=%{tde_prefix}
+export KDEDIR=%{tde_prefix}
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --enable-new-ldflags \
+ --enable-closure \
+ --disable-debug --disable-warnings \
+ --enable-final \
+ --enable-ksayit-audio-plugins \
+ --with-akode \
+ --with-extra-includes=%{tde_includedir}:%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# file lists for locale
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}/$HTML_DIR ]; then
+ for lang_dir in %{buildroot}/$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+ done
+fi
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdeaddons/trinity-tdeaddons-3.5.13.2.spec b/redhat/tdeaddons/trinity-tdeaddons-3.5.13.2.spec
new file mode 100644
index 000000000..c998a3b72
--- /dev/null
+++ b/redhat/tdeaddons/trinity-tdeaddons-3.5.13.2.spec
@@ -0,0 +1,755 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-tdeaddons
+Summary: Trinity Desktop Environment - Plugins
+Version: 3.5.13.2
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2
+Group: User Interface/Desktops
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Obsoletes: trinity-kdeaddons < %{version}-%{release}
+Provides: trinity-kdeaddons = %{version}-%{release}
+Obsoletes: trinity-kdeaddons-extras < %{version}-%{release}
+Provides: trinity-kdeaddons-extras = %{version}-%{release}
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: qt3-devel >= 3.3.8d
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tdebase-devel >= %{version}
+BuildRequires: trinity-tdegames-devel >= %{version}
+BuildRequires: trinity-tdemultimedia-devel >= %{version}
+BuildRequires: trinity-tdepim-devel >= %{version}
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+
+BuildRequires: SDL-devel
+BuildRequires: alsa-lib-devel
+BuildRequires: openssl-devel
+
+# DB4 support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 || 0%{?mdkversion} || 0%{?mgaversion}
+%define with_db4 1
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion}
+BuildRequires: db4-devel
+%endif
+%if 0%{?fedora} >= 18
+BuildRequires: libdb4-cxx-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libdb-4_8-devel
+%endif
+%endif
+
+# XMMS support: no, always disabled, even on Fedora
+#%if 0%{?fedora}
+#define with_xmms 1
+#BuildRequires: xmms-devel
+#%endif
+
+#Requires: which
+
+Requires: trinity-atlantikdesigner = %{version}-%{release}
+Requires: trinity-kaddressbook-plugins = %{version}-%{release}
+Requires: trinity-kate-plugins = %{version}-%{release}
+Requires: trinity-tdeaddons-kfile-plugins = %{version}-%{release}
+Requires: trinity-kicker-applets = %{version}-%{release}
+Requires: trinity-knewsticker-scripts = %{version}-%{release}
+Requires: trinity-konq-plugins = %{version}-%{release}
+Requires: trinity-ksig = %{version}-%{release}
+Requires: trinity-noatun-plugins = %{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
+
+%post -n trinity-atlantikdesigner
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-atlantikdesigner
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&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/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/
+
+##########
+
+%package kfile-plugins
+Summary: Trinity file dialog plugins for text files and folders
+Group: Applications/Utilities
+
+%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 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 kfile-plugins
+%defattr(-,root,root,-)
+%doc kfile-plugins/lnk/README
+%{tde_bindir}/lnkforward
+%{tde_tdelibdir}/kfile_cert.la
+%{tde_tdelibdir}/kfile_cert.so
+%{tde_tdelibdir}/kfile_desktop.la
+%{tde_tdelibdir}/kfile_desktop.so
+%{tde_tdelibdir}/kfile_folder.la
+%{tde_tdelibdir}/kfile_folder.so
+%{tde_tdelibdir}/kfile_html.la
+%{tde_tdelibdir}/kfile_html.so
+%{tde_tdelibdir}/kfile_lnk.la
+%{tde_tdelibdir}/kfile_lnk.so
+%{tde_tdelibdir}/kfile_mhtml.la
+%{tde_tdelibdir}/kfile_mhtml.so
+%{tde_tdelibdir}/kfile_txt.la
+%{tde_tdelibdir}/kfile_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/kfile_cert.desktop
+%{tde_datadir}/services/kfile_desktop.desktop
+%{tde_datadir}/services/kfile_folder.desktop
+%{tde_datadir}/services/kfile_html.desktop
+%{tde_datadir}/services/kfile_lnk.desktop
+%{tde_datadir}/services/kfile_mhtml.desktop
+%{tde_datadir}/services/kfile_txt.desktop
+%{tde_datadir}/services/renaudiodlg.desktop
+%{tde_datadir}/services/renimagedlg.desktop
+
+##########
+
+%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/
+
+%post -n trinity-kicker-applets
+for f in crystalsvg locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+%postun -n trinity-kicker-applets
+for f in crystalsvg locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-knewsticker-scripts
+Summary: scripts for KNewsTicker, the Trinity news ticker
+Group: Applications/Utilities
+Requires: perl
+Requires: python
+#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
+Requires: python
+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
+%{tde_datadir}/config/translaterc
+%{tde_bindir}/fsview
+%{tde_bindir}/jpegorient
+%{tde_bindir}/kio_media_realfolder
+%{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}/libkhtmlsettingsplugin.la
+%{tde_tdelibdir}/libkhtmlsettingsplugin.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/khtmlsettingsplugin.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/orient.py*
+%{tde_datadir}/apps/imagerotation/exif.py*
+%{tde_datadir}/apps/khtml/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/iconsrc
+%{tde_datadir}/apps/metabar/themes/default/default.css
+%{tde_datadir}/apps/metabar/themes/default/layout.html
+%{tde_datadir}/apps/microformat/pics/microformat.png
+%{tde_datadir}/config.kcfg/konq_sidebarnews.kcfg
+%{tde_datadir}/icons/locolor/16x16/apps/autorefresh.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/babelfish.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/cssvalidator.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/domtreeviewer.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/htmlvalidator.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/imagegallery.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesync.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesyncconfig.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/minitools.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/validators.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/webarchiver.png
+%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_delicious.png
+%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_mediaplayer.png
+%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_news.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/babelfish.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/cssvalidator.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/domtreeviewer.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/htmlvalidator.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/imagegallery.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesync.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesyncconfig.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/minitools.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/validators.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/webarchiver.png
+%{tde_datadir}/icons/crystalsvg/22x22/apps/konqsidebar_mediaplayer.png
+%{tde_datadir}/icons/crystalsvg/32x32/actions/minitools.png
+%{tde_datadir}/icons/crystalsvg/32x32/apps/konqsidebar_mediaplayer.png
+%{tde_datadir}/icons/crystalsvg/48x48/actions/minitools.png
+%{tde_datadir}/icons/crystalsvg/48x48/apps/konqsidebar_mediaplayer.png
+%{tde_datadir}/icons/hicolor/16x16/apps/metabar.png
+%{tde_datadir}/icons/hicolor/22x22/apps/fsview.png
+%{tde_datadir}/icons/hicolor/32x32/apps/fsview.png
+%{tde_datadir}/icons/hicolor/32x32/apps/metabar.png
+%{tde_datadir}/icons/hicolor/48x48/apps/metabar.png
+%{tde_datadir}/icons/hicolor/64x64/apps/metabar.png
+%{tde_datadir}/icons/hicolor/scalable/apps/metabar.svgz
+%{tde_datadir}/icons/hicolor/128x128/apps/metabar.png
+%{tde_datadir}/icons/locolor/32x32/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/
+
+%post -n trinity-konq-plugins
+for f in crystalsvg hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+%postun -n trinity-konq-plugins
+for f in crystalsvg hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+##########
+
+%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/ksigui.rc
+%{tde_datadir}/icons/hicolor/*/apps/ksig.png
+%{tde_tdedocdir}/HTML/en/ksig/
+
+%post -n trinity-ksig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&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_db4}
+%{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
+
+%post -n trinity-noatun-plugins
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+%postun -n trinity-noatun-plugins
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i admin/acinclude.m4.in \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+
+# Note about DB4:
+# Fedora 18: /usr/include/libdb4/db_cxx.h , /usr/lib64/libdb_cxx-4.so
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --enable-new-ldflags \
+ --enable-closure \
+ --disable-debug --disable-warnings \
+ --disable-dependency-tracking --enable-final \
+ --with-extra-includes=%{tde_includedir}/tqt:%{_includedir}/db4:%{_includedir}/libdb4:%{tde_includedir}/arts:%{tde_includedir} \
+ %{?with_xmms:--with-xmms} %{?!with_xmms:--without-xmms} \
+ --with-sdl \
+%if 0%{?with_db4}
+ --with-berkeley-db \
+%if 0%{?fedora} == 18
+ --with-db-lib=db_cxx-4 \
+%endif
+%endif
+
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# File lists for locale
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}/$HTML_DIR ]; then
+ for lang_dir in %{buildroot}/$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
+ done
+ popd
+ fi
+ done
+fi
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
+
diff --git a/redhat/tdeadmin/trinity-tdeadmin-3.5.13.2.spec b/redhat/tdeadmin/trinity-tdeadmin-3.5.13.2.spec
new file mode 100644
index 000000000..ce87dfa25
--- /dev/null
+++ b/redhat/tdeadmin/trinity-tdeadmin-3.5.13.2.spec
@@ -0,0 +1,494 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_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_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-tdeadmin
+Summary: Administrative tools for TDE
+Version: 3.5.13.2
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2
+Group: User Interface/Desktops
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+
+Obsoletes: trinity-kdeadmin < %{version}-%{release}
+Provides: trinity-kdeadmin = %{version}-%{release}
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Source1: kuser.pam
+Source2: kuser.pamd
+Source5: kpackagerc
+Source6: ksysvrc
+Source7: kuserrc
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: rpm-devel
+BuildRequires: pam-devel
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+BuildRequires: lilo
+%endif
+
+Requires: trinity-tdeadmin = %{version}-%{release}
+Requires: trinity-kcron = %{version}-%{release}
+Requires: trinity-kdat = %{version}-%{release}
+Requires: %{name}-kfile-plugins = %{version}-%{release}
+Requires: trinity-knetworkconf = %{version}-%{release}
+Requires: trinity-kpackage = %{version}-%{release}
+Requires: trinity-ksysv = %{version}-%{release}
+Requires: trinity-kuser = %{version}-%{release}
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+Requires: trinity-lilo-config = %{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,-)
+# LILO is not provided in RHEL or Fedora
+%if 0%{?rhel} || 0%{?fedora}
+%exclude %{tde_tdedocdir}/HTML/en/lilo-config/
+%endif
+
+##########
+
+%package -n trinity-kcron
+Summary: The Trinity crontab editor
+Group: Applications/Utilities
+
+%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/kcronui.rc
+%{tde_datadir}/icons/hicolor/*/apps/kcron.png
+%{tde_tdedocdir}/HTML/en/kcron/
+
+%post -n trinity-kcron
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kcron
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kdat
+Summary: A Trinity tape backup tool
+Group: Applications/Utilities
+
+%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/
+
+%post -n trinity-kdat
+for icon_theme in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kdat
+for icon_theme in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package kfile-plugins
+Summary: Trinity file metainfo plugins for deb and rpm files
+Group: Environment/Libraries
+
+%description kfile-plugins
+File metainfo plugins for deb and rpm package files.
+
+%files kfile-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kfile_deb.la
+%{tde_tdelibdir}/kfile_deb.so
+%{tde_tdelibdir}/kfile_rpm.la
+%{tde_tdelibdir}/kfile_rpm.so
+%{tde_datadir}/services/kfile_deb.desktop
+%{tde_datadir}/services/kfile_rpm.desktop
+
+##########
+
+%package -n trinity-knetworkconf
+Summary: Trinity network configuration tool
+Group: Applications/Utilities
+
+%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/
+
+%post -n trinity-knetworkconf
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+%postun -n trinity-knetworkconf
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-kpackage
+Summary: Trinity package management tool
+Group: Applications/Utilities
+
+%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/
+%{tde_datadir}/config/kpackagerc
+%{tde_datadir}/icons/hicolor/*/apps/kpackage.png
+%{tde_tdedocdir}/HTML/en/kpackage/
+
+%post -n trinity-kpackage
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kpackage
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksysv
+Summary: Trinity SysV-style init configuration editor
+Group: Applications/Utilities
+
+%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/
+%{tde_datadir}/config/ksysvrc
+%{tde_datadir}/icons/crystalsvg/16x16/actions/toggle_log.png
+%{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/
+
+%post -n trinity-ksysv
+for icon_theme in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksysv
+for icon_theme in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kuser
+Summary: Trinity user/group administration tool
+Group: Applications/Utilities
+
+%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/
+%{tde_datadir}/config/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
+
+%post -n trinity-kuser
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kuser
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%package -n trinity-lilo-config
+Summary: Trinity frontend for lilo configuration
+Group: Applications/Utilities
+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 TDE 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%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i admin/acinclude.m4.in \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+# Do not build against any "/usr" installed KDE
+export KDEDIR=%{tde_prefix}
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --sbindir=%{tde_sbindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --enable-new-ldflags \
+ --disable-dependency-tracking \
+ --disable-rpath \
+ --with-rpm \
+ --with-pam=kde \
+ --with-shadow \
+ --with-private-groups \
+ --enable-final \
+ --enable-closure \
+ --with-private-groups \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+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}
+
+%__install -p -m644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{buildroot}%{tde_datadir}/config/
+
+%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
+
+# locale's
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}/$HTML_DIR ]; then
+for lang_dir in %{buildroot}/$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# 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
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdeartwork/trinity-tdeartwork-3.5.13.2.spec b/redhat/tdeartwork/trinity-tdeartwork-3.5.13.2.spec
new file mode 100644
index 000000000..62547450d
--- /dev/null
+++ b/redhat/tdeartwork/trinity-tdeartwork-3.5.13.2.spec
@@ -0,0 +1,710 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-tdeartwork
+Summary: Additional artwork (themes, sound themes, ...) for TDE
+Version: 3.5.13.2
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2
+Group: User Interface/Desktops
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+Url: http://www.trinitydesktop.org/
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+
+BuildRequires: cmake >= 2.8
+BuildRequires: trinity-tdebase-devel >= %{version}
+
+BuildRequires: gettext
+BuildRequires: esound-devel
+
+# kdeartwork specific settings
+
+# OpenGL support
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-Mesa-libGLU
+%endif
+
+# NAS support
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: nas-devel
+%endif
+
+# LIBART support
+# On RHEL, libart is too old !
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_libart 1
+BuildRequires: libart_lgpl-devel
+%endif
+
+# XSCREENSAVER support
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
+%define with_xscreensaver 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-base
+BuildRequires: xscreensaver-extrusion
+BuildRequires: xscreensaver-gl
+%endif
+%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220
+BuildRequires: libXScrnSaver-devel
+%endif
+
+%if 0%{?fedora} || 0%{?rhel} >= 6
+# Provides '/usr/share/xscreensaver/config/deco.xml'
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-extras
+%endif
+%if 0%{?suse_version}
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-data
+BuildRequires: xscreensaver-data-extra
+%endif
+
+# Opensuse does not provide 'webcollage' screensaver
+%if 0%{?suse_version} == 0
+%define with_webcollage 1
+%endif
+
+%endif
+
+# JACK support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}jack-devel
+%endif
+%if 0%{?fedora} || 0%{?rhel} >= 5
+BuildRequires: jack-audio-connection-kit-devel
+%endif
+
+
+Obsoletes: trinity-kdeartwork < %{version}-%{release}
+Provides: trinity-kdeartwork = %{version}-%{release}
+
+# Metapackage
+Requires: %{name}-emoticons = %{version}-%{release}
+Requires: %{name}-misc = %{version}-%{release}
+Requires: %{name}-style = %{version}-%{release}
+Requires: %{name}-theme-icon = %{version}-%{release}
+Requires: %{name}-theme-window = %{version}-%{release}
+Requires: trinity-tdewallpapers = %{version}-%{release}
+Requires: trinity-kscreensaver = %{version}-%{release}
+
+%if 0%{?with_xscreensaver}
+Requires: trinity-kscreensaver-xsavers = %{version}-%{release}
+Requires: trinity-kscreensaver-xsavers-extra = %{version}-%{release}
+%if 0%{?with_webcollage}
+Requires: trinity-kscreensaver-xsavers-webcollage = %{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 KDE.
+
+Homepage: http://artist.kde.org
+
+%files
+
+##########
+
+%package emoticons
+Summary: emoticon collections for tDE chat clients
+Group: User Interface/Desktops
+
+%description emoticons
+This package contains several collections of emoticons used by official
+and unofficial KDE chat clients, such as Kopete and Konversation.
+
+This package is part of KDE, and a component of the KDE artwork module.
+
+%files emoticons
+%defattr(-,root,root,-)
+%{tde_datadir}/emoticons/
+
+##########
+
+%package misc
+Summary: various multimedia goodies released with TDE
+Group: User Interface/Desktops
+
+%description misc
+This package contains miscellaneous multimedia goodies for KDE.
+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: User Interface/Desktops
+
+%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 TDE Control Centre.
+
+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}/kstyle_phase_config.la
+%{tde_tdelibdir}/kstyle_phase_config.so
+%{tde_datadir}/apps/kstyle/
+
+##########
+
+%package theme-icon
+Summary: icon themes released with Trinity
+Group: User Interface/Desktops
+
+Obsoletes: trinity-kdeartwork-icons < %{version}-%{release}
+Provides: trinity-kdeartwork-icons = %{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 KDE. 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/*/*
+
+%post theme-icon
+for i in locolor ikons kdeclassic kids slick ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+
+%postun theme-icon
+for i in locolor ikons kdeclassic kids slick ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+
+##########
+
+%package theme-window
+Summary: window decoration themes released with Trinity
+Group: User Interface/Desktops
+
+%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}/[kt]win*
+%{tde_datadir}/apps/[kt]win/
+
+##########
+
+%package -n trinity-tdewallpapers
+Summary: wallpapers released with Trinity
+Group: User Interface/Desktops
+Obsoletes: trinity-kdewallpapers < %{version}-%{release}
+Provides: trinity-kdewallpapers = %{version}-%{release}
+
+%description -n trinity-tdewallpapers
+This package contains additional wallpapers for Trinity. Wallpapers can be
+applied using the background manager in the TDE Control Centre.
+
+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-kscreensaver
+Summary: additional screen savers released with Trinity
+Group: User Interface/Desktops
+
+%description -n trinity-kscreensaver
+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 TDE Control Center, install the separate package kscreensaver-xsavers.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-kscreensaver
+%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}/kpartsaver.kss
+%{tde_bindir}/kpendulum.kss
+%{tde_bindir}/kblob.kss
+%{tde_bindir}/klines.kss
+%{tde_bindir}/kwave.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/kpartsaver.desktop
+%{tde_datadir}/apps/kfiresaver/
+%{tde_datadir}/apps/kscreensaver/
+
+%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
+%endif
+
+##########
+
+%if 0%{?with_xscreensaver}
+
+%package -n trinity-kscreensaver-xsavers
+Summary: Trinity hooks for standard xscreensavers
+Group: User Interface/Desktops
+Requires: trinity-tdebase-bin >= 3.5.13
+Requires: xscreensaver
+
+%description -n trinity-kscreensaver-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
+kscreensaver-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-kscreensaver-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
+%{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
+
+# These screensavers do not exist on Mageia 2
+%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0
+%{tde_datadir}/applnk/System/ScreenSavers/glmatrix.desktop
+%endif
+
+##########
+
+%if 0%{?with_webcollage}
+
+%package -n trinity-kscreensaver-xsavers-webcollage
+Summary: webcollage screensaver Trinity hook
+Group: User Interface/Desktops
+Requires: trinity-kscreensaver-xsavers-extra = %{version}-%{release}
+Requires: netpbm
+
+%description -n trinity-kscreensaver-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.
+
+If you still want to install this package, please read the file
+/usr/share/doc/kscreensaver-xsavers-webcollage/README.Debian after the
+installation.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-kscreensaver-xsavers-webcollage
+%defattr(-,root,root,-)
+%{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop
+
+%endif
+
+##########
+
+%package -n trinity-kscreensaver-xsavers-extra
+Summary: Trinity hooks for standard xscreensavers
+Group: User Interface/Desktops
+Requires: trinity-kscreensaver-xsavers = %{version}-%{release}
+
+%description -n trinity-kscreensaver-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
+kscreensaver.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-kscreensaver-xsavers-extra
+%defattr(-,root,root,-)
+%{tde_datadir}/applnk/System/ScreenSavers/anemone.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/anemotaxis.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/antmaze.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/apollonian.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/apple2.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/atlantis.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/attraction.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/barcode.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/blaster.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/blitspin.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/blocktube.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/boing.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/bouboule.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/bouncingcow.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/boxed.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/boxfit.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/bsod.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/bumps.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cage.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/carousel.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/ccurve.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/celtic.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cloudlife.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/compass.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/coral.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/crackberg.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/crystal.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cube21.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cubenetic.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cynosure.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/dangerball.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/decayscreen.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/deluxe.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/demon.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/discrete.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/drift.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/epicycle.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/eruption.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/euler2d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/extrusion.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fadeplot.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fireworkx.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flame.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fliptext.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flow.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fluidballs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flurry.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fontglide.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glhanoi.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glplanet.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/goop.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/grav.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/greynetic.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/halftone.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/halo.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/helix.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/hopalong.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/ifs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/imsmap.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/interaggregate.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/interference.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/intermomentary.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/jigsaw.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/juggler3d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/julia.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/kaleidescope.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/klein.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/kumppa.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lament.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/loop.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/maze.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/memscroller.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/menger.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/moire.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/moire2.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/mountain.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/munch.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/nerverot.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/noof.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/noseguy.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pacman.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pedal.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/penetrate.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/petri.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/phosphor.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/piecewise.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pinion.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/polyominoes.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pong.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/providence.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pyro.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/qix.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/rd-bomb.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/rocks.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/rorschach.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/rotzoomer.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/rubik.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/sballs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/sierpinski.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/slip.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/speedmine.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/spotlight.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/sproingies.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/squiral.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/stairs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/starfish.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/starwars.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/strange.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/substrate.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/tangram.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/thornbird.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/timetunnel.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/triangle.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/truchet.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/twang.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/vermiculate.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/wander.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/whirlwindwarp.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/wormhole.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xanalogtv.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xflame.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xrayswarm.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xspirograph.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/zoom.desktop
+
+# These screensavers do not exist on OpenSuse 12.2
+%if 0%{?suse_version} == 0
+%{tde_datadir}/applnk/System/ScreenSavers/vidwhacker.desktop
+%endif
+
+# These screensavers do not exist on Mageia 2 and Mandriva 2011
+%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0
+%{tde_datadir}/applnk/System/ScreenSavers/xjack.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xmatrix.desktop
+%endif
+
+%endif
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+export LD_LIBRARY_PATH="%{tde_libdir}"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ %{!?with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \
+ %{!?with_libart}:-DWITH_LIBART=OFF} \
+ -DWITH_OPENGL=ON \
+ -DWITH_ARTS=ON \
+ -DBUILD_ALL=ON \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install -C build DESTDIR=%{buildroot}
+
+# webcollage -root -directory /usr/share/backgrounds/images #227683
+
+# File lists
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# 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
+
+# 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
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdebase/trinity-tdebase-3.5.13.2.spec b/redhat/tdebase/trinity-tdebase-3.5.13.2.spec
new file mode 100644
index 000000000..7ffa69172
--- /dev/null
+++ b/redhat/tdebase/trinity-tdebase-3.5.13.2.spec
@@ -0,0 +1,3511 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+# Older RHEL/Fedora versions use packages named "qt", "qt-devel", ..
+# whereas newer versions use "qt3", "qt3-devel" ...
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define _qt_suffix 3
+%endif
+
+
+Name: trinity-tdebase
+Version: 3.5.13.2
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+License: GPL
+Summary: Trinity Base Programs
+Group: User Interface/Desktops
+
+Obsoletes: trinity-kdebase < %{version}-%{release}
+Provides: trinity-kdebase = %{version}-%{release}
+Obsoletes: trinity-kdebase-libs < %{version}-%{release}
+Provides: trinity-kdebase-libs = %{version}-%{release}
+Obsoletes: trinity-kdebase-extras < %{version}-%{release}
+Provides: trinity-kdebase-extras = %{version}-%{release}
+Obsoletes: tdebase < %{version}-%{release}
+Provides: tdebase = %{version}-%{release}
+
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+# Wrapper script to prevent Plasma launch at Trinity Startup
+Source1: plasma-desktop
+
+# Pam configuration files for RHEL / Fedora
+%if 0%{?suse_version} == 0
+Source2: pamd.kdm-trinity%{?dist}
+Source3: pamd.kdm-trinity-np%{?dist}
+Source4: pamd.kcheckpass-trinity%{?dist}
+Source5: pamd.kscreensaver-trinity%{?dist}
+%endif
+
+# openSUSE: configuration file for TDM
+Source6: suse-displaymanagers-tdm
+
+# Fedora 18: use SYSTEMD for TDM startup
+%if 0%{?fedora} >= 18
+Source7: tdm.service%{?dist}
+%endif
+
+# Fedora 17: special selinux policy required
+%if 0%{?fedora} == 17 || 0%{?rhel} == 6
+%define with_selinux_policy 1
+Source8: tdm%{?dist}.pp
+%endif
+
+%if 0%{?mgaversion} >= 3
+Source9: mgabutton.svg
+%endif
+
+# TDE 3.5.13 patches
+## [kdebase/kdesu] Remove 'ignore' button on 'kdesu' dialog box [RHEL/Fedora]
+Patch1: tdebase-3.5.13.2-kdesu-noignorebutton.patch
+## [kdebase/kdesktop] Modifies 'open terminal here' on desktop [RHEL/Fedora]
+Patch2: kdebase-3.5.12-desktop-openterminalhere.patch
+## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xinit/Xsession' [RHEL/Fedora]
+Patch3: kdebase-3.5.13-genkdmconf_Xsession_location.patch
+## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xdm/Xsession' [openSUSE]
+Patch4: kdebase-3.5.13-genkdmconf_Xsession_location_xdm.patch
+## [kdebase/startkde] Sets default Start Icon in 'kickerrc' [RHEL/Fedora]
+Patch5: kdebase-3.5.13.1-startkde_icon.patch
+## [kdebase/kdm/kfrontend] Allows to hide KDM menu button [RHEL/Fedora]
+Patch6: kdebase-3.5.12-kdm_hide_menu_button.patch
+## [kdebase/kdm] Fix PID file is 'tdm.pid' instead of 'kdm.pid' (needed for openSUSE)
+Patch7: kdebase-3.5.13.1-fix_tdm_pid_file.patch
+## [kdebase/kicker] Fixes for Kickoff menu
+Patch8: tdebase-3.5.13.2-kickoff_default_favs.patch
+## [kdebase/kcontrol] Adds FR translation for KCM ICC
+Patch9: tdebase-3.5.13.2-displayconfig_translation.patch
+
+# Patches from Mandriva
+Patch101: tdebase-3.5.13.2-vibrate_dialog.patch
+Patch102: tdebase-3.5.13.2-kcontrol_menu_entry.patch
+Patch103: tdebase-3.5.13.2-kdesktop_crossfade.patch
+Patch104: tdebase-3.5.13.2-kickoff_xdg_dirs.patch
+Patch105: tdebase-3.5.13.2-suspend_unmount.patch
+Patch106: tdebase-3.5.13.2-bookmark_global_copy.patch
+
+
+### Specific patches for RHEL4 (should not go upstream)
+
+## [tdebase] Fix build on RHEL4, detect old libraries without pkg file
+Patch201: kdebase-3.5.13-fix_lib_detection.patch
+## [tdebase] Do not build against DBUS-TQT, only DBUS and DBUS-QT
+Patch202: kdebase-3.5.13.2-build_without_dbustqt.patch
+## [tdebase] Do not build against ConsoleKit
+Patch203: kdebase-3.5.13-build_without_consolekit.patch
+## [tdebase] Add WITH_COMPOSITE option to CMakeLists.txt
+Patch204: kdebase-3.5.13.2-add_disable_composite_option.patch
+## [tdebase] Downgrade halbackend to support Hal 0.4
+Patch205: kdebase-3.5.13-support_hal_04.patch
+## [tdebase] Other(s) FTBFS ...
+Patch206: kdebase-3.5.13-fix_rhel4_compilation.patch
+
+### Distribution-specific settings ###
+
+# Fedora 15 Theme: "Lovelock"
+%if 0%{?fedora} == 15
+Requires: lovelock-backgrounds-single
+%define tde_bg /usr/share/backgrounds/lovelock/default/standard/lovelock.png
+%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
+
+Requires: fedora-release-notes
+%define tde_aboutlabel Fedora 15
+%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html
+%endif
+
+# Fedora 16 Theme: "Verne"
+%if 0%{?fedora} == 16
+Requires: verne-backgrounds-single
+%define tde_bg /usr/share/backgrounds/verne/default/standard/verne.png
+%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
+
+Requires: fedora-release-notes
+%define tde_aboutlabel Fedora 16
+%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html
+%endif
+
+# Fedora 17 Theme: "Beefy Miracle"
+%if 0%{?fedora} == 17
+Requires: beefy-miracle-backgrounds-single
+%define tde_bg /usr/share/backgrounds/beefy-miracle/default/standard/beefy-miracle.png
+%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
+
+Requires: fedora-release-notes
+%define tde_aboutlabel Fedora 17
+%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html
+%endif
+
+# Fedora 18 Theme: "Spherical Cow"
+%if 0%{?fedora} == 18
+Requires: spherical-cow-backgrounds-single
+%define tde_bg /usr/share/backgrounds/spherical-cow/default/standard/spherical-cow.png
+Requires: fedora-logos
+%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
+
+Requires: fedora-release-notes
+%define tde_aboutlabel Fedora 18
+%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html
+%endif
+
+# RHEL 4 Theme
+%if 0%{?rhel} == 4
+Requires: desktop-backgrounds-basic
+%define tde_bg /usr/share/backgrounds/images/default.png
+Requires: redhat-logos
+%define tde_starticon /usr/share/pixmaps/redhat/rpmlogo-64.xpm
+
+Requires: indexhtml
+%define tde_aboutlabel Enterprise Linux 4
+%define tde_aboutpage /usr/share/doc/HTML/index.html
+%endif
+
+# RHEL 5 Theme
+%if 0%{?rhel} == 5
+Requires: desktop-backgrounds-basic
+%define tde_bg /usr/share/backgrounds/images/default.jpg
+%define tde_starticon /usr/share/pixmaps/redhat-starthere.png
+
+Requires: indexhtml
+%define tde_aboutlabel Enterprise Linux 5
+%define tde_aboutpage /usr/share/doc/HTML/index.html
+%endif
+
+# RHEL 6 Theme
+%if 0%{?rhel} == 6
+Requires: redhat-logos
+%define tde_bg /usr/share/backgrounds/default.png
+%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png
+
+Requires: redhat-indexhtml
+%define tde_aboutlabel Enterprise Linux 6
+%define tde_aboutpage /usr/share/doc/HTML/index.html
+%endif
+
+# Mageia 2 Theme
+%if 0%{?mgaversion} == 2
+Requires: mageia-theme-Default
+%define tde_bg /usr/share/mga/backgrounds/default.jpg
+%define tde_starticon /usr/share/icons/hicolor/scalable/apps/mageia-menu.svg
+
+Requires: indexhtml
+%define tde_aboutlabel Mageia 2
+%define tde_aboutpage /usr/share/mga/about/index.html
+%endif
+
+# Mageia 3 Theme
+%if 0%{?mgaversion} == 3
+Requires: mageia-theme-Default
+%define tde_bg /usr/share/mga/backgrounds/default.jpg
+%define tde_starticon %{tde_datadir}/oxygen/scalable/mgabutton.svg
+
+Requires: indexhtml
+%define tde_aboutlabel Mageia 3
+%define tde_aboutpage /usr/share/mga/about/index.html
+%endif
+
+# Mandriva 2011 Theme: "rosa"
+%if "%{distribution}" == "Mandriva Linux" && "%{?mdkversion}" == "201100"
+Requires: mandriva-theme
+%define tde_bg /usr/share/mdk/backgrounds/default.jpg
+%define tde_starticon /usr/share/icons/mandriva.png
+
+Requires: indexhtml
+%define tde_aboutlabel Mandriva 2011
+%define tde_aboutpage /usr/share/mdk/about/index.html
+%endif
+
+# PCLINUXOS 2012
+%if "%{?pclinuxos}" == "2012"
+Requires: trinity-wallpaper-theme-default
+%define tde_bg %{tde_datadir}/wallpapers/Pulse2012/contents/images/1600x1200.jpg
+Requires: desktop-common-data
+%define tde_starticon /usr/share/icons/pclinuxos.png
+
+Requires: indexhtml
+%define tde_aboutlabel PCLinuxOS 2012
+%define tde_aboutpage /usr/share/mdk/about/index.html
+%endif
+
+# PCLINUXOS 2013
+%if "%{?pclinuxos}" == "2013"
+Requires: trinity-wallpaper-theme-default
+%if "%{_lib}" == "lib64"
+%define tde_bg %{tde_datadir}/wallpapers/pclinuxos64.jpg
+%else
+%define tde_bg %{tde_datadir}/wallpapers/pclinuxos32.jpg
+%endif
+Requires: desktop-common-data
+%define tde_starticon /usr/share/icons/pclinuxos.png
+
+Requires: indexhtml
+%define tde_aboutlabel PCLinuxOS 2013
+%define tde_aboutpage /usr/share/mdk/about/index.html
+%endif
+
+# OpenSuse 11.4 Theme
+%if "%{?suse_version}" == "1140"
+Requires: hicolor-icon-theme-branding
+%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
+
+Requires: opensuse-manuals_en
+%define tde_aboutlabel OpenSuse 11.4
+%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/manual/book.opensuse.startup.html
+%endif
+
+# OpenSuse 12.2 Theme
+%if "%{?suse_version}" == "1220"
+Requires: wallpaper-branding
+%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
+Requires: hicolor-icon-theme-branding
+%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
+
+Requires: opensuse-manuals_en
+%define tde_aboutlabel OpenSuse 12.2
+%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html
+%endif
+
+# OpenSuse 12.3 Theme
+%if "%{?suse_version}" == "1230"
+Requires: wallpaper-branding
+%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
+Requires: hicolor-icon-theme-branding
+%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
+
+Requires: opensuse-manuals_en
+%define tde_aboutlabel OpenSuse 12.3
+%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html
+%endif
+
+BuildRequires: cmake >= 2.8
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: gcc-c++
+BuildRequires: make
+BuildRequires: qt%{?_qt_suffix}-devel
+BuildRequires: openssl-devel
+BuildRequires: audiofile-devel
+BuildRequires: alsa-lib-devel
+BuildRequires: libraw1394-devel
+BuildRequires: libvorbis-devel
+BuildRequires: glib2-devel
+BuildRequires: pcre-devel
+
+# LIBUSB support
+BuildRequires: pam-devel
+%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos}
+BuildRequires: %{_lib}usb1.0-devel
+BuildRequires: %{_lib}usb-compat0.1-devel
+%else
+BuildRequires: libusb-devel
+%endif
+
+# ESOUND support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_esound 1
+BuildRequires: esound-devel
+%endif
+
+# OPENLDAP support
+%if 0%{?suse_version}
+BuildRequires: openldap2-devel
+%else
+BuildRequires: openldap-devel
+%endif
+
+# SENSORS support
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel}
+BuildRequires: lm_sensors-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libsensors4-devel
+%endif
+
+# TSAK support (requires libudev-devel)
+# On RHEL5, udev is built statically, so TSAK cannot build.
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
+%define with_tsak 1
+BuildRequires: libudev-devel
+%endif
+
+# XRANDR support
+# On RHEL5, xrandr library is too old.
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
+%define with_xrandr 1
+%endif
+
+# XTEST support
+# On RHEL4, xtest library is too old.
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
+%define with_xtest 1
+%endif
+
+# HAL support
+# On RHEL4, we do not use HAL (too old)
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
+%define with_hal 1
+BuildRequires: hal-devel >= 0.4.8
+%endif
+
+# OPENEXR support
+# Disabled on RHEL4
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
+%define with_exr 1
+BuildRequires: OpenEXR-devel
+%endif
+
+# XSCREENSAVER support
+# Disabled on RHEL4
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
+%define with_xscreensaver 1
+%if 0%{?rhel} == 5
+BuildRequires: xorg-x11-proto-devel
+BuildRequires: gnome-screensaver
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
+%endif
+%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220
+BuildRequires: libXScrnSaver-devel
+%endif
+%if 0%{?suse_version} == 1140
+BuildRequires: xscreensaver
+%endif
+%endif
+
+# AVAHI support
+# Disabled on RHEL4 and RHEL5
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
+BuildRequires: trinity-avahi-tqt-devel
+Requires: trinity-avahi-tqt
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}avahi-client-devel
+Requires: %{_lib}avahi-client3
+%else
+BuildRequires: avahi-devel
+Requires: avahi
+%endif
+%endif
+
+# NAS support
+# (what is nas btw ?)
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: nas-devel
+%endif
+
+# DBUS support
+# TQT bindings not available for RHEL4
+%if 0%{?rhel} == 4
+# Dbus bindings were rebuilt with Qt support
+BuildRequires: dbus-devel >= 0.22-12.EL.9p1
+Requires: dbus-qt
+%else
+BuildRequires: trinity-dbus-tqt-devel
+Requires: trinity-dbus-tqt >= %{version}
+%endif
+
+%if 0%{?fedora} >= 17
+BuildRequires: perl-Digest-MD5
+%endif
+
+# JACK support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}jack-devel
+%endif
+%if 0%{?fedora} || 0%{?rhel} >= 5
+BuildRequires: jack-audio-connection-kit-devel
+%endif
+
+# LIBART support
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} || 0%{?fedora} || 0%{?rhel} >= 5
+%define with_libart 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}art_lgpl-devel
+%endif
+%if 0%{?suse_version} || 0%{?fedora} || 0%{?rhel}
+BuildRequires: libart_lgpl-devel
+%endif
+%endif
+
+# SAMBA support
+%if 0%{?rhel} == 4
+BuildRequires: samba-common
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+BuildRequires: libsmbclient-devel
+%endif
+
+# IMAKE
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220
+BuildRequires: imake
+%endif
+
+# X11 stuff ...
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+%endif
+
+%if 0%{?suse_version} == 1140
+BuildRequires: xorg-x11-libxkbfile-devel
+BuildRequires: xorg-x11-libfontenc-devel
+%endif
+
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220
+BuildRequires: libxkbfile-devel
+BuildRequires: libfontenc-devel
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel
+BuildRequires: %{_lib}xdamage-devel
+BuildRequires: %{_lib}xdmcp%{?mgaversion:6}-devel
+BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel
+BuildRequires: x11-font-util
+BuildRequires: x11-proto-devel
+%endif
+
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: libXcomposite-devel
+BuildRequires: libXdamage-devel
+BuildRequires: libXdmcp-devel
+BuildRequires: libXtst-devel
+BuildRequires: xorg-x11-proto-devel
+%endif
+
+%if 0%{?rhel} >= 5 || 0%{?fedora}
+BuildRequires: xorg-x11-font-utils
+%endif
+
+%if 0%{?suse_version} >= 1220
+BuildRequires: font-util
+BuildRequires: bdftopcf
+%endif
+
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: drakconf
+%endif
+
+# tdebase is a metapackage that installs all sub-packages
+Requires: %{name}-runtime-data-common = %{version}-%{release}
+Requires: %{name}-data = %{version}-%{release}
+Requires: %{name}-bin = %{version}-%{release}
+Requires: %{name}-tdeio-plugins = %{version}-%{release}
+Requires: %{name}-tdeio-pim-plugins = %{version}-%{release}
+Requires: trinity-kappfinder = %{version}-%{release}
+Requires: trinity-kate = %{version}-%{release}
+Requires: trinity-kwrite = %{version}-%{release}
+Requires: trinity-kcontrol = %{version}-%{release}
+Requires: trinity-kdepasswd = %{version}-%{release}
+Requires: trinity-tdeprint = %{version}-%{release}
+Requires: trinity-kdesktop = %{version}-%{release}
+Requires: trinity-tdm = %{version}-%{release}
+Requires: trinity-kfind = %{version}-%{release}
+Requires: trinity-khelpcenter = %{version}-%{release}
+Requires: trinity-kicker = %{version}-%{release}
+Requires: trinity-klipper = %{version}-%{release}
+Requires: trinity-kmenuedit = %{version}-%{release}
+Requires: trinity-konqueror = %{version}-%{release}
+Requires: trinity-konqueror-nsplugins = %{version}-%{release}
+Requires: trinity-konsole = %{version}-%{release}
+Requires: trinity-kpager = %{version}-%{release}
+Requires: trinity-kpersonalizer = %{version}-%{release}
+Requires: trinity-ksmserver = %{version}-%{release}
+Requires: trinity-ksplash = %{version}-%{release}
+Requires: trinity-ksysguard = %{version}-%{release}
+Requires: trinity-ksysguardd = %{version}-%{release}
+Requires: trinity-ktip = %{version}-%{release}
+Requires: trinity-twin = %{version}-%{release}
+Requires: trinity-libkonq = %{version}-%{release}
+Requires: %{name}-libtqt3-integration = %{version}-%{release}
+Requires: %{name}-tdeio-smb-plugin = %{version}-%{release}
+
+Requires: trinity-tqtinterface >= %{version}
+Requires: trinity-arts >= %{version}
+Requires: trinity-tdelibs >= %{version}
+Requires: qt%{?_qt_suffix}
+Requires: openssl
+
+
+# RHEL 6 Configuration files are provided in separate packages
+%if 0%{?rhel} || 0%{?fedora}
+%if "%{?tde_prefix}" == "/usr"
+Requires: kde-settings-kdm
+%endif
+Requires: redhat-menus
+%endif
+
+%if 0%{?suse_version}
+Requires: desktop-data-openSUSE
+%endif
+
+%description
+TDE (the Trinity Desktop Environment) is a powerful Open Source graphical
+desktop environment for Unix workstations. It combines ease of use,
+contemporary functionality, and outstanding graphical design with the
+technological superiority of the Unix operating system.
+
+This metapackage includes the nucleus of TDE, namely the minimal package
+set necessary to run TDE as a desktop environment. This includes the
+window manager, taskbar, control center, a text editor, file manager,
+web browser, X terminal emulator, and many other programs and components.
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING COPYING-DOCS README README.pam
+
+##########
+
+%package devel
+Summary: %{summary} - Development files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tdelibs-devel
+
+Requires: %{name}-bin-devel = %{version}-%{release}
+Requires: trinity-kate-devel = %{version}-%{release}
+Requires: trinity-kcontrol-devel = %{version}-%{release}
+Requires: trinity-kdesktop-devel = %{version}-%{release}
+Requires: trinity-kicker-devel = %{version}-%{release}
+Requires: trinity-konqueror-devel = %{version}-%{release}
+Requires: trinity-ksplash-devel = %{version}-%{release}
+Requires: trinity-ksysguard-devel = %{version}-%{release}
+Requires: trinity-libkonq-devel = %{version}-%{release}
+Requires: trinity-tdm-devel = %{version}-%{release}
+Requires: trinity-twin-devel = %{version}-%{release}
+
+Provides: trinity-kdebase-devel = %{version}-%{release}
+Obsoletes: trinity-kdebase-devel < %{version}-%{release}
+Provides: tdebase-devel = %{version}-%{release}
+Obsoletes: tdebase-devel < %{version}-%{release}
+
+Obsoletes: trinity-kdebase-cmake < %{version}-%{release}
+Obsoletes: tdebase-cmake < %{version}-%{release}
+
+%description devel
+This is a meta-package that installs all tdebase development packages.
+
+Header files for developing applications using %{name}.
+Install tdebase-devel if you want to develop or compile Konqueror,
+Kate plugins or KWin styles.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_datadir}/cmake/*.cmake
+
+##########
+
+%package tdeio-pim-plugins
+Summary: PIM TDEIOslaves from %{name}
+Group: Environment/Libraries
+
+Provides: trinity-kdebase-pim-ioslaves = %{version}-%{release}
+Obsoletes: trinity-kdebase-pim-ioslaves < %{version}-%{release}
+Provides: tdebase-kio-pim-plugins = %{version}-%{release}
+Obsoletes: tdebase-kio-pim-plugins < %{version}-%{release}
+Provides: trinity-tdebase-kio-pim-plugins = %{version}-%{release}
+Obsoletes: trinity-tdebase-kio-pim-plugins < %{version}-%{release}
+
+%description tdeio-pim-plugins
+Protocol handlers (TDEIOslaves) for personal information management, including:
+ * kio_ldap
+ * kio_nntp
+ * kio_pop3
+ * kio_smtp
+
+%files tdeio-pim-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kio_ldap.la
+%{tde_tdelibdir}/kio_ldap.so
+%{tde_tdelibdir}/kio_nntp.la
+%{tde_tdelibdir}/kio_nntp.so
+%{tde_tdelibdir}/kio_pop3.la
+%{tde_tdelibdir}/kio_pop3.so
+%{tde_tdelibdir}/kio_smtp.la
+%{tde_tdelibdir}/kio_smtp.so
+%{tde_datadir}/services/ldap.protocol
+%{tde_datadir}/services/ldaps.protocol
+%{tde_datadir}/services/nntp.protocol
+%{tde_datadir}/services/nntps.protocol
+%{tde_datadir}/services/pop3.protocol
+%{tde_datadir}/services/pop3s.protocol
+%{tde_datadir}/services/smtp.protocol
+%{tde_datadir}/services/smtps.protocol
+
+##########
+
+%package runtime-data-common
+Summary: Shared common files for Trinity and KDE4
+Group: Environment/Libraries
+
+Provides: tdebase-runtime-data-common = %{version}-%{release}
+Obsoletes: tdebase-runtime-data-common < %{version}-%{release}
+
+%description runtime-data-common
+Shared common files for both Trinity and KDE4
+Such as the desktop right-click-"Create New" list
+
+%files runtime-data-common
+%defattr(-,root,root,-)
+%{tde_datadir}/autostart/khotkeys.desktop
+%{tde_datadir}/desktop-directories/*
+%{tde_datadir}/icons/hicolor/*/apps/kxkb.png
+%{tde_datadir}/icons/hicolor/*/apps/knetattach.*
+%{tde_datadir}/icons/hicolor/*/apps/khotkeys.png
+%{tde_datadir}/icons/hicolor/*/apps/kmenuedit.png
+%{tde_datadir}/icons/hicolor/*/apps/ksplash.png
+%{tde_datadir}/locale/en_US/entry.desktop
+%{tde_datadir}/locale/l10n/*.desktop
+%{tde_datadir}/locale/l10n/*/entry.desktop
+%{tde_datadir}/locale/l10n/*/flag.png
+%{tde_datadir}/sounds/pop.wav
+%{tde_datadir}/templates
+
+%post runtime-data-common
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+%postun runtime-data-common
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+##########
+
+%package -n trinity-kappfinder
+Summary: non-TDE application finder for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-kappfinder
+kappfinder searches your workstation for many common applications and
+creates menu entries for them.
+
+%files -n trinity-kappfinder
+%defattr(-,root,root,-)
+%{tde_bindir}/kappfinder
+%{tde_tdeappdir}/kappfinder.desktop
+%{tde_datadir}/applnk/System/kappfinder.desktop
+%{tde_datadir}/apps/kappfinder
+%{tde_datadir}/icons/hicolor/*/apps/kappfinder.png
+
+%post -n trinity-kappfinder
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+%postun -n trinity-kappfinder
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+##########
+
+%package -n trinity-libkateinterfaces
+Summary: Common libraries used by kwrite and kate
+Group: Environment/Libraries
+
+%description -n trinity-libkateinterfaces
+%{summary}
+
+%files -n trinity-libkateinterfaces
+%defattr(-,root,root,-)
+%{tde_libdir}/libkateinterfaces.so.*
+
+%post -n trinity-libkateinterfaces
+/sbin/ldconfig || :
+
+%postun -n trinity-libkateinterfaces
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kate
+Summary: advanced text editor for TDE
+Group: Applications/Text
+Requires: %{name}-data = %{version}-%{release}
+Requires: trinity-kwrite = %{version}-%{release}
+Requires: trinity-libkateinterfaces = %{version}-%{release}
+
+%description -n trinity-kate
+Kate is a multi document editor, based on a rewritten version of the kwrite
+editing widget of TDE.
+
+It is a multi-view editor that lets you view several instances of the same
+document with all instances being synced, or view more files at the same
+time for easy reference or simultaneous editing. The terminal emulation
+and sidebar are docked windows that can be plugged out of the main window,
+or replaced therein according to your preference.
+
+Some random features:
+* Editing of big files
+* Extensible syntax highlighting
+* Folding
+* Dynamic word wrap
+* Selectable encoding
+* Filter command
+* Global grep dialog
+
+%files -n trinity-kate
+%defattr(-,root,root,-)
+%{tde_bindir}/kate
+%{tde_tdelibdir}/kate.la
+%{tde_tdelibdir}/kate.so
+%{tde_libdir}/libkateutils.so.*
+%{tde_libdir}/lib[kt]deinit_kate.la
+%{tde_libdir}/lib[kt]deinit_kate.so
+%{tde_tdeappdir}/kate.desktop
+%{tde_datadir}/apps/kate/
+%{tde_datadir}/apps/kconf_update/kate-2.4.upd
+%{_sysconfdir}/trinity/katerc
+%{tde_datadir}/icons/hicolor/*/apps/kate.png
+%{tde_datadir}/icons/hicolor/*/apps/kate2.svgz
+%{tde_datadir}/servicetypes/kateplugin.desktop
+%{tde_tdedocdir}/HTML/en/kate/
+
+%post -n trinity-kate
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kate
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kate-devel
+Summary: Development files for kate
+Group: Development/Libraries
+Requires: trinity-kate = %{version}-%{release}
+
+%description -n trinity-kate-devel
+%{summary}
+
+%files -n trinity-kate-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kate/
+%{tde_libdir}/libkateutils.so
+%{tde_libdir}/libkateutils.la
+%{tde_libdir}/libkateinterfaces.so
+%{tde_libdir}/libkateinterfaces.la
+
+%post -n trinity-kate-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kate-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kwrite
+Summary: advanced text editor for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+Requires: trinity-libkateinterfaces = %{version}-%{release}
+
+%description -n trinity-kwrite
+Kwrite is a text editor for TDE.
+
+%files -n trinity-kwrite
+%defattr(-,root,root,-)
+%{tde_bindir}/kwrite
+%{tde_tdelibdir}/kwrite.la
+%{tde_tdelibdir}/kwrite.so
+%{tde_libdir}/lib[kt]deinit_kwrite.la
+%{tde_libdir}/lib[kt]deinit_kwrite.so
+%{tde_tdeappdir}/kwrite.desktop
+%{tde_datadir}/apps/kwrite/kwriteui.rc
+%{tde_datadir}/icons/hicolor/*/apps/kwrite.png
+%{tde_datadir}/icons/hicolor/*/apps/kwrite2.svgz
+%{tde_tdedocdir}/HTML/en/kwrite/
+
+
+%post -n trinity-kwrite
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+%postun -n trinity-kwrite
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+##########
+
+%package -n trinity-kcontrol
+Summary: control center for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+# Requires 'usb.ids'
+Requires: usbutils
+%if 0%{?suse_version} == 0
+Requires: hwdata
+%endif
+
+%description -n trinity-kcontrol
+The TDE Control Center provides you with a centralized and convenient
+way to configure all of your TDE settings.
+
+It is made up of multiple modules. Each module is a separate application,
+but the control center organizes all of these programs into a convenient
+location.
+
+In combination with udev KControl supports the advanced
+configuration of Logitech mice, though the user must be a member of the
+plugdev group.
+
+%files -n trinity-kcontrol
+%defattr(-,root,root,-)
+%{tde_bindir}/kaccess
+%{tde_bindir}/kcontrol
+%{tde_bindir}/kdeinstallktheme
+%{tde_bindir}/keditfiletype
+%{tde_bindir}/kfontinst
+%{tde_bindir}/kfontview
+%{tde_bindir}/kinfocenter
+%{tde_bindir}/klocaldomainurifilterhelper
+%{tde_bindir}/krdb
+%{tde_tdelibdir}/fontthumbnail.la
+%{tde_tdelibdir}/fontthumbnail.so
+%{tde_tdelibdir}/kaccess.la
+%{tde_tdelibdir}/kaccess.so
+%{tde_tdelibdir}/kcm_access.la
+%{tde_tdelibdir}/kcm_access.so
+%{tde_tdelibdir}/kcm_arts.la
+%{tde_tdelibdir}/kcm_arts.so
+%{tde_tdelibdir}/kcm_background.la
+%{tde_tdelibdir}/kcm_background.so
+%{tde_tdelibdir}/kcm_bell.la
+%{tde_tdelibdir}/kcm_bell.so
+%{tde_tdelibdir}/kcm_clock.la
+%{tde_tdelibdir}/kcm_clock.so
+%{tde_tdelibdir}/kcm_colors.la
+%{tde_tdelibdir}/kcm_colors.so
+%{tde_tdelibdir}/kcm_componentchooser.la
+%{tde_tdelibdir}/kcm_componentchooser.so
+%{tde_tdelibdir}/kcm_crypto.la
+%{tde_tdelibdir}/kcm_crypto.so
+%{tde_tdelibdir}/kcm_css.la
+%{tde_tdelibdir}/kcm_css.so
+%{tde_tdelibdir}/kcm_display.la
+%{tde_tdelibdir}/kcm_display.so
+%{tde_tdelibdir}/kcm_energy.la
+%{tde_tdelibdir}/kcm_energy.so
+%{tde_tdelibdir}/kcm_filetypes.la
+%{tde_tdelibdir}/kcm_filetypes.so
+%{tde_tdelibdir}/kcm_fontinst.la
+%{tde_tdelibdir}/kcm_fontinst.so
+%{tde_tdelibdir}/kcm_fonts.la
+%{tde_tdelibdir}/kcm_fonts.so
+#%{tde_tdelibdir}/kcm_hwmanager.la
+#%{tde_tdelibdir}/kcm_hwmanager.so
+%{tde_tdelibdir}/kcm_icons.la
+%{tde_tdelibdir}/kcm_icons.so
+%{tde_tdelibdir}/kcm_info.la
+%{tde_tdelibdir}/kcm_info.so
+%{tde_tdelibdir}/kcm_input.la
+%{tde_tdelibdir}/kcm_input.so
+%{tde_tdelibdir}/kcm_ioslaveinfo.la
+%{tde_tdelibdir}/kcm_ioslaveinfo.so
+%{tde_tdelibdir}/kcm_joystick.la
+%{tde_tdelibdir}/kcm_joystick.so
+%{tde_tdelibdir}/kcm_kded.la
+%{tde_tdelibdir}/kcm_kded.so
+%{tde_tdelibdir}/kcm_[kt]dm.la
+%{tde_tdelibdir}/kcm_[kt]dm.so
+%{tde_tdelibdir}/kcm_kdnssd.so
+%{tde_tdelibdir}/kcm_kdnssd.la
+%{tde_tdelibdir}/kcm_keys.la
+%{tde_tdelibdir}/kcm_keys.so
+%{tde_tdelibdir}/kcm_kicker.la
+%{tde_tdelibdir}/kcm_kicker.so
+%{tde_tdelibdir}/kcm_kio.la
+%{tde_tdelibdir}/kcm_kio.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}/kfile_font.la
+%{tde_tdelibdir}/kfile_font.so
+%{tde_tdelibdir}/kio_fonts.la
+%{tde_tdelibdir}/kio_fonts.so
+%{tde_tdelibdir}/kstyle_keramik_config.la
+%{tde_tdelibdir}/kstyle_keramik_config.so
+%{tde_tdelibdir}/libkfontviewpart.la
+%{tde_tdelibdir}/libkfontviewpart.so
+%{tde_tdelibdir}/libkshorturifilter.la
+%{tde_tdelibdir}/libkshorturifilter.so
+%{tde_tdelibdir}/libkuriikwsfilter.la
+%{tde_tdelibdir}/libkuriikwsfilter.so
+%{tde_tdelibdir}/libkurisearchfilter.la
+%{tde_tdelibdir}/libkurisearchfilter.so
+%{tde_tdelibdir}/liblocaldomainurifilter.la
+%{tde_tdelibdir}/liblocaldomainurifilter.so
+%{tde_libdir}/lib[kt]deinit_kaccess.la
+%{tde_libdir}/lib[kt]deinit_kaccess.so
+%{tde_libdir}/lib[kt]deinit_kcontrol.la
+%{tde_libdir}/lib[kt]deinit_kcontrol.so
+%{tde_libdir}/libkfontinst.so.*
+%{tde_tdeappdir}/arts.desktop
+%{tde_tdeappdir}/background.desktop
+%{tde_tdeappdir}/bell.desktop
+%{tde_tdeappdir}/cache.desktop
+%{tde_tdeappdir}/cdinfo.desktop
+%{tde_tdeappdir}/clock.desktop
+%{tde_tdeappdir}/colors.desktop
+%{tde_tdeappdir}/componentchooser.desktop
+%{tde_tdeappdir}/cookies.desktop
+%{tde_tdeappdir}/crypto.desktop
+%{tde_tdeappdir}/desktopbehavior.desktop
+%{tde_tdeappdir}/desktop.desktop
+%{tde_tdeappdir}/desktoppath.desktop
+%{tde_tdeappdir}/devices.desktop
+%{tde_tdeappdir}/display.desktop
+%{tde_tdeappdir}/dma.desktop
+%{tde_tdeappdir}/ebrowsing.desktop
+%{tde_tdeappdir}/filebrowser.desktop
+%{tde_tdeappdir}/filetypes.desktop
+%{tde_tdeappdir}/fonts.desktop
+#%{tde_tdeappdir}/hwmanager.desktop
+%{tde_tdeappdir}/icons.desktop
+%{tde_tdeappdir}/installktheme.desktop
+%{tde_tdeappdir}/interrupts.desktop
+%{tde_tdeappdir}/ioports.desktop
+%{tde_tdeappdir}/ioslaveinfo.desktop
+%{tde_tdeappdir}/joystick.desktop
+%{tde_tdeappdir}/kcm_kdnssd.desktop
+%{tde_tdeappdir}/kcmaccess.desktop
+%{tde_tdeappdir}/kcmcss.desktop
+%{tde_tdeappdir}/kcmfontinst.desktop
+%{tde_tdeappdir}/kcmkded.desktop
+%{tde_tdeappdir}/kcmlaunch.desktop
+%{tde_tdeappdir}/kcmnotify.desktop
+%{tde_tdeappdir}/kcmperformance.desktop
+%{tde_tdeappdir}/kcmsmserver.desktop
+%{tde_tdeappdir}/kcmtaskbar.desktop
+%{tde_tdeappdir}/kcmusb.desktop
+%{tde_tdeappdir}/kcmview1394.desktop
+%{tde_tdeappdir}/KControl.desktop
+%{tde_tdeappdir}/[kt]dm.desktop
+%{tde_tdeappdir}/keys.desktop
+%{tde_tdeappdir}/kfontview.desktop
+%{tde_tdeappdir}/khtml_behavior.desktop
+%{tde_tdeappdir}/khtml_fonts.desktop
+%{tde_tdeappdir}/khtml_java_js.desktop
+%{tde_tdeappdir}/kinfocenter.desktop
+%{tde_tdeappdir}/kthememanager.desktop
+%{tde_tdeappdir}/lanbrowser.desktop
+%{tde_tdeappdir}/language.desktop
+%{tde_tdeappdir}/media.desktop
+%{tde_tdeappdir}/memory.desktop
+%{tde_tdeappdir}/mouse.desktop
+%{tde_tdeappdir}/netpref.desktop
+%{tde_tdeappdir}/nic.desktop
+%{tde_tdeappdir}/opengl.desktop
+%{tde_tdeappdir}/panel_appearance.desktop
+%{tde_tdeappdir}/panel.desktop
+%{tde_tdeappdir}/partitions.desktop
+%{tde_tdeappdir}/pci.desktop
+%{tde_tdeappdir}/privacy.desktop
+%{tde_tdeappdir}/processor.desktop
+%{tde_tdeappdir}/proxy.desktop
+%{tde_tdeappdir}/screensaver.desktop
+%{tde_tdeappdir}/scsi.desktop
+%{tde_tdeappdir}/smbstatus.desktop
+%{tde_tdeappdir}/sound.desktop
+%{tde_tdeappdir}/spellchecking.desktop
+%{tde_tdeappdir}/style.desktop
+%{tde_tdeappdir}/useragent.desktop
+%{tde_tdeappdir}/xserver.desktop
+%{tde_datadir}/applnk/.hidden/energy.desktop
+%{tde_datadir}/applnk/.hidden/fileappearance.desktop
+%{tde_datadir}/applnk/.hidden/filebehavior.desktop
+%{tde_datadir}/applnk/.hidden/filepreviews.desktop
+%{tde_datadir}/applnk/.hidden/kcmkonqyperformance.desktop
+%{tde_datadir}/applnk/.hidden/kicker_config_appearance.desktop
+%{tde_datadir}/applnk/.hidden/kicker_config.desktop
+%{tde_datadir}/applnk/.hidden/smb.desktop
+%{tde_datadir}/applnk/.hidden/xinerama.desktop
+%{tde_datadir}/applnk/Settings/LookNFeel/
+%{tde_datadir}/applnk/Settings/WebBrowsing/khtml_appearance.desktop
+%{tde_datadir}/applnk/Settings/WebBrowsing/nsplugin.desktop
+%{tde_datadir}/applnk/Settings/WebBrowsing/smb.desktop
+%{tde_datadir}/apps/kcm_componentchooser/kcm_browser.desktop
+%{tde_datadir}/apps/kcm_componentchooser/kcm_kemail.desktop
+%{tde_datadir}/apps/kcm_componentchooser/kcm_terminal.desktop
+%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop
+%{tde_datadir}/mimelnk/application/x-ktheme.desktop
+%{tde_datadir}/mimelnk/fonts/folder.desktop
+%{tde_datadir}/mimelnk/fonts/package.desktop
+%{tde_datadir}/mimelnk/fonts/system-folder.desktop
+%{tde_datadir}/services/fonts.protocol
+%{tde_datadir}/services/fontthumbnail.desktop
+%{tde_datadir}/services/kaccess.desktop
+%{tde_datadir}/services/kfile_font.desktop
+%{tde_datadir}/services/kfontviewpart.desktop
+%{tde_datadir}/services/kshorturifilter.desktop
+%{tde_datadir}/services/kuriikwsfilter.desktop
+%{tde_datadir}/services/kurisearchfilter.desktop
+%{tde_datadir}/services/localdomainurifilter.desktop
+
+%{tde_datadir}/apps/usb.ids
+%{tde_datadir}/apps/kcmview1394/oui.db
+
+# The following features are not compiled under RHEL 5 and older
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%{tde_bindir}/krandrtray
+%{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}/krandrtray.desktop
+%{tde_datadir}/applnk/.hidden/randr.desktop
+%{tde_datadir}/autostart/krandrtray-autostart.desktop
+%endif
+
+%post -n trinity-kcontrol
+/sbin/ldconfig || :
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+%postun -n trinity-kcontrol
+/sbin/ldconfig || :
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+##########
+
+%package -n trinity-kcontrol-devel
+Summary: Development files for kcontrol
+Group: Development/Libraries
+Requires: trinity-kcontrol = %{version}-%{release}
+
+%description -n trinity-kcontrol-devel
+%{summary}
+
+%files -n trinity-kcontrol-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkfontinst.la
+%{tde_libdir}/libkfontinst.so
+
+%post -n trinity-kcontrol-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kcontrol-devel
+/sbin/ldconfig || :
+
+##########
+
+%package bin
+Summary: core binaries for the TDE base module
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+Requires: pam
+
+Provides: tdebase-bin = %{version}-%{release}
+Obsoletes: tdebase-bin < %{version}-%{release}
+
+%description bin
+This package contains miscellaneous programs needed by other
+TDE applications, particularly those in the TDE base module.
+
+%files bin
+%defattr(-,root,root,-)
+%{tde_bindir}/krootbacking
+#%{tde_bindir}/tdeinit_phase1
+%if 0%{?with_tsak}
+%attr(4511,root,root) %{tde_bindir}/[kt]dmtsak
+%{tde_bindir}/tsak
+%endif
+%{tde_bindir}/kdebugdialog
+%{tde_bindir}/kreadconfig
+%{tde_bindir}/kwriteconfig
+%{tde_bindir}/kstart
+%{_sysconfdir}/trinity/kxkb_groups
+%{tde_bindir}/drkonqi
+%{tde_bindir}/crashtest
+%{tde_bindir}/kapplymousetheme
+%{tde_bindir}/kblankscrn.kss
+%attr(4755,root,root) %{tde_bindir}/kcheckpass
+%{tde_bindir}/kcminit
+%{tde_bindir}/kcminit_startup
+%{tde_bindir}/kdcop
+%{tde_bindir}/[kt]desu
+%attr(0755,root,root) %{tde_bindir}/[kt]desud
+%{tde_bindir}/kdialog
+%{tde_bindir}/khotkeys
+%{tde_bindir}/knetattach
+%{tde_bindir}/krandom.kss
+%{tde_bindir}/ksystraycmd
+%{tde_bindir}/kxkb
+%{tde_libdir}/kconf_update_bin/khotkeys_update
+%{tde_tdelibdir}/kcminit.la
+%{tde_tdelibdir}/kcminit.so
+%{tde_tdelibdir}/kcminit_startup.la
+%{tde_tdelibdir}/kcminit_startup.so
+%{tde_tdelibdir}/kcm_keyboard.la
+%{tde_tdelibdir}/kcm_keyboard.so
+%{tde_tdelibdir}/kcm_khotkeys_init.la
+%{tde_tdelibdir}/kcm_khotkeys_init.so
+%{tde_tdelibdir}/kcm_khotkeys.la
+%{tde_tdelibdir}/kcm_khotkeys.so
+%{tde_tdelibdir}/kded_khotkeys.la
+%{tde_tdelibdir}/kded_khotkeys.so
+%{tde_tdelibdir}/kgreet_classic.la
+%{tde_tdelibdir}/kgreet_classic.so
+%{tde_tdelibdir}/kgreet_winbind.la
+%{tde_tdelibdir}/kgreet_winbind.so
+%{tde_tdelibdir}/khotkeys.la
+%{tde_tdelibdir}/khotkeys.so
+%{tde_tdelibdir}/khotkeys_arts.la
+%{tde_tdelibdir}/khotkeys_arts.so
+%{tde_tdelibdir}/kxkb.la
+%{tde_tdelibdir}/kxkb.so
+%{tde_libdir}/lib[kt]deinit_kcminit.la
+%{tde_libdir}/lib[kt]deinit_kcminit.so
+%{tde_libdir}/lib[kt]deinit_kcminit_startup.la
+%{tde_libdir}/lib[kt]deinit_kcminit_startup.so
+%{tde_libdir}/lib[kt]deinit_khotkeys.la
+%{tde_libdir}/lib[kt]deinit_khotkeys.so
+%{tde_libdir}/lib[kt]deinit_kxkb.la
+%{tde_libdir}/lib[kt]deinit_kxkb.so
+%{tde_libdir}/libkhotkeys_shared.so.*
+%{tde_tdeappdir}/keyboard.desktop
+%{tde_tdeappdir}/keyboard_layout.desktop
+%{tde_tdeappdir}/khotkeys.desktop
+%{tde_tdeappdir}/knetattach.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/
+%{tde_datadir}/apps/drkonqi/
+%{tde_datadir}/apps/kconf_update/khotkeys_32b1_update.upd
+%{tde_datadir}/apps/kconf_update/khotkeys_printscreen.upd
+%{tde_datadir}/apps/kconf_update/konqueror_gestures_trinity21_update.upd
+%{tde_datadir}/apps/kdcop/kdcopui.rc
+%{tde_datadir}/apps/khotkeys/
+%{tde_datadir}/services/kded/khotkeys.desktop
+%{tde_datadir}/services/kxkb.desktop
+%if 0%{?suse_version} == 0
+%{_sysconfdir}/pam.d/kcheckpass-trinity
+%{_sysconfdir}/pam.d/kscreensaver-trinity
+%endif
+%{tde_tdedocdir}/HTML/en/kdcop/
+%{tde_tdedocdir}/HTML/en/kdebugdialog//
+%{tde_tdedocdir}/HTML/en/[kt]desu/
+%{tde_tdedocdir}/HTML/en/knetattach/
+%{tde_tdedocdir}/HTML/en/kxkb/
+
+%post bin
+/sbin/ldconfig || :
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+%postun bin
+/sbin/ldconfig || :
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+##########
+
+%package bin-devel
+Summary: Development files for core binaries for the TDE base module
+Group: Development/Libraries
+Requires: %{name}-bin = %{version}-%{release}
+
+Obsoletes: tdebase-bin-devel < %{version}-%{release}
+Provides: tdebase-bin-devel = %{version}-%{release}
+
+%description bin-devel
+%{summary}
+
+%files bin-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkhotkeys_shared.la
+%{tde_libdir}/libkhotkeys_shared.so
+
+%post bin-devel
+/sbin/ldconfig || :
+
+%postun bin-devel
+/sbin/ldconfig || :
+
+##########
+
+%package data
+Summary: shared data files for the TDE base module
+Group: Environment/Libraries
+Requires: %{name}-runtime-data-common = %{version}-%{release}
+
+Obsoletes: tdebase-data < %{version}-%{release}
+Provides: tdebase-data = %{version}-%{release}
+
+%description data
+This package contains the architecture-independent shared data files
+needed for a basic TDE desktop installation.
+
+%files data
+%defattr(-,root,root,-)
+%{_sysconfdir}/trinity/kshorturifilterrc
+%{tde_datadir}/applnk/.hidden/battery.desktop
+%{tde_datadir}/applnk/.hidden/bwarning.desktop
+%{tde_datadir}/applnk/.hidden/cwarning.desktop
+%{tde_datadir}/applnk/.hidden/.directory
+%{tde_datadir}/applnk/.hidden/email.desktop
+%{tde_datadir}/applnk/.hidden/kcmkonq.desktop
+%{tde_datadir}/applnk/.hidden/kcmkxmlrpcd.desktop
+%{tde_datadir}/applnk/.hidden/konqhtml.desktop
+%{tde_datadir}/applnk/.hidden/passwords.desktop
+%{tde_datadir}/applnk/.hidden/power.desktop
+%{tde_datadir}/applnk/.hidden/socks.desktop
+%{tde_datadir}/applnk/.hidden/userinfo.desktop
+%{tde_datadir}/applnk/.hidden/virtualdesktops.desktop
+%{tde_datadir}/apps/kaccess/eventsrc
+%{tde_datadir}/apps/kcmcss/template.css
+%{tde_datadir}/apps/kcminput/
+%{tde_datadir}/apps/kcmkeys/
+%{tde_datadir}/apps/kcmlocale/pics/background.png
+%{tde_datadir}/apps/kconf_update/convertShortcuts.pl
+%{tde_datadir}/apps/kconf_update/kaccel.upd
+%{tde_datadir}/apps/kconf_update/kcmdisplayrc.upd
+%{tde_datadir}/apps/kconf_update/kuriikwsfilter.upd
+%{tde_datadir}/apps/kconf_update/mouse_cursor_theme.upd
+%{tde_datadir}/apps/kconf_update/socks.upd
+%{tde_datadir}/apps/kcontrol/
+%{tde_datadir}/apps/kdisplay/
+%{tde_datadir}/apps/kfontview/
+%{tde_datadir}/apps/kinfocenter/kinfocenterui.rc
+%{tde_datadir}/apps/kthememanager/themes/*
+%{tde_datadir}/icons/crystalsvg/*/apps/access.png
+%{tde_datadir}/icons/crystalsvg/*/apps/acroread.png
+%{tde_datadir}/icons/crystalsvg/*/apps/applixware.png
+%{tde_datadir}/icons/crystalsvg/*/apps/arts.png
+%{tde_datadir}/icons/crystalsvg/*/apps/background.png
+%{tde_datadir}/icons/crystalsvg/*/apps/bell.png
+%{tde_datadir}/icons/crystalsvg/*/apps/cache.png
+%{tde_datadir}/icons/crystalsvg/*/apps/clanbomber.png
+%{tde_datadir}/icons/crystalsvg/*/apps/clock.png
+%{tde_datadir}/icons/crystalsvg/*/apps/colors.png
+%{tde_datadir}/icons/crystalsvg/*/apps/date.png
+%{tde_datadir}/icons/crystalsvg/*/apps/email.png
+%{tde_datadir}/icons/crystalsvg/*/apps/energy.png
+%{tde_datadir}/icons/crystalsvg/*/apps/energy_star.png
+%{tde_datadir}/icons/crystalsvg/*/apps/filetypes.png
+%{tde_datadir}/icons/crystalsvg/*/apps/fonts.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gimp.png
+%{tde_datadir}/icons/crystalsvg/*/apps/help_index.png
+%{tde_datadir}/icons/crystalsvg/*/apps/hwinfo.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmdevices.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmkwm.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmmemory.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmpartitions.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmpci.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcontrol.png
+%{tde_datadir}/icons/crystalsvg/*/apps/[kt]dmconfig.png
+%{tde_datadir}/icons/crystalsvg/*/apps/key_bindings.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kscreensaver.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kthememgr.png
+%{tde_datadir}/icons/crystalsvg/*/apps/licq.png
+%{tde_datadir}/icons/crystalsvg/*/apps/linuxconf.png
+%{tde_datadir}/icons/crystalsvg/*/apps/locale.png
+%{tde_datadir}/icons/crystalsvg/*/apps/looknfeel.png
+%{tde_datadir}/icons/crystalsvg/*/apps/multimedia.png
+%{tde_datadir}/icons/crystalsvg/*/apps/netscape.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_applications.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_development.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_favourite.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_games.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_games_kids.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_multimedia.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_network.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_settings.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_toys.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_utilities.png
+%{tde_datadir}/icons/crystalsvg/*/apps/penguin.png
+%{tde_datadir}/icons/crystalsvg/*/apps/personal.png
+%{tde_datadir}/icons/crystalsvg/*/apps/phppg.png
+%{tde_datadir}/icons/crystalsvg/*/apps/proxy.png
+%{tde_datadir}/icons/crystalsvg/*/apps/pysol.png
+%{tde_datadir}/icons/crystalsvg/*/apps/randr.png
+%{tde_datadir}/icons/crystalsvg/*/apps/samba.png
+%{tde_datadir}/icons/crystalsvg/*/apps/staroffice.png
+%{tde_datadir}/icons/crystalsvg/*/apps/stylesheet.png
+%{tde_datadir}/icons/crystalsvg/*/apps/terminal.png
+%{tde_datadir}/icons/crystalsvg/*/apps/tux.png
+%{tde_datadir}/icons/crystalsvg/*/apps/wp.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xclock.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xfmail.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xmag.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xpaint.png
+%{tde_datadir}/icons/crystalsvg/scalable/apps/access.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/acroread.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/aim.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/aktion.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/antivirus.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/applixware.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/arts.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/background.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/bell.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/browser.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/cache.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/camera.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/clanbomber.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/clock.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/colors.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/core.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/date.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/display.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/download_manager.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/email.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/energy.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/error.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/fifteenpieces.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/filetypes.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/fonts.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/galeon.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/gnome_apps.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/hardware.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/hwinfo.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/ieee1394.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmdevices.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmkwm.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmx.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/locale.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/my_mac.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/netscape.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/openoffice.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/package_development.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/package_games_kids.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/package_toys.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/penguin.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/personal.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/quicktime.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/realplayer.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/samba.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/shell.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/staroffice.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/stylesheet.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/terminal.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/tux.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/wine.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/x.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/xapp.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/xcalc.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/xchat.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/xclock.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/xeyes.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/xpaint.svgz
+%{tde_datadir}/icons/crystalsvg/*/devices/laptop.png
+%{tde_datadir}/icons/crystalsvg/*/devices/laptop.svgz
+%{tde_datadir}/icons/crystalsvg/*/actions/newfont.png
+%{tde_datadir}/icons/crystalsvg/*/apps/abiword.png
+%{tde_datadir}/icons/crystalsvg/*/apps/agent.png
+%{tde_datadir}/icons/crystalsvg/*/apps/alevt.png
+%{tde_datadir}/icons/crystalsvg/*/apps/assistant.png
+%{tde_datadir}/icons/crystalsvg/*/apps/blender.png
+%{tde_datadir}/icons/crystalsvg/*/apps/bluefish.png
+%{tde_datadir}/icons/crystalsvg/*/apps/cookie.png
+%{tde_datadir}/icons/crystalsvg/*/apps/designer.png
+%{tde_datadir}/icons/crystalsvg/*/apps/dia.png
+%{tde_datadir}/icons/crystalsvg/*/apps/dlgedit.png
+%{tde_datadir}/icons/crystalsvg/*/apps/eclipse.png
+%{tde_datadir}/icons/crystalsvg/*/apps/edu_languages.png
+%{tde_datadir}/icons/crystalsvg/*/apps/edu_mathematics.png
+%{tde_datadir}/icons/crystalsvg/*/apps/edu_miscellaneous.png
+%{tde_datadir}/icons/crystalsvg/*/apps/edu_science.png
+%{tde_datadir}/icons/crystalsvg/*/apps/emacs.png
+%{tde_datadir}/icons/crystalsvg/*/apps/enhanced_browsing.png
+%{tde_datadir}/icons/crystalsvg/*/apps/evolution.png
+%{tde_datadir}/icons/crystalsvg/*/apps/fifteenpieces.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gabber.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gaim.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gnome_apps.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gnomemeeting.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gnucash.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gnumeric.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gv.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gvim.png
+%{tde_datadir}/icons/crystalsvg/*/apps/icons.png
+%{tde_datadir}/icons/crystalsvg/*/apps/iconthemes.png
+%{tde_datadir}/icons/crystalsvg/*/apps/ieee1394.png
+%{tde_datadir}/icons/crystalsvg/*/apps/input_devices_settings.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmkicker.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmmidi.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmprocessor.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmscsi.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmsound.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmsystem.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmx.png
+%{tde_datadir}/icons/crystalsvg/*/apps/keyboard.png
+%{tde_datadir}/icons/crystalsvg/*/apps/keyboard_layout.png
+%{tde_datadir}/icons/crystalsvg/*/apps/knotify.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kvirc.png
+%{tde_datadir}/icons/crystalsvg/*/apps/linguist.png
+%{tde_datadir}/icons/crystalsvg/*/apps/lyx.png
+%{tde_datadir}/icons/crystalsvg/*/apps/mac.png
+%{tde_datadir}/icons/crystalsvg/*/apps/mathematica.png
+%{tde_datadir}/icons/crystalsvg/*/apps/nedit.png
+%{tde_datadir}/icons/crystalsvg/*/apps/opera.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_application.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_editors.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_edutainment.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_games_arcade.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_games_board.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_games_card.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_games_strategy.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_graphics.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_system.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_wordprocessing.png
+%{tde_datadir}/icons/crystalsvg/*/apps/pan.png
+%{tde_datadir}/icons/crystalsvg/*/apps/panel_settings.png
+%{tde_datadir}/icons/crystalsvg/*/apps/plan.png
+%{tde_datadir}/icons/crystalsvg/*/apps/planner.png
+%{tde_datadir}/icons/crystalsvg/*/apps/pybliographic.png
+%{tde_datadir}/icons/crystalsvg/*/apps/realplayer.png
+%{tde_datadir}/icons/crystalsvg/*/apps/remote.png
+%{tde_datadir}/icons/crystalsvg/*/apps/scribus.png
+%{tde_datadir}/icons/crystalsvg/*/apps/sodipodi.png
+%{tde_datadir}/icons/crystalsvg/*/apps/style.png
+%{tde_datadir}/icons/crystalsvg/*/apps/usb.png
+%{tde_datadir}/icons/crystalsvg/*/apps/vnc.png
+%{tde_datadir}/icons/crystalsvg/*/apps/wabi.png
+%{tde_datadir}/icons/crystalsvg/*/apps/wine.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xcalc.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xchat.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xclipboard.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xconsole.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xedit.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xemacs.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xeyes.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xfig.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xload.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xmms.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xosview.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xv.png
+%{tde_datadir}/icons/crystalsvg/*/apps/galeon.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmdrkonqi.png
+%{tde_datadir}/icons/crystalsvg/*/apps/pinguin.png
+%{tde_datadir}/icons/crystalsvg/*/apps/x.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xapp.png
+%{tde_datadir}/icons/crystalsvg/*/apps/xawtv.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmopengl.png
+%{tde_datadir}/icons/crystalsvg/*/apps/wmaker_apps.png
+%{tde_datadir}/icons/crystalsvg/*/apps/qtella.png
+%{tde_datadir}/services/searchproviders
+%{tde_datadir}/services/useragentstrings/*.desktop
+%{tde_datadir}/servicetypes/searchprovider.desktop
+%{tde_datadir}/servicetypes/uasprovider.desktop
+%exclude %{tde_datadir}/sounds/pop.wav
+%{tde_datadir}/sounds/
+%{tde_datadir}/wallpapers/*
+
+%if "%{tde_prefix}" != "/usr"
+%{tde_prefix}/etc/xdg/menus/applications-merged/kde-essential.menu
+%{tde_prefix}/etc/xdg/menus/kde-information.menu
+%{tde_prefix}/etc/xdg/menus/kde-screensavers.menu
+%{tde_prefix}/etc/xdg/menus/kde-settings.menu
+%else
+%{_sysconfdir}/xdg/menus/applications-merged/kde-essential.menu
+%{_sysconfdir}/xdg/menus/kde-information.menu
+%{_sysconfdir}/xdg/menus/kde-screensavers.menu
+%{_sysconfdir}/xdg/menus/kde-settings.menu
+%endif
+
+%{tde_tdedocdir}/HTML/en/kcontrol/
+%exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/
+%{tde_tdedocdir}/HTML/en/kinfocenter/
+
+%post data
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+%if "%{distribution}" == "Mandriva Linux"
+# Mandriva-specific: we have to choose a background for current distribution variant (Free, One, Powerpack, ...)
+# First, we read the "product" key in /etc/product.id
+eval $(tr "," ";" </etc/product.id) 2>/dev/null
+# Then, we create a symbolic link to the corresponding background
+if [ -r "%{_datadir}/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" ]; then
+ %__ln -sf "%{_datadir}/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}"
+fi
+%endif
+
+%if "%{distribution}" == "Mageia"
+if [ ! -r "%{tde_bg}" ] && [ -r "%{_datadir}/mga/backgrounds/Mageia-Default-1920x1440.png" ]; then
+ %__ln -sf "%{_datadir}/mga/backgrounds/Mageia-Default-1920x1440.png" "%{tde_bg}"
+fi
+%endif
+
+%postun data
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+##########
+
+%package tdeio-plugins
+Summary: core I/O slaves for TDE
+Group: Applications/Utilities
+Requires: trinity-kdesktop = %{version}-%{release}
+Requires: cyrus-sasl
+Requires: psmisc
+%if 0%{?with_hal}
+Requires: hal >= 0.4.8
+%endif
+%if 0%{?rhel} == 4 || 0%{?suse_version}
+Requires: cryptsetup
+%else
+Requires: cryptsetup-luks
+%endif
+
+Obsoletes: tdebase-kio-plugins < %{version}-%{release}
+Provides: tdebase-kio-plugins = %{version}-%{release}
+Obsoletes: trinity-tdebase-kio-plugins < %{version}-%{release}
+Provides: trinity-tdebase-kio-plugins = %{version}-%{release}
+
+%description tdeio-plugins
+This package includes the base tdeioslaves. They include, amongst many
+others, file, http, and ftp.
+
+It also includes the media tdeioslave, which handles removable devices,
+and which works best with hal (and therefore udev) 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}/kio_media_mounthelper
+%{tde_bindir}/ktrash
+%{tde_tdelibdir}/cursorthumbnail.la
+%{tde_tdelibdir}/cursorthumbnail.so
+%{tde_tdelibdir}/djvuthumbnail.la
+%{tde_tdelibdir}/djvuthumbnail.so
+%{tde_tdelibdir}/htmlthumbnail.la
+%{tde_tdelibdir}/htmlthumbnail.so
+%{tde_tdelibdir}/imagethumbnail.la
+%{tde_tdelibdir}/imagethumbnail.so
+%{tde_tdelibdir}/kcm_cgi.la
+%{tde_tdelibdir}/kcm_cgi.so
+%{tde_tdelibdir}/kcm_media.la
+%{tde_tdelibdir}/kcm_media.so
+%{tde_tdelibdir}/kded_homedirnotify.la
+%{tde_tdelibdir}/kded_homedirnotify.so
+%{tde_tdelibdir}/kded_mediamanager.la
+%{tde_tdelibdir}/kded_mediamanager.so
+%{tde_tdelibdir}/kded_medianotifier.la
+%{tde_tdelibdir}/kded_medianotifier.so
+%{tde_tdelibdir}/kded_remotedirnotify.la
+%{tde_tdelibdir}/kded_remotedirnotify.so
+%{tde_tdelibdir}/kded_systemdirnotify.la
+%{tde_tdelibdir}/kded_systemdirnotify.so
+%{tde_tdelibdir}/kfile_media.la
+%{tde_tdelibdir}/kfile_media.so
+%{tde_tdelibdir}/kfile_trash.la
+%{tde_tdelibdir}/kfile_trash.so
+%{tde_tdelibdir}/kio_about.la
+%{tde_tdelibdir}/kio_about.so
+%{tde_tdelibdir}/kio_cgi.la
+%{tde_tdelibdir}/kio_cgi.so
+%{tde_tdelibdir}/kio_filter.la
+%{tde_tdelibdir}/kio_filter.so
+%{tde_tdelibdir}/kio_finger.la
+%{tde_tdelibdir}/kio_finger.so
+%{tde_tdelibdir}/kio_fish.la
+%{tde_tdelibdir}/kio_fish.so
+%{tde_tdelibdir}/kio_floppy.la
+%{tde_tdelibdir}/kio_floppy.so
+%{tde_tdelibdir}/kio_home.la
+%{tde_tdelibdir}/kio_home.so
+%{tde_tdelibdir}/kio_info.la
+%{tde_tdelibdir}/kio_info.so
+%{tde_tdelibdir}/kio_mac.la
+%{tde_tdelibdir}/kio_mac.so
+%{tde_tdelibdir}/kio_man.la
+%{tde_tdelibdir}/kio_man.so
+%{tde_tdelibdir}/kio_media.la
+%{tde_tdelibdir}/kio_media.so
+%{tde_tdelibdir}/kio_nfs.la
+%{tde_tdelibdir}/kio_nfs.so
+%{tde_tdelibdir}/kio_remote.la
+%{tde_tdelibdir}/kio_remote.so
+%{tde_tdelibdir}/kio_settings.la
+%{tde_tdelibdir}/kio_settings.so
+%{tde_tdelibdir}/kio_sftp.la
+%{tde_tdelibdir}/kio_sftp.so
+%{tde_tdelibdir}/kio_system.la
+%{tde_tdelibdir}/kio_system.so
+%{tde_tdelibdir}/kio_tar.la
+%{tde_tdelibdir}/kio_tar.so
+%{tde_tdelibdir}/kio_thumbnail.la
+%{tde_tdelibdir}/kio_thumbnail.so
+%{tde_tdelibdir}/kio_trash.la
+%{tde_tdelibdir}/kio_trash.so
+%{tde_tdelibdir}/libkmanpart.la
+%{tde_tdelibdir}/libkmanpart.so
+%{tde_tdelibdir}/textthumbnail.la
+%{tde_tdelibdir}/textthumbnail.so
+%{tde_tdeappdir}/kcmcgi.desktop
+%{tde_datadir}/apps/kio_finger/kio_finger.css
+%{tde_datadir}/apps/kio_finger/kio_finger.pl
+%{tde_datadir}/apps/kio_info/kde-info2html
+%{tde_datadir}/apps/kio_info/kde-info2html.conf
+%{tde_datadir}/apps/kio_man/kio_man.css
+%{tde_datadir}/apps/systemview/*.desktop
+%{tde_datadir}/config.kcfg/mediamanagersettings.kcfg
+%{tde_datadir}/mimelnk/application/x-smb-server.desktop
+%{tde_datadir}/mimelnk/inode/system_directory.desktop
+%{tde_datadir}/mimelnk/media/*.desktop
+%{tde_datadir}/services/about.protocol
+%{tde_datadir}/services/applications.protocol
+%{tde_datadir}/services/ar.protocol
+%{tde_datadir}/services/bzip.protocol
+%{tde_datadir}/services/bzip2.protocol
+%{tde_datadir}/services/cgi.protocol
+%{tde_datadir}/services/cursorthumbnail.desktop
+%{tde_datadir}/services/djvuthumbnail.desktop
+%{tde_datadir}/services/finger.protocol
+%{tde_datadir}/services/fish.protocol
+%{tde_datadir}/services/floppy.protocol
+%{tde_datadir}/services/gzip.protocol
+%{tde_datadir}/services/home.protocol
+%{tde_datadir}/services/htmlthumbnail.desktop
+%{tde_datadir}/services/imagethumbnail.desktop
+%{tde_datadir}/services/info.protocol
+%{tde_datadir}/services/kded/homedirnotify.desktop
+%{tde_datadir}/services/kded/mediamanager.desktop
+%{tde_datadir}/services/kded/medianotifier.desktop
+%{tde_datadir}/services/kded/remotedirnotify.desktop
+%{tde_datadir}/services/kded/systemdirnotify.desktop
+%{tde_datadir}/services/kfile_media.desktop
+%{tde_datadir}/services/kfile_trash_system.desktop
+%{tde_datadir}/services/lzma.protocol
+%{tde_datadir}/services/kmanpart.desktop
+%{tde_datadir}/services/mac.protocol
+%{tde_datadir}/services/man.protocol
+%{tde_datadir}/services/media.protocol
+%{tde_datadir}/services/nfs.protocol
+%{tde_datadir}/services/nxfish.protocol
+%{tde_datadir}/services/programs.protocol
+%{tde_datadir}/services/remote.protocol
+%{tde_datadir}/services/settings.protocol
+%{tde_datadir}/services/sftp.protocol
+%{tde_datadir}/services/system.protocol
+%{tde_datadir}/services/tar.protocol
+%{tde_datadir}/services/textthumbnail.desktop
+%{tde_datadir}/services/thumbnail.protocol
+%{tde_datadir}/services/trash.protocol
+%{tde_datadir}/services/xz.protocol
+%{tde_datadir}/services/zip.protocol
+%{tde_datadir}/servicetypes/thumbcreator.desktop
+%{tde_datadir}/services/kfile_trash.desktop
+%{tde_tdedocdir}/HTML/en/kioslave/
+%if 0%{?with_exr}
+%{tde_tdelibdir}/exrthumbnail.la
+%{tde_tdelibdir}/exrthumbnail.so
+%{tde_datadir}/services/exrthumbnail.desktop
+%endif
+%if 0%{?with_hal}
+%{tde_tdelibdir}/media_propsdlgplugin.la
+%{tde_tdelibdir}/media_propsdlgplugin.so
+%{tde_datadir}/services/media_propsdlgplugin.desktop
+%endif
+
+%post tdeio-plugins
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+%postun tdeio-plugins
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+
+##########
+
+%package -n trinity-kdepasswd
+Summary: password changer for TDE
+Group: Applications/Utilities
+
+%description -n trinity-kdepasswd
+This is a simple application which allows users to change their
+system passwords.
+
+%files -n trinity-kdepasswd
+%defattr(-,root,root,-)
+%{tde_bindir}/kdepasswd
+%{tde_tdelibdir}/kcm_useraccount.la
+%{tde_tdelibdir}/kcm_useraccount.so
+%{tde_tdeappdir}/kcm_useraccount.desktop
+%{tde_tdeappdir}/kdepasswd.desktop
+%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default1.png
+%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default2.png
+%exclude %{tde_datadir}/apps/[kt]dm/pics/users/default3.png
+%exclude %{tde_datadir}/apps/[kt]dm/pics/users/root1.png
+%{tde_datadir}/apps/[kt]dm/pics/users/*.png
+%{tde_datadir}/config.kcfg/kcm_useraccount.kcfg
+%{tde_datadir}/config.kcfg/kcm_useraccount_pass.kcfg
+
+%post -n trinity-kdepasswd
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+%postun -n trinity-kdepasswd
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+##########
+
+%package -n trinity-tdeprint
+Summary: print system for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+Requires: psutils
+
+%description -n trinity-tdeprint
+This package contains the TDE printing subsystem. It can use CUPS,
+lpd-ng or the traditional lpd. It also includes support for fax and
+pdf printing.
+
+Installation of smbclient will make you able to use smb shared printers.
+
+%files -n trinity-tdeprint
+%defattr(-,root,root,-)
+%{tde_bindir}/[kt]deprintfax
+%{tde_bindir}/kjobviewer
+%{tde_bindir}/kprinter
+%{tde_tdelibdir}/kcm_printmgr.la
+%{tde_tdelibdir}/kcm_printmgr.so
+%{tde_tdelibdir}/kio_print.la
+%{tde_tdelibdir}/kio_print.so
+%{tde_tdelibdir}/kjobviewer.la
+%{tde_tdelibdir}/kjobviewer.so
+%{tde_tdelibdir}/kprinter.la
+%{tde_tdelibdir}/kprinter.so
+%{tde_tdelibdir}/lib[kt]deprint_part.la
+%{tde_tdelibdir}/lib[kt]deprint_part.so
+%{tde_libdir}/lib[kt]deinit_kjobviewer.la
+%{tde_libdir}/lib[kt]deinit_kjobviewer.so
+%{tde_libdir}/lib[kt]deinit_kprinter.la
+%{tde_libdir}/lib[kt]deinit_kprinter.so
+%{tde_tdeappdir}/[kt]deprintfax.desktop
+%{tde_tdeappdir}/[kt]jobviewer.desktop
+%{tde_tdeappdir}/printers.desktop
+%{tde_datadir}/apps/[kt]deprint/
+%{tde_datadir}/apps/[kt]deprintfax/
+%{tde_datadir}/apps/[kt]jobviewer/
+%{tde_datadir}/apps/[kt]deprint_part/kdeprint_part.rc
+%{tde_datadir}/icons/hicolor/*/apps/kdeprintfax.png
+%{tde_datadir}/icons/hicolor/*/apps/kjobviewer.png
+%{tde_datadir}/icons/hicolor/*/apps/printmgr.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kdeprintfax.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/kdeprint_part.desktop
+%{tde_datadir}/services/print.protocol
+%{tde_datadir}/services/printdb.protocol
+%{tde_tdedocdir}/HTML/en/[kt]deprint/
+
+%post -n trinity-tdeprint
+/sbin/ldconfig || :
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+%postun -n trinity-tdeprint
+/sbin/ldconfig || :
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+##########
+
+%package -n trinity-kdesktop
+Summary: miscellaneous binaries and files for the TDE desktop
+Group: Applications/Utilities
+Requires: %{name}-bin = %{version}-%{release}
+Requires: %{name}-data = %{version}-%{release}
+Requires: trinity-libkonq = %{version}-%{release}
+Requires: eject
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+Requires: xdg-utils
+%endif
+
+%description -n trinity-kdesktop
+This package contains miscellaneous binaries and files integral to
+the TDE desktop.
+
+%files -n trinity-kdesktop
+%defattr(-,root,root,-)
+%{_sysconfdir}/trinity/kdesktop_custom_menu1
+%{_sysconfdir}/trinity/kdesktop_custom_menu2
+%{tde_bindir}/kcheckrunning
+%{tde_bindir}/kxdglauncher
+%{tde_bindir}/kdeeject
+%{tde_bindir}/kdesktop
+%{tde_bindir}/kdesktop_lock
+%{tde_bindir}/kwebdesktop
+%{tde_tdelibdir}/kdesktop.la
+%{tde_tdelibdir}/kdesktop.so
+%{tde_libdir}/lib[kt]deinit_kdesktop.la
+%{tde_libdir}/lib[kt]deinit_kdesktop.so
+%{tde_datadir}/apps/kdesktop/
+%{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop
+%{tde_datadir}/autostart/kdesktop.desktop
+%{tde_datadir}/config.kcfg/kdesktop.kcfg
+%{tde_datadir}/config.kcfg/klaunch.kcfg
+%{tde_datadir}/config.kcfg/kwebdesktop.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/error.png
+
+%post -n trinity-kdesktop
+/sbin/ldconfig || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+%postun -n trinity-kdesktop
+/sbin/ldconfig || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+##########
+
+%package -n trinity-kdesktop-devel
+Summary: Development files for kdesktop
+Group: Development/Libraries
+Requires: trinity-kdesktop = %{version}-%{release}
+
+%description -n trinity-kdesktop-devel
+%{summary}
+
+%files -n trinity-kdesktop-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/KBackgroundIface.h
+%{tde_tdeincludedir}/KDesktopIface.h
+%{tde_tdeincludedir}/KScreensaverIface.h
+
+##########
+
+%package -n trinity-tdm
+Summary: X Display manager for TDE
+Group: Applications/Utilities
+Requires: %{name}-bin = %{version}-%{release}
+Requires: %{name}-data = %{version}-%{release}
+Requires: pam
+
+# Provides the global Xsession script (/etc/X11/xinit/Xsession or /etc/X11/Xsession)
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 4
+Requires: xinitrc
+%endif
+%if 0%{?suse_version} == 1140
+Requires: xorg-x11
+%endif
+%if 0%{?suse_version} >= 1220
+Requires: xdm
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora}
+Requires: xorg-x11-xinit
+%endif
+
+# Required for Fedora LiveCD
+%if 0%{?rhel} || 0%{?fedora}
+Provides: service(graphical-login)
+%endif
+# Required for Mandriva's installer
+%if 0%{?mgaversion} || 0%{?mdkversion}
+Provides: dm
+%endif
+
+%description -n trinity-tdm
+tdm manages a collection of X servers, which may be on the local host or
+remote machines. It provides services similar to those provided by init,
+getty, and login on character-based terminals: prompting for login name and
+password, authenticating the user, and running a session. tdm supports XDMCP
+(X Display Manager Control Protocol) and can also be used to run a chooser
+process which presents the user with a menu of possible hosts that offer
+XDMCP display management.
+
+A collection of icons to associate with individual users is included with
+TDE, but as part of the kdepasswd package.
+
+The menu package will help to provide TDM with a list of window managers
+that can be launched, if the window manager does not register with TDM
+already. Most users won't need this.
+
+%files -n trinity-tdm
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kgreet_pam.la
+%{tde_tdelibdir}/kgreet_pam.so
+%{tde_bindir}/gen[kt]dmconf
+%{tde_bindir}/[kt]dm
+%{tde_bindir}/[kt]dm_config
+%{tde_bindir}/[kt]dmctl
+%{tde_bindir}/[kt]dm_greet
+%{tde_bindir}/krootimage
+%{tde_datadir}/apps/[kt]dm/pics/kdelogo.png
+%{tde_datadir}/apps/[kt]dm/pics/kdelogo-crystal.png
+%{tde_datadir}/apps/[kt]dm/pics/shutdown.jpg
+%{tde_datadir}/apps/[kt]dm/pics/users/default1.png
+%{tde_datadir}/apps/[kt]dm/pics/users/default2.png
+%{tde_datadir}/apps/[kt]dm/pics/users/default3.png
+%{tde_datadir}/apps/[kt]dm/pics/users/root1.png
+%{tde_datadir}/apps/[kt]dm/sessions/*.desktop
+%{tde_datadir}/apps/[kt]dm/themes/
+%{tde_datadir}/config/kdm
+%{_sysconfdir}/trinity/[kt]dm/
+%{tde_tdedocdir}/HTML/en/[kt]dm/
+%if 0%{?suse_version} == 0
+%{_sysconfdir}/pam.d/kdm-trinity
+%{_sysconfdir}/pam.d/kdm-trinity-np
+%endif
+%if 0%{?suse_version}
+/usr/lib/X11/displaymanagers/tdm
+%endif
+%if 0%{?fedora} >= 18
+/usr/lib/systemd/system/tdm.service
+%endif
+
+# Distribution specific stuff
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%{_datadir}/xsessions/tde.desktop
+%endif
+
+# https://wiki.mageia.org/en/How_to_add_a_new_Window_Manager_or_Display_Manager
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%{_sysconfdir}/X11/wmsession.d/45TDE
+%{_datadir}/X11/dm.d/45TDE.conf
+%endif
+
+# SELINUX policy
+%if 0%{?with_selinux_policy}
+%{?_sysconfdir}/trinity/kdm/tdm.pp
+%endif
+
+%pre -n trinity-tdm
+# Make sure that TDM configuration files are now under '/etc/trinity/kdm'
+if [ -d "%{tde_datadir}/config/kdm" ] && [ ! -L "%{tde_datadir}/config/kdm" ]; then
+ if [ -d "%{_sysconfdir}/trinity/kdm" ]; then
+ # If there is already something under '/etc/trinity/kdm', simply delete old configuration
+ echo "Deleting TDM configuration under '%{tde_datadir}/config/kdm'"
+ %__rm -rf "%{tde_datadir}/config/kdm"
+ else
+ # Else, move '/opt/trinity/share/config/kdm' to '/etc/trinity/kdm'
+ if [ ! -d "%{_sysconfdir}/trinity" ]; then
+ %__mkdir_p "%{_sysconfdir}/trinity"
+ fi
+ echo "Migrating TDM configuration from '%{tde_datadir}/config/kdm' to '%{_sysconfdir}/trinity/kdm'"
+ %__mv -f "%{tde_datadir}/config/kdm" "%{_sysconfdir}/trinity/kdm.migr"
+ fi
+fi
+
+%post -n trinity-tdm
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%make_session
+%endif
+%if 0%{?with_selinux_policy}
+/usr/sbin/semodule -i "%{?_sysconfdir}/trinity/kdm/tdm.pp"
+%endif
+# Default user icon in TDM
+if [ ! -r "%{tde_datadir}/apps/kdm/faces/.default.face.icon" ]; then
+ [ -d "%{tde_datadir}/apps/kdm/faces" ] || mkdir -p "%{tde_datadir}/apps/kdm/faces"
+ %__cp -f "%{tde_datadir}/apps/kdm/pics/users/default2.png" "%{tde_datadir}/apps/kdm/faces/.default.face.icon"
+fi
+
+%posttrans -n trinity-tdm
+# Make sure that TDM configuration files are now under '/etc/trinity/kdm'
+if [ -d "%{_sysconfdir}/trinity/kdm.migr" ] && [ -d "%{_sysconfdir}/trinity/kdm" ]; then
+ %__mv -f "%{_sysconfdir}/trinity/kdm.migr/"* "%{_sysconfdir}/trinity/kdm/"
+ rmdir "%{_sysconfdir}/trinity/kdm.migr/"
+fi
+
+%postun -n trinity-tdm
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%make_session
+%endif
+
+##########
+
+%package -n trinity-tdm-devel
+Summary: Development files for tdm
+Group: Development/Libraries
+Requires: trinity-tdm = %{version}-%{release}
+
+%description -n trinity-tdm-devel
+%{summary}
+
+%files -n trinity-tdm-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kgreeterplugin.h
+
+##########
+
+%package -n trinity-kfind
+Summary: file-find utility for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-kfind
+kfind can be used to find files and directories on your
+workstations.
+
+%files -n trinity-kfind
+%defattr(-,root,root,-)
+%{tde_bindir}/kfind
+%{tde_tdelibdir}/libkfindpart.la
+%{tde_tdelibdir}/libkfindpart.so
+%{tde_tdeappdir}/Kfind.desktop
+%{tde_datadir}/apps/kfindpart/
+%{tde_datadir}/icons/hicolor/*/apps/kfind.png
+%{tde_datadir}/services/kfindpart.desktop
+%{tde_datadir}/servicetypes/findpart.desktop
+%{tde_tdedocdir}/HTML/en/kfind/
+
+%post -n trinity-kfind
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+%postun -n trinity-kfind
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+##########
+
+%package -n trinity-khelpcenter
+Summary: help center for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+Requires: htdig
+
+%description -n trinity-khelpcenter
+The TDE Help Center provides documentation on how to use the KDE desktop.
+
+The htdig package is needed to build a searchable archive of TDE
+documentation.
+
+%files -n trinity-khelpcenter
+%defattr(-,root,root,-)
+#%{tde_bindir}/khc_beagle_index.pl
+#%{tde_bindir}/khc_beagle_search.pl
+%{tde_bindir}/khc_docbookdig.pl
+%{tde_bindir}/khc_htdig.pl
+%{tde_bindir}/khc_htsearch.pl
+%{tde_bindir}/khc_indexbuilder
+%{tde_bindir}/khc_mansearch.pl
+%{tde_bindir}/khelpcenter
+%{tde_tdelibdir}/khelpcenter.la
+%{tde_tdelibdir}/khelpcenter.so
+%{tde_libdir}/lib[kt]deinit_khelpcenter.la
+%{tde_libdir}/lib[kt]deinit_khelpcenter.so
+%{tde_tdeappdir}/Help.desktop
+%{tde_datadir}/apps/khelpcenter/
+%{tde_datadir}/config.kcfg/khelpcenter.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/khelpcenter.*
+%{tde_datadir}/services/khelpcenter.desktop
+%{tde_tdedocdir}/HTML/en/khelpcenter/
+
+%post -n trinity-khelpcenter
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-khelpcenter
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kicker
+Summary: desktop panel for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-kicker
+Kicker provides the TDE panel on you desktop. It can be used as a
+program launcher and can load plugins to provide additional
+functionality.
+
+%files -n trinity-kicker
+%defattr(-,root,root,-)
+%{tde_bindir}/appletproxy
+%{tde_bindir}/extensionproxy
+%{tde_bindir}/kasbar
+%{tde_bindir}/kicker
+%{tde_libdir}/kconf_update_bin/kicker-3.4-reverseLayout
+%{tde_tdelibdir}/appletproxy.la
+%{tde_tdelibdir}/appletproxy.so
+%{tde_tdelibdir}/clock_panelapplet.la
+%{tde_tdelibdir}/clock_panelapplet.so
+%{tde_tdelibdir}/dockbar_panelextension.la
+%{tde_tdelibdir}/dockbar_panelextension.so
+%{tde_tdelibdir}/extensionproxy.la
+%{tde_tdelibdir}/extensionproxy.so
+%{tde_tdelibdir}/kasbar_panelextension.la
+%{tde_tdelibdir}/kasbar_panelextension.so
+%{tde_tdelibdir}/kicker.la
+%{tde_tdelibdir}/kickermenu_find.la
+%{tde_tdelibdir}/kickermenu_find.so
+%{tde_tdelibdir}/kickermenu_kate.so
+%{tde_tdelibdir}/kickermenu_kate.la
+%{tde_tdelibdir}/kickermenu_[kt]deprint.la
+%{tde_tdelibdir}/kickermenu_[kt]deprint.so
+%{tde_tdelibdir}/kickermenu_konqueror.la
+%{tde_tdelibdir}/kickermenu_konqueror.so
+%{tde_tdelibdir}/kickermenu_konsole.la
+%{tde_tdelibdir}/kickermenu_konsole.so
+%{tde_tdelibdir}/kickermenu_prefmenu.la
+%{tde_tdelibdir}/kickermenu_prefmenu.so
+%{tde_tdelibdir}/kickermenu_recentdocs.la
+%{tde_tdelibdir}/kickermenu_recentdocs.so
+%{tde_tdelibdir}/kickermenu_remotemenu.la
+%{tde_tdelibdir}/kickermenu_remotemenu.so
+%{tde_tdelibdir}/kickermenu_systemmenu.la
+%{tde_tdelibdir}/kickermenu_systemmenu.so
+%{tde_tdelibdir}/kicker.so
+%{tde_tdelibdir}/launcher_panelapplet.la
+%{tde_tdelibdir}/launcher_panelapplet.so
+%{tde_tdelibdir}/lockout_panelapplet.la
+%{tde_tdelibdir}/lockout_panelapplet.so
+%{tde_tdelibdir}/media_panelapplet.la
+%{tde_tdelibdir}/media_panelapplet.so
+%{tde_tdelibdir}/menu_panelapplet.la
+%{tde_tdelibdir}/menu_panelapplet.so
+%{tde_tdelibdir}/minipager_panelapplet.la
+%{tde_tdelibdir}/minipager_panelapplet.so
+%{tde_tdelibdir}/naughty_panelapplet.la
+%{tde_tdelibdir}/naughty_panelapplet.so
+%{tde_tdelibdir}/run_panelapplet.la
+%{tde_tdelibdir}/run_panelapplet.so
+%{tde_tdelibdir}/sidebar_panelextension.la
+%{tde_tdelibdir}/sidebar_panelextension.so
+%{tde_tdelibdir}/systemtray_panelapplet.la
+%{tde_tdelibdir}/systemtray_panelapplet.so
+%{tde_tdelibdir}/taskbar_panelapplet.la
+%{tde_tdelibdir}/taskbar_panelapplet.so
+%{tde_tdelibdir}/taskbar_panelextension.la
+%{tde_tdelibdir}/taskbar_panelextension.so
+%{tde_tdelibdir}/trash_panelapplet.la
+%{tde_tdelibdir}/trash_panelapplet.so
+%{tde_libdir}/libkasbar.so.*
+%{tde_libdir}/lib[kt]deinit_appletproxy.la
+%{tde_libdir}/lib[kt]deinit_appletproxy.so
+%{tde_libdir}/lib[kt]deinit_extensionproxy.la
+%{tde_libdir}/lib[kt]deinit_extensionproxy.so
+%{tde_libdir}/lib[kt]deinit_kicker.la
+%{tde_libdir}/lib[kt]deinit_kicker.so
+%{tde_libdir}/libkickermain.so.*
+%{tde_libdir}/libtaskbar.so.*
+%{tde_libdir}/libtaskmanager.so.*
+%{tde_libdir}/libkickoffsearch_interfaces.so.*
+%{tde_tdeappdir}/kcmkicker.desktop
+%{tde_datadir}/applnk/.hidden/kicker_config_arrangement.desktop
+%{tde_datadir}/applnk/.hidden/kicker_config_hiding.desktop
+%{tde_datadir}/applnk/.hidden/kicker_config_menus.desktop
+%{tde_datadir}/apps/clockapplet/pics/lcd.png
+%{tde_datadir}/apps/kconf_update/kicker-3.1-properSizeSetting.pl
+%{tde_datadir}/apps/kconf_update/kicker-3.5-kconfigXTize.pl
+%{tde_datadir}/apps/kconf_update/kicker-3.5-taskbarEnums.pl
+%{tde_datadir}/apps/kconf_update/kickerrc.upd
+%{tde_datadir}/apps/kicker/
+%exclude %{tde_datadir}/apps/kicker/applets/klipper.desktop
+%exclude %{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop
+%{tde_datadir}/apps/naughtyapplet/pics/naughty-happy.png
+%{tde_datadir}/apps/naughtyapplet/pics/naughty-sad.png
+%{tde_datadir}/autostart/panel.desktop
+%{tde_datadir}/config.kcfg/kickerSettings.kcfg
+%{tde_datadir}/config.kcfg/launcherapplet.kcfg
+%{tde_datadir}/config.kcfg/pagersettings.kcfg
+%{tde_datadir}/config.kcfg/taskbar.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.png
+%{tde_datadir}/icons/crystalsvg/*/apps/taskbar.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kdisknav.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kicker.png
+%{tde_datadir}/icons/crystalsvg/*/apps/panel.png
+%{tde_datadir}/icons/crystalsvg/*/apps/runprocesscatcher.png
+%{tde_datadir}/icons/crystalsvg/*/apps/window_list.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.svgz
+%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.svgz
+%{tde_datadir}/servicetypes/kickoffsearchplugin.desktop
+%{tde_tdedocdir}/HTML/en/kicker/
+%if 0%{?mgaversion} >= 3
+%{tde_datadir}/oxygen/scalable/mgabutton.svg
+%endif
+
+%post -n trinity-kicker
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-kicker
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kicker-devel
+Summary: Development files for kicker
+Group: Development/Libraries
+Requires: trinity-kicker = %{version}-%{release}
+
+%description -n trinity-kicker-devel
+%{summary}
+
+%files -n trinity-kicker-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kickoff-search-plugin.h
+%{tde_tdeincludedir}/kickoffsearchinterface.h
+%{tde_libdir}/libkasbar.la
+%{tde_libdir}/libkasbar.so
+%{tde_libdir}/libkickermain.la
+%{tde_libdir}/libkickermain.so
+%{tde_libdir}/libkickoffsearch_interfaces.la
+%{tde_libdir}/libkickoffsearch_interfaces.so
+%{tde_libdir}/libtaskbar.la
+%{tde_libdir}/libtaskbar.so
+%{tde_libdir}/libtaskmanager.la
+%{tde_libdir}/libtaskmanager.so
+
+%post -n trinity-kicker-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kicker-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-klipper
+Summary: clipboard utility for Trinity
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-klipper
+klipper provides standard clipboard functions (cut and paste, history
+saving) plus additional features, like the ability to offer actions to
+take dependent on the clipboard contents. For example, it can launch a
+web browser if the clipboard contains a URL.
+
+%files -n trinity-klipper
+%defattr(-,root,root,-)
+%{tde_bindir}/klipper
+%{_sysconfdir}/trinity/klipperrc
+%{tde_tdelibdir}/klipper.la
+%{tde_tdelibdir}/klipper.so
+%{tde_tdelibdir}/klipper_panelapplet.la
+%{tde_tdelibdir}/klipper_panelapplet.so
+%{tde_libdir}/lib[kt]deinit_klipper.la
+%{tde_libdir}/lib[kt]deinit_klipper.so
+%{tde_tdeappdir}/klipper.desktop
+%{tde_datadir}/apps/kconf_update/klipper-1-2.pl
+%{tde_datadir}/apps/kconf_update/klipper-trinity1.sh
+%{tde_datadir}/apps/kconf_update/klipperrc.upd
+%{tde_datadir}/apps/kconf_update/klippershortcuts.upd
+%{tde_datadir}/apps/kicker/applets/klipper.desktop
+%{tde_datadir}/autostart/klipper.desktop
+%{tde_datadir}/icons/hicolor/*/apps/klipper.*
+%{tde_tdedocdir}/HTML/en/klipper/
+
+%post -n trinity-klipper
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-klipper
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kmenuedit
+Summary: menu editor for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-kmenuedit
+The TDE menu editor allows you to make customisations to the KDE menu
+structure.
+
+%files -n trinity-kmenuedit
+%defattr(-,root,root,-)
+%{tde_bindir}/kcontroledit
+%{tde_bindir}/kmenuedit
+%{tde_tdelibdir}/kcontroledit.la
+%{tde_tdelibdir}/kcontroledit.so
+%{tde_tdelibdir}/kmenuedit.la
+%{tde_tdelibdir}/kmenuedit.so
+%{tde_libdir}/lib[kt]deinit_kcontroledit.la
+%{tde_libdir}/lib[kt]deinit_kcontroledit.so
+%{tde_libdir}/lib[kt]deinit_kmenuedit.la
+%{tde_libdir}/lib[kt]deinit_kmenuedit.so
+%{tde_tdeappdir}/kmenuedit.desktop
+%{tde_datadir}/applnk/System/kmenuedit.desktop
+%{tde_datadir}/apps/kcontroledit/
+%{tde_datadir}/apps/kmenuedit/
+%{tde_tdedocdir}/HTML/en/kmenuedit/
+
+%post -n trinity-kmenuedit
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kmenuedit
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-konqueror
+Summary: TDE's advanced file manager, web browser and document viewer
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+Requires: trinity-kcontrol = %{version}-%{release}
+Requires: %{name}-tdeio-plugins = %{version}-%{release}
+Requires: trinity-kdesktop = %{version}-%{release}
+Requires: trinity-kfind = %{version}-%{release}
+Requires: trinity-libkonq = %{version}-%{release}
+
+%description -n trinity-konqueror
+Konqueror is the file manager for the Trinity Desktop Environment.
+It supports basic file management on local UNIX filesystems,
+from simple cut/copy and paste operations to advanced remote
+and local network file browsing.
+
+It is also the canvas for all the latest TDE technology,
+from KIO slaves (which provide mechanisms for file access) to
+component embedding via the KParts object interface, and it
+is one of the most customizable applications available.
+
+Konqueror is an Open Source web browser with HTML4.0 compliance,
+supporting Java applets, JavaScript, CSS1 and (partially) CSS2,
+as well as Netscape plugins (for example, Flash or RealVideo plugins).
+
+It is a universal viewing application, capable of embedding
+read-only viewing components in itself to view documents without
+ever launching another application.
+
+%files -n trinity-konqueror
+%defattr(-,root,root,-)
+%{_sysconfdir}/trinity/konqsidebartng.rc
+%{tde_bindir}/kbookmarkmerger
+%{tde_bindir}/keditbookmarks
+%{tde_bindir}/kfmclient
+%{tde_bindir}/konqueror
+%{tde_tdelibdir}/kcm_history.la
+%{tde_tdelibdir}/kcm_history.so
+%{tde_tdelibdir}/kded_konqy_preloader.la
+%{tde_tdelibdir}/kded_konqy_preloader.so
+%{tde_tdelibdir}/keditbookmarks.la
+%{tde_tdelibdir}/keditbookmarks.so
+%{tde_tdelibdir}/kfmclient.la
+%{tde_tdelibdir}/kfmclient.so
+%{tde_tdelibdir}/konq_aboutpage.la
+%{tde_tdelibdir}/konq_aboutpage.so
+%{tde_tdelibdir}/konq_iconview.la
+%{tde_tdelibdir}/konq_iconview.so
+%{tde_tdelibdir}/konq_listview.la
+%{tde_tdelibdir}/konq_listview.so
+%{tde_tdelibdir}/konq_remoteencoding.la
+%{tde_tdelibdir}/konq_remoteencoding.so
+%{tde_tdelibdir}/konq_shellcmdplugin.la
+%{tde_tdelibdir}/konq_shellcmdplugin.so
+%{tde_tdelibdir}/konq_sidebar.la
+%{tde_tdelibdir}/konq_sidebar.so
+%{tde_tdelibdir}/konq_sidebartree_bookmarks.la
+%{tde_tdelibdir}/konq_sidebartree_bookmarks.so
+%{tde_tdelibdir}/konq_sidebartree_dirtree.la
+%{tde_tdelibdir}/konq_sidebartree_dirtree.so
+%{tde_tdelibdir}/konq_sidebartree_history.la
+%{tde_tdelibdir}/konq_sidebartree_history.so
+%{tde_tdelibdir}/konqsidebar_tree.la
+%{tde_tdelibdir}/konqsidebar_tree.so
+%{tde_tdelibdir}/konqsidebar_web.la
+%{tde_tdelibdir}/konqsidebar_web.so
+%{tde_tdelibdir}/konqueror.la
+%{tde_tdelibdir}/konqueror.so
+%{tde_tdelibdir}/libkhtmlkttsdplugin.la
+%{tde_tdelibdir}/libkhtmlkttsdplugin.so
+%{tde_libdir}/lib[kt]deinit_keditbookmarks.la
+%{tde_libdir}/lib[kt]deinit_keditbookmarks.so
+%{tde_libdir}/lib[kt]deinit_kfmclient.la
+%{tde_libdir}/lib[kt]deinit_kfmclient.so
+%{tde_libdir}/lib[kt]deinit_konqueror.la
+%{tde_libdir}/lib[kt]deinit_konqueror.so
+%{tde_libdir}/libkonqsidebarplugin.so.*
+%{tde_tdeappdir}/Home.desktop
+%{tde_tdeappdir}/kcmhistory.desktop
+%{tde_tdeappdir}/kfmclient.desktop
+%{tde_tdeappdir}/kfmclient_dir.desktop
+%{tde_tdeappdir}/kfmclient_html.desktop
+%{tde_tdeappdir}/kfmclient_war.desktop
+%{tde_tdeappdir}/khtml_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/kconf_update/kfmclient_3_2.upd
+%{tde_datadir}/apps/kconf_update/kfmclient_3_2_update.sh
+%{tde_datadir}/apps/kconf_update/konqsidebartng.upd
+%{tde_datadir}/apps/kconf_update/move_konqsidebartng_entries.sh
+%{tde_datadir}/apps/keditbookmarks/keditbookmarks-genui.rc
+%{tde_datadir}/apps/keditbookmarks/keditbookmarksui.rc
+%{tde_datadir}/apps/khtml/kpartplugins/khtmlkttsd.desktop
+%{tde_datadir}/apps/khtml/kpartplugins/khtmlkttsd.rc
+%{tde_datadir}/apps/konqiconview/
+%{tde_datadir}/apps/konqlistview/
+%exclude %{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop
+%{tde_datadir}/apps/konqsidebartng/
+%{tde_datadir}/apps/konqueror/about/
+%{tde_datadir}/apps/konqueror/icons/
+%{tde_datadir}/apps/konqueror/konq-simplebrowser.rc
+%{tde_datadir}/apps/konqueror/konqueror.rc
+%{tde_datadir}/apps/konqueror/pics/indicator_connect.png
+%{tde_datadir}/apps/konqueror/pics/indicator_empty.png
+%{tde_datadir}/apps/konqueror/pics/indicator_noconnect.png
+%{tde_datadir}/apps/konqueror/pics/indicator_viewactive.png
+%{tde_datadir}/apps/konqueror/profiles/
+%exclude %{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop
+%exclude %{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop
+%exclude %{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/*.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase
+%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase
+%{tde_datadir}/apps/konqueror/tiles/*.png
+%{tde_datadir}/autostart/konqy_preload.desktop
+%{tde_datadir}/config.kcfg/keditbookmarks.kcfg
+%{tde_datadir}/config.kcfg/konq_listview.kcfg
+%{tde_datadir}/config.kcfg/konqueror.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/keditbookmarks.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.svgz
+%{tde_datadir}/icons/hicolor/*/apps/kfm.png
+%{tde_datadir}/icons/hicolor/*/apps/konqueror.*
+%{tde_datadir}/services/kded/konqy_preloader.desktop
+%{tde_datadir}/services/konq_*.desktop
+%{tde_datadir}/servicetypes/konqaboutpage.desktop
+%{tde_tdedocdir}/HTML/en/konqueror/
+
+%post -n trinity-konqueror
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+update-alternatives --install \
+ %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \
+ media_safelyremove.desktop_konqueror \
+ %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase \
+ 10 || :
+
+%postun -n trinity-konqueror
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+%preun -n trinity-konqueror
+if [ $1 -eq 0 ]; then
+ update-alternatives --remove \
+ media_safelyremove.desktop_konqueror \
+ %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase || :
+fi
+
+##########
+
+%package -n trinity-konqueror-devel
+Summary: Development files for konqueror
+Group: Development/Libraries
+Requires: trinity-konqueror = %{version}-%{release}
+
+%description -n trinity-konqueror-devel
+%{summary}
+
+%files -n trinity-konqueror-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/konqsidebarplugin.h
+%{tde_tdeincludedir}/KonquerorIface.h
+%{tde_libdir}/libkonqsidebarplugin.la
+%{tde_libdir}/libkonqsidebarplugin.so
+
+%post -n trinity-konqueror-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-konqueror-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-konqueror-nsplugins
+Summary: Netscape plugin support for Konqueror
+Group: Applications/Utilities
+Requires: trinity-konqueror = %{version}-%{release}
+
+%description -n trinity-konqueror-nsplugins
+This package includes support for Netscape plugins in Konqueror.
+
+%files -n trinity-konqueror-nsplugins
+%defattr(-,root,root,-)
+%{tde_bindir}/nspluginscan
+%{tde_bindir}/nspluginviewer
+%{tde_tdelibdir}/kcm_nsplugins.la
+%{tde_tdelibdir}/kcm_nsplugins.so
+%{tde_tdelibdir}/libnsplugin.la
+%{tde_tdelibdir}/libnsplugin.so
+%{tde_tdeappdir}/khtml_plugins.desktop
+%{tde_datadir}/apps/plugin/nspluginpart.rc
+
+%post -n trinity-konqueror-nsplugins
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+%postun -n trinity-konqueror-nsplugins
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+##########
+
+%package -n trinity-konsole
+Summary: X terminal emulator for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-konsole
+Konsole is an X terminal emulation which provides a command-line interface
+(CLI) while using the graphical K Desktop Environment. Konsole helps to
+better organize user's desktop by containing multiple sessions in a single
+window (a less cluttered desktop).
+
+Its advanced features include a simple configuration and the ability to use
+multiple terminal shells in a single window
+
+Using Konsole, a user can open:
+* Linux console sessions
+* Midnight Commander file manager sessions
+* Shell sessions
+* Root consoles sessions
+
+%files -n trinity-konsole
+%defattr(-,root,root,-)
+%{tde_bindir}/konsole
+%{tde_tdelibdir}/kcm_konsole.la
+%{tde_tdelibdir}/kcm_konsole.so
+%{tde_tdelibdir}/kded_kwrited.la
+%{tde_tdelibdir}/kded_kwrited.so
+%{tde_tdelibdir}/konsole.la
+%{tde_tdelibdir}/konsole.so
+%{tde_tdelibdir}/libkonsolepart.la
+%{tde_tdelibdir}/libkonsolepart.so
+%{tde_libdir}/lib[kt]deinit_konsole.la
+%{tde_libdir}/lib[kt]deinit_konsole.so
+%{tde_tdeappdir}/konsole.desktop
+%{tde_tdeappdir}/konsolesu.desktop
+%{tde_datadir}/applnk/.hidden/kcmkonsole.desktop
+%{tde_datadir}/apps/kconf_update/konsole.upd
+%{tde_datadir}/apps/kconf_update/schemaStrip.pl
+%{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop
+%{tde_datadir}/apps/konsole/
+%{tde_datadir}/icons/hicolor/*/apps/konsole.*
+%{tde_datadir}/mimelnk/application/x-konsole.desktop
+%{tde_datadir}/services/kded/kwrited.desktop
+%{tde_datadir}/services/konsolepart.desktop
+%{tde_datadir}/services/konsole-script.desktop
+%{tde_datadir}/services/kwrited.desktop
+%{tde_datadir}/servicetypes/terminalemulator.desktop
+%{tde_tdedocdir}/HTML/en/konsole/
+%{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/
+
+%post -n trinity-konsole
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-konsole
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kpager
+Summary: desktop pager for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-kpager
+This package contains TDE's desktop pager, which displays your virtual
+desktops iconically in a window, along with icons of any running
+applications. It is used to switch between applications or desktops.
+
+%files -n trinity-kpager
+%defattr(-,root,root,-)
+%{tde_bindir}/kpager
+%{tde_tdeappdir}/kpager.desktop
+%{tde_datadir}/applnk/Utilities/kpager.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kpager.png
+%{tde_tdedocdir}/HTML/en/kpager/
+
+%post -n trinity-kpager
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+%postun -n trinity-kpager
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+##########
+
+%package -n trinity-kpersonalizer
+Summary: installation personalizer for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-kpersonalizer
+TDE Personalizer is the application that configures the TDE desktop for you.
+It's a very useful wizard that allows you to quickly change the TDE desktop to
+suit your own needs. When you run TDE for the first time, KPersonalizer is
+automatically started. KPersonalizer can also be called later.
+
+%files -n trinity-kpersonalizer
+%defattr(-,root,root,-)
+%{tde_bindir}/kpersonalizer
+%{tde_tdeappdir}/kpersonalizer.desktop
+%{tde_datadir}/applnk/System/kpersonalizer.desktop
+%{tde_datadir}/apps/kpersonalizer/
+%{tde_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png
+
+%post -n trinity-kpersonalizer
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+%postun -n trinity-kpersonalizer
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+##########
+
+%package -n trinity-ksmserver
+Summary: session manager for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+Requires: trinity-twin = %{version}-%{release}
+
+%description -n trinity-ksmserver
+This package contains the KDE session manager. It is responsible for
+restoring your TDE session on login. It is also needed to properly
+start a KDE session. It registers KDE with X display managers, and
+provides the 'starttde' command, for starting an X session with KDE
+from the console.
+
+If you are running TDE for the first time for a certain user,
+kpersonalizer is used to help with setup. If it is not present,
+KDE will start, but many good defaults will not be set.
+
+%files -n trinity-ksmserver
+%defattr(-,root,root,-)
+%{tde_bindir}/ksmserver
+%{tde_bindir}/start[kt]de
+%{tde_bindir}/migratekde3
+%{tde_tdelibdir}/ksmserver.la
+%{tde_tdelibdir}/ksmserver.so
+%{tde_libdir}/lib[kt]deinit_ksmserver.la
+%{tde_libdir}/lib[kt]deinit_ksmserver.so
+%{tde_datadir}/apps/kconf_update/ksmserver.upd
+%{tde_datadir}/apps/kconf_update/move_session_config.sh
+%{tde_datadir}/apps/ksmserver/pics/shutdownkonq.png
+
+# Remove conflicts with redhat-menus
+%if "%{?tde_prefix}" != "/usr"
+%{tde_bindir}/plasma-desktop
+%endif
+
+%post -n trinity-ksmserver
+/sbin/ldconfig || :
+
+%postun -n trinity-ksmserver
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-ksplash
+Summary: the TDE splash screen
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-ksplash
+This package includes the TDE Splash screen, which is seen when
+a TDE session is launched.
+
+%files -n trinity-ksplash
+%defattr(-,root,root,-)
+%{tde_bindir}/ksplash
+%{tde_bindir}/ksplashsimple
+%{tde_tdelibdir}/kcm_ksplashthemes.la
+%{tde_tdelibdir}/kcm_ksplashthemes.so
+%{tde_tdelibdir}/ksplashdefault.la
+%{tde_tdelibdir}/ksplashdefault.so
+%{tde_tdelibdir}/ksplashunified.la
+%{tde_tdelibdir}/ksplashunified.so
+%{tde_tdelibdir}/ksplashredmond.la
+%{tde_tdelibdir}/ksplashredmond.so
+%{tde_tdelibdir}/ksplashstandard.la
+%{tde_tdelibdir}/ksplashstandard.so
+%{tde_libdir}/libksplashthemes.so.*
+%{tde_tdeappdir}/ksplashthememgr.desktop
+%{tde_datadir}/apps/ksplash
+%{tde_datadir}/services/ksplashdefault.desktop
+%{tde_datadir}/services/ksplash.desktop
+%{tde_datadir}/services/ksplashunified.desktop
+%{tde_datadir}/services/ksplashredmond.desktop
+%{tde_datadir}/services/ksplashstandard.desktop
+%{tde_datadir}/servicetypes/ksplashplugins.desktop
+%{tde_tdedocdir}/HTML/en/ksplashml/
+
+%post -n trinity-ksplash
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+/sbin/ldconfig || :
+
+%postun -n trinity-ksplash
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-ksplash-devel
+Summary: Development files for ksplash
+Group: Development/Libraries
+Requires: trinity-ksplash = %{version}-%{release}
+
+%description -n trinity-ksplash-devel
+%{summary}
+
+%files -n trinity-ksplash-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/ksplash/*
+%{tde_libdir}/libksplashthemes.la
+%{tde_libdir}/libksplashthemes.so
+
+%post -n trinity-ksplash-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-ksplash-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-ksysguard
+Summary: system guard for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+Requires: trinity-ksysguardd = %{version}-%{release}
+
+%description -n trinity-ksysguard
+TDE System Guard allows you to monitor various statistics about your
+computer.
+
+%files -n trinity-ksysguard
+%defattr(-,root,root,-)
+%{tde_bindir}/kpm
+%{tde_bindir}/ksysguard
+%{tde_tdelibdir}/sysguard_panelapplet.la
+%{tde_tdelibdir}/sysguard_panelapplet.so
+%{tde_libdir}/libksgrd.so.*
+%{tde_tdeappdir}/ksysguard.desktop
+%{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop
+%{tde_datadir}/apps/ksysguard/
+%{tde_datadir}/icons/crystalsvg/*/apps/ksysguard.png
+%{tde_datadir}/mimelnk/application/x-ksysguard.desktop
+%{tde_tdedocdir}/HTML/en/ksysguard/
+
+%post -n trinity-ksysguard
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-ksysguard
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-ksysguard-devel
+Summary: Development files for ksysguard
+Group: Development/Libraries
+Requires: trinity-ksysguard = %{version}-%{release}
+
+%description -n trinity-ksysguard-devel
+%{summary}
+
+%files -n trinity-ksysguard-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/ksgrd/*
+%{tde_libdir}/libksgrd.la
+%{tde_libdir}/libksgrd.so
+
+%post -n trinity-ksysguard-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-ksysguard-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-ksysguardd
+Summary: system guard daemon for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-ksysguardd
+TDE System Guard Daemon is the daemon part of ksysguard. The daemon can
+be installed on a remote machine to enable ksysguard on another machine
+to monitor it through the daemon running there.
+
+%files -n trinity-ksysguardd
+%defattr(-,root,root,-)
+%{tde_bindir}/ksysguardd
+%config(noreplace) %{_sysconfdir}/trinity/ksysguarddrc
+
+##########
+
+%package -n trinity-ktip
+Summary: useful tips for TDE
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-ktip
+ktip provides many useful tips on using TDE when you log in.
+
+%files -n trinity-ktip
+%defattr(-,root,root,-)
+%{tde_bindir}/ktip
+%{tde_tdeappdir}/ktip.desktop
+%{tde_datadir}/applnk/Toys/ktip.desktop
+%{tde_datadir}/apps/kdewizard/pics/wizard_small.png
+%{tde_datadir}/apps/kdewizard/tips/
+%{tde_datadir}/autostart/ktip.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ktip.*
+
+%post -n trinity-ktip
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+%postun -n trinity-ktip
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+
+##########
+
+%package -n trinity-twin
+Summary: the TDE window manager
+Group: Applications/Utilities
+Requires: %{name}-data = %{version}-%{release}
+
+%description -n trinity-twin
+This package contains the default X window manager for TDE.
+
+%files -n trinity-twin
+%defattr(-,root,root,-)
+%{tde_bindir}/kompmgr
+%{tde_bindir}/[kt]win
+%{tde_bindir}/[kt]win_killer_helper
+#%{tde_bindir}/[kt]win_resumer_helper
+%{tde_bindir}/[kt]win_rules_dialog
+%{tde_libdir}/kconf_update_bin/[kt]win_update_default_rules
+%{tde_libdir}/kconf_update_bin/[kt]win_update_window_settings
+%{tde_tdelibdir}/kcm_[kt]win*.la
+%{tde_tdelibdir}/kcm_[kt]win*.so
+%{tde_tdelibdir}/[kt]win*.la
+%{tde_tdelibdir}/[kt]win*.so
+%{tde_libdir}/lib[kt]decorations.so.*
+%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.la
+%{tde_libdir}/lib[kt]deinit_[kt]win_rules_dialog.so
+%{tde_libdir}/lib[kt]deinit_[kt]win.la
+%{tde_libdir}/lib[kt]deinit_[kt]win.so
+%{tde_tdeappdir}/showdesktop.desktop
+%{tde_tdeappdir}/[kt]windecoration.desktop
+%{tde_tdeappdir}/[kt]winoptions.desktop
+%{tde_tdeappdir}/[kt]winrules.desktop
+%{tde_datadir}/applnk/.hidden/[kt]winactions.desktop
+%{tde_datadir}/applnk/.hidden/[kt]winadvanced.desktop
+%{tde_datadir}/applnk/.hidden/[kt]winfocus.desktop
+%{tde_datadir}/applnk/.hidden/[kt]winmoving.desktop
+%{tde_datadir}/applnk/.hidden/[kt]wintranslucency.desktop
+%{tde_datadir}/apps/kconf_update/[kt]win3_plugin.pl
+%{tde_datadir}/apps/kconf_update/[kt]win3_plugin.upd
+%{tde_datadir}/apps/kconf_update/[kt]win_focus1.sh
+%{tde_datadir}/apps/kconf_update/[kt]win_focus1.upd
+%{tde_datadir}/apps/kconf_update/[kt]win_focus2.sh
+%{tde_datadir}/apps/kconf_update/[kt]win_focus2.upd
+%{tde_datadir}/apps/kconf_update/[kt]win_fsp_workarounds_1.upd
+%{tde_datadir}/apps/kconf_update/[kt]winiconify.upd
+%{tde_datadir}/apps/kconf_update/[kt]winsticky.upd
+%{tde_datadir}/apps/kconf_update/[kt]win.upd
+%{tde_datadir}/apps/kconf_update/[kt]winupdatewindowsettings.upd
+%{tde_datadir}/apps/kconf_update/pluginlibFix.pl
+%{tde_datadir}/apps/[kt]win/
+%{tde_datadir}/config.kcfg/[kt]win.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/[kt]win.png
+%{tde_tdedocdir}/HTML/en/kompmgr/
+
+%post -n trinity-twin
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-twin
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-twin-devel
+Summary: Development files for twin
+Group: Development/Libraries
+Requires: trinity-twin = %{version}-%{release}
+
+%description -n trinity-twin-devel
+%{summary}
+
+%files -n trinity-twin-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/[kt]win/
+%{tde_tdeincludedir}/kcommondecoration.h
+%{tde_tdeincludedir}/kdecoration.h
+%{tde_tdeincludedir}/kdecoration_p.h
+%{tde_tdeincludedir}/kdecoration_plugins_p.h
+%{tde_tdeincludedir}/kdecorationfactory.h
+%{tde_tdeincludedir}/KWinInterface.h
+%{tde_libdir}/libkdecorations.la
+%{tde_libdir}/libkdecorations.so
+
+%post -n trinity-twin-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-twin-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkonq
+Summary: core libraries for Konqueror
+Group: Environment/Libraries
+
+%description -n trinity-libkonq
+These libraries are used by several TDE applications, most notably
+Konqueror and the kdesktop package.
+
+%files -n trinity-libkonq
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kded_favicons.la
+%{tde_tdelibdir}/kded_favicons.so
+%{tde_tdelibdir}/konq_sound.la
+%{tde_tdelibdir}/konq_sound.so
+%{tde_libdir}/libkonq.so.*
+%{tde_datadir}/apps/kbookmark/directory_bookmarkbar.desktop
+%{tde_datadir}/apps/kconf_update/favicons.upd
+%{tde_datadir}/apps/kconf_update/move_favicons.sh
+%{tde_datadir}/apps/konqueror/pics/arrow_bottomleft.png
+%{tde_datadir}/apps/konqueror/pics/arrow_bottomright.png
+%{tde_datadir}/apps/konqueror/pics/arrow_topleft.png
+%{tde_datadir}/apps/konqueror/pics/arrow_topright.png
+%{tde_datadir}/apps/konqueror/pics/thumbnailfont_7x4.png
+%{tde_datadir}/services/kded/favicons.desktop
+%{tde_datadir}/servicetypes/konqpopupmenuplugin.desktop
+
+%post -n trinity-libkonq
+/sbin/ldconfig || :
+
+%postun -n trinity-libkonq
+/sbin/ldconfig || :
+
+##########
+
+%package libtqt3-integration
+Summary: Integration library between TQt3 and TDE
+Group: Environment/Libraries
+
+Obsoletes: tdebase-libtqt3-integration < %{version}-%{release}
+Provides: tdebase-libtqt3-integration = %{version}-%{release}
+
+%description libtqt3-integration
+These libraries allow you to use TDE dialogs in native TQt3 applications.
+
+%files libtqt3-integration
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/plugins/integration/libqtkde.la
+%{tde_tdelibdir}/plugins/integration/libqtkde.so
+%{tde_tdelibdir}/plugins/integration/libqtkde.so.*
+%{tde_tdelibdir}/kded_kdeintegration.la
+%{tde_tdelibdir}/kded_kdeintegration.so
+%{tde_datadir}/services/kded/kdeintegration.desktop
+
+##########
+
+%package -n trinity-libkonq-devel
+Summary: development files for Konqueror's core libraries
+Group: Development/Libraries
+Requires: trinity-libkonq = %{version}-%{release}
+
+%description -n trinity-libkonq-devel
+This package contains headers and other development files for the core
+Konqueror libraries.
+
+%files -n trinity-libkonq-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kfileivi.h
+%{tde_tdeincludedir}/kivdirectoryoverlay.h
+%{tde_tdeincludedir}/knewmenu.h
+%{tde_tdeincludedir}/konqbookmarkmanager.h
+%{tde_tdeincludedir}/konq_*.h
+%{tde_tdeincludedir}/libkonq_export.h
+%{tde_libdir}/libkonq.la
+%{tde_libdir}/libkonq.so
+
+%post -n trinity-libkonq-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkonq-devel
+/sbin/ldconfig || :
+
+##########
+
+%package tdeio-smb-plugin
+Summary: Windows Connection Module for TDE
+Group: Environment/Libraries
+
+%description tdeio-smb-plugin
+This package provides the "smb://" protocol, to connect to and from
+Windows and Samba shares.
+
+%files tdeio-smb-plugin
+%defattr(-,root,root)
+%{tde_tdelibdir}/kcm_samba.la
+%{tde_tdelibdir}/kcm_samba.so
+%{tde_tdelibdir}/kio_smb.la
+%{tde_tdelibdir}/kio_smb.so
+%{tde_datadir}/services/smb.protocol
+%{tde_datadir}/apps/konqueror/dirtree/remote/smb-network.desktop
+%{tde_datadir}/apps/remoteview/smb-network.desktop
+%{tde_datadir}/mimelnk/application/x-smb-workgroup.desktop
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%patch1 -p1 -b .kdesu_no_ignore
+%patch2 -p1 -b .openterminalhere
+%if 0%{?rhel} || 0%{?fedora}
+%patch3 -p1 -b .Xsession
+%endif
+%if 0%{?suse_version}
+%patch4 -p1 -b .Xsession
+%endif
+%patch5 -p1 -b .tdeicon
+%patch6 -p1 -b .xtestsupport
+%patch7 -p1 -b .pid
+%patch8 -p1 -b .kickoff_default_favs
+%patch9 -p1 -b .translation
+
+%patch101 -p1 -b .vibrate_dialog
+%patch102 -p1 -b .kcontrol_menu_entry
+%patch103 -p1 -b .kdesktop_crossfade
+%patch104 -p1 -b .kickoff_xdg
+%patch105 -p1 -b .suspend_unmount
+%patch106 -p1 -b .bookmark_global_copy
+
+
+%if 0%{?rhel} == 4
+%patch201 -p1 -b .libdetect
+%patch202 -p1 -b .dbustqt
+%patch203 -p1 -b .consolekit
+%patch204 -p1 -b .composite
+#patch205 -p1 -b .hal04
+%patch206 -p1 -b .rhel4
+%endif
+
+# Applies an optional distro-specific graphical theme
+%if "%{?tde_bg}" != ""
+# KDM Background
+%__sed -i "kdm/kfrontend/genkdmconf.c" \
+ -e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|'
+
+# TDE user default background
+%__sed -i "kpersonalizer/keyecandypage.cpp" \
+ -e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|'
+%__sed -i "startkde" \
+ -e 's|/usr/share/wallpapers/isadora.png.desktop|%{tde_bg}|' \
+ -e 's|Wallpaper=isadora.png|Wallpaper=%{tde_bg}|'
+%endif
+
+# TDE branding: removes KUbuntu references [Bug #617]
+%__sed -i "kcontrol/kdm/kdm-appear.cpp" \
+ -e "s|Welcome to Kubuntu |Welcome to %{tde_aboutlabel} |"
+%__sed -i "konqueror/about/konq_aboutpage.cc" \
+ -e "s|About Kubuntu|About %{tde_aboutlabel}|" \
+ -e "s|help:/kubuntu/|%{tde_aboutpage}|" \
+ -e "s|Kubuntu Documentation|%{tde_aboutlabel} Documentation|"
+%__sed -i "konqueror/about/launch.html" \
+ -e "s|help:/kubuntu/about-kubuntu/index.html|%{tde_aboutpage}|"
+%__sed -i "kdm/config.def" \
+ -e "s|Welcome to Trinity |Welcome to %{tde_aboutlabel} |"
+
+# TDE default directory in 'startkde' script (KDEDIR)
+%__sed -i "startkde" \
+ -e "s|/opt/trinity|%{tde_prefix}|g"
+
+# TDE default start button icon
+%__sed -i "startkde" \
+ -e "s|%%{tde_starticon}|%{tde_starticon}|g"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+export LD_LIBRARY_PATH="%{tde_libdir}"
+
+# Avoids building against KDE3's old stuff, if installed
+export KDEDIR=%{tde_prefix}
+
+# Shitty hack for RHEL4 ...
+if [ -d "/usr/X11R6" ]; then
+ export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}"
+ export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+# Samba 4.0 includes (Fedora 18)
+if [ -d "/usr/include/samba-4.0" ]; then
+ export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/include/samba-4.0"
+fi
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DBIN_INSTALL_DIR="%{tde_bindir}" \
+ -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
+ -DLIB_INSTALL_DIR="%{tde_libdir}" \
+ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DWITH_SASL=ON \
+ -DWITH_LDAP=ON \
+ -DWITH_SAMBA=ON \
+ %{?with_exr:-DWITH_OPENEXR=ON} \
+ -DWITH_XCOMPOSITE=ON \
+ -DWITH_XCURSOR=ON \
+ -DWITH_XFIXES=ON \
+ %{?with_xrandr:-DWITH_XRANDR=ON} \
+ -DWITH_XRENDER=ON \
+ -DWITH_XDAMAGE=ON \
+ -DWITH_XEXT=ON \
+ %{?with_xtest:-DWITH_XTEST=ON} \
+ %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \
+ %{?with_libart:-DWITH_LIBART=ON} \
+ -DWITH_LIBUSB=ON \
+ -DWITH_LIBRAW1394=ON \
+ -DWITH_SUDO_KDESU_BACKEND=OFF \
+ -DWITH_PAM=ON \
+ -DWITH_SHADOW=ON \
+ -DWITH_XDMCP=ON \
+ -DWITH_XINERAMA=ON \
+ -DWITH_ARTS=ON \
+ -DWITH_I8K=ON \
+ %{?with_hal:-DWITH_HAL=ON} \
+ -DWITH_KDESKTOP_LOCK_BACKTRACE=OFF \
+ -DBUILD_ALL=ON \
+%if 0%{?suse_version}
+ -DKCHECKPASS_PAM_SERVICE="xdm" \
+ -DKDM_PAM_SERVICE="xdm" \
+ -DKSCREENSAVER_PAM_SERVICE="xdm" \
+%else
+ -DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \
+ -DKDM_PAM_SERVICE="kdm-trinity" \
+ -DKSCREENSAVER_PAM_SERVICE="kscreensaver-trinity" \
+%endif
+ %{!?with_tsak:-DBUILD_TSAK=OFF} \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{?buildroot} -C build
+
+# Removes obsolete Beagle-related files
+%__rm -f %{?buildroot}%{tde_bindir}/khc_beagle_index.pl
+%__rm -f %{?buildroot}%{tde_bindir}/khc_beagle_search.pl
+
+# Adds a GDM/KDM/XDM session called 'TDE'
+
+# Under RHEL/Fedora/Suse, static 'xsessions' files go to '/usr/share/xsessions'.
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__install -D -m 644 \
+ "%{?buildroot}%{tde_datadir}/apps/kdm/sessions/tde.desktop" \
+ "%{?buildroot}%{_datadir}/xsessions/tde.desktop"
+
+# Force session name to be 'TDE'
+%__sed -i "%{?buildroot}%{_datadir}/xsessions/tde.desktop" \
+ -e "s,^Name=.*,Name=TDE,"
+%endif
+
+# Mageia/Mandriva/PCLinuxOS stores its session file in different folder than RHEL/Fedora
+# Generated files for TDM/KDM4 go to '/usr/share/apps/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}/startkde
+SCRIPT:
+exec %{tde_bindir}/startkde
+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}/kdm
+FNDSESSION_EXEC="/usr/sbin/chksession -k"
+EOF
+%endif
+
+# TDE 3.5.12: add script "plasma-desktop" to avoid conflict with KDE4
+%if "%{?tde_prefix}" != "/usr"
+%__install -m 755 "%{SOURCE1}" "%{?buildroot}%{tde_bindir}"
+%endif
+
+# PAM configuration files (except openSUSE)
+%if 0%{?suse_version} == 0
+%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity"
+%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity-np"
+%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity"
+%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/kscreensaver-trinity"
+%endif
+
+# KDM configuration
+%__sed -i "%{?buildroot}%{_sysconfdir}/trinity/kdm/kdmrc" \
+%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1220
+ -e "s/^#*MinShowUID=.*/MinShowUID=1000/"
+%else
+ -e "s/^#*MinShowUID=.*/MinShowUID=500/"
+%endif
+
+# Moves the XDG configuration files to TDE directory
+%if "%{tde_prefix}" != "/usr"
+%__mkdir_p "%{?buildroot}%{tde_prefix}/etc"
+%__mv -f "%{?buildroot}%{_sysconfdir}/xdg" "%{?buildroot}%{tde_prefix}/etc"
+%endif
+
+# Symlinks 'usb.ids' (Use system-provided version, not TDE provided version)
+%__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids"
+%if 0%{?suse_version}
+%__ln_s -f "/usr/share/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids"
+%else
+%__ln_s -f "/usr/share/hwdata/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids"
+%endif
+
+# Makes 'media_safelyremove.desktop' an alternative
+%__mv -f "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop" "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase"
+%__ln_s "%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase" "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop"
+%__mkdir_p "%{?buildroot}%{_sysconfdir}/alternatives"
+%__ln_s "%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase" "%{?buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop_tdebase"
+
+# SUSE: creates DM config file, used by '/etc/init.d/xdm'
+# You must set 'DISPLAYMANAGER=tdm' in '/etc/sysconfig/displaymanager'
+%if 0%{?suse_version}
+%__install -D -m 644 "%{SOURCE6}" "%{?buildroot}/usr/lib/X11/displaymanagers/tdm"
+%__sed -i "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" -e "s|/opt/trinity/bin|%{tde_bindir}|g"
+%endif
+
+# Fedora 18: no more SYSV init script, we have to use systemd.
+%if 0%{?fedora} >= 18
+%__install -D -m 644 "%{SOURCE7}" "%{?buildroot}/usr/lib/systemd/system/tdm.service"
+%endif
+
+# Symlink KDM configuration
+%__mkdir_p "%{?buildroot}%{tde_datadir}/config"
+%__ln_s "%{_sysconfdir}/trinity/kdm" "%{?buildroot}%{tde_datadir}/config/kdm"
+
+# SELINUX policy
+%if 0%{?with_selinux_policy}
+%__install -D -m 644 "%{SOURCE8}" "%{?buildroot}%{?_sysconfdir}/trinity/kdm/tdm.pp"
+%endif
+
+# Mageia icon
+%if 0%{?mgaversion} >= 3
+%__install -D -m 644 %{SOURCE9} %{?buildroot}%{tde_datadir}/oxygen/scalable/mgabutton.svg
+%endif
+
+
+%clean
+%__rm -rf %{?buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdebindings/trinity-tdebindings-3.5.13.2.spec b/redhat/tdebindings/trinity-tdebindings-3.5.13.2.spec
new file mode 100644
index 000000000..54e03d604
--- /dev/null
+++ b/redhat/tdebindings/trinity-tdebindings-3.5.13.2.spec
@@ -0,0 +1,1107 @@
+# 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
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+# RHEL4 specific
+Source91: filter-requires.sh
+%if 0%{?rhel} == 4
+%define _use_internal_dependency_generator 0
+%define __find_requires sh %{SOURCE91}
+%endif
+
+Name: trinity-tdebindings
+Summary: TDE bindings to non-C++ languages
+Version: 3.5.13.2
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2
+Group: User Interface/Desktops
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+# [kdebindings] Fix FTBFS in dcopjava/bindings
+Patch7: kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch
+
+# [tdebindings] Function 'rb_frame_this_func' does not exist in RHEL5
+Patch18: kdebindings-3.5.13.1-fix_rhel5_ftbfs.patch
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+
+BuildRequires: desktop-file-utils
+BuildRequires: zlib-devel
+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
+
+# GTK1 support
+%if 0%{?fedora} || 0%{?rhel}
+%define with_gtk1 1
+BuildRequires: glib-devel
+BuildRequires: gtk+-devel
+%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
+%else
+%if 0%{?fedora} >= 17
+BuildRequires: gdk-pixbuf2-devel
+%else
+BuildRequires: gdk-pixbuf-devel
+%endif
+%endif
+
+
+## Python
+BuildRequires: python-devel
+%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
+
+## ruby
+BuildRequires: ruby-devel >= 1.8, ruby
+%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')}
+%{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]')}
+# 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-1.6.0-sun
+BuildRequires: java-1.6.0-sun-devel
+%else
+
+# Others use OpenJDK
+BuildRequires: java-openjdk
+BuildRequires: java-devel >= 1.4.2
+%if 0%{?fedora} >= 17 || 0%{?suse_version} >= 1220 || 0%{?mgaversion} >= 3
+BuildRequires: java-1.7.0-openjdk-devel
+%else
+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
+%define _with_java --with-java=%{java_home}
+
+## 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)}
+
+
+Obsoletes: trinity-kdebindings < %{version}-%{release}
+Provides: trinity-kdebindings = %{version}-%{release}
+
+# Metapackage requires
+Requires: trinity-tdebindings-java = %{version}-%{release}
+Requires: trinity-libsmokeqt1 = %{version}-%{release}
+Requires: trinity-libsmokekde1 = %{version}-%{release}
+Requires: trinity-perl-dcop = %{version}-%{release}
+Requires: trinity-python-dcop = %{version}-%{release}
+Requires: trinity-libkjsembed1 = %{version}-%{release}
+Requires: trinity-kjscmd = %{version}-%{release}
+Requires: trinity-juic = %{version}-%{release}
+Requires: trinity-libkorundum0-ruby = %{version}-%{release}
+Requires: trinity-libqt0-ruby = %{version}-%{release}
+
+
+%description
+TDE/DCOP bindings to non-C++ languages
+
+%files
+
+##########
+
+%package java
+Summary: TDE Java bindings metapackage [Trinity]
+Group: Environment/Libraries
+Requires: trinity-libdcop3-java = %{version}-%{release}
+Requires: trinity-libdcop3-jni = %{version}-%{release}
+Requires: trinity-libqt3-java = %{version}-%{release}
+Requires: trinity-libqt3-jni = %{version}-%{release}
+Requires: trinity-libtrinity-java = %{version}-%{release}
+Requires: trinity-libtrinity-jni = %{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,-)
+
+##########
+
+%package -n trinity-libdcop3-java
+Summary: DCOP bindings for Java [Trinity]
+Group: Environment/Libraries
+
+Requires: trinity-libdcop3-jni = %{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_datadir}/java/dcopjava*.jar
+%{tde_libdir}/java/org/kde/DCOP/*.class
+
+##########
+
+%package -n trinity-libdcop3-java-devel
+Summary: DCOP bindings for Java (dcopidl2java program) [Trinity]
+Group: Development/Libraries
+Requires: trinity-libdcop3-java = %{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
+
+##########
+
+%package -n trinity-libdcop3-jni
+Summary: DCOP bindings for Java ( Native libraries ) [Trinity]
+Group: Environment/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
+
+%post -n trinity-libdcop3-jni
+/sbin/ldconfig || :
+
+%postun -n trinity-libdcop3-jni
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libqt3-java
+Summary: Java bindings for Qt [Trinity]
+Group: Environment/Libraries
+Requires: trinity-libdcop3-jni = %{version}-%{release}
+Requires: trinity-libqt3-jni = %{version}-%{release}
+Requires: trinity-juic = %{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/
+
+##########
+
+%package -n trinity-libqt3-jni
+Summary: Java bindings for Qt ( Native libraries ) [Trinity]
+Group: Environment/Libraries
+
+%description -n trinity-libqt3-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-libqt3-jni
+%defattr(-,root,root,-)
+%{tde_libdir}/libqtjavasupport.la
+%{tde_libdir}/libqtjavasupport.so.*
+%{tde_libdir}/jni/libqtjava.la
+%{tde_libdir}/jni/libqtjava.so.*
+%doc qtjava/ChangeLog
+
+##########
+
+%package -n trinity-libqt3-jni-devel
+Summary: Development files fo Java bindings for Qt ( Native libraries ) [Trinity]
+Group: Development/Libraries
+Requires: trinity-libqt3-jni = %{version}-%{release}
+
+%description -n trinity-libqt3-jni-devel
+This package contains the development files for trinity-libqt3-jni.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libqt3-jni-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libqtjavasupport.so
+%{tde_libdir}/jni/libqtjava.so
+
+##########
+
+%package -n trinity-libtrinity-java
+Summary: tdelibs bindings for Java [Trinity]
+Group: Environment/Libraries
+
+Requires: trinity-libtrinity-jni = %{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
+
+##########
+
+%package -n trinity-libtrinity-jni
+Summary: tdelibs bindings for java ( Native libraries ) [Trinity]
+Group: Environment/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/libkdejava.la
+%{tde_libdir}/jni/libkdejava.so.*
+%doc kdejava/ChangeLog
+
+##########
+
+%package -n trinity-libtrinity-jni-devel
+Summary: Development files for tdelibs bindings for java ( Native libraries ) [Trinity]
+Group: Development/Libraries
+Requires: trinity-libtrinity-jni = %{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/libkdejava.so
+
+##########
+
+%package -n trinity-libsmokeqt1
+Summary: SMOKE Binding Library to Qt
+Group: Environment/Libraries
+
+%description -n trinity-libsmokeqt1
+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-libsmokeqt1
+%defattr(-,root,root,-)
+%{tde_libdir}/libsmokeqt.so.*
+
+%post -n trinity-libsmokeqt1
+/sbin/ldconfig || :
+
+%postun -n trinity-libsmokeqt1
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libsmokeqt-devel
+Summary: SMOKE Binding Library to Qt - Development Files
+Group: Development/Libraries
+Requires: trinity-libsmokeqt1 = %{version}-%{release}
+
+%description -n trinity-libsmokeqt-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-libsmokeqt-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/smoke.h
+%{tde_libdir}/libsmokeqt.so
+%{tde_libdir}/libsmokeqt.la
+
+%post -n trinity-libsmokeqt-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libsmokeqt-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libsmokekde1
+Summary: SMOKE Binding Library to TDE
+Group: Environment/Libraries
+
+%description -n trinity-libsmokekde1
+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-libsmokekde1
+%defattr(-,root,root,-)
+%{tde_libdir}/libsmokekde.so.*
+
+%post -n trinity-libsmokekde1
+/sbin/ldconfig || :
+
+%postun -n trinity-libsmokekde1
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libsmokekde-devel
+Summary: SMOKE Binding Library to TDE - Development Files
+Group: Development/Libraries
+Requires: trinity-libsmokekde1 = %{version}-%{release}
+
+%description -n trinity-libsmokekde-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-libsmokekde-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libsmokekde.so
+%{tde_libdir}/libsmokekde.la
+
+%post -n trinity-libsmokekde-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libsmokekde-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-perl-dcop
+Summary: DCOP Bindings for Perl
+Group: Development/Libraries
+
+Obsoletes: trinity-kdebindings-dcopperl < %{version}-%{release}
+Provides: trinity-kdebindings-dcopperl = %{version}-%{release}
+
+%description -n trinity-perl-dcop
+Perl bindings to the DCOP interprocess communication protocol used by TDE
+
+%files -n trinity-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*
+
+##########
+
+%package -n trinity-python-dcop
+Summary: DCOP bindings for Python
+Group: Environment/Libraries
+Requires: python
+#Provides: %{name}-dcoppython = %{version}-%{release}
+
+%description -n trinity-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 trinity-python-dcop
+%defattr(-,root,root,-)
+%{python_sitearch}/pcop.la
+%{python_sitearch}/pcop.so
+%{python_sitearch}/pydcop.py*
+
+##########
+
+%package -n trinity-libkjsembed1
+Summary: Embedded JavaScript library
+Group: Environment/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/kfileitem_plugin.desktop
+%{tde_datadir}/apps/kjsembed/cmdline.js
+%{tde_datadir}/servicetypes/binding_type.desktop
+%{tde_bindir}/embedjs
+%{tde_datadir}/apps/embedjs/embedjsui.rc
+%{tde_datadir}/applnk/Utilities/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
+%{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
+
+%post -n trinity-libkjsembed1
+/sbin/ldconfig ||:
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database >& /dev/null ||:
+
+%postun -n trinity-libkjsembed1
+/sbin/ldconfig ||:
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database >& /dev/null ||:
+
+##########
+
+%package -n trinity-libkjsembed-devel
+Summary: Embedded JavaScript library (Development files)
+Group: Development/Libraries
+Requires: trinity-libkjsembed1 = %{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/plugin-examples/customobject/
+
+%post -n trinity-libkjsembed-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkjsembed-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kjscmd
+Summary: A script interpreter using the TDE JavaScript library
+Group: Environment/Libraries
+
+%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
+
+%post -n trinity-kjscmd
+update-desktop-database >& /dev/null ||:
+
+%postun -n trinity-kjscmd
+update-desktop-database >& /dev/null ||:
+
+##########
+
+%package -n trinity-juic
+Summary: The Qt Java UI Compiler
+Group: Environment/Libraries
+Requires: trinity-libqt3-java = %{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/
+
+##########
+
+%package -n trinity-libkorundum0-ruby
+Summary: TDE bindings for Ruby [Trinity]
+Group: Environment/Libraries
+Requires: trinity-libqt0-ruby = %{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}/rbkdesh
+%{tde_bindir}/rbkdeapi
+%{tde_bindir}/krubyinit
+%{tde_bindir}/rbkconfig_compiler
+%{ruby_rubylibdir}/Korundum.rb
+%{ruby_rubylibdir}/KDE/korundum.rb
+%{ruby_arch}/korundum.la
+%{ruby_arch}/korundum.so*
+%doc korundum/ChangeLog
+
+%post -n trinity-libkorundum0-ruby
+/sbin/ldconfig || :
+
+%postun -n trinity-libkorundum0-ruby
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libqt0-ruby
+Summary: Qt bindings for Ruby [Trinity]
+Group: Environment/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
+%{ruby_rubylibdir}/Qt/qtruby.rb
+%{ruby_rubylibdir}/Qt.rb
+%{ruby_arch}/qtruby.so*
+%{ruby_arch}/qtruby.la
+%{ruby_arch}/qui.so*
+%{ruby_arch}/qui.la
+%doc qtruby/ChangeLog
+
+%post -n trinity-libqt0-ruby
+/sbin/ldconfig || :
+
+%postun -n trinity-libqt0-ruby
+/sbin/ldconfig || :
+
+##########
+
+%if 0
+%package -n trinity-kmozilla
+Summary: Kmozilla for TDE
+Group: Environment/Libraries
+
+%description -n trinity-kmozilla
+%{summary}
+
+%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: Applications/Utilities
+
+%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
+
+%post -n trinity-xpart-notepad
+/sbin/ldconfig || :
+
+%postun -n trinity-xpart-notepad
+/sbin/ldconfig || :
+
+##########
+
+%if 0%{?with_gtk1}
+%package -n trinity-libgtkxparts1
+Summary: Xparts library for GTK
+Group: Environment/Libraries
+
+%description -n trinity-libgtkxparts1
+%{summary}
+
+%files -n trinity-libgtkxparts1
+%defattr(-,root,root,-)
+%{tde_libdir}/libgtkxparts.so.*
+%{tde_libdir}/libgtkxparts.la
+
+%post -n trinity-libgtkxparts1
+/sbin/ldconfig || :
+
+%postun -n trinity-libgtkxparts1
+/sbin/ldconfig || :
+%endif
+
+##########
+
+%package -n trinity-libkdexparts1
+Summary: Xparts library for KDE
+Group: Environment/Libraries
+
+%description -n trinity-libkdexparts1
+%{summary}
+
+%files -n trinity-libkdexparts1
+%defattr(-,root,root,-)
+%{tde_libdir}/libkdexparts.so.*
+%{tde_libdir}/libkdexparts.la
+
+%post -n trinity-libkdexparts1
+/sbin/ldconfig || :
+
+%postun -n trinity-libkdexparts1
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libxparts-devel
+Summary: Xparts development files
+Group: Development/Libraries
+%if 0%{?with_gtk1}
+Requires: trinity-libgtkxparts1 = %{version}-%{release}
+%endif
+Requires: trinity-libkdexparts1 = %{version}-%{release}
+
+%description -n trinity-libxparts-devel
+%{summary}
+
+%files -n trinity-libxparts-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/xkparts/
+%if 0%{?with_gtk1}
+%{tde_libdir}/libgtkxparts.so
+%endif
+%{tde_libdir}/libkdexparts.so
+
+%post -n trinity-libxparts-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libxparts-devel
+/sbin/ldconfig || :
+
+##########
+
+%package xparts-extras
+Summary: Extra xparts for TDE [Trinity]
+Group: Environment/Libraries
+
+# Metapckage requires
+Requires: trinity-xpart-notepad = %{version}-%{release}
+%if 0%{?with_gtk1}
+Requires: trinity-libgtkxparts1 = %{version}-%{release}
+%endif
+Requires: trinity-libkdexparts1 = %{version}-%{release}
+Requires: trinity-libdcop-c = %{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: Environment/Libraries
+
+%description -n trinity-libdcop-c
+%{summary}
+
+%files -n trinity-libdcop-c
+%defattr(-,root,root,-)
+%{tde_libdir}/libdcopc.so.*
+
+%post -n trinity-libdcop-c
+/sbin/ldconfig || :
+
+%postun -n trinity-libdcop-c
+/sbin/ldconfig || :
+
+###########
+
+%package -n trinity-libdcop-c-devel
+Summary: DCOP bindings for C, development files [Trinity]
+Group: Development/Libraries
+Requires: trinity-libdcop-c = %{version}-%{release}
+
+%description -n trinity-libdcop-c-devel
+%{summary}
+
+%files -n trinity-libdcop-c-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libdcopc.so
+%{tde_libdir}/libdcopc.la
+%{tde_tdeincludedir}/dcopc/
+
+%post -n trinity-libdcop-c-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libdcop-c-devel
+/sbin/ldconfig || :
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: trinity-tdelibs-devel
+
+Obsoletes: trinity-kdebindings-devel < %{version}-%{release}
+Provides: trinity-kdebindings-devel = %{version}-%{release}
+
+# Metapackage
+Requires: trinity-libsmokeqt-devel = %{version}-%{release}
+Requires: trinity-libdcop3-java-devel = %{version}-%{release}
+Requires: trinity-libsmokekde-devel = %{version}-%{release}
+Requires: trinity-libkjsembed-devel = %{version}-%{release}
+Requires: trinity-libxparts-devel = %{version}-%{release}
+Requires: trinity-libdcop-c-devel = %{version}-%{release}
+Requires: trinity-libqt3-jni-devel = %{version}-%{release}
+Requires: trinity-libtrinity-jni-devel = %{version}-%{release}
+
+%description devel
+Development files for the TDE bindings.
+
+%files devel
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+%patch7 -p1 -b .dcopjavaldflags
+
+%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
+%patch18 -p1 -b .ruby
+%endif
+
+# Workarounds strange issue in MGA3
+%if 0%{?mgaversion} == 3 || 0%{?pclinuxos} >= 2013
+%__cp /usr/share/automake-1.13/test-driver admin/
+%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|"
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i "admin/acinclude.m4.in" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; source /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+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"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${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
+
+%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-rpath \
+ --enable-new-ldflags \
+ --disable-debug --disable-warnings \
+ --disable-dependency-tracking \
+ --with-extra-libs=%{tde_libdir} \
+ --with-pythondir=%{_usr} \
+ --enable-closure \
+ --enable-final \
+ %{?_with_java} %{!?_with_java:--without-java} \
+ %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+pushd dcopperl
+CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
+
+# Ugly hack to add TQT include directory in Makefile
+# Also modifies the man pages directory
+sed -i Makefile \
+ -e "s|^\(INC = .*\)|\1 -I%{tde_includedir}/tqt|" \
+ -e "s|/usr/share/man|%{tde_mandir}|g"
+
+%__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 {} ';'
+
+# locale's
+%find_lang %{name} || touch %{name}.lang
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then
+for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# 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 qtjava/designer/juic/common/*.xml %{?buildroot}%{tde_datadir}/juic/common
+%__install qtjava/designer/juic/common/*.xsl %{?buildroot}%{tde_datadir}/juic/common
+%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/java
+%__install qtjava/designer/juic/java/*.xml %{?buildroot}%{tde_datadir}/juic/java
+%__install qtjava/designer/juic/java/*.xsl %{?buildroot}%{tde_datadir}/juic/java
+%__install qtjava/designer/juic/juic.xsl %{?buildroot}%{tde_datadir}/juic
+
+# kjsembed sample files
+%__install -d -m 755 %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install kjsembed/plugins/customobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install kjsembed/plugins/customobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install kjsembed/plugins/customobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install kjsembed/plugins/customqobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install kjsembed/plugins/customqobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install kjsembed/plugins/customqobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+
+
+# Man installation location is wrong on RHEL4...
+if [ -d "%{buildroot}%{_mandir}/man3" ]; then
+ mv -f %{buildroot}%{_mandir}/man3 %{buildroot}%{tde_mandir}/man3/
+ rm -rf %{buildroot}%{_mandir}
+fi
+
+
+%clean
+%__rm -rf $RPM_BUILD_ROOT
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdeedu/trinity-tdeedu-3.5.13.2.spec b/redhat/tdeedu/trinity-tdeedu-3.5.13.2.spec
new file mode 100644
index 000000000..91f081362
--- /dev/null
+++ b/redhat/tdeedu/trinity-tdeedu-3.5.13.2.spec
@@ -0,0 +1,1395 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-tdeedu
+Summary: Educational/Edutainment applications
+Version: 3.5.13.2
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2
+Group: Amusements/Games
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: desktop-file-utils
+BuildRequires: trinity-kdelibs-devel
+BuildRequires: python-devel python
+BuildRequires: boost-devel
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
+BuildRequires: ocaml(compiler)
+%else
+BuildRequires: ocaml
+%endif
+
+Obsoletes: trinity-kdeedu < %{version}-%{release}
+Provides: trinity-kdeedu = %{version}-%{release}
+Obsoletes: trinity-kdeedu-libs < %{version}-%{release}
+Provides: trinity-kdeedu-libs = %{version}-%{release}
+
+# Meta-package
+Requires: %{name}-data = %{version}-%{release}
+Requires: trinity-blinken = %{version}-%{release}
+Requires: trinity-kalzium = %{version}-%{release}
+Requires: trinity-kalzium-data = %{version}-%{release}
+Requires: trinity-kanagram = %{version}-%{release}
+Requires: trinity-kbruch = %{version}-%{release}
+Requires: trinity-keduca = %{version}-%{release}
+Requires: trinity-kgeography = %{version}-%{release}
+Requires: trinity-kgeography-data = %{version}-%{release}
+Requires: trinity-khangman = %{version}-%{release}
+Requires: trinity-kig = %{version}-%{release}
+Requires: trinity-kiten = %{version}-%{release}
+Requires: trinity-klatin = %{version}-%{release}
+Requires: trinity-klettres = %{version}-%{release}
+Requires: trinity-klettres-data = %{version}-%{release}
+Requires: trinity-kmplot = %{version}-%{release}
+Requires: trinity-kpercentage = %{version}-%{release}
+Requires: trinity-kstars = %{version}-%{release}
+Requires: trinity-kstars-data = %{version}-%{release}
+Requires: trinity-ktouch = %{version}-%{release}
+Requires: trinity-kturtle = %{version}-%{release}
+Requires: trinity-kverbos = %{version}-%{release}
+Requires: trinity-kvoctrain = %{version}-%{release}
+Requires: trinity-kwordquiz = %{version}-%{release}
+Requires: trinity-libtdeedu3 = %{version}-%{release}
+Requires: trinity-libkiten1 = %{version}-%{release}
+Requires: trinity-indi = %{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
+* kig: Interactive Geometry
+* 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: Amusements/Games
+
+%description data
+This package contains shared data necessary for running the
+educational applications provided with KDE (the K 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: Amusements/Games
+#Requires: sj-delphine-fonts
+Requires: trinity-tdeedu-data = %{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/
+
+%post -n trinity-blinken
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-blinken
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kalzium
+Summary: chemistry teaching tool for Trinity
+Group: Amusements/Games
+Requires: trinity-kalzium-data = %{version}-%{release}
+Requires: trinity-tdeedu-data = %{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/
+
+%post -n trinity-kalzium
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kalzium
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kalzium-data
+Summary: data files for Kalzium
+Group: Amusements/Games
+
+%description -n trinity-kalzium-data
+This package contains architecture-independent data files for
+Kalzium, the KDE 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: Amusements/Games
+Requires: trinity-tdeedu-data = %{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/
+
+%post -n trinity-kanagram
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kanagram
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kbruch
+Summary: fraction calculation teaching tool for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{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/kbruchui.rc
+%{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/
+
+%post -n trinity-kbruch
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbruch
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-keduca
+Summary: interactive form-based tests for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{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_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/
+
+%post -n trinity-keduca
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-keduca
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kgeography
+Summary: Geography learning tool for Trinity
+Group: Amusements/Games
+Requires: trinity-kgeography-data = %{version}-%{release}
+Requires: trinity-tdeedu-data = %{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_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
+
+%post -n trinity-kgeography
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kgeography
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kgeography-data
+Summary: data files for KGeography
+Group: Amusements/Games
+
+%description -n trinity-kgeography-data
+This package contains architecture-independent data files for
+KGeography, the geography learning tool for KDE. 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: Amusements/Games
+#Requires: dustin-dustismo-sans-fonts
+Requires: trinity-tdeedu-data = %{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,-)
+%{tde_datadir}/config/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/
+
+%post -n trinity-khangman
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-khangman
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kig
+Summary: interactive geometry program for KDE
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{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,-)
+%{tde_datadir}/config/magic/cabri.magic
+%{tde_datadir}/config/magic/drgeo.magic
+%{tde_bindir}/kig
+%{tde_bindir}/pykig.py*
+%{tde_tdelibdir}/kfile_drgeo.la
+%{tde_tdelibdir}/kfile_drgeo.so
+%{tde_tdelibdir}/kfile_kig.la
+%{tde_tdelibdir}/kfile_kig.so
+%{tde_tdelibdir}/libkigpart.la
+%{tde_tdelibdir}/libkigpart.so
+%{tde_tdeappdir}/kig.desktop
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%{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/kfile_drgeo.desktop
+%{tde_datadir}/services/kfile_kig.desktop
+%{tde_datadir}/services/kig_part.desktop
+%{tde_tdedocdir}/HTML/en/kig/
+
+%post -n trinity-kig
+for i in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kig
+for i in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kiten
+Summary: Japanese reference/study tool for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+#Requires: ttf-kochi-gothic | ttf-kochi-mincho
+
+%description -n trinity-kiten
+Kiten is a Japanese reference and study tool for KDE. 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
+
+%post -n trinity-kiten
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kiten
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klatin
+Summary: application to help revise/teach Latin
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{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/
+
+%post -n trinity-klatin
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klatin
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klettres
+Summary: foreign alphabet tutor for Trinity
+Group: Amusements/Games
+Requires: trinity-klettres-data = %{version}-%{release}
+Requires: trinity-tdeedu-data = %{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,-)
+%{tde_datadir}/config/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/
+
+%post -n trinity-klettres
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klettres
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klettres-data
+Summary: data files for KLettres foreign alphabet tutor
+Group: Amusements/Games
+
+%description -n trinity-klettres-data
+This package contains architecture-independent data files for
+KLettres, the foreign alphabet tutor for KDE. 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: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kmplot
+KmPlot is a mathematical function plotter for KDE. 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/
+
+%post -n trinity-kmplot
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kmplot
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kpercentage
+Summary: percentage calculation teaching tool for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{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/
+
+%post -n trinity-kpercentage
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kpercentage
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kstars
+Summary: desktop planetarium for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+Requires: trinity-kstars-data = %{version}-%{release}
+Requires: trinity-indi = %{version}-%{release}
+
+%description -n trinity-kstars
+KStars is a graphical desktop planetarium for KDE. 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,-)
+%{tde_datadir}/config/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/
+
+%post -n trinity-kstars
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kstars
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kstars-data
+Summary: data files for KStars desktop planetarium
+Group: Amusements/Games
+
+%description -n trinity-kstars-data
+This package contains architecture-independent data files for KStars,
+the graphical desktop planetarium for KDE. 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: Amusements/Games
+Requires: trinity-tdeedu-data = %{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/
+
+%post -n trinity-ktouch
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ktouch
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kturtle
+Summary: educational Logo programming environment
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{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/
+
+%post -n trinity-kturtle
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kturtle
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kverbos
+Summary: Spanish verb form study application for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{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/
+
+%post -n trinity-kverbos
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kverbos
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kvoctrain
+Summary: vocabulary trainer for Trinity
+Group: Amusements/Games
+Requires: perl
+Requires: perl-libwww-perl
+Requires: trinity-tdeedu-data = %{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,-)
+%{tde_datadir}/config/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/
+
+%post -n trinity-kvoctrain
+/sbin/ldconfig || :
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kvoctrain
+/sbin/ldconfig || :
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kwordquiz
+Summary: flashcard and vocabulary learning program for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{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 KDE 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,-)
+%{tde_datadir}/config/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/
+
+%post -n trinity-kwordquiz
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kwordquiz
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-libtdeedu3
+Summary: library for use with Trinity educational apps
+Group: Environment/Libraries
+
+%description -n trinity-libtdeedu3
+The KDE-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}/lib[kt]deeducore.so.*
+%{tde_libdir}/lib[kt]deeduplot.so.*
+%{tde_libdir}/lib[kt]deeduui.so.*
+
+%post -n trinity-libtdeedu3
+/sbin/ldconfig || :
+
+%postun -n trinity-libtdeedu3
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libtdeedu-devel
+Summary: development files for Trinity educational library
+Group: Development/Libraries
+Requires: trinity-libtdeedu3 = %{version}-%{release}
+
+%description -n trinity-libtdeedu-devel
+The KDE-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}/lib[kt]deedu/
+%{tde_libdir}/libextdate.la
+%{tde_libdir}/libextdate.so
+%{tde_libdir}/lib[kt]deeducore.la
+%{tde_libdir}/lib[kt]deeducore.so
+%{tde_libdir}/lib[kt]deeduui.la
+%{tde_libdir}/lib[kt]deeduui.so
+%{tde_libdir}/lib[kt]deeduplot.la
+%{tde_libdir}/lib[kt]deeduplot.so
+
+%post -n trinity-libtdeedu-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libtdeedu-devel
+/sbin/ldconfig || :
+
+
+##########
+
+%package -n trinity-libkiten1
+Summary: library for Kiten Japanese reference/study tool
+Group: Environment/Libraries
+#Requires: kanjidic
+
+%description -n trinity-libkiten1
+Kiten is a Japanese reference/study tool for KDE. 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
+
+%post -n trinity-libkiten1
+for i in crystalsvg locolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-libkiten1
+for i in crystalsvg locolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkiten-devel
+Summary: development files for Kiten library
+Group: Development/Libraries
+Requires: trinity-libkiten1 = %{version}-%{release}
+Requires: trinity-tdelibs-devel >= %{version}
+
+%description -n trinity-libkiten-devel
+Kiten is a Japanese reference/study tool for KDE. 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
+
+%post -n trinity-libkiten-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkiten-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-indi
+Summary: Instrument Neutral Distributed Interface for astronomical devices
+Group: Amusements/Games
+
+%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}/meade_lpi
+%{tde_bindir}/sbigccd
+%{tde_bindir}/skycommander
+%{tde_bindir}/temma
+%{tde_bindir}/v4ldriver
+%{tde_bindir}/v4lphilips
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-libtdeedu-devel = %{version}-%{release}
+Requires: trinity-libkiten-devel = %{version}-%{release}
+
+Obsoletes: trinity-kdeedu-devel < %{version}-%{release}
+Provides: trinity-kdeedu-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+%defattr(-,root,root,-)
+%doc libkdeedu/AUTHORS libkdeedu/README
+# kstars
+%{tde_tdeincludedir}/kstarsinterface.h
+%{tde_tdeincludedir}/simclockinterface.h
+# kvoctrain
+%{tde_libdir}/libkvoctraincore.la
+%{tde_libdir}/libkvoctraincore.so
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i "admin/acinclude.m4.in" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+# Do not build against any "/usr" installed KDE
+export KDEDIR=%{tde_prefix}
+
+# Specific path for RHEL4
+if [ -d "/usr/X11R6" ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --enable-new-ldflags \
+ --disable-dependency-tracking \
+ --disable-rpath \
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+ --enable-kig-python-scripting \
+%else
+ --disable-kig-python-scripting \
+%endif
+ --disable-debug \
+ --disable-warnings \
+ --enable-final \
+ --enable-closure \
+ --enable-ocamlsolver \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{_smp_mflags} \
+ OCAMLLIB=$(ocamlc -where) \
+ FACILELIB=$(ocamlc -where)
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# locale's
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdegames/trinity-tdegames-3.5.13.2.spec b/redhat/tdegames/trinity-tdegames-3.5.13.2.spec
new file mode 100644
index 000000000..517b23de4
--- /dev/null
+++ b/redhat/tdegames/trinity-tdegames-3.5.13.2.spec
@@ -0,0 +1,1603 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-tdegames
+Summary: Trinity Desktop Environment - Games
+Version: 3.5.13.2
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2
+Group: Amusements/Games
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: libtool
+
+BuildRequires: tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tdemultimedia-devel >= %{version}
+BuildRequires: qt3-devel
+
+Obsoletes: trinity-kdegames < %{version}-%{release}
+Provides: trinity-kdegames = %{version}-%{release}
+Obsoletes: trinity-kdegames-libs < %{version}-%{release}
+Provides: trinity-kdegames-libs = %{version}-%{release}
+
+Requires: trinity-libtdegames1 = %{version}-%{release}
+Requires: trinity-tdegames-card-data = %{version}-%{release}
+Requires: trinity-atlantik = %{version}-%{release}
+Requires: trinity-kasteroids = %{version}-%{release}
+Requires: trinity-katomic = %{version}-%{release}
+Requires: trinity-kbackgammon = %{version}-%{release}
+Requires: trinity-kbattleship = %{version}-%{release}
+Requires: trinity-kblackbox = %{version}-%{release}
+Requires: trinity-kbounce = %{version}-%{release}
+Requires: trinity-kenolaba = %{version}-%{release}
+Requires: trinity-kfouleggs = %{version}-%{release}
+Requires: trinity-kgoldrunner = %{version}-%{release}
+Requires: trinity-kjumpingcube = %{version}-%{release}
+Requires: trinity-klickety = %{version}-%{release}
+Requires: trinity-klines = %{version}-%{release}
+Requires: trinity-kmahjongg = %{version}-%{release}
+Requires: trinity-kmines = %{version}-%{release}
+Requires: trinity-knetwalk = %{version}-%{release}
+Requires: trinity-kolf = %{version}-%{release}
+Requires: trinity-konquest = %{version}-%{release}
+Requires: trinity-kpat = %{version}-%{release}
+Requires: trinity-kpoker = %{version}-%{release}
+Requires: trinity-kreversi = %{version}-%{release}
+Requires: trinity-ksame = %{version}-%{release}
+Requires: trinity-kshisen = %{version}-%{release}
+Requires: trinity-ksirtet = %{version}-%{release}
+Requires: trinity-ksmiletris = %{version}-%{release}
+Requires: trinity-ksnake = %{version}-%{release}
+Requires: trinity-ksokoban = %{version}-%{release}
+Requires: trinity-kspaceduel = %{version}-%{release}
+Requires: trinity-ktron = %{version}-%{release}
+Requires: trinity-ktuberling = %{version}-%{release}
+Requires: trinity-twin4 = %{version}-%{release}
+Requires: trinity-lskat = %{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: Development/Libraries
+License: LGPLv2
+
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tdelibs-devel >= 3.5.13
+Requires: trinity-libtdegames-devel = %{version}-%{release}
+Requires: trinity-atlantik-devel = %{version}-%{release}
+Requires: trinity-kolf-devel = %{version}-%{release}
+
+Obsoletes: trinity-kdegames-devel < %{version}-%{release}
+Provides: trinity-kdegames-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+Install %{name}-devel if you wish to develop or compile games for the
+TDE desktop.
+
+%files devel
+%defattr(-,root,root,-)
+
+##########
+
+%package -n trinity-libtdegames1
+Summary: Trinity games library and common files
+Group: Amusements/Games
+
+%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}/lib[kt]degames.so.*
+%{tde_datadir}/apps/[kt]degames/pics/star.png
+%{tde_datadir}/icons/crystalsvg/*/actions/roll.png
+%{tde_datadir}/icons/crystalsvg/*/actions/highscore.png
+#%{tde_tdedocdir}/HTML/en/%{name}-%{version}-apidocs/
+
+%post -n trinity-libtdegames1
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-libtdegames1
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libtdegames-devel
+Summary: Trinity games library headers
+Group: Development/Libraries
+Requires: trinity-libtdegames1 = %{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}/lib[kt]degames.so
+%{tde_libdir}/lib[kt]degames.la
+
+##########
+
+%package card-data
+Summary: Card decks for Trinity games
+Group: Amusements/Games
+
+%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
+
+%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}/kio_atlantik.la
+%{tde_tdelibdir}/kio_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/
+
+%post -n trinity-atlantik
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-atlantik
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-atlantik-devel
+Summary: Development files for Atlantik
+Group: Development/Libraries
+Requires: trinity-atlantik = %{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
+
+%post -n trinity-atlantik-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-atlantik-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kasteroids
+Summary: Asteroids for Trinity
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-kasteroids
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kasteroids
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-katomic
+Summary: Atomic Entertainment game for Trinity
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-katomic
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-katomic
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kbackgammon
+Summary: A Backgammon game for Trinity
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-kbackgammon
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbackgammon
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kbattleship
+Summary: Battleship game for Trinity
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-kbattleship
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbattleship
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kblackbox
+Summary: A simple logical game for the Trinity project
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-kblackbox
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kblackbox
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kbounce
+Summary: Jezzball clone for the K Desktop Environment
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-kbounce
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbounce
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kenolaba
+Summary: Enolaba board game for Trinity
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-kenolaba
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kenolaba
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kfouleggs
+Summary: A TDE clone of the Japanese PuyoPuyo game
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-kfouleggs
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kfouleggs
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kgoldrunner
+Summary: A Trinity clone of the Loderunner arcade game
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-kgoldrunner
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kgoldrunner
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kjumpingcube
+Summary: Tactical one or two player game
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-kjumpingcube
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kjumpingcube
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klickety
+Summary: A Clickomania-like game for Trinity
+Group: Amusements/Games
+
+%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/klicketyui.rc
+%{tde_datadir}/apps/klickety/eventsrc
+%{tde_tdedocdir}/HTML/en/klickety/
+
+%post -n trinity-klickety
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klickety
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klines
+Summary: Color lines for Trinity
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-klines
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klines
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmahjongg
+Summary: the classic mahjongg game for Trinity project
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-kmahjongg
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kmahjongg
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmines
+Summary: Minesweeper for Trinity
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-kmines
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kmines
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-knetwalk
+Summary: A game for system administrators
+Group: Amusements/Games
+
+%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
+
+%post -n trinity-knetwalk
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-knetwalk
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kolf
+Summary: Minigolf game for TDE
+Group: Amusements/Games
+
+%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,-)
+%{tde_datadir}/config/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}/lib[kt]deinit_kolf.so
+%{tde_libdir}/lib[kt]deinit_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/
+
+%post -n trinity-kolf
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kolf
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kolf-devel
+Summary: Development files for Kolf
+Group: Development/Libraries
+Requires: trinity-kolf = %{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
+
+%post -n trinity-kolf-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kolf-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-konquest
+Summary: TDE based GNU-Lactic Konquest game
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-konquest
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-konquest
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kpat
+Summary: Trinity solitaire patience game
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-kpat
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kpat
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kpoker
+Summary: Trinity based Poker clone
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-kpoker
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kpoker
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kreversi
+Summary: Reversi for Trinity
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-kreversi
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kreversi
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksame
+Summary: SameGame for Trinity
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-ksame
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksame
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kshisen
+Summary: Shisen-Sho for Trinity
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-kshisen
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kshisen
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksirtet
+Summary: Tetris and Puyo-Puyo games for Trinity
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-ksirtet
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksirtet
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksmiletris
+Summary: Tetris like game for Trinity
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-ksmiletris
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksmiletris
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksnake
+Summary: Snake Race for Trinity
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-ksnake
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksnake
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksokoban
+Summary: Sokoban game for Trinity
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-ksokoban
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksokoban
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kspaceduel
+Summary: Arcade two-player space game for Trinity
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-kspaceduel
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kspaceduel
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ktron
+Summary: Tron clone for the K Desktop Environment
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-ktron
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ktron
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ktuberling
+Summary: Potato Guy for Trinity
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-ktuberling
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ktuberling
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-twin4
+Summary: Connect Four clone for Trinity
+Group: Amusements/Games
+
+%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}/[kt]win4
+%{tde_bindir}/[kt]win4proc
+%{tde_datadir}/apps/[kt]win4/
+%{tde_datadir}/config.kcfg/[kt]win4.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/[kt]win4.png
+%{tde_tdeappdir}/[kt]win4.desktop
+%{tde_tdedocdir}/HTML/en/[kt]win4/
+
+%post -n trinity-twin4
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-twin4
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-lskat
+Summary: Lieutnant Skat card game for Trinity
+Group: Amusements/Games
+
+%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/
+
+%post -n trinity-lskat
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-lskat
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i admin/acinclude.m4.in \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+# Do not build against any "/usr" installed KDE
+export KDEDIR="%{tde_prefix}"
+
+# Specific path for RHEL4
+if [ -d "/usr/X11R6" ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --enable-new-ldflags \
+ --disable-dependency-tracking \
+ --disable-rpath \
+ --enable-final \
+ --disable-debug \
+ --disable-warnings \
+ --enable-closure \
+ --disable-setgid \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+# WTF hack for RHEL4
+%if 0%{?rhel} == 4
+mkdir atlantik/libatlantic/.libs
+ln -s . atlantik/libatlantic/.libs/.libs
+%endif
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# locale's
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdegraphics/trinity-tdegraphics-3.5.13.2.spec b/redhat/tdegraphics/trinity-tdegraphics-3.5.13.2.spec
new file mode 100644
index 000000000..623550984
--- /dev/null
+++ b/redhat/tdegraphics/trinity-tdegraphics-3.5.13.2.spec
@@ -0,0 +1,1324 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-tdegraphics
+Version: 3.5.13.2
+Release: 1%{?dist}%{?_variant}
+License: GPL
+Summary: Trinity Desktop Environment - Graphics Applications
+
+Group: Applications/Multimedia
+Prefix: %{tde_prefix}
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}.tar.gz
+
+# TDE 3.5.13
+## RHEL / Fedora specific patches
+# [kdegraphics/kpdf/xpdf] Disable 'mkstemps' support for RHEL5
+Patch3: kdegraphics-3.5.13-xpdf_disable_mkstemps.patch
+
+# [tdegraphics] Fix build on RHEL4
+Patch201: kdegraphics-3.5.13.1-fix_rhel4_libraries.patch
+
+BuildRequires: cmake >= 2.8
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tdebase-devel >= %{version}
+BuildRequires: gettext
+BuildRequires: libmng-devel
+%if 0%{?mdkversion} && 0%{?pclinuxos} == 0
+BuildRequires: %{_lib}png15-devel
+%else
+BuildRequires: libpng-devel
+%endif
+BuildRequires: libtiff-devel
+BuildRequires: automake libtool
+BuildRequires: libusb-devel
+BuildRequires: pcre-devel
+
+# GIF support
+%if 0%{?suse_version}
+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%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+%define with_t1lib 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}t1lib-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: t1lib-devel
+%endif
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}sane1-devel
+# kuickshow
+#BuildRequires: %{_lib}imlib-devel
+# kpovmodeler
+BuildRequires: %{_lib}xi-devel
+# kgamma
+BuildRequires: %{_lib}xxf86vm-devel
+# ksvg
+BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel
+# kpovmodeler
+BuildRequires: %{_lib}mesagl1-devel
+BuildRequires: %{_lib}mesaglu1-devel
+%else
+BuildRequires: sane-backends-devel
+
+# kuickshow
+#BuildRequires: imlib-devel
+
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+%else
+BuildRequires: libdrm-devel
+
+# kpovmodeler
+%if 0%{?suse_version} == 1140
+BuildRequires: libXi6-devel
+%else
+BuildRequires: libXi-devel
+
+# kgamma
+BuildRequires: libXxf86vm-devel
+%endif
+
+# ksvg
+%if 0%{?suse_version} == 1140
+BuildRequires: xorg-x11-libXmu-devel
+%else
+BuildRequires: libXmu-devel
+%endif
+%endif
+
+# kpovmodeler
+%if 0%{?suse_version}
+%if 0%{?suse_version} >= 1220
+BuildRequires: Mesa-libGL-devel
+BuildRequires: Mesa-libGLU-devel
+%else
+BuildRequires: Mesa-devel
+%endif
+%else
+BuildRequires: libGL-devel
+BuildRequires: libGLU-devel
+%endif
+%endif
+
+#kfile-plugin
+BuildRequires: OpenEXR-devel
+
+# kpdf
+%if 0%{?suse_version} == 1140
+BuildRequires: freetype2-devel
+%else
+BuildRequires: freetype-devel
+%endif
+
+# poppler
+%if 0%{?rhel} >=6 || 0%{?fedora} >= 15 || 0%{?suse_version}
+BuildRequires: poppler-devel >= 0.12
+#BuildRequires: poppler-qt-devel >= 0.12
+%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
+BuildRequires: trinity-poppler-qt3-devel >= 0.12
+%endif
+
+# ksvg
+BuildRequires: fontconfig-devel
+%if 0%{?suse_version}
+BuildRequires: liblcms-devel
+%else
+BuildRequires: lcms-devel
+%endif
+BuildRequires: libart_lgpl-devel
+
+# kuickshow
+BuildRequires: fribidi-devel
+
+# kamera
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+%define build_kamera 1
+%endif
+
+Obsoletes: trinity-kdegraphics < %{version}-%{release}
+Provides: trinity-kdegraphics = %{version}-%{release}
+Obsoletes: trinity-kdegraphics-libs < %{version}-%{release}
+Provides: trinity-kdegraphics-libs = %{version}-%{release}
+Obsoletes: trinity-kdegraphics-extras < %{version}-%{release}
+Provides: trinity-kdegraphics-extras = %{version}-%{release}
+
+
+%{?build_kamera:Requires: trinity-kamera = %{version}-%{release}}
+Requires: trinity-kcoloredit = %{version}-%{release}
+Requires: %{name}-kfile-plugins = %{version}-%{release}
+Requires: trinity-kdvi = %{version}-%{release}
+Requires: trinity-kfax = %{version}-%{release}
+Requires: trinity-kfaxview = %{version}-%{release}
+Requires: trinity-kgamma = %{version}-%{release}
+Requires: trinity-kghostview = %{version}-%{release}
+Requires: trinity-kiconedit = %{version}-%{release}
+Requires: trinity-kmrml = %{version}-%{release}
+Requires: trinity-kolourpaint = %{version}-%{release}
+Requires: trinity-kooka = %{version}-%{release}
+Requires: trinity-kpdf = %{version}-%{release}
+Requires: trinity-kpovmodeler = %{version}-%{release}
+Requires: trinity-kruler = %{version}-%{release}
+Requires: trinity-ksnapshot = %{version}-%{release}
+Requires: trinity-ksvg = %{version}-%{release}
+Requires: trinity-kview = %{version}-%{release}
+Requires: trinity-kviewshell = %{version}-%{release}
+Requires: trinity-libkscan = %{version}-%{release}
+Requires: %{name}-libpoppler-tqt = %{version}-%{release}
+
+%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
+
+##########
+
+%if 0%{?build_kamera}
+
+%package -n trinity-kamera
+Summary: Digital camera io_slave for Konqueror
+Group: Applications/Graphics
+
+%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:/
+
+%post -n trinity-kamera
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kamera
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%files -n trinity-kamera
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcm_kamera.la
+%{tde_tdelibdir}/kcm_kamera.so
+%{tde_tdelibdir}/kio_kamera.la
+%{tde_tdelibdir}/kio_kamera.so
+%{tde_tdeappdir}/kamera.desktop
+%{tde_datadir}/icons/crystalsvg/*/actions/camera_test.png
+%{tde_datadir}/icons/crystalsvg/*/apps/camera.png
+%{tde_datadir}/icons/crystalsvg/*/devices/camera.png
+%{tde_datadir}/icons/crystalsvg/*/filesystems/camera.png
+%{tde_datadir}/services/camera.protocol
+%{tde_tdedocdir}/HTML/en/kamera/
+
+%endif
+
+##########
+
+%package -n trinity-kcoloredit
+Summary: A color palette editor and color picker for TDE
+Group: Applications/Graphics
+
+%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/kcoloreditui.rc
+%{tde_datadir}/icons/hicolor/*/apps/kcolorchooser.png
+%{tde_datadir}/icons/hicolor/*/apps/kcoloredit.png
+%{tde_tdedocdir}/HTML/en/kcoloredit/
+
+%post -n trinity-kcoloredit
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kcoloredit
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package kfile-plugins
+Summary: TDE metainfo plugins for graphic files
+Group: Environment/Libraries
+
+%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}/kfile_bmp.la
+%{tde_tdelibdir}/kfile_bmp.so
+%{tde_tdelibdir}/kfile_dds.la
+%{tde_tdelibdir}/kfile_dds.so
+%{tde_tdelibdir}/kfile_dvi.la
+%{tde_tdelibdir}/kfile_dvi.so
+%{tde_tdelibdir}/kfile_exr.la
+%{tde_tdelibdir}/kfile_exr.so
+%{tde_tdelibdir}/kfile_gif.la
+%{tde_tdelibdir}/kfile_gif.so
+%{tde_tdelibdir}/kfile_ico.la
+%{tde_tdelibdir}/kfile_ico.so
+%{tde_tdelibdir}/kfile_jpeg.la
+%{tde_tdelibdir}/kfile_jpeg.so
+%{tde_tdelibdir}/kfile_pcx.la
+%{tde_tdelibdir}/kfile_pcx.so
+%{tde_tdelibdir}/kfile_pdf.la
+%{tde_tdelibdir}/kfile_pdf.so
+%{tde_tdelibdir}/kfile_png.la
+%{tde_tdelibdir}/kfile_png.so
+%{tde_tdelibdir}/kfile_pnm.la
+%{tde_tdelibdir}/kfile_pnm.so
+%{tde_tdelibdir}/kfile_ps.la
+%{tde_tdelibdir}/kfile_ps.so
+%{tde_tdelibdir}/kfile_raw.la
+%{tde_tdelibdir}/kfile_raw.so
+%{tde_tdelibdir}/kfile_rgb.la
+%{tde_tdelibdir}/kfile_rgb.so
+%{tde_tdelibdir}/kfile_tga.la
+%{tde_tdelibdir}/kfile_tga.so
+%{tde_tdelibdir}/kfile_tiff.la
+%{tde_tdelibdir}/kfile_tiff.so
+%{tde_tdelibdir}/kfile_xbm.la
+%{tde_tdelibdir}/kfile_xbm.so
+%{tde_tdelibdir}/kfile_xpm.la
+%{tde_tdelibdir}/kfile_xpm.so
+%{tde_datadir}/services/gsthumbnail.desktop
+%{tde_datadir}/services/kfile_bmp.desktop
+%{tde_datadir}/services/kfile_dds.desktop
+%{tde_datadir}/services/kfile_dvi.desktop
+%{tde_datadir}/services/kfile_exr.desktop
+%{tde_datadir}/services/kfile_gif.desktop
+%{tde_datadir}/services/kfile_ico.desktop
+%{tde_datadir}/services/kfile_jpeg.desktop
+%{tde_datadir}/services/kfile_pcx.desktop
+%{tde_datadir}/services/kfile_pdf.desktop
+%{tde_datadir}/services/kfile_png.desktop
+%{tde_datadir}/services/kfile_pnm.desktop
+%{tde_datadir}/services/kfile_ps.desktop
+%{tde_datadir}/services/kfile_raw.desktop
+%{tde_datadir}/services/kfile_rgb.desktop
+%{tde_datadir}/services/kfile_tga.desktop
+%{tde_datadir}/services/kfile_tiff.desktop
+%{tde_datadir}/services/kfile_xbm.desktop
+%{tde_datadir}/services/kfile_xpm.desktop
+
+##########
+
+%package -n trinity-kdvi
+Summary: Dvi viewer for TDE
+Group: Applications/Graphics
+
+%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/
+
+%post -n trinity-kdvi
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kdvi
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kfax
+Summary: G3/G4 fax viewer for Trinity
+Group: Applications/Graphics
+Requires: libtiff
+
+%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,-)
+%doc rpmdocs/kfax/
+%{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
+
+%post -n trinity-kfax
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kfax
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kfaxview
+Summary: G3/G4 fax viewer for Trinity using kviewshell
+Group: Applications/Graphics
+
+%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
+
+%post -n trinity-kfaxview
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kfaxview
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kgamma
+Summary: Gamma correction module for the Trinity Control Center
+Group: Applications/Graphics
+
+%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_tdeappdir}/kgamma.desktop
+%{tde_datadir}/apps/kgamma/
+%{tde_datadir}/icons/hicolor/*/apps/kgamma.png
+%{tde_tdedocdir}/HTML/en/kgamma/
+
+%post -n trinity-kgamma
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kgamma
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kghostview
+Summary: PostScript viewer for Trinity
+Group: Applications/Graphics
+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/kconf_update/kghostview.upd
+%{tde_datadir}/apps/kconf_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/
+
+%post -n trinity-kghostview
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kghostview
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kiconedit
+Summary: An icon editor for Trinity
+Group: Applications/Graphics
+
+%description -n trinity-kiconedit
+KIconedit allows you easily to create and edit icons.
+
+%files -n trinity-kiconedit
+%defattr(-,root,root,-)
+%{tde_bindir}/kiconedit
+%{tde_tdeappdir}/kiconedit.desktop
+%{tde_datadir}/apps/kiconedit/
+%{tde_datadir}/icons/hicolor/*/apps/kiconedit.png
+%{tde_tdedocdir}/HTML/en/kiconedit/
+
+%post -n trinity-kiconedit
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kiconedit
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmrml
+Summary: A Konqueror plugin for searching pictures
+Group: Applications/Graphics
+
+%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}/kio_mrml.la
+%{tde_tdelibdir}/kio_mrml.so
+%{tde_tdelibdir}/libkmrmlpart.la
+%{tde_tdelibdir}/libkmrmlpart.so
+%{tde_tdelibdir}/mrmlsearch.la
+%{tde_tdelibdir}/mrmlsearch.so
+%{tde_libdir}/lib[kt]deinit_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
+
+%post -n trinity-kmrml
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kmrml
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kolourpaint
+Summary: A simple paint program for Trinity
+Group: Applications/Graphics
+
+%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/
+
+%post -n trinity-kolourpaint
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kolourpaint
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kooka
+Summary: Scanner program for Trinity
+Group: Applications/Graphics
+
+%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_datadir}/config/kookarc
+%{tde_bindir}/kooka
+%{tde_tdeappdir}/kooka.desktop
+%{tde_datadir}/apps/kooka/
+%{tde_tdedocdir}/HTML/en/kooka/
+
+%post -n trinity-kooka
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kooka
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kpdf
+Summary: PDF viewer for Trinity
+Group: Applications/Graphics
+#Recommends: kghostview-trinity (= ${binary:Version})
+
+%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/shell.rc
+%{tde_datadir}/apps/kpdfpart/part.rc
+%{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
+
+%post -n trinity-kpdf
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kpdf
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kpovmodeler
+Summary: A graphical editor for povray scenes
+Group: Applications/Graphics
+#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,-)
+%doc rpmdocs/kpovmodeler/
+%{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/
+
+%post -n trinity-kpovmodeler
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kpovmodeler
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kruler
+Summary: A screen ruler and color measurement tool for Trinity
+Group: Applications/Graphics
+
+%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/
+
+%post -n trinity-kruler
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kruler
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksnapshot
+Summary: Screenshot utility for Trinity
+Group: Applications/Graphics
+
+%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/
+
+%post -n trinity-ksnapshot
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksnapshot
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksvg
+Summary: SVG viewer for Trinity
+Group: Applications/Graphics
+
+%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/ksvgplugin.rc
+%{tde_datadir}/services/ksvglibartcanvas.desktop
+%{tde_datadir}/services/ksvgplugin.desktop
+%{tde_datadir}/services/svgthumbnail.desktop
+%{tde_datadir}/servicetypes/ksvgrenderer.desktop
+
+%post -n trinity-ksvg
+/sbin/ldconfig || :
+
+%postun -n trinity-ksvg
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kview
+Summary: Simple image viewer/converter for Trinity
+Group: Applications/Graphics
+
+%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}/lib[kt]deinit_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/photobookui.rc
+%{tde_datadir}/icons/crystalsvg/*/apps/photobook.png
+%{tde_datadir}/icons/hicolor/*/apps/kview.png
+%{tde_datadir}/services/kconfiguredialog/kviewcanvasconfig.desktop
+%{tde_datadir}/services/kconfiguredialog/kviewgeneralconfig.desktop
+%{tde_datadir}/services/kconfiguredialog/kviewpluginsconfig.desktop
+%{tde_datadir}/services/kconfiguredialog/kviewpresenterconfig.desktop
+%{tde_datadir}/services/kconfiguredialog/kviewviewerpluginsconfig.desktop
+%{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/
+
+%post -n trinity-kview
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kview
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kviewshell
+Summary: Generic framework for viewer applications in Trinity
+Group: Applications/Graphics
+
+%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}/libkmultipage.so.*
+%{tde_datadir}/apps/djvumultipage.rc
+%{tde_datadir}/apps/kviewerpart/
+%{tde_datadir}/apps/kviewshell/kviewshell.rc
+%{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/kmultipage.desktop
+
+%post -n trinity-kviewshell
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-kviewshell
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkscan
+Summary: Scanner library for Trinity
+Group: Environment/Libraries
+
+%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
+
+%post -n trinity-libkscan
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-libkscan
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkscan-devel
+Summary: Development files for the Trinity scanner library
+Group: Development/Libraries
+
+%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
+
+%post -n trinity-libkscan-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkscan-devel
+/sbin/ldconfig || :
+
+##########
+
+%package libpoppler-tqt
+Summary: TQt support for Poppler
+Group: Environment/Libraries
+Provides: poppler-tqt = %{version}-%{release}
+
+%description libpoppler-tqt
+TQt support library for Poppler.
+This library is used by the Trinity graphics file plugins for PDF support.
+
+%files libpoppler-tqt
+%defattr(-,root,root,-)
+%{tde_libdir}/libpoppler-tqt.so.*
+
+%post libpoppler-tqt
+/sbin/ldconfig || :
+
+%postun libpoppler-tqt
+/sbin/ldconfig || :
+
+##########
+
+%package libpoppler-tqt-devel
+Summary: Development files for TQt support for Poppler
+Group: Development/Libraries
+Requires: %{name}-libpoppler-tqt
+Provides: poppler-tqt-devel = %{version}-%{release}
+
+%description 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 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
+
+%post libpoppler-tqt-devel
+/sbin/ldconfig || :
+
+%postun libpoppler-tqt-devel
+/sbin/ldconfig || :
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+
+Obsoletes: trinity-kdegraphics-devel < %{version}-%{release}
+Provides: trinity-kdegraphics-devel = %{version}-%{release}
+
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-libkscan-devel = %{version}-%{release}
+Requires: %{name}-libpoppler-tqt-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/dom/
+%{tde_tdeincludedir}/kfaximage.h
+%{tde_tdeincludedir}/kmultipageInterface.h
+%{tde_tdeincludedir}/ksvg/
+%{tde_tdeincludedir}/kviewshell/
+%{tde_tdeincludedir}/libtext2path-0.1/BezierPath.h
+%{tde_tdeincludedir}/libtext2path-0.1/Glyph.h
+%{tde_tdeincludedir}/libtext2path-0.1/GlyphTracer.h
+%{tde_libdir}/lib[kt]deinit_kview.la
+%{tde_libdir}/lib[kt]deinit_mrmlsearch.la
+%{tde_libdir}/libkghostviewlib.la
+%{tde_libdir}/libkghostviewlib.so
+%{tde_libdir}/libkimageviewer.la
+%{tde_libdir}/libkimageviewer.so
+%{tde_libdir}/libkmultipage.la
+%{tde_libdir}/libkmultipage.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/*
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+############
+
+# Excludes kuickshow (built separately)
+#%exclude %{tde_bindir}/kuickshow
+#%exclude %{tde_tdelibdir}/kuickshow.la
+#%exclude %{tde_tdelibdir}/kuickshow.so
+#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.la
+#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.so
+#%exclude %{tde_tdeappdir}/kuickshow.desktop
+#%exclude %{tde_datadir}/apps/kuickshow/
+#%exclude %{tde_datadir}/icons/hicolor/*/apps/kuickshow.png
+#%exclude %{tde_tdedocdir}/HTML/en/kuickshow/
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q
+
+%if 0%{?rhel} && 0%{?rhel} <= 5
+%patch3 -p1 -b .mkstemps
+%endif
+
+%if 0%{?rhel} == 4
+%patch201 -p1 -b .rhel4
+%endif
+
+%if 0%{?build_kamera} == 0
+%__rm -rf doc/kamera/
+%endif
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+
+# Do not build against any "/usr" installed KDE
+export KDEDIR=%{tde_prefix}
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ %{?with_t1lib:-DWITH_T1LIB=ON} \
+ %{?with_paper:-DWITH_LIBPAPER=ON} \
+ -DWITH_TIFF=ON \
+ -DWITH_OPENEXR=ON \
+ -DWITH_PDF=ON \
+ -DBUILD_ALL=ON \
+ -DBUILD_KUICKSHOW=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
+
+# locale's
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# rpmdocs
+for dir in k* ; do
+ for file in AUTHORS ChangeLog README TODO ; do
+ if test -s "$dir/$file" ; then
+ install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
+ echo "%doc rpmdocs/$dir/" >> %{name}.lang
+ fi
+ done
+done
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdelibs/trinity-tdelibs-3.5.13.2.spec b/redhat/tdelibs/trinity-tdelibs-3.5.13.2.spec
new file mode 100644
index 000000000..ec061213a
--- /dev/null
+++ b/redhat/tdelibs/trinity-tdelibs-3.5.13.2.spec
@@ -0,0 +1,481 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-tdelibs
+Version: 3.5.13.2
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+License: GPL
+Summary: TDE Libraries
+Group: Environment/Libraries
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+Patch1: tdelibs-3.5.13.2-xdg_dirs_set_path.patch
+Patch2: tdelibs-3.5.13.2-cups_by_default.patch
+
+Obsoletes: tdelibs < %{version}-%{release}
+Provides: tdelibs = %{version}-%{release}
+Obsoletes: trinity-kdelibs < %{version}-%{release}
+Provides: trinity-kdelibs = %{version}-%{release}
+Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release}
+Provides: trinity-kdelibs-apidocs = %{version}-%{release}
+
+
+BuildRequires: cmake >= 2.8
+BuildRequires: libtool
+BuildRequires: qt3-devel
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: krb5-devel
+BuildRequires: libxslt-devel
+BuildRequires: cups-devel
+BuildRequires: libart_lgpl-devel
+BuildRequires: openssl-devel
+BuildRequires: gcc-c++
+BuildRequires: alsa-lib-devel
+BuildRequires: libidn-devel
+BuildRequires: libtiff-devel
+BuildRequires: glib2-devel
+# LUA support are not ready yet
+#BuildRequires: lua-devel
+
+# ASPELL support
+BuildRequires: aspell
+BuildRequires: aspell-devel
+
+# GAMIN support
+# Not on openSUSE.
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_gamin 1
+BuildRequires: gamin-devel
+%endif
+
+# PCRE support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_pcre 1
+BuildRequires: pcre-devel
+%endif
+
+# INOTIFY support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_inotify 1
+%endif
+
+# BZIP2 support
+%if 0%{?suse_version}
+BuildRequires: libbz2-devel
+%else
+BuildRequires: bzip2-devel
+%endif
+
+# UTEMPTER support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: libutempter-devel
+%endif
+%if 0%{?rhel} == 4
+BuildRequires: utempter
+%endif
+%if 0%{?suse_version}
+BuildRequires: utempter-devel
+%endif
+
+# HSPELL support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_hspell 1
+BuildRequires: hspell-devel
+%endif
+
+# JASPER support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_jasper 1
+%if 0%{?suse_version}
+BuildRequires: libjasper-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}jasper-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: jasper-devel
+%endif
+%endif
+
+# AVAHI support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_avahi 1
+BuildRequires: trinity-avahi-tqt-devel >= %{version}
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}avahi-client-devel
+Requires: %{_lib}avahi-client3
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: avahi-devel
+Requires: avahi
+%endif
+%endif
+
+# OPENEXR support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_openexr 1
+BuildRequires: OpenEXR-devel
+%endif
+
+# LIBTOOL
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}ltdl-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: libtool-ltdl-devel
+%endif
+%if 0%{?rhel} == 4 || 0%{?suse_version} == 1140
+BuildRequires: libtool
+%endif
+
+# X11 support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: x11-proto-devel
+BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: xorg-x11-proto-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: libXcomposite-devel
+%endif
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+%endif
+
+# ICEAUTH
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220
+Requires: iceauth
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora}
+Requires: xorg-x11-server-utils
+%endif
+%if 0%{?rhel} == 4 || 0%{?suse_version}
+Requires: xorg-x11
+%endif
+
+# XZ support
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+%define with_lzma 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}lzma-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: xz-devel
+%endif
+%endif
+
+Requires: trinity-tqtinterface >= %{version}
+Requires: trinity-arts >= %{version}
+Requires: qt3 >= 3.3.8.d
+
+%description
+Libraries for the Trinity Desktop Environment:
+TDE Libraries included: tdecore (TDE core library), kdeui (user interface),
+kfm (file manager), khtmlw (HTML widget), kio (Input/Output, networking),
+kspell (spelling checker), jscript (javascript), kab (addressbook),
+kimgio (image manipulation).
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB README TODO
+%{tde_bindir}/artsmessage
+%{tde_bindir}/cupsdconf
+%{tde_bindir}/cupsdoprint
+%{tde_bindir}/dcop
+%{tde_bindir}/dcopclient
+%{tde_bindir}/dcopfind
+%{tde_bindir}/dcopobject
+%{tde_bindir}/dcopquit
+%{tde_bindir}/dcopref
+%{tde_bindir}/dcopserver
+%{tde_bindir}/dcopserver_shutdown
+%{tde_bindir}/dcopstart
+%{tde_bindir}/filesharelist
+%{tde_bindir}/fileshareset
+%{tde_bindir}/imagetops
+%{tde_bindir}/kab2kabc
+%{tde_bindir}/kaddprinterwizard
+%{tde_bindir}/kbuildsycoca
+%{tde_bindir}/kcmshell
+%{tde_bindir}/kconf_update
+%{tde_bindir}/kcookiejar
+%{tde_bindir}/kde-config
+%{tde_bindir}/kde-menu
+%{tde_bindir}/kded
+%{tde_bindir}/kdeinit
+%{tde_bindir}/kdeinit_shutdown
+%{tde_bindir}/kdeinit_wrapper
+%{tde_bindir}/kdesu_stub
+%{tde_bindir}/kdontchangethehostname
+%{tde_bindir}/kdostartupconfig
+%{tde_bindir}/kfile
+%{tde_bindir}/kfmexec
+%{tde_bindir}/khotnewstuff
+%{tde_bindir}/kinstalltheme
+%{tde_bindir}/kio_http_cache_cleaner
+%{tde_bindir}/kio_uiserver
+%{tde_bindir}/kioexec
+%{tde_bindir}/kioslave
+%{tde_bindir}/klauncher
+%{tde_bindir}/kmailservice
+%{tde_bindir}/kmimelist
+%attr(4755,root,root) %{tde_bindir}/kpac_dhcp_helper
+%{tde_bindir}/ksendbugmail
+%{tde_bindir}/kshell
+%{tde_bindir}/kstartupconfig
+%{tde_bindir}/ktelnetservice
+%{tde_bindir}/ktradertest
+%{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_kdeinit
+%{tde_bindir}/start_kdeinit_wrapper
+%attr(4755,root,root) %{tde_bindir}/kgrantpty
+%{tde_tdelibdir}/*
+%{tde_libdir}/lib*.so.*
+%{tde_libdir}/lib[kt]deinit_*.la
+%{tde_libdir}/lib[kt]deinit_*.so
+%{tde_datadir}/applications/kde/*.desktop
+%{tde_datadir}/autostart/kab2kabc.desktop
+%{tde_datadir}/applnk/kio_iso.desktop
+%{tde_datadir}/apps/*
+%exclude %{tde_datadir}/apps/ksgmltools2/
+%config(noreplace) %{tde_datadir}/config/*
+%{tde_datadir}/emoticons/*
+%{tde_datadir}/icons/default.kde
+%{_sysconfdir}/alternatives/default.kde
+%{tde_datadir}/mimelnk/magic
+%{tde_datadir}/mimelnk/*/*.desktop
+%{tde_datadir}/services/*
+%{tde_datadir}/servicetypes/*
+%{tde_datadir}/icons/crystalsvg/
+%{tde_tdedocdir}/HTML/en/kspell/
+# remove conflicts with kdelibs-4
+%if "%{?tde_prefix}" != "/usr"
+%{tde_bindir}/checkXML
+%{tde_bindir}/ksvgtopng
+%{tde_bindir}/kunittestmodrunner
+%{tde_bindir}/preparetips
+%{tde_datadir}/icons/hicolor/index.theme
+%{tde_datadir}/locale/all_languages
+%{tde_tdedocdir}/HTML/en/common/*
+%{_sysconfdir}/ld.so.conf.d/trinity.conf
+%else
+%exclude %{tde_bindir}/checkXML
+%exclude %{tde_bindir}/ksvgtopng
+%exclude %{tde_bindir}/kunittestmodrunner
+%exclude %{tde_bindir}/preparetips
+%exclude %{tde_datadir}/config/colors
+%exclude %{tde_datadir}/config/kdebug.areas
+%exclude %{tde_datadir}/config/kdebugrc
+%exclude %{tde_datadir}/config/ksslcalist
+%exclude %{tde_datadir}/config/ui/ui_standards.rc
+%exclude %{tde_datadir}/icons/hicolor/index.theme
+%exclude %{tde_datadir}/locale/all_languages
+%exclude %{tde_tdedocdir}/HTML/en/common/*
+%endif
+
+# Avoid conflict with 'redhat-menus' package
+%if "%{tde_prefix}" == "/usr"
+%{_sysconfdir}/xdg/menus/kde-applications.menu
+%else
+%{tde_prefix}/etc/xdg/menus/kde-applications.menu
+%endif
+
+# New in TDE 3.5.13
+%{tde_bindir}/kdetcompmgr
+
+%pre
+# TDE Bug #1074
+if [ -d "%{tde_datadir}/locale/all_languages" ]; then
+ rm -rf "%{tde_datadir}/locale/all_languages"
+fi
+
+%post
+/sbin/ldconfig || :
+# Sets default theme as 'crystalsvg'
+update-alternatives --install \
+ %{tde_datadir}/icons/default.kde \
+ default.kde \
+ %{tde_datadir}/icons/crystalsvg \
+ 10 || :
+
+%preun
+if [ $1 -eq 0 ]; then
+ update-alternatives --remove \
+ default.kde \
+ %{tde_datadir}/icons/crystalsvg || :
+fi
+
+%postun
+/sbin/ldconfig || :
+
+##########
+
+%package devel
+Summary: %{name} - Development files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+Obsoletes: tdelibs-devel < %{version}-%{release}
+Provides: tdelibs-devel = %{version}-%{release}
+Obsoletes: trinity-kdelibs-devel < %{version}-%{release}
+Provides: trinity-kdelibs-devel = %{version}-%{release}
+
+%description devel
+This package includes the header files you will need to compile
+applications for TDE.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_bindir}/dcopidl*
+%{tde_bindir}/kconfig_compiler
+%{tde_bindir}/makekdewidgets
+%{tde_datadir}/apps/ksgmltools2/
+%{tde_tdeincludedir}/*
+%{tde_libdir}/*.la
+%{tde_libdir}/*.so
+%{tde_libdir}/*.a
+%exclude %{tde_libdir}/lib[kt]deinit_*.la
+%exclude %{tde_libdir}/lib[kt]deinit_*.so
+
+# New in TDE 3.5.13
+%{tde_datadir}/cmake/[kt]delibs.cmake
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+%patch1 -p1 -b .xdg_path
+%patch2 -p1 -b .cups_by_default
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+
+# We need LD_LIBRARY_PATH here because ld.so.conf file has not been written yet
+export LD_LIBRARY_PATH="%{tde_libdir}"
+
+export KDEDIR="%{tde_prefix}"
+
+if [ -d "/usr/X11R6" ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -L/usr/X11R6/%{_lib} -I/usr/X11R6/include"
+fi
+
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
+ -DBIN_INSTALL_DIR="%{tde_bindir}" \
+ -DDOC_INSTALL_DIR="%{tde_docdir}" \
+ -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
+ -DLIB_INSTALL_DIR="%{tde_libdir}" \
+ -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
+ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DWITH_ARTS=ON \
+ -DWITH_ALSA=ON \
+ -DWITH_LIBART=ON \
+ -DWITH_LIBIDN=ON \
+ -DWITH_SSL=ON \
+ -DWITH_CUPS=ON \
+ -DWITH_LUA=OFF \
+ -DWITH_TIFF=ON \
+ %{?with_jasper:-DWITH_JASPER=ON} \
+ %{?with_openexr:-DWITH_OPENEXR=ON} \
+ -DWITH_UTEMPTER=ON \
+ %{?with_avahi:-DWITH_AVAHI=ON} \
+ %{?!with_pcre:-DWITH_PCRE=OFF} \
+ %{?!with_inotify:-DWITH_INOTIFY=OFF} \
+ %{?!with_gamin:-DWITH_GAMIN=OFF} %{?with_gamin:-DWITH_GAMIN=ON} \
+ -DWITH_SUDO_KDESU_BACKEND=OFF \
+ %{?with_lzma:-DWITH_LZMA=ON} %{?!with_lzma:-DWITH_LZMA=OFF} \
+ -DWITH_ASPELL=ON \
+ %{?with_hspell:-DWITH_HSPELL=ON} \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+%__rm -rf "%{?buildroot}"
+%__make install DESTDIR="%{?buildroot}" -C build
+
+%if "%{?tde_prefix}" != "/usr"
+%__mkdir_p "%{?buildroot}%{_sysconfdir}/ld.so.conf.d"
+cat <<EOF >"%{?buildroot}%{_sysconfdir}/ld.so.conf.d/trinity.conf"
+%{tde_libdir}
+EOF
+%endif
+
+# Moves the XDG configuration files to TDE directory
+%if "%{tde_prefix}" != "/usr"
+%__install -p -D -m644 \
+ "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" \
+ "%{?buildroot}%{tde_prefix}/etc/xdg/menus/kde-applications.menu"
+%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg"
+%else
+%__mv -f "%{?buildroot}%{_sysconfdir}/xdg/menus/applications.menu" "%{?buildroot}%{_sysconfdir}/xdg/menus/kde-applications.menu"
+%endif
+
+# Makes 'default.kde' theme an alternative with 'crystalsvg-updated'
+%__rm -f "%{?buildroot}%{tde_datadir}/icons/default.kde"
+%__ln_s "%{_sysconfdir}/alternatives/default.kde" "%{?buildroot}%{tde_datadir}/icons/default.kde"
+%__mkdir_p "%{?buildroot}%{_sysconfdir}/alternatives"
+%__ln_s "%{tde_datadir}/icons/crystalsvg" "%{?buildroot}%{_sysconfdir}/alternatives/default.kde"
+
+
+%clean
+%__rm -rf "%{?buildroot}"
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdemultimedia/trinity-tdemultimedia-3.5.13.2.spec b/redhat/tdemultimedia/trinity-tdemultimedia-3.5.13.2.spec
new file mode 100644
index 000000000..231084e35
--- /dev/null
+++ b/redhat/tdemultimedia/trinity-tdemultimedia-3.5.13.2.spec
@@ -0,0 +1,1241 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+# former extras bits
+%define _with_akode --with-akode
+## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4)
+#define _with_musicbrainz --with-musicbrainz
+%define _with_taglib --with-taglib
+
+Name: trinity-tdemultimedia
+Summary: Multimedia applications for the Trinity Desktop Environment (TDE)
+Version: 3.5.13.2
+Release: %{?!preversion:2}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2
+Group: Applications/Multimedia
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+Patch0: tdemultimedia-3.5.13.2-ftbfs.patch
+
+Obsoletes: trinity-kdemultimedia < %{version}-%{release}
+Provides: trinity-kdemultimedia = %{version}-%{release}
+Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release}
+Provides: trinity-kdemultimedia-libs = %{version}-%{release}
+Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release}
+Provides: trinity-kdemultimedia-extras = %{version}-%{release}
+Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release}
+Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release}
+
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: qt3-devel
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+
+%if "%{?_with_akode}" != ""
+BuildRequires: trinity-akode-devel
+%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: trinity-akode-libmad
+%endif
+%endif
+
+BuildRequires: desktop-file-utils
+BuildRequires: zlib-devel
+
+# Audio libraries
+BuildRequires: libvorbis-devel
+BuildRequires: audiofile-devel
+BuildRequires: libtheora-devel
+BuildRequires: alsa-lib-devel
+%{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel}
+%{?_with_taglib:BuildRequires: taglib-devel}
+BuildRequires: cdparanoia
+
+# 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}
+%if 0%{?pclinuxos}
+BuildRequires: libgstreamer0.10-devel
+%else
+BuildRequires: %{_lib}gstreamer0.10-devel
+%endif
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: gstreamer-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: gstreamer-0_10-devel
+%endif
+
+# X11 Libraries
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xxf86dga-devel
+BuildRequires: %{_lib}xxf86vm-devel
+BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel
+%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
+BuildRequires: libXt-devel
+%endif
+
+# XINE support
+%if 0%{?fedora} || 0%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_xine 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xine-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%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
+%define with_lame 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?pclinuxos}
+BuildRequires: liblame-devel
+%else
+BuildRequires: %{_lib}lame-devel
+%endif
+%endif
+%if 0%{?suse_version}
+BuildRequires: libmp3lame-devel
+%endif
+%if 0%{?fedora} || 0%{?rhel}
+BuildRequires: lame-devel
+%endif
+%endif
+
+Requires: trinity-artsbuilder = %{version}-%{release}
+Requires: trinity-juk = %{version}-%{release}
+Requires: trinity-kaboodle = %{version}-%{release}
+Requires: trinity-kaudiocreator = %{version}-%{release}
+Requires: %{name}-kfile-plugins = %{version}-%{release}
+Requires: %{name}-kappfinder-data = %{version}-%{release}
+Requires: %{name}-tdeio-plugins = %{version}-%{release}
+Requires: trinity-kmid = %{version}-%{release}
+Requires: trinity-kmix = %{version}-%{release}
+Requires: trinity-krec = %{version}-%{release}
+Requires: trinity-kscd = %{version}-%{release}
+Requires: trinity-libarts-akode = %{version}-%{release}
+Requires: trinity-libarts-audiofile = %{version}-%{release}
+Requires: trinity-libarts-mpeglib = %{version}-%{release}
+%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}}
+Requires: trinity-libkcddb = %{version}-%{release}
+Requires: trinity-mpeglib = %{version}-%{release}
+Requires: trinity-noatun = %{version}-%{release}
+
+
+%description
+The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window
+System. The %{name} package contains multimedia applications for
+TDE, including:
+ artsbuilder, Synthesizer designer for aRts
+ juk, a media player
+ kmid, 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: Applications/Multimedia
+
+%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/
+
+%post -n trinity-artsbuilder
+/sbin/ldconfig
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-artsbuilder
+/sbin/ldconfig
+for f in crystalsvg hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-juk
+Summary: Music organizer and player for Trinity
+Group: Applications/Multimedia
+
+%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/
+
+%post -n trinity-juk
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-juk
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kaboodle
+Summary: light, embedded media player for Trinity
+Group: Applications/Multimedia
+
+%if 0%{?with_xine}
+Requires: trinity-libarts-xine = %{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/
+
+%post -n trinity-kaboodle
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kaboodle
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kaudiocreator
+Summary: CD ripper and audio encoder frontend for Trinity
+Group: Applications/Multimedia
+
+Requires: %{name}-tdeio-plugins = %{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/kconf_update/kaudiocreator-libkcddb.upd
+%{tde_datadir}/apps/kconf_update/kaudiocreator-meta.upd
+%{tde_datadir}/apps/kconf_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/
+
+%post -n trinity-kaudiocreator
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kaudiocreator
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package kfile-plugins
+Summary: au/avi/m3u/mp3/ogg/wav plugins for kfile
+Group: Applications/Multimedia
+
+%description kfile-plugins
+au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity.
+
+%files kfile-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kfile_au.la
+%{tde_tdelibdir}/kfile_au.so
+%{tde_tdelibdir}/kfile_avi.la
+%{tde_tdelibdir}/kfile_avi.so
+%{tde_tdelibdir}/kfile_flac.la
+%{tde_tdelibdir}/kfile_flac.so
+%{tde_tdelibdir}/kfile_m3u.la
+%{tde_tdelibdir}/kfile_m3u.so
+%{tde_tdelibdir}/kfile_mp3.la
+%{tde_tdelibdir}/kfile_mp3.so
+%{tde_tdelibdir}/kfile_mpc.la
+%{tde_tdelibdir}/kfile_mpc.so
+%{tde_tdelibdir}/kfile_mpeg.la
+%{tde_tdelibdir}/kfile_mpeg.so
+%{tde_tdelibdir}/kfile_ogg.la
+%{tde_tdelibdir}/kfile_ogg.so
+%{tde_tdelibdir}/kfile_sid.la
+%{tde_tdelibdir}/kfile_sid.so
+%{tde_tdelibdir}/kfile_theora.la
+%{tde_tdelibdir}/kfile_theora.so
+%{tde_tdelibdir}/kfile_wav.la
+%{tde_tdelibdir}/kfile_wav.so
+%{tde_datadir}/services/kfile_au.desktop
+%{tde_datadir}/services/kfile_avi.desktop
+%{tde_datadir}/services/kfile_flac.desktop
+%{tde_datadir}/services/kfile_m3u.desktop
+%{tde_datadir}/services/kfile_mp3.desktop
+%{tde_datadir}/services/kfile_mpc.desktop
+%{tde_datadir}/services/kfile_mpeg.desktop
+%{tde_datadir}/services/kfile_ogg.desktop
+%{tde_datadir}/services/kfile_sid.desktop
+%{tde_datadir}/services/kfile_theora.desktop
+%{tde_datadir}/services/kfile_wav.desktop
+
+##########
+
+%package kappfinder-data
+Summary: multimedia data for kappfinder-trinity
+Group: Applications/Multimedia
+
+Requires: trinity-kappfinder
+
+%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/[kt]de-multimedia-music.directory
+%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu
+
+##########
+
+%package tdeio-plugins
+Summary: Enables the browsing of audio CDs under Konqueror
+Group: Applications/Multimedia
+
+Obsoletes: trinity-tdemultimedia-kio-plugins < %{version}-%{release}
+Provides: trinity-tdemultimedia-kio-plugins = %{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}/kio_audiocd.la
+%{tde_tdelibdir}/kio_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/kconf_update/audiocd.upd
+%{tde_datadir}/apps/kconf_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/kioslave/audiocd.docbook
+
+%post tdeio-plugins
+/sbin/ldconfig
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun tdeio-plugins
+/sbin/ldconfig
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmid
+Summary: MIDI/karaoke player for Trinity
+Group: Applications/Multimedia
+
+%description -n trinity-kmid
+This package provides a MIDI and karaoke player for TDE.
+
+%files -n trinity-kmid
+%defattr(-,root,root,-)
+%{tde_bindir}/kmid
+%{tde_tdelibdir}/libkmidpart.la
+%{tde_tdelibdir}/libkmidpart.so
+%{tde_libdir}/libkmidlib.so.*
+%{tde_tdeappdir}/kmid.desktop
+%{tde_datadir}/apps/kmid/
+%{tde_datadir}/icons/hicolor/*/apps/kmid.png
+%{tde_datadir}/mimelnk/audio/x-karaoke.desktop
+%{tde_datadir}/servicetypes/audiomidi.desktop
+%{tde_tdedocdir}/HTML/en/kmid/
+
+%post -n trinity-kmid
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kmid
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmix
+Summary: Sound mixer applet for Trinity
+Group: Applications/Multimedia
+
+%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}/lib[kt]deinit_kmix.so
+%{tde_libdir}/lib[kt]deinit_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/
+
+%post -n trinity-kmix
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kmix
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-krec
+Summary: Sound recorder utility for Trinity
+Group: Applications/Multimedia
+
+%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 %{?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}/lib[kt]deinit_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/
+
+%post -n trinity-krec
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-krec
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kscd
+Summary: Audio CD player for Trinity
+Group: Applications/Multimedia
+
+%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/
+
+%post -n trinity-kscd
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kscd
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-libarts-akode
+Summary: Akode plugin for aRts
+Group: Environment/Libraries
+
+%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
+%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass
+
+%post -n trinity-libarts-akode
+/sbin/ldconfig
+
+%postun -n trinity-libarts-akode
+/sbin/ldconfig
+
+##########
+
+%package -n trinity-libarts-audiofile
+Summary: Audiofile plugin for aRts
+Group: Environment/Libraries
+
+%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
+
+%post -n trinity-libarts-audiofile
+/sbin/ldconfig
+
+%postun -n trinity-libarts-audiofile
+/sbin/ldconfig
+
+##########
+
+%package -n trinity-libarts-mpeglib
+Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video
+Group: Environment/Libraries
+
+%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
+
+%post -n trinity-libarts-mpeglib
+/sbin/ldconfig
+
+%postun -n trinity-libarts-mpeglib
+/sbin/ldconfig
+
+##########
+
+%if 0%{?with_xine}
+%package -n trinity-libarts-xine
+Summary: aRts plugin enabling xine support
+Group: Environment/Libraries
+
+%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
+
+%post -n trinity-libarts-xine
+/sbin/ldconfig
+
+%postun -n trinity-libarts-xine
+/sbin/ldconfig
+%endif
+
+##########
+
+%package -n trinity-libkcddb
+Summary: CDDB library for Trinity
+Group: Environment/Libraries
+
+%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/kconf_update/kcmcddb-emailsettings.upd
+%{tde_datadir}/config.kcfg/libkcddb.kcfg
+
+%post -n trinity-libkcddb
+/sbin/ldconfig
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-libkcddb
+/sbin/ldconfig
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-mpeglib
+Summary: MP3 and MPEG-1 audio and video library
+Group: Environment/Libraries
+Requires: trinity-libarts-mpeglib = %{version}-%{release}
+
+%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
+
+%post -n trinity-mpeglib
+/sbin/ldconfig
+
+%postun -n trinity-mpeglib
+/sbin/ldconfig
+
+##########
+
+%package -n trinity-noatun
+Summary: Media player for Trinity
+Group: Applications/Multimedia
+
+# 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}/kconf_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}/lib[kt]deinit_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/kconf_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/
+
+%post -n trinity-noatun
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-noatun
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package devel
+Summary: Development files for %{name}, aRts and noatun plugins
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tdelibs-devel >= 3.5.13
+
+Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release}
+Provides: trinity-kdemultimedia-devel = %{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}/*
+%{tde_libdir}/libarts_akode.so
+%{tde_libdir}/libarts_audiofile.so
+%{tde_libdir}/libarts_mpeglib.so
+%{tde_libdir}/libarts_splay.so
+%{?with_xine:%{tde_libdir}/libarts_xine.so}
+%{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}/lib[kt]deinit_kmix.la
+%{tde_libdir}/lib[kt]deinit_kmixctrl.la
+%{tde_libdir}/lib[kt]deinit_krec.la
+%{tde_libdir}/lib[kt]deinit_noatun.la
+%{tde_libdir}/libkmidlib.la
+%{tde_libdir}/libkmidlib.so
+%{tde_libdir}/libmpeg.la
+%{tde_libdir}/libmpeg.so
+%{tde_libdir}/libnoatun.la
+%{tde_libdir}/libnoatun.so
+%{tde_libdir}/libnoatuncontrols.la
+%{tde_libdir}/libnoatuncontrols.so
+%{tde_libdir}/libnoatuntags.la
+%{tde_libdir}/libnoatuntags.so
+%{tde_libdir}/libyafcore.la
+%{tde_libdir}/libyafxplayer.la
+
+%post devel
+/sbin/ldconfig
+
+%postun devel
+/sbin/ldconfig
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%patch0 -p1 -b .ftbfs
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i "admin/acinclude.m4.in" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+
+# Required for some distro
+export KDEDIRS="%{tde_prefix}"
+
+# Specific path for RHEL4
+if [ -d "/usr/X11R6" ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --includedir=%{tde_tdeincludedir} \
+ --datadir=%{tde_datadir} \
+ --enable-new-ldflags \
+ --disable-dependency-tracking \
+ --with-cdparanoia \
+ --with-flac \
+ --with-theora \
+ --with-vorbis \
+ --with-alsa \
+ --with-gstreamer \
+ --with-lame \
+ --disable-debug \
+ --disable-warnings \
+ --enable-final \
+ --disable-rpath \
+ %{?_with_akode} %{!?_with_akode:--without-akode} \
+ %{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \
+ %{?_with_taglib} %{!?_with_taglib:--without-taglib} \
+ %{?with_xine:--with-xine} %{!?with_xine:--without-xine} \
+ --with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_includedir}/tqt:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# don't make these world-writeable
+chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/*
+
+# locale's
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# Moves the XDG configuration files to TDE directory
+%__install -p -D -m644 \
+ "%{?buildroot}%{_sysconfdir}/xdg/menus/applications-merged/kde-multimedia-music.menu" \
+ "%{?buildroot}%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu"
+%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg"
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 17 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
+- Enable "LAME" support
+
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdenetwork/trinity-tdenetwork-3.5.13.2.spec b/redhat/tdenetwork/trinity-tdenetwork-3.5.13.2.spec
new file mode 100644
index 000000000..3bdc75398
--- /dev/null
+++ b/redhat/tdenetwork/trinity-tdenetwork-3.5.13.2.spec
@@ -0,0 +1,1198 @@
+# Avoids relinking, which breaks consolehelper
+%define dont_relink 1
+
+# If TDE is built iwn a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_sbindir %{tde_prefix}/sbin
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+# Fedora review: http://bugzilla.redhat.com/195486
+
+## Conditional build:
+# RHEL6: xmms is outdated !
+#define _with_xmms --with-xmms
+%ifnarch s390 s390x
+%define _with_wifi --with-wifi
+%endif
+
+Name: trinity-tdenetwork
+Version: 3.5.13.2
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+Summary: Trinity Desktop Environment - Network Applications
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+License: GPLv2
+Group: Applications/Internet
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Source1: kppp.pamd
+Source2: ktalk
+Source4: lisarc
+Source5: lisa.redhat
+
+# RedHat/Fedora legacy patches
+Patch3: kdenetwork-3.5.8-kppp.patch
+Patch4: kdenetwork-3.2.3-resolv.patch
+# include more/proper ppp headers
+Patch6: kdenetwork-3.5.9-krfb_httpd.patch
+
+# [kdenetwork] Missing LDFLAGS cause FTBFS
+Patch1: kdenetwork-3.5.13-missing_ldflags.patch
+
+# RHEL4 specific
+Patch201: kdenetwork-3.5.13.1-fix_rhel4_libraries.patch
+Patch202: tdenetwork-3.5.13.2-fix_conflicting_definitions.patch
+
+BuildRequires: gettext
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: coreutils
+BuildRequires: openssl-devel
+BuildRequires: sqlite-devel
+BuildRequires: gnutls-devel
+
+# GADU support
+%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_gadu 1
+BuildRequires: libgadu-devel
+%endif
+
+%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5
+BuildRequires: libXmu-devel
+BuildRequires: libXScrnSaver-devel
+BuildRequires: libXtst-devel
+BuildRequires: libXxf86vm-devel
+%endif
+
+# Wifi support
+%if "%{?_with_wifi:1}" == "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
+BuildRequires: wireless-tools
+%endif
+%if 0%{?suse_version} || 0%{?mgaversion} >= 3
+BuildRequires: libiw-devel
+%endif
+%endif
+
+# OpenSLP support
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_openslp 1
+BuildRequires: openslp-devel
+%endif
+
+%ifarch %{ix86}
+# BR: %{tde_includedir}/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
+
+# 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
+
+# MEANWHILE support
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version}
+%define with_meanwhile 1
+BuildRequires: meanwhile-devel
+%endif
+
+# ORTP support
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
+BuildRequires: ortp-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
+
+# Avoids relinking, which breaks consolehelper
+%define dont_relink 1
+%endif
+
+Obsoletes: trinity-kdenetwork < %{version}-%{release}
+Provides: trinity-kdenetwork = %{version}-%{release}
+Obsoletes: trinity-kdenetwork-libs < %{version}-%{release}
+Provides: trinity-kdenetwork-libs = %{version}-%{release}
+Obsoletes: trinity-kdenetwork-extras < %{version}-%{release}
+Provides: trinity-kdenetwork-extras = %{version}-%{release}
+Obsoletes: tdenetwork < %{version}-%{release}
+Provides: tdenetwork = %{version}-%{release}
+
+Requires: trinity-dcoprss = %{version}-%{release}
+Requires: %{name}-filesharing = %{version}-%{release}
+Requires: trinity-kdict = %{version}-%{release}
+Requires: %{name}-kfile-plugins = %{version}-%{release}
+Requires: trinity-kget = %{version}-%{release}
+Requires: trinity-knewsticker = %{version}-%{release}
+Requires: trinity-kopete = %{version}-%{release}
+Requires: trinity-kopete-nowlistening = %{version}-%{release}
+Requires: trinity-kpf = %{version}-%{release}
+Requires: trinity-kppp = %{version}-%{release}
+Requires: trinity-krdc = %{version}-%{release}
+Requires: trinity-krfb = %{version}-%{release}
+Requires: trinity-ksirc = %{version}-%{release}
+Requires: trinity-ktalkd = %{version}-%{release}
+Requires: trinity-kwifimanager = %{version}-%{release}
+Requires: trinity-librss = %{version}-%{release}
+Requires: trinity-lisa = %{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
+* kfile-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
+* kwifimanager: Wireless lan manager for Trinity
+* 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
+
+%post -n trinity-dcoprss
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-dcoprss
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package devel
+Summary: Development files for the Trinity network module
+Group: Development/Libraries
+Requires: trinity-kdict = %{version}-%{release}
+Requires: trinity-kopete = %{version}-%{release}
+Requires: trinity-ksirc = %{version}-%{release}
+Requires: trinity-librss = %{version}-%{release}
+Requires: trinity-kdelibs-devel
+
+Obsoletes: trinity-kdenetwork-devel < %{version}-%{release}
+Provides: trinity-kdenetwork-devel = %{version}-%{release}
+Obsoletes: tdenetwork-devel < %{version}-%{release}
+Provides: tdenetwork-devel = %{version}-%{release}
+
+%description devel
+This is the development package which contains the headers for the KDE 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/*.h
+%{tde_tdeincludedir}/kopete/ui/*.h
+%{tde_tdeincludedir}/rss/*.h
+%{tde_libdir}/libkdeinit_kdict.la
+%{tde_libdir}/libkdeinit_ksirc.la
+%{tde_libdir}/libkopete.la
+%{tde_libdir}/libkopete.so
+%{tde_libdir}/libkopete_msn_shared.la
+%{tde_libdir}/libkopete_msn_shared.so
+%{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
+
+%post devel
+/sbin/ldconfig
+
+%postun devel
+/sbin/ldconfig
+
+##########
+
+%package filesharing
+#Recommends: perl-suid
+Summary: Network filesharing configuration module for Trinity
+Group: Applications/Internet
+
+Obsoletes: tdenetwork-filesharing < %{version}-%{release}
+Provides: tdenetwork-filesharing = %{version}-%{release}
+
+%description filesharing
+This package provides a TDE 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/kcmsambaconf.png
+%{tde_datadir}/services/fileshare_propsdlgplugin.desktop
+
+%post filesharing
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun filesharing
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package -n trinity-kdict
+Summary: Dictionary client for Trinity
+Group: Applications/Internet
+
+%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}/libkdeinit_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
+
+%post -n trinity-kdict
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-kdict
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package kfile-plugins
+Summary: Torrent metainfo plugin for Trinity
+Group: Applications/Internet
+
+Obsoletes: tdenetwork-kfile-plugins < %{version}-%{release}
+Provides: tdenetwork-kfile-plugins = %{version}-%{release}
+
+%description kfile-plugins
+This package provides a metainformation plugin for bittorrent files.
+TDE uses kfile-plugins to provide metainfo tab in the files properties
+dialog in konqueror and other file-handling applications.
+
+%files kfile-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kfile_torrent.la
+%{tde_tdelibdir}/kfile_torrent.so
+%{tde_datadir}/services/kfile_torrent.desktop
+
+%post kfile-plugins
+update-desktop-database 2> /dev/null || :
+
+%postun kfile-plugins
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package -n trinity-kget
+Summary: download manager for Trinity
+Group: Applications/Internet
+
+%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}/khtml_kget.la
+%{tde_tdelibdir}/khtml_kget.so
+%{tde_tdeappdir}/kget.desktop
+%{tde_datadir}/apps/kget
+%{tde_datadir}/apps/khtml/kpartplugins/kget_plug_in.desktop
+%{tde_datadir}/apps/khtml/kpartplugins/kget_plug_in.rc
+%{tde_datadir}/apps/konqueror/servicemenus/kget_download.desktop
+%{tde_datadir}/icons/crystalsvg/*/actions/khtml_kget.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kget.png
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/kget_list.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
+
+%post -n trinity-kget
+for f in crystalsvg ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-kget
+for f in crystalsvg ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package -n trinity-knewsticker
+Summary: news ticker applet for Trinity
+Group: Applications/Internet
+
+%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/kconf_update/knewsticker.upd
+%{tde_datadir}/apps/kconf_update/knt-0.1-0.2.pl
+%{tde_datadir}/apps/kicker/applets/knewsticker.desktop
+%{tde_datadir}/apps/knewsticker/eventsrc
+%{tde_datadir}/icons/hicolor/*/apps/knewsticker.png
+%{tde_datadir}/services/kntsrcfilepropsdlg.desktop
+%{tde_tdedocdir}/HTML/en/knewsticker
+
+%post -n trinity-knewsticker
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-knewsticker
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package -n trinity-kopete
+Summary: instant messenger for Trinity
+Group: Applications/Internet
+URL: http://kopete.kde.org
+
+%description -n trinity-kopete
+Kopete is an instant messenger program which can communicate with a variety
+of IM systems, such as Yahoo, ICQ, MSN, 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/kconfiguredialog/*nowlistening*
+%exclude %{tde_datadir}/services/*nowlistening*
+%exclude %{tde_tdelibdir}/*nowlistening*
+# Main kopete package
+%{tde_bindir}/kopete
+%{tde_bindir}/kopete_latexconvert.sh
+%{tde_libdir}/kconf_update_bin/kopete-account-kconf_update
+%{tde_libdir}/kconf_update_bin/kopete-nameTracking-kconf_update
+%{tde_libdir}/kconf_update_bin/kopete-pluginloader2-kconf_update
+%{tde_tdelibdir}/kcm_kopete_*.so
+%{tde_tdelibdir}/kcm_kopete_*.la
+%{tde_tdelibdir}/kio_jabberdisco.la
+%{tde_tdelibdir}/kio_jabberdisco.so
+%{tde_tdelibdir}/kopete_*.la
+%{tde_tdelibdir}/kopete_*.so
+%{tde_tdelibdir}/libkrichtexteditpart.la
+%{tde_tdelibdir}/libkrichtexteditpart.so
+%{tde_libdir}/libkopete_msn_shared.so.*
+%{tde_libdir}/libkopete_oscar.so.*
+%{tde_libdir}/libkopete.so.*
+%{tde_libdir}/libkopete_videodevice.so.*
+%{tde_tdeappdir}/kopete.desktop
+%{tde_datadir}/apps/kconf_update/kopete-*
+%{tde_datadir}/apps/kopete
+%{tde_datadir}/apps/kopete_*/*.rc
+%{tde_datadir}/apps/kopeterichtexteditpart/kopeterichtexteditpartfull.rc
+%{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_original.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_original.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}/mimelnk/application/x-icq.desktop
+%{tde_datadir}/mimelnk/application/x-kopete-emoticons.desktop
+%{tde_datadir}/services/aim.protocol
+%{tde_datadir}/services/chatwindow.desktop
+%{tde_datadir}/services/emailwindow.desktop
+%{tde_datadir}/services/jabberdisco.protocol
+%{tde_datadir}/services/kconfiguredialog/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
+# motionaway plugin for kopete
+%{tde_datadir}/config.kcfg/motionawayconfig.kcfg
+# smpp plugin for kopete
+%{tde_datadir}/config.kcfg/smpppdcs.kcfg
+
+
+%post -n trinity-kopete
+for f in crystalsvg hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+/sbin/ldconfig
+
+%postun -n trinity-kopete
+for f in crystalsvg hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+/sbin/ldconfig
+
+##########
+
+%package -n trinity-kopete-nowlistening
+Summary: Nowlistening (xmms) plugin for Kopete.
+Group: Applications/Internet
+
+%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/kconfiguredialog/*nowlistening*
+%{tde_datadir}/services/*nowlistening*
+%{tde_tdelibdir}/*nowlistening*
+
+##########
+
+%package -n trinity-kpf
+Summary: Public fileserver for Trinity
+Group: Applications/Internet
+
+%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
+
+%post -n trinity-kpf
+for f in crystalsvg ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-kpf
+for f in crystalsvg ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package -n trinity-kppp
+Summary: modem dialer and ppp frontend for Trinity
+Group: Applications/Internet
+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,-)
+%{?!with_consolehelper:%{tde_bindir}/kppp}
+%{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/
+
+%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
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-kppp
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%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}/services/rdp.protocol
+%{tde_datadir}/services/vnc.protocol
+%{tde_tdedocdir}/HTML/en/krdc
+
+%post -n trinity-krdc
+for f in crystalsvg ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-krdc
+for f in crystalsvg ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%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/eventsrc
+%{tde_datadir}/apps/krfb
+%{tde_datadir}/icons/crystalsvg/*/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
+
+%post -n trinity-krfb
+for f in crystalsvg locolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-krfb
+for f in crystalsvg locolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package -n trinity-ksirc
+Summary: IRC client for Trinity
+Group: Applications/Internet
+
+%description -n trinity-ksirc
+KSirc is an IRC chat client for KDE. 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}/libkdeinit_ksirc.*
+%{tde_tdelibdir}/ksirc.*
+%{tde_tdeappdir}/ksirc.desktop
+%{tde_datadir}/apps/ksirc/
+%config(noreplace) %{tde_datadir}/config/ksircrc
+%{tde_datadir}/icons/hicolor/*/apps/ksirc.*
+%{tde_tdedocdir}/HTML/??/ksirc/
+
+%post -n trinity-ksirc
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+/sbin/ldconfig
+
+
+%postun -n trinity-ksirc
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+/sbin/ldconfig
+
+##########
+
+%package -n trinity-ktalkd
+Summary: Talk daemon for Trinity
+Group: Applications/Internet
+
+%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_datadir}/config/ktalkdrc
+%{tde_datadir}/icons/crystalsvg/*/apps/ktalkd.*
+%{tde_datadir}/sounds/ktalkd.wav
+%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk
+%{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd
+%{tde_tdedocdir}/HTML/en/ktalkd
+
+%post -n trinity-ktalkd
+for f in crystalsvg ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-ktalkd
+for f in crystalsvg ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%if "%{?_with_wifi:1}" == "1"
+%package -n trinity-kwifimanager
+Summary: Wireless lan manager for Trinity
+Group: Applications/Internet
+
+%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
+%doc %{tde_tdedocdir}/HTML/en/kwifimanager
+
+%post -n trinity-kwifimanager
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-kwifimanager
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+%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
+
+%post -n trinity-librss
+/sbin/ldconfig
+
+%postun -n trinity-librss
+/sbin/ldconfig
+
+##########
+
+%package -n trinity-lisa
+Summary: LAN information server for Trinity
+Group: Applications/Internet
+%if 0%{?suse_version}
+Requires(preun): aaa_base
+Requires(post): aaa_base
+%else
+Requires(preun): chkconfig
+Requires(post): chkconfig
+%endif
+
+%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,-)
+%config(noreplace) %{_sysconfdir}/lisarc*
+%config(noreplace) %{_initrddir}/lisa
+%{tde_tdelibdir}/kcm_lanbrowser.la
+%{tde_tdelibdir}/kcm_lanbrowser.so
+%{tde_tdelibdir}/kio_lan.la
+%{tde_tdelibdir}/kio_lan.so
+%{tde_datadir}/applnk/.hidden/kcmkiolan.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/README
+%{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
+
+%post -n trinity-lisa
+/sbin/chkconfig --add lisa ||:
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-lisa
+if [ $1 -eq 0 ]; then
+ /sbin/service lisa stop > /dev/null 2>&1 ||:
+ /sbin/chkconfig --del lisa ||:
+fi
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package -n trinity-kdnssd
+Summary: Zeroconf support for KDE
+Group: Applications/Internet
+
+%description -n trinity-kdnssd
+A kioslave and kded 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}/kio_zeroconf.so
+%{tde_tdelibdir}/kio_zeroconf.la
+%{tde_tdelibdir}/kded_dnssdwatcher.so
+%{tde_tdelibdir}/kded_dnssdwatcher.la
+
+%post -n trinity-kdnssd
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-kdnssd
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%patch1 -p1 -b .ldflags
+%patch3 -p1 -b .kppp
+%patch4 -p1 -b .resolv
+%patch6 -p1 -b .krfb_httpd
+
+%if 0%{?rhel} == 4
+%patch201 -p1 -b .rhel4
+%patch202 -p1 -b .rhel4
+%endif
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+export LD_LIBRARY_PATH="%{tde_libdir}"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DWITH_JINGLE=ON \
+ %{?with_speex:-DWITH_SPEEX=ON} \
+ -DWITH_WEBCAM=ON \
+ -DWITH_GSM=OFF \
+ -DWITH_XMMS=OFF \
+ -DWITH_ARTS=ON \
+ %{?with_openslp:-DWITH_SLP=ON} \
+ -DBUILD_ALL=ON \
+ -DBUILD_KOPETE_PLUGIN_ALL=ON \
+ -DBUILD_KOPETE_PROTOCOL_ALL=ON \
+ %{!?with_gadu:-DBUILD_KOPETE_PROTOCOL_GADU=OFF} \
+ %{!?with_meanwhile:-DBUILD_KOPETE_PROTOCOL_MEANWHILE=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
+
+
+## File lists
+# HTML (1.0)
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && %{__rm} -f $i/common && ln -sf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# Show only in KDE, FIXME, need to re-evaluate these -- Rex
+for i in fileshare kcmkrfb kcmktalkd kcmwifi krfb kppp kppplogview \
+ kwifimanager kget knewsticker ksirc kdict ; do
+ if [ -f %{buildroot}%{tde_tdeappdir}/$i.desktop ] ; then
+ echo "OnlyShowIn=KDE;" >> %{buildroot}%{tde_datadir}/applications/kde/$i.desktop
+ fi
+done
+
+%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
+
+# ktalk
+%__install -p -m 0644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/xinetd.d/ktalk
+
+# Add lisa startup script
+%__install -p -m 0644 -D %{SOURCE4} %{buildroot}%{_sysconfdir}/lisarc
+%__install -p -m 0755 -D %{SOURCE5} %{buildroot}%{_initrddir}/lisa
+
+# RHEL 5: Avoids conflict with 'kdenetwork'
+%if 0%{?rhel} == 5
+%__mv -f %{buildroot}%{_sysconfdir}/lisarc %{buildroot}%{_sysconfdir}/lisarc.tde
+%endif
+
+# Avoids conflict with trinity-kvirc
+%__mv -f %{buildroot}%{tde_datadir}/services/irc.protocol %{buildroot}%{tde_datadir}/apps/kopete/
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdepim/trinity-tdepim-3.5.13.2.spec b/redhat/tdepim/trinity-tdepim-3.5.13.2.spec
new file mode 100644
index 000000000..76b3392b9
--- /dev/null
+++ b/redhat/tdepim/trinity-tdepim-3.5.13.2.spec
@@ -0,0 +1,2251 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+BuildRequires: cmake >= 2.8
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+# KDEPIM specific features
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_gnokii 1
+BuildRequires: gnokii-devel
+%endif
+
+# TDEPIM optional features
+#define with_kitchensync 0
+
+
+Name: trinity-tdepim
+Version: 3.5.13.2
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+License: GPL
+Group: Applications/Productivity
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+Summary: Personal Information Management apps from the official Trinity release
+
+Prefix: %{tde_prefix}
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+# [tdepim] Missing LDFLAGS cause FTBFS on MGA2/MDV2011
+Patch14: kdepim-3.5.13-missing_ldflags.patch
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-libcaldav-devel
+BuildRequires: trinity-libcarddav-devel
+
+BuildRequires: gpgme-devel
+BuildRequires: libgpg-error-devel
+BuildRequires: flex
+BuildRequires: libical-devel
+BuildRequires: boost-devel
+BuildRequires: pcre-devel
+BuildRequires: glib2-devel
+BuildRequires: gcc-c++ make
+BuildRequires: libidn-devel
+
+# CURL support
+%if 0%{?fedora} >= 15
+BuildRequires: flex-static
+%endif
+%if 0%{?rhel} > 0 && 0%{?rhel} <= 5
+BuildRequires: trinity-libcurl-devel
+%else
+BuildRequires: curl-devel
+%endif
+
+# SASL support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}sasl2-devel
+%else
+BuildRequires: cyrus-sasl-devel
+%endif
+
+# XCOMPOSITE support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: libXcomposite-devel
+%endif
+
+# XSCREENSAVER support
+# Disabled on RHEL4
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
+%define with_xscreensaver 1
+%if 0%{?rhel} == 5
+BuildRequires: xorg-x11-proto-devel
+BuildRequires: gnome-screensaver
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
+%endif
+%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220
+BuildRequires: libXScrnSaver-devel
+%endif
+%if 0%{?suse_version} == 1140
+BuildRequires: xscreensaver
+%endif
+%endif
+
+
+Requires: trinity-libtdepim = %{version}-%{release}
+Requires: %{name}-kfile-plugins = %{version}-%{release}
+Requires: %{name}-tdeio-plugins = %{version}-%{release}
+Requires: %{name}-kresources = %{version}-%{release}
+Requires: %{name}-wizards = %{version}-%{release}
+Requires: trinity-akregator = %{version}-%{release}
+Requires: trinity-kaddressbook = %{version}-%{release}
+Requires: trinity-kalarm = %{version}-%{release}
+Requires: trinity-kandy = %{version}-%{release}
+Requires: trinity-karm = %{version}-%{release}
+Requires: trinity-kleopatra = %{version}-%{release}
+Requires: trinity-kmail = %{version}-%{release}
+Requires: trinity-kmailcvt = %{version}-%{release}
+Requires: trinity-kmobile = %{version}-%{release}
+Requires: trinity-knode = %{version}-%{release}
+Requires: trinity-knotes = %{version}-%{release}
+Requires: trinity-kode = %{version}-%{release}
+Requires: trinity-konsolekalendar = %{version}-%{release}
+Requires: trinity-kontact = %{version}-%{release}
+Requires: trinity-korganizer = %{version}-%{release}
+Requires: trinity-korn = %{version}-%{release}
+Requires: trinity-ktnef = %{version}-%{release}
+Requires: trinity-libindex = %{version}-%{release}
+Requires: trinity-libkcal = %{version}-%{release}
+Requires: trinity-libkgantt = %{version}-%{release}
+Requires: trinity-libkleopatra = %{version}-%{release}
+Requires: trinity-libkmime = %{version}-%{release}
+Requires: trinity-libkpimexchange = %{version}-%{release}
+Requires: trinity-libkpimidentities = %{version}-%{release}
+Requires: trinity-libksieve = %{version}-%{release}
+Requires: trinity-libktnef = %{version}-%{release}
+Requires: trinity-libmimelib = %{version}-%{release}
+
+Obsoletes: trinity-kdepim < %{version}-%{release}
+Provides: trinity-kdepim = %{version}-%{release}
+Obsoletes: tdepim < %{version}-%{release}
+Provides: tdepim = %{version}-%{release}
+
+%description
+This metapackage includes a collection of Personal Information Management
+(PIM) applications provided with the official release of Trinity.
+
+%files
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+
+Obsoletes: tdepim-cmake < %{version}-%{release}
+
+Obsoletes: trinity-kdepim-devel < %{version}-%{release}
+Provides: trinity-kdepim-devel = %{version}-%{release}
+Obsoletes: tdepim-devel < %{version}-%{release}
+Provides: tdepim-devel = %{version}-%{release}
+
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-akregator-devel = %{version}-%{release}
+Requires: trinity-libtdepim-devel = %{version}-%{release}
+Requires: trinity-kaddressbook-devel = %{version}-%{release}
+Requires: trinity-karm-devel = %{version}-%{release}
+Requires: trinity-kmail-devel = %{version}-%{release}
+Requires: trinity-knode-devel = %{version}-%{release}
+Requires: trinity-knotes-devel = %{version}-%{release}
+Requires: trinity-kode-devel = %{version}-%{release}
+Requires: trinity-kontact-devel = %{version}-%{release}
+Requires: trinity-korganizer-devel = %{version}-%{release}
+Requires: trinity-libindex-devel = %{version}-%{release}
+Requires: trinity-libkcal-devel = %{version}-%{release}
+Requires: trinity-libkgantt-devel = %{version}-%{release}
+Requires: trinity-libkleopatra-devel = %{version}-%{release}
+Requires: trinity-libkmime-devel = %{version}-%{release}
+Requires: trinity-libkpimexchange-devel = %{version}-%{release}
+Requires: trinity-libkpimidentities-devel = %{version}-%{release}
+Requires: trinity-libksieve-devel = %{version}-%{release}
+Requires: trinity-libktnef-devel = %{version}-%{release}
+Requires: trinity-libmimelib-devel = %{version}-%{release}
+Requires: %{name}-kresources-devel = %{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 = %{version}-%{release}
+Requires: trinity-libkcal = %{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/
+
+%post -n trinity-akregator
+/sbin/ldconfig || :
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-akregator
+/sbin/ldconfig || :
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-akregator-devel
+Summary: Development files for trinity-akregator
+Group: Development/Libraries
+Requires: trinity-akregator = %{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
+
+%post -n trinity-akregator-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-akregator-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kaddressbook
+Summary: TDE addressbook application
+Group: Applications/Communications
+Requires: trinity-kdebase-pim-ioslaves
+Requires: %{name}-kresources = %{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}/kabc2mutt
+%{tde_bindir}/kaddressbook
+%{tde_bindir}/kabcdistlistupdater
+%{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/kresources/kabc/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/kabcdistlistupdater.desktop
+%{tde_tdeincludedir}/kaddressbook/
+%{tde_tdeincludedir}/kabc/
+
+%post -n trinity-kaddressbook
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kaddressbook
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kaddressbook-devel
+Summary: Development files for trinity-kaddressbook
+Group: Development/Libraries
+Requires: trinity-kaddressbook = %{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
+
+%post -n trinity-kaddressbook-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kaddressbook-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kalarm
+Summary: Trinity alarm message, command and email scheduler
+Group: Applications/Communications
+Requires: trinity-libkpimidentities = %{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/
+
+%post -n trinity-kalarm
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kalarm
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%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}/config.kcfg/kandy.kcfg
+%{tde_tdedocdir}/HTML/en/kandy/
+
+%post -n trinity-kandy
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kandy
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%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/
+
+%post -n trinity-karm
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-karm
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-karm-devel
+Summary: Development files for karm
+Group: Development/Libraries
+
+%description -n trinity-karm-devel
+%{summary}
+
+%files -n trinity-karm-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkarm.so
+%{tde_libdir}/libkarm.la
+
+%post -n trinity-karm-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-karm-devel
+/sbin/ldconfig || :
+
+##########
+
+%package kfile-plugins
+Summary: TDE File dialog plugins for palm and vcf files
+Group: Environment/Libraries
+
+Obsoletes: tdepim-kfile-plugins < %{version}-%{release}
+
+%description kfile-plugins
+File dialog plugins for palm and vcf files.
+
+%files kfile-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kfile_ics.la
+%{tde_tdelibdir}/kfile_ics.so
+%{tde_tdelibdir}/kfile_vcf.la
+%{tde_tdelibdir}/kfile_vcf.so
+%{tde_datadir}/services/kfile_ics.desktop
+%{tde_datadir}/services/kfile_vcf.desktop
+
+##########
+
+%package tdeio-plugins
+Summary: Trinity PIM I/O Slaves
+Group: Environment/Libraries
+
+Obsoletes: tdepim-kio-plugins < %{version}-%{release}
+Obsoletes: trinity-tdepim-kio-plugins < %{version}-%{release}
+Provides: trinity-tdepim-kio-plugins = %{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}/kio_groupwise.la
+%{tde_tdelibdir}/kio_groupwise.so
+%{tde_tdelibdir}/kio_imap4.la
+%{tde_tdelibdir}/kio_imap4.so
+%{tde_tdelibdir}/kio_mbox.la
+%{tde_tdelibdir}/kio_mbox.so
+%{tde_tdelibdir}/kio_scalix.la
+%{tde_tdelibdir}/kio_scalix.so
+%{tde_tdelibdir}/kio_sieve.la
+%{tde_tdelibdir}/kio_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
+
+##########
+
+%package kresources
+Summary: Trinity pim resource plugins
+Group: Environment/Libraries
+#Requires: trinity-kaddressbook = %{version}-%{release}
+#Requires: trinity-korganizer = %{version}-%{release}
+#Requires: trinity-knotes = %{version}-%{release}
+Requires: libcaldav
+Requires: libcarddav
+
+Obsoletes: tdepim-kresources < %{version}-%{release}
+
+%description kresources
+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 kresources
+%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}/libkabckolab.so.*
+%{tde_libdir}/libkabcscalix.so.*
+%{tde_libdir}/libkabc_groupdav.so.*
+%{tde_libdir}/libkabc_groupwise.so.*
+%{tde_libdir}/libkabc_newexchange.so.*
+%{tde_libdir}/libkabc_slox.so.*
+%{tde_libdir}/libkabc_xmlrpc.so.*
+%{tde_libdir}/libkcalkolab.so.*
+%{tde_libdir}/libkcalscalix.so.*
+%{tde_libdir}/libkcal_caldav.so.*
+%{tde_libdir}/libkabc_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/kresources/kabc/kabc_groupdav.desktop
+%{tde_datadir}/services/kresources/kabc/kabc_groupwise.desktop
+%{tde_datadir}/services/kresources/kabc/kabc_newexchange.desktop
+%{tde_datadir}/services/kresources/kabc/kabc_opengroupware.desktop
+%{tde_datadir}/services/kresources/kabc/kabc_ox.desktop
+%{tde_datadir}/services/kresources/kabc/kabc_slox.desktop
+%{tde_datadir}/services/kresources/kabc/kabc_xmlrpc.desktop
+%{tde_datadir}/services/kresources/kabc/kolab.desktop
+%{tde_datadir}/services/kresources/kabc/scalix.desktop
+%{tde_datadir}/services/kresources/kcal/exchange.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_caldav.desktop
+%{tde_datadir}/services/kresources/kabc/kabc_carddav.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_groupdav.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_groupwise.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_newexchange.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_opengroupware.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_ox.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_resourcefeatureplan.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_slox.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_xmlrpc.desktop
+%{tde_datadir}/services/kresources/kcal/kolab.desktop
+%{tde_datadir}/services/kresources/kcal/scalix.desktop
+%{tde_datadir}/services/kresources/knotes/knotes_xmlrpc.desktop
+%{tde_datadir}/services/kresources/knotes/kolabresource.desktop
+%{tde_datadir}/services/kresources/knotes/scalix.desktop
+
+%{tde_datadir}/apps/kconf_update/upgrade-resourcetype.pl
+%{tde_datadir}/apps/kconf_update/kolab-resource.upd
+
+%{tde_tdelibdir}/kabc_carddav.la
+%{tde_tdelibdir}/kabc_carddav.so
+%{tde_tdelibdir}/kabc_groupdav.la
+%{tde_tdelibdir}/kabc_groupdav.so
+%{tde_tdelibdir}/kabc_groupwise.la
+%{tde_tdelibdir}/kabc_groupwise.so
+%{tde_tdelibdir}/kabc_kolab.la
+%{tde_tdelibdir}/kabc_kolab.so
+%{tde_tdelibdir}/kabc_newexchange.la
+%{tde_tdelibdir}/kabc_newexchange.so
+%{tde_tdelibdir}/kabc_scalix.la
+%{tde_tdelibdir}/kabc_scalix.so
+%{tde_tdelibdir}/kabc_slox.la
+%{tde_tdelibdir}/kabc_slox.so
+%{tde_tdelibdir}/kabc_xmlrpc.la
+%{tde_tdelibdir}/kabc_xmlrpc.so
+
+%post kresources
+/sbin/ldconfig || :
+
+%postun kresources
+/sbin/ldconfig || :
+
+##########
+
+%package kresources-devel
+Summary: Development files for kresources
+Group: Development/Libraries
+Requires: %{name}-kresources = %{version}-%{release}
+Requires: libcaldav
+Requires: libcarddav
+
+Obsoletes: tdepim-kresources-devel < %{version}-%{release}
+
+%description kresources-devel
+%{summary}
+
+%files kresources-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkslox.la
+%{tde_libdir}/libkslox.so
+%{tde_libdir}/libkabc_groupdav.la
+%{tde_libdir}/libkabc_groupdav.so
+%{tde_libdir}/libkabc_groupwise.la
+%{tde_libdir}/libkabc_groupwise.so
+%{tde_libdir}/libgwsoap.la
+%{tde_libdir}/libgwsoap.so
+%{tde_libdir}/libkabc_carddav.la
+%{tde_libdir}/libkabc_carddav.so
+%{tde_libdir}/libkabc_newexchange.la
+%{tde_libdir}/libkabc_newexchange.so
+%{tde_libdir}/libkabc_slox.la
+%{tde_libdir}/libkabc_slox.so
+%{tde_libdir}/libkabc_xmlrpc.la
+%{tde_libdir}/libkabc_xmlrpc.so
+%{tde_libdir}/libkabckolab.la
+%{tde_libdir}/libkabckolab.so
+%{tde_libdir}/libkabcscalix.la
+%{tde_libdir}/libkabcscalix.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
+
+%post kresources-devel
+/sbin/ldconfig || :
+
+%postun kresources-devel
+/sbin/ldconfig || :
+
+##########
+
+%package wizards
+Summary: Trinity server configuration wizards
+Group: Applications/Communications
+
+Obsoletes: tdepim-wizards < %{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
+
+%post wizards
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun wizards
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%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
+
+%post -n trinity-kitchensync
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kitchensync
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+%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_tdedocdir}/HTML/en/kleopatra/
+%{tde_tdedocdir}/HTML/en/kwatchgnupg/
+
+%post -n trinity-kleopatra
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kleopatra
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmail
+Summary: Trinity Email client
+Group: Applications/Communications
+Requires: %{name}-tdeio-plugins = %{version}-%{release}
+Requires: trinity-tdebase-tdeio-pim-plugins >= %{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 = %{version}-%{release}
+Requires: trinity-kleopatra = %{version}-%{release}
+Requires: trinity-tdebase-tdeio-pim-plugins >= %{version}-%{release}
+
+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,-)
+%{tde_datadir}/config/kmail.antispamrc
+%{tde_datadir}/config/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/kconf_update/kmail-3.1-update-new-mail-notification-settings.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.1-use-UOID-for-identities.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.1.4-dont-use-UOID-0-for-any-identity.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.2-misc.sh
+%{tde_datadir}/apps/kconf_update/kmail-3.2-update-loop-on-goto-unread-settings.sh
+%{tde_datadir}/apps/kconf_update/kmail-3.3-aegypten.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.3-misc.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.3-move-identities.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.3-split-sign-encr-keys.sh
+%{tde_datadir}/apps/kconf_update/kmail-3.3-use-ID-for-accounts.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.3b1-misc.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.4-misc.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.4.1-update-status-filters.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.5-trigger-flag-migration.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.5-filter-icons.pl
+%{tde_datadir}/apps/kconf_update/kmail-pgpidentity.pl
+%{tde_datadir}/apps/kconf_update/kmail-upd-identities.pl
+%{tde_datadir}/apps/kconf_update/kmail.upd
+%{tde_datadir}/apps/kconf_update/upgrade-signature.pl
+%{tde_datadir}/apps/kconf_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/
+
+%post -n trinity-kmail
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kmail
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmail-devel
+Summary: Development files for kmail
+Group: Development/Libraries
+
+%description -n trinity-kmail-devel
+%{summary}
+
+%files -n trinity-kmail-devel
+%defattr(-,root,root,-)
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kmail/
+%{tde_tdeincludedir}/kmail*.h
+
+%post -n trinity-kmail-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kmail-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kmailcvt
+Summary: Trinity KMail mail folder converter
+Group: Applications/Communications
+Requires: trinity-kmail = %{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
+
+%post -n trinity-kmailcvt
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+%postun -n trinity-kmailcvt
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+##########
+
+%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/
+
+%post -n trinity-knode
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-knode
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-knode-devel
+Summary: Development files for trinity-knode
+Group: Development/Libraries
+Requires: trinity-knode = %{version}-%{release}
+
+%description -n trinity-knode-devel
+%{summary}
+
+%files -n trinity-knode-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libknodecommon.la
+%{tde_libdir}/libknodecommon.so
+
+%post -n trinity-knode-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-knode-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-knotes
+Summary: Trinity sticky notes
+Group: Applications/Utilities
+Requires: trinity-tdepim-kresources = %{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/kresources/knotes/imap.desktop
+%{tde_datadir}/services/kresources/knotes/local.desktop
+%{tde_datadir}/services/kresources/knotes_manager.desktop
+%{tde_datadir}/services/kontact/knotesplugin.desktop
+%{tde_tdedocdir}/HTML/en/knotes/
+
+%post -n trinity-knotes
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-knotes
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-knotes-devel
+Summary: Development files for knots
+Group: Development/Libraries
+Requires: trinity-knotes = %{version}-%{release}
+Requires: %{name}-kresources-devel = %{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
+
+%post -n trinity-knotes-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-knotes-devel
+/sbin/ldconfig || :
+
+##########
+
+%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.*
+
+%post -n trinity-kode
+/sbin/ldconfig || :
+
+%postun -n trinity-kode
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kode-devel
+Summary: Development files for trinity-kode
+Group: Development/Libraries
+Requires: trinity-kode = %{version}-%{release}
+
+%description -n trinity-kode-devel
+%{summary}
+
+%files -n trinity-kode-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkode.la
+%{tde_libdir}/libkode.so
+
+%post -n trinity-kode-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kode-devel
+/sbin/ldconfig || :
+
+##########
+
+%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/
+
+%post -n trinity-konsolekalendar
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-konsolekalendar
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kontact
+Summary: Trinity pim application
+Group: Applications/Communications
+Requires: trinity-kmail = %{version}-%{release}
+Requires: trinity-korganizer = %{version}-%{release}
+Requires: trinity-kaddressbook = %{version}-%{release}
+Requires: trinity-knode = %{version}-%{release}
+Requires: trinity-knotes = %{version}-%{release}
+Requires: trinity-akregator = %{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/kontactsummary_part.rc
+%{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
+%{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/
+%{tde_tdedocdir}/HTML/en/kpilot/
+
+%post -n trinity-kontact
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kontact
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kontact-devel
+Summary: Development files for kontact
+Group: Development/Libraries
+Requires: trinity-kontact = %{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/
+
+%post -n trinity-kontact-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kontact-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-korganizer
+Summary: Trinity personal organizer
+Group: Applications/Productivity
+Requires: trinity-libkpimidentities = %{version}-%{release}
+Requires: trinity-libkpimexchange = %{version}-%{release}
+Requires: %{name}-kresources = %{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/kconf_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
+%{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/
+
+%post -n trinity-korganizer
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-korganizer
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-korganizer-devel
+Summary: Development files for korganizer
+Group: Development/Libraries
+Requires: trinity-korganizer = %{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
+
+%post -n trinity-korganizer-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-korganizer-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-korn
+Summary: Trinity mail checker
+Group: Applications/Communications
+Requires: %{name}-tdeio-plugins = %{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}/kconf_update_bin/korn-3-4-config_change
+%{tde_tdeappdir}/KOrn.desktop
+%{tde_datadir}/apps/kconf_update/korn-3-4-config_change.upd
+%{tde_datadir}/apps/kconf_update/korn-3-5-metadata-update.pl
+%{tde_datadir}/apps/kconf_update/korn-3-5-ssl-update.pl
+%{tde_datadir}/apps/kconf_update/korn-3-5-update.upd
+%{tde_datadir}/icons/hicolor/*/apps/korn.png
+%{tde_tdedocdir}/HTML/en/korn/
+
+%post -n trinity-korn
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-korn
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%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/
+
+%post -n trinity-ktnef
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ktnef
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%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.*
+
+%post -n trinity-libindex
+/sbin/ldconfig || :
+
+%postun -n trinity-libindex
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libindex-devel
+Summary: Trinity indexing library [development]
+Group: Development/Libraries
+Requires: trinity-libindex = %{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
+
+%post -n trinity-libindex-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libindex-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkcal
+Summary: Trinity calendaring library
+Group: Environment/Libraries
+#Requires: %{name}-kresources = %{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_kabc.la
+%{tde_tdelibdir}/kcal_kabc.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
+%{tde_datadir}/services/kresources/kcal/imap.desktop
+%{tde_datadir}/services/kresources/kcal/kabc.desktop
+%{tde_datadir}/services/kresources/kcal/local.desktop
+%{tde_datadir}/services/kresources/kcal/localdir.desktop
+%{tde_datadir}/services/kresources/kcal/remote.desktop
+%{tde_datadir}/services/kresources/kcal_manager.desktop
+
+%post -n trinity-libkcal
+/sbin/ldconfig || :
+
+%postun -n trinity-libkcal
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkcal-devel
+Summary: Trinity calendaring library [development]
+Group: Development/Libraries
+Requires: trinity-libkcal = %{version}-%{release}
+Requires: trinity-libtdepim-devel = %{version}-%{release}
+Requires: trinity-libktnef-devel = %{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/idmapper.h
+%{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
+
+%post -n trinity-libkcal-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkcal-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libtdepim
+Summary: Trinity PIM library
+Group: Environment/Libraries
+Requires: trinity-libkcal = %{version}-%{release}
+
+Obsoletes: libtdepim < %{version}-%{release}
+Provides: libtdepim = %{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/[kt]depimwidgets.la
+%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.so
+%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.la
+%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.so
+%{tde_libdir}/lib[kt]depim.so.*
+%{tde_datadir}/apps/[kt]depimwidgets
+%{tde_datadir}/apps/lib[kt]depim
+%{tde_datadir}/apps/[kt]depim
+%{tde_datadir}/config.kcfg/pimemoticons.kcfg
+%{tde_datadir}/icons/crystalsvg/22x22/actions/button_fewer.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/button_more.png
+
+%post -n trinity-libtdepim
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-libtdepim
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libtdepim-devel
+Summary: Trinity PIM library [development]
+Group: Development/Libraries
+Requires: trinity-libtdepim = %{version}-%{release}
+Requires: trinity-tdelibs-devel >= %{version}
+
+Obsoletes: libtdepim-devel < %{version}-%{release}
+Provides: libtdepim-devel = %{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_tdeincludedir}/[kt]depimmacros.h
+%{tde_libdir}/lib[kt]depim.la
+%{tde_libdir}/lib[kt]depim.so
+
+%post -n trinity-libtdepim-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libtdepim-devel
+/sbin/ldconfig || :
+
+##########
+
+%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
+
+%post -n trinity-libkgantt
+/sbin/ldconfig || :
+
+%postun -n trinity-libkgantt
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkgantt-devel
+Summary: Trinity gantt charting library [development]
+Group: Development/Libraries
+Requires: trinity-libkgantt = %{version}-%{release}
+Requires: trinity-libtdepim-devel = %{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
+
+%post -n trinity-libkgantt-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkgantt-devel
+/sbin/ldconfig || :
+
+##########
+
+%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,-)
+%{tde_datadir}/config/libkleopatrarc
+%{tde_libdir}/libgpgme++.so.*
+%{tde_libdir}/libkleopatra.so.*
+%{tde_libdir}/libkpgp.so.*
+%{tde_libdir}/libqgpgme.so.*
+%{tde_datadir}/apps/kconf_update/kpgp-3.1-upgrade-address-data.pl
+%{tde_datadir}/apps/kconf_update/kpgp.upd
+%{tde_datadir}/apps/libkleopatra/
+%{tde_datadir}/icons/crystalsvg/*/apps/gpg.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gpgsm.png
+
+%post -n trinity-libkleopatra
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-libkleopatra
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkleopatra-devel
+Summary: Trinity GnuPG interface libraries [development]
+Group: Development/Libraries
+Requires: trinity-libkleopatra = %{version}-%{release}
+Requires: trinity-libtdepim-devel = %{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
+
+%post -n trinity-libkleopatra-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkleopatra-devel
+/sbin/ldconfig || :
+
+##########
+
+%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.*
+
+%post -n trinity-libkmime
+/sbin/ldconfig || :
+
+%postun -n trinity-libkmime
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkmime-devel
+Summary: Development files for libkmime
+Group: Development/Libraries
+Requires: trinity-libkmime = %{version}-%{release}
+
+%description -n trinity-libkmime-devel
+%{summary}
+
+%files -n trinity-libkmime-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkmime.la
+%{tde_libdir}/libkmime.so
+
+%post -n trinity-libkmime-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkmime-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkpimexchange
+Summary: Trinity PIM Exchange library
+Group: Environment/Libraries
+
+%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.*
+
+%post -n trinity-libkpimexchange
+/sbin/ldconfig || :
+
+%postun -n trinity-libkpimexchange
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkpimexchange-devel
+Summary: Trinity PIM Exchange library [development]
+Group: Development/Libraries
+Requires: trinity-libkpimexchange = %{version}-%{release}
+Requires: trinity-libkcal-devel = %{version}-%{release}
+Requires: trinity-libtdepim-devel = %{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,-)
+%{tde_tdeincludedir}/[kt]depim/exchangeaccount.h
+%{tde_tdeincludedir}/[kt]depim/exchangeclient.h
+%{tde_libdir}/libkpimexchange.la
+%{tde_libdir}/libkpimexchange.so
+
+%post -n trinity-libkpimexchange-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkpimexchange-devel
+/sbin/ldconfig || :
+
+##########
+
+%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.*
+
+%post -n trinity-libkpimidentities
+/sbin/ldconfig || :
+
+%postun -n trinity-libkpimidentities
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkpimidentities-devel
+Summary: Development files for libkpimidentities
+Group: Development/Libraries
+Requires: trinity-libkpimidentities = %{version}-%{release}
+
+%description -n trinity-libkpimidentities-devel
+%{summary}
+
+%files -n trinity-libkpimidentities-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkpimidentities.la
+%{tde_libdir}/libkpimidentities.so
+
+%post -n trinity-libkpimidentities-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkpimidentities-devel
+/sbin/ldconfig || :
+
+##########
+
+%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.*
+
+%post -n trinity-libksieve
+/sbin/ldconfig || :
+
+%postun -n trinity-libksieve
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libksieve-devel
+Summary: Trinity mail/news message filtering library [development]
+Group: Development/Libraries
+Requires: trinity-libksieve = %{version}-%{release}
+Requires: trinity-libtdepim-devel = %{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
+
+%post -n trinity-libksieve-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libksieve-devel
+/sbin/ldconfig || :
+
+##########
+
+%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.*
+
+%post -n trinity-libktnef
+/sbin/ldconfig || :
+
+%postun -n trinity-libktnef
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libktnef-devel
+Summary: KTNEF handler library [development]
+Group: Development/Libraries
+Requires: trinity-libktnef = %{version}-%{release}
+Requires: trinity-libtdepim-devel = %{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
+
+%post -n trinity-libktnef-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libktnef-devel
+/sbin/ldconfig || :
+
+##########
+
+%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.*
+
+%post -n trinity-libmimelib
+/sbin/ldconfig || :
+
+%postun -n trinity-libmimelib
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libmimelib-devel
+Summary: Trinity mime library [development]
+Group: Development/Libraries
+Requires: trinity-libmimelib = %{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
+
+%post -n trinity-libmimelib-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libmimelib-devel
+/sbin/ldconfig || :
+
+##########
+
+%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.kde/32x32/devices/mobile_camera.png
+%{tde_datadir}/icons/default.kde/32x32/devices/mobile_musicplayer.png
+%{tde_datadir}/icons/default.kde/32x32/devices/mobile_organizer.png
+%{tde_datadir}/icons/default.kde/32x32/devices/mobile_phone.png
+%{tde_datadir}/icons/default.kde/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/kmobileui.rc
+%{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
+
+%post -n trinity-kmobile
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kmobile
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+%patch14 -p1 -b .ldflags
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+export LD_LIBRARY_PATH="%{tde_libdir}"
+
+# Specific path for RHEL4
+if [ -d "/usr/X11R6" ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -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
+
+
+%clean
+%__rm -rf %{?buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdesdk/trinity-tdesdk-3.5.13.2.spec b/redhat/tdesdk/trinity-tdesdk-3.5.13.2.spec
new file mode 100644
index 000000000..22d097f2b
--- /dev/null
+++ b/redhat/tdesdk/trinity-tdesdk-3.5.13.2.spec
@@ -0,0 +1,1159 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+
+Name: trinity-tdesdk
+Summary: The KDE Software Development Kit (SDK)
+Version: 3.5.13.2
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2
+Group: User Interface/Desktops
+URL: http://www.trinitydesktop.org/
+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}.tar.gz
+
+BuildRequires: cmake >= 2.8
+BuildRequires: libtool
+BuildRequires: pcre-devel
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+# for kbugbuster/libkcal
+BuildRequires: trinity-tdepim-devel >= %{version}
+%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
+BuildRequires: desktop-file-utils
+# kbabel, F-7+: flex >= 2.5.33-9
+BuildRequires: flex
+# umbrello
+BuildRequires: libxslt-devel
+BuildRequires: libxml2-devel
+BuildRequires: perl
+BuildRequires: subversion-devel
+BuildRequires: neon-devel
+
+%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 < %{version}-%{release}
+Provides: trinity-kdesdk = %{version}-%{release}
+Obsoletes: trinity-kdesdk-libs < %{version}-%{release}
+Provides: trinity-kdesdk-libs = %{version}-%{release}
+
+Requires: trinity-cervisia = %{version}-%{release}
+Requires: trinity-kapptemplate = %{version}-%{release}
+Requires: trinity-kbabel = %{version}-%{release}
+Requires: trinity-kbugbuster = %{version}-%{release}
+Requires: trinity-tdecachegrind = %{version}-%{release}
+Requires: trinity-tdecachegrind-converters = %{version}-%{release}
+Requires: %{name}-kfile-plugins = %{version}-%{release}
+Requires: %{name}-misc = %{version}-%{release}
+Requires: %{name}-scripts = %{version}-%{release}
+Requires: trinity-kmtrace = %{version}-%{release}
+Requires: trinity-kompare = %{version}-%{release}
+Requires: trinity-kspy = %{version}-%{release}
+Requires: trinity-kuiviewer = %{version}-%{release}
+Requires: trinity-libcvsservice0 = %{version}-%{release}
+Requires: trinity-libcvsservice-devel = %{version}-%{release}
+Requires: trinity-poxml = %{version}-%{release}
+Requires: trinity-umbrello = %{version}-%{release}
+%{?build_kioslave:Requires: %{name}-tdeio-plugins = %{version}-%{release}}
+Requires: trinity-kunittest = %{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
+* kcachegrind: 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
+
+##########
+
+%package -n trinity-cervisia
+Summary: A graphical CVS front end for Trinity
+Group: Development/Utilities
+
+%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
+%{tde_bindir}/cervisia
+%{tde_libdir}/lib[kt]deinit_cervisia.la
+%{tde_libdir}/lib[kt]deinit_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/cervisiaui.rc
+%{tde_datadir}/apps/kconf_update/cervisia.upd
+%{tde_datadir}/apps/kconf_update/cervisia-change_repos_list.pl
+%{tde_datadir}/apps/kconf_update/cervisia-normalize_cvsroot.pl
+%{tde_datadir}/apps/kconf_update/move_repositories.pl
+%{tde_datadir}/apps/kconf_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/
+
+%post -n trinity-cervisia
+/sbin/ldconfig || :
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-cervisia
+/sbin/ldconfig || :
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kapptemplate
+Summary: Creates a framework to develop a Trinity application
+Group: Development/Utilities
+
+%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
+%{tde_bindir}/kapptemplate
+%{tde_datadir}/apps/kapptemplate/
+
+%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/Utilities
+
+%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
+%{tde_bindir}/catalogmanager
+%{tde_bindir}/kbabel
+%{tde_bindir}/kbabeldict
+%{tde_libdir}/libkbabelcommon.so.*
+%{tde_libdir}/libkbabeldictplugin.so.*
+%{tde_tdelibdir}/kfile_po.la
+%{tde_tdelibdir}/kfile_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/catalogmanagerui.rc
+%{tde_datadir}/apps/kbabel/
+%{tde_datadir}/apps/kconf_update/kbabel-difftoproject.upd
+%{tde_datadir}/apps/kconf_update/kbabel-project.upd
+%{tde_datadir}/apps/kconf_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/kfile_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
+
+%post -n trinity-kbabel
+/sbin/ldconfig || :
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbabel
+/sbin/ldconfig || :
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kbabel-devel
+Summary: PO-file editing suite for Trinity (development files)
+Group: Development/Libraries
+Requires: trinity-kbabel = %{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
+%{tde_tdeincludedir}/kbabel/
+%{tde_libdir}/libkbabelcommon.la
+%{tde_libdir}/libkbabelcommon.so
+%{tde_libdir}/libkbabeldictplugin.la
+%{tde_libdir}/libkbabeldictplugin.so
+
+%post -n trinity-kbabel-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kbabel-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kbugbuster
+Summary: a front end for the Trinity bug tracking system
+Group: Development/Utilities
+
+%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
+%{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/kresources/kcal/bugzilla.desktop
+%{tde_tdedocdir}/HTML/en/kbugbuster/
+
+%post -n trinity-kbugbuster
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbugbuster
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-tdecachegrind
+Summary: visualisation tool for valgrind profiling output
+Group: Development/Utilities
+
+%description -n trinity-tdecachegrind
+KCachegrind 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
+%{tde_bindir}/kcachegrind
+%{tde_tdeappdir}/kcachegrind.desktop
+%{tde_datadir}/apps/kcachegrind/
+%{tde_datadir}/icons/locolor/*/apps/kcachegrind.png
+%{tde_datadir}/icons/hicolor/*/apps/kcachegrind.png
+%{tde_datadir}/mimelnk/application/x-kcachegrind.desktop
+%{tde_tdedocdir}/HTML/en/kcachegrind/
+
+%post -n trinity-tdecachegrind
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-tdecachegrind
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-tdecachegrind-converters
+Summary: format converters for KCachegrind profiling visualisation tool
+Group: Development/Utilities
+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 KCachegrind can use.
+
+KCachegrind 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
+%{tde_bindir}/dprof2calltree
+%{tde_bindir}/hotshot2calltree
+%{tde_bindir}/memprof2calltree
+%{tde_bindir}/op2calltree
+%{tde_bindir}/pprof2calltree
+
+##########
+
+%package kfile-plugins
+Summary: Trinity file dialog plugins for software development files
+Group: Environment/Libraries
+
+%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
+%{tde_tdelibdir}/kfile_cpp.so
+%{tde_tdelibdir}/kfile_cpp.la
+%{tde_tdelibdir}/kfile_diff.so
+%{tde_tdelibdir}/kfile_diff.la
+%{tde_tdelibdir}/kfile_ts.so
+%{tde_tdelibdir}/kfile_ts.la
+%{tde_datadir}/services/kfile_cpp.desktop
+%{tde_datadir}/services/kfile_diff.desktop
+%{tde_datadir}/services/kfile_h.desktop
+%{tde_datadir}/services/kfile_ts.desktop
+
+##########
+
+%package misc
+Summary: various goodies from the Trinity Software Development Kit
+Group: Development/Libraries
+
+%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
+%{tde_tdeincludedir}/kprofilemethod.h
+%{tde_tdelibdir}/kabcformat_kdeaccounts.la
+%{tde_tdelibdir}/kabcformat_kdeaccounts.so
+%{tde_tdelibdir}/plugins/styles/scheck.so
+%{tde_tdelibdir}/plugins/styles/scheck.la
+%{tde_datadir}/apps/kabc/formats/kdeaccountsplugin.desktop
+%{tde_datadir}/apps/kstyle/themes/scheck.themerc
+%{tde_datadir}/kdepalettes/
+
+%{tde_libdir}/libkstartperf.so.*
+%{tde_libdir}/libkstartperf.so
+%{tde_libdir}/libkstartperf.la
+%{tde_bindir}/kstartperf
+
+%post misc
+/sbin/ldconfig || :
+
+%postun misc
+/sbin/ldconfig || :
+
+##########
+
+%package scripts
+Summary: a set of useful development scripts for Trinity
+Group: Development/Utilities
+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
+%{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}/kdekillall
+%{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}/[kt]desvn-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/[kt]desvn-buildrc.xml
+%{tde_mandir}/man1/cvsblame.1
+%{tde_mandir}/man1/cvscheck.1
+%{tde_mandir}/man1/cvsversion.1
+%{tde_mandir}/man1/kde-build.1
+%{tde_mandir}/man1/includemocs.1
+%{tde_mandir}/man1/noncvslist.1
+%{tde_mandir}/man1/[kt]desvn-build.1
+%{tde_tdedocdir}/HTML/en/[kt]desvn-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/Utilities
+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
+%{tde_bindir}/demangle
+%{tde_bindir}/kminspector
+%{tde_bindir}/kmmatch
+%{tde_bindir}/kmtrace
+%{tde_tdeincludedir}/ktrace.h
+%{tde_libdir}/kmtrace/libktrace.la
+%{tde_libdir}/kmtrace/libktrace.so
+%{tde_libdir}/kmtrace/libktrace_s.a
+%{tde_datadir}/apps/kmtrace/kde.excludes
+
+##########
+
+%package -n trinity-kompare
+Summary: a Trinity GUI for viewing differences between files
+Group: Development/Utilities
+
+%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
+%{tde_bindir}/kompare
+%{tde_libdir}/libkompareinterface.la
+%{tde_libdir}/libkompareinterface.so
+%{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/komparepartui.rc
+%{tde_datadir}/apps/kompare/kompareui.rc
+%{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/
+
+%post -n trinity-kompare
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kompare
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kspy
+Summary: examines the internal state of a Qt/TDE app
+Group: Environment/Libraries
+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
+%{tde_tdeincludedir}/kspy.h
+%{tde_libdir}/libkspy.la
+%{tde_libdir}/libkspy.so
+%{tde_libdir}/libkspy.so.*
+
+%post -n trinity-kspy
+/sbin/ldconfig || :
+
+%postun -n trinity-kspy
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kuiviewer
+Summary: viewer for Qt Designer user interface files
+Group: Development/Utilities
+
+%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
+%{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/kuiviewerui.rc
+%{tde_datadir}/apps/kuiviewerpart/kuiviewer_part.rc
+%{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
+
+%post -n trinity-kuiviewer
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+%postun -n trinity-kuiviewer
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-libcvsservice0
+Summary: DCOP service for accessing CVS repositories
+Group: Environment/Libraries
+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
+%{tde_bindir}/cvsaskpass
+%{tde_bindir}/cvsservice
+%{tde_libdir}/libcvsservice.so.*
+%{tde_libdir}/lib[kt]deinit_cvsaskpass.so
+%{tde_libdir}/lib[kt]deinit_cvsservice.so
+%{tde_tdelibdir}/cvsaskpass.la
+%{tde_tdelibdir}/cvsaskpass.so
+%{tde_tdelibdir}/cvsservice.la
+%{tde_tdelibdir}/cvsservice.so
+%{tde_datadir}/services/cvsservice.desktop
+
+%post -n trinity-libcvsservice0
+/sbin/ldconfig || :
+
+%postun -n trinity-libcvsservice0
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libcvsservice-devel
+Summary: development files for CVS DCOP service
+Group: Development/Libraries
+Requires: trinity-libcvsservice0 = %{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
+%{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}/lib[kt]deinit_cvsaskpass.la
+%{tde_libdir}/lib[kt]deinit_cvsservice.la
+%{tde_datadir}/cmake/cervisia.cmake
+
+%post -n trinity-libcvsservice-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libcvsservice-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-poxml
+Summary: tools for using PO-files to translate DocBook XML files
+Group: Development/Utilities
+
+%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
+%{tde_bindir}/po2xml
+%{tde_bindir}/split2po
+%{tde_bindir}/swappo
+%{tde_bindir}/transxx
+%{tde_bindir}/xml2pot
+
+##########
+
+%package -n trinity-umbrello
+Summary: UML modelling tool and code generator
+Group: Development/Utilities
+
+%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
+%{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/
+
+%post -n trinity-umbrello
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-umbrello
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%if 0%{?build_kioslave}
+
+%package tdeio-plugins
+Summary: subversion ioslave for Trinity
+Group: Environment/Libraries
+Requires: subversion
+
+Obsoletes: trinity-tdesdk-kio-plugins < %{version}-%{release}
+Provides: trinity-tdesdk-kio-plugins = %{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
+%{tde_bindir}/kio_svn_helper
+%{tde_tdelibdir}/kded_ksvnd.la
+%{tde_tdelibdir}/kded_ksvnd.so
+%{tde_tdelibdir}/kio_svn.la
+%{tde_tdelibdir}/kio_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}/services/svn+file.protocol
+%{tde_datadir}/services/svn+http.protocol
+%{tde_datadir}/services/svn+https.protocol
+%{tde_datadir}/services/svn+ssh.protocol
+%{tde_datadir}/services/svn.protocol
+%{_sysconfdir}/alternatives/svn+file.protocol
+%{_sysconfdir}/alternatives/svn+http.protocol
+%{_sysconfdir}/alternatives/svn+https.protocol
+%{_sysconfdir}/alternatives/svn+ssh.protocol
+%{_sysconfdir}/alternatives/svn.protocol
+%{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 f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+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
+
+%postun tdeio-plugins
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+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-kunittest
+Summary: unit testing library for Trinity
+Group: Development/Utilities
+
+%description -n trinity-kunittest
+KUnitTest is a small library that facilitates the writing of tests for
+TDE developers. There are two ways to use the KUnitTest library. One is
+to create dynamically loadable modules and use the kunittestmodrunner or
+kunittestguimodrunner 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-kunittest
+%{tde_bindir}/kunittest
+%{tde_bindir}/kunittest_debughelper
+%{tde_bindir}/kunittestmod
+%{tde_bindir}/kunittestguimodrunner
+%{tde_libdir}/libkunittestgui.la
+%{tde_libdir}/libkunittestgui.so
+%{tde_libdir}/libkunittestgui.so.*
+%{tde_tdeincludedir}/kunittest/runnergui.h
+
+%post -n trinity-kunittest
+/sbin/ldconfig || :
+
+%postun -n trinity-kunittest
+/sbin/ldconfig || :
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-kbabel-devel = %{version}-%{release}
+
+Obsoletes: trinity-kdesdk-devel < %{version}-%{release}
+Provides: trinity-kdesdk-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q
+
+
+%build
+unset QTDIR || :; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LD_LIBRARY_PATH="%{tde_libdir}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+
+%cmake \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DMAN_INSTALL_DIR=%{tde_mandir} \
+ -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DWITH_DBSEARCHENGINE=ON \
+ -DWITH_KCAL=ON \
+ -DBUILD_ALL=ON \
+ %{!?build_kioslave:-DBUILD_KIOSLAVE=OFF} \
+ ..
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+
+%__make install DESTDIR=%{?buildroot} -C build
+
+# make symlinks relative
+if [ -d %{buildroot}%{tde_tdedocdir}/HTML/en ]; then
+ pushd %{buildroot}%{tde_tdedocdir}/HTML/en
+ for i in *; do
+ if [ -d $i -a -L $i/common ]; then
+ rm -f $i/common
+ ln -nfs ../common $i
+ fi
+ done
+ popd
+fi
+
+# Installs kdepalettes
+%__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes
+%__install -D -m 644 kdepalettes/KDE_Gimp %{?buildroot}%{tde_datadir}/kdepalettes
+%__install -D -m 644 kdepalettes/README %{?buildroot}%{tde_datadir}/kdepalettes
+
+# 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
+
+%__ln_s -f /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol
+%__ln_s -f /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol
+%__ln_s -f /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol
+%__ln_s -f /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol
+%__ln_s -f /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol
+
+%__mkdir_p %{?buildroot}/etc/alternatives
+%__ln_s -f %{tde_datadir}/services/svn+file.protocol %{?buildroot}/etc/alternatives/svn+file.protocol
+%__ln_s -f %{tde_datadir}/services/svn+http.protocol %{?buildroot}/etc/alternatives/svn+http.protocol
+%__ln_s -f %{tde_datadir}/services/svn+https.protocol %{?buildroot}/etc/alternatives/svn+https.protocol
+%__ln_s -f %{tde_datadir}/services/svn+ssh.protocol %{?buildroot}/etc/alternatives/svn+ssh.protocol
+%__ln_s -f %{tde_datadir}/services/svn.protocol %{?buildroot}/etc/alternatives/svn.protocol
+%endif
+
+# Removes useless stuff
+%__rm -f %{?buildroot}%{tde_datadir}/apps/kapptemplate/admin/debianrules
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
+
+* Wed Nov 07 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-2
+- Fix various cmake issues [Bug #1262]
+
diff --git a/redhat/tdetoys/trinity-tdetoys-3.5.13.2.spec b/redhat/tdetoys/trinity-tdetoys-3.5.13.2.spec
new file mode 100644
index 000000000..0ccf022a2
--- /dev/null
+++ b/redhat/tdetoys/trinity-tdetoys-3.5.13.2.spec
@@ -0,0 +1,451 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Summary: Trinity Desktop Environment - Toys and Amusements
+Name: trinity-tdetoys
+Group: Amusements/Graphics
+Version: 3.5.13.2
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2+
+Source0: %{name}-%{version}.tar.gz
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: desktop-file-utils
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: gettext
+
+Obsoletes: trinity-kdetoys < %{version}-%{release}
+Provides: trinity-kdetoys = %{version}-%{release}
+
+# Metapackage
+Requires: trinity-amor = %{version}-%{release}
+Requires: trinity-eyesapplet = %{version}-%{release}
+Requires: trinity-fifteenapplet = %{version}-%{release}
+Requires: trinity-kmoon = %{version}-%{release}
+Requires: trinity-kodo = %{version}-%{release}
+Requires: trinity-kteatime = %{version}-%{release}
+Requires: trinity-ktux = %{version}-%{release}
+Requires: trinity-kweather = %{version}-%{release}
+Requires: trinity-kworldclock = %{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 kdebase 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 KWin (the
+KDE 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,-)
+%{tde_bindir}/amor
+%{tde_datadir}/apps/amor/
+%{tde_tdeappdir}/amor.desktop
+%{tde_datadir}/icons/hicolor/*/apps/amor.png
+%{tde_tdedocdir}/HTML/en/amor/
+%doc AUTHORS COPYING README
+
+%post -n trinity-amor
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-amor
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-eyesapplet
+Summary: eyes applet for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-eyesapplet
+An applet for the KDE 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,-)
+%{tde_tdelibdir}/eyes_panelapplet.la
+%{tde_tdelibdir}/eyes_panelapplet.so
+%{tde_datadir}/apps/kicker/applets/eyesapplet.desktop
+%doc AUTHORS COPYING README
+
+##########
+
+%package -n trinity-fifteenapplet
+Summary: fifteen pieces puzzle for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-fifteenapplet
+An applet for the KDE 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,-)
+%{tde_tdelibdir}/fifteen_panelapplet.la
+%{tde_tdelibdir}/fifteen_panelapplet.so
+%{tde_datadir}/apps/kicker/applets/kfifteenapplet.desktop
+%doc AUTHORS COPYING README
+
+##########
+
+%package -n trinity-kmoon
+Summary: moon phase indicator for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-kmoon
+An applet for the KDE 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,-)
+%{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/
+%doc AUTHORS COPYING README
+
+%post -n trinity-kmoon
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+
+##########
+
+%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,-)
+%{tde_bindir}/kodo
+%{tde_tdeappdir}/kodo.desktop
+%{tde_datadir}/apps/kodo/numbers.png
+%{tde_datadir}/icons/hicolor/*/apps/kodo.png
+%{tde_tdedocdir}/HTML/en/kodo/
+%doc AUTHORS COPYING README
+
+%post -n trinity-kodo
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kodo
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%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-KDE 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,-)
+%{tde_bindir}/kteatime
+%{tde_tdeappdir}/kteatime.desktop
+%{tde_datadir}/apps/kteatime/
+%{tde_datadir}/icons/hicolor/*/apps/kteatime.png
+%{tde_tdedocdir}/HTML/en/kteatime/
+%doc AUTHORS COPYING README
+
+%post -n trinity-kteatime
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kteatime
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%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 K Desktop Environment (KDE).
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-ktux
+%defattr(-,root,root,-)
+%{tde_bindir}/ktux
+%{tde_datadir}/apps/ktux/
+%{tde_datadir}/applnk/System/ScreenSavers/ktux.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ktux.png
+%doc AUTHORS COPYING README
+
+%post -n trinity-ktux
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+
+%postun -n trinity-ktux
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+
+##########
+
+%package -n trinity-kweather
+Summary: weather display applet for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-kweather
+An applet for the KDE 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,-)
+%{tde_bindir}/kweatherservice
+%{tde_bindir}/kweatherreport
+%{tde_libdir}/lib[kt]deinit_kweatherreport.so
+%{tde_libdir}/lib[kt]deinit_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_datadir}/apps/kicker/applets/kweather.desktop
+%{tde_datadir}/apps/kweather/
+%{tde_datadir}/apps/kweatherservice/stations.dat
+%{tde_datadir}/apps/kweatherservice/weather_stations.desktop
+%{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/
+%doc AUTHORS COPYING README
+
+%post -n trinity-kweather
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kweather
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kworldclock
+Summary: earth watcher for Trinity
+Group: Amusements/Graphics
+
+%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 KDE 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,-)
+%{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/
+%doc AUTHORS COPYING README
+
+%post -n trinity-kworldclock
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kworldclock
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i admin/acinclude.m4.in \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+export KDEDIR=%{tde_prefix}
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --enable-new-ldflags \
+ --enable-closure \
+ --disable-debug --disable-warnings \
+ --disable-dependency-tracking --enable-final \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf "%{buildroot}"
+%__make install DESTDIR=%{buildroot}
+
+# replace absolute symlink with relative
+ln -nfs tips-en %{buildroot}%{tde_datadir}/apps/amor/tips
+
+## File lists
+# HTML (1.0)
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# Useless include file from Amor
+%__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
+
diff --git a/redhat/tdeutils/trinity-tdeutils-3.5.13.2.spec b/redhat/tdeutils/trinity-tdeutils-3.5.13.2.spec
new file mode 100644
index 000000000..56841ee48
--- /dev/null
+++ b/redhat/tdeutils/trinity-tdeutils-3.5.13.2.spec
@@ -0,0 +1,1086 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_sbindir %{tde_prefix}/sbin
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-tdeutils
+Version: 3.5.13.2
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+License: GPL
+Summary: TDE Utilities
+Group: Applications/System
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Source1: klaptop_acpi_helper.pam
+Source2: klaptop_acpi_helper.console
+Source3: kcmlaptoprc
+
+Patch1: kdeutils-3.5.13.2-rhel4.patch
+
+Obsoletes: trinity-kdeutils < %{version}-%{release}
+Provides: trinity-kdeutils = %{version}-%{release}
+Obsoletes: trinity-kdeutils-extras < %{version}-%{release}
+Provides: trinity-kdeutils-extras = %{version}-%{release}
+Obsoletes: tdeutils < %{version}-%{release}
+Provides: tdeutils = %{version}-%{release}
+
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: autoconf automake libtool m4
+BuildRequires: gettext
+BuildRequires: net-snmp-devel
+BuildRequires: python-devel
+BuildRequires: gmp-devel
+
+%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5
+BuildRequires: libXScrnSaver-devel
+BuildRequires: libXtst-devel
+%endif
+
+#%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
+
+# XSCREENSAVER support
+# Not for RHEL 4!
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_xscreensaver 1
+%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
+
+
+Requires: trinity-ark = %{version}-%{release}
+Requires: trinity-kcalc = %{version}-%{release}
+Requires: trinity-kcharselect = %{version}-%{release}
+Requires: trinity-kdelirc = %{version}-%{release}
+Requires: trinity-kdessh = %{version}-%{release}
+Requires: trinity-kdf = %{version}-%{release}
+Requires: trinity-kedit = %{version}-%{release}
+Requires: trinity-kfloppy = %{version}-%{release}
+Requires: trinity-kgpg = %{version}-%{release}
+Requires: trinity-khexedit = %{version}-%{release}
+Requires: trinity-kjots = %{version}-%{release}
+%{?build_klaptopdaemon:Requires: trinity-klaptopdaemon = %{version}-%{release}}
+Requires: trinity-kmilo = %{version}-%{release}
+Requires: trinity-kmilo-legacy = %{version}-%{release}
+Requires: trinity-kregexpeditor = %{version}-%{release}
+Requires: trinity-ksim = %{version}-%{release}
+Requires: trinity-ktimer = %{version}-%{release}
+Requires: trinity-kwalletmanager = %{version}-%{release}
+Requires: trinity-superkaramba = %{version}-%{release}
+
+
+%description
+Utilities for the Trinity Desktop Environment, including:
+ * ark (tar/gzip archive manager)
+ * kcalc (scientific calculator)
+ * kcharselect (character selector)
+ * kdepasswd (change password)
+ * kdessh (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)
+
+%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 KDE 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}/lib[kt]deinit_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/
+
+%post -n trinity-ark
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ark
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&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}/lib[kt]deinit_kcalc.so
+%{tde_tdeappdir}/kcalc.desktop
+%{tde_datadir}/apps/kcalc/
+%{tde_datadir}/apps/kconf_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/
+
+%post -n trinity-kcalc
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kcalc
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kcharselect
+Summary: character selector for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-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/kconf_update/kcharselect.upd
+%{tde_datadir}/apps/kicker/applets/kcharselectapplet.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kcharselect.png
+%{tde_tdedocdir}/HTML/en/kcharselect/
+
+%post -n trinity-kcharselect
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kcharselect
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kdelirc
+Summary: infrared control for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kdelirc
+This is a frontend for the LIRC suite to use infrared devices with TDE.
+
+%files -n trinity-kdelirc
+%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}/lib[kt]deinit_irkick.so
+%{tde_tdeappdir}/irkick.desktop
+%{tde_tdeappdir}/kcmlirc.desktop
+%{tde_datadir}/apps/irkick/
+%{tde_datadir}/apps/profiles/klauncher.profile.xml
+%{tde_datadir}/apps/profiles/konqueror.profile.xml
+%{tde_datadir}/apps/profiles/noatun.profile.xml
+%{tde_datadir}/apps/profiles/profile.dtd
+%{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/kcmlirc/
+
+%post -n trinity-kdelirc
+/sbin/ldconfig
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kdelirc
+/sbin/ldconfig
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kdessh
+Summary: ssh frontend for Trinity
+Group: Applications/Utilities
+%if 0%{?suse_version}
+Requires: openssh
+%else
+Requires: openssh-clients
+%endif
+
+%description -n trinity-kdessh
+This package contains TDE's frontend for ssh.
+
+%files -n trinity-kdessh
+%defattr(-,root,root,-)
+%{tde_bindir}/kdessh
+
+##########
+
+%package -n trinity-kdf
+Summary: disk space utility for Trinity
+Group: Applications/Utilities
+
+%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/crystalsvg/*/apps/kcmdf.png
+%{tde_datadir}/icons/hicolor/*/apps/kdf.png
+%{tde_datadir}/icons/hicolor/*/apps/kwikdisk.png
+%{tde_tdedocdir}/HTML/en/kdf/
+%{tde_tdedocdir}/HTML/en/kinfocenter/blockdevices/
+
+%post -n trinity-kdf
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kdf
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&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}/lib[kt]deinit_kedit.so
+%{tde_tdeappdir}/KEdit.desktop
+%{tde_datadir}/apps/kedit/keditui.rc
+%{tde_datadir}/config.kcfg/kedit.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kedit.png
+%{tde_tdedocdir}/HTML/en/kedit/
+
+%post -n trinity-kedit
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kedit
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&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/
+
+%post -n trinity-kfloppy
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kfloppy
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&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/
+
+%post -n trinity-kgpg
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kgpg
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&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/khexedit2partui.rc
+%{tde_datadir}/icons/hicolor/*/apps/khexedit.png
+%{tde_datadir}/services/kbyteseditwidget.desktop
+%{tde_datadir}/services/khexedit2part.desktop
+%{tde_tdedocdir}/HTML/en/khexedit/
+
+%post -n trinity-khexedit
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-khexedit
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&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/
+
+%post -n trinity-kjots
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kjots
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%if 0%{?build_klaptopdaemon}
+
+%package -n trinity-klaptopdaemon
+Summary: battery monitoring and management for laptops using Trinity
+Group: Applications/Utilities
+Requires: pm-utils
+
+%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 %{tde_datadir}/config/kcmlaptoprc
+
+%post -n trinity-klaptopdaemon
+/sbin/ldconfig
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klaptopdaemon
+/sbin/ldconfig
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%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
+%{tde_datadir}/services/kmilo/kmilo_generic.desktop
+%{tde_datadir}/servicetypes/kmilo/kmilopluginsvc.desktop
+
+%post -n trinity-kmilo
+/sbin/ldconfig
+
+%postun -n trinity-kmilo
+/sbin/ldconfig
+
+##########
+
+%package -n trinity-kmilo-legacy
+Summary: non-standard plugins for KMilo
+Group: Applications/Utilities
+Requires: trinity-kmilo = %{version}-%{release}
+
+%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
+
+##########
+
+%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/
+
+%post -n trinity-kregexpeditor
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kregexpeditor
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksim
+Summary: system information monitor for Trinity
+Group: Applications/Utilities
+
+%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 %{tde_datadir}/config/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
+
+%post -n trinity-ksim
+/sbin/ldconfig
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+%postun -n trinity-ksim
+/sbin/ldconfig
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+##########
+
+%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/
+
+%post -n trinity-ktimer
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ktimer
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kwalletmanager
+Summary: wallet manager for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kwalletmanager
+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-kwalletmanager
+%defattr(-,root,root,-)
+%{tde_bindir}/kwalletmanager
+%{tde_tdelibdir}/kcm_kwallet.la
+%{tde_tdelibdir}/kcm_kwallet.so
+%{tde_tdeappdir}/kwalletconfig.desktop
+%{tde_tdeappdir}/kwalletmanager.desktop
+%{tde_tdeappdir}/kwalletmanager-kwalletd.desktop
+%{tde_datadir}/apps/kwalletmanager/
+%{tde_datadir}/icons/hicolor/*/apps/kwalletmanager.png
+%{tde_datadir}/services/kwallet_config.desktop
+%{tde_datadir}/services/kwalletmanager_show.desktop
+%{tde_tdedocdir}/HTML/en/kwallet/
+
+%post -n trinity-kwalletmanager
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kwalletmanager
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%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_datadir}/applnk/Utilities/superkaramba.desktop
+%{tde_datadir}/apps/superkaramba/superkarambaui.rc
+%{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/
+
+%post -n trinity-superkaramba
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+%postun -n trinity-superkaramba
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+##########
+
+# afaik, nobody BR's it, and it pulls kdeutils into multilib -- Rex
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tdelibs-devel
+
+Obsoletes: trinity-kdeutils-devel < %{version}-%{release}
+Provides: trinity-kdeutils-devel = %{version}-%{release}
+Obsoletes: tdeutils-devel < %{version}-%{release}
+Provides: tdeutils-devel = %{version}-%{release}
+
+%description devel
+Development files for %{name}.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/*
+%if 0%{?build_klaptopdaemon}
+%{tde_libdir}/libkcmlaptop.la
+%{tde_libdir}/libkcmlaptop.so
+%endif
+%{tde_libdir}/lib[kt]deinit_ark.la
+%{tde_libdir}/lib[kt]deinit_irkick.la
+%{tde_libdir}/lib[kt]deinit_kcalc.la
+%{tde_libdir}/lib[kt]deinit_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
+
+%post devel
+/sbin/ldconfig
+
+%postun devel
+/sbin/ldconfig
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+%if 0%{?rhel} == 4
+%patch1 -p1 -b .rhel4
+%endif
+
+
+%build
+unset QTDIR || : ; source /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+
+# Do not build against any "/usr" installed KDE
+export KDEDIR="%{tde_prefix}"
+
+# Shitty hack for RHEL4 ...
+if [ -d "/usr/X11R6" ]; then
+ export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}"
+ export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
+ -DBIN_INSTALL_DIR="%{tde_bindir}" \
+ -DDOC_INSTALL_DIR="%{tde_docdir}" \
+ -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
+ -DLIB_INSTALL_DIR="%{tde_libdir}" \
+ -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
+ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DWITH_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_KNEWSTUFF=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
+
+
+## File lists
+# HTML (1.0)
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
+ done
+ popd
+ pushd $lang_dir/kcontrol
+ for i in *; do
+ [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+
+%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_datadir}/config/kcmlaptoprc"
+
+%else
+
+# Klaptop's documentation is installed even if we did not build it ...
+%__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
+
+
+%clean
+%__rm -rf "%{?buildroot}"
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdevelop/trinity-tdevelop-3.5.13.2.spec b/redhat/tdevelop/trinity-tdevelop-3.5.13.2.spec
new file mode 100644
index 000000000..775174d00
--- /dev/null
+++ b/redhat/tdevelop/trinity-tdevelop-3.5.13.2.spec
@@ -0,0 +1,646 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-tdevelop
+Summary: Integrated Development Environment for C++/C
+Version: 3.5.13.2
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2
+Group: Development/Tools
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}.tar.gz
+Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2
+
+# [c_cpp_ref] Fix library directories detection
+Patch1: c_cpp_reference-2.0.2-config.patch
+
+# [kdevelop] fix FTBFS
+Patch2: kdevelop-3.5.13-kdevdesigner-ftbfs.patch
+
+# [c_cpp_ref] Fix installation of 'asm' files
+Patch4: c_cpp_reference-2.0.2-install.patch
+
+Requires: %{name}-libs = %{version}-%{release}
+
+
+Requires: make
+Requires: perl
+Requires: flex >= 2.5.4
+%if 0%{?rhel} || 0%{?fedora}
+Requires: qt3-designer
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+Requires: %{_lib}qt3-devel
+%endif
+%if 0%{?suse_version}
+Requires: qt3-devel
+%endif
+Requires: gettext
+Requires: ctags
+
+BuildRequires: cmake >= 2.8
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tdesdk-devel >= %{version}
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: db4-devel
+%endif
+BuildRequires: flex
+# FIXME: No CVS support in KDevelop? This is going to suck...
+# Requires kdesdk3.
+BuildRequires: subversion-devel
+BuildRequires: neon-devel
+# looks like this is dragged in by apr-devel (dep of subversion-devel), but not
+# a dependency
+%if 0%{?suse_version}
+BuildRequires: openldap2-devel
+%else
+BuildRequires: openldap-devel
+%endif
+
+Obsoletes: trinity-kdevelop < %{version}-%{release}
+Provides: trinity-kdevelop = %{version}-%{release}
+
+%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;
+
+KDevelop 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}/kdevelop
+%{tde_bindir}/kdevelop-htdig
+%{tde_bindir}/kdevprj2kdevelop
+%{tde_bindir}/kdevprofileeditor
+%{tde_libdir}/kconf_update_bin/kdev-gen-settings-kconf_update
+%{tde_tdeappdir}/kdevassistant.desktop
+%{tde_tdeappdir}/kdevdesigner.desktop
+%{tde_tdeappdir}/kdevelop.desktop
+%{tde_tdeappdir}/kdevelop_c_cpp.desktop
+%{tde_tdeappdir}/kdevelop_kde_cpp.desktop
+%{tde_tdeappdir}/kdevelop_ruby.desktop
+%{tde_tdeappdir}/kdevelop_scripting.desktop
+%{tde_tdelibdir}/kio_chm.la
+%{tde_tdelibdir}/kio_chm.so
+%{tde_tdelibdir}/kio_csharpdoc.la
+%{tde_tdelibdir}/kio_csharpdoc.so
+%{tde_tdelibdir}/kio_perldoc.la
+%{tde_tdelibdir}/kio_perldoc.so
+%{tde_tdelibdir}/kio_pydoc.la
+%{tde_tdelibdir}/kio_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}/libkdevkdelibsimporter.la
+%{tde_tdelibdir}/libkdevkdelibsimporter.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/kconf_update/
+%{tde_datadir}/apps/kdevabbrev/
+%{tde_datadir}/apps/kdevadaproject/kdevadaproject.rc
+%{tde_datadir}/apps/kdevadasupport/kdevadasupport.rc
+%{tde_datadir}/apps/kdevantproject/kdevantproject.rc
+%{tde_datadir}/apps/kdevappoutputview/kdevmakeview.rc
+%{tde_datadir}/apps/kdevappwizard/
+%{tde_datadir}/apps/kdevassistant/kdevassistantui.rc
+%{tde_datadir}/apps/kdevastyle/kdevpart_astyle.rc
+%{tde_datadir}/apps/kdevautoproject/kdevautoproject.rc
+%{tde_datadir}/apps/kdevbashsupport/kdevbashsupport.rc
+%{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/kdevelop.png
+%{tde_datadir}/icons/locolor/*/actions/kdevelop_tip.png
+%{tde_datadir}/mimelnk/application/x-kdevelop.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/kdevkdeautoproject.desktop
+%{tde_datadir}/services/kdevkdelibsimporter.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/kdevelopappfrontend.desktop
+%{tde_datadir}/servicetypes/kdevelopcodebrowserfrontend.desktop
+%{tde_datadir}/servicetypes/kdevelopcompileroptions.desktop
+%{tde_datadir}/servicetypes/kdevelopcreatefile.desktop
+%{tde_datadir}/servicetypes/kdevelopdifffrontend.desktop
+%{tde_datadir}/servicetypes/kdevelopdocumentationplugins.desktop
+%{tde_datadir}/servicetypes/kdeveloplanguagesupport.desktop
+%{tde_datadir}/servicetypes/kdevelopmakefrontend.desktop
+%{tde_datadir}/servicetypes/kdeveloppcsimporter.desktop
+%{tde_datadir}/servicetypes/kdevelopplugin.desktop
+%{tde_datadir}/servicetypes/kdevelopproject.desktop
+%{tde_datadir}/servicetypes/kdevelopquickopen.desktop
+%{tde_datadir}/servicetypes/kdevelopsourceformatter.desktop
+%{tde_datadir}/servicetypes/kdevelopvcsintegrator.desktop
+%{tde_datadir}/servicetypes/kdevelopversioncontrol.desktop
+%{tde_datadir}/apps/kdevcsharpsupport/kdevcsharpsupport.rc
+%{tde_datadir}/apps/kdevctags2/kdevpart_ctags2.rc
+%{tde_datadir}/apps/kdevcustomproject/kdevcustomproject.rc
+%{tde_datadir}/apps/kdevdebugger/
+%{tde_datadir}/apps/kdevdesigner/kdevdesigner_shell.rc
+%{tde_datadir}/apps/kdevdesignerpart/kdevdesigner_part.rc
+%{tde_datadir}/apps/kdevdesignerpart/kdevdesigner_part_sh.rc
+%{tde_datadir}/apps/kdevdiff/kdevdiff.rc
+%{tde_datadir}/apps/kdevdistpart/kdevpart_distpart.rc
+%{tde_datadir}/apps/kdevdocumentation/
+%{tde_datadir}/apps/kdevdoxygen/kdevdoxygen.rc
+%{tde_datadir}/apps/kdevelop/
+%{tde_datadir}/apps/kdevfilecreate/
+%{tde_datadir}/apps/kdevfilelist/kdevfilelist.rc
+%{tde_datadir}/apps/kdevfilter/kdevfilter.rc
+%{tde_datadir}/apps/kdevfortransupport/kdevfortransupport.rc
+%{tde_datadir}/apps/kdevfullscreen/kdevpart_fullscreen.rc
+%{tde_datadir}/apps/kdevgrepview/
+%{tde_datadir}/apps/kdevjavasupport/kdevjavasupport.rc
+%{tde_datadir}/apps/kdevmakeview/kdevmakeview.rc
+%{tde_datadir}/apps/kdevpartexplorer/kdevpartexplorer.rc
+%{tde_datadir}/apps/kdevpascalproject/kdevpascalproject.rc
+%{tde_datadir}/apps/kdevpascalsupport/kdevpascalsupport.rc
+%{tde_datadir}/apps/kdevperlsupport/kdevperlsupport.rc
+%{tde_datadir}/apps/kdevphpsupport/kdevphpsupport.rc
+%{tde_datadir}/apps/kdevphpsupport/phpfunctions
+%{tde_datadir}/apps/kdevpythonsupport/kdevpythonsupport.rc
+%{tde_datadir}/apps/kdevquickopen/kdevpart_quickopen.rc
+%{tde_datadir}/apps/kdevrbdebugger/
+%{tde_datadir}/apps/kdevregexptest/kdevregexptest.rc
+%{tde_datadir}/apps/kdevreplace/kdevpart_replace.rc
+%{tde_datadir}/apps/kdevrubysupport/kdevrubysupport.rc
+%{tde_datadir}/apps/kdevrubysupport/pics/ruby_config.png
+%{tde_datadir}/apps/kdevrubysupport/pics/ruby_run.png
+%{tde_datadir}/apps/kdevscripting/kdevscripting.rc
+%{tde_datadir}/apps/kdevscriptproject/kdevscriptproject.rc
+%{tde_datadir}/apps/kdevsnippet/kdevpart_snippet.rc
+%{tde_datadir}/apps/kdevsqlsupport/kdevsqlsupport.rc
+%{tde_datadir}/apps/kdevtipofday/kdevpart_tipofday.rc
+%{tde_datadir}/apps/kdevtipofday/tips
+%{tde_datadir}/apps/kdevtools/kdevpart_tools.rc
+%{tde_datadir}/apps/kdevtrollproject/kdevtrollproject.rc
+%{tde_datadir}/apps/kdevvalgrind/kdevpart_valgrind.rc
+%{tde_datadir}/apps/kio_pydoc/kde_pydoc.py*
+%{tde_datadir}/config/kdevassistantrc
+%{tde_datadir}/config/kdeveloprc
+%{tde_datadir}/desktop-directories/kde-development-kdevelop.directory
+%{tde_tdedocdir}/HTML/en/kdevelop/
+%{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/kdevpart_visualboyadvance.rc
+%{tde_tdedocdir}/HTML/en/kde_app_devel/
+%{tde_datadir}/mimelnk/text/x-fortran.desktop
+%{tde_datadir}/services/kdevvisualboyadvance.desktop
+
+
+%post
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+
+Obsoletes: trinity-kdevelop-devel < %{version}-%{release}
+Provides: trinity-kdevelop-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_libdir}/lib*.so
+%{tde_libdir}/lib*.la
+%{tde_includedir}/*
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+##########
+
+%package libs
+Summary: %{name} runtime libraries
+Group: System Environment/Libraries
+Requires: trinity-kdelibs
+# include to be paranoid, installing libs-only is still mostly untested -- Rex
+Requires: %{name} = %{version}-%{release}
+
+Obsoletes: trinity-kdevelop-libs < %{version}-%{release}
+Provides: trinity-kdevelop-libs = %{version}-%{release}
+
+%description libs
+%{summary}.
+
+%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}/libkdevelop.so.1
+%{tde_libdir}/libkdevelop.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
+
+%post libs
+/sbin/ldconfig || :
+
+%postun libs
+/sbin/ldconfig || :
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -a1
+%patch1 -p0 -b .config
+%patch2 -p1
+%patch4 -p1
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i "admin/acinclude.m4.in" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+
+%__rm -rf c_cpp_reference-2.0.2_for_KDE_3.0/admin
+%__cp -ar admin c_cpp_reference-2.0.2_for_KDE_3.0/
+%__make -C c_cpp_reference-2.0.2_for_KDE_3.0 -f admin/Makefile.common cvs
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+export LD_LIBRARY_PATH="%{tde_libdir}"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+# c references
+pushd c_cpp_reference-2.0.2_for_KDE_3.0
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \
+ --with-qt-includes=${QTINC:-${QTDIR}/include} \
+ --with-extra-libs=%{tde_libdir}
+popd
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DWITH_BUILDTOOL_ALL=ON \
+ -DWITH_LANGUAGE_ALL=ON \
+ -DWITH_VCS_ALL=OFF \
+ -DBUILD_ALL=ON \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+# c references
+cd ..
+%__make %{?_smp_mflags} -C c_cpp_reference-2.0.2_for_KDE_3.0
+
+%install
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+%__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdewebdev/trinity-tdewebdev-3.5.13.2.spec b/redhat/tdewebdev/trinity-tdewebdev-3.5.13.2.spec
new file mode 100644
index 000000000..21a6c9401
--- /dev/null
+++ b/redhat/tdewebdev/trinity-tdewebdev-3.5.13.2.spec
@@ -0,0 +1,573 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-tdewebdev
+Version: 3.5.13.2
+Release: 1%{?dist}%{?_variant}
+License: GPL
+Summary: Web development applications
+Group: Applications/Editors
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}.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
+Source5: hi48-app-kxsldbg.png
+
+Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: desktop-file-utils
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tdesdk-devel >= %{version}
+BuildRequires: libxslt-devel
+BuildRequires: libxml2-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
+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
+#endif
+
+
+Obsoletes: trinity-kdewebdev-libs < %{version}-%{release}
+Provides: trinity-kdewebdev-libs = %{version}-%{release}
+Obsoletes: trinity-kdewebdev < %{version}-%{release}
+Provides: trinity-kdewebdev = %{version}-%{release}
+
+Requires: trinity-quanta = %{version}-%{release}
+Requires: trinity-quanta-data = %{version}-%{release}
+Requires: trinity-kfilereplace = %{version}-%{release}
+Requires: trinity-kimagemapeditor = %{version}-%{release}
+Requires: trinity-klinkstatus = %{version}-%{release}
+Requires: trinity-kommander = %{version}-%{release}
+%{?build_kxsldbg:Requires: trinity-kxsldbg = %{version}-%{release}}
+
+%description
+%{summary}, including:
+* kfilereplace: batch search and replace tool
+* kimagemapeditor: HTML image map editor
+* klinkstatus: link checker
+* kommander: visual dialog building tool
+* quanta+: web development
+%{?build_kxsldbg:* kxsldbg: xslt Debugger}
+
+%files
+
+##########
+
+%package -n trinity-quanta
+Summary: web development environment for KDE [Trinity]
+Group: Applications/Development
+Requires: trinity-kfilereplace = %{version}-%{release}
+Requires: trinity-klinkstatus = %{version}-%{release}
+Requires: trinity-kommander = %{version}-%{release}
+Requires: trinity-quanta-data = %{version}-%{release}
+#Requires: trinity-kimagemapeditor = %{version}-%{release}
+#Requires: trinity-kxsldbg = %{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 KDE 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/
+
+%post -n trinity-quanta
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-quanta
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&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-kfilereplace
+Summary: batch search-and-replace component for KDE [Trinity]
+Group: Applications/Development
+
+%description -n trinity-kfilereplace
+KFileReplace is an embedded component for KDE 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 KFileReplace does not come as a standalone
+application. An example of an application that uses the KFileReplace
+component is Quanta Plus (found in the package quanta).
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-kfilereplace
+%defattr(-,root,root,-)
+%{tde_bindir}/kfilereplace
+%{tde_tdelibdir}/libkfilereplacepart.la
+%{tde_tdelibdir}/libkfilereplacepart.so
+%{tde_tdeappdir}/kfilereplace.desktop
+%{tde_datadir}/apps/kfilereplace/kfilereplaceui.rc
+%{tde_datadir}/apps/kfilereplacepart
+%{tde_datadir}/icons/hicolor/*/apps/kfilereplace.png
+%{tde_datadir}/services/kfilereplacepart.desktop
+%{tde_tdedocdir}/HTML/en/kfilereplace/
+
+%post -n trinity-kfilereplace
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kfilereplace
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kimagemapeditor
+Summary: HTML image map editor for KDE [Trinity]
+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
+
+%post -n trinity-kimagemapeditor
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kimagemapeditor
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klinkstatus
+Summary: web link validity checker for KDE [Trinity]
+Group: Applications/Development
+
+%description -n trinity-klinkstatus
+KLinkStatus is KDE'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/crystalsvg/16x16/actions/bug.png
+%{tde_datadir}/icons/hicolor/*/apps/klinkstatus.png
+%{tde_datadir}/services/klinkstatus_part.desktop
+%{tde_tdedocdir}/HTML/en/klinkstatus/
+
+%post -n trinity-klinkstatus
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klinkstatus
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&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}/mimelnk/application/x-kommander.desktop
+#kommander/examples /opt/trinity/share/doc/kommander
+#kommander/working/extractkmdr /opt/trinity/bin
+#kommander/working/kmdr2po /opt/trinity/bin
+%{tde_tdelibdir}/libkommander_part.so
+%{tde_tdelibdir}/libkommander_part.la
+%{tde_datadir}/apps/kommander/
+%{tde_datadir}/apps/kmdr-editor/editor/
+%{tde_datadir}/apps/katepart/syntax/kommander-new.xml
+%{tde_datadir}/apps/kdevappwizard/kommanderplugin.png
+%{tde_datadir}/apps/kdevappwizard/kommanderplugin.tar.gz
+%{tde_datadir}/apps/kdevappwizard/templates/kommanderplugin.kdevtemplate
+%{tde_datadir}/services/kommander_part.desktop
+
+%post -n trinity-kommander
+/sbin/ldconfig || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kommander
+/sbin/ldconfig || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kommander-devel
+Summary: development files for Kommander [Trinity]
+Group: Development/Libraries
+Requires: trinity-kommander = %{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
+
+%post -n trinity-kommander-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kommander-devel
+/sbin/ldconfig || :
+
+##########
+
+%if 0%{?build_kxsldbg}
+
+%package -n trinity-kxsldbg
+Summary: graphical XSLT debugger for KDE [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 KDE 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}/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/exit.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/run.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
+
+%post -n trinity-kxsldbg
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kxsldbg
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%endif
+
+##########
+
+%package devel
+Group: Development/Libraries
+Summary: Header files and documentation for %{name}
+
+Obsoletes: trinity-kdewebdev-devel < %{version}-%{release}
+Provides: trinity-kdewebdev-devel = %{version}-%{release}
+
+Requires: trinity-tdelibs-devel
+Requires: trinity-kommander-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -a 1 -a 2 -a 3 -a 4
+%patch1 -p1 -b .kxsldbg-icons
+
+%__install -m644 -p %{SOURCE5} kxsldbg/
+%if 0%{?build_kxsldbg} == 0
+%__rm -rf kxsldbg/ doc/kxsldbg/ doc/xsldbg/
+%endif
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i "admin/acinclude.m4.in" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+%build
+unset QTDIR || : ; source /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+# Do not build against any "/usr" installed KDE
+export KDEDIR="%{tde_prefix}"
+
+# Specific path for RHEL4
+if [ -d "/usr/X11R6" ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --enable-new-ldflags \
+ --enable-closure \
+ --disable-debug --disable-warnings \
+ --disable-dependancy-tracking --enable-final \
+ --with-extra-includes=%{tde_includedir}/tqt \
+
+# WTF hack for RHEL4
+%if 0%{?rhel} == 4
+mkdir kommander/plugin/.libs/
+ln -s . kommander/plugin/.libs/.libs
+%endif
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{?buildroot}
+
+
+## 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/
+
+# make symlinks relative
+pushd %{buildroot}%{tde_tdedocdir}/HTML/en
+for i in *; do
+ if [ -d $i -a -L $i/common ]; then
+ rm -f $i/common
+ ln -nfs ../common $i
+ fi
+done
+popd
+
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2