summaryrefslogtreecommitdiffstats
path: root/redhat/applications
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:56:36 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:56:36 +0200
commit8743b3f65cd27e30aefe49f127105aa305a86051 (patch)
tree1d238dbbf856f76755c03df8580e605634215342 /redhat/applications
parent6933801a1f1b5ad5beadeb413cf12557ade80d9a (diff)
downloadtde-packaging-8743b3f65cd27e30aefe49f127105aa305a86051.tar.gz
tde-packaging-8743b3f65cd27e30aefe49f127105aa305a86051.zip
RPM Packaging: add SPEC file for 3.5.13.2 other components
Diffstat (limited to 'redhat/applications')
-rw-r--r--redhat/applications/abakus/trinity-abakus-3.5.13.2.spec126
-rw-r--r--redhat/applications/adept/trinity-adept-3.5.13.2.spec198
-rw-r--r--redhat/applications/amarok/trinity-amarok-3.5.13.2.spec430
-rw-r--r--redhat/applications/basket/trinity-basket-3.5.13.2.spec164
-rw-r--r--redhat/applications/bibletime/trinity-bibletime-3.5.13.2.spec157
-rw-r--r--redhat/applications/digikam/trinity-digikam-3.5.13.2.spec345
-rw-r--r--redhat/applications/dolphin/trinity-dolphin-3.5.13.2.spec196
-rw-r--r--redhat/applications/filelight/trinity-filelight-3.5.13.2.spec161
-rw-r--r--redhat/applications/gtk-qt-engine/trinity-gtk-qt-engine-3.5.13.2.spec152
-rw-r--r--redhat/applications/gwenview-i18n/trinity-gwenview-i18n-3.5.13.2.spec184
-rw-r--r--redhat/applications/gwenview/trinity-gwenview-3.5.13.2.spec246
-rw-r--r--redhat/applications/k3b-i18n/trinity-k3b-i18n-3.5.13.2.spec328
-rw-r--r--redhat/applications/k3b/trinity-k3b-3.5.13.2.spec492
-rw-r--r--redhat/applications/k9copy/trinity-k9copy-3.5.13.2.spec161
-rw-r--r--redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla-3.5.13.2.spec143
-rw-r--r--redhat/applications/kaffeine/trinity-kaffeine-3.5.13.2.spec304
-rw-r--r--redhat/applications/katapult/trinity-katapult-3.5.13.2.spec199
-rw-r--r--redhat/applications/kbarcode/trinity-kbarcode-3.5.13.2.spec163
-rw-r--r--redhat/applications/kbfx/trinity-kbfx-3.5.13.2.spec175
-rw-r--r--redhat/applications/kbookreader/trinity-kbookreader-3.5.13.2.spec159
-rw-r--r--redhat/applications/kchmviewer/trinity-kchmviewer-3.5.13.2.spec162
-rw-r--r--redhat/applications/kcpuload/trinity-kcpuload-3.5.13.2.spec142
-rw-r--r--redhat/applications/kdbusnotification/trinity-kdbusnotification-3.5.13.2.spec132
-rw-r--r--redhat/applications/kdiff3/trinity-kdiff3-3.5.13.2.spec168
-rw-r--r--redhat/applications/kdirstat/trinity-kdirstat-3.5.13.2.spec151
-rw-r--r--redhat/applications/keep/trinity-keep-3.5.13.2.spec142
-rw-r--r--redhat/applications/kerry/trinity-kerry-3.5.13.2.spec161
-rw-r--r--redhat/applications/kgtk-qt3/trinity-kgtk-qt3-3.5.13.2.spec148
-rw-r--r--redhat/applications/kile/trinity-kile-3.5.13.2.spec213
-rw-r--r--redhat/applications/kima/trinity-kima-3.5.13.2.spec130
-rw-r--r--redhat/applications/kiosktool/trinity-kiosktool-3.5.13.2.spec162
-rw-r--r--redhat/applications/kmplayer/trinity-kmplayer-3.5.13.2.spec252
-rw-r--r--redhat/applications/kmyfirewall/trinity-kmyfirewall-3.5.13.2.spec211
-rw-r--r--redhat/applications/kmymoney/trinity-kmymoney-3.5.13.2.spec303
-rw-r--r--redhat/applications/knemo/trinity-knemo-3.5.13.2.spec150
-rw-r--r--redhat/applications/knetload/trinity-knetload-3.5.13.2.spec147
-rw-r--r--redhat/applications/knetstats/trinity-knetstats-3.5.13.2.spec135
-rw-r--r--redhat/applications/knetworkmanager/trinity-knetworkmanager-3.5.13.2.spec189
-rw-r--r--redhat/applications/knights/trinity-knights-3.5.13.2.spec148
-rw-r--r--redhat/applications/knowit/trinity-knowit-3.5.13.2.spec145
-rw-r--r--redhat/applications/knutclient/trinity-knutclient-3.5.13.2.spec144
-rw-r--r--redhat/applications/koffice-i18n/trinity-koffice-i18n-3.5.13.2.spec1089
-rw-r--r--redhat/applications/koffice/trinity-koffice-3.5.13.2.spec1201
-rw-r--r--redhat/applications/konversation/trinity-konversation-3.5.13.2.spec197
-rw-r--r--redhat/applications/kopete-otr/trinity-kopete-otr-3.5.13.2.spec161
-rw-r--r--redhat/applications/kpicosim/trinity-kpicosim-3.5.13.2.spec138
-rw-r--r--redhat/applications/kpilot/trinity-kpilot-3.5.13.2.spec187
-rw-r--r--redhat/applications/kpowersave/trinity-kpowersave-3.5.13.2.spec165
-rw-r--r--redhat/applications/krename/trinity-krename-3.5.13.2.spec154
-rw-r--r--redhat/applications/krusader/trinity-krusader-3.5.13.2.spec167
-rw-r--r--redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin-3.5.13.2.spec137
-rw-r--r--redhat/applications/ksquirrel/trinity-ksquirrel-3.5.13.2.spec162
-rw-r--r--redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.2.spec129
-rw-r--r--redhat/applications/ksystemlog/trinity-ksystemlog-3.5.13.2.spec137
-rw-r--r--redhat/applications/ktechlab/trinity-ktechlab-3.5.13.2.spec144
-rw-r--r--redhat/applications/ktorrent/trinity-ktorrent-3.5.13.2.spec184
-rw-r--r--redhat/applications/kuickshow/trinity-kuickshow-3.5.13.2.spec157
-rw-r--r--redhat/applications/kvirc/trinity-kvirc-3.5.13.2.spec233
-rw-r--r--redhat/applications/kvkbd/trinity-kvkbd-3.5.13.2.spec131
-rw-r--r--redhat/applications/piklab/trinity-piklab-3.5.13.2.spec160
-rw-r--r--redhat/applications/potracegui/trinity-potracegui-3.5.13.2.spec137
-rw-r--r--redhat/applications/rosegarden/trinity-rosegarden-3.5.13.2.spec221
-rw-r--r--redhat/applications/smartcardauth/trinity-smartcardauth-3.5.13.2.spec157
-rw-r--r--redhat/applications/smb4k/trinity-smb4k-3.5.13.2.spec192
-rw-r--r--redhat/applications/soundkonverter/trinity-soundkonverter-3.5.13.2.spec184
-rw-r--r--redhat/applications/tde-guidance/trinity-tde-guidance-3.5.13.2.spec441
-rw-r--r--redhat/applications/tde-style-lipstik/trinity-tde-style-lipstik-3.5.13.2.spec135
-rw-r--r--redhat/applications/tde-style-qtcurve/trinity-tde-style-qtcurve-3.5.13.2.spec160
-rw-r--r--redhat/applications/tde-systemsettings/trinity-tde-systemsettings-3.5.13.2.spec165
-rw-r--r--redhat/applications/tdeio-apt/trinity-tdeio-apt-3.5.13.2.spec127
-rw-r--r--redhat/applications/tdeio-locate/trinity-tdeio-locate-3.5.13.2.spec148
-rw-r--r--redhat/applications/tdeio-umountwrapper/trinity-tdeio-umountwrapper-3.5.13.2.spec154
-rw-r--r--redhat/applications/tderadio/trinity-tderadio-3.5.13.2.spec196
-rw-r--r--redhat/applications/tdesudo/trinity-tdesudo-3.5.13.2.spec146
-rw-r--r--redhat/applications/tdesvn/trinity-tdesvn-3.5.13.2.spec289
-rw-r--r--redhat/applications/tdmtheme/trinity-tdmtheme-3.5.13.2.spec136
-rw-r--r--redhat/applications/tellico/trinity-tellico-3.5.13.2.spec233
-rw-r--r--redhat/applications/twin-style-crystal/trinity-twin-style-crystal-3.5.13.2.spec129
-rw-r--r--redhat/applications/wlassistant/trinity-wlassistant-3.5.13.2.spec143
-rw-r--r--redhat/applications/yakuake/trinity-yakuake-3.5.13.2.spec138
80 files changed, 16682 insertions, 0 deletions
diff --git a/redhat/applications/abakus/trinity-abakus-3.5.13.2.spec b/redhat/applications/abakus/trinity-abakus-3.5.13.2.spec
new file mode 100644
index 000000000..92c5c4c0a
--- /dev/null
+++ b/redhat/applications/abakus/trinity-abakus-3.5.13.2.spec
@@ -0,0 +1,126 @@
+# Default version for this component
+%define tdecomp abakus
+
+# 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-%{tdecomp}
+Summary: Calculator for TDE
+Version: 0.91
+Release: 5%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: cmake >= 2.8
+BuildRequires: bison
+
+%description
+AbaKus is a complex calculator, which provides
+many different kinds of calculations.
+Think of it as bc (the command-line calculator) with a nice GUI.
+It also gives information about mathematical variables and
+has the user-friendly menu options of a normal TDE application.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+
+%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"
+
+# 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} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DBUILD_ALL=ON \
+ ..
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{tde_bindir}/abakus
+%{tde_datadir}/apps/abakus/
+%{tde_datadir}/icons/hicolor/*/apps/abakus.png
+%{tde_tdedocdir}/HTML/en/abakus/
+%{tde_datadir}/applnk/Utilities/abakus.desktop
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
+
+* Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.91-4
+- Initial release for TDE 3.5.13.1
diff --git a/redhat/applications/adept/trinity-adept-3.5.13.2.spec b/redhat/applications/adept/trinity-adept-3.5.13.2.spec
new file mode 100644
index 000000000..14e09acf1
--- /dev/null
+++ b/redhat/applications/adept/trinity-adept-3.5.13.2.spec
@@ -0,0 +1,198 @@
+# Default version for this component
+%define tdecomp adept
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: Package management suite for Trinity
+Version: 2.1.3
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://lpnotfr.free.fr/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+Requires: %{name}-manager = %{version}-%{release}
+Requires: %{name}-installer = %{version}-%{release}
+Requires: %{name}-updater = %{version}-%{release}
+Requires: %{name}-notifier = %{version}-%{release}
+Requires: %{name}-batch = %{version}-%{release}
+
+
+%description
+These packages belong to the adept suite:
+ * adept-manager - package manager
+ * adept-installer - application manager
+ * adept-updater - system upgrade wizard
+ * adept-notifier - systray notification of available updates
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS CHANGELOG ChangeLog COPYING
+
+##########
+
+%package common
+Requires: trinity-konsole
+Summary: Package manager for Trinity -- common files
+
+%description common
+Icons and other common files for all adept components.
+
+##########
+
+%package manager
+Requires: %{name}-common = %{version}-%{release}
+Summary: package manager for Trinity
+
+%description manager
+Adept Manager is a graphical user interface for package management.
+
+Besides these basic functions the following features are provided:
+ * Search and filter the list of available packages (also using debtags)
+ * Perform smart system upgrades
+ * Edit the list of used repositories (sources.list)
+ * Configure packages through the debconf system
+
+Please also install libtqt-perl if you want the KDE Debconf frontend
+to function.
+
+##########
+
+%package installer
+Requires: %{name}-common = %{version}-%{release}
+Summary: simple user interface for application management (for Trinity)
+
+%description installer
+Adept Installer presents a list of applications available through the
+Advanced Package Tool (APT). An application is considered a package
+that contains a .desktop file for use with KDE, GNOME or other
+desktop environment.
+
+##########
+
+%package updater
+Requires: %{name}-common = %{version}-%{release}
+Summary: system update tool for Trinity
+
+%description updater
+Adept Updater provides a simple wizard-style user interface to system
+upgrades. It uses same algorithms as apt-get dist-upgrade.
+
+##########
+
+%package notifier
+Requires: %{name}-common = %{version}-%{release}
+Requires: %{name}-updater = %{version}-%{release}
+Summary: System tray notifier of available system updates
+
+%description notifier
+Adept Notifier provides a system tray icon notifying the user of
+available updates. It will run Adept Updater for the user when
+clicked.
+
+##########
+
+%package batch
+Requires: %{name}-manager = %{version}-%{release}
+Summary: command line install for Adept
+
+%description batch
+Adept Batch lets you install packages with Adept from the
+command line. It is intended for shell scripts and being run
+by external applications.
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags} -C adept
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang adept
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.1.3-1
+- Initial release for TDE 3.5.13.2
+
diff --git a/redhat/applications/amarok/trinity-amarok-3.5.13.2.spec b/redhat/applications/amarok/trinity-amarok-3.5.13.2.spec
new file mode 100644
index 000000000..01baf11e7
--- /dev/null
+++ b/redhat/applications/amarok/trinity-amarok-3.5.13.2.spec
@@ -0,0 +1,430 @@
+# Basic package informations
+%define tdecomp amarok
+%define tdeversion 3.5.13.2
+
+# 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-%{tdecomp}
+Summary: Media player
+Version: 1.4.10
+Release: 9%{?dist}%{?_variant}
+
+Group: Applications/Multimedia
+License: GPLv2+
+Url: http://amarok.kde.org
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz
+
+Patch3: amarok-3.5.13.1-fix_rhel4_libs.patch
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: trinity-konqueror-devel >= 3.5.13.2
+
+BuildRequires: alsa-lib-devel
+BuildRequires: desktop-file-utils
+BuildRequires: esound-devel
+BuildRequires: gettext
+BuildRequires: pcre-devel
+BuildRequires: taglib-devel
+
+BuildRequires: libtool
+%if 0%{?fedora} > 4 || 0%{?rhel} > 4
+BuildRequires: libtool-ltdl-devel
+%endif
+BuildRequires: libusb-devel
+BuildRequires: mysql-devel
+BuildRequires: postgresql-devel
+BuildRequires: SDL-devel
+BuildRequires: taglib-devel
+BuildRequires: sqlite-devel
+# not used anymore, in favor of libvisual ? -- Rex
+#{?fedora:BuildRequires: xmms-devel}
+
+
+# DBUS support
+%if 0%{?suse_version}
+BuildRequires: dbus-1-devel
+%else
+BuildRequires: dbus-devel
+%endif
+
+# DBUS-(T)QT support
+%if 0%{?rhel} == 4
+BuildRequires: dbus-qt
+%else
+BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.2
+%endif
+
+# IFP support
+# IFP package is broken under PCLinuxOS.
+%if 0%{?pclinuxos} == 0
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_ifp 1
+BuildRequires: libifp-devel
+%endif
+%endif
+
+# KARMA support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?pclinuxos} == 0
+%define with_karma 1
+BuildRequires: libkarma-devel
+BuildRequires: karma-sharp
+%endif
+%endif
+
+# GPOD (ipod) support
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_gpod 1
+BuildRequires: libgpod-devel >= 0.4.2
+%endif
+
+# MTP players
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_mtp 1
+BuildRequires: libmtp-devel
+BuildRequires: libmusicbrainz-devel
+%endif
+
+# Creative Nomad Jukebox
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220
+%define with_njb 1
+BuildRequires: libnjb-devel
+%endif
+
+# VISUAL support
+%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_libvisual 1
+BuildRequires: libvisual-devel
+%endif
+
+# TUNEPIMP support
+%if 0%{?mgaversion} && 0%{?mgaversion} <= 2
+BuildRequires: libtunepimp-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?suse_version}
+BuildRequires: libtunepimp-devel
+%endif
+
+# INOTIFY support
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_inotify 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}inotifytools-devel
+%endif
+%endif
+
+# XINE support
+%if 0%{?rhel} >= 4 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_xine 1
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+BuildRequires: libxine-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: xine-lib-devel
+%endif
+%endif
+
+# YAUAP support
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_yauap 1
+%endif
+
+# AKODE support
+%if 0
+%define with_akode 1
+BuildRequires: trinity-akode-devel
+%endif
+
+# MP4V2 support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_mp4v2 1
+BuildRequires: libmp4v2-devel
+%endif
+
+# ruby
+BuildRequires: ruby
+BuildRequires: ruby-devel
+
+# To open the selected browser, works with Patch2
+Requires: xdg-utils
+Requires(post): xdg-utils
+Requires(postun): xdg-utils
+
+
+%description
+Amarok is a multimedia player with:
+ - fresh playlist concept, very fast to use, with drag and drop
+ - plays all formats supported by the various engines
+ - audio effects, like reverb and compressor
+ - compatible with the .m3u and .pls formats for playlists
+ - nice GUI, integrates into the TDE look, but with a unique touch
+
+%files -f amarok.lang
+%defattr(-,root,root,-)
+%doc COPYING AUTHORS ChangeLog README
+%{tde_bindir}/amarok
+%{tde_bindir}/amarokapp
+%{tde_bindir}/amarokcollectionscanner
+%{tde_bindir}/amarok_proxy.rb
+%{tde_datadir}/apps/amarok/
+%{tde_datadir}/icons/hicolor/*/*/*
+%{tde_datadir}/applications/kde/*.desktop
+%{tde_datadir}/servicetypes/*.desktop
+%{tde_datadir}/apps/profiles/amarok.profile.xml
+%{tde_datadir}/config/amarokrc
+%{tde_datadir}/config.kcfg/*.kcfg
+%{tde_datadir}/services/amarokitpc.protocol
+%{tde_datadir}/services/amaroklastfm.protocol
+%{tde_datadir}/services/amarokpcast.protocol
+# -libs ? -- Rex
+%{tde_libdir}/libamarok.so.0
+%{tde_libdir}/libamarok.so.0.0.0
+# DAAP
+%{tde_bindir}/amarok_daapserver.rb
+%{tde_tdelibdir}/libamarok_daap-mediadevice.*
+%{tde_datadir}/services/amarok_daap-mediadevice.desktop
+# Mass-storage
+%{tde_datadir}/services/amarok_massstorage-device.desktop
+%{tde_tdelibdir}/libamarok_massstorage-device.*
+# NFS
+%{tde_datadir}/services/amarok_nfs-device.desktop
+%{tde_tdelibdir}/libamarok_nfs-device.*
+# SMB
+%{tde_datadir}/services/amarok_smb-device.desktop
+%{tde_tdelibdir}/libamarok_smb-device.*
+# IPod
+%if 0%{?with_gpod}
+%{tde_datadir}/services/amarok_ipod-mediadevice.desktop
+%{tde_tdelibdir}/libamarok_ipod-mediadevice.*
+%endif
+# VFAT
+%{tde_datadir}/services/amarok_generic-mediadevice.desktop
+%{tde_tdelibdir}/libamarok_generic-mediadevice.*
+# iRiver
+%if 0%{?with_ifp}
+%{tde_datadir}/services/amarok_ifp-mediadevice.desktop
+%{tde_tdelibdir}/libamarok_ifp-mediadevice.*
+%endif
+# Creative Zen
+%if 0%{?with_njb}
+%{tde_datadir}/services/amarok_njb-mediadevice.desktop
+%{tde_tdelibdir}/libamarok_njb-mediadevice.*
+%endif
+# MTP players
+%if 0%{?with_mtp}
+%{tde_datadir}/services/amarok_mtp-mediadevice.desktop
+%{tde_tdelibdir}/libamarok_mtp-mediadevice.*
+%endif
+# Rio Karma
+%if 0%{?with_karma}
+%{tde_datadir}/services/amarok_riokarma-mediadevice.desktop
+%{tde_tdelibdir}/libamarok_riokarma-mediadevice.*
+%endif
+# Void engine (noop)
+%{tde_datadir}/services/amarok_void-engine_plugin.desktop
+%{tde_tdelibdir}/libamarok_void-engine_plugin.*
+# Xine engine
+%if 0%{?with_xine}
+%{tde_datadir}/services/amarok_xine-engine.desktop
+%{tde_tdelibdir}/libamarok_xine-engine.*
+%endif
+## Gstreamer engine
+#%{tde_datadir}/services/amarok_gst10engine_plugin.desktop
+#%{tde_tdelibdir}/libamarok_gst10engine_plugin.*
+# YAUAP
+%if 0%{?with_yauap}
+%{tde_datadir}/services/amarok_yauap-engine_plugin.desktop
+%{tde_tdelibdir}/libamarok_yauap-engine_plugin.*
+%endif
+# AKODE
+%if 0%{?with_akode}
+%{tde_datadir}/services/amarok_aKode-engine.desktop
+%{tde_tdelibdir}/libamarok_aKode-engine.*
+%endif
+
+%post
+/sbin/ldconfig
+xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
+xdg-desktop-menu forceupdate 2> /dev/null || :
+
+%postun
+/sbin/ldconfig
+xdg-icon-resource forceupdate --theme hicolor 2> /dev/null || :
+xdg-desktop-menu forceupdate 2> /dev/null || :
+
+
+##########
+
+%package ruby
+Summary: %{name} Ruby support
+Group: Applications/Multimedia
+Requires: %{name} = %{version}-%{release}
+# For dir ownership and some default plugins (lyrics)
+Requires: ruby
+
+%description ruby
+%{summary}.
+
+%files ruby
+%defattr(-,root,root,-)
+%{tde_libdir}/ruby_lib/*
+
+##########
+
+%package konqueror
+Summary: Amarok konqueror (service menus, sidebar) support
+Group: Applications/Multimedia
+
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-konqueror
+
+%description konqueror
+%{summary}.
+
+%files konqueror
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/konqueror/servicemenus/*.desktop
+%{tde_tdelibdir}/konqsidebar_universalamarok.*
+%{tde_datadir}/apps/konqsidebartng/*/amarok.desktop
+
+
+##########
+
+%if 0%{?with_libvisual}
+
+%package visualisation
+Summary: Visualisation plugins for Amarok
+Group: Applications/Multimedia
+Requires: %{name} = %{version}-%{release}
+# No plugins by default, we need libvisual-plugins
+#Requires: libvisual-plugins
+
+%description visualisation
+Amarok can use visualisation plugins from different origins.
+Right now, only xmms is supported, which means that you can
+use any of xmms' visualisation plugins with Amarok.
+
+%files visualisation
+%defattr(-,root,root,-)
+%{tde_bindir}/amarok_libvisual
+
+%endif
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}}
+%if 0%{?rhel} == 4
+%patch3 -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 LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}"
+
+# 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 \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DQT_LIBRARY_DIRS="${QTLIB:-${QTDIR}/%{_lib}}" \
+ %{?with_libvisual:-DWITH_LIBVISUAL=ON} \
+ -DWITH_KONQSIDEBAR=ON \
+ %{?with_xine:-DWITH_XINE=ON} \
+ %{?with_yauap:-DWITH_YAUAP=ON} \
+ %{?with_akode:-DWITH_AKODE=ON} \
+ %{?with_gpod:-DWITH_IPOD=ON} \
+ %{?with_ifp:-DWITH_IFP=ON} \
+ %{?with_njb:-DWITH_NJB=ON} \
+ %{?with_mtp:-DWITH_MTP=ON} \
+ %{?with_karma:-DWITH_RIOKARMA=ON} \
+ -DWITH_DAAP=ON \
+ %{?with_mp4v2:-DWITH_MP4V2=ON} \
+ %{?with_inotify:-DWITH_INOTIFY=ON} \
+ -DBUILD_ALL=ON \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+%install
+%__rm -fr $RPM_BUILD_ROOT
+%__make install DESTDIR=$RPM_BUILD_ROOT -C build
+
+
+# unpackaged files
+%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la
+# Removes '.so' to avoid automatic -devel dependency
+%__rm -f $RPM_BUILD_ROOT%{tde_libdir}/libamarok.so
+
+# Locales
+%find_lang amarok
+
+# HTML
+for lang_dir in $RPM_BUILD_ROOT%{tde_tdedocdir}/HTML/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ [ "$lang" == "en" ] && d=en/amarok || d=$lang
+ echo "%lang($lang) %doc %{tde_tdedocdir}/HTML/$d" >> amarok.lang
+ fi
+done
+
+
+
+%clean
+%__rm -fr $RPM_BUILD_ROOT
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.10-9
+- Initial release for TDE 3.5.13.2
+
+* Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 1.4.10-8
+- Initial release for TDE 3.5.13.1
diff --git a/redhat/applications/basket/trinity-basket-3.5.13.2.spec b/redhat/applications/basket/trinity-basket-3.5.13.2.spec
new file mode 100644
index 000000000..991e859e2
--- /dev/null
+++ b/redhat/applications/basket/trinity-basket-3.5.13.2.spec
@@ -0,0 +1,164 @@
+# Default version for this component
+%define kdecomp basket
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: Taking care of your ideas.
+Version: 1.0.3.1
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: trinity-tdepim-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+BuildRequires: gpgme-devel
+
+%description
+This application is mainly an all-purpose notes taker. It provide several baskets where
+to drop every sort of items: text, rich text, links, images, sounds, files, colors,
+application launcher... Objects can be edited, copied, dragged... So, you can arrange
+them as you want ! This application can be used to quickly drop web objects (link, text,
+images...) or notes, as well as to free your clutered desktop (if any). It is also useful
+to collect informations for a report. Those data can be shared with co-workers by exporting
+baskets to HTML.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --disable-static
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{kdecomp}
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+/sbin/ldconfig
+
+%postun
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+/sbin/ldconfig
+
+
+%files -f %{kdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{tde_bindir}/basket
+%{tde_tdeappdir}/basket.desktop
+%{tde_datadir}/apps/basket/
+%{tde_datadir}/apps/kontact/ksettingsdialog/kontact_basketplugin.setdlg
+%{tde_libdir}/libbasketcommon.la
+%{tde_libdir}/libbasketcommon.so
+%{tde_tdelibdir}/basketthumbcreator.la
+%{tde_tdelibdir}/basketthumbcreator.so
+%{tde_tdelibdir}/kcm_basket.la
+%{tde_tdelibdir}/kcm_basket.so
+%{tde_tdelibdir}/libbasketpart.la
+%{tde_tdelibdir}/libbasketpart.so
+%{tde_tdelibdir}/libkontact_basket.la
+%{tde_tdelibdir}/libkontact_basket.so
+%{tde_datadir}/config/magic/basket.magic
+%{tde_datadir}/icons/crystalsvg/*/*/*
+%{tde_datadir}/mimelnk/application/x-basket-archive.desktop
+%{tde_datadir}/mimelnk/application/x-basket-template.desktop
+%{tde_datadir}/services/basket_config_apps.desktop
+%{tde_datadir}/services/basket_config_baskets.desktop
+%{tde_datadir}/services/basket_config_features.desktop
+%{tde_datadir}/services/basket_config_general.desktop
+%{tde_datadir}/services/basket_config_new_notes.desktop
+%{tde_datadir}/services/basket_config_notes.desktop
+%{tde_datadir}/services/basket_config_notes_appearance.desktop
+%{tde_datadir}/services/basket_part.desktop
+%{tde_datadir}/services/basketthumbcreator.desktop
+%{tde_datadir}/services/kontact/basket.desktop
+%{tde_datadir}/services/kontact/basket_v4.desktop
+%{tde_tdedocdir}/HTML/en/basket/
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.3.1-4
+- Initial release for TDE 3.5.13.2
+
+* Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.3.1-3
+- Initial release for TDE 3.5.13.1
diff --git a/redhat/applications/bibletime/trinity-bibletime-3.5.13.2.spec b/redhat/applications/bibletime/trinity-bibletime-3.5.13.2.spec
new file mode 100644
index 000000000..11885837c
--- /dev/null
+++ b/redhat/applications/bibletime/trinity-bibletime-3.5.13.2.spec
@@ -0,0 +1,157 @@
+# Default version for this component
+%define kdecomp bibletime
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: A bible study tool for Trinity
+Version: 1.6.6.0
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+# Requires: clucene
+%if 0%{?fedora} || 0%{?suse_version}
+BuildRequires: clucene-core-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}clucene-devel
+%endif
+
+# Requires: sword
+BuildRequires: sword-devel
+Requires: sword
+
+%description
+BibleTime is a free and easy to use bible study tool for UNIX systems.
+It requires a working KDE environment and the SWORD library.
+BibleTime provides easy handling of digitized texts (Bibles, commentaries
+and lexicons) and powerful features to work with these texts (search in
+texts, write own notes, save, print etc.).
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+# Not SMP safe !
+%__make -C bibletime/frontend
+
+# SMP safe !
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/pics/*
+%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/bibletimeui.rc
+%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/tips
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+/sbin/ldconfig || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+/sbin/ldconfig || :
+
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/bibletime
+%{tde_tdeincludedir}/bibletimeinterface.h
+%{tde_datadir}/applications/bibletime.desktop
+%{tde_datadir}/apps/bibletime/
+%{tde_datadir}/icons/hicolor/*/*/*.png
+%{tde_tdedocdir}/HTML/en/bibletime/
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.6.0-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.6.6.0-3
+- Initial build for TDE 3.5.13.1
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 1.6.6.0-2
+- Fix compilation on RHEL 5
+- Fix compilation with GCC 4.7
+
+* Tue Nov 29 2011 Francois Andriot <francois.andriot@free.fr> - 1.6.6.0-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/digikam/trinity-digikam-3.5.13.2.spec b/redhat/applications/digikam/trinity-digikam-3.5.13.2.spec
new file mode 100644
index 000000000..92e48cadb
--- /dev/null
+++ b/redhat/applications/digikam/trinity-digikam-3.5.13.2.spec
@@ -0,0 +1,345 @@
+# Default version for this component
+%define kdecomp digikam
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: digital photo management application for KDE [Trinity]
+Version: 0.9.6
+Release: 5%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+# [Digikam] Revert PNG support to libpng12 (for RHEL4)
+Patch1: digikam-3.5.13.2-fix_png12_support.patch
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: trinity-libkexiv2-devel >= 3.5.13.2
+BuildRequires: trinity-libkdcraw-devel >= 3.5.13.2
+BuildRequires: trinity-libkipi-devel >= 3.5.13.2
+%if 0%{?rhel} == 4 || 0%{?rhel} == 5 || 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: gphoto2-devel
+%else
+BuildRequires: libgphoto2-devel
+%endif
+BuildRequires: libtiff-devel
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+# JASPER support
+%if 0%{?suse_version}
+BuildRequires: libjasper-devel
+%else
+BuildRequires: jasper-devel
+%endif
+
+# EXIV2 support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}exiv2-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libexiv2-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: exiv2-devel
+%endif
+
+Requires: trinity-libkexiv2 >= 3.5.13.1
+Requires: trinity-libkdcraw >= 3.5.13.1
+Requires: trinity-libkipi >= 3.5.13.1
+
+%description
+An easy to use and powerful digital photo management
+application, which makes importing, organizing and manipulating
+digital photos a "snap". An interface is provided to connect to
+your digital camera, preview the images and download and/or
+delete them.
+
+The digiKam built-in image editor makes the common photo correction
+a simple task. The image editor is extensible via plugins and,
+the digikamimageplugins project has been merged to digiKam core
+since release 0.9.2, all useful image editor plugins are available
+in the base installation.
+
+digiKam can also make use of the KIPI image handling plugins to
+extend its capabilities even further for photo manipulations,
+import and export, etc. The kipi-plugins package contains many
+very useful extentions.
+
+digiKam is based in part on the work of the Independent JPEG Group.
+
+
+%package devel
+Group: Development/Libraries
+Summary: Development files for %{name}
+Requires: %{name} = %{version}
+
+%description devel
+%{summary}
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+%if 0%{?rhel} == 4
+%patch1 -p1 -b .png12
+%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_tdeincludedir}"
+export KDEDIR="%{tde_prefix}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_tdeincludedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%find_lang %{kdecomp}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+/sbin/ldconfig
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+/sbin/ldconfig
+update-desktop-database %{tde_appdir} 2> /dev/null || :
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+
+%files -f %{kdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{tde_bindir}/digikam
+%{tde_bindir}/digikamthemedesigner
+%{tde_bindir}/digitaglinktree
+%{tde_bindir}/showfoto
+%{tde_libdir}/libdigikam.so.0
+%{tde_libdir}/libdigikam.so.0.0.0
+%{tde_tdelibdir}/kio_digikamalbums.la
+%{tde_tdelibdir}/kio_digikamalbums.so
+%{tde_tdelibdir}/kio_digikamdates.la
+%{tde_tdelibdir}/kio_digikamdates.so
+%{tde_tdelibdir}/digikamimageplugin_adjustcurves.la
+%{tde_tdelibdir}/digikamimageplugin_adjustcurves.so
+%{tde_tdelibdir}/digikamimageplugin_adjustlevels.la
+%{tde_tdelibdir}/digikamimageplugin_adjustlevels.so
+%{tde_tdelibdir}/digikamimageplugin_antivignetting.la
+%{tde_tdelibdir}/digikamimageplugin_antivignetting.so
+%{tde_tdelibdir}/digikamimageplugin_blurfx.la
+%{tde_tdelibdir}/digikamimageplugin_blurfx.so
+%{tde_tdelibdir}/digikamimageplugin_border.la
+%{tde_tdelibdir}/digikamimageplugin_border.so
+%{tde_tdelibdir}/digikamimageplugin_channelmixer.la
+%{tde_tdelibdir}/digikamimageplugin_channelmixer.so
+%{tde_tdelibdir}/digikamimageplugin_charcoal.la
+%{tde_tdelibdir}/digikamimageplugin_charcoal.so
+%{tde_tdelibdir}/digikamimageplugin_colorfx.la
+%{tde_tdelibdir}/digikamimageplugin_colorfx.so
+%{tde_tdelibdir}/digikamimageplugin_core.la
+%{tde_tdelibdir}/digikamimageplugin_core.so
+%{tde_tdelibdir}/digikamimageplugin_distortionfx.la
+%{tde_tdelibdir}/digikamimageplugin_distortionfx.so
+%{tde_tdelibdir}/digikamimageplugin_emboss.la
+%{tde_tdelibdir}/digikamimageplugin_emboss.so
+%{tde_tdelibdir}/digikamimageplugin_filmgrain.la
+%{tde_tdelibdir}/digikamimageplugin_filmgrain.so
+%{tde_tdelibdir}/digikamimageplugin_freerotation.la
+%{tde_tdelibdir}/digikamimageplugin_freerotation.so
+%{tde_tdelibdir}/digikamimageplugin_hotpixels.la
+%{tde_tdelibdir}/digikamimageplugin_hotpixels.so
+%{tde_tdelibdir}/digikamimageplugin_infrared.la
+%{tde_tdelibdir}/digikamimageplugin_infrared.so
+%{tde_tdelibdir}/digikamimageplugin_inpainting.la
+%{tde_tdelibdir}/digikamimageplugin_inpainting.so
+%{tde_tdelibdir}/digikamimageplugin_inserttext.la
+%{tde_tdelibdir}/digikamimageplugin_inserttext.so
+%{tde_tdelibdir}/digikamimageplugin_lensdistortion.la
+%{tde_tdelibdir}/digikamimageplugin_lensdistortion.so
+%{tde_tdelibdir}/digikamimageplugin_noisereduction.la
+%{tde_tdelibdir}/digikamimageplugin_noisereduction.so
+%{tde_tdelibdir}/digikamimageplugin_oilpaint.la
+%{tde_tdelibdir}/digikamimageplugin_oilpaint.so
+%{tde_tdelibdir}/digikamimageplugin_perspective.la
+%{tde_tdelibdir}/digikamimageplugin_perspective.so
+%{tde_tdelibdir}/digikamimageplugin_raindrop.la
+%{tde_tdelibdir}/digikamimageplugin_raindrop.so
+%{tde_tdelibdir}/digikamimageplugin_restoration.la
+%{tde_tdelibdir}/digikamimageplugin_restoration.so
+%{tde_tdelibdir}/digikamimageplugin_sheartool.la
+%{tde_tdelibdir}/digikamimageplugin_sheartool.so
+%{tde_tdelibdir}/digikamimageplugin_superimpose.la
+%{tde_tdelibdir}/digikamimageplugin_superimpose.so
+%{tde_tdelibdir}/digikamimageplugin_texture.la
+%{tde_tdelibdir}/digikamimageplugin_texture.so
+%{tde_tdelibdir}/digikamimageplugin_whitebalance.la
+%{tde_tdelibdir}/digikamimageplugin_whitebalance.so
+%{tde_tdelibdir}/kio_digikamsearch.la
+%{tde_tdelibdir}/kio_digikamsearch.so
+%{tde_tdelibdir}/kio_digikamtags.la
+%{tde_tdelibdir}/kio_digikamtags.so
+%{tde_tdelibdir}/kio_digikamthumbnail.la
+%{tde_tdelibdir}/kio_digikamthumbnail.so
+%{tde_tdeappdir}/digikam.desktop
+%{tde_tdeappdir}/showfoto.desktop
+%{tde_datadir}/apps/digikam/
+%{tde_datadir}/apps/konqueror/servicemenus/digikam-download.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/digikam-gphoto2-camera.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/digikam-mount-and-download.desktop
+%{tde_datadir}/apps/showfoto/
+%{tde_datadir}/icons/hicolor/*/apps/digikam.png
+%{tde_datadir}/icons/hicolor/*/apps/showfoto.png
+%{tde_datadir}/services/digikamalbums.protocol
+%{tde_datadir}/services/digikamdates.protocol
+%{tde_datadir}/services/digikamimageplugin_adjustcurves.desktop
+%{tde_datadir}/services/digikamimageplugin_adjustlevels.desktop
+%{tde_datadir}/services/digikamimageplugin_antivignetting.desktop
+%{tde_datadir}/services/digikamimageplugin_blurfx.desktop
+%{tde_datadir}/services/digikamimageplugin_border.desktop
+%{tde_datadir}/services/digikamimageplugin_channelmixer.desktop
+%{tde_datadir}/services/digikamimageplugin_charcoal.desktop
+%{tde_datadir}/services/digikamimageplugin_colorfx.desktop
+%{tde_datadir}/services/digikamimageplugin_core.desktop
+%{tde_datadir}/services/digikamimageplugin_distortionfx.desktop
+%{tde_datadir}/services/digikamimageplugin_emboss.desktop
+%{tde_datadir}/services/digikamimageplugin_filmgrain.desktop
+%{tde_datadir}/services/digikamimageplugin_freerotation.desktop
+%{tde_datadir}/services/digikamimageplugin_hotpixels.desktop
+%{tde_datadir}/services/digikamimageplugin_infrared.desktop
+%{tde_datadir}/services/digikamimageplugin_inpainting.desktop
+%{tde_datadir}/services/digikamimageplugin_inserttext.desktop
+%{tde_datadir}/services/digikamimageplugin_lensdistortion.desktop
+%{tde_datadir}/services/digikamimageplugin_noisereduction.desktop
+%{tde_datadir}/services/digikamimageplugin_oilpaint.desktop
+%{tde_datadir}/services/digikamimageplugin_perspective.desktop
+%{tde_datadir}/services/digikamimageplugin_raindrop.desktop
+%{tde_datadir}/services/digikamimageplugin_restoration.desktop
+%{tde_datadir}/services/digikamimageplugin_sheartool.desktop
+%{tde_datadir}/services/digikamimageplugin_superimpose.desktop
+%{tde_datadir}/services/digikamimageplugin_texture.desktop
+%{tde_datadir}/services/digikamimageplugin_whitebalance.desktop
+%{tde_datadir}/services/digikamsearch.protocol
+%{tde_datadir}/services/digikamtags.protocol
+%{tde_datadir}/services/digikamthumbnail.protocol
+%{tde_datadir}/servicetypes/digikamimageplugin.desktop
+%{tde_mandir}/man*/*
+#%{tde_tdedocdir}/HTML/en/digikam-apidocs/
+
+
+%files devel
+%{tde_tdeincludedir}/digikam_export.h
+%{tde_tdeincludedir}/digikam/
+%{tde_libdir}/libdigikam.so
+%{tde_libdir}/libdigikam.la
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.6-5
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.6-4
+- Initial build for TDE 3.5.13.1
+
+* Fri Aug 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.6-3
+- Add support for Mageia 2 and Mandriva 2011
+- Removes old patches, adds GIT patches.
+- Fix digikam FTBFS due to jpeg code [Commit #b9419cd5]
+- Fix FTBFS due to png code [Bug #595] [Commit #3e27b07f]
+- Remove version.h. Cruft from an older version prior to 0.9.6.
+- Fix usage of obsolete libpng jmpbuf member [Commit #7d0d82b7]
+- GCC 4.7 fix. [Bug #958] [Commit #a9489034]
+- GCC 4.7 fix. [Bug #958] [Commit #a209c81b]
+- Fix 'format not a string literal' error [Commit #029218cd]
+- Update patch in GIT hash a9489034 to use reinterpret_cast. [Commit #5a043853]
+- Fix FTBFS on png >= 0.15 [Commit #18ecd512]
+
+* Sun Jul 08 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.6-3
+- Fix man directory location
+- Fix postinstall
+- Fix description
+- Add "BuildRequires: exiv2-devel"
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.6-2
+- gcc 4.7 + libpng 1.5 patch for digikam (consolidated) [Bug #958]
+
+* Sun Nov 06 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.6-1
+- Initial release for RHEL 6, RHEL 5 and Fedora 15
+
diff --git a/redhat/applications/dolphin/trinity-dolphin-3.5.13.2.spec b/redhat/applications/dolphin/trinity-dolphin-3.5.13.2.spec
new file mode 100644
index 000000000..632aaaaa3
--- /dev/null
+++ b/redhat/applications/dolphin/trinity-dolphin-3.5.13.2.spec
@@ -0,0 +1,196 @@
+# Default version for this component
+%define kdecomp dolphin
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: File manager for TDE focusing on usability
+Version: 0.9.2
+Release: 7%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+
+%description
+Dolphin focuses on being only a file manager.
+This approach allows to optimize the user
+interface for the task of file management.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --docdir=%{tde_tdedocdir} \
+ --libdir=%{tde_libdir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# TDE 3.5.12: dirty hack to prevent duplicate line in file 'd3lphin.desktop'
+sed -i "%{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop" \
+ -e "/^Name\[pa\].*/d"
+
+desktop-file-install --vendor "" \
+ --delete-original \
+ --dir %{buildroot}%{tde_datadir}/applications/ \
+ %{buildroot}%{tde_datadir}/applications/kde/d3lphin.desktop
+
+
+## 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
+
+# Makes 'media_safelyremove.desktop' an alternative
+%__mv -f %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin
+%__ln_s %{_sysconfdir}/alternatives/media_safelyremove.desktop_d3lphin %{buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop
+%__mkdir_p %{?buildroot}%{_sysconfdir}/alternatives
+%__ln_s %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop %{?buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop_d3lphin
+
+%find_lang d3lphin
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+update-alternatives --install \
+ %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop \
+ media_safelyremove.desktop_d3lphin \
+ %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin \
+ 15
+
+%preun
+if [ $1 -eq 0 ]; then
+ update-alternatives --remove \
+ media_safelyremove.desktop_d3lphin \
+ %{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_d3lphin
+fi
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files -f d3lphin.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING TODO
+%{tde_bindir}/d3lphin
+%{tde_datadir}/applications/d3lphin.desktop
+%{tde_datadir}/apps/d3lphin/
+%{tde_datadir}/icons/hicolor/*/apps/d3lphin.png
+%lang(en) %{tde_tdedocdir}/HTML/en/d3lphin/
+%{_sysconfdir}/alternatives/media_safelyremove.desktop_d3lphin
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.2-7
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.2-6
+- Initial build for TDE 3.5.13.1
+
+* Sun Jul 08 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.2-5
+- Add alternatives with 'kio-umountwrapper'
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.2-4
+- Rebuild for Fedora 17
+- Fix HTML installation directory
+
+* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.2-3
+- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
+
+* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.2-2
+- Import to GIT
+
+* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.2-1
+- Correct macro to install under "/opt", if desired
+
+* Thu Jun 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.2-0
+- Initial build for RHEL 6.0
+- Based on FC7 'Dolphin 0.8.2-2" SPEC file.
+
diff --git a/redhat/applications/filelight/trinity-filelight-3.5.13.2.spec b/redhat/applications/filelight/trinity-filelight-3.5.13.2.spec
new file mode 100644
index 000000000..8857edebd
--- /dev/null
+++ b/redhat/applications/filelight/trinity-filelight-3.5.13.2.spec
@@ -0,0 +1,161 @@
+# Default version for this component
+%define kdecomp filelight
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: Graphical disk usage display
+Version: 1.0
+Release: 6%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+Obsoletes: filelight-l10n < %{version}-%{release}
+Provides: filelight-l10n = %{version}-%{release}
+
+%description
+Filelight creates a complex, but data-rich graphical representation of the files and
+directories on your computer.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --docdir=%{tde_tdedocdir} \
+ --libdir=%{tde_libdir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{kdecomp} --with-kde
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+
+%postun
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+
+
+%files -f %{kdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{tde_bindir}/filelight
+%{tde_tdeappdir}/filelight.desktop
+%{tde_datadir}/apps/filelight/
+%{tde_datadir}/icons/crystalsvg/*/actions/view_filelight.png
+%{tde_datadir}/icons/hicolor/*/apps/filelight.png
+%{tde_datadir}/config/filelightrc
+%{tde_datadir}/services/*.desktop
+%{tde_tdelibdir}/libfilelight.so
+%{tde_tdelibdir}/libfilelight.la
+%lang(da) %{tde_tdedocdir}/HTML/da/filelight/
+%lang(en) %{tde_tdedocdir}/HTML/en/filelight/
+%lang(es) %{tde_tdedocdir}/HTML/es/filelight/
+%lang(et) %{tde_tdedocdir}/HTML/et/filelight/
+%lang(it) %{tde_tdedocdir}/HTML/it/filelight/
+%lang(pt) %{tde_tdedocdir}/HTML/pt/filelight/
+%lang(ru) %{tde_tdedocdir}/HTML/ru/filelight/
+%lang(sv) %{tde_tdedocdir}/HTML/sv/filelight/
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-6
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0-5
+- Initial build for TDE 3.5.13.1
+- Obsoletes package 'filelight-l10n'
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 1.0-4
+- Rebuilt for Fedora 17
+- Fix HTML directory location
+
+* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-3
+- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
+
+* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-2
+- Import to GIT
+
+* Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-1
+- Correct macro to install under "/opt", if desired
+
+* Sun Aug 14 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-0
+- Initial build for RHEL 6.0
+
diff --git a/redhat/applications/gtk-qt-engine/trinity-gtk-qt-engine-3.5.13.2.spec b/redhat/applications/gtk-qt-engine/trinity-gtk-qt-engine-3.5.13.2.spec
new file mode 100644
index 000000000..f94b6e9e4
--- /dev/null
+++ b/redhat/applications/gtk-qt-engine/trinity-gtk-qt-engine-3.5.13.2.spec
@@ -0,0 +1,152 @@
+# Default version for this component
+%define kdecomp gtk-qt-engine
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: theme engine using Qt for GTK+ 2.x and Trinity
+Version: 0.8
+Release: 5%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2%{?preversion:~%{preversion}}.tar.gz
+Source1: gtk-qt-engine.rc.sh
+Source2: gtkrc-2.0-kde4
+Source3: gtkrc-2.0-kde-kde4
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+
+%description
+The GTK-Qt Theme Engine (also known as gtk-qt-engine) is a GTK 2 theme engine
+that calls Qt to do the actual drawing. This makes your GTK 2 applications
+look almost like real Qt applications and gives you a more unified desktop
+experience.
+
+Please note that this package is targeted at Trinity users and therefore provides
+a way to configure it from within KControl.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2%{?preversion:~%{preversion}}
+
+# Renames the '.po' files
+for f in po/*/*.po; do
+ pushd ${f%/*}
+ mv -f *.po gtk-qt-engine.po
+ popd
+done
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i "CMakeLists.txt" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
+ -DDATA_INSTALL_DIR=%{tde_datadir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ ..
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+%find_lang %{kdecomp}
+
+# Adds TDE's specific GTKRC
+%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh
+%__install -D -m 644 %{SOURCE2} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde4
+%__install -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%files -f %{kdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%{tde_tdelibdir}/kcm_kcmgtk.la
+%{tde_tdelibdir}/kcm_kcmgtk.so
+%{tde_appdir}/kcmgtk.desktop
+%{tde_datadir}/kgtk/gtk-qt-engine.rc.sh
+%{tde_datadir}/kgtk/.gtkrc-2.0-kde4
+%{tde_datadir}/kgtk/.gtkrc-2.0-kde-kde4
+
+# The following files are outside TDE's directory
+%{_libdir}/gtk-2.0/2.10.0/engines/libqtengine.so
+%{_datadir}/themes/Qt/gtk-2.0/gtkrc
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8-5
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.8-4
+- Initial build for TDE 3.5.13.1
+
+* Mon Aug 27 2012 Francois Andriot <francois.andriot@free.fr> - 0.8-3
+- Add missing gtkrc files
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.8-2
+- Rebuilt for Fedora 17
+- Fix FTBFS with newer glib
+- Removes useless post and postun
+
+* Sun Nov 20 2011 Francois Andriot <francois.andriot@free.fr> - 0.8-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/gwenview-i18n/trinity-gwenview-i18n-3.5.13.2.spec b/redhat/applications/gwenview-i18n/trinity-gwenview-i18n-3.5.13.2.spec
new file mode 100644
index 000000000..9f822adac
--- /dev/null
+++ b/redhat/applications/gwenview-i18n/trinity-gwenview-i18n-3.5.13.2.spec
@@ -0,0 +1,184 @@
+# Default version for this component
+%define kdecomp gwenview-i18n
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: Gwenview is an image viewer for KDE.
+Version: 1.4.2
+Release: 2%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch: noarch
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+# EXIV2 support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}exiv2-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libexiv2-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: exiv2-devel
+%endif
+
+%if "%{?tde_prefix}" == "/usr"
+Conflicts: kdegraphics
+%endif
+
+
+%description
+Gwenview is a fast and easy to use image viewer/browser for TDE.
+All common image formats are supported, such as PNG(including transparency),
+JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp
+image format), BMP, XPM and others. Standard features include slideshow,
+fullscreen view, image thumbnails, drag'n'drop, image zoom, full network
+transparency using the KIO framework, including basic file operations and
+browsing in compressed archives, non-blocking GUI with adjustable views.
+Gwenview also provides image and directory KParts components for use e.g. in
+Konqueror. Additional features, such as image renaming, comparing,
+converting, and batch processing, HTML gallery and others are provided by the
+KIPI image framework.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+export KDEDIR="%{tde_prefix}"
+
+./configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --docdir=%{tde_tdedocdir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+
+
+## File lists
+%find_lang gwenview
+
+# 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/*" >> gwenview.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
+
+
+# Removes useless files (-devel ?)
+%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+/sbin/ldconfig
+
+%postun
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+/sbin/ldconfig
+
+%files -f gwenview.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING TODO
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.2-2
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.4.2-1
+- Initial build for TDE 3.5.13.1
+
diff --git a/redhat/applications/gwenview/trinity-gwenview-3.5.13.2.spec b/redhat/applications/gwenview/trinity-gwenview-3.5.13.2.spec
new file mode 100644
index 000000000..c5d8fe144
--- /dev/null
+++ b/redhat/applications/gwenview/trinity-gwenview-3.5.13.2.spec
@@ -0,0 +1,246 @@
+# Default version for this component
+%define kdecomp gwenview
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: Gwenview is an image viewer for KDE.
+Version: 1.4.2
+Release: 10%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+# EXIV2 support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}exiv2-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libexiv2-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: exiv2-devel
+%endif
+
+%if "%{?tde_prefix}" == "/usr"
+Conflicts: kdegraphics
+%endif
+
+
+%description
+Gwenview is a fast and easy to use image viewer/browser for TDE.
+All common image formats are supported, such as PNG(including transparency),
+JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp
+image format), BMP, XPM and others. Standard features include slideshow,
+fullscreen view, image thumbnails, drag'n'drop, image zoom, full network
+transparency using the KIO framework, including basic file operations and
+browsing in compressed archives, non-blocking GUI with adjustable views.
+Gwenview also provides image and directory KParts components for use e.g. in
+Konqueror. Additional features, such as image renaming, comparing,
+converting, and batch processing, HTML gallery and others are provided by the
+KIPI image framework.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --docdir=%{tde_tdedocdir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+
+## 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
+
+# Removes useless files (-devel ?)
+%__rm -f %{?buildroot}%{tde_libdir}/libgwenviewcore.so
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+/sbin/ldconfig
+
+%postun
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+/sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{tde_bindir}/gwenview
+%{tde_libdir}/libgwenviewcore.la
+%{tde_libdir}/libgwenviewcore.so.1
+%{tde_libdir}/libgwenviewcore.so.1.0.0
+%{tde_libdir}/libkdeinit_gwenview.la
+%{tde_libdir}/libkdeinit_gwenview.so
+%{tde_tdelibdir}/gwenview.la
+%{tde_tdelibdir}/gwenview.so
+%{tde_tdelibdir}/libgvdirpart.la
+%{tde_tdelibdir}/libgvdirpart.so
+%{tde_tdelibdir}/libgvimagepart.la
+%{tde_tdelibdir}/libgvimagepart.so
+%{tde_tdeappdir}/gwenview.desktop
+%{tde_datadir}/apps/gwenview/
+%{tde_datadir}/apps/gvdirpart/gvdirpart.rc
+%{tde_datadir}/apps/gvimagepart/gvimagepart.rc
+%{tde_datadir}/apps/gvimagepart/gvimagepartpopup.rc
+%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.sh
+%{tde_datadir}/apps/kconf_update/gwenview_1.4_osdformat.upd
+%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.sh
+%{tde_datadir}/apps/kconf_update/gwenview_thumbnail_size.upd
+%{tde_datadir}/apps/konqueror/servicemenus/konqgwenview.desktop
+%{tde_datadir}/config.kcfg/fileoperationconfig.kcfg
+%{tde_datadir}/config.kcfg/fileviewconfig.kcfg
+%{tde_datadir}/config.kcfg/fullscreenconfig.kcfg
+%{tde_datadir}/config.kcfg/gvdirpartconfig.kcfg
+%{tde_datadir}/config.kcfg/imageviewconfig.kcfg
+%{tde_datadir}/config.kcfg/miscconfig.kcfg
+%{tde_datadir}/config.kcfg/slideshowconfig.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/gvdirpart.png
+%{tde_datadir}/icons/crystalsvg/scalable/apps/gvdirpart.svg
+%{tde_datadir}/icons/hicolor/*/apps/gwenview.png
+%{tde_datadir}/icons/hicolor/*/apps/gvdirpart.png
+%{tde_datadir}/icons/hicolor/scalable/apps/gvdirpart.svg
+%{tde_datadir}/icons/hicolor/scalable/apps/gwenview.svgz
+%{tde_datadir}/man/man1/gwenview.1*
+%{tde_datadir}/services/gvdirpart.desktop
+%{tde_datadir}/services/gvimagepart.desktop
+%lang(en) %{tde_tdedocdir}/HTML/en/gwenview/
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.4.2-10
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.4.2-9
+- Initial build for TDE 3.5.13.1
+
+* Sat Aug 04 2012 Francois Andriot <francois.andriot@free.fr> - 1.4.2-8
+- Add support for Mageia 2 and Mandriva 2011
+- Define QT_CLEAN_NAMESPACE during libmng checks [Commit #59c7639f]
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 1.4.2-7
+- Rebuilt for Fedora 17
+- Fix post and postun
+- Adds patches from GIT
+
+* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-6
+- Fix HTML directory location
+
+* Fri Nov 04 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-5
+- Adds missing files
+
+* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-4
+- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
+
+* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-3
+- Import to GIT
+
+* Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-2
+- Add fix for Fedora 15
+
+* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-1
+- Correct macro to install under "/opt", if desired
+
+* Sat Aug 13 2011 Francois Andriot <francois.andriot@free.fr> - 1.4.2-0
+- Initial build for RHEL 6.0
+
diff --git a/redhat/applications/k3b-i18n/trinity-k3b-i18n-3.5.13.2.spec b/redhat/applications/k3b-i18n/trinity-k3b-i18n-3.5.13.2.spec
new file mode 100644
index 000000000..493a84511
--- /dev/null
+++ b/redhat/applications/k3b-i18n/trinity-k3b-i18n-3.5.13.2.spec
@@ -0,0 +1,328 @@
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-k3b-i18n
+Summary: Locale files for K3B
+Version: 1.0.5
+Release: 3%{?dist}%{?_variant}
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+BuildArch: noarch
+
+# Speed build options
+%define debug_package %{nil}
+%define __spec_install_post %{nil}
+AutoReq: no
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Group: Applications/Archiving
+License: GPLv2+
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+Requires(post): coreutils
+Requires(postun): coreutils
+
+Requires: trinity-k3b
+
+
+%description
+K3b provides a comfortable user interface to perform most CD/DVD
+burning tasks. While the experienced user can take influence in all
+steps of the burning process the beginner may find comfort in the
+automatic settings and the reasonable k3b defaults which allow a quick
+start.
+
+%package da
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Danish (da) translations for K3B [Trinity]
+%description da
+This package contains the Danish translations for K3B.
+
+%package de
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: German (de) translations for K3B [Trinity]
+%description de
+This package contains the German translations for K3B.
+
+%package el
+Group: Applications/Archiving
+Requires: trinity-k3b >= %{version}
+Summary: Greek (el) translations for K3B [Trinity]
+%description el
+This package contains the greek translations for K3B.
+
+%package es
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Spanish (es) translations for K3B [Trinity]
+%description es
+This package contains the Spanish translations for K3B.
+
+%package et
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Estonian (et) translations for K3B [Trinity]
+%description et
+This package contains the Estonian translations for K3B.
+
+%package fr
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: French (fr) translations for K3B [Trinity]
+%description fr
+This package contains the French translations for K3B.
+
+%package it
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Italian (it) translations for K3B [Trinity]
+%description it
+This package contains the Italian translations for K3B.
+
+%package nl
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Dutch (nl) translations for K3B [Trinity]
+%description nl
+This package contains the Dutch translations for K3B.
+
+%package pl
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Polish (pl) translations for K3B [Trinity]
+%description pl
+This package contains the Polish translations for K3B.
+
+%package pt
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Portuguese (pt) translations for K3B [Trinity]
+%description pt
+This package contains the Portuguese translations for K3B.
+
+%package ptbr
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Brazilian Portuguese (pt_BR) translations for K3B [Trinity]
+%description ptbr
+This package contains the Brazilian Portuguese translations for K3B.
+
+%package ru
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Russian (ru) translations for K3B [Trinity]
+%description ru
+This package contains the Russian translations for K3B.
+
+%package sv
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Swedish (sv) translations for K3B [Trinity]
+%description sv
+This package contains the Swedish translations for K3B.
+
+%package uk
+Group: Applications/Archiving
+Requires: trinity-k3b
+Summary: Ukrainian (uk) translations for K3B [Trinity]
+%description uk
+This package contains the Ukrainian translations for K3B.
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+
+# 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}"
+
+./configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --docdir=%{tde_tdedocdir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+%install
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%__rm -rf %{buildroot}%{tde_datadir}/locale/af
+%__rm -rf %{buildroot}%{tde_datadir}/locale/ar
+%__rm -rf %{buildroot}%{tde_datadir}/locale/bg
+%__rm -rf %{buildroot}%{tde_datadir}/locale/br
+%__rm -rf %{buildroot}%{tde_datadir}/locale/bs
+%__rm -rf %{buildroot}%{tde_datadir}/locale/ca
+%__rm -rf %{buildroot}%{tde_datadir}/locale/cs
+%__rm -rf %{buildroot}%{tde_datadir}/locale/cy
+%__rm -rf %{buildroot}%{tde_datadir}/locale/en_GB
+%__rm -rf %{buildroot}%{tde_datadir}/locale/eu
+%__rm -rf %{buildroot}%{tde_datadir}/locale/fa
+%__rm -rf %{buildroot}%{tde_datadir}/locale/fi
+%__rm -rf %{buildroot}%{tde_datadir}/locale/ga
+%__rm -rf %{buildroot}%{tde_datadir}/locale/gl
+%__rm -rf %{buildroot}%{tde_datadir}/locale/he
+%__rm -rf %{buildroot}%{tde_datadir}/locale/hi
+%__rm -rf %{buildroot}%{tde_datadir}/locale/hu
+%__rm -rf %{buildroot}%{tde_datadir}/locale/is
+%__rm -rf %{buildroot}%{tde_datadir}/locale/ja
+%__rm -rf %{buildroot}%{tde_datadir}/locale/ka
+%__rm -rf %{buildroot}%{tde_datadir}/locale/km
+%__rm -rf %{buildroot}%{tde_datadir}/locale/lt
+%__rm -rf %{buildroot}%{tde_datadir}/locale/mk
+%__rm -rf %{buildroot}%{tde_datadir}/locale/ms
+%__rm -rf %{buildroot}%{tde_datadir}/locale/nb
+%__rm -rf %{buildroot}%{tde_datadir}/locale/nds
+%__rm -rf %{buildroot}%{tde_datadir}/locale/ne
+%__rm -rf %{buildroot}%{tde_datadir}/locale/nn
+%__rm -rf %{buildroot}%{tde_datadir}/locale/pa
+%__rm -rf %{buildroot}%{tde_datadir}/locale/rw
+%__rm -rf %{buildroot}%{tde_datadir}/locale/se
+%__rm -rf %{buildroot}%{tde_datadir}/locale/sk
+%__rm -rf %{buildroot}%{tde_datadir}/locale/sr
+%__rm -rf %{buildroot}%{tde_datadir}/locale/sr@Latn
+%__rm -rf %{buildroot}%{tde_datadir}/locale/ta
+%__rm -rf %{buildroot}%{tde_datadir}/locale/tr
+%__rm -rf %{buildroot}%{tde_datadir}/locale/uz
+%__rm -rf %{buildroot}%{tde_datadir}/locale/uz@cyrillic
+%__rm -rf %{buildroot}%{tde_datadir}/locale/zh_CN
+%__rm -rf %{buildroot}%{tde_datadir}/locale/zh_TW
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%files da
+%defattr(-,root,root,-)
+%lang(da) %{tde_tdedocdir}/HTML/da/k3b
+%lang(da) %{tde_datadir}/locale/da/LC_MESSAGES/*.mo
+
+%files de
+%defattr(-,root,root,-)
+%lang(de) %{tde_tdedocdir}/HTML/de/k3b
+%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo
+
+%files el
+%defattr(-,root,root,-)
+#%lang(el) %{tde_tdedocdir}/HTML/el/k3b
+%lang(el) %{tde_datadir}/locale/el/LC_MESSAGES/*.mo
+
+%files es
+%defattr(-,root,root,-)
+%lang(es) %{tde_tdedocdir}/HTML/es/k3b
+%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/*.mo
+
+%files et
+%defattr(-,root,root,-)
+%lang(et) %{tde_tdedocdir}/HTML/et/k3b
+%lang(et) %{tde_datadir}/locale/et/LC_MESSAGES/*.mo
+
+%files fr
+%defattr(-,root,root,-)
+%lang(fr) %{tde_tdedocdir}/HTML/fr/k3b
+%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/*.mo
+
+%files it
+%defattr(-,root,root,-)
+%lang(it) %{tde_tdedocdir}/HTML/it/k3b
+%lang(it) %{tde_datadir}/locale/it/LC_MESSAGES/*.mo
+
+%files nl
+%defattr(-,root,root,-)
+%lang(nl) %{tde_tdedocdir}/HTML/nl/k3b
+%lang(nl) %{tde_datadir}/locale/nl/LC_MESSAGES/*.mo
+
+%files pl
+%defattr(-,root,root,-)
+%lang(pl) %{tde_tdedocdir}/HTML/pl/k3b
+%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/*.mo
+
+%files pt
+%defattr(-,root,root,-)
+%lang(pt) %{tde_tdedocdir}/HTML/pt/k3b
+%lang(pt) %{tde_datadir}/locale/pt/LC_MESSAGES/*.mo
+
+%files ptbr
+%defattr(-,root,root,-)
+%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/k3b
+%lang(pt_BR) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/*.mo
+
+%files ru
+%defattr(-,root,root,-)
+%lang(ru) %{tde_tdedocdir}/HTML/ru/k3b
+%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo
+
+%files sv
+%defattr(-,root,root,-)
+%lang(sv) %{tde_tdedocdir}/HTML/sv/k3b
+%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/*.mo
+
+%files uk
+%defattr(-,root,root,-)
+%lang(uk) %{tde_tdedocdir}/HTML/uk/k3b
+%lang(uk) %{tde_datadir}/locale/uk/LC_MESSAGES/*.mo
+
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-3
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.5-2
+- Initial build for TDE 3.5.13.1
+
+* Thu May 10 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.5-1
+- Initial build for TDE 3.5.13
diff --git a/redhat/applications/k3b/trinity-k3b-3.5.13.2.spec b/redhat/applications/k3b/trinity-k3b-3.5.13.2.spec
new file mode 100644
index 000000000..140701e95
--- /dev/null
+++ b/redhat/applications/k3b/trinity-k3b-3.5.13.2.spec
@@ -0,0 +1,492 @@
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-k3b
+Summary: CD/DVD burning application
+Version: 3.5.13.2
+Release: 1%{?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)
+
+Group: Applications/Archiving
+License: GPLv2+
+
+Source0: %{name}-3.5.13.2.tar.gz
+Source2: k3brc
+
+# Legacy RedHat / Fedora patches
+# manual bufsize (upstream?)
+Patch4: k3b-1.0.4-manualbufsize.patch
+# RHEL6: Fix K3B icon
+Patch106: trinity-k3b-icons.patch
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: alsa-lib-devel
+BuildRequires: audiofile-devel
+BuildRequires: hal-devel
+BuildRequires: gettext
+BuildRequires: libmpcdec-devel
+BuildRequires: libmusicbrainz-devel
+BuildRequires: libvorbis-devel
+BuildRequires: taglib-devel
+BuildRequires: zlib-devel
+
+Requires(post): coreutils
+Requires(postun): coreutils
+
+Requires: %{name}-libs = %{version}-%{release}
+Requires: %{name}-common = %{version}-%{release}
+
+Requires: cdrecord mkisofs
+Requires: dvd+rw-tools
+
+# CDRDAO support
+%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 5
+Requires: cdrdao
+%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
+
+# SNDFILE support
+%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 4
+%define with_sndfile 1
+BuildRequires: libsndfile-devel
+%endif
+
+# SAMPLERATE support
+%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 4
+%define with_samplerate 1
+BuildRequires: libsamplerate-devel
+%endif
+
+# DVDREAD support
+%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 4
+%define with_dvdread 1
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: %{_lib}dvdread-devel
+%else
+BuildRequires: libdvdread-devel
+%endif
+%endif
+
+# FLAC support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?pclinuxos}
+BuildRequires: libflac-devel
+BuildRequires: libflac++-devel
+%else
+BuildRequires: %{_lib}flac-devel
+BuildRequires: %{_lib}flac++-devel
+%endif
+%else
+BuildRequires: flac-devel
+%endif
+
+# MAD support
+%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
+%define with_libmad 1
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: %{_lib}mad-devel
+%endif
+%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
+BuildRequires: libmad-devel
+%endif
+%endif
+
+# 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
+
+# FFMPEG support
+%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
+%define with_ffmpeg 1
+%if 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: %{_lib}ffmpeg-devel
+%endif
+%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
+BuildRequires: ffmpeg-devel
+%endif
+%endif
+
+
+%description
+K3b provides a comfortable user interface to perform most CD/DVD
+burning tasks. While the experienced user can take influence in all
+steps of the burning process the beginner may find comfort in the
+automatic settings and the reasonable k3b defaults which allow a quick
+start.
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS README COPYING TODO ChangeLog
+%{tde_bindir}/k3b
+%{tde_tdelibdir}/kfile_k3b.la
+%{tde_tdelibdir}/kfile_k3b.so
+%{tde_tdelibdir}/kio_videodvd.la
+%{tde_tdelibdir}/kio_videodvd.so
+%{tde_tdelibdir}/libk3balsaoutputplugin.la
+%{tde_tdelibdir}/libk3balsaoutputplugin.so
+%{tde_tdelibdir}/libk3bartsoutputplugin.la
+%{tde_tdelibdir}/libk3bartsoutputplugin.so
+%{tde_tdelibdir}/libk3baudiometainforenamerplugin.la
+%{tde_tdelibdir}/libk3baudiometainforenamerplugin.so
+%{tde_tdelibdir}/libk3baudioprojectcddbplugin.la
+%{tde_tdelibdir}/libk3baudioprojectcddbplugin.so
+%{tde_tdelibdir}/libk3bexternalencoder.la
+%{tde_tdelibdir}/libk3bexternalencoder.so
+%{tde_tdelibdir}/libk3bflacdecoder.la
+%{tde_tdelibdir}/libk3bflacdecoder.so
+%if 0%{?with_sndfile}
+%{tde_tdelibdir}/libk3blibsndfiledecoder.la
+%{tde_tdelibdir}/libk3blibsndfiledecoder.so
+%endif
+%{tde_tdelibdir}/libk3bmpcdecoder.la
+%{tde_tdelibdir}/libk3bmpcdecoder.so
+%{tde_tdelibdir}/libk3boggvorbisdecoder.la
+%{tde_tdelibdir}/libk3boggvorbisdecoder.so
+%{tde_tdelibdir}/libk3boggvorbisencoder.la
+%{tde_tdelibdir}/libk3boggvorbisencoder.so
+%{tde_tdelibdir}/libk3bsoxencoder.la
+%{tde_tdelibdir}/libk3bsoxencoder.so
+%{tde_tdelibdir}/libk3bwavedecoder.la
+%{tde_tdelibdir}/libk3bwavedecoder.so
+%lang(en) %{tde_tdedocdir}/HTML/en/k3b/
+
+
+##########
+
+%package common
+Summary: Common files of %{name}
+Group: Applications/Archiving
+Requires: %{name} = %{version}-%{release}
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion}
+BuildArch: noarch
+%endif
+
+%description common
+%{summary}.
+
+%files common
+%defattr(-,root,root,-)
+%{tde_tdeappdir}/k3b.desktop
+%{tde_datadir}/applnk/.hidden/k3b-cue.desktop
+%{tde_datadir}/applnk/.hidden/k3b-iso.desktop
+%{tde_datadir}/apps/k3b/
+%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/videodvd.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/k3b_audiocd_rip.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/k3b_cd_copy.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/k3b_dvd_copy.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_cd.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/k3b_handle_empty_dvd.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/k3b_videodvd_rip.desktop
+%{tde_datadir}/config/k3brc
+%{tde_datadir}/mimelnk/application/x-k3b.desktop
+%{tde_datadir}/icons/hicolor/*/apps/k3b.png
+%{tde_datadir}/services/kfile_k3b.desktop
+%{tde_datadir}/services/videodvd.protocol
+%{tde_datadir}/sounds/k3b_error1.wav
+%{tde_datadir}/sounds/k3b_success1.wav
+%{tde_datadir}/sounds/k3b_wait_media1.wav
+
+
+%post common
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+
+%postun common
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null
+ gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || :
+ update-desktop-database %{tde_appdir} -q &> /dev/null
+fi
+
+%posttrans common
+gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || :
+update-desktop-database %{tde_appdir} -q &> /dev/null
+
+##########
+
+%package libs
+Summary: Runtime libraries for %{name}
+Group: System Environment/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description libs
+%{summary}.
+
+%files libs
+%defattr(-,root,root,-)
+%{tde_libdir}/libk3b.so.3
+%{tde_libdir}/libk3b.so.3.0.0
+%{tde_libdir}/libk3bdevice.so.5
+%{tde_libdir}/libk3bdevice.so.5.0.0
+
+%post libs
+/sbin/ldconfig
+
+%postun libs
+/sbin/ldconfig
+
+##########
+
+%package devel
+Summary: Files for the development of applications which will use %{name}
+Group: Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/*.h
+%{tde_libdir}/libk3b.so
+%{tde_libdir}/libk3bdevice.so
+
+%post devel
+/sbin/ldconfig
+
+%postun devel
+/sbin/ldconfig
+
+##########
+
+%if 0%{?with_libmad}
+%package plugin-mad
+Summary: The MAD plugin for K3B
+Group: System Environment/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description plugin-mad
+%{summary}.
+
+MAD is a high-quality MPEG audio decoder. It currently supports MPEG-1
+and the MPEG-2 extension to Lower Sampling Frequencies, as well as the
+so-called MPEG 2.5 format. All three audio layers (Layer I, Layer II,
+and Layer III a.k.a. MP3) are fully implemented.
+
+%files plugin-mad
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/libk3bmaddecoder.la
+%{tde_tdelibdir}/libk3bmaddecoder.so
+%endif
+
+##########
+
+%if 0%{?with_lame}
+%package plugin-lame
+Summary: The LAME plugin for K3B
+Group: System Environment/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description plugin-lame
+%{summary}.
+
+Personal and commercial use of compiled versions of LAME (or any other mp3
+encoder) requires a patent license in some countries.
+
+This package is in tainted, as MP3 encoding is covered by software patents.
+
+%files plugin-lame
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/libk3blameencoder.la
+%{tde_tdelibdir}/libk3blameencoder.so
+%endif
+
+##########
+
+%if 0%{?with_ffmpeg}
+%package plugin-ffmpeg
+Summary: The FFMPEG plugin for K3B
+Group: System Environment/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description plugin-ffmpeg
+%{summary}.
+
+ffmpeg is a hyper fast realtime audio/video encoder, a streaming server
+and a generic audio and video file converter.
+
+%files plugin-ffmpeg
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/libk3bffmpegdecoder.la
+%{tde_tdelibdir}/libk3bffmpegdecoder.so
+%endif
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# set in k3brc too
+%patch4 -p1 -b .manualbufsize
+%patch106 -p1 -b .desktopfile
+
+
+# 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}"
+
+# FFMPEG trick ...
+if [ -d /usr/include/ffmpeg ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg"
+fi
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --enable-new-ldflags \
+ --disable-debug --disable-warnings \
+ --disable-dependency-tracking --enable-final \
+ --with-k3bsetup=no \
+ --without-cdrecord-suid-root \
+ --with-oggvorbis \
+ --with-flac \
+ %{?with_samplerate:--with-external-libsamplerate} \
+ %{?with_dvdread:--with-libdvdread} %{?!with_dvdread:--without-libdvdread} \
+ --with-musicbrainz \
+ %{?with_sndfile:--with-sndfile} %{?!with_sndfile:--without-sndfile} \
+ %{?with_ffmpeg:--with-ffmpeg} %{?!with_ffmpeg:--without-ffmpeg} \
+ %{?with_lame:--with-lame} %{?!with_lame:--without-lame} \
+ %{?with_libmad:--with-libmad} %{?!with_libmad:--without-libmad} \
+ --with-musepack \
+ --without-resmgr \
+ --with-hal \
+ --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}
+
+# Strange behaviour on RHEL4 ...
+%if 0%{?rhel} == 4
+%__sed -i "libk3b/jobs/Makefile" -e "/^am_libjobs_la_final_OBJECTS/ s/ lo//g"
+%__mkdir_p "libk3bdevice/.libs"
+%__ln_s . "libk3bdevice/.libs/.libs"
+%endif
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+%__install -D -m 644 -p %{SOURCE2} %{buildroot}%{tde_datadir}/config/k3brc
+
+# remove the .la files
+%__rm -f %{buildroot}%{tde_libdir}/libk3b*.la
+
+# remove i18n for Plattdeutsch (Low Saxon)
+#%__rm -fr %{buildroot}%{tde_datadir}/locale/nds
+
+
+%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
+
+* Sun Jan 06 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-2
+- Enables FFMPEG support
+- Enables LAME support
+- Enables MAD support
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
+- Remove requirement for resmgr
+
+* Sat Aug 04 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-5
+- Add support for Mageia 2 and Mandriva 2011
+- Fix DBUS-TQT detection that prevented HAL support
+- Adds requirement for resmgr
+
+* Wed May 09 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-4
+- Removes i18 files (built separately)
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-3
+- Rebuilt for Fedora 17
+- Fix compilation with GCC 4.7 [Bug #958]
+
+* Sat Nov 05 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
+- Updates BuildRequires
+
+* 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 Sep 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
+- Import to GIT
diff --git a/redhat/applications/k9copy/trinity-k9copy-3.5.13.2.spec b/redhat/applications/k9copy/trinity-k9copy-3.5.13.2.spec
new file mode 100644
index 000000000..78a5fcbc9
--- /dev/null
+++ b/redhat/applications/k9copy/trinity-k9copy-3.5.13.2.spec
@@ -0,0 +1,161 @@
+# Default version for this component
+%define tdecomp k9copy
+%define tdeversion 3.5.13.2
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: DVD backup tool for Trinity
+Version: 1.2.3
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz
+
+Patch1: k9copy-3.5.13.2-fix_k3b_link.patch
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: trinity-k3b-devel
+
+# Warning: the target distribution must have ffmpeg !
+BuildRequires: ffmpeg-devel
+Requires: ffmpeg
+
+%description
+k9copy is a tabbed tool that allows to copy of one or more titles from a DVD9
+to a DVD5, in thesame way than DVDShrink for Microsoft Windows (R).
+This is the Trinity version
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}}
+%patch1 -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 -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}"
+
+# FFMPEG ...
+if [ -d /usr/include/ffmpeg ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg"
+fi
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{tdecomp}
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+update-desktop-database %{tde_appdir} &> /dev/null
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+update-desktop-database %{tde_appdir} &> /dev/null
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{tde_bindir}/k9copy
+%{tde_tdeappdir}/k9copy.desktop
+%{tde_datadir}/apps/k9copy/
+%{tde_datadir}/apps/konqueror/servicemenus/k9copy_open.desktop
+%lang(en) %{tde_tdedocdir}/HTML/en/k9copy/
+%{tde_datadir}/icons/hicolor/*/apps/k9copy.png
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.3-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.2.3-3
+- Initial build for TDE 3.5.13.1
+
+* Sat Aug 04 2012 Francois Andriot <francois.andriot@free.fr> - 1.2.3-2
+- Add support for MGA2 and MDV2011
+- Fix 'format not a string literal' error. Clean up warning. [Commit #3bfc84b0]
+- Fix FTBFS [Commit #62acebb7]
+- Fix 'format not a string literal' error [Commit #d9ed8b32]
+- Fix remaining string format errors [Commit #a8e98ad9]
+- Fix another string format error [Commit #b3bb8a8f]
+- Fix FTBFS [Commit #ca864ede]
+- Fix format string error [Commit #a016df82]
+
+* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 1.2.3-2
+- Fix HTML directory location
+
+* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 1.2.3-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla-3.5.13.2.spec b/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla-3.5.13.2.spec
new file mode 100644
index 000000000..b059206e1
--- /dev/null
+++ b/redhat/applications/kaffeine-mozilla/trinity-kaffeine-mozilla-3.5.13.2.spec
@@ -0,0 +1,143 @@
+# Default version for this component
+%define kdecomp kaffeine-mozilla
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: mozilla plugin that lanches kaffeine for supported media types [Trinity]
+Version: 0.4.3.1
+Release: 4%{?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}-3.5.13.2.tar.gz
+
+# Fix 'nspr' includes location
+Patch1: kaffeine-mozilla-3.5.13-fix_nspr_include.patch
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+%if 0%{?suse_version}
+BuildRequires: mozilla-nspr-devel
+%else
+BuildRequires: nspr-devel
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xaw-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: libXaw-devel
+%endif
+
+Requires: trinity-kaffeine
+
+%description
+This mozilla plugin launches kaffeine, the xine-based media player for KDE,
+when a page containing a supported media format is loaded.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+unset QTDIR; . /etc/profile.d/qt3.sh
+%setup -q -n %{name}-3.5.13.2
+%patch1 -p1 -b .nspr
+
+# 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" "ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+%configure \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure \
+ --prefix=%{_libdir}/mozilla
+
+%__make %{?_smp_mflags}
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# Remove useless filess
+%__rm -f %{?buildroot}%{_libdir}/mozilla/plugins/kaffeineplugin.a
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING README
+# These files are installed outside TDE prefix
+%{_libdir}/mozilla/plugins/kaffeineplugin.la
+%{_libdir}/mozilla/plugins/kaffeineplugin.so
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.3.1-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.3.1-3
+- Initial build for TDE 3.5.13.1
+
+* Thu Apr 26 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.3.1-2
+- Rebuild with nicer patch.
+
+* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.3.1.dfsg-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
+
diff --git a/redhat/applications/kaffeine/trinity-kaffeine-3.5.13.2.spec b/redhat/applications/kaffeine/trinity-kaffeine-3.5.13.2.spec
new file mode 100644
index 000000000..3105fd8ef
--- /dev/null
+++ b/redhat/applications/kaffeine/trinity-kaffeine-3.5.13.2.spec
@@ -0,0 +1,304 @@
+# Default version for this component
+%define kdecomp kaffeine
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-%{kdecomp}
+Summary: Xine-based media player
+
+Version: 0.8.8
+Release: 5%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Multimedia
+URL: http://kaffeine.sourceforge.net/
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: gettext
+BuildRequires: libvorbis-devel
+BuildRequires: libcdio-devel
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: libcdda-devel
+BuildRequires: %{_lib}xext%{?mgaversion:6}-devel
+BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel
+BuildRequires: %{_lib}xinerama%{?mgaversion:1}-devel
+# dvb
+%if 0%{?pclinuxos} == 0
+BuildRequires: kernel-headers
+%endif
+BuildRequires: libgstreamer-devel >= 0.10
+BuildRequires: libgstreamer-plugins-base-devel >= 0.10
+%else
+BuildRequires: cdparanoia
+BuildRequires: cdparanoia-devel
+%if 0%{?suse_version} >= 1220
+BuildRequires: libcdio-paranoia-devel
+%endif
+
+# X11 stuff
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+%else
+BuildRequires: libXext-devel
+BuildRequires: libXtst-devel
+BuildRequires: libXinerama-devel
+%endif
+%endif
+
+# dvb
+BuildRequires: gstreamer-devel
+%if 0%{?suse_version}
+BuildRequires: gstreamer-0_10-plugins-base-devel
+%endif
+%if 0%{?rhel} == 4
+BuildRequires: gstreamer-devel
+BuildRequires: gstreamer-plugins-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: gstreamer-plugins-base-devel >= 0.10
+BuildRequires: glibc-kernheaders
+%endif
+%endif
+
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
+BuildRequires: libxcb-devel
+%endif
+
+# xine-lib
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+BuildRequires: libxine-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: xine-lib-devel
+%endif
+
+# LAME
+%if 0%{?suse_version}
+BuildRequires: libmp3lame-devel
+%else
+BuildRequires: lame-devel
+%endif
+
+Requires: %{name}-libs = %{version}-%{release}
+
+%description
+Kaffeine is a xine-based media player for KDE. It plays back CDs,
+and VCDs, and can decode all (local or streamed) multimedia formats
+supported by xine-lib.
+Additionally, Kaffeine is fully integrated in KDE, it supports drag
+and drop and provides an editable playlist, a bookmark system, a
+Konqueror plugin, OSD and much more.
+
+%files -f %{kdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING README TODO
+%{tde_bindir}/kaffeine
+%{tde_libdir}/libkaffeinepart.so
+%{tde_tdelibdir}/lib*.*
+%{tde_datadir}/appl*/*/*.desktop
+%{tde_datadir}/apps/gstreamerpart/
+%{tde_datadir}/apps/kaffeine/
+%{tde_datadir}/apps/konqueror/servicemenus/*.desktop
+%{tde_datadir}/apps/profiles/
+%{tde_datadir}/icons/hicolor/*/*/*
+%{tde_datadir}/mimelnk/*/*.desktop
+%{tde_datadir}/service*/*.desktop
+%{tde_tdedocdir}/HTML/en/kaffeine/
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database >& /dev/null ||:
+/sbin/ldconfig || :
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database >& /dev/null ||:
+/sbin/ldconfig || :
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+Requires: trinity-tdelibs-devel
+
+%description devel
+%{summary}.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kaffeine/
+%{tde_libdir}/lib*.so
+%exclude %{tde_libdir}/libkaffeinepart.so
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+##########
+
+%package libs
+Summary: %{name} runtime libraries
+Group: System Environment/Libraries
+
+# include to be paranoid, installing libs-only is still mostly untested -- Rex
+Requires: %{name} = %{version}-%{release}
+
+%description libs
+%{summary}.
+
+%files libs
+%defattr(-,root,root,-)
+%{tde_libdir}/lib*.so.*
+
+%post libs
+/sbin/ldconfig || :
+
+%postun libs
+/sbin/ldconfig || :
+
+##########
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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 || : ; source /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} \
+ --mandir=%{tde_mandir} \
+ --enable-new-ldflags \
+ --disable-debug --disable-warnings \
+ --disable-dependency-tracking --enable-final \
+ --disable-rpath \
+ --with-xinerama \
+ --with-gstreamer \
+ --with-lame \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --with-extra-libs=%{_prefix}/%{_lib} \
+ --enable-closure \
+%if 0%{?rhel} > 0 && 0%{?rhel} <= 5
+ --without-dvb \
+%endif
+
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf $RPM_BUILD_ROOT
+%__make install DESTDIR=$RPM_BUILD_ROOT
+
+## File lists
+# locale's
+%find_lang %{kdecomp}
+# HTML (1.0)
+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 ] && rm -f $i/common && ln -sf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# Unpackaged files
+rm -f $RPM_BUILD_ROOT%{tde_libdir}/lib*.la
+rm -f $RPM_BUILD_ROOT%{tde_datadir}/mimelnk/application/x-mplayer2.desktop
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.8-5
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.8-4
+- Initial build for TDE 3.5.13.1
+
+* Fri Aug 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.8-3
+- Add support for Mageia 2 and Mandriva 2011
+- Added automake initialization with proper program name and version [Bug #858] [Commit #4e982fa3]
+- Fixed online hyperlink to win32 codecs download location. [Commit #5086f358]
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.8-2
+- Rebuilt for Fedora 17
+- Adds more patches from GIT.
+
+* Mon Apr 23 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.8-1
+- Updates version to 0.8.8
+- Fix nominal "tqt" typos and fix slow DVB start. [Bug #729, #899]
+- Change location where Kaffeine stores temporary pipe files from $HOME to the more appropriate $KDEHOME/tmp-$HOSTNAME.
+- Work around Xine crash when displaying still logo image by creating a small movie file to replace it [Bug #511, #559]
+- Add man page
+
+* Sun Dec 04 2011 Francois Andriot <francois.andriot@free.fr> - 0.8.6-2
+- Disable 'libxcb-devel' for RHEL 5 compilation
+- Fix HTML directory location
+
+* Wed Nov 09 2011 Francois Andriot <francois.andriot@free.fr> - 0.8.6-1
+- Spec file based on Fedora 8 'kaffeine-0.8.6-3'
diff --git a/redhat/applications/katapult/trinity-katapult-3.5.13.2.spec b/redhat/applications/katapult/trinity-katapult-3.5.13.2.spec
new file mode 100644
index 000000000..2d15344db
--- /dev/null
+++ b/redhat/applications/katapult/trinity-katapult-3.5.13.2.spec
@@ -0,0 +1,199 @@
+# Default version for this component
+%define kdecomp katapult
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: Faster access to applications, bookmarks, and other items.
+Version: 0.3.2.1
+Release: 6%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+%description
+Katapult is an application for TDE, designed to allow faster access to
+applications, bookmarks, and other items. It is plugin-based, so it can
+launch anything that is has a plugin for. Its display is driven by
+plugins as well, so its appearance is completely customizable. It was
+inspired by Quicksilver for OS X.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{kdecomp}
+
+# Removes useless files (-devel ?)
+%__rm -f %{?buildroot}%{tde_libdir}/*.so
+%__rm -f %{?buildroot}%{tde_libdir}/*.la
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_appdir} &> /dev/null
+
+%postun
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_appdir} &> /dev/null
+
+
+%files -f %{kdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{tde_bindir}/katapult
+%{tde_libdir}/libkatapult.so.2
+%{tde_libdir}/libkatapult.so.2.0.0
+%{tde_tdelibdir}/katapult_amarokcatalog.la
+%{tde_tdelibdir}/katapult_amarokcatalog.so
+%{tde_tdelibdir}/katapult_bookmarkcatalog.la
+%{tde_tdelibdir}/katapult_bookmarkcatalog.so
+%{tde_tdelibdir}/katapult_calculatorcatalog.la
+%{tde_tdelibdir}/katapult_calculatorcatalog.so
+%{tde_tdelibdir}/katapult_documentcatalog.la
+%{tde_tdelibdir}/katapult_documentcatalog.so
+%{tde_tdelibdir}/katapult_execcatalog.la
+%{tde_tdelibdir}/katapult_execcatalog.so
+%{tde_tdelibdir}/katapult_glassdisplay.la
+%{tde_tdelibdir}/katapult_glassdisplay.so
+%{tde_tdelibdir}/katapult_googlecatalog.la
+%{tde_tdelibdir}/katapult_googlecatalog.so
+%{tde_tdelibdir}/katapult_o2display.la
+%{tde_tdelibdir}/katapult_o2display.so
+%{tde_tdelibdir}/katapult_programcatalog.la
+%{tde_tdelibdir}/katapult_programcatalog.so
+%{tde_tdelibdir}/katapult_puredisplay.la
+%{tde_tdelibdir}/katapult_puredisplay.so
+%{tde_tdelibdir}/katapult_spellcatalog.la
+%{tde_tdelibdir}/katapult_spellcatalog.so
+%{tde_tdeappdir}/katapult.desktop
+%{tde_datadir}/icons/crystalsvg/128x128/actions/katapultspellcheck.png
+%{tde_datadir}/icons/crystalsvg/scalable/actions/katapultspellcheck.svgz
+%{tde_datadir}/icons/hicolor/128x128/actions/checkmark.png
+%{tde_datadir}/icons/hicolor/128x128/actions/no.png
+%{tde_datadir}/icons/hicolor/128x128/apps/xcalc.png
+%{tde_datadir}/icons/hicolor/*/apps/katapult.png
+%{tde_datadir}/icons/hicolor/scalable/apps/katapult.svgz
+%{tde_datadir}/services/katapult_amarokcatalog.desktop
+%{tde_datadir}/services/katapult_bookmarkcatalog.desktop
+%{tde_datadir}/services/katapult_calculatorcatalog.desktop
+%{tde_datadir}/services/katapult_documentcatalog.desktop
+%{tde_datadir}/services/katapult_execcatalog.desktop
+%{tde_datadir}/services/katapult_glassdisplay.desktop
+%{tde_datadir}/services/katapult_googlecatalog.desktop
+%{tde_datadir}/services/katapult_o2display.desktop
+%{tde_datadir}/services/katapult_programcatalog.desktop
+%{tde_datadir}/services/katapult_puredisplay.desktop
+%{tde_datadir}/services/katapult_spellcatalog.desktop
+%{tde_datadir}/servicetypes/katapultcatalog.desktop
+%{tde_datadir}/servicetypes/katapultdisplay.desktop
+%{tde_tdedocdir}/HTML/en/katapult/
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.2.1-6
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.3.2.1-5
+- Initial build for TDE 3.5.13.1
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.3.2.1-4
+- Rebuilt for Fedora 17
+- Fix post and postun
+
+* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 0.3.2.1-3
+- Fix HTML directory location
+
+* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.3.2.1-2
+- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
+
+* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.3.2.1-1
+- Initial build for RHEL 6.0
+- Import to GIT
+
diff --git a/redhat/applications/kbarcode/trinity-kbarcode-3.5.13.2.spec b/redhat/applications/kbarcode/trinity-kbarcode-3.5.13.2.spec
new file mode 100644
index 000000000..868dfc956
--- /dev/null
+++ b/redhat/applications/kbarcode/trinity-kbarcode-3.5.13.2.spec
@@ -0,0 +1,163 @@
+# Default version for this component
+%define kdecomp kbarcode
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: barcode and label printing application for Trinity
+Version: 2.0.6
+Release: 3%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.kbarcode.net
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+
+%description
+KBarcode is a barcode and label printing application for Trinity. It can be used
+to print everything from simple business cards up to complex labels with
+several barcodes (e.g. article descriptions).
+
+KBarcode comes with an easy to use WYSIWYG label designer, a setup wizard,
+batch import of data for batch printing labels (directly from the delivery
+note), thousands of predefined labels, database management tools and
+translations in many languages. Even printing more than 10.000 labels in one
+go is no problem for KBarcode. Data for printing can be imported from several
+different data sources, including SQL databases, CSV files and the KDE address
+book.
+
+Additionally it is a simple barcode generator (similar to the old xbarcode you
+might know). All major types of barcodes like EAN, UPC, CODE39 and ISBN are
+supported. Even complex 2D barcodes are supported using third party tools. The
+generated barcodes can be directly printed or you can export them into images
+to use them in another application.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt:%{_includedir}/pcre
+
+# SMP safe !
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%find_lang %{kdecomp} || touch %{kdecomp}.lang
+
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+update-desktop-database %{tde_appdir} &> /dev/null
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+update-desktop-database %{tde_appdir} &> /dev/null
+
+
+%files -f %{kdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%{tde_bindir}/kbarcode
+%{tde_tdelibdir}/kfile_kbarcode.la
+%{tde_tdelibdir}/kfile_kbarcode.so
+%{tde_tdeappdir}/kbarcode-batch.desktop
+%{tde_tdeappdir}/kbarcode-editor.desktop
+%{tde_tdeappdir}/kbarcode-label.desktop
+%{tde_tdeappdir}/kbarcode-single.desktop
+%{tde_tdeappdir}/kbarcode.desktop
+%{tde_datadir}/apps/kbarcode/
+%{tde_datadir}/icons/hicolor/*/actions/barcode.png
+%{tde_datadir}/icons/hicolor/*/actions/kbarcodeellipse.png
+%{tde_datadir}/icons/hicolor/*/actions/kbarcodegrid.png
+%{tde_datadir}/icons/hicolor/*/actions/kbarcodelinetool.png
+%{tde_datadir}/icons/hicolor/*/actions/kbarcoderect.png
+%{tde_datadir}/icons/hicolor/*/apps/kbarcode.png
+%{tde_datadir}/services/kfile_kbarcode.desktop
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.6-3
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.0.6-2
+- Initial build for TDE 3.5.13.1
+
+* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 2.0.6-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kbfx/trinity-kbfx-3.5.13.2.spec b/redhat/applications/kbfx/trinity-kbfx-3.5.13.2.spec
new file mode 100644
index 000000000..151e1a240
--- /dev/null
+++ b/redhat/applications/kbfx/trinity-kbfx-3.5.13.2.spec
@@ -0,0 +1,175 @@
+# Default version for this component
+%define kdecomp kbfx
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: an alternative to K-Menu for KDE [Trinity]
+Version: 0.4.9.3.1
+Release: 3%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+%description
+KBFX is an alternative to the classical K-Menu button and its menu.
+It improves the user experience by enabling him to set a bigger (and thus more
+visible) start button and by finally replacing the Win95-like K-Menu.
+If you still want the old menu, because you're used to it, it is still
+available as an option in kbfx. We recommend, however, that you give the Spinx
+bar a try.
+
+Homepage: http://www.kbfx.org
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# Fix TDE executable path in 'CMakeLists.txt' ...
+%__sed -i "CMakeLists.txt" \
+ -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|" \
+ -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|"
+
+%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_tdeincludedir}:%{tde_includedir}/tqt"
+
+# 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} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DDATA_INSTALL_DIR=%{tde_datadir}/apps \
+ -DMIME_INSTALL_DIR=%{tde_datadir}/mimelnk \
+ -DXDG_APPS_INSTALL_DIR=%{tde_tdeappdir} \
+ -DDOC_INSTALL_DIR=%{tde_tdedocdir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DUSE_STRIGI=OFF \
+ -DUSE_MENUDRAKE=OFF \
+ -DBUILD_DOC=ON \
+ -DBUILD_ALL=OFF \
+ ..
+
+# Not SMP safe !
+%__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build VERBOSE=1
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+/sbin/ldconfig
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+update-desktop-database %{tde_appdir} &> /dev/null
+
+%postun
+/sbin/ldconfig
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+update-desktop-database %{tde_appdir} &> /dev/null
+
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/kbfxconfigapp
+%{tde_tdeincludedir}/kbfx/
+%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.la
+%{tde_libdir}/kbfx/plugins/libkbfxplasmadataplasmoid.so
+%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.la
+%{tde_libdir}/kbfx/plugins/libkbfxplasmadatasettings.so
+%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.la
+%{tde_libdir}/kbfx/plugins/libkbfxplasmadatastub.so
+%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.la
+%{tde_libdir}/kbfx/plugins/libkbfxplasmarecentstuff.so
+%{tde_libdir}/libkbfxcommon.la
+%{tde_libdir}/libkbfxcommon.so
+%{tde_libdir}/libkbfxdata.la
+%{tde_libdir}/libkbfxdata.so
+%{tde_tdelibdir}/kbfxspinx.la
+%{tde_tdelibdir}/kbfxspinx.so
+%{tde_tdeappdir}/kbfx_theme.desktop
+%{tde_tdeappdir}/kbfxconfigapp.desktop
+%{tde_datadir}/apps/kbfx/skins/*/*
+%{tde_datadir}/apps/kbfxconfigapp/kbfxconfigappui.rc
+%{tde_datadir}/apps/kicker/applets/kbfxspinx.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/kbfx_install_theme.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/kbfx_prepare_theme.desktop
+#%{tde_tdedocdir}/HTML/en/common/kbfx-*.jpg
+#%{tde_tdedocdir}/HTML/en/kbfxconfigapp/
+%{tde_tdedocdir}/kbfx/
+%{tde_datadir}/icons/hicolor/*/apps/kbfx.png
+%{tde_datadir}/icons/hicolor/*/apps/kbfxconfigapp.png
+#%{tde_datadir}/locale/*/LC_MESSAGES/kbfxconfigapp.mo
+%{tde_datadir}/mimelnk/application/x-kbfxtheme.desktop
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.9.3.1-3
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.9.3.1-2
+- Initial build for TDE 3.5.13.1
+
+* Sun Nov 20 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.9.3.1-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kbookreader/trinity-kbookreader-3.5.13.2.spec b/redhat/applications/kbookreader/trinity-kbookreader-3.5.13.2.spec
new file mode 100644
index 000000000..ab4368d07
--- /dev/null
+++ b/redhat/applications/kbookreader/trinity-kbookreader-3.5.13.2.spec
@@ -0,0 +1,159 @@
+# Default version for this component
+%define kdecomp kbookreader
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: eBook reader for Trinity.
+Version: 0.2.0
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+
+%description
+kbookreader is an application which allows you to view eBooks
+within the Trinity Desktop Environment.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+
+## 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
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{tde_bindir}/bookreader
+%{tde_bindir}/bookreader_client
+%{tde_datadir}/applnk/Utilities/bookreader.desktop
+%{tde_datadir}/apps/bookreader/
+%{tde_datadir}/config.kcfg/bookreader.kcfg
+%{tde_tdedocdir}/HTML/en/bookreader/
+%{tde_datadir}/icons/hicolor/*/apps/bookreader.png
+
+
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.2.0-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.2.0-3
+- Initial build for TDE 3.5.13.1
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.2.0-2
+- Rebuilt for Fedora 17
+- Fix post and postun
+- Fix HTML directory location
+
+* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.2.0-1
+- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
diff --git a/redhat/applications/kchmviewer/trinity-kchmviewer-3.5.13.2.spec b/redhat/applications/kchmviewer/trinity-kchmviewer-3.5.13.2.spec
new file mode 100644
index 000000000..df86ff206
--- /dev/null
+++ b/redhat/applications/kchmviewer/trinity-kchmviewer-3.5.13.2.spec
@@ -0,0 +1,162 @@
+# Default version for this component
+%define kdecomp kchmviewer
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: CHM viewer for Trinity
+Version: 3.1.2
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+%description
+KchmViewer is a chm (MS HTML help file format) viewer, written in C++.
+Unlike most existing CHM viewers for Unix, it uses Trolltech Qt widget
+library, and does not depend on KDE or GNOME. However, it may be compiled
+with full Trinity support, including Trinity widgets and KIO/KHTML.
+
+The main advantage of KchmViewer is non-English language support. Unlike
+others, KchmViewer in most cases correctly detects help file encoding,
+correctly shows tables of context of Russian, Korean, Chinese and Japanese
+help files, and correctly searches in non-English help files (search for
+MBCS languages - ja/ko/ch is still in progress).
+
+Completely safe and harmless. Does not support JavaScript in any way,
+optionally warns you before opening an external web page, or switching to
+another help file. Shows an appropriate image for every TOC entry.
+
+KchmViewer Has complete chm index support, including multiple index entries,
+cross-links and parent/child entries in index as well as Persistent bookmarks
+support. Correctly detects and shows encoding of any valid chm file.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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%{_includedir}"
+
+# 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 \
+ --with-x \
+ --with-kde \
+ --with-extra-includes=%{_includedir}/tqt \
+ --enable-closure
+
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{kdecomp}
+
+# Removes useless files
+%__rm -f %{?buildroot}%{tde_libdir}/*.a
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/crystalsvg || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/crystalsvg || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
+
+
+%files -f %{kdecomp}.lang
+%defattr(-,root,root,-)
+%doc ChangeLog COPYING FAQ README
+%{tde_bindir}/kchmviewer
+%{tde_tdelibdir}/kio_msits.la
+%{tde_tdelibdir}/kio_msits.so
+%{tde_datadir}/applnk/kchmviewer.desktop
+%{tde_datadir}/icons/crystalsvg/*/apps/kchmviewer.png
+%{tde_datadir}/services/msits.protocol
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.1.2-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 3.1.2-3
+- Initial build for TDE 3.5.13.1
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 3.1.2-2
+- Rebuilt for Fedora 17
+- Fix post and postun
+- Fix HTML directory location
+
+* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 3.1.2-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kcpuload/trinity-kcpuload-3.5.13.2.spec b/redhat/applications/kcpuload/trinity-kcpuload-3.5.13.2.spec
new file mode 100644
index 000000000..848897372
--- /dev/null
+++ b/redhat/applications/kcpuload/trinity-kcpuload-3.5.13.2.spec
@@ -0,0 +1,142 @@
+# Default version for this component
+%define kdecomp kcpuload
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: a CPU meter for Kicker [Trinity]
+Version: 2.00
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+
+%description
+KCPULoad is a small program for Kicker (the TDE panel). It shows a
+recent history of CPU usage in the form of one or two configurable
+diagrams in the system tray. These diagrams have settings for colours
+and various different styles.
+
+KCPULoad has support for SMP and separate user/system loads.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+for f in crystalsvg locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+
+%postun
+for f in crystalsvg locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/kcpuload
+%{tde_datadir}/applnk/System/kcpuload.desktop
+%{tde_datadir}/apps/kcpuload/icons/*/*/*/*.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kcpuload.png
+%{tde_datadir}/icons/locolor/*/apps/kcpuload.png
+%{tde_tdedocdir}/HTML/en/kcpuload/
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.00-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.00-3
+- Initial build for TDE 3.5.13.1
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 2.00-2
+- Rebuilt for Fedora 17
+- Fix post and postun
+- Fix HTML directory location
+
+* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 2.00-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kdbusnotification/trinity-kdbusnotification-3.5.13.2.spec b/redhat/applications/kdbusnotification/trinity-kdbusnotification-3.5.13.2.spec
new file mode 100644
index 000000000..5d5919651
--- /dev/null
+++ b/redhat/applications/kdbusnotification/trinity-kdbusnotification-3.5.13.2.spec
@@ -0,0 +1,132 @@
+# Default version for this component
+%define kdecomp kdbusnotification
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: a DBUS notification service [Trinity]
+
+Version: 0.1
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gtk2-devel
+
+%if 0%{?suse_version}
+BuildRequires: dbus-1-glib-devel
+%else
+BuildRequires: dbus-glib-devel
+%endif
+
+%description
+kdbusnotification is a small program for Trinity that displays
+DBUS notifications via unobtrusive, easily dismissed passive popups.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/notification-daemon-tde
+%{tde_datadir}/autostart/kdbusnotification-autostart.desktop
+
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.1-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.1-3
+- Initial build for TDE 3.5.13.1
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.1-2
+- Rebuilt for Fedora 17
+- Fix HTML directory location
+- Removes post and postun
+
+* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.1-1
+- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
diff --git a/redhat/applications/kdiff3/trinity-kdiff3-3.5.13.2.spec b/redhat/applications/kdiff3/trinity-kdiff3-3.5.13.2.spec
new file mode 100644
index 000000000..b5d2ee93b
--- /dev/null
+++ b/redhat/applications/kdiff3/trinity-kdiff3-3.5.13.2.spec
@@ -0,0 +1,168 @@
+# Default version for this component
+%define tdecomp kdiff3
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: KDiff3 is a utility for comparing and/or merging two or three text files or directories.
+Version: 0.9.91
+Release: 6%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+%description
+Shows the differences line by line and character by character (!).
+Provides an automatic merge-facility and
+an integrated editor for comfortable solving of merge-conflicts.
+Supports KIO on TDE (allows accessing ftp, sftp, fish, smb etc.).
+Unicode & UTF-8 support
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# Unwanted files
+%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/kdiff3/
+
+%find_lang %{tdecomp}
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+for f in hicolor locolor; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} &>/dev/null || :
+done
+
+%postun
+for f in hicolor locolor; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} &>/dev/null || :
+done
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{tde_bindir}/kdiff3
+%{tde_datadir}/apps/kdiff3/
+%{tde_datadir}/apps/kdiff3part/
+%{tde_datadir}/icons/hicolor/*/apps/kdiff3.png
+%{tde_datadir}/icons/locolor/*/apps/kdiff3.png
+%{tde_tdedocdir}/HTML/*/kdiff3/
+%{tde_datadir}/services/kdiff3_plugin.desktop
+%{tde_datadir}/services/kdiff3part.desktop
+%{tde_datadir}/applnk/Development/*.desktop
+%{tde_datadir}/applnk/.hidden/kdiff3plugin.desktop
+%{tde_mandir}/man*/*
+%{tde_tdelibdir}/libkdiff3part.la
+%{tde_tdelibdir}/libkdiff3part.so
+%{tde_tdelibdir}/libkdiff3plugin.la
+%{tde_tdelibdir}/libkdiff3plugin.so
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.91-6
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.91-5
+- Initial build for TDE 3.5.13.1
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.91-4
+- Rebuilt for Fedora 17
+- Fix HTML directory location
+- Fix post and postun
+- Rename old tq methods that no longer need a unique name [Commit #c7e29c46]
+- Remove additional unneeded tq method conversions [Commit #9b57232f]
+- Rename obsolete tq methods to standard names [Commit #d654b107]
+
+* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.91-3
+- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
+
+* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.91-2
+- Import to GIT
+
+* Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.91-1
+- Correct macro to install under "/opt", if desired
+
+* Sun Aug 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.91-0
+- Initial build for RHEL 6.0
+
diff --git a/redhat/applications/kdirstat/trinity-kdirstat-3.5.13.2.spec b/redhat/applications/kdirstat/trinity-kdirstat-3.5.13.2.spec
new file mode 100644
index 000000000..ba27622a0
--- /dev/null
+++ b/redhat/applications/kdirstat/trinity-kdirstat-3.5.13.2.spec
@@ -0,0 +1,151 @@
+# Default version for this component
+%define tdecomp kdirstat
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: graphical disk usage display with cleanup facilities [Trinity]
+Version: 2.4.4
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+
+%description
+KDirStat (KDE Directory Statistics) is a small utility program that sums
+up disk usage for directory trees, very much like the Unix 'du' command.
+It displays the disk space used up by a directory tree, both numerically
+and graphically. It is network transparent (i.e., you can use it to sum
+up FTP servers), and comes with predefined and user configurable cleanup
+actions. You can directly open a directory branch in Konqueror or the
+shell of your choice, compress it to a .tar.bz2 archive, or define your
+own cleanup actions.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}
+
+# SMP safe !
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%find_lang %{tdecomp}
+
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+for f in hicolor locolor; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+
+%postun
+for f in hicolor locolor; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%{tde_bindir}/kdirstat
+%{tde_datadir}/applnk/Utilities/kdirstat.desktop
+%{tde_datadir}/apps/kconf_update/fix_move_to_trash_bin.pl
+%{tde_datadir}/apps/kconf_update/kdirstat.upd
+%{tde_datadir}/apps/kdirstat/
+%{tde_tdedocdir}/HTML/en/kdirstat/
+%{tde_datadir}/icons/hicolor/*/apps/kdirstat.png
+%{tde_datadir}/icons/locolor/*/apps/kdirstat.png
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.4.4-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.4.4-3
+- Initial build for TDE 3.5.13.1
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 2.4.4-2
+- Rebuilt for Fedora 17
+- Fix post and postun
+
+* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 2.4.4-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/keep/trinity-keep-3.5.13.2.spec b/redhat/applications/keep/trinity-keep-3.5.13.2.spec
new file mode 100644
index 000000000..7e82cca0c
--- /dev/null
+++ b/redhat/applications/keep/trinity-keep-3.5.13.2.spec
@@ -0,0 +1,142 @@
+# Default version for this component
+%define tdecomp keep
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: backup system for KDE [Trinity]
+Version: 0.4.0
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+Requires: rdiff-backup
+
+%description
+Keep is an automatic backup program that allows users to set the parameters of
+the backup, including the frequency and the number of backups.
+
+Homepage: http://jr.falleri.free.fr/keep
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{tdecomp}
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+update-desktop-database %{tde_appdir} &> /dev/null
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+update-desktop-database %{tde_appdir} &> /dev/null
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%{tde_bindir}/keep
+%{tde_tdelibdir}/kded_keep.la
+%{tde_tdelibdir}/kded_keep.so
+%{tde_tdeappdir}/keep.desktop
+%{tde_datadir}/icons/hicolor/scalable/apps/keep.svgz
+%{tde_datadir}/apps/keep/
+%{tde_datadir}/config.kcfg/keepsettings.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/keep.png
+%{tde_datadir}/services/kded/keep.desktop
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.0-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.0-3
+- Initial build for TDE 3.5.13.1
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.0-2
+- Rebuilt for Fedora 17
+
+* Thu Nov 24 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.0-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kerry/trinity-kerry-3.5.13.2.spec b/redhat/applications/kerry/trinity-kerry-3.5.13.2.spec
new file mode 100644
index 000000000..c3d3f8ca6
--- /dev/null
+++ b/redhat/applications/kerry/trinity-kerry-3.5.13.2.spec
@@ -0,0 +1,161 @@
+# Default version for this component
+%define tdecomp kerry
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: a KDE frontend for the Beagle desktop search daemon [Trinity]
+Version: 0.2.1
+Release: 3%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://en.opensuse.org/Kerry
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+Source1: kerry.1.docbook
+
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+BuildRequires: libbeagle-devel >= 0.3.0
+
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: docbook2x
+%else
+BuildRequires: docbook2X
+%endif
+
+%description
+Kerry is a Trinity frontend for the Beagle desktop search daemon.
+
+A program for indexing and searching user's data. At the moment, it can index
+filesystems, chat logs, mail and data, RSS and other.
+
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}
+
+%__make %{?_smp_mflags}
+
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+#%__install -D -m 644 %{SOURCE1} %{buildroot}%{_mandir}/man1/kerry.1.docbook
+#docbook2man %{buildroot}%{_mandir}/man1/kerry.1.docbook
+
+%find_lang %{tdecomp}
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+/sbin/ldconfig || :
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+update-desktop-database %{tde_appdir} &> /dev/null
+
+%postun
+/sbin/ldconfig || :
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+update-desktop-database %{tde_appdir} &> /dev/null
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/*/LC_MESSAGES/kcmbeagle.mo
+%{tde_bindir}/beagled-shutdown
+%{tde_bindir}/kerry
+%{tde_libdir}/libkdeinit_kerry.la
+%{tde_libdir}/libkdeinit_kerry.so
+%{tde_tdelibdir}/kcm_beagle.la
+%{tde_tdelibdir}/kcm_beagle.so
+%{tde_tdelibdir}/kerry.la
+%{tde_tdelibdir}/kerry.so
+%{tde_tdeappdir}/kcmbeagle.desktop
+%{tde_tdeappdir}/kerry.desktop
+%{tde_datadir}/applnk/.hidden/kcmkerry.desktop
+%{tde_datadir}/apps/kerry/search-running.mng
+%{tde_datadir}/autostart/beagled.desktop
+%{tde_datadir}/autostart/kerry.autostart.desktop
+%{tde_datadir}/icons/hicolor/*/*/*
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.2.1-3
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.2.1-2
+- Initial build for TDE 3.5.13.1
+
+* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 0.2.1-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kgtk-qt3/trinity-kgtk-qt3-3.5.13.2.spec b/redhat/applications/kgtk-qt3/trinity-kgtk-qt3-3.5.13.2.spec
new file mode 100644
index 000000000..ec6c53108
--- /dev/null
+++ b/redhat/applications/kgtk-qt3/trinity-kgtk-qt3-3.5.13.2.spec
@@ -0,0 +1,148 @@
+# Default version for this component
+%define tdecomp kgtk-qt3
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: Use KDE dialogs in Gtk apps
+Version: 0.10.2
+Release: 5%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+
+%description
+This is an LD_PRELOAD hack that allows most GTK
+applications to use Trinity's file dialogs when run under Trinity.
+
+The Gtk file chooser functions have been overridden to communicate
+with this KDE module/application.
+
+This package includes the kqt3-wrapper
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+find . -name CMakeLists.txt -exec sed -i {} \
+ -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \
+ -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \
+ -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \
+ \;
+
+%build
+unset QTDIR; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir} -L${QTLIB} -lX11"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+
+export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}"
+
+%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" \
+ -DBUILD_ALL=ON \
+ ..
+
+# SMP safe !
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+# The "preload" file is used by "startkde" script
+%__install -d -m 755 "%{buildroot}%{tde_datadir}/kgtk"
+echo "%{tde_libdir}/kgtk/libkgtk2.so" >"%{buildroot}%{tde_datadir}/kgtk/preload"
+
+%find_lang kgtk
+
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%files -f kgtk.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING README TODO
+%{tde_bindir}/kdialogd-wrapper
+%{tde_bindir}/kdialogd3
+%{tde_bindir}/kgtk-wrapper
+%{tde_bindir}/kgtk2-wrapper
+%{tde_bindir}/kqt3-wrapper
+%{tde_libdir}/kgtk/libkgtk2.so
+%{tde_libdir}/kgtk/libkqt3.so
+%{tde_datadir}/kgtk/preload
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.10.2-5
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.2-4
+- Initial build for TDE 3.5.13.1
+
+* Sun Aug 26 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.2-3
+- Add 'preload' file for startkde script
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.2-2
+- Rebuilt for Fedora 17
+- Removes post and postun
+
+* Thu Dec 01 2011 Francois Andriot <francois.andriot@free.fr> - 0.10.2-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kile/trinity-kile-3.5.13.2.spec b/redhat/applications/kile/trinity-kile-3.5.13.2.spec
new file mode 100644
index 000000000..7ba48dfae
--- /dev/null
+++ b/redhat/applications/kile/trinity-kile-3.5.13.2.spec
@@ -0,0 +1,213 @@
+# Default version for this component
+%define tdecomp kile
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: KDE Integrated LaTeX Environment [Trinity]
+Version: 2.0.2
+Release: 5%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Publishing
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+Obsoletes: %{name}-i18n-ar
+Obsoletes: %{name}-i18n-bg
+Obsoletes: %{name}-i18n-br
+Obsoletes: %{name}-i18n-ca
+Obsoletes: %{name}-i18n-cs
+Obsoletes: %{name}-i18n-cy
+Obsoletes: %{name}-i18n-da
+Obsoletes: %{name}-i18n-de
+Obsoletes: %{name}-i18n-el
+Obsoletes: %{name}-i18n-engb
+Obsoletes: %{name}-i18n-es
+Obsoletes: %{name}-i18n-et
+Obsoletes: %{name}-i18n-eu
+Obsoletes: %{name}-i18n-fi
+Obsoletes: %{name}-i18n-fr
+Obsoletes: %{name}-i18n-ga
+Obsoletes: %{name}-i18n-gl
+Obsoletes: %{name}-i18n-hi
+Obsoletes: %{name}-i18n-hu
+Obsoletes: %{name}-i18n-is
+Obsoletes: %{name}-i18n-it
+Obsoletes: %{name}-i18n-ja
+Obsoletes: %{name}-i18n-lt
+Obsoletes: %{name}-i18n-ms
+Obsoletes: %{name}-i18n-mt
+Obsoletes: %{name}-i18n-nb
+Obsoletes: %{name}-i18n-nds
+Obsoletes: %{name}-i18n-nl
+Obsoletes: %{name}-i18n-nn
+Obsoletes: %{name}-i18n-pa
+Obsoletes: %{name}-i18n-pl
+Obsoletes: %{name}-i18n-pt
+Obsoletes: %{name}-i18n-ptbr
+Obsoletes: %{name}-i18n-ro
+Obsoletes: %{name}-i18n-ru
+Obsoletes: %{name}-i18n-rw
+Obsoletes: %{name}-i18n-sk
+Obsoletes: %{name}-i18n-sr
+Obsoletes: %{name}-i18n-srlatin
+Obsoletes: %{name}-i18n-sv
+Obsoletes: %{name}-i18n-ta
+Obsoletes: %{name}-i18n-th
+Obsoletes: %{name}-i18n-tr
+Obsoletes: %{name}-i18n-uk
+Obsoletes: %{name}-i18n-zhcn
+
+
+%description
+Kile is a user-friendly LaTeX source editor and TeX shell for TDE.
+
+The source editor is a multi-document editor designed for .tex and .bib
+files. Menus, wizards and auto-completion are provided to assist with
+tag insertion and code generation. A structural view of the document
+assists with navigation within source files.
+
+The TeX shell integrates the various tools required for TeX processing.
+It assists with LaTeX compilation, DVI and postscript document viewing,
+generation of bibliographies and indices and other common tasks.
+
+Kile can support large projects consisting of several smaller files.
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%__chmod +x %{buildroot}%{tde_datadir}/apps/kile/test/runTests.sh
+
+# Unwanted files ...
+%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/bibtex.xml
+%__rm -f %{?buildroot}%{tde_datadir}/apps/katepart/syntax/latex.xml
+
+%find_lang %{tdecomp}
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%{tde_bindir}/kile
+%{tde_tdeappdir}/kile.desktop
+%{tde_datadir}/apps/kconf_update
+%{tde_datadir}/apps/kile
+%{tde_datadir}/config.kcfg/kile.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kile.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kile.svgz
+%{tde_tdedocdir}/HTML/en/kile
+%{tde_datadir}/mimelnk/text/x-kilepr.desktop
+
+%lang(da) %{tde_tdedocdir}/HTML/da/kile/
+%lang(es) %{tde_tdedocdir}/HTML/es/kile/
+%lang(et) %{tde_tdedocdir}/HTML/et/kile/
+%lang(it) %{tde_tdedocdir}/HTML/it/kile/
+%lang(nl) %{tde_tdedocdir}/HTML/nl/kile/
+%lang(pt) %{tde_tdedocdir}/HTML/pt/kile/
+%lang(sv) %{tde_tdedocdir}/HTML/sv/kile/
+
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.0.2-5
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.0.2-4
+- Initial build for TDE 3.5.13.1
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 2.0.2-3
+- Rebuilt for Fedora 17
+- Removes the XPM icon
+
+* Fri Apr 20 2012 Francois Andriot <francois.andriot@free.fr> - 2.0.2-2
+- Fix file conflict with trinity-kdelibs
+
+* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 2.0.2-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kima/trinity-kima-3.5.13.2.spec b/redhat/applications/kima/trinity-kima-3.5.13.2.spec
new file mode 100644
index 000000000..b2e594987
--- /dev/null
+++ b/redhat/applications/kima/trinity-kima-3.5.13.2.spec
@@ -0,0 +1,130 @@
+# Default version for this component
+%define tdecomp kima
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: kicker monitoring applet [Trinity]
+Version: 0.7.3.2
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.elliptique.net/~ken/kima/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+
+%description
+This applet monitors various temperature,
+frequency and fan sources in your kicker
+panel.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir}
+
+# SMP safe !
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%find_lang %{tdecomp}
+
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%{tde_tdelibdir}/libkima.la
+%{tde_tdelibdir}/libkima.so
+%{tde_datadir}/apps/kicker/applets/kima.desktop
+%{tde_tdedocdir}/HTML/en/kima/
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.7.3.2-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.7.3.2-3
+- Initial build for TDE 3.5.13.1
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.7.3.2-2
+- Rebuilt for Fedora 17
+- Fix post and postun
+
+* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.7.3.2-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kiosktool/trinity-kiosktool-3.5.13.2.spec b/redhat/applications/kiosktool/trinity-kiosktool-3.5.13.2.spec
new file mode 100644
index 000000000..de047b8d4
--- /dev/null
+++ b/redhat/applications/kiosktool/trinity-kiosktool-3.5.13.2.spec
@@ -0,0 +1,162 @@
+# Default version for this component
+%define tdecomp kiosktool
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Version: 1.0
+Release: 4%{?dist}%{?_variant}
+Summary: tool to configure the TDE kiosk framework
+
+License: GPLv2+
+Group: Applications/Multimedia
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+
+Source0: %{name}-3.5.13.2.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: gettext
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+
+
+%description
+A Point&Click tool for system administrators to enable
+TDE's KIOSK features or otherwise preconfigure TDE for
+groups of users.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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 || : ; source /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --disable-rpath \
+ --enable-new-ldflags \
+ --disable-debug --disable-warnings \
+ --disable-dependency-tracking --enable-final \
+ --enable-closure \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf $RPM_BUILD_ROOT
+%__make install DESTDIR=$RPM_BUILD_ROOT
+
+## File lists
+# locale's
+%find_lang %{tdecomp}
+# HTML (1.0)
+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 ] && rm -f $i/common && ln -sf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+
+%clean
+%__rm -rf $RPM_BUILD_ROOT
+
+
+%post
+touch --no-create %{tde_datadir}/icons/crystalsvg ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||:
+update-desktop-database >& /dev/null ||:
+
+%postun
+touch --no-create %{tde_datadir}/icons/crystalsvg ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/crystalsvg 2> /dev/null ||:
+update-desktop-database >& /dev/null ||:
+
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%doc ChangeLog COPYING README TODO
+%{tde_bindir}/kiosktool
+%{tde_bindir}/kiosktool-kdedirs
+%{tde_tdeappdir}/kiosktool.desktop
+%{tde_datadir}/apps/kiosktool/*.png
+%{tde_tdedocdir}/HTML/en/kiosktool/
+%{tde_datadir}/icons/crystalsvg/*/apps/kiosktool.png
+%{tde_datadir}/apps/kiosktool/kiosk_data.xml
+%{tde_datadir}/apps/kiosktool/kiosktoolui.rc
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0-3
+- Initial build for TDE 3.5.13.1
+
+* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 1.0-2
+- Rebuilt for Fedora 17
+- Fix post and postun
+
+* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kmplayer/trinity-kmplayer-3.5.13.2.spec b/redhat/applications/kmplayer/trinity-kmplayer-3.5.13.2.spec
new file mode 100644
index 000000000..a4deea68a
--- /dev/null
+++ b/redhat/applications/kmplayer/trinity-kmplayer-3.5.13.2.spec
@@ -0,0 +1,252 @@
+# Default version for this component
+%define tdecomp kmplayer
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: media player for Trinity
+Version: 0.10.0c
+Release: 5%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Multimedia
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://kmplayer.kde.org
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-dbus-tqt-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?pclinuxos}
+BuildRequires: libgstreamer0.10-devel
+%else
+BuildRequires: %{_lib}gstreamer0.10-devel
+%endif
+BuildRequires: %{_lib}gstreamer-plugins-base0.10-devel
+BuildRequires: libxv-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: gstreamer-devel
+BuildRequires: gstreamer-plugins-base-devel
+BuildRequires: libXv-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: gstreamer-devel
+BuildRequires: gstreamer-0_10-plugins-base-devel
+%if 0%{?suse_version} == 1140
+BuildRequires: xorg-x11-libXv-devel
+%else
+BuildRequires: libXv-devel
+%endif
+%endif
+
+Requires: %{name}-base
+
+%description
+A basic audio/video viewer application for Trinity.
+
+KMPlayer can:
+* play DVD (DVDNav only with the Xine player)
+* play VCD
+* let the backend players play from a pipe (read from stdin)
+* play from a TV device (experimental)
+* show backend player's console output
+* launch ffserver (only 0.4.8 works) when viewing from a v4l device
+* DCOP KMediaPlayer interface support
+* VDR viewer frontend (with *kxvplayer), configure VDR keys with standard KDE
+ shortcut configure window
+* Lots of configurable shortcuts. Highly recommended for the VDR keys
+ (if you have VDR) and volume increase/decrease
+
+
+%package base
+Group: Applications/Multimedia
+Summary: Base files for KMPlayer [Trinity]
+
+%description base
+Core files needed for KMPlayer.
+
+
+%package konq-plugins
+Group: Applications/Multimedia
+Requires: trinity-kmplayer-base, trinity-kdebase
+Summary: KMPlayer plugin for KHTML/Konqueror [Trinity]
+
+%description konq-plugins
+This plugin enables audio/video playback inside konqueror, using Xine (with
+*kxineplayer) or GStreamer (with *kgstplayer), such as movie trailers, web
+tv or radio. It mimics QuickTime, MS Media Player and RealPlayer plugin
+browser plugins.
+
+
+%package doc
+Group: Applications/Multimedia
+Requires: %{name} = %{version}-%{release}
+Summary: Handbook for KMPlayer [Trinity]
+
+%description doc
+Documention for KMPlayer, a basic audio/video viewer application for TDE.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{tdecomp}
+
+# Removes unwanted files
+%__rm -f %{?buildroot}%{tde_datadir}/mimelnk/application/x-mplayer2.desktop
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+%post base
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+/sbin/ldconfig || :
+
+%postun base
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+/sbin/ldconfig || :
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING ChangeLog INSTALL README TODO kmplayer.lsm
+%{tde_bindir}/kmplayer
+%{tde_bindir}/knpplayer
+%{tde_bindir}/kxvplayer
+%{tde_libdir}/libkdeinit_kmplayer.la
+%{tde_libdir}/libkdeinit_kmplayer.so
+%{tde_tdelibdir}/kmplayer.la
+%{tde_tdelibdir}/kmplayer.so
+%{tde_tdeappdir}/kmplayer.desktop
+%{tde_datadir}/apps/kmplayer
+%{tde_datadir}/services/kmplayer_part.desktop
+
+%files base
+%defattr(-,root,root,-)
+%{tde_libdir}/libkmplayercommon.la
+%{tde_libdir}/libkmplayercommon.so
+%{tde_bindir}/kgstplayer
+%{tde_bindir}/kxineplayer
+%{tde_datadir}/config/kmplayerrc
+%{tde_datadir}/apps/kmplayer/bookmarks.xml
+%{tde_datadir}/apps/kmplayer/noise.gif
+%{tde_datadir}/apps/kmplayer/pluginsinfo
+%{tde_datadir}/icons/hicolor/*/apps/kmplayer.png
+%{tde_datadir}/icons/hicolor/*/apps/kmplayer.svgz
+%{tde_datadir}/mimelnk/application/x-kmplayer.desktop
+%{tde_datadir}/mimelnk/video/x-ms-wmp.desktop
+
+
+%files doc
+%defattr(-,root,root,-)
+%{tde_tdedocdir}/HTML/*/kmplayer
+
+%files konq-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/libkmplayerpart.la
+%{tde_tdelibdir}/libkmplayerpart.so
+%{tde_datadir}/apps/kmplayer/kmplayerpartui.rc
+%{tde_datadir}/apps/kmplayer/pluginsinfo
+%{tde_datadir}/services/kmplayer_part.desktop
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.10.0c-5
+- Initial release for TDE 3.5.13.2
+
+* Sat Nov 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.0c-4
+- Fix xine 1.2 support (openSUSE 12.2 only)
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.0c-3
+- Initial build for TDE 3.5.13.1
+
+* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.10.0c-2
+- Fix compilation with GCC 4.7 [Commit #5106117b]
+
+* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.10.0c-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
+
diff --git a/redhat/applications/kmyfirewall/trinity-kmyfirewall-3.5.13.2.spec b/redhat/applications/kmyfirewall/trinity-kmyfirewall-3.5.13.2.spec
new file mode 100644
index 000000000..c4e600952
--- /dev/null
+++ b/redhat/applications/kmyfirewall/trinity-kmyfirewall-3.5.13.2.spec
@@ -0,0 +1,211 @@
+# Default version for this component
+%define tdecomp kmyfirewall
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: iptables based firewall configuration tool for KDE [Trinity]
+Version: 1.1.1
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+
+%description
+KMyFirewall attempts to make it easier to setup iptables based firewalls on
+Linux systems. It will be the right tool if you like to have a so called
+"Personal Firewall" running on your Linux box, but don't have the time and/or
+the interest to spend hours in front of the iptables manual just to setup a
+Firewall that keeps the "bad" people out.
+
+There is also the possibility to save entire rule sets, so you only have to
+configure your rule set one time and then you can use it on several computers
+giving each of them a similar configuration (p.e. school networks, office,
+university etc.)
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%{summary}
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+for f in hicolor locolor; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+/sbin/ldconfig || :
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+for f in hicolor locolor; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+/sbin/ldconfig || :
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING COPYING-DOCS README TODO
+%{tde_bindir}/kmyfirewall
+%{tde_libdir}/libkmfcore.so.*
+%{tde_libdir}/libkmfwidgets.so.*
+%{tde_tdelibdir}/libkmfcompiler_ipt.la
+%{tde_tdelibdir}/libkmfcompiler_ipt.so
+%{tde_tdelibdir}/libkmfgenericinterfacepart.la
+%{tde_tdelibdir}/libkmfgenericinterfacepart.so
+%{tde_tdelibdir}/libkmfinstaller_linux.la
+%{tde_tdelibdir}/libkmfinstaller_linux.so
+%{tde_tdelibdir}/libkmfinstallerplugin.la
+%{tde_tdelibdir}/libkmfinstallerplugin.so
+%{tde_tdelibdir}/libkmfipteditorpart.la
+%{tde_tdelibdir}/libkmfipteditorpart.so
+%{tde_tdelibdir}/libkmfruleoptionedit_custom.la
+%{tde_tdelibdir}/libkmfruleoptionedit_custom.so
+%{tde_tdelibdir}/libkmfruleoptionedit_interface.la
+%{tde_tdelibdir}/libkmfruleoptionedit_interface.so
+%{tde_tdelibdir}/libkmfruleoptionedit_ip.la
+%{tde_tdelibdir}/libkmfruleoptionedit_ip.so
+%{tde_tdelibdir}/libkmfruleoptionedit_limit.la
+%{tde_tdelibdir}/libkmfruleoptionedit_limit.so
+%{tde_tdelibdir}/libkmfruleoptionedit_mac.la
+%{tde_tdelibdir}/libkmfruleoptionedit_mac.so
+%{tde_tdelibdir}/libkmfruleoptionedit_protocol.la
+%{tde_tdelibdir}/libkmfruleoptionedit_protocol.so
+%{tde_tdelibdir}/libkmfruleoptionedit_state.la
+%{tde_tdelibdir}/libkmfruleoptionedit_state.so
+%{tde_tdelibdir}/libkmfruleoptionedit_tos.la
+%{tde_tdelibdir}/libkmfruleoptionedit_tos.so
+%{tde_tdelibdir}/libkmfruletargetoptionedit_log.la
+%{tde_tdelibdir}/libkmfruletargetoptionedit_log.so
+%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.la
+%{tde_tdelibdir}/libkmfruletargetoptionedit_mark.so
+%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.la
+%{tde_tdelibdir}/libkmfruletargetoptionedit_nat.so
+%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.la
+%{tde_tdelibdir}/libkmfruletargetoptionedit_tos.so
+%{tde_tdeappdir}/kmyfirewall.desktop
+%{tde_datadir}/apps/kmfgenericinterfacepart/kmfgenericinterfacepartui.rc
+%{tde_datadir}/apps/kmfipteditorpart/kmfipteditorpartui.rc
+%{tde_datadir}/apps/kmfsystray
+%{tde_datadir}/apps/kmyfirewall
+%{tde_datadir}/config.kcfg/kmfconfig.kcfg
+%{tde_datadir}/config/kmyfirewallrc
+%{tde_tdedocdir}/HTML/en/kmyfirewall/
+%{tde_datadir}/icons/hicolor/*/apps/kmyfirewall.png
+%{tde_datadir}/icons/locolor/*/apps/kmyfirewall.png
+%{tde_datadir}/mimelnk/application/kmfgrs.desktop
+%{tde_datadir}/mimelnk/application/kmfnet.desktop
+%{tde_datadir}/mimelnk/application/kmfpkg.desktop
+%{tde_datadir}/mimelnk/application/kmfrs.desktop
+%{tde_datadir}/services/kmf*.desktop
+%{tde_datadir}/servicetypes/kmf*.desktop
+
+%files devel
+%{tde_tdeincludedir}/kmyfirewall
+%{tde_libdir}/libkmfcore.la
+%{tde_libdir}/libkmfcore.so
+%{tde_libdir}/libkmfwidgets.la
+%{tde_libdir}/libkmfwidgets.so
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.1.1-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.1.1-3
+- Initial build for TDE 3.5.13.1
+
+* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 1.1.1-2
+- GCC 4.7 fixes. [Commit #88d2d2a7]
+
+* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 1.1.1-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
+
diff --git a/redhat/applications/kmymoney/trinity-kmymoney-3.5.13.2.spec b/redhat/applications/kmymoney/trinity-kmymoney-3.5.13.2.spec
new file mode 100644
index 000000000..99ac0885b
--- /dev/null
+++ b/redhat/applications/kmymoney/trinity-kmymoney-3.5.13.2.spec
@@ -0,0 +1,303 @@
+# Default version for this component
+%define tdecomp kmymoney
+
+# Required for Mageia 2: removes the ldflag '--no-undefined'
+%define _disable_ld_no_undefined 1
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%define qt3pluginsdir %{_libdir}/qt3/plugins
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+%define qt3pluginsdir %{_libdir}/qt-3.3/plugins
+%endif
+%if 0%{?suse_version}
+%define qt3pluginsdir /usr/lib/qt3/plugins
+%endif
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: personal finance manager for TDE
+
+Version: 1.0.5
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+Source1: kmymoneytitlelabel.png
+
+# [kmymoney] Missing LDFLAGS causing FTBFS
+Patch4: kmymoney-3.5.13-missing_ldflags.patch
+
+# [kmymoney] Fix QT3 plugins directory location
+Patch5: kmymoney-3.5.13-fix_qt3_plugins_location.patch
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+BuildRequires: recode
+BuildRequires: libofx-devel
+
+# PDF support
+%if 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} || 0%{?mdkversion}
+%define with_pdf 1
+BuildRequires: html2ps
+%endif
+
+# OPENSP support
+%if 0%{?mgaversion} || 0%{?pclinuxos} || 0%{?mdkversion}
+%if 0%{?mgaversion} || 0%{?pclinuxos}
+BuildRequires: %{_lib}OpenSP5-devel
+%else
+BuildRequires: opensp-devel
+%endif
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: opensp-devel
+%endif
+%if 0%{?rhel} == 4
+BuildRequires: openjade-devel
+%endif
+
+Requires: %{name}-common == %{version}
+
+%description
+KMyMoney is the Personal Finance Manager for TDE. It operates similar to
+MS-Money and Quicken, supports different account types, categorisation of
+expenses, QIF import/export, multiple currencies and initial online banking
+support.
+
+
+%package common
+Summary: KMyMoney architecture independent files
+Group: Applications/Utilities
+Requires: %{name} == %{version}
+
+%description common
+This package contains architecture independent files needed for KMyMoney to
+run properly. It also provides KMyMoney documentation. Therefore, unless you
+have '%{name}' package installed, you will hardly find this package useful.
+
+
+%package devel
+Summary: KMyMoney development files
+Group: Development/Libraries
+Requires: %{name} == %{version}
+
+%description devel
+This package contains development files needed for KMyMoney plugins.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%patch5 -p1 -b .qtpluginsdir
+%endif
+
+%if 0%{?mgaversion} >= 3 || 0%{?pclinuxos} >= 2013
+%__cp /usr/share/automake-1.13/test-driver admin/
+%endif
+
+%__install -m644 %{SOURCE1} kmymoney2/widgets/
+
+# 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}"
+export KDEDIR="%{tde_prefix}"
+
+# Required to find the QT3 plugins directory
+%if 0%{?mgaversion} || 0%{?mdkversion}
+export QTPLUGINS="%{_libdir}/qt3/plugins"
+%endif
+
+# Fix strange FTBFS on RHEL4
+%if 0%{?rhel} == 4
+grep -v "^#~" po/it.po >/tmp/it.po && mv -f /tmp/it.po po/it.po
+%endif
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure \
+ %{?with_pdf:--enable-pdf-docs} %{?!with_pdf:--disable-pdf-docs} \
+ --enable-ofxplugin \
+ --enable-ofxbanking \
+ --enable-qtdesigner \
+ --enable-sqlite3
+
+# Fix FTBFS inside sqlite3 archive
+patch -p1 < %{PATCH4}
+
+%__make %{?_smp_mflags}
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+
+# Required to find the QT3 plugins directory
+%if 0%{?mgaversion} || 0%{?mdkversion}
+export QTPLUGINS=%{_libdir}/qt3/plugins
+%endif
+
+%__make install DESTDIR=%{buildroot}
+
+
+
+
+## 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
+
+%find_lang kmymoney2
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+/sbin/ldconfig
+for f in hicolor locolor Tango oxygen; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+/sbin/ldconfig
+for f in hicolor locolor Tango oxygen; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/kmymoney
+%{tde_bindir}/kmymoney2
+%{tde_tdeappdir}/kmymoney2.desktop
+%{tde_datadir}/mimelnk/application/x-kmymoney2.desktop
+%{tde_datadir}/servicetypes/kmymoneyimporterplugin.desktop
+%{tde_datadir}/servicetypes/kmymoneyplugin.desktop
+%{tde_libdir}/*.so.*
+%{tde_tdelibdir}/kmm_ofximport.la
+%{tde_tdelibdir}/kmm_ofximport.so
+
+%files common -f kmymoney2.lang
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kmymoney2/html/
+%{tde_datadir}/apps/kmymoney2/icons/*/*/*/*.png
+%{tde_datadir}/apps/kmymoney2/kmymoney2ui.rc
+%{tde_datadir}/apps/kmymoney2/misc/financequote.pl
+%{tde_datadir}/apps/kmymoney2/pics/*.png
+%{tde_datadir}/apps/kmymoney2/templates/*/*.kmt
+%{tde_datadir}/apps/kmymoney2/tips
+%{tde_datadir}/config.kcfg/kmymoney2.kcfg
+%{tde_datadir}/icons/hicolor/*/*/*.png
+%{tde_datadir}/icons/Tango/*/*/*.png
+%{tde_datadir}/icons/Tango/scalable/*.svgz
+%{tde_datadir}/icons/locolor/*/*/*.png
+%{tde_datadir}/icons/oxygen/*/*/*.png
+%{tde_datadir}/icons/oxygen/scalable/*.svgz
+%{tde_tdedocdir}/HTML/en/kmymoney2/
+%{tde_mandir}/man1/kmymoney2.*
+%{tde_datadir}/apps/kmm_ofximport/kmm_ofximport.rc
+%{tde_datadir}/services/kmm_ofximport.desktop
+
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kmymoney/*.h
+%{tde_libdir}/libkmm_kdchart.la
+%{tde_libdir}/libkmm_mymoney.la
+%{tde_libdir}/libkmm_plugin.la
+%{tde_libdir}/*.so
+%{qt3pluginsdir}/sqldrivers/libsqlite3*.so
+%{qt3pluginsdir}/designer/libkmymoney.so
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.5-3
+- Initial build for TDE 3.5.13.1
+
+* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.5-2
+- Rebuild for Fedora 17
+- Fix compilation with GCC 4.7 [Bug #958]
+
+* Sun Jan 15 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.5-1
+- Updates to upstream 1.0.5
+
+* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 1.0.4-1
+- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
diff --git a/redhat/applications/knemo/trinity-knemo-3.5.13.2.spec b/redhat/applications/knemo/trinity-knemo-3.5.13.2.spec
new file mode 100644
index 000000000..c7409a810
--- /dev/null
+++ b/redhat/applications/knemo/trinity-knemo-3.5.13.2.spec
@@ -0,0 +1,150 @@
+# Default version for this component
+%define tdecomp knemo
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: network interfaces monitor for the Trinity systray
+Version: 0.4.8
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://beta.smileaf.org/projects
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+%if 0%{?fedora} >= 18
+BuildRequires: net-tools
+%endif
+
+
+%description
+KNemo displays an icon in the systray for every network interface.
+Tooltips and an info dialog provide further information about the
+interface. Passive popups inform about interface changes.
+A traffic plotter is also integrated.
+
+knemo polls the network interface status every second using the
+ifconfig, route and iwconfig tools.
+
+Homepage: http://extragear.kde.org/apps/knemo/
+
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/crystalsvg || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/crystalsvg || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
+
+
+%files
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcm_knemo.la
+%{tde_tdelibdir}/kcm_knemo.so
+%{tde_tdelibdir}/kded_knemod.la
+%{tde_tdelibdir}/kded_knemod.so
+%{tde_tdeappdir}/kcm_knemo.desktop
+%{tde_datadir}/apps/knemo/eventsrc
+%{tde_datadir}/icons/crystalsvg/*/*/*.png
+%{tde_datadir}/locale/*/LC_MESSAGES/knemod.mo
+%{tde_datadir}/locale/*/LC_MESSAGES/kcm_knemo.mo
+%{tde_datadir}/services/kded/knemod.desktop
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.8-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.8-3
+- Initial build for TDE 3.5.13.1
+
+* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.8-2
+- Rebuild for Fedora 17
+
+* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.8-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/knetload/trinity-knetload-3.5.13.2.spec b/redhat/applications/knetload/trinity-knetload-3.5.13.2.spec
new file mode 100644
index 000000000..ee588af4e
--- /dev/null
+++ b/redhat/applications/knetload/trinity-knetload-3.5.13.2.spec
@@ -0,0 +1,147 @@
+# Default version for this component
+%define tdecomp knetload
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: a network meter for Kicker [Trinity]
+Version: 2.3
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+
+%description
+KNetLoad is a small network meter for Kicker (the KDE panel). It shows
+a recent history of network usage in the form of two configurable
+diagrams in the system tray, one for incoming and one for outgoing
+data. These diagrams have settings for colours and various different
+styles.
+
+KNetLoad can monitor just about any network device.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+# SMP safe !
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{tdecomp}
+
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+for f in crystalsvg locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+for f in crystalsvg locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%{tde_bindir}/knetload
+%{tde_tdeappdir}/knetload.desktop
+%{tde_datadir}/apps/knetload
+%{tde_datadir}/icons/crystalsvg/*/apps/knetload.png
+%{tde_datadir}/icons/locolor/*/apps/knetload.png
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.3-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.3-3
+- Initial build for TDE 3.5.13.1
+
+* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 2.3-2
+- Rebuild for Fedora 17
+
+* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 2.3-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/knetstats/trinity-knetstats-3.5.13.2.spec b/redhat/applications/knetstats/trinity-knetstats-3.5.13.2.spec
new file mode 100644
index 000000000..9ab1fe7c1
--- /dev/null
+++ b/redhat/applications/knetstats/trinity-knetstats-3.5.13.2.spec
@@ -0,0 +1,135 @@
+# Default version for this component
+%define tdecomp knetstats
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: network interfaces monitor for the Trinity systray
+Version: 1.6.1
+Release: 3%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+
+%description
+A simple KDE network monitor that show rx/tx LEDs of any
+network interface on a system tray icon
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+# SMP safe !
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{tdecomp}
+
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%{tde_bindir}/knetstats
+%{tde_tdeappdir}/knetstats.desktop
+%{tde_datadir}/apps/knetstats
+%{tde_tdedocdir}/HTML/en/knetstats/
+%{tde_datadir}/icons/hicolor/*/apps/knetstats.png
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.1-3
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.6.1-2
+- Initial build for TDE 3.5.13.1
+
+* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 1.6.1-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/knetworkmanager/trinity-knetworkmanager-3.5.13.2.spec b/redhat/applications/knetworkmanager/trinity-knetworkmanager-3.5.13.2.spec
new file mode 100644
index 000000000..349203c3e
--- /dev/null
+++ b/redhat/applications/knetworkmanager/trinity-knetworkmanager-3.5.13.2.spec
@@ -0,0 +1,189 @@
+# Default version for this component
+%define tdecomp knetworkmanager
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion}
+%define version 0.9
+%else
+%define version 0.8
+%endif
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_tdedocdir}
+
+
+Name: trinity-%{tdecomp}
+Version: %{?version}
+Release: 5%{?dist}%{?_variant}
+
+Summary: Trinity applet for Network Manager
+
+Group: Applications/Internet
+License: GPLv2+
+URL: http://en.opensuse.org/Projects/KNetworkManager
+
+%if "%{?version}" == "0.9"
+Source0: trinity-knetworkmanager9-3.5.13.2.tar.gz
+%else
+Source0: trinity-knetworkmanager8-3.5.13.2.tar.gz
+%endif
+
+Patch0: knetworkmanager-3.5.13-missing_includes.patch
+
+# For knetworkmanager 0.9 only !
+Patch10: knetworkmanager-3.5.13-subdir_version.patch
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+#Requires: kde-filesystem
+BuildRequires: desktop-file-utils
+
+%if 0%{?rhel} || 0%{?fedora}
+Requires: NetworkManager-gnome
+%else
+Requires: networkmanager
+%endif
+
+BuildRequires: trinity-dbus-1-tqt-devel
+BuildRequires: trinity-dbus-tqt-devel
+BuildRequires: NetworkManager-glib-devel
+
+%description
+KNetworkManager is a system tray applet for controlling network
+connections on systems that use the NetworkManager daemon.
+
+
+%package devel
+Summary: Common data shared among the MySQL GUI Suites
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development headers for knetworkmanager
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%if "%{?version}" == "0.9"
+%setup -q -n %{name}9-3.5.13.2
+%else
+%setup -q -n %{name}8-3.5.13.2
+%endif
+
+%if "%{?version}" == "0.9"
+%patch10 -p1
+%endif
+
+cd knetworkmanager-0.*/src
+%patch0 -p3
+
+
+
+%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}"
+
+# Missing TDE macros
+%__mkdir_p cmake
+%__ln_s %{tde_datadir}/cmake cmake/modules
+
+%if 0%{?rhel} || 0%{?fedora}
+%__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" \
+ ..
+
+%__make %{?_smp_mflags}
+
+%install
+%__rm -rf $RPM_BUILD_ROOT
+%__make install DESTDIR=%{?buildroot} -C build
+
+
+%clean
+%__rm -rf $RPM_BUILD_ROOT
+
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+/sbin/ldconfig
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+/sbin/ldconfig
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%post devel
+/sbin/ldconfig
+
+%postun devel
+/sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/knetworkmanager
+%{tde_libdir}/*.la
+%{tde_libdir}/*.so
+%{_sysconfdir}/dbus-1/system.d/knetworkmanager.conf
+%{tde_tdeappdir}/knetworkmanager.desktop
+%{tde_datadir}/apps/knetworkmanager
+%{tde_datadir}/icons/hicolor/*/apps/knetworkmanager*
+%{tde_datadir}/servicetypes/knetworkmanager_plugin.desktop
+%{tde_datadir}/servicetypes/knetworkmanager_vpnplugin.desktop
+
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/*.h
+%{tde_tdelibdir}/*.la
+%{tde_tdelibdir}/*.so
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - %{?version}-5
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - %{?version}-4
+- Initial build for TDE 3.5.13.1
+
+* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.8-3 / 0.9-3
+- Rebuild for Fedora 17
+
+* Sat Nov 13 2011 Francois Andriot <francois.andriot@free.fr> - 0.8-2 / 0.9-2
+- Remove faulty patch for WPA authentication
+
+* Tue Nov 11 2011 Francois Andriot <francois.andriot@free.fr> - 0.8-1 / 0.9-1
+- Initial build
diff --git a/redhat/applications/knights/trinity-knights-3.5.13.2.spec b/redhat/applications/knights/trinity-knights-3.5.13.2.spec
new file mode 100644
index 000000000..564e911c9
--- /dev/null
+++ b/redhat/applications/knights/trinity-knights-3.5.13.2.spec
@@ -0,0 +1,148 @@
+# Default version for this component
+%define tdecomp knights
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: A chess interface for the K Desktop Environment [Trinity]
+Version: 0.6
+Release: 5%{?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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+Requires: gnuchess
+
+%description
+Knights aims to be the ultimate chess resource on your computer.
+Written for the K Desktop Environment, it's designed to be both friendly
+to new chess players and functional for Grand Masters.
+
+Here's a quick list of Knights' key features:
+* Play against yourself, against computer opponents,
+ or against others over the Internet.
+* Customize your board and pieces with over 30 different themes,
+ or make your own!
+* Audio cues help alert you to important events.
+* Novice players can preview potential moves.
+* Save your unfinished matches and play them again later.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{tdecomp}
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%{tde_bindir}/knights
+%{tde_datadir}/applnk/Games/Board/knights.desktop
+%{tde_datadir}/apps/knights
+%{tde_tdedocdir}/HTML/*/knights
+%{tde_datadir}/icons/hicolor/*/*/*.png
+%{tde_datadir}/mimelnk/application/pgn.desktop
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.6-5
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.6-4
+- Initial build for TDE 3.5.13.1
+
+* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.6-3
+- Rebuild for Fedora 17
+
+* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 0.6-2
+- Fix HTML directory location
+
+* Sun Nov 20 2011 Francois Andriot <francois.andriot@free.fr> - 0.6-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/knowit/trinity-knowit-3.5.13.2.spec b/redhat/applications/knowit/trinity-knowit-3.5.13.2.spec
new file mode 100644
index 000000000..bf985b582
--- /dev/null
+++ b/redhat/applications/knowit/trinity-knowit-3.5.13.2.spec
@@ -0,0 +1,145 @@
+# Default version for this component
+%define tdecomp knowit
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: Tool for managing notes [Trinity]
+Version: 0.10
+Release: 3%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+
+%description
+KnowIt is a tool for managing notes which are organized in
+tree-like hierarchy. It is similar to TuxCards,
+but KDE-based, and requires Trinity.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+# SMP safe !
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%__mkdir_p %{buildroot}%{tde_tdeappdir}
+%__mv %{buildroot}%{tde_datadir}/applnk/Applications/knowit.desktop %{buildroot}%{tde_tdeappdir}/knowit.desktop
+%__rm -r %{buildroot}%{tde_datadir}/applnk
+
+
+%find_lang %{tdecomp}
+
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%{tde_bindir}/knowit
+%{tde_tdeappdir}/knowit.desktop
+%{tde_datadir}/apps/knowit/knowitui.rc
+%{tde_datadir}/apps/knowit/tips
+%{tde_tdedocdir}/HTML/en/knowit/common
+%{tde_tdedocdir}/HTML/en/knowit/index.cache.bz2
+%{tde_tdedocdir}/HTML/en/knowit/index.docbook
+%{tde_tdedocdir}/HTML/en/knowit/screenshot.png
+%{tde_datadir}/icons/hicolor/*/apps/knowit.png
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.10-3
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.10-2
+- Initial build for TDE 3.5.13.1
+
+* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.10-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/knutclient/trinity-knutclient-3.5.13.2.spec b/redhat/applications/knutclient/trinity-knutclient-3.5.13.2.spec
new file mode 100644
index 000000000..08aa0cc6d
--- /dev/null
+++ b/redhat/applications/knutclient/trinity-knutclient-3.5.13.2.spec
@@ -0,0 +1,144 @@
+# Default version for this component
+%define tdecomp knutclient
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: A KDE GUI that displays UPS statistics from NUT's upsd [Trinity]
+Version: 0.9.5
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.knut.noveradsl.cz/knutclient/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+
+%description
+KNutClient monitors UPS statistics through the NUT (Network UPS Tools,
+http://www.networkupstools.org/) framework on Linux and other systems. This
+information, presented in a nice visual format, can be invaluable on
+stations using an UPS.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{tdecomp}
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+for f in hicolor locolor; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+
+%postun
+for f in hicolor locolor; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%{tde_bindir}/knutclient
+%{tde_datadir}/applnk/Utilities/knutclient.desktop
+%{tde_datadir}/apps/knutclient/knutclientui.rc
+%{tde_datadir}/apps/knutclient
+%{tde_tdedocdir}/HTML/cs/knutclient
+%{tde_tdedocdir}/HTML/en/knutclient
+%{tde_datadir}/icons/hicolor/*/apps/*.png
+%{tde_datadir}/icons/locolor/*/apps/*.png
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.5-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.5-3
+- Initial build for TDE 3.5.13.1
+
+* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.5-2
+- Rebuild for Fedora 17
+
+* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.5-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
+
diff --git a/redhat/applications/koffice-i18n/trinity-koffice-i18n-3.5.13.2.spec b/redhat/applications/koffice-i18n/trinity-koffice-i18n-3.5.13.2.spec
new file mode 100644
index 000000000..273203c45
--- /dev/null
+++ b/redhat/applications/koffice-i18n/trinity-koffice-i18n-3.5.13.2.spec
@@ -0,0 +1,1089 @@
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+# Builds all supported languages (not unsupported ones)
+%if "%{?KDE_LANGS}" == ""
+%define KDE_LANGS bg ca cs da de el en_GB es et fi fr hu it ja km lv ms nb nds ne nl pl pt pt_BR ru sk sl sr sv tr uk zh_CN zh_TW
+%endif
+
+
+Name: trinity-koffice-i18n
+Summary: Internationalization support for Trinity
+Version: 1.6.3
+Release: 3%{?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: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: findutils
+BuildRequires: gettext
+BuildRequires: autoconf automake libtool m4
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+
+%description
+%{summary}.
+
+%package Bulgarian
+Summary: Bulgarian(bg) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-bg = %{version}-%{release}
+%description Bulgarian
+%{summary}.
+
+%package Bengali
+Summary: Bengali(bn) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-bn = %{version}-%{release}
+%description Bengali
+%{summary}.
+
+%package Tibetan
+Summary: Tibetan(bo) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-bo = %{version}-%{release}
+%description Tibetan
+%{summary}.
+
+%package Breton
+Summary: Breton(br) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-br = %{version}-%{release}
+%description Breton
+%{summary}.
+
+%package Bosnian
+Summary: Bosnian(bs) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-bs = %{version}-%{release}
+%description Bosnian
+%{summary}.
+
+%package Catalan
+Summary: Catalan(ca) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ca = %{version}-%{release}
+%description Catalan
+%{summary}.
+
+%package Czech
+Summary: Czech(cs) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-cs = %{version}-%{release}
+%description Czech
+%{summary}.
+
+%package Cymraeg
+Summary: Cymraeg language support for TDE
+Group: User Interface/Desktops
+%description Cymraeg
+%{summary}.
+
+%package Welsh
+Summary: Welsh(cy) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-cy = %{version}-%{release}
+%description Welsh
+%{summary}.
+
+%package Danish
+Summary: Danish(da) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-da = %{version}-%{release}
+%description Danish
+%{summary}.
+
+%package German
+Summary: German(de) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-de = %{version}-%{release}
+%description German
+%{summary}.
+
+%package Greek
+Summary: Greek(el) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-el = %{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}
+%description British
+%{summary}.
+
+%package Esperanto
+Summary: Esperanto(eo) support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-eo = %{version}-%{release}
+%description Esperanto
+%{summary}.
+
+%package Spanish
+Summary: Spanish(es) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-es = %{version}-%{release}
+%description Spanish
+%{summary}.
+
+%package Estonian
+Summary: Estonian(et) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-et = %{version}-%{release}
+%description Estonian
+%{summary}.
+
+%package Basque
+Summary: Basque(eu) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-eu = %{version}-%{release}
+%description Basque
+%{summary}.
+
+%package Finnish
+Summary: Finnish(fi) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fi = %{version}-%{release}
+%description Finnish
+%{summary}.
+
+%package Faroese
+Summary: Faroese(fo) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fo = %{version}-%{release}
+%description Faroese
+%{summary}.
+
+%package French
+Summary: French(fr) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fr = %{version}-%{release}
+%description French
+%{summary}.
+
+%package Frisian
+Summary: Frisian(fy) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fy = %{version}-%{release}
+%description Frisian
+%{summary}.
+
+%package Irish
+Summary: Irish(ga) language support for TDE
+Group: User Interface/Desktops
+Obsoletes: kde-i18n-Gaeilge < %{version}
+Provides: %{name}-ga = %{version}-%{release}
+%description Irish
+%{summary}.
+
+%package Galician
+Summary: Galician(gl) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-gl = %{version}-%{release}
+%description Galician
+%{summary}.
+
+%package Hebrew
+Summary: Hebrew(he) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-he = %{version}-%{release}
+%description Hebrew
+%{summary}.
+
+%package Hindi
+Summary: Hindi(hi) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-hi = %{version}-%{release}
+%description Hindi
+%{summary}.
+
+%package Croatian
+Summary: Croatian(hr) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-hr = %{version}-%{release}
+%description Croatian
+%{summary}.
+
+%package Hungarian
+Summary: Hungarian(hu) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-hu = %{version}-%{release}
+%description Hungarian
+%{summary}.
+
+%package Indonesian
+Summary: Indonesian(id) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-id = %{version}-%{release}
+%description Indonesian
+%{summary}.
+
+%package Icelandic
+Summary: Icelandic(is) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-is = %{version}-%{release}
+%description Icelandic
+%{summary}.
+
+%package Italian
+Summary: Italian(it) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-it = %{version}-%{release}
+%description Italian
+%{summary}.
+
+%package Japanese
+Summary: Japanese(ja) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ja = %{version}-%{release}
+%description Japanese
+%{summary}.
+
+%package Khmer
+Summary: Khmer(km) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-km = %{version}-%{release}
+%description Khmer
+%{summary}.
+
+%package Korean
+Summary: Korean(ko) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ko = %{version}-%{release}
+%description Korean
+%{summary}.
+
+%package Kurdish
+Summary: Kurdish(ku) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ku = %{version}-%{release}
+%description Kurdish
+%{summary}.
+
+%package Lao
+Summary: Lao(lo) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-lo = %{version}-%{release}
+%description Lao
+%{summary}.
+
+%package Lithuanian
+Summary: Lithuanian(lt) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-lt = %{version}-%{release}
+%description Lithuanian
+%{summary}.
+
+%package Latvian
+Summary: Latvian(lv) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-lv = %{version}-%{release}
+%description Latvian
+%{summary}.
+
+%package Maori
+Summary: Maori(mi) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-mi = %{version}-%{release}
+%description Maori
+%{summary}.
+
+%package Macedonian
+Summary: Macedonian(mk) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-mk = %{version}-%{release}
+%description Macedonian
+%{summary}.
+
+%package Malay
+Summary: Malay(ms) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ms = %{version}-%{release}
+%description Malay
+%{summary}.
+
+%package Maltese
+Summary: Maltese(mt) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-mt = %{version}-%{release}
+%description Maltese
+%{summary}.
+
+%package LowSaxon
+Summary: Low Saxon (nds) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-nds = %{version}-%{release}
+%description LowSaxon
+%{summary}.
+
+%package Nepali
+Summary: Nepali(ne) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ne = %{version}-%{release}
+%description Nepali
+%{summary}.
+
+%package Dutch
+Summary: Dutch(nl) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-nl = %{version}-%{release}
+%description Dutch
+%{summary}.
+
+%package Norwegian
+Summary: Norwegian(no) (Bokmaal) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-no = %{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}
+%description Norwegian-Nynorsk
+%{summary}.
+
+%package Occitan
+Summary: Occitan(oc) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-oc = %{version}-%{release}
+%description Occitan
+%{summary}.
+
+%package Polish
+Summary: Polish(pl) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-pl = %{version}-%{release}
+%description Polish
+%{summary}.
+
+%package Portuguese
+Summary: Portuguese(pt) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-pt = %{version}-%{release}
+%description Portuguese
+%{summary}.
+
+%package Punjabi
+Summary: Punjabi(pa) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-pa = %{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}
+%description Brazil
+%{summary}.
+
+%package Romanian
+Summary: Romanian(ro) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ro = %{version}-%{release}
+%description Romanian
+%{summary}.
+
+%package Russian
+Summary: Russian(ru) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ru = %{version}-%{release}
+%description Russian
+%{summary}.
+
+%package Slovak
+Summary: Slovak(sk) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-sk = %{version}-%{release}
+%description Slovak
+%{summary}.
+
+%package Slovenian
+Summary: Slovenian(sl) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-sl = %{version}-%{release}
+%description Slovenian
+%{summary}.
+
+%package Serbian
+Summary: Serbian(sr) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-sr = %{version}-%{release}
+%description Serbian
+%{summary}.
+
+%package Swedish
+Summary: Swedish(sv) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-sv = %{version}-%{release}
+%description Swedish
+%{summary}.
+
+%package Tamil
+Summary: Tamil(ta) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ta = %{version}-%{release}
+%description Tamil
+%{summary}.
+
+%package Tajik
+Summary: Tajik(tg) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-tg = %{version}-%{release}
+%description Tajik
+%{summary}.
+
+%package Thai
+Summary: Thai(th) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-th = %{version}-%{release}
+%description Thai
+%{summary}.
+
+%package Turkish
+Summary: Turkish(tr) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-tr = %{version}-%{release}
+%description Turkish
+%{summary}.
+
+%package Ukrainian
+Summary: Ukrainian(uk) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-uk = %{version}-%{release}
+%description Ukrainian
+%{summary}.
+
+%package Venda
+Summary: Venda(ven) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ven = %{version}-%{release}
+%description Venda
+%{summary}.
+
+%package Vietnamese
+Summary: Vietnamese(vi) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-vi = %{version}-%{release}
+%description Vietnamese
+%{summary}.
+
+%package Walloon
+Summary: Walloon(wa) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-wa = %{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}
+%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}
+%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}
+%description Chinese-Big5
+%{summary}.
+
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+export kde_htmldir="%{tde_tdedocdir}/HTML"
+
+for l in %{KDE_LANGS}; do
+ for f in koffice-i18n-${l}/; do
+ if [ -d "${f}" ]; then
+ pushd ${f}
+ %__sed -i "configure.in" -e "s|AM_CONFIG_HEADER|AC_CONFIG_HEADER|"
+ %__make -f "admin/Makefile.common"
+ %configure \
+ --prefix=%{tde_prefix} \
+ --datadir=%{tde_datadir} \
+ --docdir=%{tde_tdedocdir}
+ %__make %{?_smp_mflags}
+ popd
+ fi
+ done
+done
+
+%install
+%__rm -rf %{?buildroot}
+export PATH="%{tde_bindir}:${PATH}"
+
+for l in %{KDE_LANGS}; do
+ for f in koffice-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 {} \;
+
+%clean
+%__rm -rf %{buildroot}
+
+%if "%( grep -w af <<< '%{KDE_LANGS}' )" != ""
+%files Afrikaans
+%defattr(-,root,root,-)
+%lang(af) %{tde_datadir}/locale/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/
+%lang(ca) %{tde_datadir}/apps/koffice/autocorrect/ca.xml
+%endif
+
+%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != ""
+%files Czech
+%defattr(-,root,root,-)
+%lang(cs) %{tde_datadir}/locale/cs/*
+%lang(cs) %{tde_datadir}/apps/koffice/autocorrect/cs.xml
+%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/
+%lang(de) %{tde_datadir}/apps/koffice/autocorrect/de.xml
+%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/
+%lang(es) %{tde_datadir}/apps/koffice/autocorrect/es.xml
+%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/*
+%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/
+%lang(fr) %{tde_datadir}/apps/koffice/autocorrect/fr.xml
+%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/*
+%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/*
+%endif
+
+%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != ""
+%files Hungarian
+%defattr(-,root,root,-)
+%lang(hu) %{tde_datadir}/locale/hu/*
+%lang(hu) %{tde_datadir}/apps/koffice/autocorrect/hu.xml
+%endif
+
+%if "%( grep -w id <<< '%{KDE_LANGS}' )" != ""
+%files Indonesian
+%defattr(-,root,root,-)
+%lang(id) %{tde_datadir}/locale/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/
+%lang(it) %{tde_datadir}/apps/koffice/autocorrect/it.xml
+%endif
+
+%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != ""
+%files Japanese
+%defattr(-,root,root,-)
+%lang(ja) %{tde_datadir}/locale/ja/*
+%endif
+
+%if "%( grep -w km <<< '%{KDE_LANGS}' )" != ""
+%files Khmer
+%defattr(-,root,root,-)
+%lang(km) %{tde_datadir}/locale/km/*
+%endif
+
+%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != ""
+%files Korean
+%defattr(-,root,root,-)
+%lang(ko) %{tde_datadir}/locale/ko/*
+%endif
+
+%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != ""
+%files Kurdish
+%defattr(-,root,root,-)
+%lang(ku) %{tde_datadir}/locale/ku/*
+%endif
+
+%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != ""
+%files Lao
+%defattr(-,root,root,-)
+%lang(lo) %{tde_datadir}/locale/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 ms <<< '%{KDE_LANGS}' )" != ""
+%files Malay
+%defattr(-,root,root,-)
+%lang(ms) %{tde_datadir}/locale/ms/*
+%endif
+
+%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != ""
+%files Maltese
+%defattr(-,root,root,-)
+%lang(mt) %{tde_datadir}/locale/mt/*
+%endif
+
+%if "%( grep -w nds <<< '%{KDE_LANGS}' )" != ""
+%files LowSaxon
+%defattr(-,root,root,-)
+%lang(nds) %{tde_datadir}/locale/nds/*
+%endif
+
+%if "%( grep -w ne <<< '%{KDE_LANGS}' )" != ""
+%files Nepali
+%defattr(-,root,root,-)
+%lang(ne) %{tde_datadir}/locale/ne/*
+%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/*
+%endif
+
+%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != ""
+%files Norwegian-Nynorsk
+%defattr(-,root,root,-)
+%lang(nn) %{tde_datadir}/locale/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/*
+%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/*
+%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/
+%lang(sk) %{tde_datadir}/apps/koffice/autocorrect/sk.xml
+%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/*
+%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/*
+%endif
+
+%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != ""
+%files Ukrainian
+%defattr(-,root,root,-)
+%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/*
+%endif
+
+%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != ""
+%files Chinese
+%defattr(-,root,root,-)
+%lang(zh_CN) %{tde_datadir}/locale/zh_CN/*
+%endif
+
+%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != ""
+%files Chinese-Big5
+%defattr(-,root,root,-)
+%lang(zh_TW) %{tde_datadir}/locale/zh_TW/*
+%endif
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.3-3
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.6.3-2
+- Initial build for TDE 3.5.13.1
+
+* Sun Jul 01 2012 Francois Andriot <francois.andriot@free.fr> - 1.6.3-1
+- Initial build for TDE 3.5.13
+
diff --git a/redhat/applications/koffice/trinity-koffice-3.5.13.2.spec b/redhat/applications/koffice/trinity-koffice-3.5.13.2.spec
new file mode 100644
index 000000000..57cfda50e
--- /dev/null
+++ b/redhat/applications/koffice/trinity-koffice-3.5.13.2.spec
@@ -0,0 +1,1201 @@
+# Default version for this component
+%define tdecomp koffice
+
+# Required for Mageia 2: removes the ldflag '--no-undefined'
+%define _disable_ld_no_undefined 1
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+# Disable Kross support for RHEL <= 5 (python is too old)
+%if 0%{?fedora} > 0 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_kross 1
+%endif
+
+# Ruby support
+%define with_ruby 1
+
+# 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/')
+
+
+Name: trinity-%{tdecomp}
+Summary: An integrated office suite
+Version: 1.6.3
+Release: 7%{?dist}%{?_variant}
+
+Group: Applications/Productivity
+License: GPLv2+
+
+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}-3.5.13.2.tar.gz
+
+
+# BuildRequires: world-devel ;)
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdegraphics-devel >= 3.5.13.2
+BuildRequires: trinity-tdegraphics-libpoppler-tqt-devel >= 3.5.13.2
+BuildRequires: automake libtool
+BuildRequires: fontconfig-devel
+BuildRequires: libart_lgpl-devel
+BuildRequires: libtiff-devel
+BuildRequires: libjpeg-devel
+BuildRequires: ImageMagick-devel
+BuildRequires: zlib-devel
+BuildRequires: openssl-devel
+BuildRequires: python-devel
+BuildRequires: pcre-devel
+BuildRequires: gettext-devel
+BuildRequires: mysql-devel
+BuildRequires: desktop-file-utils
+BuildRequires: perl
+BuildRequires: doxygen
+BuildRequires: aspell-devel
+BuildRequires: libxslt-devel
+BuildRequires: OpenEXR-devel
+BuildRequires: libexif-devel
+BuildRequires: readline-devel
+
+%if 0%{?suse_version}
+BuildRequires: libbz2-devel
+BuildRequires: liblcms-devel
+%else
+BuildRequires: bzip2-devel
+BuildRequires: lcms-devel
+
+BuildRequires: libpaper-devel
+%endif
+
+# RUBY support
+%if 0%{?with_ruby}
+BuildRequires: ruby ruby-devel >= 1.8.1
+%endif
+
+# FREETYPE support
+%if 0%{?suse_version} == 1140
+BuildRequires: freetype2-devel
+%else
+BuildRequires: freetype-devel
+%endif
+
+# LIBPNG support
+%if 0%{?mgaversion}
+BuildRequires: %{_lib}png-devel
+%endif
+%if 0%{?mdkversion} && 0%{?pclinuxos} == 0
+BuildRequires: %{_lib}png15-devel
+%endif
+%if 0%{?suse_version} || 0%{?fedora} || 0%{?rhel}
+BuildRequires: libpng-devel
+%endif
+
+# GRAPHICSMAGICK support
+%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5
+%define with_graphicsmagick 1
+%if 0%{?suse_version}
+BuildRequires: GraphicsMagick >= 1.1.0
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version}
+BuildRequires: GraphicsMagick-devel >= 1.1.0
+%endif
+%endif
+
+# UTEMPTER support
+%if 0%{?suse_version}
+BuildRequires: utempter-devel
+%endif
+%if 0%{?rhel} == 4
+BuildRequires: utempter
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel} >= 5
+BuildRequires: libutempter-devel
+%endif
+
+# POSTGRESQL support
+# Requires 'libpqxx', for kexi-driver-pgqsl
+%if 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version}
+%define with_postgresql 1
+BuildRequires: libpqxx-devel
+%endif
+Obsoletes: trinity-libpqxx
+
+# WPD support
+# For chalk and filters
+BuildRequires: libwpd-devel
+Obsoletes: trinity-libwpd
+
+# WV2 support
+BuildRequires: wv2-devel
+
+# MESA support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}mesagl1-devel
+BuildRequires: %{_lib}mesaglu1-devel
+%endif
+%if 0%{?fedora} || 0%{?rhel}
+BuildRequires: libGL-devel
+BuildRequires: libGLU-devel
+%endif
+%if 0%{?suse_version} >= 1220
+BuildRequires: Mesa-libGL-devel
+BuildRequires: Mesa-libGLU-devel
+%endif
+
+# OPENJPEG
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}openjpeg-devel
+%endif
+
+# LIBXI support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xi-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora}
+BuildRequires: libXi-devel
+%endif
+%if 0%{?suse_version} == 1140
+BuildRequires: libXi6-devel
+%endif
+%if 0%{?suse_version} >= 1220
+BuildRequires: libXi-devel
+%endif
+
+
+%description
+KOffice is an integrated office suite.
+
+##########
+
+%package suite
+Summary: An integrated office suite
+Group: Applications/Productivity
+Obsoletes: %{name} <= %{version}-%{release}
+Obsoletes: %{name}-i18n < 4:%{version}
+Requires: %{name}-core = %{version}-%{release}
+Requires: %{name}-kword = %{version}-%{release}
+Requires: %{name}-kspread = %{version}-%{release}
+Requires: %{name}-kpresenter = %{version}-%{release}
+Requires: %{name}-kivio = %{version}-%{release}
+Requires: %{name}-karbon = %{version}-%{release}
+Requires: %{name}-kugar = %{version}-%{release}
+Requires: %{name}-kexi = %{version}-%{release}
+Requires: %{name}-kexi-driver-mysql = %{version}-%{release}
+%{?with_postgresql:Requires: %{name}-kexi-driver-pgsql = %{version}-%{release}}
+Requires: %{name}-kchart = %{version}-%{release}
+Requires: %{name}-kformula = %{version}-%{release}
+Requires: %{name}-filters = %{version}-%{release}
+Requires: %{name}-kplato = %{version}-%{release}
+Requires: %{name}-chalk = %{version}-%{release}
+
+%description suite
+KOffice is an integrated office suite.
+
+%files suite
+#empty => virtual package
+
+##########
+
+%package core
+Summary: Core support files for %{name}
+Group: Applications/Productivity
+Requires: %{name}-libs = %{version}-%{release}
+Requires: perl
+Conflicts: koffice-i18n < %{version}
+
+%description core
+%{summary}.
+
+%posttrans core
+gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || :
+gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || :
+gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || :
+update-desktop-database -q &> /dev/null ||:
+
+%post core
+touch --no-create %{tde_datadir}/icons/crystalsvg &> /dev/null || :
+touch --no-create %{tde_datadir}/icons/hicolor &> /dev/null || :
+touch --no-create %{tde_datadir}/icons/locolor &> /dev/null || :
+
+%postun core
+if [ $1 -eq 0 ]; then
+ gtk-update-icon-cache %{tde_datadir}/icons/crystalsvg &> /dev/null || :
+ gtk-update-icon-cache %{tde_datadir}/icons/hicolor &> /dev/null || :
+ gtk-update-icon-cache %{tde_datadir}/icons/locolor &> /dev/null || :
+ update-desktop-database -q &> /dev/null ||:
+fi
+
+%files core
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README
+%{tde_bindir}/koshell
+%{tde_bindir}/kthesaurus
+%{tde_bindir}/koconverter
+%{tde_libdir}/libkdeinit_koshell.so
+%{tde_libdir}/libkdeinit_kthesaurus.so
+%{tde_tdelibdir}/kfile_koffice.*
+%{tde_tdelibdir}/kfile_ooo.*
+%{tde_tdelibdir}/kfile_abiword.*
+%{tde_tdelibdir}/kfile_gnumeric.*
+%{tde_tdelibdir}/kodocinfopropspage.*
+%{tde_tdelibdir}/kofficescan.*
+%{tde_tdelibdir}/kofficethumbnail.*
+%{tde_tdelibdir}/koshell.*
+%{tde_tdelibdir}/kthesaurus.*
+%{tde_tdelibdir}/kwmailmerge_classic.*
+%{tde_tdelibdir}/kwmailmerge_kabc.*
+%{tde_tdelibdir}/kwmailmerge_qtsqldb_power.*
+%{tde_tdelibdir}/kwmailmerge_qtsqldb.*
+%{tde_tdelibdir}/libkounavailpart.*
+%{tde_tdelibdir}/libkprkword.*
+%{tde_tdelibdir}/libthesaurustool.*
+%{tde_tdelibdir}/clipartthumbnail.*
+%{tde_datadir}/apps/koffice/
+%{tde_datadir}/apps/konqueror/servicemenus/*
+%{tde_datadir}/apps/koshell/
+%{tde_datadir}/apps/thesaurus/
+%{tde_datadir}/config.kcfg/koshell.kcfg
+%{tde_tdedocdir}/HTML/en/koffice/
+%{tde_tdedocdir}/HTML/en/koshell/
+%{tde_tdedocdir}/HTML/en/thesaurus/
+%{tde_datadir}/icons/crystalsvg/*/*/*
+%{tde_datadir}/icons/hicolor/*/*/*
+%{tde_datadir}/icons/locolor/*/*/*
+%{tde_datadir}/services/clipartthumbnail.desktop
+%{tde_datadir}/services/kfile*.desktop
+%{tde_datadir}/services/kwmailmerge*.desktop
+%{tde_datadir}/services/kodocinfopropspage.desktop
+%{tde_datadir}/services/kofficethumbnail.desktop
+%{tde_datadir}/services/kounavail.desktop
+%{tde_datadir}/services/kprkword.desktop
+%{tde_datadir}/services/thesaurustool.desktop
+%{tde_datadir}/servicetypes/kochart.desktop
+%{tde_datadir}/servicetypes/kofficepart.desktop
+%{tde_datadir}/servicetypes/koplugin.desktop
+%{tde_datadir}/servicetypes/kwmailmerge.desktop
+%{tde_datadir}/servicetypes/widgetfactory.desktop
+%{tde_tdeappdir}/*koffice.desktop
+%{tde_tdeappdir}/*KThesaurus.desktop
+%{tde_tdeappdir}/*koshell.desktop
+%{tde_datadir}/apps/kofficewidgets/
+%if 0%{?with_kross}
+%{tde_datadir}/apps/kross/
+%{tde_tdelibdir}/krosspython.*
+%if 0%{?with_ruby}
+%{tde_tdelibdir}/krossruby.*
+%endif
+%endif
+
+##########
+
+%package libs
+Summary: Runtime libraries for %{name}
+Group: System Environment/Libraries
+Conflicts: %{name} <= %{version}-%{release}
+Requires: trinity-kdelibs
+License: LGPLv2+
+
+%description libs
+%{summary}.
+
+%files libs
+%defattr(-,root,root,-)
+%doc COPYING.LIB
+#_libdir/libk*common.so.*
+%{tde_libdir}/libkarboncommon.so.*
+%{tde_libdir}/libkspreadcommon.so.*
+%{tde_libdir}/libkdchart.so.*
+%{tde_libdir}/libkochart.so.*
+%{tde_libdir}/libkofficecore.so.*
+%{tde_libdir}/libkofficeui.so.*
+%{tde_libdir}/libkotext.so.*
+%{tde_libdir}/libkowmf.so.*
+%{tde_libdir}/libkopainter.so.*
+%{tde_libdir}/libkstore.so.*
+%{tde_libdir}/libkwmailmerge_interface.so.*
+%{tde_libdir}/libkwmf.so.*
+%{tde_libdir}/libkformulalib.so.*
+%{tde_libdir}/libkopalette.so.*
+%{tde_libdir}/libkoproperty.so.*
+%if 0%{?with_kross}
+%{tde_libdir}/libkrossapi.so.*
+%{tde_libdir}/libkrossmain.so.*
+%endif
+
+%post libs
+/sbin/ldconfig || :
+
+%postun libs
+/sbin/ldconfig || :
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+License: LGPLv2+
+
+%description devel
+%{summary}.
+
+%files devel
+%defattr(-,root,root,-)
+%lang(en) %{tde_tdedocdir}/HTML/en/koffice-apidocs/
+%{tde_includedir}/*
+# FIXME: include only shlib symlinks we know/want to export
+%{tde_libdir}/lib*.so
+%exclude %{tde_libdir}/libkdeinit_*.so
+%exclude %{tde_libdir}/libkudesignercore.so
+
+##########
+
+%package kword
+Summary: A frame-based word processor capable of professional standard documents
+Group: Applications/Productivity
+Requires: %{name}-core = %{version}-%{release}
+
+%description kword
+%{summary}.
+
+%post kword
+/sbin/ldconfig || :
+
+%postun kword
+/sbin/ldconfig || :
+
+%posttrans kword
+update-desktop-database -q &> /dev/null ||:
+
+%files kword
+%defattr(-,root,root,-)
+%lang(en) %{tde_tdedocdir}/HTML/en/kword/
+%{tde_bindir}/kword
+%{tde_libdir}/libkdeinit_kword.so
+%{tde_libdir}/libkwordprivate.so.*
+%{tde_tdelibdir}/libkwordpart.*
+%{tde_tdelibdir}/kword.*
+%{tde_datadir}/apps/kword/
+%{tde_datadir}/services/kword*.desktop
+%{tde_datadir}/services/kwserial*.desktop
+%{tde_datadir}/templates/TextDocument.desktop
+%{tde_datadir}/templates/.source/TextDocument.kwt
+%{tde_tdeappdir}/*kword.desktop
+
+##########
+
+%package kspread
+Summary: A powerful spreadsheet application
+Group: Applications/Productivity
+Requires: %{name}-core = %{version}-%{release}
+
+%description kspread
+%{summary}.
+
+%files kspread
+%defattr(-,root,root,-)
+%lang(en) %{tde_tdedocdir}/HTML/en/kspread/
+%{tde_bindir}/kspread
+%{tde_libdir}/libkdeinit_kspread.so
+%{tde_tdelibdir}/kspread.*
+%{tde_tdelibdir}/libkspreadpart.*
+%{tde_tdelibdir}/kwmailmerge_kspread.*
+%{tde_tdelibdir}/libcsvexport.*
+%{tde_tdelibdir}/libcsvimport.*
+%{tde_tdelibdir}/libgnumericexport.*
+%{tde_tdelibdir}/libgnumericimport.*
+%{tde_tdelibdir}/libkspreadhtmlexport.*
+%{tde_tdelibdir}/libkspreadinsertcalendar.*
+%{tde_tdelibdir}/libopencalcexport.*
+%{tde_tdelibdir}/libopencalcimport.*
+%{tde_tdelibdir}/libqproimport.*
+%{tde_datadir}/apps/kspread/
+%{tde_datadir}/services/kspread*.desktop
+%{tde_datadir}/templates/SpreadSheet.desktop
+%{tde_datadir}/templates/.source/SpreadSheet.kst
+%{tde_tdeappdir}/*kspread.desktop
+%if 0%{?with_kross}
+%{tde_tdelibdir}/kspreadscripting.*
+%{tde_tdelibdir}/krosskspreadcore.*
+%endif
+
+##########
+
+%package kpresenter
+Summary: A full-featured presentation program
+Group: Applications/Productivity
+Requires: %{name}-core = %{version}-%{release}
+
+%description kpresenter
+%{summary}.
+
+%post kpresenter
+/sbin/ldconfig || :
+
+%postun kpresenter
+/sbin/ldconfig || :
+
+%posttrans kpresenter
+update-desktop-database -q &> /dev/null ||:
+
+%files kpresenter
+%defattr(-,root,root,-)
+%lang(en) %{tde_tdedocdir}/HTML/en/kpresenter/
+%{tde_bindir}/kpresenter
+%{tde_bindir}/kprconverter.pl
+%{tde_libdir}/libkdeinit_kpresenter.so
+%{tde_libdir}/libkpresenterimageexport.so.*
+%{tde_libdir}/libkpresenterprivate.so.*
+%{tde_tdelibdir}/*kpresenter*.*
+%{tde_datadir}/apps/kpresenter/
+%{tde_datadir}/services/kpresenter*.desktop
+%{tde_datadir}/templates/Presentation.desktop
+%{tde_datadir}/templates/.source/Presentation.kpt
+%{tde_tdeappdir}/*kpresenter.desktop
+
+##########
+
+%package kivio
+Summary: A flowcharting application
+Group: Applications/Productivity
+Requires: %{name}-core = %{version}-%{release}
+Obsoletes: kivio < %{version}-%{release}
+
+%description kivio
+%{summary}.
+
+%files kivio
+%defattr(-,root,root,-)
+%lang(en) %{tde_tdedocdir}/HTML/en/kivio/
+%{tde_bindir}/kivio
+%{tde_libdir}/libkdeinit_kivio.so
+%{tde_libdir}/libkiviocommon.so.*
+%{tde_tdelibdir}/*kivio*.*
+%{tde_tdelibdir}/straight_connector.*
+%{tde_datadir}/apps/kivio/
+%{tde_datadir}/config.kcfg/kivio.kcfg
+%{tde_datadir}/services/kivio*.desktop
+%{tde_tdeappdir}/*kivio.desktop
+
+##########
+
+%package karbon
+Summary: A vector drawing application
+Group: Applications/Productivity
+Requires: %{name}-core = %{version}-%{release}
+
+%description karbon
+%{summary}.
+
+%post karbon
+/sbin/ldconfig || :
+
+%postun karbon
+/sbin/ldconfig || :
+
+%files karbon
+%defattr(-,root,root,-)
+%lang(en) %{tde_tdedocdir}/HTML/en/karbon/
+%{tde_bindir}/karbon
+%{tde_libdir}/libkdeinit_karbon.so
+%{tde_tdelibdir}/*karbon*.*
+%{tde_tdelibdir}/libwmfexport.*
+%{tde_tdelibdir}/libwmfimport.*
+%{tde_datadir}/apps/karbon/
+%{tde_datadir}/services/karbon*
+%{tde_datadir}/servicetypes/karbon_module.desktop
+%{tde_datadir}/templates/Illustration.desktop
+%{tde_datadir}/templates/.source/Illustration.karbon
+%{tde_tdeappdir}/*karbon.desktop
+
+##########
+
+%package kugar
+Summary: A tool for generating business quality reports
+Group: Applications/Productivity
+Requires: %{name}-core = %{version}-%{release}
+
+%description kugar
+%{summary}.
+
+%post kugar
+/sbin/ldconfig || :
+
+%postun kugar
+/sbin/ldconfig || :
+
+%posttrans kugar
+update-desktop-database -q &> /dev/null ||:
+
+%files kugar
+%defattr(-,root,root,-)
+%lang(en) %{tde_tdedocdir}/HTML/en/kugar/
+%{tde_bindir}/kugar
+%{tde_bindir}/kudesigner
+%{tde_libdir}/libkdeinit_kugar.so
+%{tde_libdir}/libkdeinit_kudesigner.so
+%{tde_libdir}/libkugarlib.so.*
+%{tde_libdir}/libkudesignercore.so
+%{tde_tdelibdir}/kudesigner.*
+%{tde_tdelibdir}/kugar.*
+%{tde_tdelibdir}/libkudesignerpart.*
+%{tde_tdelibdir}/libkugarpart.*
+%{tde_datadir}/apps/kudesigner/
+%{tde_datadir}/apps/kugar/
+%{tde_datadir}/services/kugar*.desktop
+%{tde_tdeappdir}/*kugar.desktop
+%{tde_tdeappdir}/*kudesigner.desktop
+
+##########
+
+%package kexi
+Summary: An integrated environment for managing data
+Group: Applications/Productivity
+Requires: %{name}-core = %{version}-%{release}
+
+%if 0%{?with_postgresql} == 0
+Obsoletes: %{name}-kexi-driver-pgsql
+%endif
+
+%description kexi
+%{summary}.
+For additional database drivers take a look at %{name}-kexi-driver-*
+
+%post kexi
+/sbin/ldconfig || :
+
+%postun kexi
+/sbin/ldconfig || :
+
+%posttrans kexi
+update-desktop-database -q &> /dev/null ||:
+
+%files kexi
+%defattr(-,root,root,-)
+%lang(en) %{tde_tdedocdir}/HTML/en/kexi/
+%{tde_bindir}/kexi*
+%{tde_bindir}/ksqlite*
+%{tde_libdir}/libkdeinit_kexi.so
+%{tde_libdir}/libkexi*.so.*
+%{tde_libdir}/libkformdesigner.so.*
+%{tde_tdelibdir}/kformdesigner_*.*
+%{tde_tdelibdir}/kexidb_sqlite2driver.*
+%{tde_tdelibdir}/kexidb_sqlite3driver.*
+%{tde_tdelibdir}/kexihandler_*.*
+%{tde_tdelibdir}/kexi.*
+# moved here to workaround bug #394101, alternative is to move libkexi(db|dbparser|utils) to -libs)
+%{tde_tdelibdir}/libkspreadkexiimport.*
+%{tde_datadir}/config/kexirc
+%{tde_datadir}/config/magic/kexi.magic
+%{tde_datadir}/mimelnk/application/*
+%{tde_datadir}/servicetypes/kexi*.desktop
+%{tde_datadir}/services/kexi/
+%{tde_datadir}/apps/kexi/
+%{tde_datadir}/services/kformdesigner/*
+%{tde_tdeappdir}/*kexi.desktop
+%{tde_datadir}/services/kexidb_sqlite*driver.desktop
+%if 0%{?with_kross}
+%{tde_bindir}/krossrunner
+%{tde_tdelibdir}/krosskexiapp.*
+%{tde_tdelibdir}/krosskexidb.*
+%endif
+
+##########
+
+%package kexi-driver-mysql
+Summary: Mysql-driver for kexi
+Group: Applications/Productivity
+Requires: %{name}-kexi = %{version}-%{release}
+
+%description kexi-driver-mysql
+%{summary}.
+
+%files kexi-driver-mysql
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kexidb_mysqldriver.*
+%{tde_tdelibdir}/keximigrate_mysql.*
+%{tde_datadir}/services/keximigrate_mysql.desktop
+%{tde_datadir}/services/kexidb_mysqldriver.desktop
+
+##########
+
+%if 0%{?with_postgresql}
+
+%package kexi-driver-pgsql
+Summary: Postgresql driver for kexi
+Group: Applications/Productivity
+Requires: %{name}-kexi = %{version}-%{release}
+
+%description kexi-driver-pgsql
+%{summary}.
+
+%files kexi-driver-pgsql
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kexidb_pqxxsqldriver.*
+%{tde_tdelibdir}/keximigrate_pqxx.*
+%{tde_datadir}/services/kexidb_pqxxsqldriver.desktop
+%{tde_datadir}/services/keximigrate_pqxx.desktop
+
+%endif
+
+##########
+
+%package kchart
+Summary: An integrated graph and chart drawing tool
+Group: Applications/Productivity
+Requires: %{name}-core = %{version}-%{release}
+
+%description kchart
+%{summary}.
+
+%post kchart
+/sbin/ldconfig || :
+
+%postun kchart
+/sbin/ldconfig || :
+
+%posttrans kchart
+update-desktop-database -q &> /dev/null ||:
+
+%files kchart
+%defattr(-,root,root,-)
+%lang(en) %{tde_tdedocdir}/HTML/en/kchart/
+%{tde_bindir}/kchart
+%{tde_libdir}/libkchart*.so.*
+%{tde_libdir}/libkdeinit_kchart.so
+%{tde_tdelibdir}/*kchart*.*
+%{tde_datadir}/apps/kchart/
+%{tde_datadir}/services/kchart*.desktop
+%{tde_tdeappdir}/*kchart.desktop
+
+##########
+
+%package kformula
+Summary: A powerful formula editor
+Group: Applications/Productivity
+Requires: %{name}-core = %{version}-%{release}
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+Requires: fonts-ttf-dejavu
+%else
+%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
+Requires: dejavu-lgc-sans-fonts
+Requires: lyx-cmex10-fonts
+%endif
+%if 0%{?rhel} == 5
+Requires: dejavu-lgc-fonts
+Requires: lyx-cmex10-fonts
+%endif
+%if 0%{?suse_version} >= 1220
+Requires: dejavu-fonts
+%endif
+%if 0%{?suse_version} == 1140
+Requires: dejavu
+%endif
+%endif
+
+%description kformula
+%{summary}.
+
+%files kformula
+%defattr(-,root,root,-)
+%lang(en) %{tde_tdedocdir}/HTML/en/kformula/
+%{tde_bindir}/kformula
+%{tde_libdir}/libkdeinit_kformula.so
+%{tde_tdelibdir}/*kformula*.*
+%{tde_datadir}/apps/kformula/
+%{tde_datadir}/services/kformula*.desktop
+%{tde_tdeappdir}/*kformula.desktop
+
+##########
+
+%package filters
+Summary: Import and Export Filters for KOffice
+Group: Applications/Productivity
+Requires: %{name}-core = %{version}-%{release}
+
+%description filters
+%{summary}.
+
+%post filters
+/sbin/ldconfig || :
+
+%postun filters
+/sbin/ldconfig || :
+
+%files filters
+%defattr(-,root,root,-)
+%{tde_libdir}/libkwordexportfilters.so.*
+%{tde_tdelibdir}/libabiwordexport.*
+%{tde_tdelibdir}/libabiwordimport.*
+%{tde_tdelibdir}/libamiproexport.*
+%{tde_tdelibdir}/libamiproimport.*
+%{tde_tdelibdir}/libapplixspreadimport.*
+%{tde_tdelibdir}/libapplixwordimport.*
+%{tde_tdelibdir}/libasciiexport.*
+%{tde_tdelibdir}/libasciiimport.*
+%{tde_tdelibdir}/libdbaseimport.*
+%{tde_tdelibdir}/libdocbookexport.*
+%{tde_tdelibdir}/libexcelimport.*
+%{tde_tdelibdir}/libgenerickofilter.*
+%{tde_tdelibdir}/libhtmlexport.*
+%{tde_tdelibdir}/libhtmlimport.*
+%{tde_tdelibdir}/libkarbonepsimport.*
+%{tde_tdelibdir}/libkfolatexexport.*
+%{tde_tdelibdir}/libkfomathmlexport.*
+%{tde_tdelibdir}/libkfomathmlimport.*
+%{tde_tdelibdir}/libkfopngexport.*
+%{tde_tdelibdir}/libkspreadlatexexport.*
+%{tde_tdelibdir}/libkugarnopimport.*
+%{tde_tdelibdir}/libkwordkword1dot3import.*
+%{tde_tdelibdir}/libkwordlatexexport.*
+%{tde_tdelibdir}/libmswriteexport.*
+%{tde_tdelibdir}/libmswriteimport.*
+%{tde_tdelibdir}/libooimpressexport.*
+%{tde_tdelibdir}/libooimpressimport.*
+%{tde_tdelibdir}/liboowriterexport.*
+%{tde_tdelibdir}/liboowriterimport.*
+%{tde_tdelibdir}/libpalmdocexport.*
+%{tde_tdelibdir}/libpalmdocimport.*
+%{tde_tdelibdir}/libpdfimport.*
+%{tde_tdelibdir}/librtfexport.*
+%{tde_tdelibdir}/librtfimport.*
+%{tde_tdelibdir}/libwmlexport.*
+%{tde_tdelibdir}/libwmlimport.*
+%{tde_tdelibdir}/libwpexport.*
+%{tde_tdelibdir}/libwpimport.*
+%{tde_tdelibdir}/libmswordimport.*
+%{tde_tdelibdir}/libxsltimport.*
+%{tde_tdelibdir}/libxsltexport.*
+%{tde_tdelibdir}/libhancomwordimport.*
+%{tde_tdelibdir}/libkfosvgexport.*
+%{tde_tdelibdir}/liboodrawimport.*
+%{tde_tdelibdir}/libolefilter.*
+%{tde_datadir}/apps/xsltfilter/
+%{tde_datadir}/services/generic_filter.desktop
+%{tde_datadir}/services/ole_powerpoint97_import.desktop
+%{tde_datadir}/services/xslt*.desktop
+%{tde_datadir}/servicetypes/kofilter*.desktop
+
+##########
+
+%package kplato
+Summary: An integrated project management and planning tool
+Group: Applications/Productivity
+Requires: %{name}-core = %{version}-%{release}
+
+%description kplato
+%{summary}.
+
+%files kplato
+%defattr(-,root,root,-)
+%lang(en) %{tde_tdedocdir}/HTML/en/kplato/
+%{tde_bindir}/kplato
+%{tde_libdir}/libkdeinit_kplato.so
+%{tde_tdelibdir}/kplato.*
+%{tde_tdelibdir}/libkplatopart.*
+%{tde_datadir}/apps/kplato/
+%{tde_datadir}/services/kplatopart.desktop
+%{tde_tdeappdir}/*kplato.desktop
+
+##########
+
+%package chalk
+Summary: pixel-based image manipulation program for the TDE Office Suite [Trinity]
+Group: Applications/Productivity
+Requires: %{name}-core = %{version}-%{release}
+Requires: %{name}-chalk-data = %{version}-%{release}
+Requires: %{name}-filters
+
+%description chalk
+Chalk is a painting and image editing application for KOffice. Chalk contains
+both ease-of-use and fun features like guided painting.
+
+This package is part of the TDE Office Suite.
+
+%post chalk
+/sbin/ldconfig || :
+
+%postun chalk
+/sbin/ldconfig || :
+
+%posttrans chalk
+update-desktop-database -q &> /dev/null ||:
+
+%files chalk
+%defattr(-,root,root,-)
+%{tde_bindir}/chalk
+%{tde_tdelibdir}/chalkblurfilter.la
+%{tde_tdelibdir}/chalkblurfilter.so
+%{tde_tdelibdir}/chalkbumpmap.la
+%{tde_tdelibdir}/chalkbumpmap.so
+%{tde_tdelibdir}/chalkcimg.la
+%{tde_tdelibdir}/chalkcimg.so
+%{tde_tdelibdir}/chalk_cmyk_*
+%{tde_tdelibdir}/chalkcmykplugin.la
+%{tde_tdelibdir}/chalkcmykplugin.so
+%{tde_tdelibdir}/chalkcolorify.la
+%{tde_tdelibdir}/chalkcolorify.so
+%{tde_tdelibdir}/chalkcolorrange.la
+%{tde_tdelibdir}/chalkcolorrange.so
+%{tde_tdelibdir}/chalkcolorsfilters.la
+%{tde_tdelibdir}/chalkcolorsfilters.so
+%{tde_tdelibdir}/chalkcolorspaceconversion.la
+%{tde_tdelibdir}/chalkcolorspaceconversion.so
+%{tde_tdelibdir}/chalkconvolutionfilters.la
+%{tde_tdelibdir}/chalkconvolutionfilters.so
+%{tde_tdelibdir}/chalkdefaultpaintops.la
+%{tde_tdelibdir}/chalkdefaultpaintops.so
+%{tde_tdelibdir}/chalkdefaulttools.la
+%{tde_tdelibdir}/chalkdefaulttools.so
+%{tde_tdelibdir}/chalkdropshadow.la
+%{tde_tdelibdir}/chalkdropshadow.so
+%{tde_tdelibdir}/chalkembossfilter.la
+%{tde_tdelibdir}/chalkembossfilter.so
+%{tde_tdelibdir}/chalkexample.la
+%{tde_tdelibdir}/chalkexample.so
+%{tde_tdelibdir}/chalkextensioncolorsfilters.la
+%{tde_tdelibdir}/chalkextensioncolorsfilters.so
+%{tde_tdelibdir}/chalkfastcolortransfer.la
+%{tde_tdelibdir}/chalkfastcolortransfer.so
+%{tde_tdelibdir}/chalkfiltersgallery.la
+%{tde_tdelibdir}/chalkfiltersgallery.so
+%{tde_tdelibdir}/chalk_gray_*
+%{tde_tdelibdir}/chalkgrayplugin.la
+%{tde_tdelibdir}/chalkgrayplugin.so
+%{tde_tdelibdir}/chalkhistogramdocker.la
+%{tde_tdelibdir}/chalkhistogramdocker.so
+%{tde_tdelibdir}/chalkhistogram.la
+%{tde_tdelibdir}/chalkhistogram.so
+%{tde_tdelibdir}/chalkimageenhancement.la
+%{tde_tdelibdir}/chalkimageenhancement.so
+%{tde_tdelibdir}/chalkimagesize.la
+%{tde_tdelibdir}/chalkimagesize.so
+%{tde_tdelibdir}/chalk.la
+%{tde_tdelibdir}/chalklenscorrectionfilter.la
+%{tde_tdelibdir}/chalklenscorrectionfilter.so
+%{tde_tdelibdir}/chalklevelfilter.la
+%{tde_tdelibdir}/chalklevelfilter.so
+%{tde_tdelibdir}/chalk_lms_*
+%{tde_tdelibdir}/chalkmodifyselection.la
+%{tde_tdelibdir}/chalkmodifyselection.so
+%{tde_tdelibdir}/chalknoisefilter.la
+%{tde_tdelibdir}/chalknoisefilter.so
+%{tde_tdelibdir}/chalkoilpaintfilter.la
+%{tde_tdelibdir}/chalkoilpaintfilter.so
+%{tde_tdelibdir}/chalkpixelizefilter.la
+%{tde_tdelibdir}/chalkpixelizefilter.so
+%{tde_tdelibdir}/chalkraindropsfilter.la
+%{tde_tdelibdir}/chalkraindropsfilter.so
+%{tde_tdelibdir}/chalkrandompickfilter.la
+%{tde_tdelibdir}/chalkrandompickfilter.so
+%{tde_tdelibdir}/chalk_rgb_*
+%{tde_tdelibdir}/chalkrgbplugin.la
+%{tde_tdelibdir}/chalkrgbplugin.so
+%{tde_tdelibdir}/chalkrotateimage.la
+%{tde_tdelibdir}/chalkrotateimage.so
+%{tde_tdelibdir}/chalkroundcornersfilter.la
+%{tde_tdelibdir}/chalkroundcornersfilter.so
+%{tde_tdelibdir}/chalkselectiontools.la
+%{tde_tdelibdir}/chalkselectiontools.so
+%{tde_tdelibdir}/chalkselectopaque.la
+%{tde_tdelibdir}/chalkselectopaque.so
+%{tde_tdelibdir}/chalkseparatechannels.la
+%{tde_tdelibdir}/chalkseparatechannels.so
+%{tde_tdelibdir}/chalkshearimage.la
+%{tde_tdelibdir}/chalkshearimage.so
+%{tde_tdelibdir}/chalksmalltilesfilter.la
+%{tde_tdelibdir}/chalksmalltilesfilter.so
+%{tde_tdelibdir}/chalk.so
+%{tde_tdelibdir}/chalkscreenshot.la
+%{tde_tdelibdir}/chalkscreenshot.so
+%{tde_tdelibdir}/chalksobelfilter.la
+%{tde_tdelibdir}/chalksobelfilter.so
+%{tde_tdelibdir}/chalksubstrate.la
+%{tde_tdelibdir}/chalksubstrate.so
+%{tde_tdelibdir}/chalktoolcrop.la
+%{tde_tdelibdir}/chalktoolcrop.so
+%{tde_tdelibdir}/chalktoolcurves.la
+%{tde_tdelibdir}/chalktoolcurves.so
+%{tde_tdelibdir}/chalktoolfilter.la
+%{tde_tdelibdir}/chalktoolfilter.so
+%{tde_tdelibdir}/chalktoolperspectivegrid.la
+%{tde_tdelibdir}/chalktoolperspectivegrid.so
+%{tde_tdelibdir}/chalktoolperspectivetransform.la
+%{tde_tdelibdir}/chalktoolperspectivetransform.so
+%{tde_tdelibdir}/chalktoolpolygon.la
+%{tde_tdelibdir}/chalktoolpolygon.so
+%{tde_tdelibdir}/chalktoolpolyline.la
+%{tde_tdelibdir}/chalktoolpolyline.so
+%{tde_tdelibdir}/chalktoolselectsimilar.la
+%{tde_tdelibdir}/chalktoolselectsimilar.so
+%{tde_tdelibdir}/chalktoolstar.la
+%{tde_tdelibdir}/chalktoolstar.so
+%{tde_tdelibdir}/chalktooltransform.la
+%{tde_tdelibdir}/chalktooltransform.so
+%{tde_tdelibdir}/chalkunsharpfilter.la
+%{tde_tdelibdir}/chalkunsharpfilter.so
+%{tde_tdelibdir}/chalkwavefilter.la
+%{tde_tdelibdir}/chalkwavefilter.so
+%{tde_tdelibdir}/chalkwetplugin.la
+%{tde_tdelibdir}/chalkwetplugin.so
+%{tde_tdelibdir}/chalk_ycbcr_*
+%if 0%{?with_graphicsmagick}
+%{tde_tdelibdir}/libchalkgmagickexport.la
+%{tde_tdelibdir}/libchalkgmagickexport.so
+%{tde_tdelibdir}/libchalkgmagickimport.la
+%{tde_tdelibdir}/libchalkgmagickimport.so
+%{tde_tdelibdir}/libchalkjpegexport.la
+%{tde_tdelibdir}/libchalkjpegexport.so
+%{tde_tdelibdir}/libchalkjpegimport.la
+%{tde_tdelibdir}/libchalkjpegimport.so
+%endif
+%{tde_tdelibdir}/libchalk_openexr_export.la
+%{tde_tdelibdir}/libchalk_openexr_export.so
+%{tde_tdelibdir}/libchalk_openexr_import.la
+%{tde_tdelibdir}/libchalk_openexr_import.so
+%{tde_tdelibdir}/libchalkpart.la
+%{tde_tdelibdir}/libchalkpart.so
+%{tde_tdelibdir}/libchalkpdfimport.la
+%{tde_tdelibdir}/libchalkpdfimport.so
+%{tde_tdelibdir}/libchalkpngexport.la
+%{tde_tdelibdir}/libchalkpngexport.so
+%{tde_tdelibdir}/libchalkpngimport.la
+%{tde_tdelibdir}/libchalkpngimport.so
+%{tde_tdelibdir}/libchalk_raw_import.la
+%{tde_tdelibdir}/libchalk_raw_import.so
+%if 0%{?with_graphicsmagick}
+%{tde_tdelibdir}/libchalktiffexport.la
+%{tde_tdelibdir}/libchalktiffexport.so
+%{tde_tdelibdir}/libchalktiffimport.la
+%{tde_tdelibdir}/libchalktiffimport.so
+%endif
+%{tde_libdir}/libkdeinit_chalk.so
+%{tde_libdir}/libchalk_cmyk_*.so.*
+%{tde_libdir}/libchalkcolor.so.*
+%{tde_libdir}/libchalkcommon.so.*
+%{tde_libdir}/libchalkgrayscale.so.*
+%{tde_libdir}/libchalk_gray_*.so.*
+%{tde_libdir}/libchalkimage.so.*
+%{tde_libdir}/libchalk_lms_*.so.*
+%{tde_libdir}/libchalk_rgb_*.so.*
+%{tde_libdir}/libchalkrgb.so.*
+%{tde_libdir}/libchalkui.so.*
+%{tde_libdir}/libchalk_ycbcr_*.so.*
+%if 0%{?with_kross}
+%{tde_tdelibdir}/krosschalkcore.la
+%{tde_tdelibdir}/krosschalkcore.so
+%{tde_tdelibdir}/chalkscripting.la
+%{tde_tdelibdir}/chalkscripting.so
+%{tde_libdir}/libchalkscripting.so.*
+%endif
+
+##########
+
+%package chalk-data
+Summary: data files for Chalk painting program [Trinity]
+Group: Applications/Productivity
+
+%description chalk-data
+This package contains architecture-independent data files for Chalk,
+the painting program shipped with the TDE Office Suite.
+
+See the chalk package for further information.
+
+This package is part of the TDE Office Suite.
+
+%files chalk-data
+%defattr(-,root,root,-)
+%{tde_tdeappdir}/chalk.desktop
+%{tde_datadir}/applnk/.hidden/chalk_*.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/chalk_konqi.desktop
+%{tde_datadir}/apps/chalk/
+%{tde_datadir}/apps/chalkplugins/
+%lang(en) %{tde_tdedocdir}/HTML/en/chalk/
+%{tde_datadir}/icons/hicolor/*/apps/chalk.png
+%{tde_datadir}/services/chalk*.desktop
+%{tde_datadir}/servicetypes/chalk*.desktop
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+%if 0%{?mgaversion} >= 3 || 0%{?pclinuxos} >= 2013
+%__cp /usr/share/automake-1.13/test-driver admin/
+%endif
+
+# use LGC variant instead
+%__sed -i.dejavu-lgc \
+ -e 's|DejaVu Sans|DejaVu LGC Sans|' \
+ -e 's|dejavu sans|dejavu lgc sans|' \
+ lib/kformula/{contextstyle,fontstyle,symboltable}.cc
+
+# 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}"
+export KDEDIR="%{tde_prefix}"
+
+%if 0%{?suse_version} == 1220
+RD=$(ruby -r rbconfig -e 'printf("%s",Config::CONFIG["rubyhdrdir"])')
+export CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux"
+%endif
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath --disable-dependency-tracking \
+ --enable-new-ldflags \
+ --disable-debug --disable-warnings \
+ --with-pic --enable-shared --disable-static \
+ --with-extra-libs=%{tde_libdir} \
+ --enable-final \
+ --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir}/arts \
+ --enable-closure \
+ --disable-kexi-macros \
+ %{?with_kross:--enable-scripting} %{!?with_kross:--disable-scripting} \
+ %{?with_postgresql:--enable-pgsql} %{!?with_postgresql:--disable-pgsql} \
+
+%__make %{?_smp_mflags}
+
+
+%install
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+# Replace absolute symlinks with relative ones
+pushd %{buildroot}%{tde_tdedocdir}/HTML
+for lang in *; do
+ if [ -d $lang ]; then
+ pushd $lang
+ for i in */*; do
+ [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common
+ done
+ popd
+ fi
+done
+popd
+
+desktop-file-install \
+ --dir=%{buildroot}%{tde_tdeappdir} \
+ --vendor="" \
+ --delete-original \
+ %{buildroot}%{tde_datadir}/applnk/Office/*.desktop
+
+## Hack-in NoDisplay=True (http://bugzilla.redhat.com/245061)
+## until http://bugzilla.redhat.com/245190 is fixed
+%if 0%{?rhel} || 0%{?fedora}
+for desktop_file in %{buildroot}%{tde_datadir}/applnk/.hidden/*.desktop ; do
+ grep "^NoDisplay=" ${desktop_file} || \
+ echo "NoDisplay=True" >> ${desktop_file}
+done
+%endif
+
+## unpackaged files
+# fonts
+rm -rfv %{buildroot}%{tde_datadir}/apps/kformula/fonts/
+# libtool archives
+rm -f %{buildroot}%{tde_libdir}/lib*.la
+# shouldn't these be in koffice-l10n?
+rm -f %{buildroot}%{tde_datadir}/locale/pl/LC_MESSAGES/kexi_{add,delete}_column_gui_transl_pl.sh
+# -devel symlinks to nuke
+rm -f %{buildroot}%{tde_libdir}/lib*common.so
+rm -f %{buildroot}%{tde_libdir}/lib*filters.so
+rm -f %{buildroot}%{tde_libdir}/lib*private.so
+rm -f %{buildroot}%{tde_libdir}/libkarbon*.so
+rm -f %{buildroot}%{tde_libdir}/libkchart*.so
+rm -f %{buildroot}%{tde_libdir}/libkexi*.so
+rm -f %{buildroot}%{tde_libdir}/libkisexiv2.so
+rm -f %{buildroot}%{tde_libdir}/libkformdesigner.so
+rm -f %{buildroot}%{tde_libdir}/libkplato*.so
+rm -f %{buildroot}%{tde_libdir}/libkpresenter*.so
+rm -f %{buildroot}%{tde_libdir}/libkword*.so
+rm -f %{buildroot}%{tde_libdir}/libkross*.so
+rm -f %{buildroot}%{tde_libdir}/libkugar*.so
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.6.3-7
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.6.3-6
+- Initial build for TDE 3.5.13.1
+
+* Sun Jul 08 2012 Francois Andriot <francois.andriot@free.fr> - 1.6.3-5
+- Fix kformula dependancies (for RHEL6)
+- Fix FTBFS due to missing libraries [Bug #657] [Commit #5c69fcd3]
+ Clean up lib paths in LDFLAGS - moved to LIBADD
+ For KWord and and KPresenter added linking kspell2
+ For KSpread added linking kutils
+- Fix accidental conversions of binary files [Bug #1033] [Commit #dbe89307]
+
+* Thu Apr 26 2012 Francois Andriot <francois.andriot@free.fr> - 1.6.3-4
+- Updates BuildRequires
+- Build for Fedora 17
+- Fix compilation with GCC 4.7 [Bug #958]
+- Fix compilation with Ruby 1.9 [Bug #735]
+- Fix compilation with libpng [Bug #603]
+
+* Sat Jan 07 2012 Francois Andriot <francois.andriot@free.fr> - 1.6.3-3
+- Fix GraphicksMagick 1.3 support [Bug #353]
+- Various patches for kexi [Bug #777]
+
+* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 1.6.3-2
+- Fix HTML directory location
+
+* Tue Nov 22 2011 Francois Andriot <francois.andriot@free.fr> - 1.6.3-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
+- Based on Spec file from Fedora 11 'koffice-2:1.6.3-25.20090306svn'
+- Removed 'krita', added 'chalk'
diff --git a/redhat/applications/konversation/trinity-konversation-3.5.13.2.spec b/redhat/applications/konversation/trinity-konversation-3.5.13.2.spec
new file mode 100644
index 000000000..a325f2f24
--- /dev/null
+++ b/redhat/applications/konversation/trinity-konversation-3.5.13.2.spec
@@ -0,0 +1,197 @@
+# Default version for this component
+%define tdecomp konversation
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: user friendly Internet Relay Chat (IRC) client for KDE [Trinity]
+Version: 1.1
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+BuildRequires: libxslt-devel
+%if 0%{?suse_version}
+BuildRequires: docbook-xsl-stylesheets
+%else
+BuildRequires: docbook-style-xsl
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xi-devel
+%endif
+%if 0%{?rhel} >= 5|| 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: libXi-devel
+%endif
+%if 0%{?suse_version} == 1140
+BuildRequires: libXi6-devel
+%endif
+
+%description
+Konversation is a client for the Internet Relay Chat (IRC) protocol.
+It is easy to use and well-suited for novice IRC users, but novice
+and experienced users alike will appreciate its many features:
+
+ * Standard IRC features
+ * Easy to use graphical interface
+ * Multiple server and channel tabs in a single window
+ * IRC color support
+ * Pattern-based message highlighting and OnScreen Display
+ * Multiple identities for different servers
+ * Multi-language scripting support (with DCOP)
+ * Customizable command aliases
+ * NickServ-aware log-on (for registered nicknames)
+ * Smart logging
+ * Traditional or enhanced-shell-style nick completion
+ * DCC file transfer with resume support
+
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{tdecomp}
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{tde_bindir}/konversation
+%{tde_tdeappdir}/konversation.desktop
+%{tde_datadir}/apps/kconf_update/konversation-0.19-appearance.pl
+%{tde_datadir}/apps/kconf_update/konversation-0.19-colorcodes.pl
+%{tde_datadir}/apps/kconf_update/konversation-0.19-colors.pl
+%{tde_datadir}/apps/kconf_update/konversation-0.19-custombrowser.pl
+%{tde_datadir}/apps/kconf_update/konversation-0.19-notifylists.pl
+%{tde_datadir}/apps/kconf_update/konversation-0.19-sortorder.pl
+%{tde_datadir}/apps/kconf_update/konversation-0.19-tabplacement.pl
+%{tde_datadir}/apps/kconf_update/konversation-0.20-customfonts.pl
+%{tde_datadir}/apps/kconf_update/konversation-0.20-quickbuttons.pl
+%{tde_datadir}/apps/kconf_update/konversation.upd
+%{tde_datadir}/apps/konversation/
+%{tde_datadir}/config.kcfg/konversation.kcfg
+%{tde_datadir}/services/konvirc.protocol
+%{tde_datadir}/services/konvirc6.protocol
+%{tde_tdedocdir}/HTML/*/konversation/
+%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyaway.png
+%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyoffline.png
+%{tde_datadir}/icons/crystalsvg/*/actions/kimproxyonline.png
+%{tde_datadir}/icons/crystalsvg/*/actions/char.png
+%{tde_datadir}/icons/crystalsvg/*/actions/konv_message.png
+%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyaway.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyoffline.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/kimproxyonline.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/konv_message.svgz
+%{tde_datadir}/icons/hicolor/*/apps/konversation.png
+%{tde_datadir}/icons/hicolor/scalable/apps/konversation.svgz
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.1-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.1-3
+- Initial build for TDE 3.5.13.1
+
+* Sat May 05 2012 Francois Andriot <francois.andriot@free.fr> - 1.1-2
+- Rebuild for Fedora 17
+- Fix HTML directory location
+- Rename old tq methods that no longer need a unique name [Commit #01f5ea83]
+- Remove additional unneeded tq method conversions [Commit #efdae4e7]
+- Rename obsolete tq methods to standard names [Commit #c64099e5]
+- Fix linear alphabet string errors [Commit #440010aa]
+- Fix inadvertent "TQ" changes. [Commit #ca3d6cef]
+
+* Mon Nov 07 2011 Francois Andriot <francois.andriot@free.fr> - 1.1-1
+- Initial release for RHEL 6, RHEL 5 and Fedora 15
+
diff --git a/redhat/applications/kopete-otr/trinity-kopete-otr-3.5.13.2.spec b/redhat/applications/kopete-otr/trinity-kopete-otr-3.5.13.2.spec
new file mode 100644
index 000000000..264e38f2e
--- /dev/null
+++ b/redhat/applications/kopete-otr/trinity-kopete-otr-3.5.13.2.spec
@@ -0,0 +1,161 @@
+# Default version for this component
+%define tdecomp kopete-otr
+
+# Required for Mageia 2: removes the ldflag '--no-undefined'
+%define _disable_ld_no_undefined 1
+
+# Under Mageia 3, we require "libotr3" package
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: Off-The-Record encryption for Kopete [Trinity]
+Version: 0.7
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: trinity-tdenetwork-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+# Kopete is provided by kdenetwork
+Requires: trinity-kopete >= 3.5.13.2
+%if 0%{?suse_version} >= 1230
+BuildRequires: libotr2-devel
+%else
+BuildRequires: libotr-devel
+%endif
+
+%description
+This plugin enables Off-The-Record encryption for the KDE instant
+messenger Kopete. Using this plugin you can encrypt chatsessions to other
+users with IM-Cients supporting the OTR encryption method.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{_smp_mflags}
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# Unwanted files
+%__rm -f %{?buildroot}%{tde_libdir}/libkotr.so
+
+%find_lang kopete_otr
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/crystalsvg || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
+/sbin/ldconfig || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/crystalsvg || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
+/sbin/ldconfig || :
+
+
+%files -f kopete_otr.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING README TODO
+%{tde_libdir}/libkotr.la
+%{tde_libdir}/libkotr.so.0
+%{tde_libdir}/libkotr.so.0.0.0
+%{tde_tdelibdir}/kcm_kopete_otr.la
+%{tde_tdelibdir}/kcm_kopete_otr.so
+%{tde_tdelibdir}/kopete_otr.la
+%{tde_tdelibdir}/kopete_otr.so
+%{tde_datadir}/apps/kopete_otr
+%{tde_datadir}/config.kcfg/kopete_otr.kcfg
+%{tde_tdedocdir}/HTML/en/kopete_otr/
+%{tde_datadir}/icons/crystalsvg/16x16/apps/kopete_otr.png
+%{tde_datadir}/services/kconfiguredialog/kopete_otr_config.desktop
+%{tde_datadir}/services/kopete_otr.desktop
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.7-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.7-3
+- Initial build for TDE 3.5.13.1
+
+* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.7-2
+- Rebuild for Fedora 17
+
+* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.7-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
+
diff --git a/redhat/applications/kpicosim/trinity-kpicosim-3.5.13.2.spec b/redhat/applications/kpicosim/trinity-kpicosim-3.5.13.2.spec
new file mode 100644
index 000000000..7a726fc4e
--- /dev/null
+++ b/redhat/applications/kpicosim/trinity-kpicosim-3.5.13.2.spec
@@ -0,0 +1,138 @@
+# Default version for this component
+%define tdecomp kpicosim
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: IDE and simulator for the Xilinx PicoBlaze-3 [Trinity]
+Version: 0.6a
+Release: 3%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+
+%description
+kpicosim is a development environment for the Xilinx
+PicoBlaze-3 soft-core processor for the KDE Desktop (Linux).
+The environment has an editor with syntax highlighting, compiler,
+simulator and export functions to VHDL, HEX and MEM files.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir}
+
+# SMP safe !
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%find_lang %{tdecomp} || touch %{tdecomp}.lang
+
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README
+%{tde_bindir}/kpicosim
+%{tde_datadir}/applnk/Development/kpicosim.desktop
+%{tde_datadir}/apps/katepart/syntax/psm.xml
+%{tde_datadir}/apps/kpicosim
+%{tde_tdedocdir}/HTML/en/kpicosim
+%{tde_datadir}/icons/hicolor/*/apps/kpicosim.png
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.6a-3
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.6a-2
+- Initial build for TDE 3.5.13.1
+
+* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.6a-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kpilot/trinity-kpilot-3.5.13.2.spec b/redhat/applications/kpilot/trinity-kpilot-3.5.13.2.spec
new file mode 100644
index 000000000..2a3599c7c
--- /dev/null
+++ b/redhat/applications/kpilot/trinity-kpilot-3.5.13.2.spec
@@ -0,0 +1,187 @@
+# Default version for this component
+%define tdecomp kpilot
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: TDE Palm Pilot hot-sync tool
+Version: 0.7
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+BuildRequires: pilot-link-devel
+BuildRequires: trinity-kdepim-devel
+
+%description
+KPilot is an application that synchronizes your Palm Pilot or similar device
+(like the Handspring Visor) with your KDE desktop, much like the Palm HotSync
+software does for Windows. KPilot can back-up and restore your Palm Pilot
+and synchronize the built-in applications with their KDE counterparts.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt:%{tde_tdeincludedir}
+
+# SMP safe !
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# Unwanted files
+%__rm -f %{?buildroot}%{tde_libdir}/libkpilot.so
+
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+for f in hicolor locolor crystalsvg; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+/sbin/ldconfig || :
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+for f in hicolor locolor crystalsvg; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+/sbin/ldconfig || :
+
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/kpalmdoc
+%{tde_bindir}/kpilot
+%{tde_bindir}/kpilotDaemon
+%{tde_tdeincludedir}/kpilot
+%{tde_libdir}/libkpilot.la
+%{tde_libdir}/libkpilot.so.0
+%{tde_libdir}/libkpilot.so.0.0.0
+%{tde_tdelibdir}/conduit_address.la
+%{tde_tdelibdir}/conduit_address.so
+%{tde_tdelibdir}/conduit_doc.la
+%{tde_tdelibdir}/conduit_doc.so
+%{tde_tdelibdir}/conduit_knotes.la
+%{tde_tdelibdir}/conduit_knotes.so
+%{tde_tdelibdir}/conduit_memofile.la
+%{tde_tdelibdir}/conduit_memofile.so
+%{tde_tdelibdir}/conduit_notepad.la
+%{tde_tdelibdir}/conduit_notepad.so
+%{tde_tdelibdir}/conduit_popmail.la
+%{tde_tdelibdir}/conduit_popmail.so
+%{tde_tdelibdir}/conduit_sysinfo.la
+%{tde_tdelibdir}/conduit_sysinfo.so
+%{tde_tdelibdir}/conduit_time.la
+%{tde_tdelibdir}/conduit_time.so
+%{tde_tdelibdir}/conduit_todo.la
+%{tde_tdelibdir}/conduit_todo.so
+%{tde_tdelibdir}/conduit_vcal.la
+%{tde_tdelibdir}/conduit_vcal.so
+%{tde_tdelibdir}/kcm_kpilot.la
+%{tde_tdelibdir}/kcm_kpilot.so
+%{tde_tdeappdir}/kpalmdoc.desktop
+%{tde_tdeappdir}/kpilot.desktop
+%{tde_tdeappdir}/kpilotdaemon.desktop
+%{tde_datadir}/apps/kaddressbook/contacteditorpages/KPilotCustomFieldEditor.ui
+%{tde_datadir}/apps/kconf_update/kpalmdoc.upd
+%{tde_datadir}/apps/kconf_update/kpilot.upd
+%{tde_datadir}/apps/kpilot
+%{tde_datadir}/config.kcfg/*.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/*.png
+%{tde_datadir}/icons/hicolor/*/apps/*.png
+%{tde_datadir}/icons/locolor/*/apps/*.png
+%{tde_datadir}/services/*.desktop
+%{tde_datadir}/servicetypes/kpilotconduit.desktop
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.7-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.7-3
+- Initial build for TDE 3.5.13.1
+
+* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.7-2
+- Rebuild for Fedora 17
+
+* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.7-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kpowersave/trinity-kpowersave-3.5.13.2.spec b/redhat/applications/kpowersave/trinity-kpowersave-3.5.13.2.spec
new file mode 100644
index 000000000..e19245c48
--- /dev/null
+++ b/redhat/applications/kpowersave/trinity-kpowersave-3.5.13.2.spec
@@ -0,0 +1,165 @@
+# Default version for this component
+%define tdecomp kpowersave
+%define tdeversion 3.5.13.2
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Version: 0.7.3
+Release: 4%{?dist}%{?_variant}
+Summary: HAL based power management applet for Trinityfiles or directories.
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz
+
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: hal-devel
+BuildRequires: trinity-dbus-tqt-devel
+
+
+%description
+KPowersave is a TDE systray applet which allows to control the power
+management settings and policies of your computer.
+It relies on HAL to do the heavy lifting.
+
+Current feature list:
+ * support for ACPI, APM and PMU
+ * trigger suspend to disk/ram and standby
+ * switch cpu frequency policy (between: performance, dynamic and powersave)
+ * applet icon with information about AC state, battery fill and battery
+ (warning) states
+ * applet tooltip with information about battery fill and remaining battery
+ time/percentage
+ * autosuspend (to suspend the machine if the user has been inactive for a
+ defined time)
+ * a global configurable blacklist with programs which prevent autosuspend
+ (e.g. videoplayer and cd burning tools)
+ * trigger lock screen and select the lock method
+ * KNotify support
+ * online help
+ * localisations for many languages
+
+KPowersave supports schemes with following configurable specific
+settings for:
+ * screensaver
+ * DPMS
+ * autosuspend
+ * scheme specific blacklist for autosuspend
+ * notification settings
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-%{tdeversion}%{?preversion:~%{preversion}}
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+
+%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" \
+ ..
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+/sbin/ldconfig
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+/sbin/ldconfig
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%{tde_bindir}/kpowersave
+%{tde_libdir}/libkdeinit_kpowersave.la
+%{tde_libdir}/libkdeinit_kpowersave.so
+%{tde_tdelibdir}/kpowersave.la
+%{tde_tdelibdir}/kpowersave.so
+%{tde_tdeappdir}/kpowersave.desktop
+%{tde_datadir}/apps/kpowersave/eventsrc
+%{tde_datadir}/apps/kpowersave/icons/*/*/*/*.png
+%{tde_datadir}/icons/hicolor/*/*/*.png
+%{tde_datadir}/autostart/kpowersave-autostart.desktop
+%{tde_datadir}/config/kpowersaverc
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.7.3-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.7.3-3
+- Initial build for TDE 3.5.13.1
+
+* Sat Nov 26 2011 Francois Andriot <francois.andriot@free.fr> - 0.7.3-2
+- Add missing /sbin/ldconfig
+- Add missing doc file
+
+* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 0.7.3-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/krename/trinity-krename-3.5.13.2.spec b/redhat/applications/krename/trinity-krename-3.5.13.2.spec
new file mode 100644
index 000000000..0ca408b48
--- /dev/null
+++ b/redhat/applications/krename/trinity-krename-3.5.13.2.spec
@@ -0,0 +1,154 @@
+# Default version for this component
+%define tdecomp krename
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: A TDE batch file renaming utility.
+Version: 3.0.14
+Release: 6%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+%description
+KRename is a powerful batch renamer for TDE. It allows you to easily rename hundreds or
+even more files in one go. The filenames can be created by parts of the original filename,
+numbering the files or accessing hundreds of informations about the file, like creation date
+or Exif informations of an image.
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{tdecomp}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+update-desktop-database %{tde_appdir} &> /dev/null
+
+%postun
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+update-desktop-database %{tde_appdir} &> /dev/null
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{tde_bindir}/krename
+%{tde_tdeappdir}/krename.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/krename_dir.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/krenameservicemenu.desktop
+%{tde_datadir}/apps/krename/
+%{tde_tdedocdir}/HTML/en/krename/
+%{tde_datadir}/icons/hicolor/*/apps/krename.png
+%{tde_datadir}/icons/locolor/*/apps/krename.png
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.0.14-6
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 3.0.14-5
+- Initial build for TDE 3.5.13.1
+
+* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 3.0.14-4
+- Rebuild for Fedora 17
+- Fix HTML directory location
+
+* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.0.14-3
+- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
+
+* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 3.0.14-2
+- Import to GIT
+
+* Wed Aug 24 2011 Francois Andriot <francois.andriot@free.fr> - 3.0.14-1
+- Correct macro to install under "/opt", if desired
+
+* Sun Aug 14 2011 Francois Andriot <francois.andriot@free.fr> - 3.0.14-0
+- Initial build for RHEL 6.0
+
diff --git a/redhat/applications/krusader/trinity-krusader-3.5.13.2.spec b/redhat/applications/krusader/trinity-krusader-3.5.13.2.spec
new file mode 100644
index 000000000..bcd0478af
--- /dev/null
+++ b/redhat/applications/krusader/trinity-krusader-3.5.13.2.spec
@@ -0,0 +1,167 @@
+# Default version for this component
+%define tdecomp krusader
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: twin-panel (commander-style) file manager for KDE (and other desktops)
+Version: 1.90.0
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: trinity-tdebindings-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+
+%description
+Krusader is a simple, easy, powerful, twin-panel (commander-style) file
+manager for TDE and other desktops, similar to Midnight Commander (C) or Total
+Commander (C).
+
+It provides all the file management features you could possibly want.
+
+Plus: extensive archive handling, mounted filesystem support, FTP,
+advanced search module, viewer/editor, directory synchronisation,
+file content comparisons, powerful batch renaming and much much more.
+
+It supports archive formats: ace, arj, bzip2, deb, iso, lha, rar, rpm, tar,
+zip and 7-zip.
+
+It handles KIOSlaves such as smb:// or fish://.
+
+Almost completely customizable, Krusader is very user friendly, fast and looks
+great on your desktop.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{tdecomp}
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+for f in crystalsvg locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+for f in crystalsvg locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING FAQ README TODO
+%{tde_bindir}/krusader
+%{tde_tdelibdir}/kio_krarc.la
+%{tde_tdelibdir}/kio_krarc.so
+%{tde_tdelibdir}/kio_virt.la
+%{tde_tdelibdir}/kio_virt.so
+%{tde_tdeappdir}/krusader.desktop
+%{tde_tdeappdir}/krusader_root-mode.desktop
+%{tde_datadir}/apps/krusader
+%{tde_tdedocdir}/HTML/en/krusader/
+%lang(ru) %{tde_tdedocdir}/HTML/ru/krusader/
+%{tde_datadir}/icons/crystalsvg/*/apps/*.png
+%{tde_datadir}/icons/locolor/*/apps/*.png
+%{tde_datadir}/services/krarc.protocol
+%{tde_datadir}/services/virt.protocol
+%{tde_mandir}/man1/krusader.1
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.90.0-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.90.0-3
+- Initial build for TDE 3.5.13.1
+
+* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 1.90.0-2
+- Rebuild for Fedora 17
+- GCC 4.7 fixes. [Commit #fdf6d340]
+
+* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 1.90.0-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
+
diff --git a/redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin-3.5.13.2.spec b/redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin-3.5.13.2.spec
new file mode 100644
index 000000000..9478b2370
--- /dev/null
+++ b/redhat/applications/ksplash-engine-moodin/trinity-ksplash-engine-moodin-3.5.13.2.spec
@@ -0,0 +1,137 @@
+# Default version for this component
+%define tdecomp ksplash-engine-moodin
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: fading splash screen engine for Trinity
+Version: 0.4.2
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+
+%description
+Heavily customizable engine for various types of themes.
+
+Features:
+* scale cache
+* fading images
+* use current icon set or custom images
+* unlimited Custom text labels
+* set fading delay and length
+* custom image arrangement
+* resolution independent themes
+
+This TDE splash screen engine is based upon Linspire's
+engine by Sean Meiners <Sean.Meiners@LinspireInc.com>
+
+Homepage: http://moodwrod.com
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/ksplashmoodin.la
+%{tde_tdelibdir}/ksplashmoodin.so
+%{tde_datadir}/apps/ksplash/Themes/FingerPrint/
+%{tde_datadir}/apps/ksplash/Themes/MoodinKDE/
+%{tde_datadir}/services/ksplashmoodin.desktop
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.2-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.2-3
+- Initial build for TDE 3.5.13.1
+
+* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.2-2
+- Rebuild for Fedora 17
+- Removes post and postun
+
+* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.2-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/ksquirrel/trinity-ksquirrel-3.5.13.2.spec b/redhat/applications/ksquirrel/trinity-ksquirrel-3.5.13.2.spec
new file mode 100644
index 000000000..16eb31a0e
--- /dev/null
+++ b/redhat/applications/ksquirrel/trinity-ksquirrel-3.5.13.2.spec
@@ -0,0 +1,162 @@
+# Default version for this component
+%define tdecomp ksquirrel
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: Powerful Trinity image viewer
+Version: 0.8.0
+Release: 4%{?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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+BuildRequires: trinity-libkipi-devel
+BuildRequires: trinity-libksquirrel-devel
+#BuildRequires: libkexif-devel
+
+%description
+KSquirrel is an image viewer for TDE with disk navigator, file tree,
+multiple directory view, thumbnails, extended thumbnails, dynamic
+format support, DCOP interface, KEXIF and KIPI plugins support.
+
+KSquirrel is a fast and convenient image viewer for KDE featuring
+OpenGL and dynamic format support.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+# 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} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{tdecomp}
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING LICENSE LICENSE.GFDL LICENSE.LGPL README TODO
+%{tde_bindir}/ksquirrel
+%{tde_bindir}/ksquirrel-libs-configurator
+%{tde_bindir}/ksquirrel-libs-configurator-real
+%{tde_tdelibdir}/libksquirrelpart.la
+%{tde_tdelibdir}/libksquirrelpart.so
+%{tde_tdeappdir}/ksquirrel.desktop
+%{tde_datadir}/apps/dolphin/servicemenus/dolphksquirrel-dir.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/konqksquirrel-dir.desktop
+%{tde_datadir}/apps/ksquirrel/
+%{tde_datadir}/apps/ksquirrelpart/ksquirrelpart.rc
+%{tde_datadir}/config/magic/x-ras.magic
+%{tde_datadir}/config/magic/x-sun.magic
+%{tde_datadir}/config/magic/x-utah.magic
+%{tde_tdedocdir}/HTML/*/ksquirrel
+%{tde_datadir}/icons/hicolor/*/apps/ksquirrel.png
+%{tde_datadir}/mimelnk/image/*.desktop
+%{tde_datadir}/services/ksquirrelpart.desktop
+%{tde_datadir}/locale/*/LC_MESSAGES/ksquirrel.mo
+%{tde_mandir}/man1/ksquirrel.1
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.0-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.0-3
+- Initial build for TDE 3.5.13.1
+
+* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.1-2
+- Rebuild for Fedora 17
+- Fix HTML directory location
+
+* Sun Nov 20 2011 Francois Andriot <francois.andriot@free.fr> - 0.8.0-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.2.spec b/redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.2.spec
new file mode 100644
index 000000000..4d41f0f45
--- /dev/null
+++ b/redhat/applications/kstreamripper/trinity-kstreamripper-3.5.13.2.spec
@@ -0,0 +1,129 @@
+# Default version for this component
+%define tdecomp kstreamripper
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: TDE frontend for streamripper
+
+Version: 0.3.4
+Release: 3%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: scons
+
+
+%description
+KStreamRipper is a small frontend for the streamripper command
+line utility. Streamripper captures internet shoutcast radio streams
+on your harddisk and splits them up in mp3 files. KStreamRipper helps
+you with managing/ripping your preferred streams.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+%__sed -i kde.py \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|include/kde|include/tde|g"
+
+%build
+unset QTDIR; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+
+scons -Q -j4 \
+ qtlibs=${QTLIB:-${QTDIR}/%{_lib}}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+
+## 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
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/kstreamripper
+%{tde_datadir}/applnk/Utilities/kstreamripper.desktop
+%{tde_datadir}/apps/kstreamripper/kstreamripperui.rc
+%{tde_tdedocdir}/HTML/en/kstreamripper/
+
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.4-3
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.3.4-2
+- Initial build for TDE 3.5.13.1
+
+* Wed Nov 02 2011 Francois Andriot <francois.andriot@free.fr> - 0.3.4-1
+- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
diff --git a/redhat/applications/ksystemlog/trinity-ksystemlog-3.5.13.2.spec b/redhat/applications/ksystemlog/trinity-ksystemlog-3.5.13.2.spec
new file mode 100644
index 000000000..57bf580d3
--- /dev/null
+++ b/redhat/applications/ksystemlog/trinity-ksystemlog-3.5.13.2.spec
@@ -0,0 +1,137 @@
+# Default version for this component
+%define tdecomp ksystemlog
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: system log viewer tool for Trinity
+Version: 0.3.2
+Release: 3%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/System
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://ksystemlog.forum-software.org
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+
+%description
+ksystemlog is a system log viewer tool for Trinity.
+
+This program is developed for being used by beginner users, which don't know
+how to find information about their Linux system, and how the log files are in
+their computer. But it is also designed for advanced users, who want to
+quickly see problems occuring on their server.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING README
+%{tde_bindir}/ksystemlog
+%{tde_datadir}/applnk/Utilities/ksystemlog.desktop
+%{tde_datadir}/apps/ksystemlog/ksystemlogui.rc
+%{tde_datadir}/config.kcfg/ksystemlog.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.png
+%{tde_datadir}/icons/hicolor/*/apps/ksystemlog.svgz
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.2-3
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.3.2-2
+- Initial build for TDE 3.5.13.1
+
+* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.3.2-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
+
diff --git a/redhat/applications/ktechlab/trinity-ktechlab-3.5.13.2.spec b/redhat/applications/ktechlab/trinity-ktechlab-3.5.13.2.spec
new file mode 100644
index 000000000..459ef3a0d
--- /dev/null
+++ b/redhat/applications/ktechlab/trinity-ktechlab-3.5.13.2.spec
@@ -0,0 +1,144 @@
+# Default version for this component
+%define tdecomp ktechlab
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: circuit simulator for microcontrollers and electronics [Trinity]
+Version: 0.3
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+
+%description
+KTechlab is a circuit simulator with a nice, clickable and discoverable
+interface. It supports many discrete components, logic circuits as well
+as PIC programming in its own Basic dialect and some form of assembler.
+
+Homepage: http://ktechlab.org/
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{tdecomp}
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%{tde_bindir}/ktechlab
+%{tde_bindir}/microbe
+%{tde_datadir}/applnk/Development/ktechlab.desktop
+%{tde_datadir}/apps/katepart/syntax/microbe.xml
+%{tde_datadir}/apps/ktechlab
+%{tde_datadir}/config.kcfg/ktechlab.kcfg
+%{tde_tdedocdir}/HTML/en/ktechlab/
+%{tde_datadir}/icons/hicolor/*/*/*.png
+%{tde_datadir}/mimelnk/application/x-circuit.desktop
+%{tde_datadir}/mimelnk/application/x-flowcode.desktop
+%{tde_datadir}/mimelnk/application/x-ktechlab.desktop
+%{tde_datadir}/mimelnk/application/x-microbe.desktop
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.3-3
+- Initial build for TDE 3.5.13.1
+
+* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 0.3-2
+- Fix HTML directory location
+
+* Thu Nov 24 2011 Francois Andriot <francois.andriot@free.fr> - 0.3-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
+- Fix list of icons to install [Bug #990]
diff --git a/redhat/applications/ktorrent/trinity-ktorrent-3.5.13.2.spec b/redhat/applications/ktorrent/trinity-ktorrent-3.5.13.2.spec
new file mode 100644
index 000000000..25258fc51
--- /dev/null
+++ b/redhat/applications/ktorrent/trinity-ktorrent-3.5.13.2.spec
@@ -0,0 +1,184 @@
+# Default version for this component
+%define tdecomp ktorrent
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: BitTorrent client for Trinity
+Version: 2.2.8
+Release: 3%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://ktorrent.org
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+
+%description
+KTorrent is a BitTorrent program for Trinity. Its features include speed capping
+(both down and up), integrated searching, UDP tracker support, preview of
+certain file types (video and audio) and integration into the TDE Panel
+enabling background downloading.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix="%{tde_prefix}" \
+ --exec-prefix="%{tde_prefix}" \
+ --bindir="%{tde_bindir}" \
+ --datadir="%{tde_datadir}" \
+ --libdir="%{tde_libdir}" \
+ --mandir="%{tde_mandir}" \
+ --includedir="%{tde_tdeincludedir}" \
+ --disable-rpath \
+ --with-extra-includes="%{tde_includedir}/tqt"
+
+
+# Not SMP safe !
+%__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf "%{buildroot}"
+%__make install DESTDIR="%{buildroot}"
+
+%find_lang %{tdecomp}
+
+# Unwanted files
+%__rm -f "%{?buildroot}%{tde_libdir}/libktorrent.so"
+
+
+%clean
+%__rm -rf "%{buildroot}"
+
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+/sbin/ldconfig || :
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+/sbin/ldconfig || :
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%{tde_bindir}/ktcachecheck
+%{tde_bindir}/ktorrent
+%{tde_bindir}/ktshell
+%{tde_bindir}/kttorinfo
+%{tde_bindir}/ktupnptest
+%{tde_libdir}/libktorrent-%{version}.so
+%{tde_libdir}/libktorrent.la
+%{tde_tdelibdir}/ktinfowidgetplugin.la
+%{tde_tdelibdir}/ktinfowidgetplugin.so
+%{tde_tdelibdir}/ktipfilterplugin.la
+%{tde_tdelibdir}/ktipfilterplugin.so
+%{tde_tdelibdir}/ktlogviewerplugin.la
+%{tde_tdelibdir}/ktlogviewerplugin.so
+%{tde_tdelibdir}/ktpartfileimportplugin.la
+%{tde_tdelibdir}/ktpartfileimportplugin.so
+%{tde_tdelibdir}/ktrssfeedplugin.la
+%{tde_tdelibdir}/ktrssfeedplugin.so
+%{tde_tdelibdir}/ktscanfolderplugin.la
+%{tde_tdelibdir}/ktscanfolderplugin.so
+%{tde_tdelibdir}/ktschedulerplugin.la
+%{tde_tdelibdir}/ktschedulerplugin.so
+%{tde_tdelibdir}/ktsearchplugin.la
+%{tde_tdelibdir}/ktsearchplugin.so
+%{tde_tdelibdir}/ktstatsplugin.la
+%{tde_tdelibdir}/ktstatsplugin.so
+%{tde_tdelibdir}/ktupnpplugin.la
+%{tde_tdelibdir}/ktupnpplugin.so
+%{tde_tdelibdir}/ktwebinterfaceplugin.la
+%{tde_tdelibdir}/ktwebinterfaceplugin.so
+%{tde_tdeappdir}/ktorrent.desktop
+%{tde_datadir}/apps/ktorrent
+%{tde_datadir}/config.kcfg/*.kcfg
+%{tde_datadir}/icons/hicolor/*/*/*.png
+%{tde_datadir}/icons/hicolor/*/*/*.svgz
+%{tde_datadir}/services/*.desktop
+%{tde_datadir}/servicetypes/ktorrentplugin.desktop
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.2.8-3
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.2.8-2
+- Initial build for TDE 3.5.13.1
+
+* Sat May 05 2012 Francois Andriot <francois.andriot@free.fr> - 2.2.8-1
+- Rename old tq methods that no longer need a unique name [Commit #a90eb215]
+- Remove additional unneeded tq method conversions [Commit #bb37c405]
+- Rename obsolete tq methods to standard names [Commit #0d48fca8]
+- Rename a few stragglers [Commit #c3480dfe]
+- Fix inadvertent "TQ" changes. [Commit #445a5152]
+- Fix configure output message to clarify that missing avahi support is caused by missing avahi-tqt package as well as avahi-client. [Commit #03d0c794]
+- Update ktorrent package to 2.2.8 and fix internal geoip database. [Bug #363] [Commit #5af9907f]
+- Change default configuration to use external geoip database when found and use internal database only when external database is not found. [Bug #443] [Commit #355c6b69]
+
+* Tue Nov 29 2011 Francois Andriot <francois.andriot@free.fr> - 2.2.6-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kuickshow/trinity-kuickshow-3.5.13.2.spec b/redhat/applications/kuickshow/trinity-kuickshow-3.5.13.2.spec
new file mode 100644
index 000000000..44949183e
--- /dev/null
+++ b/redhat/applications/kuickshow/trinity-kuickshow-3.5.13.2.spec
@@ -0,0 +1,157 @@
+# Default version for this component
+%define tdecomp kuickshow
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: Quick picture viewer for KDE
+Version: 0.8.13
+Release: 6%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion}
+BuildRequires: imlib-devel
+%endif
+%if 0%{?suse_version} || 0%{?mgaversion}
+BuildRequires: imlib1-devel
+%endif
+
+%description
+Kuickshow is a picture viewer for KDE. It displays the directory structure,
+displaying images as thumbnails.
+Clicking on an image shows the image in its normal size.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{?buildroot}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+/sbin/ldconfig
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+/sbin/ldconfig
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{tde_bindir}/*
+%{tde_datadir}/applications/*/*.desktop
+%{tde_datadir}/apps/*/
+%{tde_datadir}/icons/hicolor/*/*/*
+%{tde_libdir}/lib[kt]deinit_%{tdecomp}.so
+%{tde_libdir}/*.la
+%{tde_tdelibdir}/*.so
+%{tde_tdelibdir}/*.la
+%{tde_tdedocdir}/HTML/en/*/
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.13-6
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.13-5
+- Initial build for TDE 3.5.13.1
+
+* Mon Jul 09 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.13-3
+- Removes conflict with 'kdegraphics'
+
+* Sat May 05 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.13-3
+- Rename old tq methods that no longer need a unique name [Commit #8712ab46]
+- Remove additional unneeded tq method conversions [Commit #28d9c774]
+- Rename obsolete tq methods to standard names [Commit #bdeb8b3a]
+- Remove inadvertent renaming [Commit #d97e403f] [Bug #863]
+
+* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.8.13-2
+- Import to GIT
+
+* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 0.8.13-1
+- Correct macro to install under "/opt", if desired
+
+* Sat Aug 13 2011 Francois Andriot <francois.andriot@free.fr> - 0.8.13-0
+- Initial build for RHEL 6.0
+
diff --git a/redhat/applications/kvirc/trinity-kvirc-3.5.13.2.spec b/redhat/applications/kvirc/trinity-kvirc-3.5.13.2.spec
new file mode 100644
index 000000000..d620baf4e
--- /dev/null
+++ b/redhat/applications/kvirc/trinity-kvirc-3.5.13.2.spec
@@ -0,0 +1,233 @@
+# REMOVE KDELIBS4-DEVEL before building !!!!
+
+# Default version for this component
+%define tdecomp kvirc
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: Trinity based next generation IRC client with module support
+Version: 3.4.0
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://kvirc.net/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+# [kvirc] Modules do not install in correct folder [RHEL/Fedora]
+Patch0: kvirc-3.5.13.2-fix_ftbfs.patch
+# [kvirc] FTBFS because of missing link libraries [Bug #991]
+Patch1: kvirc-3.5.13-ftbfs.patch
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+Requires: %{name}-data = %{version}-%{release}
+
+%description
+A highly configurable graphical IRC client with an MDI interface,
+built-in scripting language, support for IRC DCC, drag & drop file
+browsing, and much more. KVIrc uses the KDE widget set, can be extended
+using its own scripting language, integrates with KDE, and supports
+custom plugins.
+
+If you are a developer and you want to write a custom module for KVIrc,
+you need to install the kvirc-dev package.
+
+%package data
+Group: Applications/Utilities
+Summary: Data files for KVIrc
+Requires: %{name} = %{version}-%{release}
+
+%description data
+This package contains the architecture-independent data needed by KVIrc in
+order to run, such as icons and images, language files, and shell scripts.
+It also contains complete reference guides on scripting and functions
+within KVIrc in its internal help format. Unless you want to use KVIrc only
+as a very simple IRC client you are likely to want to write scripts to
+tailor KVIrc to your needs.
+
+KVIrc is a graphical IRC client based on the KDE widget set which integrates
+with the K Desktop Environment version 3.
+
+%package devel
+Group: Development/Libraries
+Summary: Development files for KVIrc
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains KVIrc libraries and include files you need if you
+want to develop plugins for KVIrc.
+
+KVIrc is a graphical IRC client based on the KDE widget set which integrates
+with the K Desktop Environment version 3.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+%patch0 -p1
+%patch1 -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"
+
+# Hardcoded absolute PATH to KDEDIR in source code ! That sucks !
+%__sed -i "src/kvirc/kernel/kvi_app_fs.cpp" \
+ -e "s|/opt/kde3/lib|%{tde_prefix}/%{_lib}|g"
+%__sed -i "src/kvirc/kernel/kvi_app_setup.cpp" \
+ -e "s|/opt/kde3|%{tde_prefix}|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"
+./autogen.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}
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-fno-rtti --with-aa-fonts --with-big-channels \
+ --enable-perl --with-pic --enable-wall \
+ --with-ix86-asm \
+ --with-extra-includes=%{tde_includedir}/tqt:%{tde_includedir} \
+ --with-kde-services-dir=%{tde_datadir}/services \
+ --with-kde-library-dir=%{tde_libdir} \
+ --with-kde-include-dir=%{tde_tdeincludedir} \
+ --with-qt-library-dir=${QTLIB:-${QTDIR}/%{_lib}} \
+ --with-qt-include-dir=${QTINC:-${QTDIR}/include} \
+ --with-qt-moc=${QTDIR}/bin/moc \
+ --enable-closure
+
+# Symbolic links must exist prior to parallel building
+%__make symlinks -C src/kvilib/build
+%__make symlinks -C src/kvirc/build
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# Debian maintainer has renamed 'COPYING' file to 'EULA', so we do the same ...
+%__mv \
+ %{?buildroot}%{tde_datadir}/kvirc/3.4/license/COPYING \
+ %{?buildroot}%{tde_datadir}/kvirc/3.4/license/EULA
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+/sbin/ldconfig
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+/sbin/ldconfig
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files
+%defattr(-,root,root,-)
+%doc ChangeLog FAQ README TODO
+%{tde_bindir}/kvirc
+%{tde_libdir}/*.so.*
+#%{tde_libdir}/kvirc/*/modules/*.so
+
+%files data
+%defattr(-,root,root,-)
+%{tde_bindir}/kvi_run_netscape
+%{tde_bindir}/kvi_search_help
+#%{tde_libdir}/kvirc/*/modules/caps/
+%{tde_datadir}/applnk/Internet/kvirc.desktop
+%{tde_datadir}/icons/hicolor/*/*/*.png
+%{tde_datadir}/icons/hicolor/*/*/*.svgz
+%{tde_datadir}/icons/hicolor/*/*/*.xpm
+%{tde_datadir}/kvirc
+%{tde_datadir}/mimelnk/text/*.desktop
+%{tde_datadir}/services/*.protocol
+%{tde_mandir}/man1/kvirc.1
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_bindir}/kvirc-config
+%{tde_includedir}/kvirc/
+%{tde_libdir}/*.la
+%{tde_libdir}/*.so
+#%{tde_libdir}/kvirc/*/modules/*.la
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.4.0-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 3.4.0-3
+- Initial build for TDE 3.5.13.1
+
+* Sat May 05 2012 Francois Andriot <francois.andriot@free.fr> - 3.4.0-2
+- Rebuilt for Fedora 17
+- Fix HTML directory location
+- Rename old tq methods that no longer need a unique name [Commit #32a249ba]
+- Remove additional unneeded tq method conversions [Commit #f9114981]
+- Rename obsolete tq methods to standard names [Commit #2dd6d32b]
+- Rename a few stragglers [Commit #1c00d6ff]
+- Fix FTBFS [Commits #ff96f491, #2285efe5]
+- Fix linear alphabet string errors [Commit #51bbe9e5]
+- Fix inadvertent "TQ" changes. [Commit #a24a8595]
+- Fix "acinclude.m4" file [Bug #980]
+
+* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 3.4.0-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/kvkbd/trinity-kvkbd-3.5.13.2.spec b/redhat/applications/kvkbd/trinity-kvkbd-3.5.13.2.spec
new file mode 100644
index 000000000..5c3b32191
--- /dev/null
+++ b/redhat/applications/kvkbd/trinity-kvkbd-3.5.13.2.spec
@@ -0,0 +1,131 @@
+# Default version for this component
+%define tdecomp kvkbd
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: Virtual keyboard for KDE [Trinity]
+Version: 0.4.8
+Release: 3%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/System
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://pan4os.info/main/index.php
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+
+%description
+Virtual keyboard for KDE for use with accessibility. Application contains
+a systray widget as well as a dockwidget.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%{tde_bindir}/kvkbd
+%{tde_datadir}/applnk/Utilities/kvkbd.desktop
+%{tde_datadir}/apps/kvkbd/pics/dock.png
+%{tde_datadir}/apps/kvkbd/pics/tray.png
+%{tde_datadir}/icons/hicolor/*/apps/kvkbd.png
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.8-3
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.8-2
+- Initial build for TDE 3.5.13.1
+
+* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.8-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
+
diff --git a/redhat/applications/piklab/trinity-piklab-3.5.13.2.spec b/redhat/applications/piklab/trinity-piklab-3.5.13.2.spec
new file mode 100644
index 000000000..716da9a18
--- /dev/null
+++ b/redhat/applications/piklab/trinity-piklab-3.5.13.2.spec
@@ -0,0 +1,160 @@
+# Default version for this component
+%define tdecomp piklab
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_tdedocdir}
+
+
+Name: trinity-%{tdecomp}
+Summary: IDE for PIC-microcontroller development [Trinity]
+Version: 0.15.2
+Release: 5%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+BuildRequires: readline-devel
+
+%description
+Piklab is an integrated development environment for applications based on
+Microchip PIC and dsPIC microcontrollers similar to the MPLAB environment.
+
+Support for several compiler and assembler toolchains is integrated. The
+GPSim simulator, the ICD1 programmer, the ICD2 debugger, the PICkit1 and
+PICkit2 programmers, the PicStart+ programmer, and most direct programmers
+are supported. A command-line programmer and debugger are also available.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# Incorrect extension on manpage
+%__mv -f %{buildroot}%{tde_mandir}/man1/piklab.1x %{buildroot}%{tde_mandir}/man1/piklab.1
+
+%find_lang %{tdecomp}
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%{tde_bindir}/piklab
+%{tde_bindir}/piklab-coff
+%{tde_bindir}/piklab-hex
+%{tde_bindir}/piklab-prog
+%{tde_tdeappdir}/piklab.desktop
+%{tde_datadir}/apps/katepart/syntax/asm-pic.xml
+%{tde_datadir}/apps/katepart/syntax/coff-c-pic.xml
+%{tde_datadir}/apps/katepart/syntax/coff-pic.xml
+%{tde_datadir}/apps/katepart/syntax/jal-pic.xml
+%{tde_datadir}/apps/piklab
+%{tde_tdedocdir}/HTML/en/piklab
+%{tde_datadir}/icons/hicolor/*/*/*.png
+%{tde_datadir}/mimelnk/application/x-piklab.desktop
+%{tde_mandir}/man1/piklab-coff.1
+%{tde_mandir}/man1/piklab-hex.1
+%{tde_mandir}/man1/piklab-prog.1
+%{tde_mandir}/man1/piklab.1
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.15.2-5
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.15.2-4
+- Initial build for TDE 3.5.13.1
+
+* Sun Apr 06 2012 Francois Andriot <francois.andriot@free.fr> - 0.15.2-3
+- Fix MAN directory location
+- Fix compilation with GCC 4.7 [Bug #958]
+
+* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 0.15.2-2
+- Fix HTML directory location
+
+* Thu Nov 24 2011 Francois Andriot <francois.andriot@free.fr> - 0.15.2-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/potracegui/trinity-potracegui-3.5.13.2.spec b/redhat/applications/potracegui/trinity-potracegui-3.5.13.2.spec
new file mode 100644
index 000000000..371cd9240
--- /dev/null
+++ b/redhat/applications/potracegui/trinity-potracegui-3.5.13.2.spec
@@ -0,0 +1,137 @@
+# Default version for this component
+%define tdecomp potracegui
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_tdedocdir}
+
+
+Name: trinity-%{tdecomp}
+Summary: KDE frontend for potrace [Trinity]
+Version: 1.3
+Release: 3%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Multimedia
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://potracegui.sourceforge.net
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+
+%description
+A KDE interface for the commandline tracing tools potrace and/or autotrace. It
+supports drag and drop as well as all image types recognized by KDE, which are
+a lot more than the 4 recognized by the potrace commandline tool. Loading of
+remote files (web, ftp, ...) is also supported.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%{tde_bindir}/potracegui
+%{tde_datadir}/applnk/Utilities/potracegui.desktop
+%{tde_datadir}/apps/potracegui/potraceguiui.rc
+%{tde_tdedocdir}/HTML/en/potracegui/common
+%{tde_tdedocdir}/HTML/en/potracegui/index.cache.bz2
+%{tde_tdedocdir}/HTML/en/potracegui/index.docbook
+%{tde_datadir}/icons/hicolor/16x16/apps/potracegui.png
+%{tde_datadir}/icons/hicolor/32x32/apps/potracegui.png
+%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/potracegui.mo
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.3-3
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.3-2
+- Initial build for TDE 3.5.13.1
+
+* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 1.3-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
+
diff --git a/redhat/applications/rosegarden/trinity-rosegarden-3.5.13.2.spec b/redhat/applications/rosegarden/trinity-rosegarden-3.5.13.2.spec
new file mode 100644
index 000000000..dc4b8cdc6
--- /dev/null
+++ b/redhat/applications/rosegarden/trinity-rosegarden-3.5.13.2.spec
@@ -0,0 +1,221 @@
+# Default version for this component
+%define tdecomp rosegarden
+
+# Required for Mageia 2: removes the ldflag '--no-undefined'
+%define _disable_ld_no_undefined 1
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_tdedocdir}
+
+
+Name: trinity-%{tdecomp}
+Summary: music editor and MIDI/audio sequencer [Trinity]
+Version: 1.7.0
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Multimedia
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.rosegardenmusic.com/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+BuildRequires: fftw-devel
+BuildRequires: dssi-devel
+BuildRequires: liblo-devel
+BuildRequires: fontconfig-devel
+
+# LRDF support
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: liblrdf-devel
+%endif
+
+# JACK support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}jack-devel
+%else
+BuildRequires: jack-audio-connection-kit-devel
+%endif
+
+# LIRC support
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_lirc 1
+BuildRequires: lirc-devel
+%endif
+
+Requires: lilypond
+Requires: perl-XML-Twig
+
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+Requires: libsndfile-progs
+%else
+%if 0%{?rhel}
+Requires: libsndfile
+%else
+Requires: libsndfile-utils
+%endif
+%endif
+
+
+Requires: %{name}-data == %{version}-%{release}
+
+%description
+Rosegarden is a KDE application which provides a mixed Audio/MIDI
+sequencer (for playback and recording), a multi-track editor, music
+editing using both piano-roll and score notation, MIDI file IO,
+lilypond and Csound files export, etc.
+
+%package data
+Group: Applications/Multimedia
+Requires: %{name} == %{version}-%{release}
+Summary: music editor and MIDI/audio sequencer data files [Trinity]
+
+%description data
+Rosegarden is a KDE application which provides a mixed Audio/MIDI
+sequencer (for playback and recording), a multi-track editor, music
+editing using both piano-roll and score notation, MIDI file IO,
+lilypond and Csound files export, etc.
+
+This package provides the data files necessary for running Rosegarden
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# Hard-coded path to TQT binaries spotted !!!
+%__sed -i CMakeLists.txt \
+ -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \
+ -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g"
+
+%build
+unset QTDIR && . %{_sysconfdir}/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt:%{tde_tdeincludedir}"
+
+%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" \
+ -DWANT_DEBUG=OFF \
+ -DWANT_FULLDBG=OFF \
+ -DWANT_SOUND=ON \
+ -DWANT_JACK=ON \
+ -DWANT_DSSI=ON \
+ %{?with_lirc:-DWANT_LIRC=ON} %{?!with_lirc:-DWANT_LIRC=OFF} \
+ -DWANT_PCH=OFF \
+ -DWANT_TEST=OFF \
+ -DBUILD_ALL=ON \
+ ..
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+
+%find_lang %{tdecomp}
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+for f in hicolor locolor; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+for f in hicolor locolor; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/rosegarden
+%{tde_bindir}/rosegarden-audiofile-importer
+%{tde_bindir}/rosegarden-lilypondview
+%{tde_bindir}/rosegarden-project-package
+%{tde_bindir}/rosegardensequencer
+
+%files data -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%{tde_tdeappdir}/rosegarden.desktop
+%{tde_datadir}/apps/profiles/rosegarden.profile.xml
+%lang(en) %{tde_tdedocdir}/HTML/en/rosegarden
+%lang(es) %{tde_tdedocdir}/HTML/es/rosegarden
+%lang(ja) %{tde_tdedocdir}/HTML/ja/rosegarden
+%lang(sv) %{tde_tdedocdir}/HTML/sv/rosegarden
+%{tde_datadir}/apps/rosegarden
+%{tde_datadir}/icons/hicolor/*/*/*
+%{tde_datadir}/icons/locolor/*/*/*
+%{tde_datadir}/mimelnk/audio/x-rosegarden-device.desktop
+%{tde_datadir}/mimelnk/audio/x-rosegarden.desktop
+%{tde_datadir}/mimelnk/audio/x-rosegarden21.desktop
+%{tde_datadir}/mimelnk/audio/x-soundfont.desktop
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.7.0-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.7.0-3
+- Initial build for TDE 3.5.13.1
+
+* Sun Apr 06 2012 Francois Andriot <francois.andriot@free.fr> - 1.7.0-2
+- Updated to build with gcc 4.7. [Commit #15276f36]
+- Enables JACK support
+
+* Sat Nov 26 2011 Francois Andriot <francois.andriot@free.fr> - 1.7.0-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/smartcardauth/trinity-smartcardauth-3.5.13.2.spec b/redhat/applications/smartcardauth/trinity-smartcardauth-3.5.13.2.spec
new file mode 100644
index 000000000..4e5c3f16d
--- /dev/null
+++ b/redhat/applications/smartcardauth/trinity-smartcardauth-3.5.13.2.spec
@@ -0,0 +1,157 @@
+# Default version for this component
+%define tdecomp smartcardauth
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_tdedocdir}
+
+
+Name: trinity-%{tdecomp}
+Summary: SmartCard Login and LUKS Decrypt, Setup Utility
+Version: 1.0
+Release: 3%{?dist}%{?_variant}
+
+License: GPLv2+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+#BuildRequires: perl-PAR-Packer
+%if 0%{?mgaversion} || 0%{?mdkversion}
+Requires: perl-pcsc-perl
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+Requires: pcsc-perl
+%endif
+%if 0%{?suse_version}
+Requires: perl-pcsc
+%endif
+
+%description
+This utility will allow you to set up your computer to accept a SmartCard as an authentication source for:
+- Your encrypted LUKS partition
+- TDE3.x, including automatic login, lock, and unlock features
+
+It is designed to work with any ISO 7816-1,2,3,4 compliant smartcard
+Examples of such cards are:
+- The Schlumberger MultiFlex
+- The ACS ACOS5 / ACOS6 series of cryptographic ISO 7816 cards
+
+If a card is chosen that has PKSC support, such as the ACOS cards, this utility can run
+simultaneously with the certificate reading program(s) to provide single sign on
+in addition to the PKCS certificate functionality
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+unset QTDIR; . /etc/profile.d/qt3.sh
+%setup -q -n %{name}-3.5.13.2
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i "src/Makefile" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|/usr/include/qt3|${QTINC}|g"
+
+%__sed -i "Makefile" \
+ -e "s|/usr/lib/perl5/Chipcard|/usr/lib64/perl5/vendor_perl/Chipcard|g"
+
+%build
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+./build_ckpasswd
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+
+%__install -D -m 755 scriptor_standalone.pl %{buildroot}%{tde_bindir}/scriptor.pl
+%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthckpasswd
+#%__install -D -m 755 src/ckpasswd %{buildroot}%{tde_bindir}/smartauthmon
+%__ln_s smartauthckpasswd %{buildroot}%{tde_bindir}/smartauthmon
+%__cp -Rp usr/* %{buildroot}%{tde_prefix}
+
+%__mkdir_p %{buildroot}%{_sysconfdir}
+%__cp -Rp etc/* %{buildroot}%{_sysconfdir}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files
+%defattr(-,root,root,-)
+%doc gpl.txt
+%{_sysconfdir}/init/smartauthlogin.conf
+%{_sysconfdir}/smartauth/smartauth.sh.in
+%{_sysconfdir}/smartauth/smartauthmon.sh.in
+%{tde_bindir}/cryptosmartcard.sh
+%{tde_bindir}/scriptor.pl
+%{tde_bindir}/setupcard.sh
+%{tde_bindir}/setupslavecard.sh
+%{tde_bindir}/smartauth.sh
+%{tde_bindir}/smartauthckpasswd
+%{tde_bindir}/smartauthmon
+%{tde_datadir}/applications/smartcardauth.desktop
+%{tde_datadir}/applications/smartcardrestrict.desktop
+%{tde_datadir}/icons/hicolor/16x16/apps/smartcardauth.png
+%{tde_datadir}/icons/hicolor/32x32/apps/smartcardauth.png
+%{tde_datadir}/initramfs-tools/hooks/cryptlukssc
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-3
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0-2
+- Initial build for TDE 3.5.13.1
+
+* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 1.0-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
+
diff --git a/redhat/applications/smb4k/trinity-smb4k-3.5.13.2.spec b/redhat/applications/smb4k/trinity-smb4k-3.5.13.2.spec
new file mode 100644
index 000000000..ff61163b4
--- /dev/null
+++ b/redhat/applications/smb4k/trinity-smb4k-3.5.13.2.spec
@@ -0,0 +1,192 @@
+# Default version for this component
+%define tdecomp smb4k
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_tdedocdir}
+
+
+Name: trinity-%{tdecomp}
+Summary: A Samba (SMB) share advanced browser for Trinity
+Version: 0.9.4
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+
+%description
+Smb4K is a SMB (Windows) share browser for KDE. It uses the Samba software
+suite to access the SMB shares of the local network neighborhood. Its purpose
+is to provide a program that's easy to use and has as many features as
+possible.
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%{tde_bindir}/smb4k
+%{tde_bindir}/smb4k_cat
+%{tde_bindir}/smb4k_kill
+%{tde_bindir}/smb4k_mount
+%{tde_bindir}/smb4k_mv
+%{tde_bindir}/smb4k_umount
+%{tde_libdir}/libsmb4kcore.so.2
+%{tde_libdir}/libsmb4kcore.so.2.0.0
+%{tde_libdir}/libsmb4kdialogs.la
+%{tde_libdir}/libsmb4kdialogs.so
+%{tde_tdelibdir}/konqsidebar_smb4k.la
+%{tde_tdelibdir}/konqsidebar_smb4k.so
+%{tde_tdelibdir}/libsmb4kconfigdialog.la
+%{tde_tdelibdir}/libsmb4kconfigdialog.so
+%{tde_tdelibdir}/libsmb4knetworkbrowser.la
+%{tde_tdelibdir}/libsmb4knetworkbrowser.so
+%{tde_tdelibdir}/libsmb4ksearchdialog.la
+%{tde_tdelibdir}/libsmb4ksearchdialog.so
+%{tde_tdelibdir}/libsmb4ksharesiconview.la
+%{tde_tdelibdir}/libsmb4ksharesiconview.so
+%{tde_tdelibdir}/libsmb4kshareslistview.la
+%{tde_tdelibdir}/libsmb4kshareslistview.so
+%{tde_tdeappdir}/smb4k.desktop
+%{tde_datadir}/apps/konqsidebartng/add/smb4k_add.desktop
+%{tde_datadir}/apps/smb4k/smb4k_shell.rc
+%{tde_datadir}/apps/smb4knetworkbrowserpart/smb4knetworkbrowser_part.rc
+%{tde_datadir}/apps/smb4ksharesiconviewpart/smb4ksharesiconview_part.rc
+%{tde_datadir}/apps/smb4kshareslistviewpart/smb4kshareslistview_part.rc
+%{tde_datadir}/config.kcfg/smb4k.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/smb4k.png
+%{tde_tdedocdir}/HTML/en/smb4k/
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/crystalsvg || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
+/sbin/ldconfig || :
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/crystalsvg || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
+/sbin/ldconfig || :
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+%{summary}
+
+%files devel
+%{tde_tdeincludedir}/*.h
+%{tde_libdir}/libsmb4kcore.la
+%{tde_libdir}/libsmb4kcore.so
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+# SMP safe !
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{tdecomp}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.9.4-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.4-3
+- Initial build for TDE 3.5.13.1
+
+* Sun Apr 06 2012 Francois Andriot <francois.andriot@free.fr> - 0.9.4-2
+- Rebuild for Fedora 17
+- Fix compilation with GCC 4.7 |Commit #b4c7fd48]
+
+* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 0.9.4-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/soundkonverter/trinity-soundkonverter-3.5.13.2.spec b/redhat/applications/soundkonverter/trinity-soundkonverter-3.5.13.2.spec
new file mode 100644
index 000000000..69cd98a8c
--- /dev/null
+++ b/redhat/applications/soundkonverter/trinity-soundkonverter-3.5.13.2.spec
@@ -0,0 +1,184 @@
+# Default version for this component
+%define tdecomp soundkonverter
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_tdedocdir}
+
+
+Name: trinity-%{tdecomp}
+Summary: audio converter frontend for Trinity
+Version: 0.3.8
+Release: 3%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Application/Multimedia
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://potracegui.sourceforge.net
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+
+%description
+soundKonverter is a frontend to various audio converters.
+
+The key features are:
+ - Audio conversion
+ - Replay Gain calculation
+ - CD ripping
+
+soundKonverter supports reading and writing tags for many formats, so the tags
+are preserved when converting files.
+
+It comes with an Amarok script.
+
+See 'soundkonverter-amarok' package for more informations.
+
+See README.Debian for more informations on supported formats.
+
+
+%package amarok
+Summary: audio converter frontend for Trinity (Amarok script)
+Group: Application/Multimedia
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-amarok
+
+%description amarok
+Amarok script for soundKonverter. It allows you to easily transcode files when
+transferring them to your media device.
+
+See the 'soundkonverter-trinity' package for more information.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt:/usr/include/cdda \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{tdecomp}
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+update-desktop-database %{tde_appdir} > /dev/null
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%{tde_bindir}/soundkonverter
+%{tde_bindir}/userscript.sh
+%{tde_tdeappdir}/soundkonverter.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract_with_soundkonverter.desktop
+%{tde_datadir}/apps/soundkonverter
+%exclude %{tde_datadir}/apps/soundkonverter/amarokscript/README
+%exclude %{tde_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb
+%{tde_tdedocdir}/HTML/en/soundkonverter/common
+%{tde_tdedocdir}/HTML/en/soundkonverter/index.cache.bz2
+%{tde_tdedocdir}/HTML/en/soundkonverter/index.docbook
+%{tde_datadir}/icons/hicolor/*/apps/soundkonverter*.png
+%{tde_datadir}/mimelnk/application/x-la.soundkonverter.desktop
+%{tde_datadir}/mimelnk/application/x-ofc.soundkonverter.desktop
+%{tde_datadir}/mimelnk/application/x-ofr.soundkonverter.desktop
+%{tde_datadir}/mimelnk/application/x-ofs.soundkonverter.desktop
+%{tde_datadir}/mimelnk/application/x-shorten.soundkonverter.desktop
+%{tde_datadir}/mimelnk/audio/amr.soundkonverter.desktop
+%{tde_datadir}/mimelnk/audio/x-ape.soundkonverter.desktop
+%{tde_datadir}/mimelnk/audio/x-bonk.soundkonverter.desktop
+%{tde_datadir}/mimelnk/audio/x-pac.soundkonverter.desktop
+%{tde_datadir}/mimelnk/audio/x-tta.soundkonverter.desktop
+%{tde_datadir}/mimelnk/audio/x-wavpack-correction.soundkonverter.desktop
+%{tde_datadir}/mimelnk/audio/x-wavpack.soundkonverter.desktop
+%{tde_datadir}/mimelnk/video/x-flv.soundkonverter.desktop
+
+%files amarok
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/soundkonverter/amarokscript/README
+%{tde_datadir}/apps/soundkonverter/amarokscript/soundKonverter.rb
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.3.8-3
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.3.8-2
+- Initial build for TDE 3.5.13.1
+
+* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.3.8-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
+
diff --git a/redhat/applications/tde-guidance/trinity-tde-guidance-3.5.13.2.spec b/redhat/applications/tde-guidance/trinity-tde-guidance-3.5.13.2.spec
new file mode 100644
index 000000000..8c4aef75b
--- /dev/null
+++ b/redhat/applications/tde-guidance/trinity-tde-guidance-3.5.13.2.spec
@@ -0,0 +1,441 @@
+# REMOVE KDELIBS4-DEVEL before building !!!!
+
+%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+%define __arch_install_post %{nil}
+
+Name: trinity-tde-guidance
+Summary: A collection of system administration tools for Trinity
+Version: 0.8.0svn20080103
+Release: 5%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.simonzone.com/software/guidance
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: trinity-tde-guidance-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+BuildRequires: trinity-pytdeextensions
+BuildRequires: trinity-libpythonize0-devel
+BuildRequires: trinity-python-trinity
+BuildRequires: chrpath
+BuildRequires: gcc-c++
+
+# SIP support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: python-sip
+%endif
+%if 0%{?suse_version}
+BuildRequires: python-sip-devel
+%endif
+%if 0%{?rhel} == 5
+BuildRequires: trinity-sip-devel
+%endif
+%if 0%{?rhel} >= 6 || 0%{?fedora}
+BuildRequires: sip-devel
+%endif
+
+# PYTHON-QT support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: python-qt
+Requires: python-qt
+%endif
+%if 0%{?rhel} == 5 || 0%{?suse_version}
+BuildRequires: trinity-PyQt-devel
+Requires: trinity-PyQt
+%endif
+%if 0%{?rhel} >= 6 || 0%{?fedora}
+BuildRequires: PyQt-devel
+Requires: PyQt
+%endif
+
+
+Requires: trinity-python-trinity
+Requires: trinity-pytdeextensions
+Requires: %{name}-backends = %{version}-%{release}
+Requires: python
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+Requires: hwdata
+%endif
+
+
+%if "%{tde_prefix}" == "/usr"
+Conflicts: guidance-power-manager
+Conflicts: kde-guidance-powermanager
+%endif
+
+Obsoletes: trinity-guidance < %{version}-%{release}
+Provides: trinity-guidance = %{version}-%{release}
+
+%description
+Guidance currently consists of four programs designed to help you
+look after your system:
+ o userconfig - User and Group administration
+ o serviceconfig - Service/daemon administration
+ o mountconfig - Disk and filesystem administration
+ o wineconfig - Wine configuration
+
+These tools are available in Trinity Control Center, System Settings
+or can be run as standalone applications.
+
+
+
+%package backends
+Group: Applications/Utilities
+Summary: collection of system administration tools for GNU/Linux [Trinity]
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+Requires: hwdata
+%endif
+Requires: python
+
+Obsoletes: trinity-guidance-backends < %{version}-%{release}
+Provides: trinity-guidance-backends = %{version}-%{release}
+
+%description backends
+This package contains the platform neutral backends used in the
+Guidance configuration tools.
+
+
+%package powermanager
+Group: Applications/Utilities
+Summary: HAL based power manager applet [Trinity]
+Requires: %{name} = %{version}-%{release}
+
+Obsoletes: trinity-guidance-powermanager < %{version}-%{release}
+Provides: trinity-guidance-powermanager = %{version}-%{release}
+
+%description powermanager
+A power management applet to indicate battery levels and perform hibernate or
+suspend using HAL.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n trinity-tde-guidance-3.5.13.2
+
+
+%build
+unset QTDIR; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+export KDEDIR=%{tde_prefix}
+
+# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia
+export PYTHONDONTWRITEBYTECODE=
+
+# Ugly hack for building Guidance in a non-standard python directory
+export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}"
+
+# FTBFS on PCLOS ...
+export CXXFLAGS="${RPM_OPT_FLAGS} -I%{tde_tdeincludedir} -I%{tde_includedir}"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ %__sed -i "setup.py" -e "s|/usr/X11R6/lib|/usr/X11R6/%{_lib}|g"
+fi
+
+./setup.py build
+
+
+%install
+unset QTDIR; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+export EXTRA_MODULE_DIR="%{python_sitearch}/%{name}"
+
+# For RHEL4 only
+export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt
+
+# For Mageia/Mandriva: Avoids 'error: byte-compiling must be disabled.
+export PYTHONDONTWRITEBYTECODE=
+
+%__rm -rf %{buildroot}
+./setup.py install \
+ --prefix=%{tde_prefix} \
+ --root=%{buildroot}
+
+# Fix temporary build directories remaining inside .py files
+for f in %{buildroot}%{tde_datadir}/apps/guidance/*.py; do
+ %__sed -i "${f}" -e "s|%{buildroot}||g"
+done
+
+##### MAIN PACKAGE INSTALLATION (based on Debian/Ubuntu packaging rules)
+# install icons to right place
+%__mkdir_p %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps
+%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-app-daemons.png \
+ %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/daemons.png
+%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/kcmpartitions.png \
+ %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/disksfilesystems.png
+%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-user.png \
+ %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/userconfig.png
+%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/hi32-display.png \
+ %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/displayconfig.png
+%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/pics/32-wine.png \
+ %{buildroot}%{tde_datadir}/icons/crystalsvg/32x32/apps/wineconfig.png
+%__install -D -p -m0644 kde/wineconfig/pics/16x16/wineconfig.png \
+ %{buildroot}%{tde_datadir}/icons/crystalsvg/16x16/apps/wineconfig.png
+
+# fix binary-or-shlib-defines-rpath
+chrpath -d %{buildroot}%{tde_tdelibdir}/kcm_*.so
+
+# fix executable-not-elf-or-script
+%__chmod 0644 %{buildroot}%{tde_datadir}/apps/guidance/pics/kdewinewizard.png
+
+# move python modules in %{python_sitearch} (/usr/lib/pythonXX/site-packages)
+%__mkdir_p %{buildroot}%{python_sitearch}/%{name}
+%__mv -f %{buildroot}%{tde_datadir}/apps/guidance/*.py* %{buildroot}%{python_sitearch}/%{name}
+
+# fix the link properly
+%__rm -f %{buildroot}%{tde_bindir}/*
+#%__ln_s -f %{python_sitearch}/%{name}/displayconfig.py %{buildroot}%{tde_bindir}/displayconfig
+%__ln_s -f %{python_sitearch}/%{name}/mountconfig.py %{buildroot}%{tde_bindir}/mountconfig
+%__ln_s -f %{python_sitearch}/%{name}/serviceconfig.py %{buildroot}%{tde_bindir}/serviceconfig
+%__ln_s -f %{python_sitearch}/%{name}/userconfig.py %{buildroot}%{tde_bindir}/userconfig
+%__ln_s -f %{python_sitearch}/%{name}/wineconfig.py %{buildroot}%{tde_bindir}/wineconfig
+%__ln_s -f %{python_sitearch}/%{name}/grubconfig.py %{buildroot}%{tde_bindir}/grubconfig
+
+# (obsolete) put this here since gnome people probably don't want it by default
+#%__ln_s -f %{_python_sitearch}/%{name}/displayconfig-restore.py %{buildroot}%{tde_bindir}/displayconfig-restore
+
+# fix script-not-executable
+%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/fuser.py
+%__chmod 0755 %{buildroot}%{python_sitearch}/%{name}/grubconfig.py
+
+%__mv -f %{buildroot}%{tde_datadir}/applications/kde/displayconfig.desktop %{buildroot}%{tde_datadir}/applications/kde/guidance-displayconfig.desktop
+
+##### BACKENDS INSTALLATION
+# install displayconfig-hwprobe.py script
+%__install -D -p -m0755 displayconfig/displayconfig-hwprobe.py \
+ %{buildroot}%{python_sitearch}/%{name}/displayconfig-hwprobe.py
+
+# The xf86misc stuff should not go under /opt/trinity bur under /usr !!!
+%__mv -f %{buildroot}%{tde_libdir}/python*/site-packages/ixf86misc.so %{buildroot}%{python_sitearch}
+%__mv -f %{buildroot}%{tde_libdir}/python*/site-packages/xf86misc.py* %{buildroot}%{python_sitearch}/%{name}
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%__rm -f %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB
+%__ln_s -f /usr/share/hwdata/MonitorsDB %{buildroot}%{tde_datadir}/apps/guidance/MonitorsDB
+%endif
+
+
+##### POWERMANAGER INSTALLATION
+# install icon to right place
+%__install -D -p -m0644 kde/powermanager/pics/battery-charging-100.png \
+ %{buildroot}%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png
+%__install -D -p -m0644 kde/powermanager/pics/*.png \
+ %{buildroot}%{tde_datadir}/apps/guidance/pics/
+
+# install desktop file
+%__install -D -p -m0644 powermanager/guidance-power-manager.desktop \
+ %{buildroot}%{tde_datadir}/autostart/guidance-power-manager.desktop
+
+# copy python modules in PYSUPPORT_PATH
+%__cp powermanager/guidance_power_manager_ui.py %{buildroot}%{python_sitearch}/%{name}
+%__cp powermanager/notify.py %{buildroot}%{python_sitearch}/%{name}
+%__cp powermanager/tooltip.py %{buildroot}%{python_sitearch}/%{name}
+
+# generate guidance-power-manager script
+cat <<EOF >%{buildroot}%{tde_bindir}/guidance-power-manager
+#!/bin/sh
+export PYTHONPATH=%{python_sitearch}/%{name}
+%{python_sitearch}/%{name}/guidance-power-manager.py &
+EOF
+chmod +x %{buildroot}%{tde_bindir}/guidance-power-manager
+
+# fix script-not-executable
+chmod 0755 %{buildroot}%{python_sitearch}/%{name}/powermanage.py
+chmod 0755 %{buildroot}%{python_sitearch}/%{name}/gpmhelper.py
+
+
+# Replace all '#!' calls to python with /usr/bin/python
+# and make them executable
+for i in `find %{buildroot} -type f`; do
+ sed '1s,#!.*python[^ ]*\(.*\),#! /usr/bin/python\1,' \
+ $i > $i.temp;
+ if cmp --quiet $i $i.temp; then
+ rm -f $i.temp;
+ else
+ mv -f $i.temp $i;
+ chmod 755 $i;
+ echo "fixed interpreter: $i";
+ fi;
+done
+
+# Removes useless files
+find %{buildroot} -name "*.egg-info" -exec rm -f {} \;
+find %{buildroot}%{tde_libdir} -name "*.a" -exec rm -f {} \;
+
+# Removes obsolete display config manager
+%__rm -f %{?buildroot}/etc/X11/Xsession.d/40guidance-displayconfig_restore
+%__rm -f %{?buildroot}%{tde_tdelibdir}/kcm_displayconfig.*
+%__rm -f %{?buildroot}%{python_sitearch}/%{name}/displayconfig.py*
+%__rm -f %{?buildroot}%{python_sitearch}/%{name}/displayconfigwidgets.py*
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/crystalsvg || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
+/sbin/ldconfig || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/crystalsvg || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
+/sbin/ldconfig || :
+
+%post powermanager
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun powermanager
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files
+%defattr(-,root,root,-)
+%doc ChangeLog COPYING README TODO
+#%{tde_bindir}/displayconfig
+#%{tde_bindir}/displayconfig-restore
+%{tde_bindir}/grubconfig
+%{tde_bindir}/mountconfig
+%{tde_bindir}/serviceconfig
+%{tde_bindir}/userconfig
+%{tde_bindir}/wineconfig
+%attr(0644,root,root) %{tde_tdelibdir}/*.so
+%attr(0644,root,root) %{tde_tdelibdir}/*.la
+%{tde_datadir}/apps/guidance/
+%{tde_datadir}/applications/kde/*.desktop
+%{tde_datadir}/icons/crystalsvg/*/*/*.png
+%{tde_datadir}/icons/crystalsvg/*/*/*.svg
+%{python_sitearch}/%{name}/SMBShareSelectDialog.py*
+%{python_sitearch}/%{name}/SimpleCommandRunner.py*
+%{python_sitearch}/%{name}/fuser.py*
+%{python_sitearch}/%{name}/fuser_ui.py*
+%{python_sitearch}/%{name}/grubconfig.py*
+%{python_sitearch}/%{name}/ktimerdialog.py*
+%{python_sitearch}/%{name}/mountconfig.py*
+%{python_sitearch}/%{name}/servertestdialog.py*
+%{python_sitearch}/%{name}/serviceconfig.py*
+%{python_sitearch}/%{name}/sizeview.py*
+%{python_sitearch}/%{name}/unixauthdb.py*
+%{python_sitearch}/%{name}/userconfig.py*
+%{python_sitearch}/%{name}/wineconfig.py*
+%{tde_tdedocdir}/HTML/en/guidance/
+
+# Files from backends
+%exclude %{tde_datadir}/apps/guidance/vesamodes
+%exclude %{tde_datadir}/apps/guidance/extramodes
+%exclude %{tde_datadir}/apps/guidance/widescreenmodes
+%exclude %{tde_datadir}/apps/guidance/Cards+
+%exclude %{tde_datadir}/apps/guidance/pcitable
+%exclude %{tde_datadir}/apps/guidance/MonitorsDB
+
+# Files from powermanager
+%exclude %{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png
+%exclude %{tde_datadir}/apps/guidance/pics/ac-adapter.png
+%exclude %{tde_datadir}/apps/guidance/pics/battery*.png
+%exclude %{tde_datadir}/apps/guidance/pics/processor.png
+
+%files backends
+%defattr(-,root,root,-)
+%{python_sitearch}/%{name}/MicroHAL.py*
+%{python_sitearch}/%{name}/ScanPCI.py*
+%{python_sitearch}/%{name}/infimport.py*
+%{python_sitearch}/%{name}/displayconfigabstraction.py*
+%{python_sitearch}/%{name}/displayconfig-hwprobe.py*
+%{python_sitearch}/%{name}/displayconfig-restore.py*
+%{python_sitearch}/%{name}/drivedetect.py*
+%{python_sitearch}/%{name}/execwithcapture.py*
+%{python_sitearch}/%{name}/wineread.py*
+%{python_sitearch}/%{name}/winewrite.py*
+%{python_sitearch}/%{name}/xf86misc.py*
+%{python_sitearch}/%{name}/xorgconfig.py*
+%{python_sitearch}/ixf86misc.so
+%{tde_datadir}/apps/guidance/vesamodes
+%{tde_datadir}/apps/guidance/extramodes
+%{tde_datadir}/apps/guidance/widescreenmodes
+%{tde_datadir}/apps/guidance/Cards+
+%{tde_datadir}/apps/guidance/pcitable
+%{tde_datadir}/apps/guidance/MonitorsDB
+
+
+
+%files powermanager
+%defattr(-,root,root,-)
+%{tde_bindir}/guidance-power-manager
+%{python_sitearch}/%{name}/MicroHAL.py*
+%{python_sitearch}/%{name}/guidance-power-manager.py*
+%{python_sitearch}/%{name}/powermanage.py*
+%{python_sitearch}/%{name}/gpmhelper.py*
+%{python_sitearch}/%{name}/powermanager_ui.py*
+%{python_sitearch}/%{name}/guidance_power_manager_ui.py*
+%{python_sitearch}/%{name}/notify.py*
+%{python_sitearch}/%{name}/tooltip.py*
+%{tde_datadir}/icons/hicolor/22x22/apps/power-manager.png
+%{tde_datadir}/apps/guidance/pics/ac-adapter.png
+%{tde_datadir}/apps/guidance/pics/battery*.png
+%{tde_datadir}/apps/guidance/pics/processor.png
+%{tde_datadir}/autostart/guidance-power-manager.desktop
+
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.8.0svn20080103-5
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.0svn20080103-4
+- Initial build for TDE 3.5.13.1
+
+* Fri May 11 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.0svn20080103-3
+- Fix Python search dir
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.0svn20080103-2
+- Rebuilt for Fedora 17
+- Fix post and postun
+- Fix library locations
+
+* Thu Dec 01 2011 Francois Andriot <francois.andriot@free.fr> - 0.8.0svn20080103-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/tde-style-lipstik/trinity-tde-style-lipstik-3.5.13.2.spec b/redhat/applications/tde-style-lipstik/trinity-tde-style-lipstik-3.5.13.2.spec
new file mode 100644
index 000000000..fe718d23f
--- /dev/null
+++ b/redhat/applications/tde-style-lipstik/trinity-tde-style-lipstik-3.5.13.2.spec
@@ -0,0 +1,135 @@
+# Default version for this component
+%define tdecomp tde-style-lipstik
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-tde-style-lipstik
+Summary: Lipstik style for TDE
+Version: 2.2.3
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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: trinity-%{tdecomp}-3.5.13.2.tar.gz
+
+Obsoletes: trinity-kde-style-lipstik < %{version}-%{release}
+Provides: trinity-kde-style-lipstik = %{version}-%{release}
+Obsoletes: trinity-style-lipstik < %{version}-%{release}
+Provides: trinity-style-lipstik = %{version}-%{release}
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+
+%description
+Based on the plastik style, Lipstik is a purified style with many options to
+tune your desktop look.
+
+Lipstik also provides Lipstik-color-schemes
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n trinity-%{tdecomp}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{tde_tdelibdir}/kstyle_lipstik_config.la
+%{tde_tdelibdir}/kstyle_lipstik_config.so
+%{tde_tdelibdir}/plugins/styles/lipstik.la
+%{tde_tdelibdir}/plugins/styles/lipstik.so
+%{tde_datadir}/apps/kdisplay/color-schemes/lipstiknoble.kcsrc
+%{tde_datadir}/apps/kdisplay/color-schemes/lipstikstandard.kcsrc
+%{tde_datadir}/apps/kdisplay/color-schemes/lipstikwhite.kcsrc
+%{tde_datadir}/apps/kstyle/themes/lipstik.themerc
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.2.3-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.2.3-3
+- Initial build for TDE 3.5.13.1
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 2.2.3-2
+- Rebuilt for Fedora 17
+- Fix HTML directory location
+- Removes post and postun
+
+* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 2.2.3-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/tde-style-qtcurve/trinity-tde-style-qtcurve-3.5.13.2.spec b/redhat/applications/tde-style-qtcurve/trinity-tde-style-qtcurve-3.5.13.2.spec
new file mode 100644
index 000000000..b9d4a9d6b
--- /dev/null
+++ b/redhat/applications/tde-style-qtcurve/trinity-tde-style-qtcurve-3.5.13.2.spec
@@ -0,0 +1,160 @@
+# Default version for this component
+%define tdecomp tde-style-qtcurve
+%define tdeversion 3.5.13.2
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-tde-style-qtcurve
+Summary: This is a set of widget styles for Trinity based apps
+Version: 0.55.2
+Release: 5%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+Obsoletes: trinity-kde-style-qtcurve < %{version}-%{release}
+Provides: trinity-kde-style-qtcurve = %{version}-%{release}
+Obsoletes: trinity-style-qtcurve < %{version}-%{release}
+Provides: trinity-style-qtcurve = %{version}-%{release}
+
+%description
+This package together with gtk2-engines-qtcurve aim to provide a unified look
+and feel on the desktop when using TDE and Gnome applications.
+
+This package is most useful when installed together with
+gtk2-engines-qtcurve.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-%{tdeversion}%{?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 "CMakeLists.txt" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|/usr/bin/uic-tqt|%{tde_bindir}/uic-tqt|g" \
+ -e "s|/usr/bin/tmoc|%{tde_bindir}/tmoc|g"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+export KDEDIR="%{tde_prefix}"
+
+export CXXFLAGS="-I${QTINC} -I%{tde_tdeincludedir} ${CXXFLAGS}"
+
+# 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
+
+# Error in "po/tr.po"
+%if 0%{?rhel} == 4
+%__rm -f "po/tr.po"
+%endif
+
+%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" \
+ -DTDE_INCLUDE_DIR=%{tde_tdeincludedir} \
+ -DQTC_QT_ONLY=false \
+ -DQTC_STYLE_SUPPORT=true \
+ -DBUILD_ALL=on \
+ ..
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+%find_lang qtcurve || touch qtcurve.lang
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%files -f qtcurve.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{tde_tdelibdir}/kstyle_qtcurve_config.la
+%{tde_tdelibdir}/kstyle_qtcurve_config.so
+%{tde_tdelibdir}/plugins/styles/qtcurve.so
+%{tde_tdelibdir}/plugins/styles/qtcurve.la
+%{tde_datadir}/apps/kdisplay/color-schemes/QtCurve.kcsrc
+%{tde_datadir}/apps/kstyle/themes/qtcurve.themerc
+%{tde_datadir}/apps/QtCurve/*.qtcurve
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.55.2-5
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.55.2-4
+- Initial build for TDE 3.5.13.1
+
+* Sun Sep 09 2012 Francois Andriot <francois.andriot@free.fr> - 0.55.2-3
+- Switch to v3.5.13-sru branch
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.55.2-2
+- Rebuilt for Fedora 17
+- Removes post and postun
+
+* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 0.55.2-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/tde-systemsettings/trinity-tde-systemsettings-3.5.13.2.spec b/redhat/applications/tde-systemsettings/trinity-tde-systemsettings-3.5.13.2.spec
new file mode 100644
index 000000000..e311d1809
--- /dev/null
+++ b/redhat/applications/tde-systemsettings/trinity-tde-systemsettings-3.5.13.2.spec
@@ -0,0 +1,165 @@
+# Default version for this component
+%define tdecomp tde-systemsettings
+
+# 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
+# Currently, menu files under /etc/xdg conflict with KDE4
+%define tde_sysconfdir %{tde_prefix}/etc
+%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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-tde-systemsettings
+Summary: easy to use control centre for TDE
+Version: 0.0svn20070312
+Release: 6%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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: trinity-%{tdecomp}-3.5.13.2.tar.gz
+Source1: kde-settings-laptops.directory
+
+Provides: trinity-kde-systemsettings = %{version}-%{release}
+Obsoletes: trinity-kde-systemsettings < %{version}-%{release}
+Provides: trinity-systemsettings = %{version}-%{release}
+Obsoletes: trinity-systemsettings < %{version}-%{release}
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+Requires: trinity-guidance
+
+%description
+System preferences is a replacement for the TDE
+Control Centre with an improved user interface.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n trinity-%{tdecomp}-3.5.13.2
+
+# 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} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --sysconfdir=%{tde_sysconfdir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/desktop-directories/kde-settings-laptops.directory
+
+# Unwanted files
+%__rm -f %{buildroot}%{tde_datadir}/applications/kde/kcmfontinst.desktop
+%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/kde-settings-power.directory
+%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/kde-settings-system.directory
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/crystalsvg || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
+xdg-user-dirs-update
+
+%postun
+touch --no-create %{tde_datadir}/icons/crystalsvg || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
+xdg-user-dirs-update
+
+%files
+%defattr(-,root,root,-)
+%doc README TODO
+%{tde_sysconfdir}/xdg/menus/applications-merged/system-settings-merge.menu
+%{tde_sysconfdir}/xdg/menus/system-settings.menu
+%{tde_bindir}/systemsettings
+%{tde_datadir}/applications/kde/audioencoding.desktop
+%{tde_datadir}/applications/kde/defaultapplication.desktop
+%{tde_datadir}/applications/kde/kcm_knetworkconfmodule_ss.desktop
+%{tde_datadir}/applications/kde/laptoppowermanagement.desktop
+%{tde_datadir}/applications/kde/medianotifications.desktop
+%{tde_datadir}/applications/kde/systemsettings.desktop
+%{tde_datadir}/apps/systemsettings/systemsettingsui.rc
+%{tde_datadir}/config/systemsettingsrc
+%{tde_datadir}/desktop-directories/*.directory
+%{tde_datadir}/icons/crystalsvg/*/apps/systemsettings.png
+
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-6
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-5
+- Initial build for TDE 3.5.13.1
+
+* Wed Jul 11 2012 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-4
+- Fix XDG menu directory location (again)
+
+* Sun Jul 08 2012 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-3
+- Updates 'Requires: trinity-guidance' to reflect package renaming
+
+* Wed Dec 14 2011 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-2
+- Fix XDG menu directory location
+
+* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.0svn20070312-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
+
diff --git a/redhat/applications/tdeio-apt/trinity-tdeio-apt-3.5.13.2.spec b/redhat/applications/tdeio-apt/trinity-tdeio-apt-3.5.13.2.spec
new file mode 100644
index 000000000..76f4af5d7
--- /dev/null
+++ b/redhat/applications/tdeio-apt/trinity-tdeio-apt-3.5.13.2.spec
@@ -0,0 +1,127 @@
+# Default version for this component
+%define tdecomp tdeio-apt
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: An apt-cache ioslave for Trinity
+Version: 0.13.2
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://lpnotfr.free.fr/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+
+%description
+tdeio-apt is an ioslave which provides the apt:/ protocol. It
+integrates apt-cache functionalities into Konqueror, making
+browsing the packages easier. It provides:
+ - apt-cache search: apt:/search?expression
+ - apt-cache show: apt:/show?package . The show? target
+ prints the policy too.
+ - apt-cache policy: apt:/policy?package
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang kio-apt
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%files -f kio-apt.lang
+%defattr(-,root,root,-)
+%doc AUTHORS CHANGELOG ChangeLog COPYING
+%{tde_tdelibdir}/kio_apt.la
+%{tde_tdelibdir}/kio_apt.so
+%{tde_datadir}/apps/kio_apt/kdedeb_logo.png
+%{tde_datadir}/apps/kio_apt/kio_apt.css
+%{tde_datadir}/services/apt+http.protocol
+%{tde_datadir}/services/apt.protocol
+%{tde_datadir}/services/searchproviders/apt-file.desktop
+%{tde_datadir}/services/searchproviders/apt-files.desktop
+%{tde_datadir}/services/searchproviders/apt-search.desktop
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.13.2-1
+- Initial release for TDE 3.5.13.2
+
diff --git a/redhat/applications/tdeio-locate/trinity-tdeio-locate-3.5.13.2.spec b/redhat/applications/tdeio-locate/trinity-tdeio-locate-3.5.13.2.spec
new file mode 100644
index 000000000..2f76d01c2
--- /dev/null
+++ b/redhat/applications/tdeio-locate/trinity-tdeio-locate-3.5.13.2.spec
@@ -0,0 +1,148 @@
+# Default version for this component
+%define tdecomp tdeio-locate
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: kio-slave for the locate command [Trinity]
+Version: 0.4.5
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+BuildRequires: cmake >= 2.8
+
+Obsoletes: trinity-kio-locate < %{version}-%{release}
+Provides: trinity-kio-locate = %{version}-%{release}
+
+%description
+Adds support for the "locate:" and "locater:"
+protocols to Konqueror and other TDE applications.
+
+This enables you to perform locate searches as you
+would in a terminal. The result is displayed just
+as a directory.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# Ugly hack to modify TQT include directory inside SCONS files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i "admin/kde.py" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g"
+
+
+%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}"
+
+export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}"
+
+# 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} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL=ON \
+ ..
+
+# SMP safe !
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+%find_lang kio-locate
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%files -f kio-locate.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING TODO
+%{tde_tdelibdir}/kio_locate.la
+%{tde_tdelibdir}/kio_locate.so
+%{tde_tdedocdir}/HTML/en/kio-locate/
+%{tde_datadir}/services/locate.protocol
+%{tde_datadir}/services/locater.protocol
+%{tde_datadir}/services/rlocate.protocol
+%{tde_datadir}/services/searchproviders/locate.desktop
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.4.5-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.5-3
+- Initial build for TDE 3.5.13.1
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.5-2
+- Rebuilt for Fedora 17
+- Removes post and postun
+- Fix compilation with GCC 4.7
+
+* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.4.5-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
+
diff --git a/redhat/applications/tdeio-umountwrapper/trinity-tdeio-umountwrapper-3.5.13.2.spec b/redhat/applications/tdeio-umountwrapper/trinity-tdeio-umountwrapper-3.5.13.2.spec
new file mode 100644
index 000000000..cd7a252d8
--- /dev/null
+++ b/redhat/applications/tdeio-umountwrapper/trinity-tdeio-umountwrapper-3.5.13.2.spec
@@ -0,0 +1,154 @@
+# Default version for this component
+%define tdecomp tdeio-umountwrapper
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: progress dialog for safely removing devices in Trinity.
+Version: 0.2
+Release: 5%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://frode.kde.no/misc/kio_umountwrapper/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+Source1: media_safelyremove.desktop
+
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+Obsoletes: trinity-kio-umountwrapper < %{version}-%{release}
+Provides: trinity-kio-umountwrapper = %{version}-%{release}
+
+%description
+Wrapper around kio_media_mountwrapper.
+Provides a progress dialog for Safely Removing of devices in Trinity.
+
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper
+#%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper
+%__install -D -m 644 %{SOURCE1} %{?buildroot}%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper
+
+
+%clean
+%__rm -rf %{buildroot}
+
+%post
+for f in konqueror d3lphin; do
+ update-alternatives --install \
+ %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop \
+ media_safelyremove.desktop_${f} \
+ %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop_kio-umountwrapper \
+ 20
+done
+
+
+%postun
+if [ $1 -eq 0 ]; then
+ for f in konqueror d3lphin; do
+ update-alternatives --remove \
+ media_safelyremove.desktop_${f} \
+ %{tde_datadir}/apps/${f}/servicemenus/media_safelyremove.desktop_kio-umountwrapper
+ done
+fi
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%{tde_bindir}/kio_umountwrapper
+%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_kio-umountwrapper
+#%{tde_datadir}/apps/dolphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper
+%{tde_datadir}/apps/d3lphin/servicemenus/media_safelyremove.desktop_kio-umountwrapper
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.2-5
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.2-4
+- Initial build for TDE 3.5.13.1
+
+* Sun Jul 08 2012 Francois Andriot <francois.andriot@free.fr> - 0.2-3
+- Add 'desktop' file, to make this program useful :-)
+
+* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.2-2
+- Rebuilt for Fedora 17
+- Removes post and postun
+
+* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 0.2-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
+
diff --git a/redhat/applications/tderadio/trinity-tderadio-3.5.13.2.spec b/redhat/applications/tderadio/trinity-tderadio-3.5.13.2.spec
new file mode 100644
index 000000000..8f03de6d2
--- /dev/null
+++ b/redhat/applications/tderadio/trinity-tderadio-3.5.13.2.spec
@@ -0,0 +1,196 @@
+# Default version for this component
+%define tdecomp tderadio
+%define tdeversion 3.5.13.2
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_lirc 1
+%endif
+
+Name: trinity-%{tdecomp}
+Summary: Comfortable Radio Application for KDE [Trinity]
+Version: 0.1.1.1
+Release: 6%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+BuildRequires: libsndfile-devel
+%{?with_lirc:BuildRequires: lirc-devel}
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}twolame-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libtwolame-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: lame-devel
+%endif
+
+Obsoletes: trinity-kradio < %{version}-%{release}
+Provides: trinity-kradio = %{version}-%{release}
+
+%description
+KRadio is a comfortable radio application for Trinity with support for
+V4L and V4L2 radio cards drivers.
+
+KRadio currently provides
+
+ * V4L/V4L2 radio support
+%if 0%{?with_lirc}
+ * Remote control support (LIRC)
+%endif
+ * Alarms, sleep Countdown
+ * Several GUI Controls (Docking Menu, Station Quickbar, Radio Display)
+ * Recording capabilities, including MP3 and Ogg/Vorbis encoding
+ * Timeshifter functionality
+ * Extendable plugin architecture
+
+This package also includes a growing collection of station preset
+files for many cities around the world contributed by KRadio users.
+
+As KRadio is based on an extendable plugin architecture, contributions
+of new plugins (e.g. Internet Radio Streams, new cool GUIs) are welcome.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-%{tdeversion}%{?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 "/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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ %{?with_lirc:--enable-lirc} %{?!with_lirc:--disable-lirc} \
+ --enable-v4l2 \
+ --enable-lame \
+ --enable-ogg \
+ --enable-alsa \
+ --enable-oss
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang kradio
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+update-desktop-database %{tde_appdir} -q &> /dev/null ||:
+
+%postun
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
+done
+update-desktop-database %{tde_appdir} -q &> /dev/null ||:
+
+
+%files -f kradio.lang
+%defattr(-,root,root,-)
+%{tde_bindir}/convert-presets
+%{tde_bindir}/kradio
+%{tde_libdir}/kradio/plugins/*.la
+%{tde_libdir}/kradio/plugins/*.so
+%{tde_tdeappdir}/kradio.desktop
+%{tde_datadir}/apps/kradio/
+%{tde_datadir}/icons/hicolor/*/*/kradio*.png
+%{tde_datadir}/icons/locolor/*/*/kradio*.png
+%lang(de) %{tde_datadir}/locale/de/LC_MESSAGES/*.mo
+%lang(ru) %{tde_datadir}/locale/ru/LC_MESSAGES/*.mo
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-6
+- Initial release for TDE 3.5.13.2
+
+* Sat Dec 01 2012 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-5
+- Updates presets
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-4
+- Initial build for TDE 3.5.13.1
+
+* Sun Jul 08 2012 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-3
+- Rebuild for RHEL 5
+- Fix postinstall
+
+* Wed May 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-2
+- Rebuild for Fedora 17
+- Fix HTML directory location
+
+* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 0.1.1.1-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/tdesudo/trinity-tdesudo-3.5.13.2.spec b/redhat/applications/tdesudo/trinity-tdesudo-3.5.13.2.spec
new file mode 100644
index 000000000..d1464f829
--- /dev/null
+++ b/redhat/applications/tdesudo/trinity-tdesudo-3.5.13.2.spec
@@ -0,0 +1,146 @@
+# Default version for this component
+%define tdecomp tdesudo
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: sudo frontend for Trinity
+
+Version: 2.5.1
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-arts-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+Obsoletes: trinity-kdesudo < %{version}-%{release}
+Provides: trinity-kdesudo = %{version}-%{release}
+
+Requires: sudo
+
+%description
+TdeSudo is a graphical frontend for the sudo utility.
+It allows you to run programs as another user by entering your password.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+
+## 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
+
+%find_lang kdesudo
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%files -f kdesudo.lang
+%defattr(-,root,root,-)
+%{tde_bindir}/kdesudo
+%{tde_tdedocdir}/HTML/en/kdesudo/
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.5.1-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.5.1-3
+- Initial build for TDE 3.5.13.1
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 2.5.1-2
+- Rebuilt for Fedora 17
+- Fix HTML directory location
+- Removes post and postun
+
+* Wed Nov 02 2011 Francois Andriot <francois.andriot@free.fr> - 2.5.1-1
+- Initial release for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
diff --git a/redhat/applications/tdesvn/trinity-tdesvn-3.5.13.2.spec b/redhat/applications/tdesvn/trinity-tdesvn-3.5.13.2.spec
new file mode 100644
index 000000000..9f467d5d9
--- /dev/null
+++ b/redhat/applications/tdesvn/trinity-tdesvn-3.5.13.2.spec
@@ -0,0 +1,289 @@
+# Default version for this component
+%define tdecomp tdesvn
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: subversion client with tight KDE integration [Trinity]
+Version: 1.0.4
+Release: 5%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.elliptique.net/~ken/kima/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+BuildRequires: subversion-devel
+Requires: %{name}-tdeio-plugins = %{version}-%{release}
+
+Obsoletes: trinity-kdesvn < %{version}-%{release}
+Provides: trinity-kdesvn = %{version}-%{release}
+
+%description
+TDESvn is a graphical client for the subversion revision control
+system (svn).
+
+Besides offering common and advanced svn operations, it features
+a tight integration into KDE and can be embedded into other KDE
+applications like konqueror via the KDE component technology KParts.
+
+
+%package -n trinity-libsvnqt
+Group: Development/Libraries
+Summary: Qt wrapper library for subversion [Trinity]
+
+%description -n trinity-libsvnqt
+This package provides svnqt, a Qt wrapper library around the
+subversion library.
+
+It is based on the RapidSvn SvnCpp library, a subversion client API
+written in C++.
+
+%package -n trinity-libsvnqt-devel
+Group: Development/Libraries
+Requires: trinity-libsvnqt = %{version}-%{release}
+Requires: qt-devel
+Requires: subversion-devel
+Summary: Qt wrapper library for subversion (development files) [Trinity]
+
+%description -n trinity-libsvnqt-devel
+This package contains the header files and symbolic links that developers
+using svnqt will need.
+
+
+%package tdeio-plugins
+Group: Development/Libraries
+Conflicts: trinity-kdesdk-tdeio-plugins
+Summary: subversion I/O slaves for Trinity
+
+Obsoletes: trinity-kdesvn-kio-plugins < %{version}-%{release}
+Provides: trinity-kdesvn-kio-plugins = %{version}-%{release}
+Obsoletes: trinity-tdesvn-kio-plugins < %{version}-%{release}
+Provides: trinity-tdesvn-kio-plugins = %{version}-%{release}
+
+%description tdeio-plugins
+This packages includes KIO slaves for svn, svn+file, svn+http,
+svn+https, svn+ssh. This allows you to access subversion repositories
+inside any KIO enabled TDE application.
+
+This package is part of tdesvn-trinity.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+find . -name CMakeLists.txt -exec %__sed -i {} \
+ -e "s,/usr/include/tqt,%{tde_includedir}/tqt,g" \
+ -e "s,/usr/bin/tmoc,%{tde_bindir}/tmoc,g" \
+ -e "s,/usr/bin/uic-tqt,%{tde_bindir}/uic-tqt,g" \
+ \;
+
+# More ugly hack to add TQT include directory in CMakeLists.txt
+%__sed -i CMakeLists.txt \
+ -e "s,^\(INCLUDE_DIRECTORIES (\)$,\1\n%{tde_includedir}/tqt,"
+
+# Moves HTML files to the correect location
+find . -name "*.cmake" -exec %__sed -i {} \
+ -e "s,/doc/HTML,/doc/tde/HTML,g" \
+ \;
+
+
+%build
+unset QTDIR; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+export CMAKE_INCLUDE_PATH="%{tde_tdeincludedir}"
+
+%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_includedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DMAN_INSTALL_DIR=%{tde_mandir}/man1 \
+ -DDATA_INSTALL_DIR=%{tde_datadir} \
+ -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ ..
+
+# SMP safe !
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+
+%find_lang kdesvn
+
+# Installs SVN protocols as alternatives
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesvn
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesvn
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesvn
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesvn
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesvn
+%__ln_s /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol
+%__ln_s /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol
+%__ln_s /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol
+%__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol
+%__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%post -n trinity-libsvnqt
+/sbin/ldconfig || :
+
+%post tdeio-plugins
+for proto in svn+file svn+http svn+https svn+ssh svn; do
+ update-alternatives --install \
+ %{tde_datadir}/services/${proto}.protocol \
+ ${proto}.protocol \
+ %{tde_datadir}/services/${proto}.protocol_tdesvn \
+ 20
+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_tdesvn
+ done
+fi
+
+
+
+%postun -n trinity-libsvnqt
+/sbin/ldconfig || :
+
+
+%files -f kdesvn.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%{tde_bindir}/kdesvn
+%{tde_bindir}/kdesvnaskpass
+%{tde_tdelibdir}/libkdesvnpart.la
+%{tde_tdelibdir}/libkdesvnpart.so
+%{tde_datadir}/applications/kde/kdesvn.desktop
+%{tde_datadir}/apps/kconf_update/kdesvn-use-external-update.sh
+%{tde_datadir}/apps/kconf_update/kdesvnpartrc-use-external.upd
+%{tde_datadir}/apps/kdesvn/kdesvnui.rc
+%{tde_datadir}/apps/kdesvnpart/kdesvn_part.rc
+%{tde_datadir}/apps/konqueror/servicemenus/kdesvn_subversion.desktop
+%{tde_datadir}/config.kcfg/kdesvn_part.kcfg
+%{tde_datadir}/icons/hicolor/*/*/*.png
+%{tde_datadir}/icons/hicolor/*/*/*.svgz
+%{tde_mandir}/man1/kdesvn.1
+%{tde_mandir}/man1/kdesvnaskpass.1
+%{tde_tdedocdir}/HTML/*/
+
+%files -n trinity-libsvnqt
+%defattr(-,root,root,-)
+%{tde_libdir}/libsvnqt.so.4
+%{tde_libdir}/libsvnqt.so.4.2.2
+
+%files -n trinity-libsvnqt-devel
+%defattr(-,root,root,-)
+%{tde_includedir}/svnqt
+%{tde_libdir}/libsvnqt.so
+
+%files tdeio-plugins
+%defattr(-,root,root,-)
+%{tde_datadir}/services/kded/kdesvnd.desktop
+%{tde_datadir}/services/ksvn+file.protocol
+%{tde_datadir}/services/ksvn+http.protocol
+%{tde_datadir}/services/ksvn+https.protocol
+%{tde_datadir}/services/ksvn+ssh.protocol
+%{tde_datadir}/services/ksvn.protocol
+%{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
+%{tde_datadir}/services/svn+file.protocol_tdesvn
+%{tde_datadir}/services/svn+http.protocol_tdesvn
+%{tde_datadir}/services/svn+https.protocol_tdesvn
+%{tde_datadir}/services/svn+ssh.protocol_tdesvn
+%{tde_datadir}/services/svn.protocol_tdesvn
+%{tde_tdelibdir}/kio_ksvn.la
+%{tde_tdelibdir}/kio_ksvn.so
+%{tde_tdelibdir}/kded_kdesvnd.la
+%{tde_tdelibdir}/kded_kdesvnd.so
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.4-5
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.4-4
+- Initial build for TDE 3.5.13.1
+
+* Mon Jul 30 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.4-3
+- Installs SVN protocols as alternative, avoids conlict with TDESDK
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.4-2
+- Rebuilt for Fedora 17
+- Fix post and postun
+- Fix compilation with GCC 4.7
+
+* Thu Dec 01 2011 Francois Andriot <francois.andriot@free.fr> - 1.0.4-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/tdmtheme/trinity-tdmtheme-3.5.13.2.spec b/redhat/applications/tdmtheme/trinity-tdmtheme-3.5.13.2.spec
new file mode 100644
index 000000000..c4962b772
--- /dev/null
+++ b/redhat/applications/tdmtheme/trinity-tdmtheme-3.5.13.2.spec
@@ -0,0 +1,136 @@
+# Default version for this component
+%define tdecomp tdmtheme
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/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-%{tdecomp}
+Summary: theme manager for TDM [Trinity]
+Version: 1.2.2
+Release: 4%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://beta.smileaf.org/projects
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+Obsoletes: trinity-kdmtheme < %{version}-%{release}
+Provides: trinity-kdmtheme = %{version}-%{release}
+
+
+%description
+kdmtheme is a theme manager for KDM. It provides a TDE Control Module (KCM)
+that allows you to easily install, remove and change your KDM themes.
+
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%files
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcm_kdmtheme.la
+%{tde_tdelibdir}/kcm_kdmtheme.so
+%{tde_tdeappdir}/kdmtheme.desktop
+%{tde_tdedocdir}/HTML/en/kdmtheme/
+
+
+%post
+update-desktop-database %{tde_appdir} &> /dev/null
+
+%postun
+update-desktop-database %{tde_appdir} &> /dev/null
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.2.2-4
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.2.2-3
+- Initial build for TDE 3.5.13.1
+
+* Tue May 01 2012 Francois Andriot <francois.andriot@free.fr> - 1.2.2-2
+- Rebuilt for Fedora 17
+- Removes post and postun
+- Removes the 'lintian' stuff from Debian
+
+* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 1.2.2-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/tellico/trinity-tellico-3.5.13.2.spec b/redhat/applications/tellico/trinity-tellico-3.5.13.2.spec
new file mode 100644
index 000000000..5d2cc9006
--- /dev/null
+++ b/redhat/applications/tellico/trinity-tellico-3.5.13.2.spec
@@ -0,0 +1,233 @@
+# Default version for this component
+%define tdecomp tellico
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_tdedocdir}
+
+
+Name: trinity-%{tdecomp}
+Summary: Icollection manager for books, videos, music [Trinity]
+Version: 1.3.2.1
+Release: 5%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://periapsis.org/tellico/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: yaz
+BuildRequires: %{_lib}yaz-devel
+%endif
+
+Requires: %{name}-data = %{version}-%{release}
+Requires: %{name}-scripts = %{version}-%{release}
+
+%description
+Tellico is a collection manager for TDE. It includes default collections for
+books, bibliographies, comic books, videos, music, coins, stamps, trading
+cards, and wines, and also allows custom collections; with unlimited
+user-defined fields allowed. Automatically formatted names, sorting by any
+property, filters, automatic ISBN validation and full customization for
+printing or display through XSLT files are some of the features present. It
+can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX,
+BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB,
+or any US-MARC compliant z39.50 server.
+
+The files are stored in XML format, avoiding the need for database server.
+It also makes it easy for other softwares to use the Tellico data.
+
+
+%package data
+Group: Applications/Utilities
+Summary: collection manager for books, videos, music [data] [Trinity]
+
+%description data
+Tellico is a collection manager for TDE. It includes default collections for
+books, bibliographies, comic books, videos, music, coins, stamps, trading
+cards, and wines, and also allows custom collections; with unlimited
+user-defined fields allowed. Automatically formatted names, sorting by any
+property, filters, automatic ISBN validation and full customization for
+printing or display through XSLT files are some of the features present. It
+can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX,
+BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB,
+or any US-MARC compliant z39.50 server.
+
+The files are stored in XML format, avoiding the need for database server.
+It also makes it easy for other softwares to use the Tellico data.
+
+This package contains the architecture independent files, such data files and
+documentation.
+
+%package scripts
+Group: Applications/Utilities
+Summary: collection manager for books, videos, music [scripts] [Trinity]
+
+%description scripts
+Tellico is a collection manager for TDE. It includes default collections for
+books, bibliographies, comic books, videos, music, coins, stamps, trading
+cards, and wines, and also allows custom collections; with unlimited
+user-defined fields allowed. Automatically formatted names, sorting by any
+property, filters, automatic ISBN validation and full customization for
+printing or display through XSLT files are some of the features present. It
+can import CSV, RIS, BibTeX, and BibTeXML files; and export CSV, HTML, BibTeX,
+BibTeXML, and PilotDB. Tellico can also import data from Amazon, IMDb, CDDB,
+or any US-MARC compliant z39.50 server.
+
+The files are stored in XML format, avoiding the need for database server.
+It also makes it easy for other softwares to use the Tellico data.
+
+This package contains the scripts to import data from external sources, such
+as websites. As the format of the data may change, these scripts are provided
+as a separate package which can be updated through debian-volatile.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# Add svg icons to xdg directories
+%__install -D -c -p -m 644 icons/tellico.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/apps/tellico.svg
+%__install -D -c -p -m 644 icons/tellico_mime.svg %{?buildroot}%{tde_datadir}/icons/hicolor/scalable/mimetypes/application-x-tellico.svg
+
+# Remove dead symlink from French translation
+%__rm %{?buildroot}%{tde_tdedocdir}/HTML/fr/tellico/common
+
+
+%find_lang %{tdecomp}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files -f %{tdecomp}.lang
+%defattr(-,root,root,-)
+%{tde_bindir}/tellico
+#%{tde_datadir}/pixmaps
+%{tde_datadir}/applications
+%{tde_datadir}/config/tellicorc
+
+%files data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/tellico/*.xsl
+%{tde_datadir}/apps/tellico/*.xml
+%{tde_datadir}/apps/tellico/*.png
+%{tde_datadir}/apps/tellico/entry-templates
+%{tde_datadir}/apps/tellico/*.py*
+%{tde_datadir}/apps/tellico/pics
+%{tde_datadir}/apps/tellico/report-templates
+%{tde_datadir}/apps/tellico/tellico.dtd
+%{tde_datadir}/apps/tellico/tellico.tips
+%{tde_datadir}/apps/tellico/tellico2html.js
+%{tde_datadir}/apps/tellico/tellicoui.rc
+%{tde_datadir}/apps/tellico/welcome.html
+%{tde_datadir}/config.kcfg
+%{tde_tdedocdir}/HTML/*/tellico/
+%{tde_datadir}/icons
+%{tde_datadir}/apps/mime
+%{tde_datadir}/mimelnk
+%{tde_datadir}/apps/kconf_update/tellico-1-3-update.pl
+%{tde_datadir}/apps/kconf_update/tellico-rename.upd
+%{tde_datadir}/apps/kconf_update/tellico.upd
+
+%files scripts
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/tellico/data-sources
+%{tde_datadir}/apps/tellico/z3950-servers.cfg
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-5
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-4
+- Initial build for TDE 3.5.13.1
+
+* Sat Dec 03 2011 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-3
+- Fix compilation with GCC 4.7 [Bug #958]
+
+* Fri Nov 25 2011 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-2
+- Fix HTML directory location
+
+* Thu Nov 24 2011 Francois Andriot <francois.andriot@free.fr> - 1.3.2.1-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/twin-style-crystal/trinity-twin-style-crystal-3.5.13.2.spec b/redhat/applications/twin-style-crystal/trinity-twin-style-crystal-3.5.13.2.spec
new file mode 100644
index 000000000..d18037573
--- /dev/null
+++ b/redhat/applications/twin-style-crystal/trinity-twin-style-crystal-3.5.13.2.spec
@@ -0,0 +1,129 @@
+# Default version for this component
+%define tdecomp twin-style-crystal
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_tdedocdir}
+
+
+Name: trinity-%{tdecomp}
+Summary: Semi transparant window decoration for Trinity.
+Version: 1.0.5
+Release: 3%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+Obsoletes: trinity-kwin-style-crystal < %{version}-%{release}
+Provides: trinity-kwin-style-crystal = %{version}-%{release}
+
+%description
+Crystal offers you pseudo transparent titlebar, buttons and borders
+transparent, so you can see more of your lovely background image
+Transparancy and buttons can be costumized to match your wishes.
+Offers rounded corners as well
+
+And it is of course nice to look at. Upstream says:
+"- Don't forget to breathe, while drooling."
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+# 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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{tde_tdelibdir}/kwin3_crystal.la
+%{tde_tdelibdir}/kwin3_crystal.so
+%{tde_tdelibdir}/kwin_crystal_config.la
+%{tde_tdelibdir}/kwin_crystal_config.so
+%{tde_datadir}/apps/kwin/crystal.desktop
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0.5-3
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 1.0.5-2
+- Initial build for TDE 3.5.13.1
+
+* Sat Nov 19 2011 Francois Andriot <francois.andriot@free.fr> - 1.0.5-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/wlassistant/trinity-wlassistant-3.5.13.2.spec b/redhat/applications/wlassistant/trinity-wlassistant-3.5.13.2.spec
new file mode 100644
index 000000000..1699d55c6
--- /dev/null
+++ b/redhat/applications/wlassistant/trinity-wlassistant-3.5.13.2.spec
@@ -0,0 +1,143 @@
+# Default version for this component
+%define tdecomp wlassistant
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_tdedocdir}
+
+
+Name: trinity-%{tdecomp}
+Summary: User friendly KDE frontend for wireless network connection [Trinity]
+Version: 0.5.7
+Release: 3%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://wlassistant.sourceforge.net/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-3.5.13.2.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+BuildRequires: python
+BuildRequires: cmake >= 2.8
+
+%description
+Wireless Assistant scans for wireless access points and displays link quality,
+encryption and other useful information. When user wants to connect to a
+network, Wireless Assistant opens up its wizards and guides the user through
+Wi-Fi settings. After a successful connection is made the settings are
+remembered so next time the user won't have to enter them again.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-3.5.13.2
+
+
+%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}"
+
+# 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 \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DBUILD_ALL=on \
+ ..
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files
+%defattr(-,root,root,-)
+%doc ChangeLog VERSION
+%{tde_bindir}/wlassistant
+%{tde_tdeappdir}/wlassistant.desktop
+%{tde_datadir}/icons/hicolor/16x16/apps/wlassistant.png
+%{tde_datadir}/icons/hicolor/32x32/apps/wlassistant.png
+%lang(ar) %{tde_datadir}/locale/ar/LC_MESSAGES/wlassistant.mo
+%lang(ca) %{tde_datadir}/locale/ca/LC_MESSAGES/wlassistant.mo
+%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/wlassistant.mo
+%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/wlassistant.mo
+%lang(nb) %{tde_datadir}/locale/nb/LC_MESSAGES/wlassistant.mo
+%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/wlassistant.mo
+%lang(pt) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/wlassistant.mo
+%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/wlassistant.mo
+%lang(zh_CN) %{tde_datadir}/locale/zh_CN/LC_MESSAGES/wlassistant.mo
+%lang(zh_TW) %{tde_datadir}/locale/zh_TW/LC_MESSAGES/wlassistant.mo
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.5.7-3
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 0.5.7-2
+- Initial build for TDE 3.5.13.1
+
+* Tue Nov 29 2011 Francois Andriot <francois.andriot@free.fr> - 0.5.7-1
+- Initial build for RHEL 5, RHEL 6, Fedora 15, Fedora 16
diff --git a/redhat/applications/yakuake/trinity-yakuake-3.5.13.2.spec b/redhat/applications/yakuake/trinity-yakuake-3.5.13.2.spec
new file mode 100644
index 000000000..b4a5292d5
--- /dev/null
+++ b/redhat/applications/yakuake/trinity-yakuake-3.5.13.2.spec
@@ -0,0 +1,138 @@
+# Default version for this component
+%define tdecomp yakuake
+%define tdeversion 3.5.13.2
+
+# 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_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_tdedocdir}
+
+
+Name: trinity-%{tdecomp}
+Summary: Yakuake is a Quake-style terminal emulator based on KDE Konsole technology.
+Version: 2.8.1
+Release: 5%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+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}-%{tdeversion}%{?preversion:~%{preversion}}.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.2
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.2
+BuildRequires: trinity-tdebase-devel >= 3.5.13.2
+BuildRequires: desktop-file-utils
+
+%description
+Yakuake is a Quake-style terminal emulator based on KDE Konsole technology.
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-%{tdeversion}%{?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}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor || :
+gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{tde_bindir}/*
+%{tde_datadir}/applications/*/*.desktop
+%{tde_datadir}/apps/*/
+%{tde_datadir}/icons/hicolor/*/*/*
+%{tde_datadir}/locale/*/*/*.mo
+%{tde_datadir}/config.kcfg/*.kcfg
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 2.8.1-5
+- Initial release for TDE 3.5.13.2
+
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 2.8.1-4
+- Initial build for TDE 3.5.13.1
+
+* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 2.8.1-3
+- Rebuilt for TDE 3.5.13 on RHEL 6, RHEL 5 and Fedora 15
+
+* Tue Sep 14 2011 Francois Andriot <francois.andriot@free.fr> - 2.8.1-2
+- Import to GIT
+
+* Mon Aug 22 2011 Francois Andriot <francois.andriot@free.fr> - 2.8.1-1
+- Correct macro to install under "/opt", if desired
+
+* Sun Aug 14 2011 Francois Andriot <francois.andriot@free.fr> - 2.8.1-0
+- Initial build for RHEL 6.0
+