summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-07-05 20:24:55 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-07-05 20:24:55 +0200
commit66558bf7ba6bd4c25d1ebb13f233ea61bb9e0252 (patch)
treebbab545b01450bbe6ce70113ec641860445e3863 /redhat
parent84236b1a97dac6fc43ba593b98577f7b820a1c36 (diff)
downloadtde-packaging-66558bf7ba6bd4c25d1ebb13f233ea61bb9e0252.tar.gz
tde-packaging-66558bf7ba6bd4c25d1ebb13f233ea61bb9e0252.zip
RPM Packaging: lot of R14 packages
Diffstat (limited to 'redhat')
-rw-r--r--redhat/applications/abakus/abakus-14.0.0.spec127
-rw-r--r--redhat/applications/kpowersave-nohal/kpowersave-nohal-14.0.0.spec165
-rw-r--r--redhat/applications/yakuake/yakuake-14.0.0.spec134
-rw-r--r--redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec4
-rw-r--r--redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec58
-rw-r--r--redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec56
-rw-r--r--redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec4
-rw-r--r--redhat/dependencies/python-tqt/python-tqt-14.0.0-ftbfs.patch11
-rw-r--r--redhat/dependencies/python-tqt/python-tqt-14.0.0.spec172
-rw-r--r--redhat/dependencies/tqscintilla/tqscintilla-14.0.0-ftbfs.patch15
-rw-r--r--redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec178
-rw-r--r--redhat/dependencies/tqscintilla/tqscintilla-ftbfs.patch614
-rw-r--r--redhat/dependencies/tqscintilla/trinity-tqscintilla.spec235
-rw-r--r--redhat/dependencies/tqt3/tqt3-14.0.0.spec20
-rwxr-xr-xredhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec96
-rw-r--r--redhat/extras/trinity-desktop/trinity-desktop-14.0.0.spec374
-rw-r--r--redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec502
-rw-r--r--redhat/libraries/libtdeldap/libtdeldap-14.0.0-ftbfs.patch11
-rw-r--r--redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec142
-rw-r--r--redhat/libraries/libtqt-perl/libtqt-perl-14.0.0-ftbfs.patch11
-rw-r--r--redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec131
-rw-r--r--redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.2-fix_extra_module_dir.patch4
-rw-r--r--redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-fix_include_dir.patch11
-rw-r--r--redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec208
-rw-r--r--redhat/libraries/python-trinity/python-trinity-14.0.0-tde_includedir.patch11
-rw-r--r--redhat/libraries/python-trinity/python-trinity-14.0.0.spec173
-rw-r--r--redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec510
-rw-r--r--redhat/tdeaddons/tdeaddons-14.0.0.spec752
-rw-r--r--redhat/tdeartwork/tdeartwork-14.0.0.spec722
-rw-r--r--redhat/tdebase/tdebase-14.0.0.spec4
-rw-r--r--redhat/tdebindings/tdebindings-14.0.0-ftbfs.patch24
-rw-r--r--redhat/tdebindings/tdebindings-14.0.0.spec29
-rw-r--r--redhat/tdeedu/tdeedu-14.0.0.spec1385
-rw-r--r--redhat/tdegames/tdegames-14.0.0.spec1593
-rw-r--r--redhat/tdegraphics/tdegraphics-14.0.0.spec1322
-rw-r--r--redhat/tdelibs/tdelibs-14.0.0.spec4
-rw-r--r--redhat/tdemultimedia/tdemultimedia-14.0.0-ftbfs.patch11
-rw-r--r--redhat/tdemultimedia/tdemultimedia-14.0.0.spec140
-rw-r--r--redhat/tdepim/tdepim-14.0.0.spec160
-rw-r--r--redhat/tdesdk/tdesdk-14.0.0.spec1162
-rw-r--r--redhat/tdetoys/tdetoys-14.0.0.spec443
-rw-r--r--redhat/tdeutils/tdeutils-14.0.0.spec1092
-rw-r--r--redhat/tdevelop/tdevelop-14.0.0.spec632
-rw-r--r--redhat/tdewebdev/tdewebdev-14.0.0.spec570
44 files changed, 12892 insertions, 1130 deletions
diff --git a/redhat/applications/abakus/abakus-14.0.0.spec b/redhat/applications/abakus/abakus-14.0.0.spec
new file mode 100644
index 000000000..3e14cab53
--- /dev/null
+++ b/redhat/applications/abakus/abakus-14.0.0.spec
@@ -0,0 +1,127 @@
+# Default version for this component
+%define tde_pkg abakus
+%define tde_version 14.0.0
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific 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/tde
+%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_pkg}
+Summary: Calculator for TDE
+Version: 0.91
+Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?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}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
+BuildRequires: trinity-arts-devel >= %{tde_version}
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+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}-%{tde_version}%{?preversion:~%{preversion}}
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{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
+
+%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
+* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 0.91-6
+- Initial release for TDE 14.0.0
+
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 0.91-5
+- 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/kpowersave-nohal/kpowersave-nohal-14.0.0.spec b/redhat/applications/kpowersave-nohal/kpowersave-nohal-14.0.0.spec
new file mode 100644
index 000000000..c32f525e0
--- /dev/null
+++ b/redhat/applications/kpowersave-nohal/kpowersave-nohal-14.0.0.spec
@@ -0,0 +1,165 @@
+# Default version for this component
+%define tdecomp kpowersave-nohal
+%define tde_version 14.0.0
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific 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}/tde
+%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: %{?!preversion:5}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+Summary: 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}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
+
+
+BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
+BuildRequires: trinity-dbus-tqt-devel >= %{tde_version}
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-tdebase-devel >= %{tde_version}
+BuildRequires: desktop-file-utils
+
+
+%description
+KPowersave is a TDE systray applet which allows to control the power
+management settings and policies of your computer.
+
+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}-%{tde_version}%{?preversion:~%{preversion}}
+
+%build
+unset QTDIR QTINC QTLIB
+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}/libtdeinit_kpowersave.la
+%{tde_libdir}/libtdeinit_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
+* Thu Jul 04 2013 Francois Andriot <francois.andriot@free.fr> - 0.7.3-5
+- Initial release for TDE 14.0.0
+
+* 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/yakuake/yakuake-14.0.0.spec b/redhat/applications/yakuake/yakuake-14.0.0.spec
new file mode 100644
index 000000000..6d5bbc5dc
--- /dev/null
+++ b/redhat/applications/yakuake/yakuake-14.0.0.spec
@@ -0,0 +1,134 @@
+# Default version for this component
+%define tde_pkg yakuake
+%define tde_version 14.0.0
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific 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}/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_tdedocdir}
+
+
+Name: trinity-%{tde_pkg}
+Summary: Yakuake is a Quake-style terminal emulator based on TDE Konsole technology.
+Version: 2.8.1
+Release: %{?!preversion:6}%{?preversion:5_%{preversion}}%{?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}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-tdebase-devel >= %{tde_version}
+BuildRequires: desktop-file-utils
+
+%description
+Yakuake is a Quake-style terminal emulator based on TDE Konsole technology.
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
+
+%__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 QTINC QTLIB
+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 \
+ --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
+* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2.8.1-6
+- Initial release for TDE 14.0.0
+
+* 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 release 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 release for RHEL 6.0
+
diff --git a/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec b/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec
index febebfc68..2e09f82b3 100644
--- a/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec
+++ b/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec
@@ -29,7 +29,7 @@ Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
BuildRequires: gcc-c++
BuildRequires: cmake >= 2.8
-BuildRequires: trinity-tqt3-devel >= %{version}
+BuildRequires: trinity-tqt3-devel >= 3.5.0
BuildRequires: trinity-tqtinterface-devel >= %{version}
BuildRequires: gettext-devel
BuildRequires: libtool
@@ -57,7 +57,7 @@ BuildRequires: expat-devel
%endif
%endif
-Requires: trinity-tqt3 >= %{version}
+Requires: trinity-tqt3 >= 3.5.0
Requires: trinity-tqtinterface >= %{version}
Obsoletes: avahi-tqt < %{version}-%{release}
diff --git a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec
index c8175b29a..ef6247ec4 100644
--- a/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec
+++ b/redhat/dependencies/dbus-1-tqt/dbus-1-tqt-14.0.0.spec
@@ -1,5 +1,6 @@
# Always install under standard prefix
%define tde_prefix /usr
+%define tde_version 14.0.0
%define tde_bindir %{tde_prefix}/bin
%define tde_includedir %{tde_prefix}/include
@@ -33,13 +34,26 @@ BuildRequires: trinity-tqtinterface-devel >= %{version}
# TDE 3.5.13 specific building variables
BuildRequires: cmake >= 2.8
-BuildRequires: trinity-tqt3-devel >= %{version}
-Requires: trinity-tqt3 >= %{version}
+BuildRequires: trinity-tqt3-devel >= 3.5.0
+Requires: trinity-tqt3 >= 3.5.0
%description
Dbus TQT Interface
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/dbusxml2qt3
+%{tde_libdir}/libdbus-1-tqt.so.0
+%{tde_libdir}/libdbus-1-tqt.so.0.0.0
+
+##########
%package devel
Requires: %{name}
@@ -52,6 +66,21 @@ Provides: dbus-1-tqt-devel = %{version}-%{release}
%description devel
Development files for %{name}
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_includedir}/*.h
+%{tde_libdir}/libdbus-1-tqt.so
+%{tde_libdir}/libdbus-1-tqt.la
+%{tde_libdir}/pkgconfig/*.pc
+
+##########
+
%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif
@@ -83,33 +112,10 @@ cd build
%__rm -rf %{?buildroot}
%__make install DESTDIR=%{?buildroot} -C build
+
%clean
%__rm -rf %{?buildroot}
-%post
-/sbin/ldconfig || :
-
-%postun
-/sbin/ldconfig || :
-
-%post devel
-/sbin/ldconfig || :
-
-%postun devel
-/sbin/ldconfig || :
-
-%files
-%defattr(-,root,root,-)
-%{tde_bindir}/dbusxml2qt3
-%{tde_libdir}/libdbus-1-tqt.so.0
-%{tde_libdir}/libdbus-1-tqt.so.0.0.0
-
-%files devel
-%defattr(-,root,root,-)
-%{tde_includedir}/*.h
-%{tde_libdir}/libdbus-1-tqt.so
-%{tde_libdir}/libdbus-1-tqt.la
-%{tde_libdir}/pkgconfig/*.pc
%changelog
* Thu Feb 16 2012 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
diff --git a/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec b/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec
index b8acfe94d..642ffee80 100644
--- a/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec
+++ b/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec
@@ -32,9 +32,9 @@ BuildRequires: trinity-tqtinterface-devel >= %{version}
# TDE 3.5.13 specific building variables
BuildRequires: cmake >= 2.8
-BuildRequires: trinity-tqt3-devel >= %{version}
+BuildRequires: trinity-tqt3-devel >= 3.5.0
-Requires: trinity-tqt3 >= %{version}
+Requires: trinity-tqt3 >= 3.5.0
Obsoletes: dbus-tqt < %{version}-%{release}
Provides: dbus-tqt = %{version}-%{release}
@@ -43,6 +43,18 @@ Provides: dbus-tqt = %{version}-%{release}
%description
Dbus TQT Interface
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+%files
+%defattr(-,root,root,-)
+%{tde_libdir}/libdbus-tqt-1.so.0
+%{tde_libdir}/libdbus-tqt-1.so.0.0.0
+
+##########
%package devel
Requires: %{name}
@@ -55,6 +67,20 @@ Provides: dbus-tqt-devel = %{version}-%{release}
%description devel
Development files for %{name}
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_includedir}/dbus-1.0/*
+%{tde_libdir}/libdbus-tqt-1.so
+%{tde_libdir}/libdbus-tqt-1.la
+%{tde_libdir}/pkgconfig/dbus-tqt.pc
+
+##########
%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
@@ -70,7 +96,7 @@ Development files for %{name}
%build
-unset QTDIR
+unset QTDIR QTINC QTLIB
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
%if 0%{?rhel} == 4
@@ -94,32 +120,10 @@ cd build
%__rm -rf %{?buildroot}
%__make install DESTDIR=%{?buildroot} -C build
+
%clean
%__rm -rf %{?buildroot}
-%post
-/sbin/ldconfig || :
-
-%postun
-/sbin/ldconfig || :
-
-%post devel
-/sbin/ldconfig || :
-
-%postun devel
-/sbin/ldconfig || :
-
-%files
-%defattr(-,root,root,-)
-%{tde_libdir}/libdbus-tqt-1.so.0
-%{tde_libdir}/libdbus-tqt-1.so.0.0.0
-
-%files devel
-%defattr(-,root,root,-)
-%{tde_includedir}/dbus-1.0/*
-%{tde_libdir}/libdbus-tqt-1.so
-%{tde_libdir}/libdbus-tqt-1.la
-%{tde_libdir}/pkgconfig/dbus-tqt.pc
%changelog
* Thu Feb 16 2012 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
diff --git a/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec b/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec
index 108a9214b..17544e1eb 100644
--- a/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec
+++ b/redhat/dependencies/libart-lgpl/libart-lgpl-14.0.0.spec
@@ -31,8 +31,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
-BuildRequires: trinity-tqt3-devel >= %{version}
-BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-tqt3-devel >= 3.5.0
+BuildRequires: trinity-tqtinterface-devel >= 3.5.0
%description
A library of functions for 2D graphics supporting a superset of the
diff --git a/redhat/dependencies/python-tqt/python-tqt-14.0.0-ftbfs.patch b/redhat/dependencies/python-tqt/python-tqt-14.0.0-ftbfs.patch
new file mode 100644
index 000000000..7716f3597
--- /dev/null
+++ b/redhat/dependencies/python-tqt/python-tqt-14.0.0-ftbfs.patch
@@ -0,0 +1,11 @@
+--- trinity-python-tqt-14.0.0~pre36+d3f27c3e/sip/qt/qobject.sip.ORI 2013-07-03 20:23:06.054830311 +0200
++++ trinity-python-tqt-14.0.0~pre36+d3f27c3e/sip/qt/qobject.sip 2013-07-03 20:23:14.833911835 +0200
+@@ -2196,7 +2196,7 @@
+ // See if it is a TQt signal.
+ if (*sig == '2')
+ {
+- pyqt3TQtSignal *tab;
++ pyqt3QtSignal *tab;
+
+ // Search the table.
+ for (tab = ((pyqt3ClassTypeDef *)((sipWrapperType *)(self->ob_type))->type)->qt3_emit; tab->st_name != NULL; ++tab)
diff --git a/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec b/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec
new file mode 100644
index 000000000..d84be561c
--- /dev/null
+++ b/redhat/dependencies/python-tqt/python-tqt-14.0.0.spec
@@ -0,0 +1,172 @@
+%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%define tde_version 14.0.0
+
+# Always install under standard prefix
+%define tde_prefix /usr
+
+%define tde_bindir %{tde_prefix}/bin
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+Name: trinity-python-tqt
+Version: 3.18.1
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+License: GPL
+
+Summary: TQt bindings for Python
+Group: System Environment/Libraries
+
+Obsoletes: trinity-PyQt
+Obsoletes: trinity-python-qt3
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
+Patch0: python-tqt-14.0.0-ftbfs.patch
+
+BuildRequires: gcc-c++
+BuildRequires: python-sip
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-tqscintilla-devel
+
+# TDE specific building variables
+BuildRequires: cmake >= 2.8
+BuildRequires: trinity-tqt3-devel >= 3.5.0
+Requires: trinity-tqt3 >= 3.5.0
+
+
+%description
+Python binding module that allows use of TQt X Window toolkit v3.
+You can use it to create portable graphics-capable scripts (there
+are PyQt versions for Linux, Windows and MacOS X).
+
+At this moment PyQt offers a vast subset of TQt API. There are
+some minor issues related to the differences between C++ and Python
+(types, etc), but usually you'll be able to write code pretty much the
+same way in both languages (with syntax differences, of course)
+
+%files
+%defattr(-,root,root,-)
+%doc NEWS README
+%{python_sitearch}/qt.so
+%{python_sitearch}/qtcanvas.so
+%{python_sitearch}/qtnetwork.so
+%{python_sitearch}/qtsql.so
+%{python_sitearch}/qttable.so
+%{python_sitearch}/qtui.so
+%{python_sitearch}/qtxml.so
+
+##########
+
+%package gl
+Summary: TQt OpenGL bindings for Python
+Requires: %{name} = %{version}-%{release}
+
+%description gl
+Python binding module that allows use of the OpenGL facilities
+offered by the TQt X Window toolkit v3. You can use it to create
+portable graphics-capable scripts (there are PyQt versions for
+Linux, Windows and MacOS X).
+
+%files gl
+%defattr(-,root,root,-)
+%{python_sitearch}/qtgl.so
+
+##########
+
+%package tqtext
+Summary: TQt extensions for PyQt
+Requires: %{name} = %{version}-%{release}
+
+%description tqtext
+PyQt Extensions. Contains:
+
+* QScintilla: a featureful TQt source code editing component based
+ on Scintilla.
+
+%files tqtext
+%defattr(-,root,root,-)
+%{python_sitearch}/qtext.so
+
+##########
+
+%package -n trinity-pytqt-tools
+Summary: pyuic and pylupdate for TQt
+
+%description -n trinity-pytqt-tools
+pyuic is the PyQt counterpart for TQt's uic. It takes an XML
+user interface file and generates Python code.
+
+pylupdate is the counterpart for TQt's lupdate. It updates TQt
+Linguist translation files from Python code.
+
+%files -n trinity-pytqt-tools
+%{_bindir}/pylupdate
+%{_bindir}/pyuic
+
+##########
+
+%package devel
+Summary: TQt bindings for Python - Development files
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development .sip files with definitions of PyQt classes. They
+are needed to build PyQt, but also as building blocks of other
+packages based on them, like PyKDE.
+
+%files devel
+%defattr(-,root,root,-)
+%{python_sitearch}/pyqtconfig.py
+%{_datadir}/sip/tqt/
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
+%patch0 -p1 -b .ftbfs
+
+%build
+unset QTDIR QTINC QTLIB
+
+mkdir build
+cd build
+echo yes | python ../configure.py \
+ -c -n %{_includedir}/tqscintilla \
+ -q /usr/share/tqt3 \
+ -y tqt-mt \
+ -o %{_libdir} -u -j 10 \
+ -d %{python_sitearch} \
+ -v %{_datadir}/sip/tqt \
+ -w \
+ CXXFLAGS_RELEASE="" CXXFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt" STRIP=""
+
+%__make
+
+
+%install
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{?buildroot} -C build
+
+%__install -d %{?buildroot}%{_datadir}/sip/
+%__cp -rf sip/* %{?buildroot}%{_datadir}/sip/tqt/
+
+
+%clean
+%__rm -rf %{?buildroot}
+
+
+
+%changelog
+* Thu Feb 16 2012 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
+- Initial build for TDE R14, using 'tqt3' instead of 'qt3'
+
diff --git a/redhat/dependencies/tqscintilla/tqscintilla-14.0.0-ftbfs.patch b/redhat/dependencies/tqscintilla/tqscintilla-14.0.0-ftbfs.patch
new file mode 100644
index 000000000..0323dee9c
--- /dev/null
+++ b/redhat/dependencies/tqscintilla/tqscintilla-14.0.0-ftbfs.patch
@@ -0,0 +1,15 @@
+--- trinity-tqscintilla-14.0.0~pre20+a3562a94/qt/qscintilla.pro.ORI 2013-07-02 19:27:56.391143562 +0200
++++ trinity-tqscintilla-14.0.0~pre20+a3562a94/qt/qscintilla.pro 2013-07-02 19:30:59.279346578 +0200
+@@ -211,10 +211,10 @@
+ qscintilla_ru.ts
+
+
+-header.path = $(QTDIR)/include
++header.path = /usr/include/tqt3
+ header.files = qextscintilla*.h
+
+-trans.path = $(QTDIR)/translations
++trans.path = /usr/share/tqt3/translations
+ trans.files = qscintilla_*.qm
+
+ INSTALLS += header trans
diff --git a/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec b/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec
new file mode 100644
index 000000000..7bad7ffb1
--- /dev/null
+++ b/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec
@@ -0,0 +1,178 @@
+# Default version for this component
+%define tdecomp tqscintilla
+%define tde_version 14.0.0
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific 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: TQt source code editing component based on Scintilla
+Version: 1.7.1
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Development/Tools
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+Url: http://www.riverbankcomputing.co.uk/qscintilla/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
+
+# Fix FTBFS when using TQT3
+Patch0: tqscintilla-14.0.0-ftbfs.patch
+
+BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: trinity-tdebase-devel >= %{tde_version}
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+%description
+Scintilla is a free source code editing component. It has features found
+in standard editing components, as well as features especially useful
+when editing and debugging source code.
+
+TQScintilla is a port or Scintilla to the TQt GUI toolkit.
+
+
+%package designer
+Summary: TQScintilla designer plugin
+Group: Development/Tools
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tqt3-designer
+
+%description designer
+%{summary}.
+
+%package devel
+Summary: TQScintilla Development Files
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tqt3-devel
+
+%description devel
+%{summary}.
+
+%package doc
+Summary: TQScintilla Documentation
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description doc
+%{summary}.
+
+%prep
+%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
+%patch0 -p1 -b .ftbfs
+
+%__sed -i "designer/designer.pro" \
+ -e "s|\$(QTDIR)|%{_libdir}/tqt3|" \
+ -e "s|# DESTDIR|DESTDIR|"
+
+( cd qt; tqmake "DESTDIR=$PWD/../tmplib" )
+( cd designer; tqmake )
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+%__make %{?_smp_mflags} -C qt
+%__make %{?_smp_mflags} -C designer
+
+
+%install
+unset QTDIR QTINC QTLIB
+export QTDIR=%{_libdir}/tqt3
+%__rm -rf $RPM_BUILD_ROOT
+
+# Installs the QT part
+%__make INSTALL_ROOT=$RPM_BUILD_ROOT -C qt install
+
+# Installs supplementary headers
+for i in include/*.h; do
+ %__install -D -m 644 $i %{buildroot}${QTINC}/private/${i##*/}
+done
+
+# Installs the HTML documentation
+for i in doc/html/*; do
+ %__install -D -m 644 $i %{buildroot}%{tde_docdir}/HTML/en/%{name}/${i##*/}
+done
+
+# Installs the Designer plugin
+for i in designer/*.so; do
+ %__install -D -m 644 $i %{buildroot}${QTDIR}/plugins/designer/${i##*/}
+done
+
+# Installs libraries
+%__mkdir_p %{buildroot}%{_libdir}
+%__mv -f tmplib/* %{buildroot}%{_libdir}
+
+# Fix private headers location
+%__mv -f %{buildroot}/private %{buildroot}%{_includedir}/tqt3
+%__mv -f %{buildroot}%{_includedir}/tqt3 %{buildroot}%{_includedir}/tqscintilla
+
+%clean
+%__rm -rf $RPM_BUILD_ROOT
+
+
+%post
+/sbin/ldconfig
+
+%postun
+/sbin/ldconfig
+
+%post devel
+/sbin/ldconfig
+
+%postun devel
+/sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc ChangeLog LICENSE NEWS README
+%{_libdir}/libqscintilla.so.*
+%{_datadir}/tqt3/translations/*.qm
+
+%files designer
+%defattr(-,root,root,-)
+%{_libdir}/tqt3/plugins/designer/*.so
+
+%files devel
+%defattr(-,root,root,-)
+%doc doc/html doc/Scintilla example
+%{_includedir}/tqscintilla/*.h
+%{_includedir}/tqscintilla/private/*.h
+%{_libdir}/libqscintilla.so
+
+%files doc
+%defattr(-,root,root,-)
+%{tde_docdir}/HTML/en/%{name}
+
+%changelog
+* Tue Jul 02 2013 Francois Andriot <francois.andriot@free.fr> - 1.7.1-1
+- Initial build for TDE 14.0.0
diff --git a/redhat/dependencies/tqscintilla/tqscintilla-ftbfs.patch b/redhat/dependencies/tqscintilla/tqscintilla-ftbfs.patch
deleted file mode 100644
index b4bb5b08e..000000000
--- a/redhat/dependencies/tqscintilla/tqscintilla-ftbfs.patch
+++ /dev/null
@@ -1,614 +0,0 @@
---- tqscintilla-master/qt/qextscintillacommandset.cpp.ORI 2011-12-04 14:33:29.344201345 +0100
-+++ tqscintilla-master/qt/qextscintillacommandset.cpp 2011-12-04 14:35:03.180233103 +0100
-@@ -43,525 +43,525 @@
- QextScintillaBase::SCI_LINEDOWN,
- TQt::Key_Down,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move down one line")
- },
- {
- QextScintillaBase::SCI_LINEDOWNEXTEND,
- TQt::Key_Down | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection down one line")
- },
- {
- QextScintillaBase::SCI_LINESCROLLDOWN,
- TQt::Key_Down | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Scroll view down one line")
- },
- {
- QextScintillaBase::SCI_LINEDOWNRECTEXTEND,
- TQt::Key_Down | TQt::ALT | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend rectangular selection down one line")
- },
- {
- QextScintillaBase::SCI_LINEUP,
- TQt::Key_Up,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move up one line")
- },
- {
- QextScintillaBase::SCI_LINEUPEXTEND,
- TQt::Key_Up | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection up one line")
- },
- {
- QextScintillaBase::SCI_LINESCROLLUP,
- TQt::Key_Up | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Scroll view up one line")
- },
- {
- QextScintillaBase::SCI_LINEUPRECTEXTEND,
- TQt::Key_Up | TQt::ALT | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend rectangular selection up one line")
- },
- {
- QextScintillaBase::SCI_PARAUP,
- TQt::Key_BracketLeft | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move up one paragraph")
- },
- {
- QextScintillaBase::SCI_PARAUPEXTEND,
- TQt::Key_BracketLeft | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection up one paragraph")
- },
- {
- QextScintillaBase::SCI_PARADOWN,
- TQt::Key_BracketRight | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move down one paragraph")
- },
- {
- QextScintillaBase::SCI_PARADOWNEXTEND,
- TQt::Key_BracketRight | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection down one paragraph")
- },
- {
- QextScintillaBase::SCI_CHARLEFT,
- TQt::Key_Left,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move left one character")
- },
- {
- QextScintillaBase::SCI_CHARLEFTEXTEND,
- TQt::Key_Left | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection left one character")
- },
- {
- QextScintillaBase::SCI_WORDLEFT,
- TQt::Key_Left | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move left one word")
- },
- {
- QextScintillaBase::SCI_WORDLEFTEXTEND,
- TQt::Key_Left | TQt::SHIFT | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection left one word")
- },
- {
- QextScintillaBase::SCI_CHARLEFTRECTEXTEND,
- TQt::Key_Left | TQt::ALT | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend rectangular selection left one character")
- },
- {
- QextScintillaBase::SCI_CHARRIGHT,
- TQt::Key_Right,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move right one character")
- },
- {
- QextScintillaBase::SCI_CHARRIGHTEXTEND,
- TQt::Key_Right | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection right one character")
- },
- {
- QextScintillaBase::SCI_WORDRIGHT,
- TQt::Key_Right | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move right one word")
- },
- {
- QextScintillaBase::SCI_WORDRIGHTEXTEND,
- TQt::Key_Right | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection right one word")
- },
- {
- QextScintillaBase::SCI_CHARRIGHTRECTEXTEND,
- TQt::Key_Right | TQt::ALT | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend rectangular selection right one character")
- },
- {
- QextScintillaBase::SCI_WORDPARTLEFT,
- TQt::Key_Slash | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move left one word part")
- },
- {
- QextScintillaBase::SCI_WORDPARTLEFTEXTEND,
- TQt::Key_Slash | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection left one word part")
- },
- {
- QextScintillaBase::SCI_WORDPARTRIGHT,
- TQt::Key_Backslash | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move right one word part")
- },
- {
- QextScintillaBase::SCI_WORDPARTRIGHTEXTEND,
- TQt::Key_Backslash | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection right one word part")
- },
- {
- QextScintillaBase::SCI_VCHOME,
- TQt::Key_Home,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move to first visible character in line")
- },
- {
- QextScintillaBase::SCI_VCHOMEEXTEND,
- TQt::Key_Home | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection to first visible character in line")
- },
- {
- QextScintillaBase::SCI_DOCUMENTSTART,
- TQt::Key_Home | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move to start of text")
- },
- {
- QextScintillaBase::SCI_DOCUMENTSTARTEXTEND,
- TQt::Key_Home | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection to start of text")
- },
- {
- QextScintillaBase::SCI_HOMEDISPLAY,
- TQt::Key_Home | TQt::ALT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move to start of displayed line")
- },
- {
- QextScintillaBase::SCI_HOMEDISPLAYEXTEND,
- 0,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection to start of line")
- },
- {
- QextScintillaBase::SCI_VCHOMERECTEXTEND,
- TQt::Key_Home | TQt::ALT | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend rectangular selection to first visible character in line")
- },
- {
- QextScintillaBase::SCI_LINEEND,
- TQt::Key_End,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move to end of line")
- },
- {
- QextScintillaBase::SCI_LINEENDEXTEND,
- TQt::Key_End | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection to end of line")
- },
- {
- QextScintillaBase::SCI_DOCUMENTEND,
- TQt::Key_End | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move to end of text")
- },
- {
- QextScintillaBase::SCI_DOCUMENTENDEXTEND,
- TQt::Key_End | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection to end of text")
- },
- {
- QextScintillaBase::SCI_LINEENDDISPLAY,
- TQt::Key_End | TQt::ALT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move to end of displayed line")
- },
- {
- QextScintillaBase::SCI_LINEENDDISPLAYEXTEND,
- 0,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection to end of displayed line")
- },
- {
- QextScintillaBase::SCI_LINEENDRECTEXTEND,
- TQt::Key_End | TQt::ALT | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend rectangular selection to end of line")
- },
- {
- QextScintillaBase::SCI_PAGEUP,
- TQt::Key_Prior,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move up one page")
- },
- {
- QextScintillaBase::SCI_PAGEUPEXTEND,
- TQt::Key_Prior | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection up one page")
- },
- {
- QextScintillaBase::SCI_PAGEUPRECTEXTEND,
- TQt::Key_Prior | TQt::ALT | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend rectangular selection up one page")
- },
- {
- QextScintillaBase::SCI_PAGEDOWN,
- TQt::Key_Next,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move down one page")
- },
- {
- QextScintillaBase::SCI_PAGEDOWNEXTEND,
- TQt::Key_Next | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend selection down one page")
- },
- {
- QextScintillaBase::SCI_PAGEDOWNRECTEXTEND,
- TQt::Key_Next | TQt::ALT | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Extend rectangular selection down one page")
- },
- {
- QextScintillaBase::SCI_CLEAR,
- TQt::Key_Delete,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Delete current character")
- },
- {
- QextScintillaBase::SCI_CUT,
- TQt::Key_X | TQt::CTRL,
- TQt::Key_Delete | TQt::SHIFT,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Cut selection")
- },
- {
- QextScintillaBase::SCI_DELWORDRIGHT,
- TQt::Key_Delete | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Delete word to right")
- },
- {
- QextScintillaBase::SCI_DELLINERIGHT,
- TQt::Key_Delete | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Delete line to right")
- },
- {
- QextScintillaBase::SCI_EDITTOGGLEOVERTYPE,
- TQt::Key_Insert,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Toggle insert/overtype")
- },
- {
- QextScintillaBase::SCI_PASTE,
- TQt::Key_V | TQt::CTRL,
- TQt::Key_Insert | TQt::SHIFT,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Paste")
- },
- {
- QextScintillaBase::SCI_COPY,
- TQt::Key_C | TQt::CTRL,
- TQt::Key_Insert | TQt::CTRL,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Copy selection")
- },
- {
- QextScintillaBase::SCI_CANCEL,
- TQt::Key_Escape,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Cancel")
- },
- {
- QextScintillaBase::SCI_DELETEBACK,
- TQt::Key_Backspace,
- TQt::Key_Backspace | TQt::SHIFT,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Delete previous character")
- },
- {
- QextScintillaBase::SCI_DELWORDLEFT,
- TQt::Key_Backspace | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Delete word to left")
- },
- {
- QextScintillaBase::SCI_UNDO,
- TQt::Key_Z | TQt::CTRL,
- TQt::Key_Backspace | TQt::ALT,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Undo the last command")
- },
- {
- QextScintillaBase::SCI_DELLINELEFT,
- TQt::Key_Backspace | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Delete line to left")
- },
- {
- QextScintillaBase::SCI_REDO,
- TQt::Key_Y | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Redo last command")
- },
- {
- QextScintillaBase::SCI_SELECTALL,
- TQt::Key_A | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Select all text")
- },
- {
- QextScintillaBase::SCI_TAB,
- TQt::Key_Tab,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Indent one level")
- },
- {
- QextScintillaBase::SCI_BACKTAB,
- TQt::Key_Tab | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Move back one indentation level")
- },
- {
- QextScintillaBase::SCI_NEWLINE,
- TQt::Key_Return,
- TQt::Key_Return | TQt::SHIFT,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Insert new line")
- },
- {
- QextScintillaBase::SCI_ZOOMIN,
- TQt::Key_Plus | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Zoom in")
- },
- {
- QextScintillaBase::SCI_ZOOMOUT,
- TQt::Key_Minus | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Zoom out")
- },
- {
- QextScintillaBase::SCI_SETZOOM,
- 0,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Set zoom")
- },
- {
- QextScintillaBase::SCI_FORMFEED,
- 0,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Formfeed")
- },
- {
- QextScintillaBase::SCI_LINECUT,
- TQt::Key_L | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Cut current line")
- },
- {
- QextScintillaBase::SCI_LINEDELETE,
- TQt::Key_L | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Delete current line")
- },
- {
- QextScintillaBase::SCI_LINECOPY,
- TQt::Key_T | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Copy current line")
- },
- {
- QextScintillaBase::SCI_LINETRANSPOSE,
- TQt::Key_T | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Swap current and previous lines")
- },
- {
- QextScintillaBase::SCI_SELECTIONDUPLICATE,
- TQt::Key_D | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Duplicate selection")
- },
- {
- QextScintillaBase::SCI_LOWERCASE,
- TQt::Key_U | TQt::CTRL,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Convert selection to lower case")
- },
- {
- QextScintillaBase::SCI_UPPERCASE,
- TQt::Key_U | TQt::CTRL | TQt::SHIFT,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Convert selection to upper case")
- },
- {
- QextScintillaBase::SCI_DELETEBACKNOTLINE,
- 0,
- 0,
-- TQT_TRANSLATE_NOOP("QextScintillaCommand",
-+ QT_TRANSLATE_NOOP("QextScintillaCommand",
- "Delete previous character if not at line start")
- },
- };
---- tqscintilla-master/designer/designer.pro.ORI 2011-12-04 14:41:08.714487484 +0100
-+++ tqscintilla-master/designer/designer.pro 2011-12-04 14:41:21.248222899 +0100
-@@ -5,7 +5,7 @@
- TARGET = qscintillaplugin
- # DESTDIR = $(QTDIR)/plugins/designer
- INCLUDEPATH = ../qt /usr/include/tqt
--LIBPATH += ../tmplib
-+LIBPATH += ../tmplib ../qt
- CONFIG += qt warn_on release plugin
-
- SOURCES += qscintillaplugin.cpp
diff --git a/redhat/dependencies/tqscintilla/trinity-tqscintilla.spec b/redhat/dependencies/tqscintilla/trinity-tqscintilla.spec
deleted file mode 100644
index 1c23e0bee..000000000
--- a/redhat/dependencies/tqscintilla/trinity-tqscintilla.spec
+++ /dev/null
@@ -1,235 +0,0 @@
-# Default version for this component
-%define kdecomp libtqscintilla
-%define version 1.7.1
-%define release 1
-
-# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
-%if "%{?_prefix}" != "/usr"
-%define _variant .opt
-%define _docdir %{_prefix}/share/doc
-%endif
-
-# TDE 3.5.13 specific building variables
-BuildRequires: autoconf automake libtool m4
-%define tde_docdir %{_docdir}/kde
-%define tde_includedir %{_includedir}/kde
-%define tde_libdir %{_libdir}/trinity
-
-%global qtdir %(qmake -query QT_INSTALL_PREFIX)
-%global qtdata %(qmake -query QT_INSTALL_DATA)
-%global qtinc %{qtdir}/include
-%global qtlib %{qtdir}/lib
-
-
-Name: %{kdecomp}
-Summary: TQt source code editing component based on Scintilla
-Version: %{?version}
-Release: %{?release}%{?dist}%{?_variant}
-
-License: GPLv2+
-Group: Development/Tools
-
-Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
-Url: http://www.riverbankcomputing.co.uk/qscintilla/
-
-Prefix: %{_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-# This file is a GIT snapshot
-Source0: tqscintilla-master.tar.gz
-
-# Fix FTBFS
-Patch0: tqscintilla-ftbfs.patch
-
-BuildRequires: tqtinterface-devel
-BuildRequires: trinity-kdelibs-devel
-BuildRequires: trinity-kdebase-devel
-BuildRequires: desktop-file-utils
-BuildRequires: gettext
-
-%description
-Scintilla is a free source code editing component. It has features found
-in standard editing components, as well as features especially useful
-when editing and debugging source code.
-
-TQScintilla is a port or Scintilla to the TQt GUI toolkit.
-
-
-%package designer
-Summary: TQScintilla designer plugin
-Group: Development/Tools
-Requires: %{name} = %{version}-%{release}
-Requires: qt-designer
-%description designer
-%{summary}.
-
-%package devel
-Summary: TQScintilla Development Files
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-Requires: qt-devel
-%description devel
-%{summary}.
-
-%package doc
-Summary: TQScintilla Documentation
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-%description doc
-%{summary}.
-
-%prep
-%setup -q -n tqscintilla-master
-%patch0 -p1
-
-# Ugly hack to modify TQT include directory inside autoconf files.
-# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
-%__sed -i */*.pro \
- -e "s|/usr/include/tqt|%{_includedir}/tqt|g"
-
-( cd qt; qmake "DESTDIR=$PWD/../tmplib" )
-( cd designer; qmake )
-
-
-%build
-unset QTDIR; . /etc/profile.d/qt.sh
-export PATH="%{_bindir}:${PATH}"
-export LDFLAGS="-L%{_libdir} -I%{_includedir}"
-
-%__make %{?_smp_mflags} -C qt
-%__make %{?_smp_mflags} -C designer
-
-
-%install
-%__rm -rf $RPM_BUILD_ROOT
-
-# Installs the QT part
-%__make INSTALL_ROOT=$RPM_BUILD_ROOT -C qt install
-
-# Installs supplementary headers
-for i in include/*.h; do
- %__install -D -m 644 $i %{buildroot}${QTINC}/private/${i##*/}
-done
-
-# Installs the HTML documentation
-for i in doc/html/*; do
- %__install -D -m 644 $i %{buildroot}%{tde_docdir}/HTML/en/%{name}/${i##*/}
-done
-
-# Installs the Designer plugin
-for i in designer/*.so; do
- %__install -D -m 644 $i %{buildroot}${QTDIR}/plugins/designer/${i##*/}
-done
-
-# Installs libraries
-%__mkdir_p %{buildroot}%{_libdir}
-%__mv -f tmplib/* %{buildroot}%{_libdir}
-
-%clean
-%__rm -rf $RPM_BUILD_ROOT
-
-
-%post
-/sbin/ldconfig
-
-%postun
-/sbin/ldconfig
-
-
-%files
-%defattr(-,root,root,-)
-%doc ChangeLog LICENSE NEWS README
-%{_libdir}/*.so.*
-%{qtdir}/translations/*.qm
-
-%files designer
-%defattr(-,root,root,-)
-%{qtdir}/plugins/designer/*.so
-
-%files devel
-%defattr(-,root,root,-)
-%doc doc/html doc/Scintilla example
-%{qtinc}/*.h
-%{qtinc}/private/*.h
-%{_libdir}/*.so
-
-%files doc
-%defattr(-,root,root,-)
-%{tde_docdir}/HTML/en/%{name}
-
-%changelog
-* Sat Aug 25 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.7.1-3
-- respin (BuildID)
-
-* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> - 1.7.1-2
-- License: GPLv2+
-
-* Mon Dec 11 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 1.7.1-1
-- QScintilla-1.71-gpl-1.7.1
-
-* Thu Nov 09 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 1.7-1
-- QScintilla1-1.71-gpl-1.7 (#214192)
-
-* Sun Sep 03 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.6-3.3
-- FC6 rebuild.
-- Export flags.
-
-* Mon Feb 13 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.6-3.2
-- FC5 Rebuild.
-
-* Tue Jan 31 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 1.6-3.1
-- Rebuild for FC5.
-
-* Wed Sep 14 2005 Konstantin Ryabitsev <icon@linux.duke.edu> - 1.6-3
-- Fix permissions in prep, not in install.
-
-* Tue Sep 13 2005 Konstantin Ryabitsev <icon@linux.duke.edu> - 1.6-2
-- Fix permissions on doc files to be 0644.
-
-* Sun Sep 11 2005 Konstantin Ryabitsev <icon@linux.duke.edu> 1.6-1
-- Update to 1.65-gpl-1.6
-- Use the patch from Aurelien Bompard to build sanely in buildroot
-- Include docs and examples for the -devel package
-
-* Sat Aug 27 2005 Konstantin Ryabitsev <icon@linux.duke.edu> 1.5.1-1
-- Adapt for Fedora Extras
-- Drop 0-Epoch
-- Make specfile simpler
-- Move .so to devel
-
-* Mon Mar 09 2005 Rex Dieter 0:1.5.1-0.0.kde
-- 1.5.1
-
-* Thu Sep 16 2004 Rex Dieter <rexdieter at sf.net> 0:1.4-0.1.kde
-- updated designer-incpath patch: don't require an already installed
- qscintilla-devel
-- BuildConflicts: qscintilla-devel != %%version
-
-* Thu Sep 16 2004 Rex Dieter <rexdieter at sf.net> 0:1.4-0.0.kde
-- 1.4
-- include designer plugin
-- Prereq: %%qtdir
-
-* Fri May 28 2004 Rex Dieter <rexdieter at sf.net> 0:1.3-0.fdr.0
-- 1.3
-
-* Thu Mar 11 2004 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.6
-- dynamically determine version for qt dependancy.
-
-* Wed Mar 10 2004 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.5
-- (re)build against qt-3.3.1
-
-* Wed Dec 03 2003 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.4
-- remove extraneous macros
-- (re)build against qt-3.2.3
-
-* Mon Nov 10 2003 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.3
-- (re)build against qt-3.2.2
-
-* Wed Sep 17 2003 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.2
-- use Epoch's in Requires
-
-* Tue Aug 19 2003 Rex Dieter <rexdieter at sf.net> 0:1.2-0.fdr.1
-- 1.2
-
diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0.spec b/redhat/dependencies/tqt3/tqt3-14.0.0.spec
index 15d8e2748..6194aee16 100644
--- a/redhat/dependencies/tqt3/tqt3-14.0.0.spec
+++ b/redhat/dependencies/tqt3/tqt3-14.0.0.spec
@@ -17,8 +17,8 @@
# ...maybe others !!!!
Name: trinity-tqt3
-Version: 14.0.0%{?preversion:_%{preversion}}
-Release: 1%{?dist}
+Version: 3.5.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: The shared library for the Trinity Qt 3 GUI toolkit
License: QPL or GPLv2 or GPLv3
@@ -181,12 +181,6 @@ Requires: coreutils
Requires: fontconfig >= 2.0
Requires: /etc/ld.so.conf.d
-%if 0%{?mdkversion} || 0%{?mgaversion}
-Obsoletes: %{_lib}qt3
-Provides: %{_lib}qt3 = 3.3.8.d
-%endif
-
-
%description
TQt is a GUI software toolkit which simplifies the task of writing and
maintaining GUI (Graphical User Interface) applications
@@ -537,7 +531,6 @@ ln -s ../src/inputmethod/ntqinputcontextfactory.h include/ntqinputcontextfactory
ln -s ../src/inputmethod/ntqinputcontextplugin.h include/ntqinputcontextplugin.h
# proceed
-#%__make %{?_smp_mflags} symlinks src-qmake src-moc
%__make %{?_smp_mflags} sub-src sub-plugins sub-tools
# build conv2ui
@@ -550,11 +543,16 @@ ln -s ../src/inputmethod/ntqinputcontextplugin.h include/ntqinputcontextplugin.h
%__sed -i lib/*.prl -e "s|${QTDIR}|%{tde_datadir}/tqt3|g"
# fix QTDIR in 'qmake.conf'
-%__sed -i mkspecs/*/qmake.conf -e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = \$(QTDIR)/include/tqt3|"
+%__sed -i mkspecs/*/qmake.conf \
+ -e "s|^QMAKE_INCDIR_QT.*|QMAKE_INCDIR_QT = \$(QTDIR)/include/tqt3|" \
+ -e "s|\$(QTDIR)|/usr|g" \
+ -e "s|-lqt|-ltqt|g"
%install
%__rm -rf %{buildroot}
+export QTDIR=$(pwd)
+export PATH=${QTDIR}/stripbin:${QTDIR}/bin:$PATH
%__make -C src INSTALL_ROOT=%{?buildroot} install_target
%__make INSTALL_ROOT=%{?buildroot} install
@@ -576,5 +574,5 @@ ln -s ../src/inputmethod/ntqinputcontextplugin.h include/ntqinputcontextplugin.h
%changelog
-* Mon Feb 13 2012 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
+* Mon Feb 13 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.0-1
- Initial build for TDE R14.0.0
diff --git a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
index 5a86f514a..e613ee793 100755
--- a/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
+++ b/redhat/dependencies/tqtinterface/tqtinterface-14.0.0.spec
@@ -25,8 +25,8 @@ Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
# TDE 3.5.13 specific building variables
BuildRequires: cmake >= 2.8
-BuildRequires: trinity-tqt3-devel >= 14.0.0
-Requires: trinity-tqt3 >= 14.0.0
+BuildRequires: trinity-tqt3-devel >= 3.5.0
+Requires: trinity-tqt3 >= 3.5.0
BuildRequires: gcc-c++
@@ -52,15 +52,41 @@ BuildRequires: libXi6-devel
Obsoletes: tqtinterface < %{version}-%{release}
Provides: tqtinterface = %{version}-%{release}
-
%description
Trinity QT Interface
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/convert_qt_tqt1
+%{tde_bindir}/convert_qt_tqt2
+%{tde_bindir}/convert_qt_tqt3
+%{tde_bindir}/dcopidl-tqt
+%{tde_bindir}/dcopidl2cpp-tqt
+%{tde_bindir}/dcopidlng-tqt
+%{tde_bindir}/mcopidl-tqt
+%{tde_bindir}/moc-tqt
+%{tde_bindir}/tmoc
+%{tde_bindir}/tqt-replace
+%{tde_bindir}/tqt-replace-stream
+%{tde_bindir}/uic-tqt
+%{tde_libdir}/libtqassistantclient.so.4
+%{tde_libdir}/libtqassistantclient.so.4.2.0
+%{tde_libdir}/libtqt.so.4
+%{tde_libdir}/libtqt.so.4.2.0
+
+##########
+
%package devel
Group: Development/Libraries
Summary: %{name} - Development files
Requires: %{name} = %{version}-%{release}
-Requires: trinity-tqt3-devel >= 14.0.0
+Requires: trinity-tqt3-devel >= 3.5.0
Obsoletes: tqtinterface-devel < %{version}-%{release}
Provides: tqtinterface-devel = %{version}-%{release}
@@ -68,6 +94,25 @@ Provides: tqtinterface-devel = %{version}-%{release}
%description devel
Development files for %{name}
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_includedir}/tqt/
+%{tde_libdir}/libtqassistantclient.la
+%{tde_libdir}/libtqassistantclient.so
+%{tde_libdir}/libtqt.la
+%{tde_libdir}/libtqt.so
+%{tde_libdir}/pkgconfig/tqt.pc
+%{tde_libdir}/pkgconfig/tqtqui.pc
+%{cmake_modules_dir}/*.cmake
+
+##########
+
%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif
@@ -119,51 +164,10 @@ for i in cmake/modules/*.cmake; do
%__install -m 644 $i %{?buildroot}%{cmake_modules_dir}
done
+
%clean
%__rm -rf %{?buildroot}
-%post
-/sbin/ldconfig || :
-
-%postun
-/sbin/ldconfig || :
-
-%post devel
-/sbin/ldconfig || :
-
-%postun devel
-/sbin/ldconfig || :
-
-%files
-%defattr(-,root,root,-)
-%{tde_bindir}/convert_qt_tqt1
-%{tde_bindir}/convert_qt_tqt2
-%{tde_bindir}/convert_qt_tqt3
-%{tde_bindir}/dcopidl-tqt
-%{tde_bindir}/dcopidl2cpp-tqt
-%{tde_bindir}/dcopidlng-tqt
-%{tde_bindir}/mcopidl-tqt
-%{tde_bindir}/moc-tqt
-%{tde_bindir}/tmoc
-%{tde_bindir}/tqt-replace
-%{tde_bindir}/tqt-replace-stream
-%{tde_bindir}/uic-tqt
-%{tde_libdir}/libtqassistantclient.so.4
-%{tde_libdir}/libtqassistantclient.so.4.2.0
-%{tde_libdir}/libtqt.so.4
-%{tde_libdir}/libtqt.so.4.2.0
-
-%files devel
-%defattr(-,root,root,-)
-%{tde_includedir}/tqt/
-%{tde_libdir}/libtqassistantclient.la
-%{tde_libdir}/libtqassistantclient.so
-%{tde_libdir}/libtqt.la
-%{tde_libdir}/libtqt.so
-%{tde_libdir}/pkgconfig/tqt.pc
-%{tde_libdir}/pkgconfig/tqtqui.pc
-%{cmake_modules_dir}/*.cmake
-
%changelog
* Tue Feb 14 2012 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
diff --git a/redhat/extras/trinity-desktop/trinity-desktop-14.0.0.spec b/redhat/extras/trinity-desktop/trinity-desktop-14.0.0.spec
new file mode 100644
index 000000000..850786ea8
--- /dev/null
+++ b/redhat/extras/trinity-desktop/trinity-desktop-14.0.0.spec
@@ -0,0 +1,374 @@
+# 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
+%define _docdir %{_datadir}/doc
+%define tde_datadir %{tde_prefix}/share
+%endif
+
+Name: trinity-desktop
+Version: 14.0.0
+Release: 1%{?dist}%{?_variant}
+License: GPL
+Summary: Meta-package to install TDE
+Group: User Interface/Desktops
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+Source0: trinity-3.5.13-fedora.repo
+Source1: trinity-3.5.13-rhel.repo
+Source2: RPM-GPG-KEY-trinity
+
+Source11: pclinuxos201304-32.jpg
+Source12: pclinuxos201304-64.jpg
+
+Requires: trinity-tdeaccessibility >= %{version}
+Requires: trinity-tdeaddons >= %{version}
+Requires: trinity-tdeadmin >= %{version}
+Requires: trinity-tdeartwork >= %{version}
+Requires: trinity-tdebase >= %{version}
+Requires: trinity-tdebindings >= %{version}
+Requires: trinity-tdeedu >= %{version}
+Requires: trinity-tdegames >= %{version}
+Requires: trinity-tdegraphics >= %{version}
+Requires: trinity-tdemultimedia >= %{version}
+Requires: trinity-tdenetwork >= %{version}
+Requires: trinity-tdepim >= %{version}
+Requires: trinity-tdeutils >= %{version}
+Requires: trinity-tdetoys >= %{version}
+
+%if 0%{?rhel} || 0%{?fedora}
+# YUM configuration file
+Requires: trinity-repo >= %{version}
+%endif
+
+%description
+The TDE project aims to keep the KDE3.5 computing style alive, as well as
+polish off any rough edges that were present as of KDE 3.5.10. Along
+the way, new useful features will be added to keep the environment
+up-to-date.
+Toward that end, significant new enhancements have already been made in
+areas such as display control, network connectivity, user
+authentication, and much more!
+
+%files
+
+##########
+
+%package devel
+Group: User Interface/Desktops
+Summary: Meta-package to install TDE development tools
+
+Obsoletes: trinity-desktop-dev < %{version}-%{release}
+Provides: trinity-desktop-dev = %{version}-%{release}
+
+Requires: trinity-tdesdk >= %{version}
+Requires: trinity-tdevelop >= %{version}
+Requires: trinity-tdewebdev >= %{version}
+
+%description devel
+%{summary}
+
+%files devel
+
+##########
+
+%package applications
+Group: User Interface/Desktops
+Summary: Meta-package to install all TDE applications
+
+# Some applications are disabled for now ...
+# Compiz-related stuff does not work (obsolete)
+#Requires: trinity-compizconfig-backend-kconfig
+#Requires: trinity-desktop-effects-kde
+#Requires: trinity-fusion-icon
+
+# Obsolete l10n package
+#Requires: trinity-filelight-l10n
+
+# Not even an RPM package ...
+#Requires: trinity-konstruct
+
+# Debian/Ubuntu specific ...
+#Requires: trinity-adept
+
+# Future R14 packages
+#Requires: trinity-kvpnc
+#Requires: trinity-qt4-tqt-theme-engine
+
+# Warning, k9copy requires ffmpeg
+# Warning, tderadio requires libmp3lame
+Requires: trinity-abakus
+Requires: trinity-amarok
+Requires: trinity-basket
+Requires: trinity-bibletime
+Requires: trinity-digikam
+Requires: trinity-dolphin
+Requires: trinity-filelight
+Requires: trinity-gwenview
+Requires: trinity-gwenview-i18n
+Requires: trinity-k3b
+Requires: trinity-katapult
+Requires: trinity-kbarcode
+Requires: trinity-kbfx
+Requires: trinity-kbookreader
+Requires: trinity-kchmviewer
+Requires: trinity-kcpuload
+Requires: trinity-k9copy
+Requires: trinity-kdiff3
+Requires: trinity-kdirstat
+Requires: trinity-keep
+Requires: trinity-kile
+Requires: trinity-kiosktool
+Requires: trinity-kmyfirewall
+Requires: trinity-kmymoney
+Requires: trinity-knemo
+Requires: trinity-knetload
+Requires: trinity-knetstats
+Requires: trinity-knights
+Requires: trinity-knowit
+Requires: trinity-knutclient
+Requires: trinity-koffice-suite
+Requires: trinity-konversation
+Requires: trinity-kpicosim
+Requires: trinity-krename
+Requires: trinity-krusader
+Requires: trinity-ksplash-engine-moodin
+Requires: trinity-ksquirrel
+Requires: trinity-kstreamripper
+Requires: trinity-ksystemlog
+Requires: trinity-ktechlab
+Requires: trinity-ktorrent
+Requires: trinity-kuickshow
+Requires: trinity-kvirc
+Requires: trinity-kvkbd
+Requires: trinity-twin-style-crystal
+Requires: trinity-piklab
+Requires: trinity-potracegui
+Requires: trinity-smb4k
+Requires: trinity-smartcardauth
+Requires: trinity-soundkonverter
+Requires: trinity-tde-guidance
+Requires: trinity-tde-guidance-powermanager
+Requires: trinity-tde-style-lipstik
+Requires: trinity-tde-style-qtcurve
+Requires: trinity-tde-systemsettings
+Requires: trinity-tdeio-apt
+Requires: trinity-tdeio-locate
+Requires: trinity-tdeio-umountwrapper
+Requires: trinity-tderadio
+Requires: trinity-tdesudo
+Requires: trinity-tdmtheme
+Requires: trinity-tellico
+Requires: trinity-wlassistant
+Requires: trinity-yakuake
+
+
+# Disabled applications for RHEL5
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+# On RHEL 5, HAL version is too old for kpowersave .
+Requires: trinity-kpowersave-nohal
+# On RHEL 5, GTK2 version is too old for GTK stuff ...
+Requires: trinity-gtk-qt-engine
+# On RHEL 5, lilypond is not available, so no rosegarden :'-(
+Requires: trinity-rosegarden
+# RHEL5: kpilot library is too old
+Requires: trinity-kpilot
+%endif
+
+# This one causes several crashes . Obsolete.
+#Requires: trinity-kgtk-qt3
+Obsoletes: trinity-kgtk-qt3
+
+# OBSOLETE: beagle does not exist anymore. Kerry is now useless.
+# RHEL, openSUSE 12: no Beagle library
+Obsoletes: trinity-kerry
+
+# RHEL 6 only: knetworkmanager8
+# knetworkmanager9 is too unstable for now.
+%if 0%{?rhel} == 6
+Requires: trinity-knetworkmanager
+%endif
+
+# RHEL 4
+%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+# HAL is too old
+Requires: trinity-kima
+Requires: trinity-kaffeine
+Requires: trinity-kaffeine-mozilla
+Requires: trinity-kmplayer
+# No OTR support
+Requires: trinity-kopete-otr
+# No DBUS support
+Requires: trinity-kdbusnotification
+# Subversion 1.1 is too old
+Requires: trinity-tdesvn
+%endif
+
+%description applications
+%{summary}
+
+%files applications
+
+##########
+
+%package extras
+Group: User Interface/Desktops
+Summary: Meta-package to install all extras (unofficial) TDE packages
+
+Requires: trinity-akode
+Requires: trinity-kasablanca
+#Requires: trinity-kdebluetooth
+#Requires: trinity-kcheckgmail
+Requires: trinity-icons-crystalsvg-updated
+Requires: trinity-icons-kfaenza
+Requires: trinity-icons-oxygen
+Requires: trinity-kbibtex
+Requires: trinity-kbiff
+Requires: trinity-kcmautostart
+Requires: trinity-kftpgrabber
+Requires: trinity-kickoff-i18n
+Requires: trinity-knmap
+#Requires: trinity-knoda
+Requires: trinity-ksensors
+Requires: trinity-kshowmail
+Requires: trinity-mplayerthumbs
+Requires: trinity-style-ia-ora
+Requires: trinity-tdeio-ftps-plugin
+#Requires: trinity-tdeio-sysinfo-plugin
+Requires: trinity-theme-baghira
+Requires: trinity-tork
+
+
+# GLIBC too old on RHEL <= 5
+%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6
+Requires: trinity-twinkle
+%endif
+
+%description extras
+%{summary}
+
+%files extras
+
+##########
+
+%package all
+Group: User Interface/Desktops
+Summary: Meta-package to install all TDE packages
+
+Requires: %{name} = %{version}
+Requires: %{name}-applications = %{version}
+Requires: %{name}-devel = %{version}
+#Requires: %{name}-extras = %{version}
+
+%description all
+%{summary}
+
+%files all
+
+##########
+
+%if 0%{?rhel} || 0%{?fedora}
+%package -n trinity-repo
+Group: User Interface/Desktops
+Summary: Yum configuration files for Trinity
+
+%description -n trinity-repo
+%{summary}
+
+%pre -n trinity-repo
+# Make sure every Trinity related repository is deleted before installing new one.
+%__rm -f %{_sysconfdir}/yum.repos.d/trinity-*.repo
+
+%files -n trinity-repo
+%defattr(-,root,root,-)
+%{_sysconfdir}/yum.repos.d/*.repo
+%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-trinity
+%endif
+
+##########
+
+%if 0%{?pclinuxos}
+%package -n trinity-wallpaper-theme-default
+Group: User Interface/Desktops
+Summary: Default wallpaper for Trinity
+
+%description -n trinity-wallpaper-theme-default
+%{summary}
+
+%files -n trinity-wallpaper-theme-default
+%defattr(-,root,root,-)
+%{tde_datadir}/wallpapers/pclinuxos32.jpg
+%{tde_datadir}/wallpapers/pclinuxos64.jpg
+%endif
+
+##########
+
+%prep
+
+%build
+
+%install
+%__rm -rf %{?buildroot}
+%__mkdir_p "%{?buildroot}%{_sysconfdir}/yum.repos.d"
+
+# FEDORA configuration for YUM
+%if 0%{?fedora}
+%__sed %{SOURCE0} \
+ -e 's/\$releasever/%{fedora}/g' \
+ -e 's/-fedora/-f%{fedora}/g' \
+ >"%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity-3.5.13.repo"
+%endif
+
+# RHEL configuration for YUM
+# $releasever is replaced with its value
+%if 0%{?rhel}
+%__sed %{SOURCE1} \
+ -e 's/\$releasever/%{rhel}/g' \
+ >"%{?buildroot}%{_sysconfdir}/yum.repos.d/trinity-3.5.13.repo"
+%endif
+
+%if 0%{?fedora} || 0%{?rhel}
+%__chmod 644 %{?buildroot}%{_sysconfdir}/yum.repos.d/*.repo
+%endif
+
+# RPM signing key
+%if 0%{?rhel} || 0%{?fedora}
+%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-trinity"
+%endif
+
+# PCLinuxOS wallpaper
+%if 0%{?pclinuxos} == 2013
+%__install -D -m 644 "%{SOURCE11}" "%{?buildroot}%{tde_datadir}/wallpapers/pclinuxos32.jpg"
+%__install -D -m 644 "%{SOURCE12}" "%{?buildroot}%{tde_datadir}/wallpapers/pclinuxos64.jpg"
+%endif
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Update to version 3.5.13.2
+- Add GPG signing key
+
+* Mon Oct 01 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Update to version 3.5.13.1
+
+* Mon Aug 06 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-6
+- Add 'applications' subpackage
+
+* Wed Aug 01 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-5
+- Updates to reflect new packages names
+- Add Mageia 2 support
+- Removes 'extras' packages
+
+* Wed Jun 06 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-4
+- Enable mirrorlist
+
+* Wed Nov 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-3
+- Fix repo files name and content
+
+* Sat Nov 12 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
+- Add 'repo' package
diff --git a/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec b/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec
new file mode 100644
index 000000000..4cfac52cc
--- /dev/null
+++ b/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec
@@ -0,0 +1,502 @@
+# Default version for this component
+%define tdecomp libksquirrel
+%define tde_version 14.0.0
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific 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_datadsir}/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 image viewer
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Environment/Libraries
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Patch0: libksquirrel-3.5.13-detect_netpbm.patch
+
+BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
+BuildRequires: trinity-arts-devel >= %{tde_version}
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+BuildRequires: gettext-devel
+BuildRequires: transfig
+BuildRequires: OpenEXR-devel
+BuildRequires: libtiff-devel
+
+%if 0%{?suse_version}
+BuildRequires: giflib-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel}
+BuildRequires: libungif-devel
+%endif
+
+# DJVU support
+%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_djvu 1
+BuildRequires: djvulibre
+%endif
+
+# XMEDCON support
+%if 0%{?fedora}
+%define with_xmedcon 1
+BuildRequires: xmedcon
+BuildRequires: xmedcon-devel
+%endif
+
+# RSVG support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_svg 1
+%if 0%{?fedora} || 0%{?rhel}
+BuildRequires: librsvg2
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: librsvg
+%endif
+%if 0%{?suse_version}
+BuildRequires: rsvg-view
+BuildRequires: librsvg-devel
+%endif
+%endif
+
+# JASPER support
+%if 0%{?rhel} >=4 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_jasper 1
+%if 0%{?suse_version}
+BuildRequires: libjasper-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}jasper-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: jasper-devel
+%endif
+%endif
+
+# FREETYPE support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_freetype 1
+%if 0%{?suse_version} == 1140
+BuildRequires: freetype2-devel
+%else
+BuildRequires: freetype-devel
+%endif
+%endif
+
+# WMF support
+BuildRequires: libwmf-devel
+
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+BuildRequires: netpbm
+%else
+BuildRequires: netpbm-progs
+%endif
+
+
+%description
+Runtime libraries for KSquirrel.
+
+
+%package devel
+Group: Development/Libraries
+Summary: Trinity image viewer
+Requires: %{name}
+
+%description devel
+Development libraries for KSquirrel.
+
+
+%package tools
+Summary: Trinity image viewer
+Group: Environment/Libraries
+Requires: %{name}
+
+%description tools
+Tools for KSquirrel.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+%patch0 -p1 -b .netpbm
+
+%__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 QTINC QTLIB
+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_includedir} \
+ --disable-rpath \
+ %{?with_djvu:--enable-djvu}
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING LICENSE README
+%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0.8.0
+%if 0%{?with_xmedcon}
+%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0.8.0
+%endif
+%if 0%{?with_djvu}
+%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0.8.0
+%endif
+%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_png.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_png.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0.8.0
+%if 0%{?with_svg}
+%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0.8.0
+%endif
+%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0.8.0
+%if 0%{?with_freetype}
+%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0.8.0
+%endif
+%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0.8.0
+%{tde_libdir}/libksquirrel-libs-png.so.0
+%{tde_libdir}/libksquirrel-libs-png.so.0.0.0
+%{tde_libdir}/libksquirrel-libs.so.0
+%{tde_libdir}/libksquirrel-libs.so.0.8.0
+%{tde_datadir}/ksquirrel-libs/libkls_camera.so.ui
+%if 0%{?with_djvu}
+%{tde_datadir}/ksquirrel-libs/libkls_djvu.so.ui
+%endif
+%if 0%{?with_svg}
+%{tde_datadir}/ksquirrel-libs/libkls_svg.so.ui
+%endif
+%{tde_datadir}/ksquirrel-libs/libkls_tiff.so.ui
+%{tde_datadir}/ksquirrel-libs/libkls_xcf.so.ui
+%{tde_datadir}/ksquirrel-libs/rgbmap
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_includedir}/ksquirrel-libs/error.h
+%{tde_includedir}/ksquirrel-libs/fileio.h
+%{tde_includedir}/ksquirrel-libs/fmt_codec_base.h
+%{tde_includedir}/ksquirrel-libs/fmt_defs.h
+%{tde_includedir}/ksquirrel-libs/fmt_types.h
+%{tde_includedir}/ksquirrel-libs/fmt_utils.h
+%{tde_includedir}/ksquirrel-libs/settings.h
+%{tde_libdir}/ksquirrel-libs/libkls_avs.la
+%{tde_libdir}/ksquirrel-libs/libkls_avs.so
+%{tde_libdir}/ksquirrel-libs/libkls_bmp.la
+%{tde_libdir}/ksquirrel-libs/libkls_bmp.so
+%{tde_libdir}/ksquirrel-libs/libkls_camera.la
+%{tde_libdir}/ksquirrel-libs/libkls_camera.so
+%{tde_libdir}/ksquirrel-libs/libkls_cut.la
+%{tde_libdir}/ksquirrel-libs/libkls_cut.so
+%{tde_libdir}/ksquirrel-libs/libkls_dds.la
+%{tde_libdir}/ksquirrel-libs/libkls_dds.so
+%if 0%{?with_xmedcon}
+%{tde_libdir}/ksquirrel-libs/libkls_dicom.la
+%{tde_libdir}/ksquirrel-libs/libkls_dicom.so
+%endif
+%if 0%{?with_djvu}
+%{tde_libdir}/ksquirrel-libs/libkls_djvu.la
+%{tde_libdir}/ksquirrel-libs/libkls_djvu.so
+%endif
+%{tde_libdir}/ksquirrel-libs/libkls_eps.la
+%{tde_libdir}/ksquirrel-libs/libkls_eps.so
+%{tde_libdir}/ksquirrel-libs/libkls_fig.la
+%{tde_libdir}/ksquirrel-libs/libkls_fig.so
+%{tde_libdir}/ksquirrel-libs/libkls_fli.la
+%{tde_libdir}/ksquirrel-libs/libkls_fli.so
+%{tde_libdir}/ksquirrel-libs/libkls_gif.la
+%{tde_libdir}/ksquirrel-libs/libkls_gif.so
+%{tde_libdir}/ksquirrel-libs/libkls_hdr.la
+%{tde_libdir}/ksquirrel-libs/libkls_hdr.so
+%{tde_libdir}/ksquirrel-libs/libkls_ico.la
+%{tde_libdir}/ksquirrel-libs/libkls_ico.so
+%{tde_libdir}/ksquirrel-libs/libkls_iff.la
+%{tde_libdir}/ksquirrel-libs/libkls_iff.so
+%{tde_libdir}/ksquirrel-libs/libkls_jbig.la
+%{tde_libdir}/ksquirrel-libs/libkls_jbig.so
+%{tde_libdir}/ksquirrel-libs/libkls_jpeg.la
+%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so
+%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.la
+%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so
+%{tde_libdir}/ksquirrel-libs/libkls_koala.la
+%{tde_libdir}/ksquirrel-libs/libkls_koala.so
+%{tde_libdir}/ksquirrel-libs/libkls_leaf.la
+%{tde_libdir}/ksquirrel-libs/libkls_leaf.so
+%{tde_libdir}/ksquirrel-libs/libkls_lif.la
+%{tde_libdir}/ksquirrel-libs/libkls_lif.so
+%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.la
+%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so
+%{tde_libdir}/ksquirrel-libs/libkls_mac.la
+%{tde_libdir}/ksquirrel-libs/libkls_mac.so
+%{tde_libdir}/ksquirrel-libs/libkls_mdl.la
+%{tde_libdir}/ksquirrel-libs/libkls_mdl.so
+%{tde_libdir}/ksquirrel-libs/libkls_mng.la
+%{tde_libdir}/ksquirrel-libs/libkls_mng.so
+%{tde_libdir}/ksquirrel-libs/libkls_mtv.la
+%{tde_libdir}/ksquirrel-libs/libkls_mtv.so
+%{tde_libdir}/ksquirrel-libs/libkls_neo.la
+%{tde_libdir}/ksquirrel-libs/libkls_neo.so
+%{tde_libdir}/ksquirrel-libs/libkls_openexr.la
+%{tde_libdir}/ksquirrel-libs/libkls_openexr.so
+%{tde_libdir}/ksquirrel-libs/libkls_pcx.la
+%{tde_libdir}/ksquirrel-libs/libkls_pcx.so
+%{tde_libdir}/ksquirrel-libs/libkls_pi1.la
+%{tde_libdir}/ksquirrel-libs/libkls_pi1.so
+%{tde_libdir}/ksquirrel-libs/libkls_pi3.la
+%{tde_libdir}/ksquirrel-libs/libkls_pi3.so
+%{tde_libdir}/ksquirrel-libs/libkls_pix.la
+%{tde_libdir}/ksquirrel-libs/libkls_pix.so
+%{tde_libdir}/ksquirrel-libs/libkls_png.la
+%{tde_libdir}/ksquirrel-libs/libkls_png.so
+%{tde_libdir}/ksquirrel-libs/libkls_pnm.la
+%{tde_libdir}/ksquirrel-libs/libkls_pnm.so
+%{tde_libdir}/ksquirrel-libs/libkls_psd.la
+%{tde_libdir}/ksquirrel-libs/libkls_psd.so
+%{tde_libdir}/ksquirrel-libs/libkls_psp.la
+%{tde_libdir}/ksquirrel-libs/libkls_psp.so
+%{tde_libdir}/ksquirrel-libs/libkls_pxr.la
+%{tde_libdir}/ksquirrel-libs/libkls_pxr.so
+%{tde_libdir}/ksquirrel-libs/libkls_ras.la
+%{tde_libdir}/ksquirrel-libs/libkls_ras.so
+%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.la
+%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so
+%{tde_libdir}/ksquirrel-libs/libkls_sct.la
+%{tde_libdir}/ksquirrel-libs/libkls_sct.so
+%{tde_libdir}/ksquirrel-libs/libkls_sgi.la
+%{tde_libdir}/ksquirrel-libs/libkls_sgi.so
+%{tde_libdir}/ksquirrel-libs/libkls_sun.la
+%{tde_libdir}/ksquirrel-libs/libkls_sun.so
+%if 0%{?with_svg}
+%{tde_libdir}/ksquirrel-libs/libkls_svg.la
+%{tde_libdir}/ksquirrel-libs/libkls_svg.so
+%endif
+%{tde_libdir}/ksquirrel-libs/libkls_tga.la
+%{tde_libdir}/ksquirrel-libs/libkls_tga.so
+%{tde_libdir}/ksquirrel-libs/libkls_tiff.la
+%{tde_libdir}/ksquirrel-libs/libkls_tiff.so
+%if 0%{?with_freetype}
+%{tde_libdir}/ksquirrel-libs/libkls_ttf.la
+%{tde_libdir}/ksquirrel-libs/libkls_ttf.so
+%endif
+%{tde_libdir}/ksquirrel-libs/libkls_utah.la
+%{tde_libdir}/ksquirrel-libs/libkls_utah.so
+%{tde_libdir}/ksquirrel-libs/libkls_wal.la
+%{tde_libdir}/ksquirrel-libs/libkls_wal.so
+%{tde_libdir}/ksquirrel-libs/libkls_wbmp.la
+%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so
+%{tde_libdir}/ksquirrel-libs/libkls_wmf.la
+%{tde_libdir}/ksquirrel-libs/libkls_wmf.so
+%{tde_libdir}/ksquirrel-libs/libkls_xbm.la
+%{tde_libdir}/ksquirrel-libs/libkls_xbm.so
+%{tde_libdir}/ksquirrel-libs/libkls_xcf.la
+%{tde_libdir}/ksquirrel-libs/libkls_xcf.so
+%{tde_libdir}/ksquirrel-libs/libkls_xcur.la
+%{tde_libdir}/ksquirrel-libs/libkls_xcur.so
+%{tde_libdir}/ksquirrel-libs/libkls_xim.la
+%{tde_libdir}/ksquirrel-libs/libkls_xim.so
+%{tde_libdir}/ksquirrel-libs/libkls_xpm.la
+%{tde_libdir}/ksquirrel-libs/libkls_xpm.so
+%{tde_libdir}/ksquirrel-libs/libkls_xwd.la
+%{tde_libdir}/ksquirrel-libs/libkls_xwd.so
+%{tde_libdir}/libksquirrel-libs-png.la
+%{tde_libdir}/libksquirrel-libs-png.so
+%{tde_libdir}/libksquirrel-libs.la
+%{tde_libdir}/libksquirrel-libs.so
+%{tde_libdir}/pkgconfig/ksquirrellibs.pc
+%{tde_docdir}/ksquirrel-libs/
+
+%files tools
+%defattr(-,root,root,-)
+%{tde_bindir}/ksquirrel-libs-camera2ppm
+%{tde_bindir}/ksquirrel-libs-dcraw
+%if 0%{?with_xmedcon}
+%{tde_bindir}/ksquirrel-libs-dicom2png
+%endif
+%{tde_bindir}/ksquirrel-libs-fig2ppm
+%{tde_bindir}/ksquirrel-libs-iff2ppm
+%{tde_bindir}/ksquirrel-libs-leaf2ppm
+%{tde_bindir}/ksquirrel-libs-ljpeg2ppm
+%{tde_bindir}/ksquirrel-libs-ljpeg2ppm-s
+%{tde_bindir}/ksquirrel-libs-mac2ppm
+%{tde_bindir}/ksquirrel-libs-neo2ppm
+%{tde_bindir}/ksquirrel-libs-pi12ppm
+%{tde_bindir}/ksquirrel-libs-pi32ppm
+%if 0%{?with_svg}
+%{tde_bindir}/ksquirrel-libs-svg2png
+%endif
+%if 0%{?with_freetype}
+%{tde_bindir}/ksquirrel-libs-ttf2pnm
+%endif
+%{tde_bindir}/ksquirrel-libs-utah2ppm
+%{tde_bindir}/ksquirrel-libs-xcf2pnm
+%{tde_bindir}/ksquirrel-libs-xim2ppm
+
+
+%Changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial build for TDE 3.5.13.2
diff --git a/redhat/libraries/libtdeldap/libtdeldap-14.0.0-ftbfs.patch b/redhat/libraries/libtdeldap/libtdeldap-14.0.0-ftbfs.patch
new file mode 100644
index 000000000..874d5da08
--- /dev/null
+++ b/redhat/libraries/libtdeldap/libtdeldap-14.0.0-ftbfs.patch
@@ -0,0 +1,11 @@
+--- trinity-libtdeldap-14.0.0~pre91+a257ac4f/src/Makefile.am.ORI 2013-07-04 19:29:13.674536933 +0200
++++ trinity-libtdeldap-14.0.0~pre91+a257ac4f/src/Makefile.am 2013-07-04 19:29:33.216775942 +0200
+@@ -7,7 +7,7 @@
+ include_HEADERS = libtdeldap.h ldappasswddlg.h
+
+ libtdeldap_la_SOURCES = libtdeldap.cpp ldaplogindlgbase.ui ldaplogindlg.cpp ldappasswddlg.cpp
+-libtdeldap_la_LIBADD = -ltdeio $(LIB_TDEUI) -lldap
++libtdeldap_la_LIBADD = -ltdeio $(LIB_TDEUI) -lldap $(LIB_QT) $(LIB_TDECORE) -ltdesu -llber
+ libtdeldap_la_LDFLAGS = -version-info $(lt_current):$(lt_revision):$(lt_age) -no-undefined \
+ $(all_libraries)
+
diff --git a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
new file mode 100644
index 000000000..1016562fd
--- /dev/null
+++ b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
@@ -0,0 +1,142 @@
+# Default version for this component
+%define tdecomp libtdeldap
+%define tde_version 14.0.0
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific 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_datadsir}/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: LDAP interface library for TDE
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Environment/Libraries
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Patch0: libtdeldap-14.0.0-ftbfs.patch
+
+BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
+BuildRequires: trinity-arts-devel >= %{tde_version}
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+BuildRequires: openldap-devel
+
+
+%description
+LDAP interface library for TDE management modules.
+
+libtdeldap-trinity contains the library of libtdeldap.
+
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+%files
+%defattr(-,root,root,-)
+%{tde_libdir}/libtdeldap.so.1
+%{tde_libdir}/libtdeldap.so.1.0.0
+
+##########
+
+%package devel
+Group: Development/Libraries
+Summary: Trinity image viewer
+Requires: %{name}
+
+%description devel
+LDAP interface library for TDE management modules.
+
+libtdeldap-trinity-dev contains development files and documentation.
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/ldappasswddlg.h
+%{tde_tdeincludedir}/libtdeldap.h
+%{tde_libdir}/libtdeldap.la
+%{tde_libdir}/libtdeldap.so
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+%patch0 -p1 -b .ftbfs
+
+%__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 QTINC QTLIB
+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
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%Changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial build for TDE 3.5.13.2
diff --git a/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0-ftbfs.patch b/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0-ftbfs.patch
new file mode 100644
index 000000000..df8630e61
--- /dev/null
+++ b/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0-ftbfs.patch
@@ -0,0 +1,11 @@
+--- trinity-libtqt-perl-14.0.0~pre127+d5696aa6/configure.in.ORI 2013-07-04 19:50:09.707137994 +0200
++++ trinity-libtqt-perl-14.0.0~pre127+d5696aa6/configure.in 2013-07-04 19:50:18.592226468 +0200
+@@ -43,7 +43,7 @@
+ KDE_SET_PREFIX
+
+ dnl generate the config header
+-AM_CONFIG_HEADER(config.h) dnl at the distribution this done
++AC_CONFIG_HEADER(config.h) dnl at the distribution this done
+
+ dnl Checks for programs.
+ AC_PROG_CC
diff --git a/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec b/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec
new file mode 100644
index 000000000..0c45258cc
--- /dev/null
+++ b/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec
@@ -0,0 +1,131 @@
+# Default version for this component
+%define tdecomp libtqt-perl
+%define tde_version 14.0.0
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific 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_datadsir}/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: Perl bindings for the TQt library
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Environment/Libraries
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Patch0: libtqt-perl-14.0.0-ftbfs.patch
+
+BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
+BuildRequires: trinity-arts-devel >= %{tde_version}
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+BuildRequires: trinity-libsmokeqt-devel
+
+%description
+This module lets you use the TQt library from Perl.
+It provides an object-oriented interface and is easy to use.
+
+
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/puic
+%{tde_mandir}/man1/puic.1*
+%{_bindir}/pqtapi
+%{_bindir}/pqtsh
+%{perl_vendorarch}/TQt.pm
+%{perl_vendorarch}/TQt.pod
+%{perl_vendorarch}/TQt/GlobalSpace.pm
+%{perl_vendorarch}/TQt/attributes.pm
+%{perl_vendorarch}/TQt/constants.pm
+%{perl_vendorarch}/TQt/debug.pm
+%{perl_vendorarch}/TQt/enumerations.pm
+%{perl_vendorarch}/TQt/isa.pm
+%{perl_vendorarch}/TQt/properties.pm
+%{perl_vendorarch}/TQt/signals.pm
+%{perl_vendorarch}/TQt/slots.pm
+%{perl_vendorarch}/auto/TQt/TQt.so
+%{_mandir}/man3/TQt.3pm.*
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+%patch0 -p1 -b .ftbfs
+
+%__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 QTINC QTLIB
+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
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%Changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
+- Initial build for TDE 14.0.0
diff --git a/redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.2-fix_extra_module_dir.patch b/redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.2-fix_extra_module_dir.patch
index ba57986f0..e02d15f98 100644
--- a/redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.2-fix_extra_module_dir.patch
+++ b/redhat/libraries/pytdeextensions/pykdeextensions-3.5.13.2-fix_extra_module_dir.patch
@@ -26,13 +26,13 @@
}
+
+ // Add the extra path to the python script to the interpreter search path.
-+ QString extrapath = QString(EXTRA_MODULE_DIR);
++ TQString extrapath = TQString(EXTRA_MODULE_DIR);
+ if(!pyize->appendToSysPath (extrapath.latin1 ())) {
+ return report_error ("***Failed to set extra sys.path\n");
+ }
+
+ // Add the PYQT path to the python script to the interpreter search path.
-+ QString pyqt_dir = QString(PYQT_DIR);
++ TQString pyqt_dir = TQString(PYQT_DIR);
+ if(!pyize->appendToSysPath (pyqt_dir.latin1 ())) {
+ return report_error ("***Failed to set PYQT sys.path\n");
+ }
diff --git a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-fix_include_dir.patch b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-fix_include_dir.patch
new file mode 100644
index 000000000..40c466e4e
--- /dev/null
+++ b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0-fix_include_dir.patch
@@ -0,0 +1,11 @@
+--- trinity-pytdeextensions-14.0.0~pre116+64c969d7/src/kdedistutils.py.ORI 2013-07-04 20:30:36.889883389 +0200
++++ trinity-pytdeextensions-14.0.0~pre116+64c969d7/src/kdedistutils.py 2013-07-04 20:30:54.729085109 +0200
+@@ -539,7 +539,7 @@
+ canidatepaths.append(os.path.join(tdedir,"include"))
+ canidatepaths.append(os.path.join(install.prefix,"include"))
+ canidatepaths.append('/opt/trinity/include')
+- canidatepaths.append('/opt/kde/include')
++ canidatepaths.append('/opt/trinity/include/tde')
+ self.kde_inc_dir = FindFileInPaths('tdeapplication.h',canidatepaths)
+ if self.kde_inc_dir is None:
+ raise SystemExit, "Failed to find the KDE header file directory."
diff --git a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec
new file mode 100644
index 000000000..4bbade0c0
--- /dev/null
+++ b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec
@@ -0,0 +1,208 @@
+%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+%define tde_version 14.0.0
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific 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-pytdeextensions
+Summary: Python packages to support TDE applications (scripts) [Trinity]
+Version: 0.4.0
+Release: %{?!preversion:5}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.simonzone.com/software/pykdeextensions
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
+
+
+# [pykdeextensions] Fix hardcoded path to Guidance python libraries [Bug #999]
+Patch2: pykdeextensions-3.5.13.2-fix_extra_module_dir.patch
+# [pykdeextensions] Fix include directory search location
+Patch5: pytdeextensions-14.0.0-fix_include_dir.patch
+
+BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
+BuildRequires: trinity-arts-devel >= %{tde_version}
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+BuildRequires: trinity-python-tqt-devel
+BuildRequires: trinity-python-trinity-devel
+
+Requires: trinity-libpythonize0 = %{version}-%{release}
+
+Obsoletes: trinity-pykdeextensions < %{version}-%{release}
+Provides: trinity-pykdeextensions = %{version}-%{release}
+
+
+%description
+PyTDE Extensions is a collection of software and Python packages
+to support the creation and installation of TDE applications.
+
+
+%package -n trinity-libpythonize0
+Summary: Python packages to support KDE applications (library) [Trinity]
+Group: Environment/Libraries
+
+%description -n trinity-libpythonize0
+PyTDE Extensions is a collection of software and Python packages
+to support the creation and installation of KDE applications.
+
+This package contains the libpythonize library files.
+
+
+%package -n trinity-libpythonize0-devel
+Summary: Python packages to support KDE applications (development) [Trinity]
+Group: Development/Libraries
+Requires: trinity-libpythonize0 = %{version}-%{release}
+
+%description -n trinity-libpythonize0-devel
+PyTDE Extensions is a collection of software and Python packages
+to support the creation and installation of TDE applications.
+
+This package contains the libpythonize development files.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
+%patch2 -p1 -b .extramodule
+%patch5 -p1 -b .incdir
+
+# Changes library directory to 'lib64'
+# Also other fixes for distributions ...
+for f in src/*.py; do
+ %__sed -i "${f}" \
+ -e "s|%{tde_prefix}/lib/|%{tde_libdir}/|g" \
+ -e "s|/usr/lib/pyshared/python\*|%{python_sitearch}|g" \
+ -e "s|'pykde-dir=',None,|'pykde-dir=','%{python_sitearch}',|g" \
+ -e "s|self.pykde_dir = None|self.pykde_dir = \"%{python_sitearch}\"|g" \
+ -e "s|%{tde_includedir}/kde|%{tde_tdeincludedir}|g" \
+ -e 's|"/kde"|"/tde"|'
+done
+
+# Do not look for 'libpython2.x.so' (from -devel) package.
+# Instead look for runtime library.
+LIBPYTHON="$(readlink %{_libdir}/libpython2.*.so)"
+if [ -f "%{_libdir}/${LIBPYTHON}" ]; then
+ %__sed -i "src/kdedistutils.py" \
+ -e "s|#define LIB_PYTHON \".*\"|#define LIB_PYTHON \"%{_libdir}/${LIBPYTHON}\"|"
+fi
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+%__mkdir_p build
+./setup.py build_libpythonize
+
+%install
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+
+# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia
+export PYTHONDONTWRITEBYTECODE=
+
+%__rm -rf %{buildroot}
+
+./setup.py install \
+ --root=%{buildroot} \
+ --prefix=%{tde_prefix} \
+ --install-clib=%{tde_libdir} \
+ --install-cheaders=%{tde_tdeincludedir} -v
+
+# Removes BUILDROOT directory reference in installed files
+for f in \
+ %{buildroot}%{tde_libdir}/libpythonize.la \
+ %{buildroot}%{tde_datadir}/apps/pytdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py \
+ %{buildroot}%{tde_datadir}/apps/pytdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py \
+; do
+ %__sed -i "${f}" -e "s|%{buildroot}||g"
+:
+done
+
+# Moves PYTHON libraries to distribution directory
+%__mkdir_p %{buildroot}%{python_sitearch}
+%__mv -f %{buildroot}%{tde_prefix}/lib/python*/site-packages/* %{buildroot}%{python_sitearch}
+%__rm -rf %{buildroot}%{tde_prefix}/lib/python*/site-packages
+
+# Removes useless files
+%__rm -rf %{?buildroot}%{tde_libdir}/*.a
+
+# Fix permissions on include files
+%__chmod 644 %{?buildroot}%{tde_tdeincludedir}/*.h
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post -n trinity-libpythonize0
+/sbin/ldconfig
+
+%postun -n trinity-libpythonize0
+/sbin/ldconfig
+
+%post -n trinity-libpythonize0-devel
+/sbin/ldconfig
+
+%postun -n trinity-libpythonize0-devel
+/sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%{tde_datadir}/apps/pykdeextensions
+%{tde_tdedocdir}/HTML/en/pykdeextensions
+%{python_sitearch}/*
+
+%files -n trinity-libpythonize0
+%defattr(-,root,root,-)
+%{tde_libdir}/libpythonize.so.*
+
+%files -n trinity-libpythonize0-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/*.h
+%{tde_libdir}/libpythonize.la
+%{tde_libdir}/libpythonize.so
+
+
+%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.4.0-3
+- Initial release for TDE 3.5.13.1
diff --git a/redhat/libraries/python-trinity/python-trinity-14.0.0-tde_includedir.patch b/redhat/libraries/python-trinity/python-trinity-14.0.0-tde_includedir.patch
new file mode 100644
index 000000000..22c7387f3
--- /dev/null
+++ b/redhat/libraries/python-trinity/python-trinity-14.0.0-tde_includedir.patch
@@ -0,0 +1,11 @@
+--- trinity-python-trinity-14.0.0~pre168+4d311123/configure.py.ORI 2013-07-03 21:36:51.304975764 +0200
++++ trinity-python-trinity-14.0.0~pre168+4d311123/configure.py 2013-07-03 21:37:14.099193791 +0200
+@@ -410,7 +410,7 @@
+
+ if not opt_kdeincdir:
+ incSearchPaths = [os.path.join (opt_tdebasedir, "include")]
+- incSearchPaths.append (os.path.join (opt_tdebasedir, "include", "kde")) # Red Hat
++ incSearchPaths.append (os.path.join (opt_tdebasedir, "include", "tde")) # Red Hat
+ opt_kdeincdir = search ("tdeapplication.h", incSearchPaths)
+
+ def check_kde_installation():
diff --git a/redhat/libraries/python-trinity/python-trinity-14.0.0.spec b/redhat/libraries/python-trinity/python-trinity-14.0.0.spec
new file mode 100644
index 000000000..71d0d7a26
--- /dev/null
+++ b/redhat/libraries/python-trinity/python-trinity-14.0.0.spec
@@ -0,0 +1,173 @@
+%{!?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
+%define tde_version 14.0.0
+
+# TDE 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-python-trinity
+Summary: Trinity bindings for Python [Trinity]
+Version: 3.16.3
+Release: %{?!preversion:5}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+#URL: http://www.simonzone.com/software/pykdeextensions
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
+
+# Fix include subdirectory 'tde' instead of 'kde'
+Patch1: python-trinity-14.0.0-tde_includedir.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: desktop-file-utils
+BuildRequires: gettext
+
+BuildRequires: python
+BuildRequires: trinity-python-tqt-devel
+
+
+# SIP support
+%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
+# RHEL 4/5 comes with old version, so we brought ours ...
+BuildRequires: trinity-sip-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: python-sip
+%endif
+%if 0%{?rhel} >= 6 || 0%{?fedora}
+BuildRequires: sip-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: python-sip-devel
+%endif
+
+Obsoletes: python-trinity < %{version}-%{release}
+Provides: python-trinity = %{version}-%{release}
+
+%description
+Python binding module that provides wide access to the Trinity API,
+also known as PyTDE. Using this, you'll get (for example) classes
+from kio, kjs, khtml and kprint.
+
+
+%package devel
+Summary: Trinity bindings for Python - Development files and scripts [Trinity]
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+Obsoletes: python-trinity-devel < %{version}-%{release}
+Provides: python-trinity-devel = %{version}-%{release}
+
+%description devel
+Development .sip files with definitions of PyTDE classes. They
+are needed to build PyTDE, but also as building blocks of other
+packages based on them.
+The package also contains kdepyuic, a wrapper script around PyQt's
+user interface compiler.
+
+
+%package doc
+Summary: Documentation and examples for PyTDE [Trinity]
+Group: Development/Libraries
+
+Obsoletes: python-trinity-doc < %{version}-%{release}
+Provides: python-trinity-doc = %{version}-%{release}
+
+%description doc
+General documentation and examples for PyTDE providing programming
+tips and working code you can use to learn from.
+
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
+%patch1 -p1 -b .inc
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+#export LDFLAGS="${LDFLAGS} -lpython2.7"
+
+export DH_OPTIONS
+
+%__python configure.py \
+ -k %{tde_prefix} \
+ -L %{_lib} \
+ -v %{_datadir}/sip/trinity
+
+%__make %{_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# Install documentation
+%__mkdir_p %{buildroot}%{tde_tdedocdir}/HTML/en/
+%__cp -rf doc %{buildroot}%{tde_tdedocdir}/HTML/en/python-trinity/
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README
+%{python_sitearch}/*.so
+%{python_sitearch}/dcop*.py*
+%{python_sitearch}/pytde*.py*
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_bindir}/kdepyuic
+# The SIP files are outside TDE's prefix
+%{_datadir}/sip/trinity/
+
+%files doc
+%defattr(-,root,root,-)
+%{tde_tdedocdir}/HTML/en/python-trinity/
+
+
+%changelog
+* Wed Jul 03 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
+- Initial release for TDE 14.0.0
diff --git a/redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec b/redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec
new file mode 100644
index 000000000..35ca62871
--- /dev/null
+++ b/redhat/tdeaccessibility/tdeaccessibility-14.0.0.spec
@@ -0,0 +1,510 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Summary: Trinity Desktop Environment - Accessibility
+Name: trinity-tdeaccessibility
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2
+Group: User Interface/Desktops
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: desktop-file-utils
+BuildRequires: trinity-akode-devel
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tdemultimedia-devel >= %{version}
+
+BuildRequires: alsa-lib-devel
+
+# X11 Libraries
+%if 0%{?fedora} > 4 || 0%{?rhel} > 4
+BuildRequires: libXtst-devel
+%endif
+
+# XCB support
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?pclinuxos}
+BuildRequires: libxcb-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xcb-devel
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xi-devel
+BuildRequires: %{_lib}xext%{?mgaversion:6}-devel
+BuildRequires: %{_lib}x11%{?mgaversion:_6}-devel
+BuildRequires: %{_lib}xau%{?mgaversion:6}-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
+BuildRequires: libXi-devel
+BuildRequires: libXext-devel
+BuildRequires: libX11-devel
+BuildRequires: libXau-devel
+%endif
+%if 0%{?rhel} == 4 || 0%{?suse_version} == 1140
+BuildRequires: xorg-x11-devel
+%endif
+
+Obsoletes: trinity-kdeaccessibility < %{version}-%{release}
+Provides: trinity-kdeaccessibility = %{version}-%{release}
+Obsoletes: trinity-kdeaccessibility-libs < %{version}-%{release}
+Provides: trinity-kdeaccessibility-libs = %{version}-%{release}
+
+Requires: trinity-tde-icons-mono = %{version}-%{release}
+Requires: trinity-kbstate = %{version}-%{release}
+Requires: trinity-kmag = %{version}-%{release}
+Requires: trinity-kmousetool = %{version}-%{release}
+Requires: trinity-kmouth = %{version}-%{release}
+Requires: trinity-ksayit = %{version}-%{release}
+Requires: trinity-kttsd = %{version}-%{release}
+Requires: trinity-kttsd-contrib-plugins = %{version}-%{release}
+
+%description
+Included with this package are:
+* kmag, a screen magnifier,
+* kmousetool, a program for people whom it hurts to click the mouse,
+* kmouth, program that allows people who have lost their voice
+ to let their computer speak for them.
+
+%files
+
+##########
+
+%package -n trinity-tde-icons-mono
+Summary: A monochromatic icons theme for TDE
+Group: User Interface/Desktops
+
+Obsoletes: trinity-kde-icons-mono < %{version}-%{release}
+Provides: trinity-kde-icons-mono = %{version}-%{release}
+
+%description -n trinity-tde-icons-mono
+A monochromatic icon theme for TDE, designed for accessibility purposes.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-tde-icons-mono
+%defattr(-,root,root,-)
+%{tde_datadir}/icons/mono/index.theme
+%{tde_datadir}/icons/mono/scalable/*/*.svgz
+
+##########
+
+%package -n trinity-kbstate
+Summary: a keyboard status applet for TDE
+Group: User Interface/Desktops
+
+%description -n trinity-kbstate
+A panel applet that displays the keyboard status.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-kbstate
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kbstate_panelapplet.la
+%{tde_tdelibdir}/kbstate_panelapplet.so
+%{tde_datadir}/apps/kbstateapplet/
+%{tde_datadir}/apps/kicker/applets/kbstateapplet.desktop
+
+##########
+
+%package -n trinity-kmag
+Summary: A screen magnifier for TDE
+Group: User Interface/Desktops
+
+%description -n trinity-kmag
+KDE's screen magnifier tool.
+
+You can use KMagnifier to magnify a part of the screen just as you would use
+a lens to magnify a newspaper fine-print or a photograph. This application is
+useful for a variety of people: from researchers to artists to web-designers to
+people with low vision.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-kmag
+%defattr(-,root,root,-)
+%{tde_bindir}/kmag
+%{tde_datadir}/applnk/Applications/kmag.desktop
+%{tde_datadir}/apps/kmag/
+%{tde_datadir}/icons/hicolor/*/apps/kmag.png
+%{tde_datadir}/icons/locolor/*/apps/kmag.png
+%{tde_tdedocdir}/HTML/en/kmag/
+
+%post -n trinity-kmag
+/sbin/ldconfig ||:
+for icon_theme in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+%postun -n trinity-kmag
+/sbin/ldconfig ||:
+for icon_theme in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-kmousetool
+Summary: TDE mouse manipulation tool for the disabled
+Group: User Interface/Desktops
+
+%description -n trinity-kmousetool
+KMouseTool clicks the mouse whenever the mouse cursor pauses briefly. It was
+designed to help those with repetitive strain injuries, for whom pressing
+buttons hurts.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-kmousetool
+%defattr(-,root,root,-)
+%{tde_bindir}/kmousetool
+%{tde_datadir}/applnk/Applications/kmousetool.desktop
+%{tde_datadir}/apps/kmousetool/
+%{tde_datadir}/icons/hicolor/*/apps/kmousetool.png
+%{tde_tdedocdir}/HTML/en/kmousetool/
+
+%post -n trinity-kmousetool
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+%postun -n trinity-kmousetool
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-kmouth
+Summary: A type-and-say KDE frontend for speech synthesizers
+Group: User Interface/Desktops
+
+%description -n trinity-kmouth
+KDE's type-and-say frontend for speech synthesizers.
+
+It includes a history of spoken sentences from which the user can select
+sentences to be re-spoken.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-kmouth
+%defattr(-,root,root,-)
+%{tde_datadir}/config/kmouthrc
+%{tde_bindir}/kmouth
+%{tde_datadir}/applnk/Applications/kmouth.desktop
+%{tde_datadir}/apps/kmouth/
+%{tde_datadir}/icons/hicolor/*/actions/speak.png
+%{tde_datadir}/icons/hicolor/*/actions/nospeak.png
+%{tde_datadir}/icons/hicolor/*/apps/kmouth.png
+%{tde_datadir}/icons/locolor/*/actions/speak.png
+%{tde_datadir}/icons/locolor/*/apps/kmouth.png
+%{tde_tdedocdir}/HTML/en/kmouth/
+
+%post -n trinity-kmouth
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+%postun -n trinity-kmouth
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-ksayit
+Summary: A frontend for the TDE Text-to-Speech system
+Group: User Interface/Desktops
+
+%description -n trinity-ksayit
+Text-to-speech front-end to kttsd.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-ksayit
+%defattr(-,root,root,-)
+%{tde_bindir}/ksayit
+%{tde_tdeincludedir}/ksayit_fxplugin.h
+%{tde_tdelibdir}/libFreeverb_plugin.la
+%{tde_tdelibdir}/libFreeverb_plugin.so
+%{tde_libdir}/libKTTSD_Lib.so.*
+%{tde_tdeappdir}/ksayit.desktop
+%{tde_datadir}/apps/ksayit/
+%{tde_datadir}/icons/hicolor/*/apps/ksayit.png
+%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_clipempty.png
+%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_talking.png
+%{tde_datadir}/services/ksayit_libFreeverb.desktop
+%{tde_datadir}/servicetypes/ksayit_libFreeverb_service.desktop
+
+%post -n trinity-ksayit
+/sbin/ldconfig ||:
+for icon_theme in mono hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksayit
+/sbin/ldconfig ||:
+for icon_theme in mono hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kttsd
+Summary: A Text-to-Speech system for TDE
+Group: User Interface/Desktops
+
+%description -n trinity-kttsd
+The KDE Text-to-Speech system is a plugin based service that allows any KDE
+(or non-KDE) application to speak using the DCOP interface.
+
+ksayit and kmouth are useful front-ends for this capability, while one of
+festival, flite, and epos are essential back-ends.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+Homepage: http://accessibility.kde.org/developer/kttsd
+
+%files -n trinity-kttsd
+%defattr(-,root,root,-)
+%{tde_bindir}/kttsd
+%{tde_bindir}/kttsmgr
+%{tde_tdelibdir}/kcm_kttsd.la
+%{tde_tdelibdir}/kcm_kttsd.so
+%{tde_tdelibdir}/tdetexteditor_kttsd.la
+%{tde_tdelibdir}/tdetexteditor_kttsd.so
+%{tde_tdelibdir}/libkttsd_akodeplugin.la
+%{tde_tdelibdir}/libkttsd_akodeplugin.so
+%{tde_tdelibdir}/libkttsd_alsaplugin.la
+%{tde_tdelibdir}/libkttsd_alsaplugin.so
+%{tde_tdelibdir}/libkttsd_artsplugin.la
+%{tde_tdelibdir}/libkttsd_artsplugin.so
+%{tde_tdelibdir}/libkttsd_commandplugin.la
+%{tde_tdelibdir}/libkttsd_commandplugin.so
+%{tde_tdelibdir}/libkttsd_eposplugin.la
+%{tde_tdelibdir}/libkttsd_eposplugin.so
+%{tde_tdelibdir}/libkttsd_festivalintplugin.la
+%{tde_tdelibdir}/libkttsd_festivalintplugin.so
+%{tde_tdelibdir}/libkttsd_fliteplugin.la
+%{tde_tdelibdir}/libkttsd_fliteplugin.so
+%{tde_tdelibdir}/libkttsd_sbdplugin.la
+%{tde_tdelibdir}/libkttsd_sbdplugin.so
+%{tde_tdelibdir}/libkttsd_stringreplacerplugin.la
+%{tde_tdelibdir}/libkttsd_stringreplacerplugin.so
+%{tde_tdelibdir}/libkttsd_talkerchooserplugin.la
+%{tde_tdelibdir}/libkttsd_talkerchooserplugin.so
+%{tde_tdelibdir}/libkttsd_xmltransformerplugin.la
+%{tde_tdelibdir}/libkttsd_xmltransformerplugin.so
+%{tde_tdelibdir}/libkttsjobmgrpart.la
+%{tde_tdelibdir}/libkttsjobmgrpart.so
+%{tde_libdir}/libkttsd.so.*
+%{tde_tdeappdir}/kcmkttsd.desktop
+%{tde_tdeappdir}/kttsmgr.desktop
+%{tde_datadir}/apps/tdetexteditor_kttsd/tdetexteditor_kttsdui.rc
+%exclude %{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl
+%{tde_datadir}/apps/kttsd/
+%{tde_datadir}/icons/hicolor/16x16/actions/female.png
+%{tde_datadir}/icons/hicolor/16x16/actions/male.png
+%{tde_datadir}/services/tdetexteditor_kttsd.desktop
+%{tde_datadir}/services/kttsd.desktop
+%{tde_datadir}/services/kttsd_akodeplugin.desktop
+%{tde_datadir}/services/kttsd_alsaplugin.desktop
+%{tde_datadir}/services/kttsd_artsplugin.desktop
+%{tde_datadir}/services/kttsd_commandplugin.desktop
+%{tde_datadir}/services/kttsd_eposplugin.desktop
+%{tde_datadir}/services/kttsd_festivalintplugin.desktop
+%{tde_datadir}/services/kttsd_fliteplugin.desktop
+%{tde_datadir}/services/kttsd_sbdplugin.desktop
+%{tde_datadir}/services/kttsd_stringreplacerplugin.desktop
+%{tde_datadir}/services/kttsd_talkerchooserplugin.desktop
+%{tde_datadir}/services/kttsd_xmltransformerplugin.desktop
+%{tde_datadir}/services/kttsjobmgr.desktop
+%{tde_datadir}/servicetypes/kttsd_audioplugin.desktop
+%{tde_datadir}/servicetypes/kttsd_filterplugin.desktop
+%{tde_datadir}/servicetypes/kttsd_synthplugin.desktop
+%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.svgz
+%{tde_tdedocdir}/HTML/en/kttsd/
+
+%post -n trinity-kttsd
+/sbin/ldconfig ||:
+for icon_theme in crystalsvg hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kttsd
+/sbin/ldconfig ||:
+for icon_theme in crystalsvg hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kttsd-contrib-plugins
+Summary: the TDE Text-to-Speech system
+Group: User Interface/Desktops
+Requires: trinity-kttsd = %{version}-%{release}
+
+%description -n trinity-kttsd-contrib-plugins
+kttsd synthetizer plugins that depends on non-free software :
+* FreeTTS plugin.
+* Hadifix (mbrola/txt2pho) plugin.
+Those plugins will require manual installation of third party,
+non free software to work.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-kttsd-contrib-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/libkttsd_freettsplugin.la
+%{tde_tdelibdir}/libkttsd_freettsplugin.so
+%{tde_tdelibdir}/libkttsd_hadifixplugin.la
+%{tde_tdelibdir}/libkttsd_hadifixplugin.so
+%{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl
+%{tde_datadir}/services/kttsd_freettsplugin.desktop
+%{tde_datadir}/services/kttsd_hadifixplugin.desktop
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tdelibs-devel >= %{version}
+
+Obsoletes: trinity-kdeaccessibility-devel < %{version}-%{release}
+Provides: trinity-kdeaccessibility-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkttsd.la
+%{tde_libdir}/libkttsd.so
+%{tde_libdir}/libKTTSD_Lib.la
+%{tde_libdir}/libKTTSD_Lib.so
+
+%post devel
+/sbin/ldconfig ||:
+
+%postun devel
+/sbin/ldconfig ||:
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%__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 QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+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} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --enable-new-ldflags \
+ --enable-closure \
+ --disable-debug --disable-warnings \
+ --enable-final \
+ --enable-ksayit-audio-plugins \
+ --with-akode
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# file lists for locale
+HTML_DIR=$(tde-config --expandvars --install html)
+if [ -d %{buildroot}/$HTML_DIR ]; then
+ for lang_dir in %{buildroot}/$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+ done
+fi
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdeaddons/tdeaddons-14.0.0.spec b/redhat/tdeaddons/tdeaddons-14.0.0.spec
new file mode 100644
index 000000000..365884027
--- /dev/null
+++ b/redhat/tdeaddons/tdeaddons-14.0.0.spec
@@ -0,0 +1,752 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-tdeaddons
+Summary: Trinity Desktop Environment - Plugins
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2
+Group: User Interface/Desktops
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Obsoletes: trinity-kdeaddons < %{version}-%{release}
+Provides: trinity-kdeaddons = %{version}-%{release}
+Obsoletes: trinity-kdeaddons-extras < %{version}-%{release}
+Provides: trinity-kdeaddons-extras = %{version}-%{release}
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: trinity-tqt3-devel >= 3.3.8d
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tdebase-devel >= %{version}
+BuildRequires: trinity-tdegames-devel >= %{version}
+BuildRequires: trinity-tdemultimedia-devel >= %{version}
+BuildRequires: trinity-tdepim-devel >= %{version}
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+
+BuildRequires: SDL-devel
+BuildRequires: alsa-lib-devel
+BuildRequires: openssl-devel
+
+# DB4 support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 || 0%{?mdkversion} || 0%{?mgaversion}
+%define with_db4 1
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion}
+BuildRequires: db4-devel
+%endif
+%if 0%{?fedora} >= 18
+BuildRequires: libdb4-cxx-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libdb-4_8-devel
+%endif
+%endif
+
+# XMMS support: no, always disabled, even on Fedora
+#%if 0%{?fedora}
+#define with_xmms 1
+#BuildRequires: xmms-devel
+#%endif
+
+#Requires: which
+
+Requires: trinity-atlantikdesigner = %{version}-%{release}
+Requires: trinity-kaddressbook-plugins = %{version}-%{release}
+Requires: trinity-kate-plugins = %{version}-%{release}
+Requires: trinity-tdeaddons-tdefile-plugins = %{version}-%{release}
+Requires: trinity-kicker-applets = %{version}-%{release}
+Requires: trinity-knewsticker-scripts = %{version}-%{release}
+Requires: trinity-konq-plugins = %{version}-%{release}
+Requires: trinity-ksig = %{version}-%{release}
+Requires: trinity-noatun-plugins = %{version}-%{release}
+
+
+%description
+A collection of TDE Addons/Plugins, including:
+* atlantikdesigner: game board designer
+* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver
+* kate (plugins)
+* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol
+* knewsticker-scripts
+* noatun-plugins
+
+%files
+%defattr(-,root,root,-)
+
+##########
+
+%package -n trinity-atlantikdesigner
+Summary: Game board designer for Atlantik
+Group: Applications/Games
+#Requires: trinity-atlantik
+Requires: trinity-tdegames
+
+%description -n trinity-atlantikdesigner
+Atlantik Designer is a game board designer for the game Atlantik.
+
+Atlantik is a TDE client for playing Monopoly-like board games on the
+monopd network. It can play any board supported by the network
+server, including the classic Monopoly game as well as the Atlantik
+game in which the properties include several major cities in North
+America and Europe.
+
+%files -n trinity-atlantikdesigner
+%defattr(-,root,root,-)
+%doc README atlantikdesigner/TODO
+%{tde_bindir}/atlantikdesigner
+%{tde_datadir}/apps/atlantikdesigner
+%{tde_tdeappdir}/atlantikdesigner.desktop
+%{tde_datadir}/icons/hicolor/*/apps/atlantikdesigner.png
+
+%post -n trinity-atlantikdesigner
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-atlantikdesigner
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kaddressbook-plugins
+Summary: Plugins for KAddressBook, the Trinity address book
+Group: Applications/Utilities
+Requires: trinity-kaddressbook
+
+%description -n trinity-kaddressbook-plugins
+This package contains a variety of useful plugins for the KDE address
+book. These plugins can be loaded through the TDE address book settings.
+
+Highlights include exporting postal addresses as flags in KWorldClock,
+as well as importing and exporting contacts in the native format used
+by the German freemail provider GMX.
+
+%files -n trinity-kaddressbook-plugins
+%defattr(-,root,root,-)
+%doc README
+%{tde_tdelibdir}/libkaddrbk_geo_xxport.la
+%{tde_tdelibdir}/libkaddrbk_geo_xxport.so
+%{tde_tdelibdir}/libkaddrbk_gmx_xxport.la
+%{tde_tdelibdir}/libkaddrbk_gmx_xxport.so
+%{tde_datadir}/apps/kaddressbook
+%{tde_datadir}/services/kaddressbook
+
+##########
+
+%package -n trinity-kate-plugins
+Summary: Plugins for Kate, the TDE Advanced Text Editor
+Group: Applications/Utilities
+Requires: trinity-kate
+Requires: tidy
+
+%description -n trinity-kate-plugins
+This package contains a variety of useful plugins for Kate, the KDE
+Advanced Text Editor. These plugins can be loaded through the plugin
+manager in Kate settings.
+
+Highlights include spell checking, text filtering, HTML/XML construction
+and validation, vim/emacs modeline handling, templates for new files
+and text snippets, opening of C/C++ headers, extraction of C/C++ symbols,
+a tab bar, a Python browser and even more.
+
+%files -n trinity-kate-plugins
+%defattr(-,root,root,-)
+%doc kate/xmltools/ChangeLog kate/xmltools/README
+%{tde_tdelibdir}/katecppsymbolviewerplugin.la
+%{tde_tdelibdir}/katecppsymbolviewerplugin.so
+%{tde_tdelibdir}/katefiletemplates.la
+%{tde_tdelibdir}/katefiletemplates.so
+%{tde_tdelibdir}/katefll_plugin.la
+%{tde_tdelibdir}/katefll_plugin.so
+%{tde_tdelibdir}/katehelloworldplugin.la
+%{tde_tdelibdir}/katehelloworldplugin.so
+%{tde_tdelibdir}/katehtmltoolsplugin.la
+%{tde_tdelibdir}/katehtmltoolsplugin.so
+%{tde_tdelibdir}/kateinsertcommandplugin.la
+%{tde_tdelibdir}/kateinsertcommandplugin.so
+%{tde_tdelibdir}/katemakeplugin.la
+%{tde_tdelibdir}/katemakeplugin.so
+%{tde_tdelibdir}/katemodelineplugin.la
+%{tde_tdelibdir}/katemodelineplugin.so
+%{tde_tdelibdir}/kateopenheaderplugin.la
+%{tde_tdelibdir}/kateopenheaderplugin.so
+%{tde_tdelibdir}/katepybrowseplugin.la
+%{tde_tdelibdir}/katepybrowseplugin.so
+%{tde_tdelibdir}/katesnippetsplugin.la
+%{tde_tdelibdir}/katesnippetsplugin.so
+%{tde_tdelibdir}/katetextfilterplugin.la
+%{tde_tdelibdir}/katetextfilterplugin.so
+%{tde_tdelibdir}/katexmlcheckplugin.la
+%{tde_tdelibdir}/katexmlcheckplugin.so
+%{tde_tdelibdir}/katexmltoolsplugin.la
+%{tde_tdelibdir}/katexmltoolsplugin.so
+%{tde_tdelibdir}/libkatetabbarextensionplugin.la
+%{tde_tdelibdir}/libkatetabbarextensionplugin.so
+%{tde_datadir}/applnk/.hidden/katefll.desktop
+%{tde_datadir}/apps/kate
+%{tde_datadir}/apps/katepart
+%{tde_datadir}/apps/katexmltools
+%{tde_datadir}/services/katecppsymbolviewer.desktop
+%{tde_datadir}/services/katefiletemplates.desktop
+%{tde_datadir}/services/katefll_plugin.desktop
+%{tde_datadir}/services/katehelloworld.desktop
+%{tde_datadir}/services/katehtmltools.desktop
+%{tde_datadir}/services/kateinsertcommand.desktop
+%{tde_datadir}/services/katemake.desktop
+%{tde_datadir}/services/katemodeline.desktop
+%{tde_datadir}/services/kateopenheader.desktop
+%{tde_datadir}/services/katepybrowse.desktop
+%{tde_datadir}/services/katesnippets.desktop
+%{tde_datadir}/services/katetabbarextension.desktop
+%{tde_datadir}/services/katetextfilter.desktop
+%{tde_datadir}/services/katexmlcheck.desktop
+%{tde_datadir}/services/katexmltools.desktop
+%{tde_tdedocdir}/HTML/en/kate-plugins/
+
+##########
+
+%package tdefile-plugins
+Summary: Trinity file dialog plugins for text files and folders
+Group: Applications/Utilities
+
+Obsoletes: trinity-kfile-plugins < %{version}-%{release}
+Provides: trinity-kfile-plugins = %{version}-%{release}
+
+%description tdefile-plugins
+This is a collection of plugins for the TDE file dialog. These plugins
+extend the file dialog to offer advanced meta-information for text,
+HTML and desktop files, as well as for folders, Windows .lnk files,
+MIME archives and X.509 certificates.
+
+This package also includes plugins for the KDE file rename dialog,
+allowing a user to more easily decide what to do when faced with a
+decision regarding conflicting filenames. Rename dialog plugins are
+provided for audio and image files.
+
+%files tdefile-plugins
+%defattr(-,root,root,-)
+%doc tdefile-plugins/lnk/README
+%{tde_bindir}/lnkforward
+%{tde_tdelibdir}/tdefile_cert.la
+%{tde_tdelibdir}/tdefile_cert.so
+%{tde_tdelibdir}/tdefile_desktop.la
+%{tde_tdelibdir}/tdefile_desktop.so
+%{tde_tdelibdir}/tdefile_folder.la
+%{tde_tdelibdir}/tdefile_folder.so
+%{tde_tdelibdir}/tdefile_html.la
+%{tde_tdelibdir}/tdefile_html.so
+%{tde_tdelibdir}/tdefile_lnk.la
+%{tde_tdelibdir}/tdefile_lnk.so
+%{tde_tdelibdir}/tdefile_mhtml.la
+%{tde_tdelibdir}/tdefile_mhtml.so
+%{tde_tdelibdir}/tdefile_txt.la
+%{tde_tdelibdir}/tdefile_txt.so
+%{tde_tdelibdir}/librenaudioplugin.la
+%{tde_tdelibdir}/librenaudioplugin.so
+%{tde_tdelibdir}/librenimageplugin.la
+%{tde_tdelibdir}/librenimageplugin.so
+%{tde_datadir}/applnk/.hidden/lnkforward.desktop
+%{tde_datadir}/mimelnk/application/x-win-lnk.desktop
+%{tde_datadir}/services/tdefile_cert.desktop
+%{tde_datadir}/services/tdefile_desktop.desktop
+%{tde_datadir}/services/tdefile_folder.desktop
+%{tde_datadir}/services/tdefile_html.desktop
+%{tde_datadir}/services/tdefile_lnk.desktop
+%{tde_datadir}/services/tdefile_mhtml.desktop
+%{tde_datadir}/services/tdefile_txt.desktop
+%{tde_datadir}/services/renaudiodlg.desktop
+%{tde_datadir}/services/renimagedlg.desktop
+
+##########
+
+%package -n trinity-kicker-applets
+Summary: Applets for Kicker, the Trinity panel
+Group: Applications/Utilities
+Requires: trinity-kicker
+
+%description -n trinity-kicker-applets
+This package contains a variety of applets for Kicker, the KDE panel.
+These applets will appear in the panel's Add--Applet menu.
+
+Included are a system monitor, a colour picker, a media player controller,
+a mathematical evaluator and a binary clock.
+
+The media control applet does not support XMMS, as this would force all
+kicker-applets users to install XMMS. If you want a kicker applet that
+controls XMMS, install the xmms-kde-trinity package.
+
+%files -n trinity-kicker-applets
+%defattr(-,root,root,-)
+%doc README
+%{tde_tdelibdir}/kolourpicker_panelapplet.la
+%{tde_tdelibdir}/kolourpicker_panelapplet.so
+%{tde_tdelibdir}/ktimemon_panelapplet.la
+%{tde_tdelibdir}/ktimemon_panelapplet.so
+%{tde_tdelibdir}/math_panelapplet.la
+%{tde_tdelibdir}/math_panelapplet.so
+%{tde_tdelibdir}/mediacontrol_panelapplet.la
+%{tde_tdelibdir}/mediacontrol_panelapplet.so
+%{tde_tdelibdir}/kbinaryclock_panelapplet.la
+%{tde_tdelibdir}/kbinaryclock_panelapplet.so
+%{tde_datadir}/apps/kicker/applets
+%{tde_datadir}/apps/mediacontrol
+%{tde_datadir}/config.kcfg/kbinaryclock.kcfg
+%{tde_datadir}/icons/locolor/*/apps/ktimemon.png
+%{tde_datadir}/icons/crystalsvg/*/apps/ktimemon.png
+%{tde_tdedocdir}/HTML/en/kicker-applets/
+
+%post -n trinity-kicker-applets
+for f in crystalsvg locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+%postun -n trinity-kicker-applets
+for f in crystalsvg locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-knewsticker-scripts
+Summary: scripts for KNewsTicker, the Trinity news ticker
+Group: Applications/Utilities
+Requires: perl
+Requires: python
+#Requires: libfinance-quote-perl
+#Requires: libmime-perl
+#Requires: libnews-nntpclient-perl
+Requires: perl-libwww-perl
+Requires: trinity-knewsticker
+
+%description -n trinity-knewsticker-scripts
+This package contains a variety of scripts that provide additional news
+sources for KNewsTicker, the news ticker applet for the TDE panel.
+
+Highlights include newsgroup handling, stock data retrieval, sports scores
+and various local news sources.
+
+%files -n trinity-knewsticker-scripts
+%defattr(-,root,root,-)
+%doc README
+%{tde_datadir}/apps/knewsticker/
+
+##########
+
+%package -n trinity-konq-plugins
+Summary: plugins for Konqueror, the Trinity file/web/doc browser
+Group: Applications/Utilities
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?pclinuxos} == 0
+Requires: %{_lib}jpeg8
+%endif
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+Requires: libjpeg
+%endif
+%if 0%{?suse_version} >= 1220
+Requires: libjpeg62
+%endif
+%if 0%{?pclinuxos}
+Requires: %{_lib}jpeg62
+%endif
+%if 0%{?suse_version} == 1230
+Requires: libjpeg8
+%endif
+Requires: python
+Requires: rsync
+#Requires: unison
+Requires: trinity-konqueror
+%if 0%{?fedora}
+Requires: python-exif
+%endif
+
+%description -n trinity-konq-plugins
+This package contains a variety of useful plugins for Konqueror, the
+file manager, web browser and document viewer for TDE. Many of these
+plugins will appear in Konqueror's Tools menu.
+
+Highlights for web browsing include web page translation, web page archiving,
+auto-refreshing, HTML and CSS structural analysis, a search toolbar, a
+sidebar news ticker, fast access to common options, bookmarklets, a crash
+monitor, a microformat availability indicator, a del.icio.us bookmarks
+sidebar, and integration with the aKregator RSS feed reader.
+
+Highlights for directory browsing include directory filters, image gallery
+creation, archive compression and extraction, quick copy/move, a sidebar
+media player, a file information metabar/sidebar, a media folder helper, a
+graphical disk usage viewer and image conversions and transformations.
+
+%files -n trinity-konq-plugins
+%defattr(-,root,root,-)
+%doc konq-plugins/README
+%{tde_datadir}/config/translaterc
+%{tde_bindir}/fsview
+%{tde_bindir}/jpegorient
+%{tde_bindir}/tdeio_media_realfolder
+%{tde_tdelibdir}/konq_sidebarnews.la
+%{tde_tdelibdir}/konq_sidebarnews.so
+%{tde_tdelibdir}/konqsidebar_delicious.la
+%{tde_tdelibdir}/konqsidebar_delicious.so
+%{tde_tdelibdir}/konqsidebar_mediaplayer.la
+%{tde_tdelibdir}/konqsidebar_mediaplayer.so
+%{tde_tdelibdir}/konqsidebar_metabar.la
+%{tde_tdelibdir}/konqsidebar_metabar.so
+%{tde_tdelibdir}/libakregatorkonqfeedicon.la
+%{tde_tdelibdir}/libakregatorkonqfeedicon.so
+%{tde_tdelibdir}/libakregatorkonqplugin.la
+%{tde_tdelibdir}/libakregatorkonqplugin.so
+%{tde_tdelibdir}/libarkplugin.la
+%{tde_tdelibdir}/libarkplugin.so
+%{tde_tdelibdir}/libautorefresh.la
+%{tde_tdelibdir}/libautorefresh.so
+%{tde_tdelibdir}/libbabelfishplugin.la
+%{tde_tdelibdir}/libbabelfishplugin.so
+%{tde_tdelibdir}/libcrashesplugin.la
+%{tde_tdelibdir}/libcrashesplugin.so
+%{tde_tdelibdir}/libdirfilterplugin.la
+%{tde_tdelibdir}/libdirfilterplugin.so
+%{tde_tdelibdir}/librsyncplugin.la
+%{tde_tdelibdir}/librsyncplugin.so
+%{tde_tdelibdir}/libdomtreeviewerplugin.la
+%{tde_tdelibdir}/libdomtreeviewerplugin.so
+%{tde_tdelibdir}/libfsviewpart.la
+%{tde_tdelibdir}/libfsviewpart.so
+%{tde_tdelibdir}/libtdehtmlsettingsplugin.la
+%{tde_tdelibdir}/libtdehtmlsettingsplugin.so
+%{tde_tdelibdir}/kcm_kuick.la
+%{tde_tdelibdir}/kcm_kuick.so
+%{tde_tdelibdir}/libkimgallery.la
+%{tde_tdelibdir}/libkimgallery.so
+%{tde_tdelibdir}/libkuickplugin.la
+%{tde_tdelibdir}/libkuickplugin.so
+%{tde_tdelibdir}/libmfkonqmficon.la
+%{tde_tdelibdir}/libmfkonqmficon.so
+%{tde_tdelibdir}/libminitoolsplugin.la
+%{tde_tdelibdir}/libminitoolsplugin.so
+%{tde_tdelibdir}/librellinksplugin.la
+%{tde_tdelibdir}/librellinksplugin.so
+%{tde_tdelibdir}/libsearchbarplugin.la
+%{tde_tdelibdir}/libsearchbarplugin.so
+%{tde_tdelibdir}/libuachangerplugin.la
+%{tde_tdelibdir}/libuachangerplugin.so
+%{tde_tdelibdir}/libvalidatorsplugin.la
+%{tde_tdelibdir}/libvalidatorsplugin.so
+%{tde_tdelibdir}/libwebarchiverplugin.la
+%{tde_tdelibdir}/libwebarchiverplugin.so
+%{tde_tdelibdir}/webarchivethumbnail.la
+%{tde_tdelibdir}/webarchivethumbnail.so
+%{tde_datadir}/applnk/.hidden/arkplugin.desktop
+%{tde_datadir}/applnk/.hidden/kcmkuick.desktop
+%{tde_datadir}/applnk/.hidden/kuickplugin.desktop
+%{tde_datadir}/applnk/.hidden/mediaplayerplugin.desktop
+%{tde_datadir}/applnk/.hidden/crashesplugin.desktop
+%{tde_datadir}/applnk/.hidden/dirfilterplugin.desktop
+%{tde_datadir}/applnk/.hidden/rsyncplugin.desktop
+%{tde_datadir}/applnk/.hidden/fsview.desktop
+%{tde_datadir}/applnk/.hidden/tdehtmlsettingsplugin.desktop
+%{tde_datadir}/applnk/.hidden/kimgalleryplugin.desktop
+%{tde_datadir}/applnk/.hidden/plugin_babelfish.desktop
+%{tde_datadir}/applnk/.hidden/plugin_domtreeviewer.desktop
+%{tde_datadir}/applnk/.hidden/plugin_validators.desktop
+%{tde_datadir}/applnk/.hidden/plugin_webarchiver.desktop
+%{tde_datadir}/applnk/.hidden/uachangerplugin.desktop
+%{tde_datadir}/apps/akregator
+%{tde_datadir}/apps/domtreeviewer
+%{tde_datadir}/apps/fsview
+%{tde_datadir}/apps/imagerotation/orient.py*
+%{tde_datadir}/apps/imagerotation/exif.py*
+%{tde_datadir}/apps/tdehtml/kpartplugins
+%{tde_datadir}/apps/konqiconview
+%{tde_datadir}/apps/konqlistview
+%{tde_datadir}/apps/konqsidebartng
+%{tde_datadir}/apps/konqueror/icons
+%{tde_datadir}/apps/konqueror/kpartplugins
+%{tde_datadir}/apps/konqueror/servicemenus
+%{tde_datadir}/apps/metabar/iconsrc
+%{tde_datadir}/apps/metabar/themes/default/default.css
+%{tde_datadir}/apps/metabar/themes/default/layout.html
+%{tde_datadir}/apps/microformat/pics/microformat.png
+%{tde_datadir}/config.kcfg/konq_sidebarnews.kcfg
+%{tde_datadir}/icons/locolor/16x16/apps/autorefresh.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/babelfish.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/cssvalidator.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/domtreeviewer.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/htmlvalidator.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/imagegallery.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesync.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesyncconfig.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/minitools.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/validators.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/webarchiver.png
+%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_delicious.png
+%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_mediaplayer.png
+%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_news.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/babelfish.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/cssvalidator.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/domtreeviewer.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/htmlvalidator.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/imagegallery.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesync.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesyncconfig.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/minitools.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/validators.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/webarchiver.png
+%{tde_datadir}/icons/crystalsvg/22x22/apps/konqsidebar_mediaplayer.png
+%{tde_datadir}/icons/crystalsvg/32x32/actions/minitools.png
+%{tde_datadir}/icons/crystalsvg/32x32/apps/konqsidebar_mediaplayer.png
+%{tde_datadir}/icons/crystalsvg/48x48/actions/minitools.png
+%{tde_datadir}/icons/crystalsvg/48x48/apps/konqsidebar_mediaplayer.png
+%{tde_datadir}/icons/hicolor/16x16/apps/metabar.png
+%{tde_datadir}/icons/hicolor/22x22/apps/fsview.png
+%{tde_datadir}/icons/hicolor/32x32/apps/fsview.png
+%{tde_datadir}/icons/hicolor/32x32/apps/metabar.png
+%{tde_datadir}/icons/hicolor/48x48/apps/metabar.png
+%{tde_datadir}/icons/hicolor/64x64/apps/metabar.png
+%{tde_datadir}/icons/hicolor/scalable/apps/metabar.svgz
+%{tde_datadir}/icons/hicolor/128x128/apps/metabar.png
+%{tde_datadir}/icons/locolor/32x32/apps/konqsidebar_mediaplayer.png
+%{tde_datadir}/services/akregator_konqplugin.desktop
+%{tde_datadir}/services/ark_plugin.desktop
+%{tde_datadir}/services/fsview_part.desktop
+%{tde_datadir}/services/kuick_plugin.desktop
+%{tde_datadir}/services/webarchivethumbnail.desktop
+%{tde_tdelibdir}/libadblock.la
+%{tde_tdelibdir}/libadblock.so
+%{tde_tdedocdir}/HTML/en/konq-plugins/
+
+%post -n trinity-konq-plugins
+for f in crystalsvg hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+%postun -n trinity-konq-plugins
+for f in crystalsvg hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-ksig
+Summary: Graphical tool for managing multiple email signatures
+Group: Applications/Utilities
+Requires: trinity-kmail
+
+%description -n trinity-ksig
+KSig is a graphical tool for keeping track of many different email
+signatures. The signatures themselves can be edited through KSig's
+graphical user interface. A command-line interface is then available
+for generating random or daily signatures from this list.
+
+The command-line interface makes a suitable plugin for generating
+signatures in external mail clients such as KMail.
+
+%files -n trinity-ksig
+%defattr(-,root,root,-)
+%doc README
+%{tde_bindir}/ksig
+%{tde_tdeappdir}/ksig.desktop
+%{tde_datadir}/apps/ksig/ksigui.rc
+%{tde_datadir}/icons/hicolor/*/apps/ksig.png
+%{tde_tdedocdir}/HTML/en/ksig/
+
+%post -n trinity-ksig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-noatun-plugins
+Summary: plugins for Noatun, the Trinity media player
+Group: Applications/Utilities
+Requires: trinity-noatun
+
+%description -n trinity-noatun-plugins
+This package contains a variety of useful plugins for Noatun, the audio and
+video media player for TDE. These plugins can be loaded through the plugin
+manager in Noatun settings.
+
+Highlights include an alarm clock, guessing tags from filenames, adjustable
+playback speed, capture to wave file and displaying lyrics, plus a variety
+of user interfaces, playlists and visualisation plugins.
+
+%files -n trinity-noatun-plugins
+%defattr(-,root,root,-)
+%doc README
+%{tde_bindir}/noatunsynaescope.bin
+%{tde_bindir}/noatuntippecanoe.bin
+%{tde_bindir}/noatuntyler.bin
+%{tde_tdelibdir}/noatunalsaplayer.la
+%{tde_tdelibdir}/noatunalsaplayer.so
+%{tde_tdelibdir}/noatunblurscope.la
+%{tde_tdelibdir}/noatunblurscope.so
+%{tde_tdelibdir}/noatuncharlatan.la
+%{tde_tdelibdir}/noatuncharlatan.so
+%{tde_tdelibdir}/noatundub.la
+%{tde_tdelibdir}/noatundub.so
+%{tde_tdelibdir}/noatun_ffrs.la
+%{tde_tdelibdir}/noatun_ffrs.so
+%{tde_tdelibdir}/noatunluckytag.la
+%{tde_tdelibdir}/noatunluckytag.so
+%{tde_tdelibdir}/noatunlyrics.la
+%{tde_tdelibdir}/noatunlyrics.so
+%{tde_tdelibdir}/noatunmadness.la
+%{tde_tdelibdir}/noatunmadness.so
+%if 0%{?with_db4}
+%{tde_tdelibdir}/noatun_oblique.la
+%{tde_tdelibdir}/noatun_oblique.so
+%endif
+%{tde_tdelibdir}/noatunpitchablespeed.la
+%{tde_tdelibdir}/noatunpitchablespeed.so
+%{tde_tdelibdir}/noatunsynaescope.la
+%{tde_tdelibdir}/noatunsynaescope.so
+%{tde_tdelibdir}/noatuntippecanoe.la
+%{tde_tdelibdir}/noatuntippecanoe.so
+%{tde_tdelibdir}/noatuntyler.la
+%{tde_tdelibdir}/noatuntyler.so
+%{tde_tdelibdir}/noatunwakeup.la
+%{tde_tdelibdir}/noatunwakeup.so
+%{tde_tdelibdir}/noatunwavecapture.la
+%{tde_tdelibdir}/noatunwavecapture.so
+%{tde_datadir}/apps/noatun/*
+%{tde_datadir}/icons/crystalsvg/16x16/apps/synaescope.png
+
+%post -n trinity-noatun-plugins
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+%postun -n trinity-noatun-plugins
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%__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 QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+
+# Note about DB4:
+# Fedora 18: /usr/include/libdb4/db_cxx.h , /usr/lib64/libdb_cxx-4.so
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --enable-new-ldflags \
+ --enable-closure \
+ --disable-debug --disable-warnings \
+ --disable-dependency-tracking --enable-final \
+ --with-extra-includes=%{_includedir}/db4:%{_includedir}/libdb4:%{tde_includedir}/arts \
+ %{?with_xmms:--with-xmms} %{?!with_xmms:--without-xmms} \
+ --with-sdl \
+%if 0%{?with_db4}
+ --with-berkeley-db \
+%if 0%{?fedora} == 18
+ --with-db-lib=db_cxx-4 \
+%endif
+%endif
+
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# File lists for locale
+HTML_DIR=$(tde-config --expandvars --install html)
+if [ -d %{buildroot}/$HTML_DIR ]; then
+ for lang_dir in %{buildroot}/$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
+ done
+ popd
+ fi
+ done
+fi
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
+
diff --git a/redhat/tdeartwork/tdeartwork-14.0.0.spec b/redhat/tdeartwork/tdeartwork-14.0.0.spec
new file mode 100644
index 000000000..6f5e3755a
--- /dev/null
+++ b/redhat/tdeartwork/tdeartwork-14.0.0.spec
@@ -0,0 +1,722 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-tdeartwork
+Summary: Additional artwork (themes, sound themes, ...) for TDE
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2
+Group: User Interface/Desktops
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+Url: http://www.trinitydesktop.org/
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+
+BuildRequires: cmake >= 2.8
+BuildRequires: trinity-tdebase-devel >= %{version}
+
+BuildRequires: gettext
+BuildRequires: esound-devel
+
+# kdeartwork specific settings
+
+# OpenGL support
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-Mesa-libGLU
+%endif
+
+# NAS support
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: nas-devel
+%endif
+
+# LIBART support
+# On RHEL, libart is too old !
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_libart 1
+BuildRequires: libart_lgpl-devel
+%endif
+
+# XSCREENSAVER support
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
+%define with_xscreensaver 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-base
+BuildRequires: xscreensaver-extrusion
+BuildRequires: xscreensaver-gl
+%endif
+%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220
+BuildRequires: libXScrnSaver-devel
+%endif
+
+%if 0%{?fedora} || 0%{?rhel} >= 6
+# Provides '/usr/share/xscreensaver/config/deco.xml'
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-extras
+%endif
+%if 0%{?suse_version}
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-data
+BuildRequires: xscreensaver-data-extra
+%endif
+
+# Opensuse does not provide 'webcollage' screensaver
+%if 0%{?suse_version} == 0
+%define with_webcollage 1
+%endif
+
+%endif
+
+# JACK support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}jack-devel
+%endif
+%if 0%{?fedora} || 0%{?rhel} >= 5
+BuildRequires: jack-audio-connection-kit-devel
+%endif
+
+
+Obsoletes: trinity-kdeartwork < %{version}-%{release}
+Provides: trinity-kdeartwork = %{version}-%{release}
+
+# Metapackage
+Requires: %{name}-emoticons = %{version}-%{release}
+Requires: %{name}-misc = %{version}-%{release}
+Requires: %{name}-style = %{version}-%{release}
+Requires: %{name}-theme-icon = %{version}-%{release}
+Requires: %{name}-theme-window = %{version}-%{release}
+Requires: trinity-tdewallpapers = %{version}-%{release}
+Requires: trinity-tdescreensaver = %{version}-%{release}
+
+%if 0%{?with_xscreensaver}
+Requires: trinity-tdescreensaver-xsavers = %{version}-%{release}
+Requires: trinity-tdescreensaver-xsavers-extra = %{version}-%{release}
+%if 0%{?with_webcollage}
+Requires: trinity-tdescreensaver-xsavers-webcollage = %{version}-%{release}
+%endif
+%endif
+
+
+%description
+TDE (the Trinity Desktop Environment) is a powerful Open Source graphical
+desktop environment for Unix workstations. It combines ease of use,
+contemporary functionality, and outstanding graphical design with the
+technological superiority of the Unix operating system.
+
+This metapackage includes a collection of artistic extras (themes, widget
+styles, screen savers, wallpaper, icons, emoticons and so on) provided
+with the official release of KDE.
+
+Homepage: http://artist.kde.org
+
+%files
+
+##########
+
+%package emoticons
+Summary: emoticon collections for tDE chat clients
+Group: User Interface/Desktops
+
+%description emoticons
+This package contains several collections of emoticons used by official
+and unofficial KDE chat clients, such as Kopete and Konversation.
+
+This package is part of KDE, and a component of the KDE artwork module.
+
+%files emoticons
+%defattr(-,root,root,-)
+%{tde_datadir}/emoticons/
+
+##########
+
+%package misc
+Summary: various multimedia goodies released with TDE
+Group: User Interface/Desktops
+
+%description misc
+This package contains miscellaneous multimedia goodies for KDE.
+Included are additional TDE sounds and kworldclock themes.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files misc
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kworldclock/
+%{tde_datadir}/sounds/KDE_Logout_new.wav
+%{tde_datadir}/sounds/KDE_Startup_new.wav
+
+##########
+
+%package style
+Summary: widget styles released with Trinity
+Group: User Interface/Desktops
+
+%description style
+This package contains additional widget styles for Trinity. Widget styles
+can be used to customise the look and feel of interface components such
+as buttons, scrollbars and so on. They can be applied using the style
+manager in the TDE Control Centre.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files style
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/plugins/styles/
+%{tde_tdelibdir}/kstyle_phase_config.la
+%{tde_tdelibdir}/kstyle_phase_config.so
+%{tde_datadir}/apps/kstyle/
+
+##########
+
+%package theme-icon
+Summary: icon themes released with Trinity
+Group: User Interface/Desktops
+
+Obsoletes: trinity-kdeartwork-icons < %{version}-%{release}
+Provides: trinity-kdeartwork-icons = %{version}-%{release}
+
+%description theme-icon
+This package contains additional icon themes for Trinity. Icon themes can be
+used to customise the appearance of standard icons throughout KDE. They
+can be applied using the icon manager in the Trinity Control Centre.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files theme-icon
+%defattr(-,root,root,-)
+%{tde_datadir}/icons/*/*
+
+%post theme-icon
+for i in locolor ikons kdeclassic kids slick ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+
+%postun theme-icon
+for i in locolor ikons kdeclassic kids slick ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+
+##########
+
+%package theme-window
+Summary: window decoration themes released with Trinity
+Group: User Interface/Desktops
+
+%description theme-window
+This package contains additional window decoration themes for Trinity. Window
+decoration themes can be used to customise the look of window borders and
+buttons, and can be applied using the window decoration manager in the Trinity
+Control Center.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files theme-window
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/[kt]win*
+%{tde_datadir}/apps/[kt]win/
+
+##########
+
+%package -n trinity-tdewallpapers
+Summary: wallpapers released with Trinity
+Group: User Interface/Desktops
+Obsoletes: trinity-kdewallpapers < %{version}-%{release}
+Provides: trinity-kdewallpapers = %{version}-%{release}
+
+%description -n trinity-tdewallpapers
+This package contains additional wallpapers for Trinity. Wallpapers can be
+applied using the background manager in the TDE Control Centre.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-tdewallpapers
+%defattr(-,root,root,-)
+%{tde_datadir}/wallpapers/*
+
+##########
+
+%package -n trinity-tdescreensaver
+Summary: additional screen savers released with Trinity
+Group: User Interface/Desktops
+
+Obsoletes: trinity-kscreensaver < %{version}-%{release}
+Provides: trinity-kscreensaver = %{version}-%{release}
+
+%description -n trinity-tdescreensaver
+This package contains the screen savers for Trinity. They can be tested and
+selected within the Appearance and Themes section of the Trinity Control
+Center.
+
+The hooks for the standard xscreensavers are no longer part of this
+package. To select and/or configure the standard xscreensavers through
+the TDE Control Center, install the separate package tdescreensaver-xsavers.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-tdescreensaver
+%defattr(-,root,root,-)
+%{tde_bindir}/kslideshow.kss
+%{tde_bindir}/kpolygon.kss
+%{tde_bindir}/krotation.kss
+%{tde_bindir}/ksolarwinds.kss
+%{tde_bindir}/klorenz.kss
+%{tde_bindir}/kvm.kss
+%{tde_bindir}/kflux.kss
+%{tde_bindir}/kscience.kss
+%{tde_bindir}/kbanner.kss
+%{tde_bindir}/kclock.kss
+%{tde_bindir}/kfiresaver.kss
+%{tde_bindir}/keuphoria.kss
+%{tde_bindir}/kfountain.kss
+%{tde_bindir}/kgravity.kss
+%{tde_bindir}/tdepartsaver.kss
+%{tde_bindir}/kpendulum.kss
+%{tde_bindir}/kblob.kss
+%{tde_bindir}/klines.kss
+%{tde_bindir}/kwave.kss
+%{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/tdepartsaver.desktop
+%{tde_datadir}/apps/kfiresaver/
+%{tde_datadir}/apps/tdescreensaver/
+
+%if 0%{?with_xscreensaver}
+%{tde_bindir}/kspace.kss
+%{tde_bindir}/kswarm.kss
+%{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop
+%endif
+
+##########
+
+%if 0%{?with_xscreensaver}
+
+%package -n trinity-tdescreensaver-xsavers
+Summary: Trinity hooks for standard xscreensavers
+Group: User Interface/Desktops
+Requires: trinity-tdebase-bin >= 3.5.13
+Requires: xscreensaver
+
+Obsoletes: trinity-kscreensaver-xsavers < %{version}-%{release}
+Provides: trinity-kscreensaver-xsavers = %{version}-%{release}
+
+%description -n trinity-tdescreensaver-xsavers
+This package allows a smooth integration of the standard xscreensavers
+into Trinity. With this package installed you can select and/or configure
+the standard xscreensavers through the Appearances and Themes section of
+the Trinity Control Centre.
+
+Note that this package does not actually contain any screensavers itself.
+For the additional screensavers shipped with Trinity, see the separate package
+tdescreensaver-trinity. This package does depend on the xscreensaver package, and
+recommend the xscreensaver-gl package, as well as contain the necessary
+files to integrate these packages into Trinity.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-tdescreensaver-xsavers
+%defattr(-,root,root,-)
+%{tde_bindir}/xscreensaver-getimage-file
+%{tde_bindir}/xscreensaver-getimage
+%{tde_bindir}/kxsconfig
+%{tde_bindir}/kxsrun
+%{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/braid.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/deco.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/distort.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/engine.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/gears.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/queens.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop
+
+# These screensavers do not exist on Mageia 2
+%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0
+%{tde_datadir}/applnk/System/ScreenSavers/glmatrix.desktop
+%endif
+
+##########
+
+%if 0%{?with_webcollage}
+
+%package -n trinity-tdescreensaver-xsavers-webcollage
+Summary: webcollage screensaver Trinity hook
+Group: User Interface/Desktops
+Requires: trinity-tdescreensaver-xsavers-extra = %{version}-%{release}
+Requires: netpbm
+
+Obsoletes: trinity-kscreensaver-xsavers-webcollage < %{version}-%{release}
+Provides: trinity-kscreensaver-xsavers-webcollage = %{version}-%{release}
+
+%description -n trinity-tdescreensaver-xsavers-webcollage
+This package give access to the webcollage screensaver through the Trinity
+screensaver configuration.
+
+This screensaver downloads random pictures from the internet and creates
+a collage as screensaver.
+
+IMPORTANT NOTICE: The internet contains all kinds of pictures, some of which
+you might find inappropriate and offensive.
+You are specially discouraged to install this package if you are using
+your computer in a working environment or in an environment with children.
+
+If you still want to install this package, please read the file
+/usr/share/doc/tdescreensaver-xsavers-webcollage/README.Debian after the
+installation.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-tdescreensaver-xsavers-webcollage
+%defattr(-,root,root,-)
+%{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop
+
+%endif
+
+##########
+
+%package -n trinity-tdescreensaver-xsavers-extra
+Summary: Trinity hooks for standard xscreensavers
+Group: User Interface/Desktops
+Requires: trinity-tdescreensaver-xsavers = %{version}-%{release}
+
+Obsoletes: trinity-kscreensaver-xsavers-extra < %{version}-%{release}
+Provides: trinity-kscreensaver-xsavers-extra = %{version}-%{release}
+
+%description -n trinity-tdescreensaver-xsavers-extra
+This package allows a smooth integration of the universe xscreensavers
+into Trinity. With this package installed you can select and/or configure
+the universe xscreensavers through the Appearances and Themes section of
+the Trinity Control Centre.
+
+Note that this package does not actually contain any screensavers itself.
+For the additional screensavers shipped with TDE, see the separate package
+tdescreensaver.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-tdescreensaver-xsavers-extra
+%defattr(-,root,root,-)
+%{tde_datadir}/applnk/System/ScreenSavers/anemone.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/anemotaxis.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/antmaze.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/apollonian.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/apple2.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/atlantis.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/attraction.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/barcode.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/blaster.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/blitspin.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/blocktube.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/boing.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/bouboule.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/bouncingcow.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/boxed.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/boxfit.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/bsod.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/bumps.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cage.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/carousel.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/ccurve.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/celtic.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cloudlife.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/compass.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/coral.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/crackberg.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/crystal.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cube21.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cubenetic.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cynosure.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/dangerball.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/decayscreen.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/deluxe.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/demon.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/discrete.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/drift.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/epicycle.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/eruption.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/euler2d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/extrusion.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fadeplot.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fireworkx.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flame.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fliptext.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flow.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fluidballs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flurry.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fontglide.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glhanoi.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glplanet.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/goop.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/grav.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/greynetic.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/halftone.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/halo.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/helix.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/hopalong.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/ifs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/imsmap.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/interaggregate.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/interference.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/intermomentary.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/jigsaw.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/juggler3d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/julia.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/kaleidescope.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/klein.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/kumppa.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lament.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/loop.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/maze.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/memscroller.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/menger.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/moire.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/moire2.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/mountain.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/munch.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/nerverot.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/noof.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/noseguy.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pacman.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pedal.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/penetrate.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/petri.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/phosphor.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/piecewise.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pinion.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/polyominoes.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pong.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/providence.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pyro.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/qix.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/rd-bomb.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/rocks.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/rorschach.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/rotzoomer.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/rubik.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/sballs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/sierpinski.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/slip.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/speedmine.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/spotlight.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/sproingies.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/squiral.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/stairs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/starfish.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/starwars.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/strange.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/substrate.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/tangram.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/thornbird.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/timetunnel.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/triangle.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/truchet.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/twang.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/vermiculate.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/wander.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/whirlwindwarp.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/wormhole.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xanalogtv.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xflame.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xrayswarm.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xspirograph.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/zoom.desktop
+
+# These screensavers do not exist on OpenSuse 12.2
+%if 0%{?suse_version} == 0
+%{tde_datadir}/applnk/System/ScreenSavers/vidwhacker.desktop
+%endif
+
+# These screensavers do not exist on Mageia 2 and Mandriva 2011
+%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0
+%{tde_datadir}/applnk/System/ScreenSavers/xjack.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xmatrix.desktop
+%endif
+
+%endif
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+export LD_LIBRARY_PATH="%{tde_libdir}"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ %{!?with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \
+ %{!?with_libart}:-DWITH_LIBART=OFF} \
+ -DWITH_OPENGL=ON \
+ -DWITH_ARTS=ON \
+ -DBUILD_ALL=ON \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install -C build DESTDIR=%{buildroot}
+
+# webcollage -root -directory /usr/share/backgrounds/images #227683
+
+# File lists
+HTML_DIR=$(tde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# Duplicate with trinity-kbabel (from tdesdk)
+%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/16x16/apps/kbabel.png
+%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/32x32/apps/kbabel.png
+
+# Should not be here if xscreensaver is disabled
+%if 0%{?with_xscreensaver} == 0
+%__rm -f %{?buildroot}%{tde_bindir}/xscreensaver-getimage
+%__rm -f %{?buildroot}%{tde_bindir}/xscreensaver-getimage-file
+%endif
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdebase/tdebase-14.0.0.spec b/redhat/tdebase/tdebase-14.0.0.spec
index 54c5f56b7..8c1104287 100644
--- a/redhat/tdebase/tdebase-14.0.0.spec
+++ b/redhat/tdebase/tdebase-14.0.0.spec
@@ -249,7 +249,7 @@ Requires: opensuse-manuals_en
%endif
BuildRequires: cmake >= 2.8
-BuildRequires: trinity-tqt3-devel >= %{version}
+BuildRequires: trinity-tqt3-devel >= 3.5.0
BuildRequires: trinity-tqtinterface-devel >= %{version}
BuildRequires: trinity-arts-devel >= %{version}
BuildRequires: trinity-tdelibs-devel >= %{version}
@@ -487,7 +487,7 @@ Requires: %{name}-tdeio-smb-plugin = %{version}-%{release}
Requires: trinity-tqtinterface >= %{version}
Requires: trinity-arts >= %{version}
Requires: trinity-tdelibs >= %{version}
-Requires: trinity-tqt3 >= %{version}
+Requires: trinity-tqt3 >= 3.5.0
Requires: openssl
diff --git a/redhat/tdebindings/tdebindings-14.0.0-ftbfs.patch b/redhat/tdebindings/tdebindings-14.0.0-ftbfs.patch
new file mode 100644
index 000000000..3619f122d
--- /dev/null
+++ b/redhat/tdebindings/tdebindings-14.0.0-ftbfs.patch
@@ -0,0 +1,24 @@
+--- trinity-tdebindings-14.0.0~pre209+0615ff79/dcopperl/Makefile.PL.in.ORI 2013-07-02 21:20:35.443484858 +0200
++++ trinity-tdebindings-14.0.0~pre209+0615ff79/dcopperl/Makefile.PL.in 2013-07-02 21:20:46.551592113 +0200
+@@ -4,8 +4,8 @@
+ # the contents of the Makefile that is written.
+
+ print "Trying to find some configuration information...\n";
+-my $tde_inc = "@tde_includes@";
+-my $tde_lib = "@tde_libraries@";
++my $tde_inc = "@kde_includes@";
++my $tde_lib = "@kde_libraries@";
+ my $qt_inc = "@qt_includes@";
+ my $qt_lib = "@qt_libraries@";
+
+--- trinity-tdebindings-14.0.0~pre209+0615ff79/smoke/kde/Makefile.am.ORI 2013-07-02 21:30:55.952456509 +0200
++++ trinity-tdebindings-14.0.0~pre209+0615ff79/smoke/kde/Makefile.am 2013-07-02 21:31:07.962573744 +0200
+@@ -9,7 +9,7 @@
+ libsmokekde_la_LDFLAGS = -version-info 3:2:2 -no-undefined $(all_libraries) $(GLINC) $(KDE_RPATH)
+
+ # the libraries to link against.
+-libsmokekde_la_LIBADD = $(LIB_TDEHTML) -lkjs -lfontconfig $(LIB_KMDI) $(LIB_KNS) $(LIB_KSPELL) $(LIB_KUTILS) $(LIB_TDEPRINT) $(GLLIB) $(LIB_QT) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_KIO) $(LIB_KPARTS) -lDCOP -ltdefx
++libsmokekde_la_LIBADD = $(LIB_TDEHTML) -lkjs -lfontconfig $(LIB_KMDI) $(LIB_KNS) $(LIB_KSPELL) $(LIB_KUTILS) $(LIB_TDEPRINT) $(GLLIB) $(LIB_QT) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_KIO) $(LIB_KPARTS) -lDCOP -ltdefx -lknewstuff -ltdemdi
+
+ x_sources = x_1.cpp x_2.cpp x_3.cpp x_4.cpp x_5.cpp x_6.cpp x_7.cpp \
+ x_8.cpp x_9.cpp x_10.cpp x_11.cpp x_12.cpp x_13.cpp x_14.cpp x_15.cpp \
diff --git a/redhat/tdebindings/tdebindings-14.0.0.spec b/redhat/tdebindings/tdebindings-14.0.0.spec
index 784ca0be5..947093224 100644
--- a/redhat/tdebindings/tdebindings-14.0.0.spec
+++ b/redhat/tdebindings/tdebindings-14.0.0.spec
@@ -18,7 +18,7 @@
%define tde_libdir %{tde_prefix}/%{_lib}
%define tde_mandir %{tde_datadir}/man
-%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdeappdir %{tde_datadir}/applications/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
@@ -48,6 +48,7 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Patch0: tdebindings-14.0.0-ftbfs.patch
# [kdebindings] Fix FTBFS in dcopjava/bindings
Patch7: kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch
@@ -171,6 +172,9 @@ BuildRequires: perl-devel
%endif
%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)}
+## QScintilla
+BuildRequires: trinity-tqscintilla-devel
+%define _enable_qscintilla --enable-qscintilla
Obsoletes: trinity-kdebindings < %{version}-%{release}
Provides: trinity-kdebindings = %{version}-%{release}
@@ -568,7 +572,7 @@ This package is part of the official TDE bindings module.
%{tde_datadir}/services/qprocess_plugin.desktop
%{tde_tdelibdir}/libfileitemplugin.la
%{tde_tdelibdir}/libfileitemplugin.so
-%{tde_datadir}/services/kfileitem_plugin.desktop
+%{tde_datadir}/services/tdefileitem_plugin.desktop
%{tde_datadir}/apps/kjsembed/cmdline.js
%{tde_datadir}/servicetypes/binding_type.desktop
%{tde_bindir}/embedjs
@@ -695,7 +699,7 @@ This package is part of the official TDE bindings module.
%{tde_bindir}/rbkdesh
%{tde_bindir}/rbkdeapi
%{tde_bindir}/krubyinit
-%{tde_bindir}/rbkconfig_compiler
+%{tde_bindir}/rbtdeconfig_compiler
%{ruby_rubylibdir}/Korundum.rb
%{ruby_rubylibdir}/KDE/korundum.rb
%{ruby_arch}/korundum.la
@@ -734,8 +738,8 @@ This package is part of the official TDE bindings module.
%{ruby_rubylibdir}/Qt.rb
%{ruby_arch}/qtruby.so*
%{ruby_arch}/qtruby.la
-%{ruby_arch}/qui.so*
-%{ruby_arch}/qui.la
+%{ruby_arch}/tqui.so*
+%{ruby_arch}/tqui.la
%doc qtruby/ChangeLog
%post -n trinity-libqt0-ruby
@@ -845,7 +849,7 @@ Requires: trinity-libkdexparts1 = %{version}-%{release}
%files -n trinity-libxparts-devel
%defattr(-,root,root,-)
-%{tde_tdeincludedir}/xkparts/
+%{tde_tdeincludedir}/xtdeparts/
%if 0%{?with_gtk1}
%{tde_libdir}/libgtkxparts.so
%endif
@@ -956,7 +960,8 @@ Development files for the TDE bindings.
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
-%patch7 -p1 -b .dcopjavaldflags
+%patch0 -p1 -b .ftbfs
+#patch7 -p1 -b .dcopjavaldflags
%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
%patch18 -p1 -b .ruby
@@ -1014,16 +1019,14 @@ fi
--enable-closure \
--enable-final \
%{?_with_java} %{!?_with_java:--without-java} \
- %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \
- --with-extra-includes=%{tde_includedir}/tqt
+ %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla}
+# Build dcopperl with specific options
pushd dcopperl
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
-# Ugly hack to add TQT include directory in Makefile
-# Also modifies the man pages directory
+# Ugly hack to modify the man pages directory
sed -i Makefile \
- -e "s|^\(INC = .*\)|\1 -I%{tde_includedir}/tqt|" \
-e "s|/usr/share/man|%{tde_mandir}|g"
%__make OPTIMIZE="$RPM_OPT_FLAGS" ||:
@@ -1049,7 +1052,7 @@ find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
# locale's
%find_lang %{name} || touch %{name}.lang
-HTML_DIR=$(kde-config --expandvars --install html)
+HTML_DIR=$(tde-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
diff --git a/redhat/tdeedu/tdeedu-14.0.0.spec b/redhat/tdeedu/tdeedu-14.0.0.spec
new file mode 100644
index 000000000..a4662abbe
--- /dev/null
+++ b/redhat/tdeedu/tdeedu-14.0.0.spec
@@ -0,0 +1,1385 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-tdeedu
+Summary: Educational/Edutainment applications
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2
+Group: Amusements/Games
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: desktop-file-utils
+BuildRequires: trinity-kdelibs-devel
+BuildRequires: python-devel python
+BuildRequires: boost-devel
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
+BuildRequires: ocaml(compiler)
+%else
+BuildRequires: ocaml
+%endif
+
+Obsoletes: trinity-kdeedu < %{version}-%{release}
+Provides: trinity-kdeedu = %{version}-%{release}
+Obsoletes: trinity-kdeedu-libs < %{version}-%{release}
+Provides: trinity-kdeedu-libs = %{version}-%{release}
+
+# Meta-package
+Requires: %{name}-data = %{version}-%{release}
+Requires: trinity-blinken = %{version}-%{release}
+Requires: trinity-kalzium = %{version}-%{release}
+Requires: trinity-kalzium-data = %{version}-%{release}
+Requires: trinity-kanagram = %{version}-%{release}
+Requires: trinity-kbruch = %{version}-%{release}
+Requires: trinity-keduca = %{version}-%{release}
+Requires: trinity-kgeography = %{version}-%{release}
+Requires: trinity-kgeography-data = %{version}-%{release}
+Requires: trinity-khangman = %{version}-%{release}
+Requires: trinity-kig = %{version}-%{release}
+Requires: trinity-kiten = %{version}-%{release}
+Requires: trinity-klatin = %{version}-%{release}
+Requires: trinity-klettres = %{version}-%{release}
+Requires: trinity-klettres-data = %{version}-%{release}
+Requires: trinity-kmplot = %{version}-%{release}
+Requires: trinity-kpercentage = %{version}-%{release}
+Requires: trinity-kstars = %{version}-%{release}
+Requires: trinity-kstars-data = %{version}-%{release}
+Requires: trinity-ktouch = %{version}-%{release}
+Requires: trinity-kturtle = %{version}-%{release}
+Requires: trinity-kverbos = %{version}-%{release}
+Requires: trinity-kvoctrain = %{version}-%{release}
+Requires: trinity-kwordquiz = %{version}-%{release}
+Requires: trinity-libtdeedu3 = %{version}-%{release}
+Requires: trinity-libkiten1 = %{version}-%{release}
+Requires: trinity-indi = %{version}-%{release}
+
+
+%description
+Educational/Edutainment applications, including:
+* blinken: Simon Says Game
+* kalzium: Periodic Table of Elements
+* kanagram: Letter Order Game
+* kbruch: Exercise Fractions
+* keduca: Tests and Exams
+* kgeography: Geography Trainer
+* khangman: Hangman Game
+* kig: Interactive Geometry
+* kiten: Japanese Reference/Study Tool
+* klatin: Latin Reviser
+* klettres: French alphabet tutor
+* kmplot: Mathematical Function Plotter
+* kpercentage: Excersie Percentages
+* kstars: Desktop Planetarium
+* ktouch: Touch Typing Tutor
+* kturtle: Logo Programming Environment
+* kverbos: Study Spanish Verbforms
+* kvoctrain: Vocabulary Trainer
+* kwordquiz: Vocabulary Trainer
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING README
+
+##########
+
+%package data
+Summary: shared data for Trinity educational applications
+Group: Amusements/Games
+
+%description data
+This package contains shared data necessary for running the
+educational applications provided with KDE (the K Desktop
+Environment).
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files data
+%defattr(-,root,root,-)
+%{tde_datadir}/applnk/Edutainment/Languages/.directory
+%{tde_datadir}/applnk/Edutainment/Miscellaneous/.directory
+%{tde_datadir}/applnk/Edutainment/Mathematics/.directory
+%{tde_datadir}/applnk/Edutainment/Science/.directory
+%{tde_datadir}/applnk/Edutainment/Tools/.directory
+
+##########
+
+%package -n trinity-blinken
+Summary: Trinity version of the Simon Says electronic memory game
+Group: Amusements/Games
+#Requires: sj-delphine-fonts
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-blinken
+Blinken is based on an electronic game released in 1978, which
+challenges players to remember sequences of increasing length. On
+the face of the device, there are 4 different color buttons, each
+with its own distinctive sound. These buttons light up randomly,
+creating the sequence that the player must then recall. If the
+player is successful in remembering the sequence of lights in the
+correct order, they advance to the next stage, where an identical
+sequence with one extra step is presented.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-blinken
+%defattr(-,root,root,-)
+%{tde_bindir}/blinken
+%{tde_tdeappdir}/blinken.desktop
+%{tde_datadir}/apps/blinken/
+%{tde_datadir}/config.kcfg/blinken.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/blinken.png
+%{tde_datadir}/icons/hicolor/scalable/apps/blinken.svgz
+%{tde_tdedocdir}/HTML/en/blinken/
+
+%post -n trinity-blinken
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-blinken
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kalzium
+Summary: chemistry teaching tool for Trinity
+Group: Amusements/Games
+Requires: trinity-kalzium-data = %{version}-%{release}
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kalzium
+Kalzium is a program which shows you the Periodic System of Elements
+(PSE). You can use Kalzium to search for information about the
+elements or to learn facts about the PSE.
+
+Kalzium provides you with all kinds of information about the PSE.
+You can look up lots of information about the elements and also use
+visualisations to show them.
+
+You can visualise the Periodic Table of the Elements by blocks,
+groups, acidic behavior or different states of matter. You can also
+plot data for a range of elements (weight, mean weight, density, IE1,
+IE2, electronegativity), and you can go back in time to see what
+elements were known at a given date. In addition, on platforms where
+OCaml supports native code generation, Kalzium includes a chemical
+equation solver.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kalzium
+%defattr(-,root,root,-)
+%{tde_bindir}/kalzium
+%{tde_tdeappdir}/kalzium.desktop
+%{tde_datadir}/config.kcfg/kalzium.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kalzium.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kalzium.svgz
+%{tde_tdedocdir}/HTML/en/kalzium/
+
+%post -n trinity-kalzium
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kalzium
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kalzium-data
+Summary: data files for Kalzium
+Group: Amusements/Games
+
+%description -n trinity-kalzium-data
+This package contains architecture-independent data files for
+Kalzium, the KDE periodic table application. This includes pictures
+of various chemical equipment and of samples of several elements, in
+addition to the actual chemical data.
+
+See the kalzium package for further information.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kalzium-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kalzium/
+
+##########
+
+%package -n trinity-kanagram
+Summary: letter order game for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kanagram
+KAnagram is a game that is based on the word/letter puzzles that the
+author played as a child. A word is picked at random and displayed
+with its letters in a messed order, with difficulty dependent on the
+chosen level. You have an unlimited number of attempts, and scores
+are kept.
+
+It is a very simply constructed game, with 3 difficulty levels of
+play. It is fully customizable, allowing you to write in your own
+words and set your own 'look and feel' of the game. It is aimed for
+children aged 10+ because of the difficulty, but of course everyone
+is welcome to try.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kanagram
+%defattr(-,root,root,-)
+%{tde_bindir}/kanagram
+%{tde_tdeappdir}/kanagram.desktop
+%{tde_datadir}/apps/kanagram/
+%{tde_datadir}/config.kcfg/kanagram.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kanagram.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kanagram.svgz
+%{tde_tdedocdir}/HTML/en/kanagram/
+
+%post -n trinity-kanagram
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kanagram
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kbruch
+Summary: fraction calculation teaching tool for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kbruch
+KBruch is a small program to practice calculating with fractions.
+Different exercises are provided for this purpose. The program
+checks the user's input and gives feedback.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kbruch
+%defattr(-,root,root,-)
+%{tde_bindir}/kbruch
+%{tde_datadir}/apps/kbruch/kbruchui.rc
+%{tde_tdeappdir}/kbruch.desktop
+%{tde_datadir}/config.kcfg/kbruch.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kbruch.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kbruch.svgz
+%{tde_datadir}/icons/crystalsvg/*/actions/kbruch_*.png
+%{tde_tdedocdir}/HTML/en/kbruch/
+
+%post -n trinity-kbruch
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbruch
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-keduca
+Summary: interactive form-based tests for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-keduca
+KEduca is a flash-card application which allows you to make
+interactive form-based tests.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-keduca
+%defattr(-,root,root,-)
+%{tde_bindir}/keduca
+%{tde_bindir}/keducabuilder
+%{tde_tdelibdir}/libkeducapart.la
+%{tde_tdelibdir}/libkeducapart.so
+%{tde_tdeappdir}/keduca.desktop
+%{tde_tdeappdir}/keducabuilder.desktop
+%{tde_datadir}/apps/keduca/
+%{tde_datadir}/config.kcfg/keduca.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/keduca.png
+%{tde_datadir}/mimelnk/application/x-edu.desktop
+%{tde_datadir}/mimelnk/application/x-edugallery.desktop
+%{tde_datadir}/services/keduca_part.desktop
+%{tde_tdedocdir}/HTML/en/keduca/
+
+%post -n trinity-keduca
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-keduca
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kgeography
+Summary: Geography learning tool for Trinity
+Group: Amusements/Games
+Requires: trinity-kgeography-data = %{version}-%{release}
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kgeography
+KGeography contains maps allowing you to learn various countries or
+the political divisions of several countries. It has several modes,
+including a map browser and games involving the names, capitals, or
+flags of the map divisions.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kgeography
+%defattr(-,root,root,-)
+%{tde_bindir}/kgeography
+%{tde_tdeappdir}/kgeography.desktop
+%{tde_datadir}/config.kcfg/kgeography.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/kgeography.png
+%{tde_datadir}/icons/crystalsvg/scalable/apps/kgeography.svgz
+%{tde_datadir}/icons/hicolor/*/apps/kgeography.png
+%{tde_tdedocdir}/HTML/en/kgeography
+
+%post -n trinity-kgeography
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kgeography
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kgeography-data
+Summary: data files for KGeography
+Group: Amusements/Games
+
+%description -n trinity-kgeography-data
+This package contains architecture-independent data files for
+KGeography, the geography learning tool for KDE. This includes map
+and flag images.
+
+See the kgeography package for further information.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kgeography-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kgeography/
+
+##########
+
+%package -n trinity-khangman
+Summary: the classical hangman game for Trinity
+Group: Amusements/Games
+#Requires: dustin-dustismo-sans-fonts
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-khangman
+KHangMan is a game based on the well known hangman game. It is aimed
+for children aged 6 and above. It has four levels of difficulty:
+Animals (animals words), Easy, Medium and Hard.
+
+A word is picked at random and the letters are hidden. You must
+guess the word by trying one letter after another. Each time you
+guess a wrong letter, a picture of a hangman is drawn. You must
+guess the word before getting hanged! You have 10 tries.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-khangman
+%defattr(-,root,root,-)
+%{tde_datadir}/config/khangmanrc
+%{tde_bindir}/khangman
+%{tde_tdeappdir}/khangman.desktop
+%{tde_datadir}/apps/khangman/
+%{tde_datadir}/config.kcfg/khangman.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/khangman.png
+%{tde_datadir}/icons/hicolor/scalable/apps/khangman.svgz
+%{tde_tdedocdir}/HTML/en/khangman/
+
+%post -n trinity-khangman
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-khangman
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kig
+Summary: interactive geometry program for KDE
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kig
+Kig is an application for interactive geometry. It is intended to
+serve two purposes:
+
+- to allow students to interactively explore mathematical figures and
+ concepts using the computer;
+- to serve as a WYSIWYG tool for drawing mathematical figures and
+ including them in other documents.
+
+With this program you can do geometry on a computer just like you
+would on a blackboard in a classroom. However, the program allows
+you to move and change parts of a geometrical drawing so that you can
+see how the other parts change as a result.
+
+Kig supports loci and user-defined macros. It also supports imports
+and exports to/from foreign file formats including Cabri, Dr. Geo,
+KGeo, KSeg and XFig.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kig
+%defattr(-,root,root,-)
+%{tde_datadir}/config/magic/cabri.magic
+%{tde_datadir}/config/magic/drgeo.magic
+%{tde_bindir}/kig
+%{tde_bindir}/pykig.py*
+%{tde_tdelibdir}/tdefile_drgeo.la
+%{tde_tdelibdir}/tdefile_drgeo.so
+%{tde_tdelibdir}/tdefile_kig.la
+%{tde_tdelibdir}/tdefile_kig.so
+%{tde_tdelibdir}/libkigpart.la
+%{tde_tdelibdir}/libkigpart.so
+%{tde_tdeappdir}/kig.desktop
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%{tde_datadir}/apps/katepart/syntax/python-kig.xml
+%endif
+%{tde_datadir}/apps/kig/
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/kig_doc.png
+%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kig_doc.svgz
+%{tde_datadir}/icons/hicolor/*/apps/kig.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kig.svgz
+%{tde_datadir}/mimelnk/application/x-cabri.desktop
+%{tde_datadir}/mimelnk/application/x-drgeo.desktop
+%{tde_datadir}/mimelnk/application/x-kig.desktop
+%{tde_datadir}/mimelnk/application/x-kgeo.desktop
+%{tde_datadir}/mimelnk/application/x-kseg.desktop
+%{tde_datadir}/services/tdefile_drgeo.desktop
+%{tde_datadir}/services/tdefile_kig.desktop
+%{tde_datadir}/services/kig_part.desktop
+%{tde_tdedocdir}/HTML/en/kig/
+
+%post -n trinity-kig
+for i in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kig
+for i in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kiten
+Summary: Japanese reference/study tool for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+#Requires: ttf-kochi-gothic | ttf-kochi-mincho
+
+%description -n trinity-kiten
+Kiten is a Japanese reference and study tool for KDE. It is an
+application with multiple functions. Firstly, it is a convenient
+English to Japanese and Japanese to English dictionary. Secondly, it
+is a Kanji dictionary, with multiple ways to look up specific
+characters. Thirdly, it is a tool to help you learn Kanji.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kiten
+%defattr(-,root,root,-)
+%{tde_bindir}/kiten
+%{tde_bindir}/kitengen
+%{tde_tdeappdir}/kiten.desktop
+%{tde_tdedocdir}/HTML/en/kiten/
+%{tde_datadir}/icons/hicolor/*/apps/kiten.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kiten.svgz
+
+%post -n trinity-kiten
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kiten
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klatin
+Summary: application to help revise/teach Latin
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-klatin
+KLatin is a program to help revise Latin. There are three "sections"
+in which different aspects of the language can be revised. These are
+the vocabulary, grammar and verb testing sections. In addition there
+is a set of revision notes that can be used for self-guided revision.
+
+In the vocabulary section an XML file is loaded containing various
+words and their local language translations. KLatin asks you what
+each of these words translate into. The questions take place in a
+multiple-choice environment.
+
+In the grammar and verb sections KLatin asks for a particular part of
+a noun or a verb, such as the "ablative singular", or the "1st person
+indicative passive plural", and is not multiple choice.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-klatin
+%defattr(-,root,root,-)
+%{tde_bindir}/klatin
+%{tde_tdeappdir}/klatin.desktop
+%{tde_datadir}/apps/klatin/
+%{tde_datadir}/config.kcfg/klatin.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/klatin.png
+%{tde_datadir}/icons/hicolor/scalable/apps/klatin.svgz
+%{tde_tdedocdir}/HTML/en/klatin/
+
+%post -n trinity-klatin
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klatin
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klettres
+Summary: foreign alphabet tutor for Trinity
+Group: Amusements/Games
+Requires: trinity-klettres-data = %{version}-%{release}
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-klettres
+KLettres is an application specially designed to help the user to
+learn the alphabet in a new language and then to learn to read simple
+syllables. The user can be a young child aged from two and a half or
+an adult that wants to learn the basics of a foreign language.
+
+Seven languages are currently available: Czech, Danish, Dutch,
+English, French, Italian and Slovak.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-klettres
+%defattr(-,root,root,-)
+%{tde_datadir}/config/klettresrc
+%{tde_bindir}/klettres
+%{tde_tdeappdir}/klettres.desktop
+%{tde_datadir}/config.kcfg/klettres.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/klettres.png
+%{tde_datadir}/icons/hicolor/scalable/apps/klettres.svgz
+%{tde_tdedocdir}/HTML/en/klettres/
+
+%post -n trinity-klettres
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klettres
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klettres-data
+Summary: data files for KLettres foreign alphabet tutor
+Group: Amusements/Games
+
+%description -n trinity-klettres-data
+This package contains architecture-independent data files for
+KLettres, the foreign alphabet tutor for KDE. This includes sound
+files and graphics.
+
+See the klettres package for further information.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-klettres-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/klettres/
+
+##########
+
+%package -n trinity-kmplot
+Summary: mathematical function plotter for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kmplot
+KmPlot is a mathematical function plotter for KDE. It has a powerful
+built-in parser. You can plot different functions simultaneously and
+combine them to build new functions.
+
+KmPlot supports parametric functions and functions in polar
+coordinates. Several grid modes are supported. Plots may be printed
+with high precision in the correct scale.
+
+KmPlot also provides some numerical and visual features, like filling
+and calculating the area between the plot and the first axis, finding
+maximum and minimum values, changing function parameters dynamically
+and plotting derivatives and integral functions.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kmplot
+%defattr(-,root,root,-)
+%{tde_bindir}/kmplot
+%{tde_tdelibdir}/libkmplotpart.la
+%{tde_tdelibdir}/libkmplotpart.so
+%{tde_tdeappdir}/kmplot.desktop
+%{tde_datadir}/apps/kmplot/
+%{tde_datadir}/config.kcfg/kmplot.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kmplot.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kmplot.svgz
+%{tde_datadir}/mimelnk/application/x-kmplot.desktop
+%{tde_datadir}/services/kmplot_part.desktop
+%{tde_tdedocdir}/HTML/en/kmplot/
+
+%post -n trinity-kmplot
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kmplot
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kpercentage
+Summary: percentage calculation teaching tool for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kpercentage
+KPercentage is a small math application that will help pupils to
+improve their skills in calculating percentages.
+
+There is a special training section for the three basic tasks.
+Finally the pupil can select a random mode, in which all three tasks
+are mixed randomly.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kpercentage
+%defattr(-,root,root,-)
+%{tde_bindir}/kpercentage
+%{tde_tdeappdir}/kpercentage.desktop
+%{tde_datadir}/apps/kpercentage/
+%{tde_datadir}/icons/hicolor/*/apps/kpercentage.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kpercentage.svgz
+%{tde_tdedocdir}/HTML/en/kpercentage/
+
+%post -n trinity-kpercentage
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kpercentage
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kstars
+Summary: desktop planetarium for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+Requires: trinity-kstars-data = %{version}-%{release}
+Requires: trinity-indi = %{version}-%{release}
+
+%description -n trinity-kstars
+KStars is a graphical desktop planetarium for KDE. It depicts an
+accurate simulation of the night sky, including stars,
+constellations, star clusters, nebulae, galaxies, all planets, the
+Sun, the Moon, comets and asteroids. You can see the sky as it
+appears from any location on Earth, on any date.
+
+The user interface is highly intuitive and flexible. The display can
+be panned and zoomed with the mouse, and you can easily identify
+objects and track their motion across the sky. KStars includes many
+powerful features, yet the interface is clean and simple and fun to
+use.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kstars
+%defattr(-,root,root,-)
+%{tde_datadir}/config/kstarsrc
+%{tde_bindir}/kstars
+%{tde_tdeappdir}/kstars.desktop
+%{tde_datadir}/config.kcfg/kstars.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kstars.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kstars.svgz
+%{tde_tdedocdir}/HTML/en/kstars/
+
+%post -n trinity-kstars
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kstars
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kstars-data
+Summary: data files for KStars desktop planetarium
+Group: Amusements/Games
+
+%description -n trinity-kstars-data
+This package contains architecture-independent data files for KStars,
+the graphical desktop planetarium for KDE. This includes star
+catalogues and astronomical images.
+
+See the kstars package for further information.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kstars-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kstars/
+
+##########
+
+%package -n trinity-ktouch
+Summary: touch typing tutor for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-ktouch
+KTouch is a program for learning touch typing - it helps you learn to
+type on a keyboard quickly and correctly. Every finger has its place
+on the keyboard with associated keys to press.
+
+KTouch helps you learn to touch type by providing you with text to
+train on, and adjusts to different levels depending on how good you
+are. It can display which key to press next, and the correct finger
+to use.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-ktouch
+%defattr(-,root,root,-)
+%{tde_bindir}/ktouch
+%{tde_tdeappdir}/ktouch.desktop
+%{tde_datadir}/apps/ktouch/
+%{tde_datadir}/config.kcfg/ktouch.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/ktouch.png
+%{tde_datadir}/icons/hicolor/scalable/apps/ktouch.svgz
+%{tde_tdedocdir}/HTML/en/ktouch/
+
+%post -n trinity-ktouch
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ktouch
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kturtle
+Summary: educational Logo programming environment
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kturtle
+KTurtle is an educational programming environment using the Logo
+programming language. It tries to make programming as easy and
+accessible as possible. This makes KTurtle suitable for teaching
+kids the basics of mathematics, geometry and programming.
+
+The commands used to program are in the style of the Logo programming
+language. The unique feature of Logo is that the commands are often
+translated into the speaking language of the programmer.
+
+KTurtle is named after "the turtle" that plays a central role in the
+programming environment. The user programs the turtle, using the
+Logo commands, to draw a picture on the canvas.
+
+Note that this version of Logo is only focused on the educational
+qualities of the programming language and will not try to suit
+professional programmers' needs.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kturtle
+%defattr(-,root,root,-)
+%{tde_bindir}/kturtle
+%{tde_tdeappdir}/kturtle.desktop
+%{tde_datadir}/apps/katepart/syntax/logohighlightstyle*
+%{tde_datadir}/apps/kturtle/
+%{tde_datadir}/config.kcfg/kturtle.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kturtle.png
+%{tde_tdedocdir}/HTML/en/kturtle/
+
+%post -n trinity-kturtle
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kturtle
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kverbos
+Summary: Spanish verb form study application for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kverbos
+Kverbos allows the user to learn the forms of Spanish verbs. The
+program suggests a verb and a time and the user enters the different
+verb forms. The program corrects the user input and gives feedback.
+
+The user can edit the list of the verbs that can be studied. The
+program can build regular verb forms by itself. Irregular verb forms
+have to be entered by the user.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kverbos
+%defattr(-,root,root,-)
+%{tde_bindir}/kverbos
+%{tde_tdeappdir}/kverbos.desktop
+%{tde_datadir}/apps/kverbos/
+%{tde_datadir}/config.kcfg/kverbos.kcfg
+%{tde_datadir}/icons/crystalsvg/16x16/actions/kverbosuser.png
+%{tde_datadir}/icons/hicolor/*/apps/kverbos.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kverbos.svgz
+%{tde_tdedocdir}/HTML/en/kverbos/
+
+%post -n trinity-kverbos
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kverbos
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kvoctrain
+Summary: vocabulary trainer for Trinity
+Group: Amusements/Games
+Requires: perl
+Requires: perl-libwww-perl
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kvoctrain
+KVocTrain is a little utility to help you train your vocabulary when
+you are trying to learn a foreign language. You can create your own
+database with the words you need. It is intended as a replacement
+for index (flash) cards.
+
+You probably remember flashcards from school. The teacher would
+write the original expression on the front side of the card and the
+translation on the back. Then look at the cards one after another.
+If you knew the translation, you could put it away. If you failed,
+you put it back to try again.
+
+KVocTrain is not intended to teach you grammar or other sophisticated
+things. This is and probably will stay beyond the scope of this
+application.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kvoctrain
+%defattr(-,root,root,-)
+%{tde_datadir}/config/kvoctrainrc
+%{tde_bindir}/kvoctrain
+%{tde_bindir}/spotlight2kvtml
+%{tde_libdir}/libkvoctraincore.so.*
+%{tde_tdeappdir}/kvoctrain.desktop
+%{tde_datadir}/apps/kvoctrain/
+%{tde_datadir}/mimelnk/text/x-kvtml.desktop
+%{tde_datadir}/config.kcfg/kvoctrain.kcfg
+%{tde_datadir}/config.kcfg/languagesettings.kcfg
+%{tde_datadir}/config.kcfg/presettings.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kvoctrain.png
+%{tde_tdedocdir}/HTML/en/kvoctrain/
+
+%post -n trinity-kvoctrain
+/sbin/ldconfig || :
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kvoctrain
+/sbin/ldconfig || :
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kwordquiz
+Summary: flashcard and vocabulary learning program for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kwordquiz
+KWordQuiz is a flashcard-based tool that helps you to master new
+vocabularies. It may be a language or any other kind of terminology.
+
+KWordQuiz can open several types of vocabulary data. Supported are
+kvtml files used by other KDE programs such as KVocTrain, wql files
+used by WordQuiz for Windows, csv files with comma-separated text,
+and xml.gz files created by Pauker (http://pauker.sourceforge.net).
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-kwordquiz
+%defattr(-,root,root,-)
+%{tde_datadir}/config/kwordquizrc
+%{tde_bindir}/kwordquiz
+%{tde_tdeappdir}/kwordquiz.desktop
+%{tde_datadir}/apps/kwordquiz/
+%{tde_datadir}/config.kcfg/kwordquiz.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kwordquiz.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kwordquiz.svg
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/kwordquiz_doc.png
+%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kwordquiz_doc.svg
+%{tde_datadir}/mimelnk/application/x-kwordquiz.desktop
+%{tde_tdedocdir}/HTML/en/kwordquiz/
+
+%post -n trinity-kwordquiz
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kwordquiz
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-libtdeedu3
+Summary: library for use with Trinity educational apps
+Group: Environment/Libraries
+
+%description -n trinity-libtdeedu3
+The KDE-based library libtdeedu is used with educational
+applications. It currently provides support for data plotting and
+vocabulary items (including a parser for kvtml vocabulary files).
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-libtdeedu3
+%defattr(-,root,root,-)
+%{tde_libdir}/libextdate.so.*
+%{tde_libdir}/lib[kt]deeducore.so.*
+%{tde_libdir}/lib[kt]deeduplot.so.*
+%{tde_libdir}/lib[kt]deeduui.so.*
+
+%post -n trinity-libtdeedu3
+/sbin/ldconfig || :
+
+%postun -n trinity-libtdeedu3
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libtdeedu-devel
+Summary: development files for Trinity educational library
+Group: Development/Libraries
+Requires: trinity-libtdeedu3 = %{version}-%{release}
+
+%description -n trinity-libtdeedu-devel
+The KDE-based library libtdeedu is used with educational
+applications. It currently provides support for data plotting and
+vocabulary items (including a parser for kvtml vocabulary files).
+
+Development files for libtdeedu are included in this package.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-libtdeedu-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/lib[kt]deedu/
+%{tde_libdir}/libextdate.la
+%{tde_libdir}/libextdate.so
+%{tde_libdir}/lib[kt]deeducore.la
+%{tde_libdir}/lib[kt]deeducore.so
+%{tde_libdir}/lib[kt]deeduui.la
+%{tde_libdir}/lib[kt]deeduui.so
+%{tde_libdir}/lib[kt]deeduplot.la
+%{tde_libdir}/lib[kt]deeduplot.so
+
+%post -n trinity-libtdeedu-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libtdeedu-devel
+/sbin/ldconfig || :
+
+
+##########
+
+%package -n trinity-libkiten1
+Summary: library for Kiten Japanese reference/study tool
+Group: Environment/Libraries
+#Requires: kanjidic
+
+%description -n trinity-libkiten1
+Kiten is a Japanese reference/study tool for KDE. The library
+libkiten contains portions of Kiten that may be useful for other
+applications. These portions include dictionary, character lookup
+and widget classes.
+
+This package contains the libkiten library along with supporting
+data, such as Japanese language data files and GUI resource files.
+For further information, see the kiten package.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-libkiten1
+%defattr(-,root,root,-)
+%{tde_libdir}/libkiten.so.*
+%{tde_datadir}/apps/kiten/
+%{tde_datadir}/config.kcfg/kiten.kcfg
+%{tde_datadir}/icons/crystalsvg/16x16/actions/kanjidic.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_add.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_remove.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/kanjidic.png
+%{tde_datadir}/icons/locolor/16x16/actions/edit_add.png
+%{tde_datadir}/icons/locolor/16x16/actions/edit_remove.png
+
+%post -n trinity-libkiten1
+for i in crystalsvg locolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-libkiten1
+for i in crystalsvg locolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkiten-devel
+Summary: development files for Kiten library
+Group: Development/Libraries
+Requires: trinity-libkiten1 = %{version}-%{release}
+Requires: trinity-tdelibs-devel >= %{version}
+
+%description -n trinity-libkiten-devel
+Kiten is a Japanese reference/study tool for KDE. The library
+libkiten contains portions of Kiten that may be useful for other
+applications. These portions include dictionary, character lookup
+and widget classes.
+
+Development files for libkiten are included in this package. For
+further information, see the kiten package.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-libkiten-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/libkiten/
+%{tde_libdir}/libkiten.la
+%{tde_libdir}/libkiten.so
+
+%post -n trinity-libkiten-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkiten-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-indi
+Summary: Instrument Neutral Distributed Interface for astronomical devices
+Group: Amusements/Games
+
+%description -n trinity-indi
+INDI is an Instrument Neutral Distributed Interface control protocol for
+astronomical devices, which provides a framework that decouples low level
+hardware drivers from high level front end clients. Clients that use the
+device drivers are completely unaware of the device capabilities and
+communicate with the device drivers and build a completely dynamic GUI
+based on the services provided by the device.
+
+This package is part of Trinity, as a component of the TDE education module.
+
+%files -n trinity-indi
+%defattr(-,root,root,-)
+%{tde_bindir}/apmount
+%{tde_bindir}/apogee_ppi
+%{tde_bindir}/celestrongps
+%{tde_bindir}/fliccd
+%{tde_bindir}/fliwheel
+%{tde_bindir}/indiserver
+%{tde_bindir}/lx200_16
+%{tde_bindir}/lx200autostar
+%{tde_bindir}/lx200basic
+%{tde_bindir}/lx200classic
+%{tde_bindir}/lx200generic
+%{tde_bindir}/lx200gps
+%{tde_bindir}/meade_lpi
+%{tde_bindir}/sbigccd
+%{tde_bindir}/skycommander
+%{tde_bindir}/temma
+%{tde_bindir}/v4ldriver
+%{tde_bindir}/v4lphilips
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-libtdeedu-devel = %{version}-%{release}
+Requires: trinity-libkiten-devel = %{version}-%{release}
+
+Obsoletes: trinity-kdeedu-devel < %{version}-%{release}
+Provides: trinity-kdeedu-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+%defattr(-,root,root,-)
+%doc libtdeedu/AUTHORS libtdeedu/README
+# kstars
+%{tde_tdeincludedir}/kstarsinterface.h
+%{tde_tdeincludedir}/simclockinterface.h
+# kvoctrain
+%{tde_libdir}/libkvoctraincore.la
+%{tde_libdir}/libkvoctraincore.so
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%__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 QTINC QTLIB
+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}"
+ export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --enable-new-ldflags \
+ --disable-dependency-tracking \
+ --disable-rpath \
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+ --enable-kig-python-scripting \
+%else
+ --disable-kig-python-scripting \
+%endif
+ --disable-debug \
+ --disable-warnings \
+ --enable-final \
+ --enable-closure \
+ --enable-ocamlsolver
+
+%__make %{_smp_mflags} \
+ OCAMLLIB=$(ocamlc -where) \
+ FACILELIB=$(ocamlc -where)
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# locale's
+HTML_DIR=$(tde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdegames/tdegames-14.0.0.spec b/redhat/tdegames/tdegames-14.0.0.spec
new file mode 100644
index 000000000..9d9ddd864
--- /dev/null
+++ b/redhat/tdegames/tdegames-14.0.0.spec
@@ -0,0 +1,1593 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-tdegames
+Summary: Trinity Desktop Environment - Games
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2
+Group: Amusements/Games
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: libtool
+
+BuildRequires: tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tdemultimedia-devel >= %{version}
+BuildRequires: trinity-tqt3-devel
+
+Obsoletes: trinity-kdegames < %{version}-%{release}
+Provides: trinity-kdegames = %{version}-%{release}
+Obsoletes: trinity-kdegames-libs < %{version}-%{release}
+Provides: trinity-kdegames-libs = %{version}-%{release}
+
+Requires: trinity-libtdegames1 = %{version}-%{release}
+Requires: trinity-tdegames-card-data = %{version}-%{release}
+Requires: trinity-atlantik = %{version}-%{release}
+Requires: trinity-kasteroids = %{version}-%{release}
+Requires: trinity-katomic = %{version}-%{release}
+Requires: trinity-kbackgammon = %{version}-%{release}
+Requires: trinity-kbattleship = %{version}-%{release}
+Requires: trinity-kblackbox = %{version}-%{release}
+Requires: trinity-kbounce = %{version}-%{release}
+Requires: trinity-kenolaba = %{version}-%{release}
+Requires: trinity-kfouleggs = %{version}-%{release}
+Requires: trinity-kgoldrunner = %{version}-%{release}
+Requires: trinity-kjumpingcube = %{version}-%{release}
+Requires: trinity-klickety = %{version}-%{release}
+Requires: trinity-klines = %{version}-%{release}
+Requires: trinity-kmahjongg = %{version}-%{release}
+Requires: trinity-kmines = %{version}-%{release}
+Requires: trinity-knetwalk = %{version}-%{release}
+Requires: trinity-kolf = %{version}-%{release}
+Requires: trinity-konquest = %{version}-%{release}
+Requires: trinity-kpat = %{version}-%{release}
+Requires: trinity-kpoker = %{version}-%{release}
+Requires: trinity-kreversi = %{version}-%{release}
+Requires: trinity-ksame = %{version}-%{release}
+Requires: trinity-kshisen = %{version}-%{release}
+Requires: trinity-ksirtet = %{version}-%{release}
+Requires: trinity-ksmiletris = %{version}-%{release}
+Requires: trinity-ksnake = %{version}-%{release}
+Requires: trinity-ksokoban = %{version}-%{release}
+Requires: trinity-kspaceduel = %{version}-%{release}
+Requires: trinity-ktron = %{version}-%{release}
+Requires: trinity-ktuberling = %{version}-%{release}
+Requires: trinity-twin4 = %{version}-%{release}
+Requires: trinity-lskat = %{version}-%{release}
+
+
+%description
+Games and gaming libraries for the Trinity Desktop Environment.
+Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg,
+kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris,
+ksnake, ksirtet, katomic, kjumpingcube, ktuberling.
+
+%files
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+License: LGPLv2
+
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tdelibs-devel >= 3.5.13
+Requires: trinity-libtdegames-devel = %{version}-%{release}
+Requires: trinity-atlantik-devel = %{version}-%{release}
+Requires: trinity-kolf-devel = %{version}-%{release}
+
+Obsoletes: trinity-kdegames-devel < %{version}-%{release}
+Provides: trinity-kdegames-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+Install %{name}-devel if you wish to develop or compile games for the
+TDE desktop.
+
+%files devel
+%defattr(-,root,root,-)
+
+##########
+
+%package -n trinity-libtdegames1
+Summary: Trinity games library and common files
+Group: Amusements/Games
+
+%description -n trinity-libtdegames1
+This library provides a common infrastructure for several of the
+games in the TDE distribution. Features include standardized menu
+items, high score handling, card display, and network connections
+including chat capabilities.
+
+This package is part of TDE, and a component of the TDE games module.
+
+%files -n trinity-libtdegames1
+%defattr(-,root,root,-)
+%{tde_libdir}/lib[kt]degames.so.*
+%{tde_datadir}/apps/[kt]degames/pics/star.png
+%{tde_datadir}/icons/crystalsvg/*/actions/roll.png
+%{tde_datadir}/icons/crystalsvg/*/actions/highscore.png
+#%{tde_tdedocdir}/HTML/en/%{name}-%{version}-apidocs/
+
+%post -n trinity-libtdegames1
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-libtdegames1
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libtdegames-devel
+Summary: Trinity games library headers
+Group: Development/Libraries
+Requires: trinity-libtdegames1 = %{version}-%{release}
+
+%description -n trinity-libtdegames-devel
+This package is necessary if you want to develop your own games using
+the TDE games library.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-libtdegames-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/*.h
+%{tde_tdeincludedir}/kgame
+%{tde_libdir}/lib[kt]degames.so
+%{tde_libdir}/lib[kt]degames.la
+
+##########
+
+%package card-data
+Summary: Card decks for Trinity games
+Group: Amusements/Games
+
+%description card-data
+Several different collections of card images for use by TDE games.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files card-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/carddecks/*
+
+##########
+
+%package -n trinity-atlantik
+Summary: TDE client for Monopoly-like network games
+Group: Amusements/Games
+
+%description -n trinity-atlantik
+This is a TDE client for playing Monopoly-like boardgames on the
+monopd network. It can play any board supported by the network
+server, including the classic Monopoly game, as well as the Atlantik
+game in which the property includes several major cities in North
+America and Europe.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-atlantik
+%defattr(-,root,root,-)
+%{tde_bindir}/atlantik
+%{tde_libdir}/libatlantic.so.*
+%{tde_libdir}/libatlantikclient.so.*
+%{tde_libdir}/libatlantikui.so.*
+%{tde_tdelibdir}/tdeio_atlantik.la
+%{tde_tdelibdir}/tdeio_atlantik.so
+%{tde_datadir}/services/atlantik.protocol
+%{tde_tdeappdir}/atlantik.desktop
+%{tde_datadir}/icons/hicolor/*/apps/atlantik.png
+%{tde_datadir}/apps/atlantik/
+%{tde_tdedocdir}/HTML/en/atlantik/
+
+%post -n trinity-atlantik
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-atlantik
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-atlantik-devel
+Summary: Development files for Atlantik
+Group: Development/Libraries
+Requires: trinity-atlantik = %{version}-%{release}
+
+%description -n trinity-atlantik-devel
+This package contains header files for compiling programs against the
+libraries which come with Atlantik.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-atlantik-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/atlantik
+%{tde_tdeincludedir}/atlantic
+%{tde_libdir}/libatlantic.so
+%{tde_libdir}/libatlantic.la
+%{tde_libdir}/libatlantikclient.so
+%{tde_libdir}/libatlantikclient.la
+%{tde_libdir}/libatlantikui.so
+%{tde_libdir}/libatlantikui.la
+
+%post -n trinity-atlantik-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-atlantik-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kasteroids
+Summary: Asteroids for Trinity
+Group: Amusements/Games
+
+%description -n trinity-kasteroids
+You know this game. It is based on Warwick Allison's QwSpriteField
+widget.
+
+The objective of kasteroids is to destroy all the asteroids on the
+screen to advance to the next level. Your ship is destroyed if it
+makes contact with an asteroid.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kasteroids
+%defattr(-,root,root,-)
+%{tde_bindir}/kasteroids
+%{tde_datadir}/icons/hicolor/*/apps/kasteroids.png
+%{tde_tdeappdir}/kasteroids.desktop
+%{tde_datadir}/apps/kasteroids/
+%{tde_datadir}/config.kcfg/kasteroids.kcfg
+%{tde_tdedocdir}/HTML/en/kasteroids/
+
+%post -n trinity-kasteroids
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kasteroids
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-katomic
+Summary: Atomic Entertainment game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-katomic
+This is a puzzle game, in which the object is to assemble a molecule
+from its atoms on a Sokoban-like board. On each move, an atom goes
+as far as it can in a specified direction before being stopped by a
+wall or another atom.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-katomic
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/katomic/
+%{tde_datadir}/icons/hicolor/*/apps/katomic.png
+%{tde_tdeappdir}/katomic.desktop
+%{tde_bindir}/katomic
+%{tde_tdedocdir}/HTML/en/katomic/
+
+%post -n trinity-katomic
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-katomic
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kbackgammon
+Summary: A Backgammon game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-kbackgammon
+KBackgammon is a backgammon program for Trinity. It is based on the
+code, ideas and concepts of KFibs (which is a FIBS client for
+TDE1). For a short time, KBackgammon was called bacKgammon (if you
+know somebody who is still using bacKgammon, please force them to
+upgrade :-)).
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kbackgammon
+%defattr(-,root,root,-)
+%{tde_bindir}/kbackgammon
+%{tde_tdeappdir}/kbackgammon.desktop
+%{tde_datadir}/apps/kbackgammon/
+%{tde_datadir}/icons/hicolor/*/apps/kbackgammon.png
+%{tde_datadir}/icons/hicolor/*/apps/kbackgammon_engine.png
+%{tde_tdedocdir}/HTML/en/kbackgammon/
+
+%post -n trinity-kbackgammon
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbackgammon
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kbattleship
+Summary: Battleship game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-kbattleship
+This is an implementation of the Battleship game. Each player tries
+to be the first to sink all the opponent's ships by firing "blindly"
+at them. The game has options to play over a network connection or
+against the computer.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kbattleship
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kbattleship/
+%{tde_datadir}/apps/zeroconf/_kbattleship._tcp
+%{tde_datadir}/icons/hicolor/*/apps/kbattleship.png
+%{tde_tdeappdir}/kbattleship.desktop
+%{tde_bindir}/kbattleship
+%{tde_tdedocdir}/HTML/en/kbattleship/
+
+%post -n trinity-kbattleship
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbattleship
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kblackbox
+Summary: A simple logical game for the Trinity project
+Group: Amusements/Games
+
+%description -n trinity-kblackbox
+KBlackBox is a game of hide and seek played on an grid of boxes. Your
+opponent (Random number generator, in this case) has hidden several
+balls within this box. By shooting rays into the box and observing
+where they emerge it is possible to deduce the positions of the
+hidden balls. The fewer rays you use to find the balls, the lower
+your score.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kblackbox
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kblackbox/
+%{tde_datadir}/icons/hicolor/*/apps/kblackbox.png
+%{tde_tdeappdir}/kblackbox.desktop
+%{tde_bindir}/kblackbox
+%{tde_tdedocdir}/HTML/en/kblackbox/
+
+%post -n trinity-kblackbox
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kblackbox
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kbounce
+Summary: Jezzball clone for the K Desktop Environment
+Group: Amusements/Games
+
+%description -n trinity-kbounce
+This is a clone of the popular Jezzball game originally created by
+Microsoft. Jezzball is one of the rare and simple games requiring
+skill, timing, and patience in order to be successful. A ball begins
+to bounce off of an area enclosed by four borders (like a
+square). You must move your pointer to certain areas within the
+square. Upon clicking, a new border is constructed at a relatively
+quick pace. You can change the direction of the borders by 90 degrees
+as well. Ultimately, you must force the ball to bounce around in a
+smaller, and smaller area as time goes by without the ball ever
+touching the borders as they are being constructed. If a ball touches
+a certain part of the border as it is being built, the game is over.
+After 75% of the original space has been blocked off from the moving
+ball, you advance one level, and one more ball is added to the mix in
+the following level.
+
+This game was previously known as kjezz.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kbounce
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kbounce/
+%{tde_tdeappdir}/kbounce.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kbounce.png
+%{tde_bindir}/kbounce
+%{tde_tdedocdir}/HTML/en/kbounce/
+
+%post -n trinity-kbounce
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbounce
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kenolaba
+Summary: Enolaba board game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-kenolaba
+kenolaba is a simple board strategy game that is played by two
+players. There are red and yellow pieces for each player. Beginning
+from a start position where each player has 14 pieces, moves are
+drawn until one player has pushed 6 pieces of his opponent out of the
+board.
+
+This game was previously known as kabalone, and was inspired by the
+board game Abalone by Abalone SA, France.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kenolaba
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kenolaba/
+%{tde_datadir}/icons/hicolor/*/apps/kenolaba.png
+%{tde_tdeappdir}/kenolaba.desktop
+%{tde_bindir}/kenolaba
+%{tde_tdedocdir}/HTML/en/kenolaba/
+
+%post -n trinity-kenolaba
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kenolaba
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kfouleggs
+Summary: A TDE clone of the Japanese PuyoPuyo game
+Group: Amusements/Games
+
+%description -n trinity-kfouleggs
+KFouleggs is a clone of the Japanese PuyoPuyo game, with advanced
+features such as multiplayer games against human or AI, and network
+play. If you have played Tetris or one of its many clones, you will
+find KFouleggs easy to learn.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kfouleggs
+%defattr(-,root,root,-)
+%{tde_tdeappdir}/kfouleggs.desktop
+%{tde_datadir}/apps/kfouleggs/
+%{tde_datadir}/config.kcfg/kfouleggs.kcfg
+%{tde_bindir}/kfouleggs
+%{tde_datadir}/icons/hicolor/*/apps/kfouleggs.png
+%{tde_tdedocdir}/HTML/en/kfouleggs/
+
+%post -n trinity-kfouleggs
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kfouleggs
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kgoldrunner
+Summary: A Trinity clone of the Loderunner arcade game
+Group: Amusements/Games
+
+%description -n trinity-kgoldrunner
+KGoldrunner, a game of action and puzzle solving. Run through the
+maze, dodge your enemies, collect all the gold and climb up to the
+next level.
+
+You must guide the hero with the mouse or keyboard and collect all
+the gold nuggets, then you can climb up into the next level. Your
+enemies are also after the gold and they will kill you if they catch
+you!
+
+The problem is you have no weapon to kill them. All you can do is
+run away, dig holes in the floor to trap them or lure them into some
+area where they cannot hurt you. After a short time a trapped enemy
+climbs out of his hole, but if it closes before that, he will die and
+reappear somewhere else.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kgoldrunner
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kgoldrunner/
+%{tde_datadir}/icons/hicolor/*/apps/kgoldrunner.png
+%{tde_tdeappdir}/KGoldrunner.desktop
+%{tde_bindir}/kgoldrunner
+%{tde_tdedocdir}/HTML/en/kgoldrunner/
+
+%post -n trinity-kgoldrunner
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kgoldrunner
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kjumpingcube
+Summary: Tactical one or two player game
+Group: Amusements/Games
+
+%description -n trinity-kjumpingcube
+KJumpingCube is a simple tactical game. You can play it against the
+computer or against a friend. The playing field consists of squares
+that contains points. By clicking on the squares you can increase
+the points and if the points reach a maximum the points will jump to
+the squares neighbours and take them over. Winner is the one, who
+owns all squares.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kjumpingcube
+%defattr(-,root,root,-)
+%{tde_bindir}/kjumpingcube
+%{tde_datadir}/icons/hicolor/*/apps/kjumpingcube.png
+%{tde_datadir}/apps/kjumpingcube/
+%{tde_tdeappdir}/kjumpingcube.desktop
+%{tde_datadir}/config.kcfg/kjumpingcube.kcfg
+%{tde_tdedocdir}/HTML/en/kjumpingcube/
+
+%post -n trinity-kjumpingcube
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kjumpingcube
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klickety
+Summary: A Clickomania-like game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-klickety
+Klickety is an adaptation of the (perhaps) well-known Clickomania
+game; it is very similar to the "same" game.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-klickety
+%defattr(-,root,root,-)
+%{tde_bindir}/klickety
+%{tde_tdeappdir}/klickety.desktop
+%{tde_datadir}/icons/hicolor/*/apps/klickety.png
+%{tde_datadir}/icons/crystalsvg/*/actions/endturn.png
+%{tde_datadir}/apps/klickety/klicketyui.rc
+%{tde_datadir}/apps/klickety/eventsrc
+%{tde_tdedocdir}/HTML/en/klickety/
+
+%post -n trinity-klickety
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klickety
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klines
+Summary: Color lines for Trinity
+Group: Amusements/Games
+
+%description -n trinity-klines
+KLines is a simple game. It is played by one player, so there is only
+one winner :-). You play for fun and against the high score. It was
+inspired by a well known game - "Color lines", written for DOS by
+Olga Demina, Igor Demina, Igor Ivkin and Gennady Denisov back in
+1992.
+
+The main rules of the game are as simple as possible: you move (using
+the mouse) marbles from cell to cell and build lines (horizontal,
+vertical or diagonal). When a line contains 5 or more marbles, they
+are removed and your score grows. After each turn the computer drops
+three more marbles.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-klines
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/klines/
+%{tde_tdeappdir}/klines.desktop
+%{tde_bindir}/klines
+%{tde_datadir}/config.kcfg/klines.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/klines.png
+%{tde_tdedocdir}/HTML/en/klines/
+
+%post -n trinity-klines
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klines
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmahjongg
+Summary: the classic mahjongg game for Trinity project
+Group: Amusements/Games
+
+%description -n trinity-kmahjongg
+Your mission in this game is to remove all tiles from the game board. A
+matching pair of tiles can be removed, if they are 'free', which means that
+no other tiles block them on the left or right side.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kmahjongg
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kmahjongg/
+%{tde_datadir}/icons/hicolor/*/apps/kmahjongg.png
+%{tde_tdeappdir}/kmahjongg.desktop
+%{tde_bindir}/kmahjongg
+%{tde_datadir}/config.kcfg/kmahjongg.kcfg
+%{tde_tdedocdir}/HTML/en/kmahjongg/
+
+%post -n trinity-kmahjongg
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kmahjongg
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmines
+Summary: Minesweeper for Trinity
+Group: Amusements/Games
+
+%description -n trinity-kmines
+KMines is the classic Minesweeper game. You must uncover all the
+empty cases without blowing on a mine.
+
+When you uncover a case, a number appears : it indicates how many
+mines surround this case. If there is no number the neighbour cases
+are automatically uncovered. In your process of uncovering secure
+cases, it is very useful to put a flag on the cases which contain a
+mine.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kmines
+%defattr(-,root,root,-)
+%{tde_datadir}/icons/hicolor/*/apps/kmines.png
+%{tde_tdeappdir}/kmines.desktop
+%{tde_datadir}/apps/kmines/
+%{tde_bindir}/kmines
+%{tde_tdedocdir}/HTML/en/kmines/
+
+%post -n trinity-kmines
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kmines
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-knetwalk
+Summary: A game for system administrators
+Group: Amusements/Games
+
+%description -n trinity-knetwalk
+This game presents the player with a rectangular field consisting of
+a server, several clients, and pieces of wire. The object is to
+rotate these elements until every client is connected to the server,
+and no wires are left unconnected.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-knetwalk
+%defattr(-,root,root,-)
+%{tde_bindir}/knetwalk
+%{tde_datadir}/apps/knetwalk
+%{tde_datadir}/icons/hicolor/*/apps/knetwalk.png
+%{tde_tdeappdir}/knetwalk.desktop
+
+%post -n trinity-knetwalk
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-knetwalk
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kolf
+Summary: Minigolf game for TDE
+Group: Amusements/Games
+
+%description -n trinity-kolf
+This is a minigolf game for TDE that allows you to go through different
+golf courses and waste an exorbitant amount of time.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kolf
+%defattr(-,root,root,-)
+%{tde_datadir}/config/magic/kolf.magic
+%{tde_datadir}/apps/kolf/
+%{tde_bindir}/kolf
+%{tde_tdeappdir}/kolf.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kolf.png
+%{tde_datadir}/mimelnk/application/x-kolf.desktop
+%{tde_datadir}/mimelnk/application/x-kourse.desktop
+%{tde_libdir}/lib[kt]deinit_kolf.so
+%{tde_libdir}/lib[kt]deinit_kolf.la
+%{tde_tdelibdir}/kolf.la
+%{tde_tdelibdir}/kolf.so
+%{tde_libdir}/libkolf.so.1
+%{tde_libdir}/libkolf.so.1.2.0
+%{tde_tdedocdir}/HTML/en/kolf/
+
+%post -n trinity-kolf
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kolf
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kolf-devel
+Summary: Development files for Kolf
+Group: Development/Libraries
+Requires: trinity-kolf = %{version}-%{release}
+
+%description -n trinity-kolf-devel
+This package contains headers and development libraries for compiling
+Kolf plugins.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kolf-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kolf
+%{tde_libdir}/libkolf.la
+%{tde_libdir}/libkolf.so
+
+%post -n trinity-kolf-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kolf-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-konquest
+Summary: TDE based GNU-Lactic Konquest game
+Group: Amusements/Games
+
+%description -n trinity-konquest
+This the TDE version of Gnu-Lactic Konquest, a multi-player strategy
+game. The goal of the game is to expand your interstellar empire
+across the galaxy and, of course, crush your rivals in the process.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-konquest
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/konquest/
+%{tde_datadir}/icons/hicolor/*/apps/konquest.png
+%{tde_tdeappdir}/konquest.desktop
+%{tde_bindir}/konquest
+%{tde_tdedocdir}/HTML/en/konquest/
+
+%post -n trinity-konquest
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-konquest
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kpat
+Summary: Trinity solitaire patience game
+Group: Amusements/Games
+
+%description -n trinity-kpat
+KPatience is a collection of 14 card games. All the games are single
+player games.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kpat
+%defattr(-,root,root,-)
+%{tde_datadir}/icons/hicolor/*/apps/kpat.png
+%{tde_datadir}/apps/kpat/
+%{tde_tdeappdir}/kpat.desktop
+%{tde_bindir}/kpat
+%{tde_tdedocdir}/HTML/en/kpat/
+
+%post -n trinity-kpat
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kpat
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kpoker
+Summary: Trinity based Poker clone
+Group: Amusements/Games
+
+%description -n trinity-kpoker
+KPoker is a TDE compliant clone of those highly addictive pocket
+video poker games which are sometimes called "Videopoker" as well.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kpoker
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kpoker/
+%{tde_datadir}/icons/hicolor/*/apps/kpoker.png
+%{tde_tdeappdir}/kpoker.desktop
+%{tde_bindir}/kpoker
+%{tde_tdedocdir}/HTML/en/kpoker/
+
+%post -n trinity-kpoker
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kpoker
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kreversi
+Summary: Reversi for Trinity
+Group: Amusements/Games
+
+%description -n trinity-kreversi
+Reversi is a simple strategy game that is played by two
+players. There is only one type of piece - one side of it is black,
+the other white. If a player captures a piece on the board, that
+piece is turned and belongs to that player. The winner is the person
+that has more pieces of his own color on the board and if there are
+no more moves possible.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kreversi
+%defattr(-,root,root,-)
+%{tde_bindir}/kreversi
+%{tde_tdeappdir}/kreversi.desktop
+%{tde_datadir}/apps/kreversi/
+%{tde_datadir}/config.kcfg/kreversi.kcfg
+%{tde_datadir}/icons/crystalsvg/*/actions/lastmoves.png
+%{tde_datadir}/icons/crystalsvg/*/actions/legalmoves.png
+%{tde_datadir}/icons/crystalsvg/scalable/actions/lastmoves.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/legalmoves.svgz
+%{tde_datadir}/icons/hicolor/*/apps/kreversi.png
+%{tde_tdedocdir}/HTML/en/kreversi/
+
+%post -n trinity-kreversi
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kreversi
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksame
+Summary: SameGame for Trinity
+Group: Amusements/Games
+
+%description -n trinity-ksame
+KSame is a simple game. It's played by one player, so there is only
+one winner :-) You play for fun and against the high score. It has
+been inspired by SameGame, that is only famous on the Macintosh
+platform.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ksame
+%defattr(-,root,root,-)
+%{tde_bindir}/ksame
+%{tde_datadir}/icons/hicolor/*/apps/ksame.png
+%{tde_datadir}/apps/ksame/*
+%{tde_tdeappdir}/ksame.desktop
+%{tde_tdedocdir}/HTML/en/ksame/
+
+%post -n trinity-ksame
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksame
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kshisen
+Summary: Shisen-Sho for Trinity
+Group: Amusements/Games
+
+%description -n trinity-kshisen
+KShisen-Sho is a single-player-game similar to Mahjongg and uses the
+same set of tiles as Mahjongg.
+
+The object of the game is to remove all tiles from the field.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kshisen
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kshisen/
+%{tde_datadir}/config.kcfg/kshisen.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kshisen.png
+%{tde_tdeappdir}/kshisen.desktop
+%{tde_bindir}/kshisen
+%{tde_tdedocdir}/HTML/en/kshisen/
+
+%post -n trinity-kshisen
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kshisen
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksirtet
+Summary: Tetris and Puyo-Puyo games for Trinity
+Group: Amusements/Games
+
+%description -n trinity-ksirtet
+This program is a clone of the well known game Tetris. You must fit
+the falling pieces to form full lines. You can rotate and translate
+the falling piece. The game ends when no more piece can fall ie when
+your incomplete lines reach the top of the board.
+
+Every time you have destroyed 10 lines, you gain a level and the
+pieces fall quicker (exactly the piece falls from a line each
+1/(1+level) second).
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ksirtet
+%defattr(-,root,root,-)
+%{tde_tdeappdir}/ksirtet.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ksirtet.png
+%{tde_datadir}/apps/ksirtet/
+%{tde_bindir}/ksirtet
+%{tde_datadir}/config.kcfg/ksirtet.kcfg
+%{tde_tdedocdir}/HTML/en/ksirtet/
+
+%post -n trinity-ksirtet
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksirtet
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksmiletris
+Summary: Tetris like game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-ksmiletris
+This is a game with falling blocks composed of different types of
+smilies. The object of the game is to "crack a smile" by guiding
+blocks so there are two or more of the same symbol vertically.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ksmiletris
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/ksmiletris/
+%{tde_datadir}/icons/hicolor/*/apps/ksmiletris.png
+%{tde_tdeappdir}/ksmiletris.desktop
+%{tde_bindir}/ksmiletris
+%{tde_tdedocdir}/HTML/en/ksmiletris/
+
+%post -n trinity-ksmiletris
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksmiletris
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksnake
+Summary: Snake Race for Trinity
+Group: Amusements/Games
+
+%description -n trinity-ksnake
+Snake Race is a game of speed and agility. You are a hungry snake and
+are trying to eat all the apples in the room before getting out!
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ksnake
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/ksnake/
+%{tde_datadir}/config.kcfg/ksnake.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/ksnake.png
+%{tde_tdeappdir}/ksnake.desktop
+%{tde_bindir}/ksnake
+%{tde_tdedocdir}/HTML/en/ksnake/
+
+%post -n trinity-ksnake
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksnake
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksokoban
+Summary: Sokoban game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-ksokoban
+The first sokoban game was created in 1982 by Hiroyuki Imabayashi at
+the Japanese company Thinking Rabbit, Inc. "Sokoban" is japanese for
+"warehouse keeper". The idea is that you are a warehouse keeper
+trying to push crates to their proper locations in a warehouse.
+
+The problem is that you cannot pull the crates or step over them. If
+you are not careful, some of the crates can get stuck in wrong places
+and/or block your way.
+
+It can be rather difficult just to solve a level. But if you want to
+make it even harder, you can try to minimise the number of moves
+and/or pushes you use to solve the level.
+
+To make the game more fun for small kids (below 10 years or so), some
+collections with easier levels are also included in KSokoban. These
+are marked (easy) in the level collection menu. Of course, these
+levels can be fun for adults too, for example if you don't want to
+expose yourself to too much mental strain.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ksokoban
+%defattr(-,root,root,-)
+%{tde_tdeappdir}/ksokoban.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ksokoban.png
+%{tde_bindir}/ksokoban
+%{tde_tdedocdir}/HTML/en/ksokoban/
+
+%post -n trinity-ksokoban
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksokoban
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kspaceduel
+Summary: Arcade two-player space game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-kspaceduel
+KSpaceduel is an space arcade game for two players.
+
+Each player controls a ship that flies around the sun and tries to
+shoot at the other ship. You can play KSpaceduel with another person,
+against the computer, or you can have the computer control both ships
+and play each other.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kspaceduel
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kspaceduel/
+%{tde_datadir}/icons/hicolor/*/apps/kspaceduel.png
+%{tde_tdeappdir}/kspaceduel.desktop
+%{tde_bindir}/kspaceduel
+%{tde_datadir}/config.kcfg/kspaceduel.kcfg
+%{tde_tdedocdir}/HTML/en/kspaceduel/
+
+%post -n trinity-kspaceduel
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kspaceduel
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ktron
+Summary: Tron clone for the K Desktop Environment
+Group: Amusements/Games
+
+%description -n trinity-ktron
+The object of the game is to avoid running into walls, your own tail,
+and that of your opponent.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ktron
+%defattr(-,root,root,-)
+%{tde_bindir}/ktron
+%{tde_datadir}/icons/hicolor/*/apps/ktron.png
+%{tde_tdeappdir}/ktron.desktop
+%{tde_datadir}/apps/ktron/
+%{tde_datadir}/config.kcfg/ktron.kcfg
+%{tde_tdedocdir}/HTML/en/ktron/
+
+%post -n trinity-ktron
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ktron
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ktuberling
+Summary: Potato Guy for Trinity
+Group: Amusements/Games
+
+%description -n trinity-ktuberling
+KTuberling is a game intended for small children. Of course, it may
+be suitable for adults who have remained young at heart.
+
+It is a potato editor. That means that you can drag and drop eyes,
+mouths, moustache, and other parts of face and goodies onto a
+potato-like guy. Similarly, you have a penguin on which you can drop
+other stuff.
+
+There is no winner for the game. The only purpose is to make the
+funniest faces you can.
+
+There is a museum (like a "Madame Tusseau" gallery) where you can
+find many funny examples of decorated potatoes. Of course, you can
+send your own creations to the programmer, Eric Bischoff, who will
+include them in the museum if he gets some spare time.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ktuberling
+%defattr(-,root,root,-)
+%{tde_bindir}/ktuberling
+%{tde_datadir}/icons/hicolor/*/apps/ktuberling.png
+%{tde_tdeappdir}/ktuberling.desktop
+%{tde_datadir}/apps/ktuberling/
+%{tde_datadir}/mimelnk/application/x-tuberling.desktop
+%{tde_tdedocdir}/HTML/en/ktuberling/
+
+%post -n trinity-ktuberling
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ktuberling
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-twin4
+Summary: Connect Four clone for Trinity
+Group: Amusements/Games
+
+%description -n trinity-twin4
+Four wins is a game for two players. Each player is represented by a
+colour (yellow and red). The goal of the game is to get four
+connected pieces of your colour into a row, column or any
+diagonal. This is done by placing one of your pieces into any of the
+seven columns. A piece will begin to fill a column from the bottom,
+i.e. it will fall down until it reaches the ground level or another
+stone. After a move is done it is the turn of the other player. This
+is repeated until the game is over, i.e. one of the players has four
+pieces in a row, column or diagonal or no more moves are possible
+because the board is filled.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-twin4
+%defattr(-,root,root,-)
+%{tde_bindir}/[kt]win4
+%{tde_bindir}/[kt]win4proc
+%{tde_datadir}/apps/[kt]win4/
+%{tde_datadir}/config.kcfg/[kt]win4.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/[kt]win4.png
+%{tde_tdeappdir}/[kt]win4.desktop
+%{tde_tdedocdir}/HTML/en/[kt]win4/
+
+%post -n trinity-twin4
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-twin4
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-lskat
+Summary: Lieutnant Skat card game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-lskat
+Lieutnant Skat (from German Offiziersskat) is a card game for two
+players. It is roughly played according to the rules of Skat but with
+only two players and simplified rules.
+
+Every player has a set of cards in front of him/her, half of them
+covered and half of them open. Both players try to win more than 60
+of the 120 possible points. After 16 moves all cards are played and
+the game ends.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-lskat
+%defattr(-,root,root,-)
+%{tde_bindir}/lskat
+%{tde_bindir}/lskatproc
+%{tde_datadir}/apps/lskat/
+%{tde_datadir}/icons/hicolor/*/apps/lskat.png
+%{tde_tdeappdir}/lskat.desktop
+%{tde_tdedocdir}/HTML/en/lskat/
+
+%post -n trinity-lskat
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-lskat
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%__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 QTINC QTLIB
+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} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --enable-new-ldflags \
+ --disable-dependency-tracking \
+ --disable-rpath \
+ --enable-final \
+ --disable-debug \
+ --disable-warnings \
+ --enable-closure \
+ --disable-setgid
+
+# WTF hack for RHEL4
+%if 0%{?rhel} == 4
+mkdir atlantik/libatlantic/.libs
+ln -s . atlantik/libatlantic/.libs/.libs
+%endif
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# locale's
+HTML_DIR=$(tde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdegraphics/tdegraphics-14.0.0.spec b/redhat/tdegraphics/tdegraphics-14.0.0.spec
new file mode 100644
index 000000000..fb8164468
--- /dev/null
+++ b/redhat/tdegraphics/tdegraphics-14.0.0.spec
@@ -0,0 +1,1322 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-tdegraphics
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPL
+Summary: Trinity Desktop Environment - Graphics Applications
+
+Group: Applications/Multimedia
+Prefix: %{tde_prefix}
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+# TDE
+## RHEL / Fedora specific patches
+# [kdegraphics/kpdf/xpdf] Disable 'mkstemps' support for RHEL5
+Patch3: kdegraphics-3.5.13-xpdf_disable_mkstemps.patch
+
+# [tdegraphics] Fix build on RHEL4
+Patch201: kdegraphics-3.5.13.1-fix_rhel4_libraries.patch
+
+BuildRequires: cmake >= 2.8
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tdebase-devel >= %{version}
+BuildRequires: gettext
+BuildRequires: libmng-devel
+%if 0%{?mdkversion} && 0%{?pclinuxos} == 0
+BuildRequires: %{_lib}png15-devel
+%else
+BuildRequires: libpng-devel
+%endif
+BuildRequires: libtiff-devel
+BuildRequires: automake libtool
+BuildRequires: libusb-devel
+BuildRequires: pcre-devel
+
+# GIF support
+%if 0%{?suse_version}
+BuildRequires: giflib-devel
+%else
+BuildRequires: libungif-devel
+%endif
+
+# GPHOTO2 support
+%if 0%{?suse_version}
+BuildRequires: libgphoto2-devel
+%else
+BuildRequires: gphoto2-devel
+%endif
+
+# PAPER support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_paper 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}paper-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: libpaper-devel
+%endif
+%endif
+
+# T1LIB support
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+%define with_t1lib 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}t1lib-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: t1lib-devel
+%endif
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}sane1-devel
+# kuickshow
+#BuildRequires: %{_lib}imlib-devel
+# kpovmodeler
+BuildRequires: %{_lib}xi-devel
+# kgamma
+BuildRequires: %{_lib}xxf86vm-devel
+# ksvg
+BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel
+# kpovmodeler
+BuildRequires: %{_lib}mesagl1-devel
+BuildRequires: %{_lib}mesaglu1-devel
+%else
+BuildRequires: sane-backends-devel
+
+# kuickshow
+#BuildRequires: imlib-devel
+
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+%else
+BuildRequires: libdrm-devel
+
+# kpovmodeler
+%if 0%{?suse_version} == 1140
+BuildRequires: libXi6-devel
+%else
+BuildRequires: libXi-devel
+
+# kgamma
+BuildRequires: libXxf86vm-devel
+%endif
+
+# ksvg
+%if 0%{?suse_version} == 1140
+BuildRequires: xorg-x11-libXmu-devel
+%else
+BuildRequires: libXmu-devel
+%endif
+%endif
+
+# kpovmodeler
+%if 0%{?suse_version}
+%if 0%{?suse_version} >= 1220
+BuildRequires: Mesa-libGL-devel
+BuildRequires: Mesa-libGLU-devel
+%else
+BuildRequires: Mesa-devel
+%endif
+%else
+BuildRequires: libGL-devel
+BuildRequires: libGLU-devel
+%endif
+%endif
+
+#kfile-plugin
+BuildRequires: OpenEXR-devel
+
+# kpdf
+%if 0%{?suse_version} == 1140
+BuildRequires: freetype2-devel
+%else
+BuildRequires: freetype-devel
+%endif
+
+# poppler
+%if 0%{?rhel} >=6 || 0%{?fedora} >= 15 || 0%{?suse_version}
+BuildRequires: poppler-devel >= 0.12
+#BuildRequires: poppler-qt-devel >= 0.12
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}poppler-devel
+%endif
+%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
+# On RHEL 5, the distro-provided poppler is too old. We built a newer one.
+BuildRequires: trinity-poppler-devel
+BuildRequires: trinity-poppler-qt3-devel >= 0.12
+%endif
+
+# ksvg
+BuildRequires: fontconfig-devel
+%if 0%{?suse_version}
+BuildRequires: liblcms-devel
+%else
+BuildRequires: lcms-devel
+%endif
+BuildRequires: libart_lgpl-devel
+
+# kuickshow
+BuildRequires: fribidi-devel
+
+# kamera
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+%define build_kamera 1
+%endif
+
+Obsoletes: trinity-kdegraphics < %{version}-%{release}
+Provides: trinity-kdegraphics = %{version}-%{release}
+Obsoletes: trinity-kdegraphics-libs < %{version}-%{release}
+Provides: trinity-kdegraphics-libs = %{version}-%{release}
+Obsoletes: trinity-kdegraphics-extras < %{version}-%{release}
+Provides: trinity-kdegraphics-extras = %{version}-%{release}
+
+
+%{?build_kamera:Requires: trinity-kamera = %{version}-%{release}}
+Requires: trinity-kcoloredit = %{version}-%{release}
+Requires: %{name}-kfile-plugins = %{version}-%{release}
+Requires: trinity-kdvi = %{version}-%{release}
+Requires: trinity-kfax = %{version}-%{release}
+Requires: trinity-kfaxview = %{version}-%{release}
+Requires: trinity-kgamma = %{version}-%{release}
+Requires: trinity-kghostview = %{version}-%{release}
+Requires: trinity-kiconedit = %{version}-%{release}
+Requires: trinity-kmrml = %{version}-%{release}
+Requires: trinity-kolourpaint = %{version}-%{release}
+Requires: trinity-kooka = %{version}-%{release}
+Requires: trinity-kpdf = %{version}-%{release}
+Requires: trinity-kpovmodeler = %{version}-%{release}
+Requires: trinity-kruler = %{version}-%{release}
+Requires: trinity-ksnapshot = %{version}-%{release}
+Requires: trinity-ksvg = %{version}-%{release}
+Requires: trinity-kview = %{version}-%{release}
+Requires: trinity-kviewshell = %{version}-%{release}
+Requires: trinity-libkscan = %{version}-%{release}
+Requires: %{name}-libpoppler-tqt = %{version}-%{release}
+
+%description
+Graphics applications for the Trinity Desktop Environment, including
+%if 0%{?build_kamera}
+* kamera (digital camera support)
+%endif
+* kcoloredit (palette editor and color chooser)
+* kdvi (displays TeX .dvi files)
+* kfax
+* kfaxview
+* kghostview (displays postscript files)
+* kiconedit (icon editor)
+* kooka (scanner application)
+* kpdf (displays PDF files)
+* kpovmodler
+* kruler (screen ruler and color measurement tool)
+* ksnapshot (screen capture utility)
+* kview (image viewer for GIF, JPEG, TIFF, etc.)
+
+%files
+
+##########
+
+%if 0%{?build_kamera}
+
+%package -n trinity-kamera
+Summary: Digital camera io_slave for Konqueror
+Group: Applications/Graphics
+
+%description -n trinity-kamera
+This is a digital camera io_slave for TDE which uses gphoto2 and libgpio
+to allow access to your camera's pictures with the URL camera:/
+
+%post -n trinity-kamera
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kamera
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%files -n trinity-kamera
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcm_kamera.la
+%{tde_tdelibdir}/kcm_kamera.so
+%{tde_tdelibdir}/tdeio_kamera.la
+%{tde_tdelibdir}/tdeio_kamera.so
+%{tde_tdeappdir}/kamera.desktop
+%{tde_datadir}/icons/crystalsvg/*/actions/camera_test.png
+%{tde_datadir}/icons/crystalsvg/*/apps/camera.png
+%{tde_datadir}/icons/crystalsvg/*/devices/camera.png
+%{tde_datadir}/icons/crystalsvg/*/places/camera.png
+%{tde_datadir}/services/camera.protocol
+%{tde_tdedocdir}/HTML/en/kamera/
+
+%endif
+
+##########
+
+%package -n trinity-kcoloredit
+Summary: A color palette editor and color picker for TDE
+Group: Applications/Graphics
+
+%description -n trinity-kcoloredit
+This package contains two programs, a color palette editor and also a color
+picker.
+
+%files -n trinity-kcoloredit
+%defattr(-,root,root,-)
+%{tde_bindir}/kcolorchooser
+%{tde_bindir}/kcoloredit
+%{tde_tdeappdir}/kcolorchooser.desktop
+%{tde_tdeappdir}/kcoloredit.desktop
+%{tde_datadir}/apps/kcoloredit/kcoloreditui.rc
+%{tde_datadir}/icons/hicolor/*/apps/kcolorchooser.png
+%{tde_datadir}/icons/hicolor/*/apps/kcoloredit.png
+%{tde_tdedocdir}/HTML/en/kcoloredit/
+
+%post -n trinity-kcoloredit
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kcoloredit
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package kfile-plugins
+Summary: TDE metainfo plugins for graphic files
+Group: Environment/Libraries
+
+%description kfile-plugins
+This packages provides meta information for graphic files (file sizes,
+tags, etc. all from within the file manager).
+
+%files kfile-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/gsthumbnail.la
+%{tde_tdelibdir}/gsthumbnail.so
+%{tde_tdelibdir}/tdefile_bmp.la
+%{tde_tdelibdir}/tdefile_bmp.so
+%{tde_tdelibdir}/tdefile_dds.la
+%{tde_tdelibdir}/tdefile_dds.so
+%{tde_tdelibdir}/tdefile_dvi.la
+%{tde_tdelibdir}/tdefile_dvi.so
+%{tde_tdelibdir}/tdefile_exr.la
+%{tde_tdelibdir}/tdefile_exr.so
+%{tde_tdelibdir}/tdefile_gif.la
+%{tde_tdelibdir}/tdefile_gif.so
+%{tde_tdelibdir}/tdefile_ico.la
+%{tde_tdelibdir}/tdefile_ico.so
+%{tde_tdelibdir}/tdefile_jpeg.la
+%{tde_tdelibdir}/tdefile_jpeg.so
+%{tde_tdelibdir}/tdefile_pcx.la
+%{tde_tdelibdir}/tdefile_pcx.so
+%{tde_tdelibdir}/tdefile_pdf.la
+%{tde_tdelibdir}/tdefile_pdf.so
+%{tde_tdelibdir}/tdefile_png.la
+%{tde_tdelibdir}/tdefile_png.so
+%{tde_tdelibdir}/tdefile_pnm.la
+%{tde_tdelibdir}/tdefile_pnm.so
+%{tde_tdelibdir}/tdefile_ps.la
+%{tde_tdelibdir}/tdefile_ps.so
+%{tde_tdelibdir}/tdefile_raw.la
+%{tde_tdelibdir}/tdefile_raw.so
+%{tde_tdelibdir}/tdefile_rgb.la
+%{tde_tdelibdir}/tdefile_rgb.so
+%{tde_tdelibdir}/tdefile_tga.la
+%{tde_tdelibdir}/tdefile_tga.so
+%{tde_tdelibdir}/tdefile_tiff.la
+%{tde_tdelibdir}/tdefile_tiff.so
+%{tde_tdelibdir}/tdefile_xbm.la
+%{tde_tdelibdir}/tdefile_xbm.so
+%{tde_tdelibdir}/tdefile_xpm.la
+%{tde_tdelibdir}/tdefile_xpm.so
+%{tde_datadir}/services/gsthumbnail.desktop
+%{tde_datadir}/services/tdefile_bmp.desktop
+%{tde_datadir}/services/tdefile_dds.desktop
+%{tde_datadir}/services/tdefile_dvi.desktop
+%{tde_datadir}/services/tdefile_exr.desktop
+%{tde_datadir}/services/tdefile_gif.desktop
+%{tde_datadir}/services/tdefile_ico.desktop
+%{tde_datadir}/services/tdefile_jpeg.desktop
+%{tde_datadir}/services/tdefile_pcx.desktop
+%{tde_datadir}/services/tdefile_pdf.desktop
+%{tde_datadir}/services/tdefile_png.desktop
+%{tde_datadir}/services/tdefile_pnm.desktop
+%{tde_datadir}/services/tdefile_ps.desktop
+%{tde_datadir}/services/tdefile_raw.desktop
+%{tde_datadir}/services/tdefile_rgb.desktop
+%{tde_datadir}/services/tdefile_tga.desktop
+%{tde_datadir}/services/tdefile_tiff.desktop
+%{tde_datadir}/services/tdefile_xbm.desktop
+%{tde_datadir}/services/tdefile_xpm.desktop
+
+##########
+
+%package -n trinity-kdvi
+Summary: Dvi viewer for TDE
+Group: Applications/Graphics
+
+%description -n trinity-kdvi
+This program and KPart allow the user to display *.DVI files from TeX.
+
+%files -n trinity-kdvi
+%defattr(-,root,root,-)
+%{tde_bindir}/kdvi
+%{tde_tdelibdir}/kdvipart.la
+%{tde_tdelibdir}/kdvipart.so
+%{tde_tdeappdir}/kdvi.desktop
+%{tde_datadir}/apps/kdvi/
+%{tde_datadir}/config.kcfg/kdvi.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kdvi.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kdvi.svgz
+%{tde_datadir}/services/kdvimultipage.desktop
+%{tde_tdedocdir}/HTML/en/kdvi/
+
+%post -n trinity-kdvi
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kdvi
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kfax
+Summary: G3/G4 fax viewer for Trinity
+Group: Applications/Graphics
+Requires: libtiff
+
+%description -n trinity-kfax
+A fax viewer for Trinity, supporting the display of raw and tiffed fax images
+(g3, g3-2d, g4).
+
+%files -n trinity-kfax
+%defattr(-,root,root,-)
+%doc rpmdocs/kfax/
+%{tde_bindir}/kfax
+%{tde_tdeappdir}/kfax.desktop
+%{tde_datadir}/apps/kfax/
+%{tde_datadir}/icons/hicolor/??x??/apps/kfax.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kfax.svgz
+
+%post -n trinity-kfax
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kfax
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kfaxview
+Summary: G3/G4 fax viewer for Trinity using kviewshell
+Group: Applications/Graphics
+
+%description -n trinity-kfaxview
+A fax viewer for Trinity, supporting the display of raw and tiffed fax images
+(g3, g3-2d, g4).
+
+This faxviewer uses kviewshell and is intended to replace the standalone
+kfax application once it reproduces all of kfax's features.
+
+%files -n trinity-kfaxview
+%defattr(-,root,root,-)
+%{tde_bindir}/kfaxview
+%{tde_libdir}/libkfaximage.so.*
+%{tde_tdelibdir}/kfaxviewpart.*
+%{tde_tdeappdir}/kfaxview.desktop
+%{tde_datadir}/apps/kfaxview/
+%{tde_datadir}/icons/hicolor/??x??/apps/kfaxview.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kfaxview.svgz
+%{tde_datadir}/services/kfaxmultipage.desktop
+%{tde_datadir}/services/kfaxmultipage_tiff.desktop
+
+%post -n trinity-kfaxview
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kfaxview
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kgamma
+Summary: Gamma correction module for the Trinity Control Center
+Group: Applications/Graphics
+
+%description -n trinity-kgamma
+KGamma is a Trinity Control Center module for gamma calibration/correction
+of XFree86. With proper gamma settings, your display (websites, images,
+etc.) will look the same on your monitor as on other monitors.
+
+Homepage: http://kgamma.berlios.de/index2.php
+
+%files -n trinity-kgamma
+%defattr(-,root,root,-)
+%{tde_bindir}/xf86gammacfg
+%{tde_tdelibdir}/kcm_kgamma.la
+%{tde_tdelibdir}/kcm_kgamma.so
+%{tde_tdeappdir}/kgamma.desktop
+%{tde_datadir}/apps/kgamma/
+%{tde_datadir}/icons/hicolor/*/apps/kgamma.png
+%{tde_tdedocdir}/HTML/en/kgamma/
+
+%post -n trinity-kgamma
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kgamma
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kghostview
+Summary: PostScript viewer for Trinity
+Group: Applications/Graphics
+Requires: ghostscript
+
+%description -n trinity-kghostview
+KGhostview is Trinity's PostScript viewer. It is a port of Tim Theisen's
+Ghostview program which is used to view documents prepared in Adobe's
+PostScript page description language. PostScript is the major page
+description language for printing on UNIX systems, and this application is
+useful to preview material intended for printing, or for reading documents
+online.
+
+%files -n trinity-kghostview
+%defattr(-,root,root,-)
+%{tde_bindir}/kghostview
+%{tde_tdelibdir}/libkghostviewpart.la
+%{tde_tdelibdir}/libkghostviewpart.so
+%{tde_libdir}/libkghostviewlib.so.*
+%{tde_tdeappdir}/kghostview.desktop
+%{tde_datadir}/apps/tdeconf_update/kghostview.upd
+%{tde_datadir}/apps/tdeconf_update/update-to-xt-names.pl
+%{tde_datadir}/apps/kghostview/
+%{tde_datadir}/config.kcfg/kghostview.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kghostview.png
+%{tde_datadir}/services/kghostview_part.desktop
+%{tde_tdedocdir}/HTML/en/kghostview/
+
+%post -n trinity-kghostview
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kghostview
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kiconedit
+Summary: An icon editor for Trinity
+Group: Applications/Graphics
+
+%description -n trinity-kiconedit
+KIconedit allows you easily to create and edit icons.
+
+%files -n trinity-kiconedit
+%defattr(-,root,root,-)
+%{tde_bindir}/kiconedit
+%{tde_tdeappdir}/kiconedit.desktop
+%{tde_datadir}/apps/kiconedit/
+%{tde_datadir}/icons/hicolor/*/apps/kiconedit.png
+%{tde_tdedocdir}/HTML/en/kiconedit/
+
+%post -n trinity-kiconedit
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kiconedit
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmrml
+Summary: A Konqueror plugin for searching pictures
+Group: Applications/Graphics
+
+%description -n trinity-kmrml
+MRML is short for Multimedia Retrieval Markup Language, which defines a
+protocol for querying a server for images based on their content. See
+http://www.mrml.net about MRML and the GNU Image Finding Tool (GIFT), an
+MRML server.
+
+%files -n trinity-kmrml
+%defattr(-,root,root,-)
+%{tde_bindir}/mrmlsearch
+%{tde_tdelibdir}/kcm_kmrml.la
+%{tde_tdelibdir}/kcm_kmrml.so
+%{tde_tdelibdir}/kded_daemonwatcher.la
+%{tde_tdelibdir}/kded_daemonwatcher.so
+%{tde_tdelibdir}/tdeio_mrml.la
+%{tde_tdelibdir}/tdeio_mrml.so
+%{tde_tdelibdir}/libkmrmlpart.la
+%{tde_tdelibdir}/libkmrmlpart.so
+%{tde_tdelibdir}/mrmlsearch.la
+%{tde_tdelibdir}/mrmlsearch.so
+%{tde_libdir}/lib[kt]deinit_mrmlsearch.so
+%{tde_tdeappdir}/kcmkmrml.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/mrml-servicemenu.desktop
+%{tde_datadir}/mimelnk/text/mrml.desktop
+%{tde_datadir}/services/kded/daemonwatcher.desktop
+%{tde_datadir}/services/mrml.protocol
+%{tde_datadir}/services/mrml_part.desktop
+
+%post -n trinity-kmrml
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kmrml
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kolourpaint
+Summary: A simple paint program for Trinity
+Group: Applications/Graphics
+
+%description -n trinity-kolourpaint
+KolourPaint is a very simple paint program for Trinity. It aims to be
+conceptually simple to understand; providing a level of functionality
+targeted towards the average user. It's designed for daily tasks like:
+
+* Painting - drawing diagrams and "finger painting"
+* Image Manipulation - editing screenshots and photos; applying effects
+* Icon Editing - drawing clipart and logos with transparency
+
+It's not an unusable and monolithic program where simple tasks like
+drawing lines become near impossible. Nor is it so simple that it lacks
+essential features like Undo/Redo.
+
+Homepage: http://kolourpaint.sourceforge.net
+
+%files -n trinity-kolourpaint
+%defattr(-,root,root,-)
+%{tde_bindir}/kolourpaint
+%{tde_tdeappdir}/kolourpaint.desktop
+%{tde_datadir}/apps/kolourpaint/
+%{tde_datadir}/icons/hicolor/*/apps/kolourpaint.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kolourpaint.svgz
+%{tde_tdedocdir}/HTML/en/kolourpaint/
+
+%post -n trinity-kolourpaint
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kolourpaint
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kooka
+Summary: Scanner program for Trinity
+Group: Applications/Graphics
+
+%description -n trinity-kooka
+Kooka is an open source GNU/Linux scan program based on SANE and
+KScan library.
+
+Kooka helps you to handle the most important scan parameters, find the
+correct image file format to save and manage your scanned images. It
+offers support for different OCR modules. Libkscan, a autonomous part
+of Kooka, provides a scan service for easy and consistent use to all
+KDE applications.
+
+Install ocrad or gocr if you wish to enable optical character recognition
+in kooka.
+
+Homepage: http://kooka.kde.org/
+
+%files -n trinity-kooka
+%defattr(-,root,root,-)
+%{tde_datadir}/config/kookarc
+%{tde_bindir}/kooka
+%{tde_tdeappdir}/kooka.desktop
+%{tde_datadir}/apps/kooka/
+%{tde_tdedocdir}/HTML/en/kooka/
+
+%post -n trinity-kooka
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kooka
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kpdf
+Summary: PDF viewer for Trinity
+Group: Applications/Graphics
+#Recommends: kghostview-trinity (= ${binary:Version})
+
+%description -n trinity-kpdf
+KPDF allows you to view PDF (Portable Document Format) files. This package
+includes kpdfpart so you can embed in konqueror or run as a standalone
+application.
+
+%files -n trinity-kpdf
+%defattr(-,root,root,-)
+%{tde_bindir}/kpdf
+%{tde_tdelibdir}/libkpdfpart.la
+%{tde_tdelibdir}/libkpdfpart.so
+%{tde_tdeappdir}/kpdf.desktop
+%{tde_datadir}/apps/kpdf/shell.rc
+%{tde_datadir}/apps/kpdfpart/part.rc
+%{tde_datadir}/config.kcfg/kpdf.kcfg
+%{tde_tdedocdir}/HTML/en/kpdf/
+%{tde_datadir}/icons/hicolor/*/apps/kpdf.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kpdf.svgz
+%{tde_datadir}/services/kpdf_part.desktop
+
+%post -n trinity-kpdf
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kpdf
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kpovmodeler
+Summary: A graphical editor for povray scenes
+Group: Applications/Graphics
+#Requires: povray
+
+%description -n trinity-kpovmodeler
+KPovmodeler is KDE's graphical editor for povray scenes. KPovModeler is a
+modeling and composition program for creating POV-Ray scenes in KDE.
+
+For most modelers, POV-Ray is nothing but a rendering engine. This greatly
+limits the innate possibilities of the POV-Ray scripted language. This
+is not the case for KPovModeler, which allows you to use all the features
+of POV-Ray through the translation of POV-Ray language into a graphical
+tree.
+
+kpovmodeler uses the povray package, currently available only in Debian's
+non-free, unsupported repository.
+
+Homepage: http://www.kpovmodeler.org
+
+%files -n trinity-kpovmodeler
+%defattr(-,root,root,-)
+%doc rpmdocs/kpovmodeler/
+%{tde_bindir}/kpovmodeler
+%{tde_libdir}/libkpovmodeler.so.*
+%{tde_tdelibdir}/libkpovmodelerpart.*
+%{tde_tdeappdir}/kpovmodeler.desktop
+%{tde_datadir}/apps/kpovmodeler/
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.*
+%{tde_datadir}/icons/hicolor/*/apps/kpovmodeler.*
+%doc %{tde_tdedocdir}/HTML/en/kpovmodeler/
+
+%post -n trinity-kpovmodeler
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kpovmodeler
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kruler
+Summary: A screen ruler and color measurement tool for Trinity
+Group: Applications/Graphics
+
+%description -n trinity-kruler
+Kruler is a screen ruler (using pixels) and color measurement tool for KDE.
+
+%files -n trinity-kruler
+%defattr(-,root,root,-)
+%{tde_bindir}/kruler
+%{tde_tdeappdir}/kruler.desktop
+%{tde_datadir}/applnk/Graphics/kruler.desktop
+%{tde_datadir}/apps/kruler/
+%{tde_datadir}/icons/hicolor/*/apps/kruler.png
+%{tde_tdedocdir}/HTML/en/kruler/
+
+%post -n trinity-kruler
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kruler
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksnapshot
+Summary: Screenshot utility for Trinity
+Group: Applications/Graphics
+
+%description -n trinity-ksnapshot
+KSnapshot is a simple applet for taking screenshots. It is capable of
+capturing images of either the whole desktop or just a single window.
+The images can then be saved in a variety of formats.
+
+%files -n trinity-ksnapshot
+%defattr(-,root,root,-)
+%{tde_bindir}/ksnapshot
+%{tde_tdeappdir}/ksnapshot.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ksnapshot.png
+%{tde_datadir}/icons/hicolor/scalable/apps/ksnapshot.svgz
+%{tde_tdedocdir}/HTML/en/ksnapshot/
+
+%post -n trinity-ksnapshot
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksnapshot
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksvg
+Summary: SVG viewer for Trinity
+Group: Applications/Graphics
+
+%description -n trinity-ksvg
+KSVG allows you view SVG (scalable vector graphics) files. This package
+includes kpart so you can embed it in konqueror and a standalone
+application.
+
+%files -n trinity-ksvg
+%defattr(-,root,root,-)
+%{tde_bindir}/printnodetest
+%{tde_bindir}/svgdisplay
+%{tde_tdelibdir}/libksvgplugin.la
+%{tde_tdelibdir}/libksvgplugin.so
+%{tde_tdelibdir}/libksvgrendererlibart.la
+%{tde_tdelibdir}/libksvgrendererlibart.so
+%{tde_tdelibdir}/svgthumbnail.la
+%{tde_tdelibdir}/svgthumbnail.so
+%{tde_libdir}/libksvg.so.0
+%{tde_libdir}/libksvg.so.0.0.1
+%{tde_libdir}/libtext2path.so.0
+%{tde_libdir}/libtext2path.so.0.0.0
+%{tde_datadir}/apps/ksvg/ksvgplugin.rc
+%{tde_datadir}/services/ksvglibartcanvas.desktop
+%{tde_datadir}/services/ksvgplugin.desktop
+%{tde_datadir}/services/svgthumbnail.desktop
+%{tde_datadir}/servicetypes/ksvgrenderer.desktop
+
+%post -n trinity-ksvg
+/sbin/ldconfig || :
+
+%postun -n trinity-ksvg
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kview
+Summary: Simple image viewer/converter for Trinity
+Group: Applications/Graphics
+
+%description -n trinity-kview
+KView is a simple image viewer and converter application. It supports
+a number of plugins, which add an array of basic editing capabilities
+as well.
+
+%files -n trinity-kview
+%defattr(-,root,root,-)
+%{tde_bindir}/kview
+%{tde_tdelibdir}/kcm_kviewcanvasconfig.la
+%{tde_tdelibdir}/kcm_kviewcanvasconfig.so
+%{tde_tdelibdir}/kcm_kviewgeneralconfig.la
+%{tde_tdelibdir}/kcm_kviewgeneralconfig.so
+%{tde_tdelibdir}/kcm_kviewpluginsconfig.la
+%{tde_tdelibdir}/kcm_kviewpluginsconfig.so
+%{tde_tdelibdir}/kcm_kviewpresenterconfig.la
+%{tde_tdelibdir}/kcm_kviewpresenterconfig.so
+%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.la
+%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.so
+%{tde_tdelibdir}/kview.la
+%{tde_tdelibdir}/kview.so
+%{tde_tdelibdir}/kview_browserplugin.la
+%{tde_tdelibdir}/kview_browserplugin.so
+%{tde_tdelibdir}/kview_effectsplugin.la
+%{tde_tdelibdir}/kview_effectsplugin.so
+%{tde_tdelibdir}/kview_presenterplugin.la
+%{tde_tdelibdir}/kview_presenterplugin.so
+%{tde_tdelibdir}/kview_scannerplugin.la
+%{tde_tdelibdir}/kview_scannerplugin.so
+%{tde_tdelibdir}/libkviewcanvas.la
+%{tde_tdelibdir}/libkviewcanvas.so
+%{tde_tdelibdir}/libkviewviewer.la
+%{tde_tdelibdir}/libkviewviewer.so
+%{tde_libdir}/lib[kt]deinit_kview.so
+%{tde_libdir}/libkimageviewer.so.*
+%{tde_tdelibdir}/libphotobook.la
+%{tde_tdelibdir}/libphotobook.so
+%{tde_tdeappdir}/kview.desktop
+%{tde_datadir}/apps/kview/
+%{tde_datadir}/apps/kviewviewer/
+%{tde_datadir}/apps/photobook/photobookui.rc
+%{tde_datadir}/icons/crystalsvg/*/apps/photobook.png
+%{tde_datadir}/icons/hicolor/*/apps/kview.png
+%{tde_datadir}/services/tdeconfiguredialog/kviewcanvasconfig.desktop
+%{tde_datadir}/services/tdeconfiguredialog/kviewgeneralconfig.desktop
+%{tde_datadir}/services/tdeconfiguredialog/kviewpluginsconfig.desktop
+%{tde_datadir}/services/tdeconfiguredialog/kviewpresenterconfig.desktop
+%{tde_datadir}/services/tdeconfiguredialog/kviewviewerpluginsconfig.desktop
+%{tde_datadir}/services/kviewcanvas.desktop
+%{tde_datadir}/services/kviewviewer.desktop
+%{tde_datadir}/services/photobook.desktop
+%{tde_datadir}/servicetypes/kimageviewer.desktop
+%{tde_datadir}/servicetypes/kimageviewercanvas.desktop
+%{tde_tdedocdir}/HTML/en/kview/
+
+%post -n trinity-kview
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kview
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kviewshell
+Summary: Generic framework for viewer applications in Trinity
+Group: Applications/Graphics
+
+%description -n trinity-kviewshell
+KViewShell is a generic viewing framework that allows the graphical
+applications, such as the kview image viewer, to be embedded in other
+KDE applications, such as Konqueror.
+
+KViewShell comes with a djvuviewpart plugin included, for viewing
+DjVu images.
+
+%files -n trinity-kviewshell
+%defattr(-,root,root,-)
+%{tde_bindir}/kviewshell
+%{tde_libdir}/libdjvu.la
+%{tde_libdir}/libdjvu.so
+%{tde_tdelibdir}/djvuviewpart.so
+%{tde_tdelibdir}/djvuviewpart.la
+%{tde_tdelibdir}/emptymultipagepart.la
+%{tde_tdelibdir}/emptymultipagepart.so
+%{tde_tdelibdir}/kviewerpart.la
+%{tde_tdelibdir}/kviewerpart.so
+%{tde_libdir}/libtdemultipage.so.*
+%{tde_datadir}/apps/djvumultipage.rc
+%{tde_datadir}/apps/kviewerpart/
+%{tde_datadir}/apps/kviewshell/kviewshell.rc
+%{tde_datadir}/config.kcfg/djvumultipage.kcfg
+%{tde_datadir}/config.kcfg/kviewshell.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/kviewshell.png
+%{tde_datadir}/services/emptymultipage.desktop
+%{tde_datadir}/services/djvumultipage.desktop
+%{tde_datadir}/servicetypes/tdemultipage.desktop
+
+%post -n trinity-kviewshell
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-kviewshell
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkscan
+Summary: Scanner library for Trinity
+Group: Environment/Libraries
+
+%description -n trinity-libkscan
+KScan is TDE's scanner library. It's used by kooka and by koffice currently.
+It provides an easy-to-use library, which allows you to access your scanner
+(as long as it's sane compatible).
+
+%files -n trinity-libkscan
+%defattr(-,root,root,-)
+%{tde_libdir}/libkscan.so.*
+%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_color.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_gray.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_halftone.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_lineart.png
+%{tde_datadir}/services/scanservice.desktop
+
+%post -n trinity-libkscan
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-libkscan
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkscan-devel
+Summary: Development files for the Trinity scanner library
+Group: Development/Libraries
+
+%description -n trinity-libkscan-devel
+This package contains development files for Trinity's scanner library.
+
+%files -n trinity-libkscan-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkscan.la
+%{tde_libdir}/libkscan.so
+
+%post -n trinity-libkscan-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkscan-devel
+/sbin/ldconfig || :
+
+##########
+
+%package libpoppler-tqt
+Summary: TQt support for Poppler
+Group: Environment/Libraries
+Provides: poppler-tqt = %{version}-%{release}
+
+%description libpoppler-tqt
+TQt support library for Poppler.
+This library is used by the Trinity graphics file plugins for PDF support.
+
+%files libpoppler-tqt
+%defattr(-,root,root,-)
+%{tde_libdir}/libpoppler-tqt.so.*
+
+%post libpoppler-tqt
+/sbin/ldconfig || :
+
+%postun libpoppler-tqt
+/sbin/ldconfig || :
+
+##########
+
+%package libpoppler-tqt-devel
+Summary: Development files for TQt support for Poppler
+Group: Development/Libraries
+Requires: %{name}-libpoppler-tqt
+Provides: poppler-tqt-devel = %{version}-%{release}
+
+%description libpoppler-tqt-devel
+Development files of TQt support library for Poppler.
+This package contains the development files needed to compile applications against poppler-tqt.
+
+%files libpoppler-tqt-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/poppler-link-qt3.h
+%{tde_tdeincludedir}/poppler-page-transition.h
+%{tde_tdeincludedir}/poppler-qt.h
+%{tde_libdir}/libpoppler-tqt.la
+%{tde_libdir}/libpoppler-tqt.so
+%{tde_libdir}/pkgconfig/poppler-tqt.pc
+
+%post libpoppler-tqt-devel
+/sbin/ldconfig || :
+
+%postun libpoppler-tqt-devel
+/sbin/ldconfig || :
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+
+Obsoletes: trinity-kdegraphics-devel < %{version}-%{release}
+Provides: trinity-kdegraphics-devel = %{version}-%{release}
+
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-libkscan-devel = %{version}-%{release}
+Requires: %{name}-libpoppler-tqt-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/dom/
+%{tde_tdeincludedir}/kfaximage.h
+%{tde_tdeincludedir}/tdemultipageInterface.h
+%{tde_tdeincludedir}/ksvg/
+%{tde_tdeincludedir}/kviewshell/
+%{tde_tdeincludedir}/libtext2path-0.1/BezierPath.h
+%{tde_tdeincludedir}/libtext2path-0.1/Glyph.h
+%{tde_tdeincludedir}/libtext2path-0.1/GlyphTracer.h
+%{tde_libdir}/lib[kt]deinit_kview.la
+%{tde_libdir}/lib[kt]deinit_mrmlsearch.la
+%{tde_libdir}/libkghostviewlib.la
+%{tde_libdir}/libkghostviewlib.so
+%{tde_libdir}/libkimageviewer.la
+%{tde_libdir}/libkimageviewer.so
+%{tde_libdir}/libtdemultipage.la
+%{tde_libdir}/libtdemultipage.so
+%{tde_libdir}/libkpovmodeler.la
+%{tde_libdir}/libkpovmodeler.so
+%{tde_libdir}/libksvg.la
+%{tde_libdir}/libksvg.so
+%{tde_libdir}/libtext2path.la
+%{tde_libdir}/libtext2path.so
+# kfaxview
+%{tde_libdir}/libkfaximage.so
+%{tde_libdir}/libkfaximage.la
+# cmake
+%{tde_datadir}/cmake/*
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+############
+
+# Excludes kuickshow (built separately)
+#%exclude %{tde_bindir}/kuickshow
+#%exclude %{tde_tdelibdir}/kuickshow.la
+#%exclude %{tde_tdelibdir}/kuickshow.so
+#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.la
+#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.so
+#%exclude %{tde_tdeappdir}/kuickshow.desktop
+#%exclude %{tde_datadir}/apps/kuickshow/
+#%exclude %{tde_datadir}/icons/hicolor/*/apps/kuickshow.png
+#%exclude %{tde_tdedocdir}/HTML/en/kuickshow/
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%if 0%{?rhel} && 0%{?rhel} <= 5
+%patch3 -p1 -b .mkstemps
+%endif
+
+%if 0%{?rhel} == 4
+%patch201 -p1 -b .rhel4
+%endif
+
+%if 0%{?build_kamera} == 0
+%__rm -rf doc/kamera/
+%endif
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ %{?with_t1lib:-DWITH_T1LIB=ON} \
+ %{?with_paper:-DWITH_LIBPAPER=ON} \
+ -DWITH_TIFF=ON \
+ -DWITH_OPENEXR=ON \
+ -DWITH_PDF=ON \
+ -DBUILD_ALL=ON \
+ -DBUILD_KUICKSHOW=OFF \
+ %{!?build_kamera:-DBUILD_KAMERA=OFF} \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+# locale's
+HTML_DIR=$(tde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# rpmdocs
+for dir in k* ; do
+ for file in AUTHORS ChangeLog README TODO ; do
+ if test -s "$dir/$file" ; then
+ install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
+ echo "%doc rpmdocs/$dir/" >> %{name}.lang
+ fi
+ done
+done
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdelibs/tdelibs-14.0.0.spec b/redhat/tdelibs/tdelibs-14.0.0.spec
index 326915004..37d2bf0ff 100644
--- a/redhat/tdelibs/tdelibs-14.0.0.spec
+++ b/redhat/tdelibs/tdelibs-14.0.0.spec
@@ -43,7 +43,7 @@ Provides: trinity-kdelibs-apidocs = %{version}-%{release}
BuildRequires: cmake >= 2.8
BuildRequires: libtool
-BuildRequires: trinity-tqt3-devel >= %{version}
+BuildRequires: trinity-tqt3-devel >= 3.5.0
BuildRequires: trinity-tqtinterface-devel >= %{version}
BuildRequires: trinity-arts-devel >= %{version}
BuildRequires: trinity-dbus-1-tqt-devel >= %{version}
@@ -197,7 +197,7 @@ BuildRequires: %{_lib}nm-util-devel
%endif
%endif
-Requires: trinity-tqt3 >= %{version}
+Requires: trinity-tqt3 >= 3.5.0
Requires: trinity-tqtinterface >= %{version}
Requires: trinity-arts >= %{version}
diff --git a/redhat/tdemultimedia/tdemultimedia-14.0.0-ftbfs.patch b/redhat/tdemultimedia/tdemultimedia-14.0.0-ftbfs.patch
new file mode 100644
index 000000000..f7f1a21f4
--- /dev/null
+++ b/redhat/tdemultimedia/tdemultimedia-14.0.0-ftbfs.patch
@@ -0,0 +1,11 @@
+--- trinity-tdemultimedia-14.0.0~pre177+d730f5a0/arts/modules/common/Makefile.am.ORI 2013-06-30 21:47:10.721105015 +0200
++++ trinity-tdemultimedia-14.0.0~pre177+d730f5a0/arts/modules/common/Makefile.am 2013-06-30 21:48:05.280864583 +0200
+@@ -25,7 +25,7 @@
+ $(top_builddir)/arts/gui/common/libartsgui_idl.la \
+ $(top_builddir)/arts/midi/libartsmidi_idl.la \
+ $(top_builddir)/arts/modules/synth/libartsmodulessynth.la \
+- -lartsflow -lartsflow_idl -lmcop $(LIB_TDECORE) $(LIB_QT) $(VORBISFILE_LIBS) -lgthread-2.0
++ -lartsflow -lartsflow_idl -lmcop $(LIB_TDECORE) $(LIB_QT) $(VORBIS_LIBS) $(VORBISFILE_LIBS) -lgthread-2.0 -lmad
+
+ libartsmodulescommon_la_LDFLAGS = $(all_libraries) -L$(arts_libraries) -no-undefined
+
diff --git a/redhat/tdemultimedia/tdemultimedia-14.0.0.spec b/redhat/tdemultimedia/tdemultimedia-14.0.0.spec
index 68c6ee218..8333db174 100644
--- a/redhat/tdemultimedia/tdemultimedia-14.0.0.spec
+++ b/redhat/tdemultimedia/tdemultimedia-14.0.0.spec
@@ -10,7 +10,7 @@
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
-%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdeappdir %{tde_datadir}/applications/tde
%define tde_tdedocdir %{tde_docdir}/tde
%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
@@ -39,6 +39,7 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Patch0: tdemultimedia-14.0.0-ftbfs.patch
Obsoletes: trinity-kdemultimedia < %{version}-%{release}
Provides: trinity-kdemultimedia = %{version}-%{release}
@@ -164,7 +165,7 @@ Requires: trinity-kaudiocreator = %{version}-%{release}
Requires: %{name}-kfile-plugins = %{version}-%{release}
Requires: %{name}-kappfinder-data = %{version}-%{release}
Requires: %{name}-tdeio-plugins = %{version}-%{release}
-Requires: trinity-kmid = %{version}-%{release}
+Requires: trinity-tdemid = %{version}-%{release}
Requires: trinity-kmix = %{version}-%{release}
Requires: trinity-krec = %{version}-%{release}
Requires: trinity-kscd = %{version}-%{release}
@@ -183,7 +184,7 @@ System. The %{name} package contains multimedia applications for
TDE, including:
artsbuilder, Synthesizer designer for aRts
juk, a media player
- kmid, a midi player
+ tdemid, a midi player
kmix, an audio mixer
arts, additional functionality for the aRts sound system
krec, a recording tool
@@ -482,9 +483,9 @@ searches CDDB to retrieve the information of the disk.
%{tde_bindir}/kaudiocreator
%{tde_tdeappdir}/kaudiocreator.desktop
%{tde_datadir}/apps/kaudiocreator/
-%{tde_datadir}/apps/kconf_update/kaudiocreator-libkcddb.upd
-%{tde_datadir}/apps/kconf_update/kaudiocreator-meta.upd
-%{tde_datadir}/apps/kconf_update/upgrade-kaudiocreator-metadata.sh
+%{tde_datadir}/apps/tdeconf_update/kaudiocreator-libkcddb.upd
+%{tde_datadir}/apps/tdeconf_update/kaudiocreator-meta.upd
+%{tde_datadir}/apps/tdeconf_update/upgrade-kaudiocreator-metadata.sh
%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop
%{tde_datadir}/config.kcfg/kaudiocreator.kcfg
%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg
@@ -517,39 +518,39 @@ au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity.
%files kfile-plugins
%defattr(-,root,root,-)
-%{tde_tdelibdir}/kfile_au.la
-%{tde_tdelibdir}/kfile_au.so
-%{tde_tdelibdir}/kfile_avi.la
-%{tde_tdelibdir}/kfile_avi.so
-%{tde_tdelibdir}/kfile_flac.la
-%{tde_tdelibdir}/kfile_flac.so
-%{tde_tdelibdir}/kfile_m3u.la
-%{tde_tdelibdir}/kfile_m3u.so
-%{tde_tdelibdir}/kfile_mp3.la
-%{tde_tdelibdir}/kfile_mp3.so
-%{tde_tdelibdir}/kfile_mpc.la
-%{tde_tdelibdir}/kfile_mpc.so
-%{tde_tdelibdir}/kfile_mpeg.la
-%{tde_tdelibdir}/kfile_mpeg.so
-%{tde_tdelibdir}/kfile_ogg.la
-%{tde_tdelibdir}/kfile_ogg.so
-%{tde_tdelibdir}/kfile_sid.la
-%{tde_tdelibdir}/kfile_sid.so
-%{tde_tdelibdir}/kfile_theora.la
-%{tde_tdelibdir}/kfile_theora.so
-%{tde_tdelibdir}/kfile_wav.la
-%{tde_tdelibdir}/kfile_wav.so
-%{tde_datadir}/services/kfile_au.desktop
-%{tde_datadir}/services/kfile_avi.desktop
-%{tde_datadir}/services/kfile_flac.desktop
-%{tde_datadir}/services/kfile_m3u.desktop
-%{tde_datadir}/services/kfile_mp3.desktop
-%{tde_datadir}/services/kfile_mpc.desktop
-%{tde_datadir}/services/kfile_mpeg.desktop
-%{tde_datadir}/services/kfile_ogg.desktop
-%{tde_datadir}/services/kfile_sid.desktop
-%{tde_datadir}/services/kfile_theora.desktop
-%{tde_datadir}/services/kfile_wav.desktop
+%{tde_tdelibdir}/tdefile_au.la
+%{tde_tdelibdir}/tdefile_au.so
+%{tde_tdelibdir}/tdefile_avi.la
+%{tde_tdelibdir}/tdefile_avi.so
+%{tde_tdelibdir}/tdefile_flac.la
+%{tde_tdelibdir}/tdefile_flac.so
+%{tde_tdelibdir}/tdefile_m3u.la
+%{tde_tdelibdir}/tdefile_m3u.so
+%{tde_tdelibdir}/tdefile_mp3.la
+%{tde_tdelibdir}/tdefile_mp3.so
+%{tde_tdelibdir}/tdefile_mpc.la
+%{tde_tdelibdir}/tdefile_mpc.so
+%{tde_tdelibdir}/tdefile_mpeg.la
+%{tde_tdelibdir}/tdefile_mpeg.so
+%{tde_tdelibdir}/tdefile_ogg.la
+%{tde_tdelibdir}/tdefile_ogg.so
+%{tde_tdelibdir}/tdefile_sid.la
+%{tde_tdelibdir}/tdefile_sid.so
+%{tde_tdelibdir}/tdefile_theora.la
+%{tde_tdelibdir}/tdefile_theora.so
+%{tde_tdelibdir}/tdefile_wav.la
+%{tde_tdelibdir}/tdefile_wav.so
+%{tde_datadir}/services/tdefile_au.desktop
+%{tde_datadir}/services/tdefile_avi.desktop
+%{tde_datadir}/services/tdefile_flac.desktop
+%{tde_datadir}/services/tdefile_m3u.desktop
+%{tde_datadir}/services/tdefile_mp3.desktop
+%{tde_datadir}/services/tdefile_mpc.desktop
+%{tde_datadir}/services/tdefile_mpeg.desktop
+%{tde_datadir}/services/tdefile_ogg.desktop
+%{tde_datadir}/services/tdefile_sid.desktop
+%{tde_datadir}/services/tdefile_theora.desktop
+%{tde_datadir}/services/tdefile_wav.desktop
##########
@@ -585,8 +586,8 @@ Konqueror and the audiocd:/ URL.
%defattr(-,root,root,-)
%{tde_tdelibdir}/kcm_audiocd.la
%{tde_tdelibdir}/kcm_audiocd.so
-%{tde_tdelibdir}/kio_audiocd.la
-%{tde_tdelibdir}/kio_audiocd.so
+%{tde_tdelibdir}/tdeio_audiocd.la
+%{tde_tdelibdir}/tdeio_audiocd.so
%{tde_tdelibdir}/libaudiocd_encoder_flac.la
%{tde_tdelibdir}/libaudiocd_encoder_flac.so
%{tde_tdelibdir}/libaudiocd_encoder_lame.la
@@ -597,12 +598,12 @@ Konqueror and the audiocd:/ URL.
%{tde_tdelibdir}/libaudiocd_encoder_wav.so
%{tde_libdir}/libaudiocdplugins.so.*
%{tde_tdeappdir}/audiocd.desktop
-%{tde_datadir}/apps/kconf_update/audiocd.upd
-%{tde_datadir}/apps/kconf_update/upgrade-metadata.sh
+%{tde_datadir}/apps/tdeconf_update/audiocd.upd
+%{tde_datadir}/apps/tdeconf_update/upgrade-metadata.sh
%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg
%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg
%{tde_datadir}/services/audiocd.protocol
-%{tde_tdedocdir}/HTML/en/kioslave/audiocd.docbook
+%{tde_tdedocdir}/HTML/en/tdeioslave/audiocd.docbook
%post tdeio-plugins
/sbin/ldconfig
@@ -614,27 +615,30 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
##########
-%package -n trinity-kmid
+%package -n trinity-tdemid
Summary: MIDI/karaoke player for Trinity
Group: Applications/Multimedia
-%description -n trinity-kmid
+Obsoletes: trinity-kmid < %{version}-%{release}
+Provides: trinity-kmid = %{version}-%{release}
+
+%description -n trinity-tdemid
This package provides a MIDI and karaoke player for TDE.
-%files -n trinity-kmid
+%files -n trinity-tdemid
%defattr(-,root,root,-)
-%{tde_bindir}/kmid
-%{tde_tdelibdir}/libkmidpart.la
-%{tde_tdelibdir}/libkmidpart.so
-%{tde_libdir}/libkmidlib.so.*
-%{tde_tdeappdir}/kmid.desktop
-%{tde_datadir}/apps/kmid/
-%{tde_datadir}/icons/hicolor/*/apps/kmid.png
+%{tde_bindir}/tdemid
+%{tde_tdelibdir}/libtdemidpart.la
+%{tde_tdelibdir}/libtdemidpart.so
+%{tde_libdir}/libtdemidlib.so.*
+%{tde_tdeappdir}/tdemid.desktop
+%{tde_datadir}/apps/tdemid/
+%{tde_datadir}/icons/hicolor/*/apps/tdemid.png
%{tde_datadir}/mimelnk/audio/x-karaoke.desktop
%{tde_datadir}/servicetypes/audiomidi.desktop
-%{tde_tdedocdir}/HTML/en/kmid/
+%{tde_tdedocdir}/HTML/en/tdemid/
-%post -n trinity-kmid
+%post -n trinity-tdemid
/sbin/ldconfig
for f in hicolor ; do
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
@@ -642,7 +646,7 @@ for f in hicolor ; do
done
update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-%postun -n trinity-kmid
+%postun -n trinity-tdemid
/sbin/ldconfig
for f in hicolor ; do
touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
@@ -919,7 +923,7 @@ databases, for TDE applications.
%{tde_tdelibdir}/kcm_cddb.so
%{tde_libdir}/libkcddb.so.*
%{tde_tdeappdir}/libkcddb.desktop
-%{tde_datadir}/apps/kconf_update/kcmcddb-emailsettings.upd
+%{tde_datadir}/apps/tdeconf_update/kcmcddb-emailsettings.upd
%{tde_datadir}/config.kcfg/libkcddb.kcfg
%post -n trinity-libkcddb
@@ -979,7 +983,7 @@ formats supported by your installation of aRts (including aRts plugins).
%files -n trinity-noatun
%defattr(-,root,root,-)
%{tde_bindir}/noatun
-%{tde_libdir}/kconf_update_bin/noatun20update
+%{tde_libdir}/tdeconf_update_bin/noatun20update
%{tde_tdelibdir}/noatun.la
%{tde_tdelibdir}/noatun.so
%{tde_tdelibdir}/noatun_dcopiface.la
@@ -1038,7 +1042,7 @@ formats supported by your installation of aRts (including aRts plugins).
%{tde_libdir}/mcop/winskinvis.mcopclass
%{tde_libdir}/mcop/winskinvis.mcoptype
%{tde_tdeappdir}/noatun.desktop
-%{tde_datadir}/apps/kconf_update/noatun.upd
+%{tde_datadir}/apps/tdeconf_update/noatun.upd
%{tde_datadir}/apps/noatun/
%{tde_datadir}/icons/hicolor/*/apps/noatun.png
%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop
@@ -1107,8 +1111,8 @@ noatun plugins.
%{tde_libdir}/lib[kt]deinit_kmixctrl.la
%{tde_libdir}/lib[kt]deinit_krec.la
%{tde_libdir}/lib[kt]deinit_noatun.la
-%{tde_libdir}/libkmidlib.la
-%{tde_libdir}/libkmidlib.so
+%{tde_libdir}/libtdemidlib.la
+%{tde_libdir}/libtdemidlib.so
%{tde_libdir}/libmpeg.la
%{tde_libdir}/libmpeg.so
%{tde_libdir}/libnoatun.la
@@ -1137,6 +1141,7 @@ noatun plugins.
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+%patch0 -p1 -b .ftbfs
%__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"
@@ -1193,7 +1198,7 @@ export PATH="%{tde_bindir}:${PATH}"
chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/*
# locale's
-HTML_DIR=$(kde-config --expandvars --install html)
+HTML_DIR=$(tde-config --expandvars --install html)
if [ -d %{buildroot}$HTML_DIR ]; then
for lang_dir in %{buildroot}$HTML_DIR/* ; do
if [ -d $lang_dir ]; then
@@ -1211,7 +1216,7 @@ fi
# Moves the XDG configuration files to TDE directory
%__install -p -D -m644 \
- "%{?buildroot}%{_sysconfdir}/xdg/menus/applications-merged/kde-multimedia-music.menu" \
+ "%{?buildroot}%{_sysconfdir}/xdg/menus/applications-merged/tde-multimedia-music.menu" \
"%{?buildroot}%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu"
%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg"
@@ -1221,8 +1226,5 @@ fi
%changelog
-* Mon Jun 17 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
-- Enable "LAME" support
-
-* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
-- Initial release for TDE 3.5.13.2
+* Mon Jun 17 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
+- Initial build for TDE 14.0.0
diff --git a/redhat/tdepim/tdepim-14.0.0.spec b/redhat/tdepim/tdepim-14.0.0.spec
index 3a5479727..9f54b7f24 100644
--- a/redhat/tdepim/tdepim-14.0.0.spec
+++ b/redhat/tdepim/tdepim-14.0.0.spec
@@ -614,15 +614,15 @@ tracking feature plans.
%{tde_tdelibdir}/knotes_xmlrpc.so
%{tde_libdir}/libkabckolab.so.*
%{tde_libdir}/libkabcscalix.so.*
-%{tde_libdir}/libkabc_groupdav.so.*
-%{tde_libdir}/libkabc_groupwise.so.*
-%{tde_libdir}/libkabc_newexchange.so.*
-%{tde_libdir}/libkabc_slox.so.*
-%{tde_libdir}/libkabc_xmlrpc.so.*
+%{tde_libdir}/libtdeabc_groupdav.so.*
+%{tde_libdir}/libtdeabc_groupwise.so.*
+%{tde_libdir}/libtdeabc_newexchange.so.*
+%{tde_libdir}/libtdeabc_slox.so.*
+%{tde_libdir}/libtdeabc_xmlrpc.so.*
%{tde_libdir}/libkcalkolab.so.*
%{tde_libdir}/libkcalscalix.so.*
%{tde_libdir}/libkcal_caldav.so.*
-%{tde_libdir}/libkabc_carddav.so.*
+%{tde_libdir}/libtdeabc_carddav.so.*
%{tde_libdir}/libkcal_groupdav.so.*
%{tde_libdir}/libkcal_groupwise.so.*
%{tde_libdir}/libkcal_newexchange.so.*
@@ -636,18 +636,18 @@ tracking feature plans.
%{tde_libdir}/libknotes_xmlrpc.so.*
%{tde_libdir}/libkslox.so.*
%{tde_libdir}/libgwsoap.so.*
-%{tde_datadir}/services/tderesources/tdeabc/kabc_groupdav.desktop
-%{tde_datadir}/services/tderesources/tdeabc/kabc_groupwise.desktop
-%{tde_datadir}/services/tderesources/tdeabc/kabc_newexchange.desktop
-%{tde_datadir}/services/tderesources/tdeabc/kabc_opengroupware.desktop
-%{tde_datadir}/services/tderesources/tdeabc/kabc_ox.desktop
-%{tde_datadir}/services/tderesources/tdeabc/kabc_slox.desktop
-%{tde_datadir}/services/tderesources/tdeabc/kabc_xmlrpc.desktop
+%{tde_datadir}/services/tderesources/tdeabc/tdeabc_groupdav.desktop
+%{tde_datadir}/services/tderesources/tdeabc/tdeabc_groupwise.desktop
+%{tde_datadir}/services/tderesources/tdeabc/tdeabc_newexchange.desktop
+%{tde_datadir}/services/tderesources/tdeabc/tdeabc_opengroupware.desktop
+%{tde_datadir}/services/tderesources/tdeabc/tdeabc_ox.desktop
+%{tde_datadir}/services/tderesources/tdeabc/tdeabc_slox.desktop
+%{tde_datadir}/services/tderesources/tdeabc/tdeabc_xmlrpc.desktop
%{tde_datadir}/services/tderesources/tdeabc/kolab.desktop
%{tde_datadir}/services/tderesources/tdeabc/scalix.desktop
%{tde_datadir}/services/tderesources/kcal/exchange.desktop
%{tde_datadir}/services/tderesources/kcal/kcal_caldav.desktop
-%{tde_datadir}/services/tderesources/tdeabc/kabc_carddav.desktop
+%{tde_datadir}/services/tderesources/tdeabc/tdeabc_carddav.desktop
%{tde_datadir}/services/tderesources/kcal/kcal_groupdav.desktop
%{tde_datadir}/services/tderesources/kcal/kcal_groupwise.desktop
%{tde_datadir}/services/tderesources/kcal/kcal_newexchange.desktop
@@ -662,25 +662,25 @@ tracking feature plans.
%{tde_datadir}/services/tderesources/knotes/kolabresource.desktop
%{tde_datadir}/services/tderesources/knotes/scalix.desktop
-%{tde_datadir}/apps/kconf_update/upgrade-resourcetype.pl
-%{tde_datadir}/apps/kconf_update/kolab-resource.upd
-
-%{tde_tdelibdir}/kabc_carddav.la
-%{tde_tdelibdir}/kabc_carddav.so
-%{tde_tdelibdir}/kabc_groupdav.la
-%{tde_tdelibdir}/kabc_groupdav.so
-%{tde_tdelibdir}/kabc_groupwise.la
-%{tde_tdelibdir}/kabc_groupwise.so
-%{tde_tdelibdir}/kabc_kolab.la
-%{tde_tdelibdir}/kabc_kolab.so
-%{tde_tdelibdir}/kabc_newexchange.la
-%{tde_tdelibdir}/kabc_newexchange.so
-%{tde_tdelibdir}/kabc_scalix.la
-%{tde_tdelibdir}/kabc_scalix.so
-%{tde_tdelibdir}/kabc_slox.la
-%{tde_tdelibdir}/kabc_slox.so
-%{tde_tdelibdir}/kabc_xmlrpc.la
-%{tde_tdelibdir}/kabc_xmlrpc.so
+%{tde_datadir}/apps/tdeconf_update/upgrade-resourcetype.pl
+%{tde_datadir}/apps/tdeconf_update/kolab-resource.upd
+
+%{tde_tdelibdir}/tdeabc_carddav.la
+%{tde_tdelibdir}/tdeabc_carddav.so
+%{tde_tdelibdir}/tdeabc_groupdav.la
+%{tde_tdelibdir}/tdeabc_groupdav.so
+%{tde_tdelibdir}/tdeabc_groupwise.la
+%{tde_tdelibdir}/tdeabc_groupwise.so
+%{tde_tdelibdir}/tdeabc_kolab.la
+%{tde_tdelibdir}/tdeabc_kolab.so
+%{tde_tdelibdir}/tdeabc_newexchange.la
+%{tde_tdelibdir}/tdeabc_newexchange.so
+%{tde_tdelibdir}/tdeabc_scalix.la
+%{tde_tdelibdir}/tdeabc_scalix.so
+%{tde_tdelibdir}/tdeabc_slox.la
+%{tde_tdelibdir}/tdeabc_slox.so
+%{tde_tdelibdir}/tdeabc_xmlrpc.la
+%{tde_tdelibdir}/tdeabc_xmlrpc.so
%post tderesources
/sbin/ldconfig || :
@@ -706,20 +706,20 @@ Obsoletes: tdepim-tderesources-devel < %{version}-%{release}
%defattr(-,root,root,-)
%{tde_libdir}/libkslox.la
%{tde_libdir}/libkslox.so
-%{tde_libdir}/libkabc_groupdav.la
-%{tde_libdir}/libkabc_groupdav.so
-%{tde_libdir}/libkabc_groupwise.la
-%{tde_libdir}/libkabc_groupwise.so
+%{tde_libdir}/libtdeabc_groupdav.la
+%{tde_libdir}/libtdeabc_groupdav.so
+%{tde_libdir}/libtdeabc_groupwise.la
+%{tde_libdir}/libtdeabc_groupwise.so
%{tde_libdir}/libgwsoap.la
%{tde_libdir}/libgwsoap.so
-%{tde_libdir}/libkabc_carddav.la
-%{tde_libdir}/libkabc_carddav.so
-%{tde_libdir}/libkabc_newexchange.la
-%{tde_libdir}/libkabc_newexchange.so
-%{tde_libdir}/libkabc_slox.la
-%{tde_libdir}/libkabc_slox.so
-%{tde_libdir}/libkabc_xmlrpc.la
-%{tde_libdir}/libkabc_xmlrpc.so
+%{tde_libdir}/libtdeabc_carddav.la
+%{tde_libdir}/libtdeabc_carddav.so
+%{tde_libdir}/libtdeabc_newexchange.la
+%{tde_libdir}/libtdeabc_newexchange.so
+%{tde_libdir}/libtdeabc_slox.la
+%{tde_libdir}/libtdeabc_slox.so
+%{tde_libdir}/libtdeabc_xmlrpc.la
+%{tde_libdir}/libtdeabc_xmlrpc.so
%{tde_libdir}/libkabckolab.la
%{tde_libdir}/libkabckolab.so
%{tde_libdir}/libkabcscalix.la
@@ -945,26 +945,26 @@ mbox files, and/or trinity-tdebase-tdeio-plugins if you want to use POP3.
%{tde_tdelibdir}/libkmailpart.so
%{tde_tdeappdir}/KMail.desktop
%{tde_tdeappdir}/kmail_view.desktop
-%{tde_datadir}/apps/kconf_update/kmail-3.1-update-new-mail-notification-settings.pl
-%{tde_datadir}/apps/kconf_update/kmail-3.1-use-UOID-for-identities.pl
-%{tde_datadir}/apps/kconf_update/kmail-3.1.4-dont-use-UOID-0-for-any-identity.pl
-%{tde_datadir}/apps/kconf_update/kmail-3.2-misc.sh
-%{tde_datadir}/apps/kconf_update/kmail-3.2-update-loop-on-goto-unread-settings.sh
-%{tde_datadir}/apps/kconf_update/kmail-3.3-aegypten.pl
-%{tde_datadir}/apps/kconf_update/kmail-3.3-misc.pl
-%{tde_datadir}/apps/kconf_update/kmail-3.3-move-identities.pl
-%{tde_datadir}/apps/kconf_update/kmail-3.3-split-sign-encr-keys.sh
-%{tde_datadir}/apps/kconf_update/kmail-3.3-use-ID-for-accounts.pl
-%{tde_datadir}/apps/kconf_update/kmail-3.3b1-misc.pl
-%{tde_datadir}/apps/kconf_update/kmail-3.4-misc.pl
-%{tde_datadir}/apps/kconf_update/kmail-3.4.1-update-status-filters.pl
-%{tde_datadir}/apps/kconf_update/kmail-3.5-trigger-flag-migration.pl
-%{tde_datadir}/apps/kconf_update/kmail-3.5-filter-icons.pl
-%{tde_datadir}/apps/kconf_update/kmail-pgpidentity.pl
-%{tde_datadir}/apps/kconf_update/kmail-upd-identities.pl
-%{tde_datadir}/apps/kconf_update/kmail.upd
-%{tde_datadir}/apps/kconf_update/upgrade-signature.pl
-%{tde_datadir}/apps/kconf_update/upgrade-transport.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.1-update-new-mail-notification-settings.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.1-use-UOID-for-identities.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.1.4-dont-use-UOID-0-for-any-identity.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.2-misc.sh
+%{tde_datadir}/apps/tdeconf_update/kmail-3.2-update-loop-on-goto-unread-settings.sh
+%{tde_datadir}/apps/tdeconf_update/kmail-3.3-aegypten.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.3-misc.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.3-move-identities.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.3-split-sign-encr-keys.sh
+%{tde_datadir}/apps/tdeconf_update/kmail-3.3-use-ID-for-accounts.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.3b1-misc.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.4-misc.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.4.1-update-status-filters.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.5-trigger-flag-migration.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-3.5-filter-icons.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-pgpidentity.pl
+%{tde_datadir}/apps/tdeconf_update/kmail-upd-identities.pl
+%{tde_datadir}/apps/tdeconf_update/kmail.upd
+%{tde_datadir}/apps/tdeconf_update/upgrade-signature.pl
+%{tde_datadir}/apps/tdeconf_update/upgrade-transport.pl
%{tde_datadir}/apps/kmail
%{tde_datadir}/apps/konqueror/servicemenus/email.desktop
%{tde_datadir}/config.kcfg/custommimeheader.kcfg
@@ -1399,7 +1399,7 @@ installed.
%{tde_libdir}/libkorganizer_calendar.so.*
%{tde_libdir}/libkorganizer_eventviewer.so.*
%{tde_tdeappdir}/korganizer.desktop
-%{tde_datadir}/apps/kconf_update/korganizer.upd
+%{tde_datadir}/apps/tdeconf_update/korganizer.upd
%{tde_datadir}/apps/korgac/
%{tde_datadir}/apps/korganizer/
%{tde_datadir}/autostart/korgac.desktop
@@ -1483,12 +1483,12 @@ Korn run a program once you click on the docked icon in Kicker.
%files -n trinity-korn
%defattr(-,root,root,-)
%{tde_bindir}/korn
-%{tde_libdir}/kconf_update_bin/korn-3-4-config_change
+%{tde_libdir}/tdeconf_update_bin/korn-3-4-config_change
%{tde_tdeappdir}/KOrn.desktop
-%{tde_datadir}/apps/kconf_update/korn-3-4-config_change.upd
-%{tde_datadir}/apps/kconf_update/korn-3-5-metadata-update.pl
-%{tde_datadir}/apps/kconf_update/korn-3-5-ssl-update.pl
-%{tde_datadir}/apps/kconf_update/korn-3-5-update.upd
+%{tde_datadir}/apps/tdeconf_update/korn-3-4-config_change.upd
+%{tde_datadir}/apps/tdeconf_update/korn-3-5-metadata-update.pl
+%{tde_datadir}/apps/tdeconf_update/korn-3-5-ssl-update.pl
+%{tde_datadir}/apps/tdeconf_update/korn-3-5-update.upd
%{tde_datadir}/icons/hicolor/*/apps/korn.png
%{tde_tdedocdir}/HTML/en/korn/
@@ -1682,8 +1682,8 @@ This is the runtime package for programs that use the trinity-libtdepim library.
%defattr(-,root,root,-)
%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.la
%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.so
-%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.la
-%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.so
+%{tde_tdelibdir}/plugins/designer/tdepartsdesignerplugin.la
+%{tde_tdelibdir}/plugins/designer/tdepartsdesignerplugin.so
%{tde_libdir}/lib[kt]depim.so.*
%{tde_datadir}/apps/[kt]depimwidgets
%{tde_datadir}/apps/lib[kt]depim
@@ -1797,8 +1797,8 @@ This is the runtime package for programs that use the libkleopatra-trinity libra
%{tde_libdir}/libkleopatra.so.*
%{tde_libdir}/libkpgp.so.*
%{tde_libdir}/libqgpgme.so.*
-%{tde_datadir}/apps/kconf_update/kpgp-3.1-upgrade-address-data.pl
-%{tde_datadir}/apps/kconf_update/kpgp.upd
+%{tde_datadir}/apps/tdeconf_update/kpgp-3.1-upgrade-address-data.pl
+%{tde_datadir}/apps/tdeconf_update/kpgp.upd
%{tde_datadir}/apps/libkleopatra/
%{tde_datadir}/icons/crystalsvg/*/apps/gpg.png
%{tde_datadir}/icons/crystalsvg/*/apps/gpgsm.png
@@ -2142,11 +2142,11 @@ dialing calls, phonebook, and phone status monitoring.
%files -n trinity-kmobile
%defattr(-,root,root,-)
%{tde_bindir}/kmobile
-%{tde_datadir}/icons/default.kde/32x32/devices/mobile_camera.png
-%{tde_datadir}/icons/default.kde/32x32/devices/mobile_musicplayer.png
-%{tde_datadir}/icons/default.kde/32x32/devices/mobile_organizer.png
-%{tde_datadir}/icons/default.kde/32x32/devices/mobile_phone.png
-%{tde_datadir}/icons/default.kde/32x32/devices/mobile_unknown.png
+%{tde_datadir}/icons/default.tde/32x32/devices/mobile_camera.png
+%{tde_datadir}/icons/default.tde/32x32/devices/mobile_musicplayer.png
+%{tde_datadir}/icons/default.tde/32x32/devices/mobile_organizer.png
+%{tde_datadir}/icons/default.tde/32x32/devices/mobile_phone.png
+%{tde_datadir}/icons/default.tde/32x32/devices/mobile_unknown.png
%{tde_datadir}/icons/hicolor/*/apps/kmobile.png
%{tde_datadir}/services/libkmobile_digicam.desktop
%{tde_datadir}/services/libkmobile_gammu.desktop
diff --git a/redhat/tdesdk/tdesdk-14.0.0.spec b/redhat/tdesdk/tdesdk-14.0.0.spec
new file mode 100644
index 000000000..3da6004e4
--- /dev/null
+++ b/redhat/tdesdk/tdesdk-14.0.0.spec
@@ -0,0 +1,1162 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific 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/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+
+Name: trinity-tdesdk
+Summary: The KDE Software Development Kit (SDK)
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2
+Group: User Interface/Desktops
+URL: http://www.trinitydesktop.org/
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+BuildRequires: cmake >= 2.8
+BuildRequires: libtool
+BuildRequires: pcre-devel
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+# for kbugbuster/libkcal
+BuildRequires: trinity-tdepim-devel >= %{version}
+%if 0%{?mgaversion} || 0%{?mdkversion}
+#BuildRequires: %{_lib}db4.8-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: db4-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libdb-4_8-devel
+%endif
+BuildRequires: desktop-file-utils
+# kbabel, F-7+: flex >= 2.5.33-9
+BuildRequires: flex
+# umbrello
+BuildRequires: libxslt-devel
+BuildRequires: libxml2-devel
+BuildRequires: perl
+BuildRequires: subversion-devel
+BuildRequires: neon-devel
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}ltdl-devel
+BuildRequires: %{_lib}binutils-devel
+%endif
+%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version}
+BuildRequires: binutils-devel
+%endif
+%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220
+BuildRequires: libtool-ltdl-devel
+%endif
+
+# KIOSLAVE
+# Does not build on RHEL4
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion}
+%define build_kioslave 1
+%endif
+
+Obsoletes: trinity-kdesdk < %{version}-%{release}
+Provides: trinity-kdesdk = %{version}-%{release}
+Obsoletes: trinity-kdesdk-libs < %{version}-%{release}
+Provides: trinity-kdesdk-libs = %{version}-%{release}
+
+Requires: trinity-cervisia = %{version}-%{release}
+Requires: trinity-kapptemplate = %{version}-%{release}
+Requires: trinity-kbabel = %{version}-%{release}
+Requires: trinity-kbugbuster = %{version}-%{release}
+Requires: trinity-tdecachegrind = %{version}-%{release}
+Requires: trinity-tdecachegrind-converters = %{version}-%{release}
+Requires: %{name}-kfile-plugins = %{version}-%{release}
+Requires: %{name}-misc = %{version}-%{release}
+Requires: %{name}-scripts = %{version}-%{release}
+Requires: trinity-kmtrace = %{version}-%{release}
+Requires: trinity-kompare = %{version}-%{release}
+Requires: trinity-kspy = %{version}-%{release}
+Requires: trinity-kuiviewer = %{version}-%{release}
+Requires: trinity-libcvsservice0 = %{version}-%{release}
+Requires: trinity-libcvsservice-devel = %{version}-%{release}
+Requires: trinity-poxml = %{version}-%{release}
+Requires: trinity-umbrello = %{version}-%{release}
+%{?build_kioslave:Requires: %{name}-tdeio-plugins = %{version}-%{release}}
+Requires: trinity-tdeunittest = %{version}-%{release}
+
+
+%description
+A collection of applications and tools used by developers, including:
+* cervisia: a CVS frontend
+* kbabel: PO file management
+* kbugbuster: a tool to manage the TDE bug report system
+* tdecachegrind: a browser for data produced by profiling tools (e.g. cachegrind)
+* kompare: diff tool
+* kuiviewer: displays designer's UI files
+* umbrello: UML modeller and UML diagram tool
+
+%files
+
+##########
+
+%package -n trinity-cervisia
+Summary: A graphical CVS front end for Trinity
+Group: Development/Utilities
+
+%description -n trinity-cervisia
+Cervisia is a TDE-based graphical front end for the CVS client.
+
+As well as providing both common and advanced CVS operations, it offers
+a variety of methods for graphically viewing information about the CVS
+repository, your own sandbox and the relationships between different
+versions of files. A Changelog editor is also included and is coupled
+with the commit dialog.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-cervisia
+%{tde_bindir}/cervisia
+%{tde_libdir}/lib[kt]deinit_cervisia.la
+%{tde_libdir}/lib[kt]deinit_cervisia.so
+%{tde_tdelibdir}/cervisia.la
+%{tde_tdelibdir}/cervisia.so
+%{tde_tdelibdir}/libcervisiapart.la
+%{tde_tdelibdir}/libcervisiapart.so
+%{tde_tdeappdir}/cervisia.desktop
+%{tde_datadir}/apps/cervisia/
+%{tde_datadir}/apps/cervisiapart/cervisiaui.rc
+%{tde_datadir}/apps/tdeconf_update/cervisia.upd
+%{tde_datadir}/apps/tdeconf_update/cervisia-change_repos_list.pl
+%{tde_datadir}/apps/tdeconf_update/cervisia-normalize_cvsroot.pl
+%{tde_datadir}/apps/tdeconf_update/move_repositories.pl
+%{tde_datadir}/apps/tdeconf_update/change_colors.pl
+%{tde_datadir}/config.kcfg/cervisiapart.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/cervisia.png
+%{tde_datadir}/icons/crystalsvg/*/actions/vcs_*.png
+%{tde_datadir}/icons/crystalsvg/scalable/actions/vcs_*.svgz
+%{tde_mandir}/man1/cervisia.1*
+%{tde_tdedocdir}/HTML/en/cervisia/
+
+%post -n trinity-cervisia
+/sbin/ldconfig || :
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-cervisia
+/sbin/ldconfig || :
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kapptemplate
+Summary: Creates a framework to develop a Trinity application
+Group: Development/Utilities
+
+%description -n trinity-kapptemplate
+KAppTemplate is a shell script that will create the necessary
+framework to develop various TDE applications. It takes care of the
+autoconf/automake code as well as providing a skeleton and example of
+what the code typically looks like.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kapptemplate
+%{tde_bindir}/kapptemplate
+%{tde_datadir}/apps/kapptemplate/
+
+%pre -n trinity-kapptemplate
+if [ -d "%{tde_bindir}/kapptemplate" ]; then
+ rm -rf "%{tde_bindir}/kapptemplate"
+fi
+
+##########
+
+%package -n trinity-kbabel
+Summary: PO-file editing suite for Trinity
+Group: Development/Utilities
+
+%description -n trinity-kbabel
+This is a suite of programs for editing gettext message files (PO-files).
+It is designed to help you translate fast and consistently.
+
+This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an
+advanced and easy to use PO-file editor with full navigational and editing
+capabilities, syntax checking and statistics. CatalogManager is a multi
+functional catalog manager which allows you to keep track of many
+PO-files at once. KBabelDict is a dictionary to assist with searching
+for common translations.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kbabel
+%{tde_bindir}/catalogmanager
+%{tde_bindir}/kbabel
+%{tde_bindir}/kbabeldict
+%{tde_libdir}/libkbabelcommon.so.*
+%{tde_libdir}/libkbabeldictplugin.so.*
+%{tde_tdelibdir}/tdefile_po.la
+%{tde_tdelibdir}/tdefile_po.so
+%{tde_tdelibdir}/pothumbnail.la
+%{tde_tdelibdir}/pothumbnail.so
+%{tde_tdelibdir}/kbabel_accelstool.la
+%{tde_tdelibdir}/kbabel_accelstool.so
+%{tde_tdelibdir}/kbabel_argstool.la
+%{tde_tdelibdir}/kbabel_argstool.so
+%{tde_tdelibdir}/kbabel_contexttool.la
+%{tde_tdelibdir}/kbabel_contexttool.so
+%{tde_tdelibdir}/kbabel_equationstool.la
+%{tde_tdelibdir}/kbabel_equationstool.so
+%{tde_tdelibdir}/kbabel_gettextexport.la
+%{tde_tdelibdir}/kbabel_gettextexport.so
+%{tde_tdelibdir}/kbabel_gettextimport.la
+%{tde_tdelibdir}/kbabel_gettextimport.so
+%{tde_tdelibdir}/kbabel_lengthtool.la
+%{tde_tdelibdir}/kbabel_lengthtool.so
+%{tde_tdelibdir}/kbabel_linguistexport.la
+%{tde_tdelibdir}/kbabel_linguistexport.so
+%{tde_tdelibdir}/kbabel_linguistimport.la
+%{tde_tdelibdir}/kbabel_linguistimport.so
+%{tde_tdelibdir}/kbabel_nottranslatedtool.la
+%{tde_tdelibdir}/kbabel_nottranslatedtool.so
+%{tde_tdelibdir}/kbabel_pluraltool.la
+%{tde_tdelibdir}/kbabel_pluraltool.so
+%{tde_tdelibdir}/kbabel_punctuationtool.la
+%{tde_tdelibdir}/kbabel_punctuationtool.so
+%{tde_tdelibdir}/kbabel_regexptool.la
+%{tde_tdelibdir}/kbabel_regexptool.so
+%{tde_tdelibdir}/kbabel_setfuzzytool.la
+%{tde_tdelibdir}/kbabel_setfuzzytool.so
+%{tde_tdelibdir}/kbabel_whitespacetool.la
+%{tde_tdelibdir}/kbabel_whitespacetool.so
+%{tde_tdelibdir}/kbabel_xliffexport.la
+%{tde_tdelibdir}/kbabel_xliffexport.so
+%{tde_tdelibdir}/kbabel_xliffimport.la
+%{tde_tdelibdir}/kbabel_xliffimport.so
+%{tde_tdelibdir}/kbabel_xmltool.la
+%{tde_tdelibdir}/kbabel_xmltool.so
+%{tde_tdelibdir}/kbabeldict_dbsearchengine.la
+%{tde_tdelibdir}/kbabeldict_dbsearchengine.so
+%{tde_tdelibdir}/kbabeldict_poauxiliary.la
+%{tde_tdelibdir}/kbabeldict_poauxiliary.so
+%{tde_tdelibdir}/kbabeldict_pocompendium.la
+%{tde_tdelibdir}/kbabeldict_pocompendium.so
+%{tde_tdelibdir}/kbabeldict_tmxcompendium.la
+%{tde_tdelibdir}/kbabeldict_tmxcompendium.so
+%{tde_tdeappdir}/catalogmanager.desktop
+%{tde_tdeappdir}/kbabel.desktop
+%{tde_tdeappdir}/kbabeldict.desktop
+%{tde_datadir}/apps/catalogmanager/catalogmanagerui.rc
+%{tde_datadir}/apps/kbabel/
+%{tde_datadir}/apps/tdeconf_update/kbabel-difftoproject.upd
+%{tde_datadir}/apps/tdeconf_update/kbabel-project.upd
+%{tde_datadir}/apps/tdeconf_update/kbabel-projectrename.upd
+%{tde_datadir}/config.kcfg/kbabel.kcfg
+%{tde_datadir}/config.kcfg/kbprojectsettings.kcfg
+%{tde_tdedocdir}/HTML/en/kbabel/
+%{tde_datadir}/icons/hicolor/*/apps/catalogmanager.png
+%{tde_datadir}/icons/hicolor/*/apps/kbabel.png
+%{tde_datadir}/icons/hicolor/*/apps/kbabeldict.png
+%{tde_datadir}/icons/locolor/*/apps/catalogmanager.png
+%{tde_datadir}/icons/locolor/*/apps/kbabel.png
+%{tde_datadir}/icons/locolor/*/apps/kbabeldict.png
+%{tde_datadir}/services/dbsearchengine.desktop
+%{tde_datadir}/services/tdefile_po.desktop
+%{tde_datadir}/services/pothumbnail.desktop
+%{tde_datadir}/services/kbabel_accelstool.desktop
+%{tde_datadir}/services/kbabel_argstool.desktop
+%{tde_datadir}/services/kbabel_contexttool.desktop
+%{tde_datadir}/services/kbabel_equationstool.desktop
+%{tde_datadir}/services/kbabel_gettext_export.desktop
+%{tde_datadir}/services/kbabel_gettext_import.desktop
+%{tde_datadir}/services/kbabel_lengthtool.desktop
+%{tde_datadir}/services/kbabel_linguist_export.desktop
+%{tde_datadir}/services/kbabel_linguist_import.desktop
+%{tde_datadir}/services/kbabel_nottranslatedtool.desktop
+%{tde_datadir}/services/kbabel_pluralformstool.desktop
+%{tde_datadir}/services/kbabel_punctuationtool.desktop
+%{tde_datadir}/services/kbabel_regexptool.desktop
+%{tde_datadir}/services/kbabel_setfuzzytool.desktop
+%{tde_datadir}/services/kbabel_whitespacetool.desktop
+%{tde_datadir}/services/kbabel_xliff_export.desktop
+%{tde_datadir}/services/kbabel_xliff_import.desktop
+%{tde_datadir}/services/kbabel_xmltool.desktop
+%{tde_datadir}/services/pocompendium.desktop
+%{tde_datadir}/services/poauxiliary.desktop
+%{tde_datadir}/services/tmxcompendium.desktop
+%{tde_datadir}/servicetypes/kbabel_tool.desktop
+%{tde_datadir}/servicetypes/kbabel_validator.desktop
+%{tde_datadir}/servicetypes/kbabeldict_module.desktop
+%{tde_datadir}/servicetypes/kbabelfilter.desktop
+
+%post -n trinity-kbabel
+/sbin/ldconfig || :
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbabel
+/sbin/ldconfig || :
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kbabel-devel
+Summary: PO-file editing suite for Trinity (development files)
+Group: Development/Libraries
+Requires: trinity-kbabel = %{version}-%{release}
+
+%description -n trinity-kbabel-devel
+This is a suite of programs for editing gettext message files (PO-files).
+It is designed to help you translate fast and consistently.
+
+This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an
+advanced and easy to use PO-file editor with full navigational and editing
+capabilities, syntax checking and statistics. CatalogManager is a multi
+functional catalog manager which allows you to keep track of many
+PO-files at once. KBabelDict is a dictionary to assist with searching
+for common translations.
+
+This package contains the KBabel development files.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kbabel-devel
+%{tde_tdeincludedir}/kbabel/
+%{tde_libdir}/libkbabelcommon.la
+%{tde_libdir}/libkbabelcommon.so
+%{tde_libdir}/libkbabeldictplugin.la
+%{tde_libdir}/libkbabeldictplugin.so
+
+%post -n trinity-kbabel-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kbabel-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kbugbuster
+Summary: a front end for the Trinity bug tracking system
+Group: Development/Utilities
+
+%description -n trinity-kbugbuster
+KBugBuster is a GUI front end for the TDE bug tracking system.
+It allows the user to view and manipulate bug reports and provides a
+variety of options for searching through reports.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kbugbuster
+%{tde_bindir}/kbugbuster
+%{tde_tdelibdir}/kcal_bugzilla.la
+%{tde_tdelibdir}/kcal_bugzilla.so
+%{tde_tdeappdir}/kbugbuster.desktop
+%{tde_datadir}/apps/kbugbuster/
+%{tde_datadir}/icons/hicolor/*/apps/kbugbuster.png
+%{tde_datadir}/icons/locolor/*/apps/kbugbuster.png
+%{tde_datadir}/services/tderesources/kcal/bugzilla.desktop
+%{tde_tdedocdir}/HTML/en/kbugbuster/
+
+%post -n trinity-kbugbuster
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbugbuster
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-tdecachegrind
+Summary: visualisation tool for valgrind profiling output
+Group: Development/Utilities
+
+%description -n trinity-tdecachegrind
+tdecachegrind is a visualisation tool for the profiling data generated
+by calltree, a profiling skin for valgrind. Applications can be
+profiled using calltree without being recompiled, and shared libraries
+and plugin architectures are supported.
+
+For visualising the output from other profiling tools, several converters
+can be found in the tdecachegrind-converters package.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-tdecachegrind
+%{tde_bindir}/tdecachegrind
+%{tde_tdeappdir}/tdecachegrind.desktop
+%{tde_datadir}/apps/tdecachegrind/
+%{tde_datadir}/icons/locolor/*/apps/tdecachegrind.png
+%{tde_datadir}/icons/hicolor/*/apps/tdecachegrind.png
+%{tde_datadir}/mimelnk/application/x-tdecachegrind.desktop
+%{tde_tdedocdir}/HTML/en/tdecachegrind/
+
+%post -n trinity-tdecachegrind
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-tdecachegrind
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-tdecachegrind-converters
+Summary: format converters for tdecachegrind profiling visualisation tool
+Group: Development/Utilities
+Requires: python
+%if 0%{?suse_version} || 0%{?rhel} == 4
+Requires: php
+%else
+Requires: php-cli
+%endif
+
+%description -n trinity-tdecachegrind-converters
+This is a collection of scripts for converting the output from
+different profiling tools into a format that tdecachegrind can use.
+
+tdecachegrind is a visualisation tool for the profiling data generated
+by calltree, a profiling skin for valgrind. Applications can be
+profiled using calltree without being recompiled, and shared libraries
+and plugin architectures are supported.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-tdecachegrind-converters
+%{tde_bindir}/dprof2calltree
+%{tde_bindir}/hotshot2calltree
+%{tde_bindir}/memprof2calltree
+%{tde_bindir}/op2calltree
+%{tde_bindir}/pprof2calltree
+
+##########
+
+%package kfile-plugins
+Summary: Trinity file dialog plugins for software development files
+Group: Environment/Libraries
+
+%description kfile-plugins
+This is a collection of plugins for the TDE file dialog. These plugins
+extend the file dialog to offer advanced meta-information for source files,
+patch files and Qt Linguist data.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files kfile-plugins
+%{tde_tdelibdir}/tdefile_cpp.so
+%{tde_tdelibdir}/tdefile_cpp.la
+%{tde_tdelibdir}/tdefile_diff.so
+%{tde_tdelibdir}/tdefile_diff.la
+%{tde_tdelibdir}/tdefile_ts.so
+%{tde_tdelibdir}/tdefile_ts.la
+%{tde_datadir}/services/tdefile_cpp.desktop
+%{tde_datadir}/services/tdefile_diff.desktop
+%{tde_datadir}/services/tdefile_h.desktop
+%{tde_datadir}/services/tdefile_ts.desktop
+
+##########
+
+%package misc
+Summary: various goodies from the Trinity Software Development Kit
+Group: Development/Libraries
+
+%description misc
+This package contains miscellaneous goodies provided with the official
+TDE release to assist with TDE software development.
+
+Included are:
+- headers to assist with profiling TDE code;
+- a widget style for checking conformity with the TDE/Qt style guide;
+- palettes that match the KDE standard colour palette;
+- a TDE address book plugin that reads the list of TDE CVS accounts.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files misc
+%{tde_tdeincludedir}/kprofilemethod.h
+%{tde_tdelibdir}/kabcformat_kdeaccounts.la
+%{tde_tdelibdir}/kabcformat_kdeaccounts.so
+%{tde_tdelibdir}/plugins/styles/scheck.so
+%{tde_tdelibdir}/plugins/styles/scheck.la
+%{tde_datadir}/apps/tdeabc/formats/kdeaccountsplugin.desktop
+%{tde_datadir}/apps/kstyle/themes/scheck.themerc
+%{tde_datadir}/kdepalettes/
+
+%{tde_libdir}/libkstartperf.so.*
+%{tde_libdir}/libkstartperf.so
+%{tde_libdir}/libkstartperf.la
+%{tde_bindir}/kstartperf
+
+%post misc
+/sbin/ldconfig || :
+
+%postun misc
+/sbin/ldconfig || :
+
+##########
+
+%package scripts
+Summary: a set of useful development scripts for Trinity
+Group: Development/Utilities
+Requires: python
+
+%description scripts
+This package contains a number of scripts which can be used to help in
+developing TDE-based applications. Many of these scripts however are
+not specific to TDE, and in particular there are several general-use
+scripts to help users in working with SVN and CVS repositories.
+
+In addition to these scripts, this package provides:
+- gdb macros for Qt/TDE programming;
+- vim and emacs helper files for Qt/TDE programming;
+- bash and zsh completion controls for TDE apps;
+- valgrind error suppressions for TDE apps.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files scripts
+%{tde_bindir}/adddebug
+%{tde_bindir}/build-progress.sh
+%{tde_bindir}/cheatmake
+%{tde_bindir}/create_cvsignore
+%{tde_bindir}/create_makefile
+%{tde_bindir}/create_makefiles
+%{tde_bindir}/cvs-clean
+%{tde_bindir}/cvs2dist
+%{tde_bindir}/cvsbackport
+%{tde_bindir}/cvsblame
+%{tde_bindir}/cvscheck
+%{tde_bindir}/cvsforwardport
+%{tde_bindir}/cvslastchange
+%{tde_bindir}/cvslastlog
+%{tde_bindir}/cvsrevertlast
+%{tde_bindir}/cvsversion
+%{tde_bindir}/cxxmetric
+%{tde_bindir}/extend_dmalloc
+%{tde_bindir}/extractattr
+%{tde_bindir}/extractrc
+%{tde_bindir}/findmissingcrystal
+%{tde_bindir}/fixkdeincludes
+%{tde_bindir}/fixuifiles
+%{tde_bindir}/includemocs
+%{tde_bindir}/kde-build
+%{tde_bindir}/kdedoc
+%{tde_bindir}/kdekillall
+%{tde_bindir}/kdelnk2desktop.py*
+%{tde_bindir}/kdemangen.pl
+%{tde_bindir}/makeobj
+%{tde_bindir}/noncvslist
+%{tde_bindir}/package_crystalsvg
+%{tde_bindir}/png2mng.pl
+%{tde_bindir}/pruneemptydirs
+%{tde_bindir}/qtdoc
+%{tde_bindir}/zonetab2pot.py*
+%{tde_bindir}/svn2dist
+%{tde_bindir}/svnrevertlast
+%{tde_bindir}/svnforwardport
+%{tde_bindir}/nonsvnlist
+%{tde_bindir}/[kt]desvn-build
+%{tde_bindir}/svnlastlog
+%{tde_bindir}/svnversions
+%{tde_bindir}/create_svnignore
+%{tde_bindir}/svnlastchange
+%{tde_bindir}/colorsvn
+%{tde_bindir}/svnaddcurrentdir
+%{tde_bindir}/svnbackport
+%{tde_bindir}/svngettags
+%{tde_bindir}/svnchangesince
+%{tde_bindir}/svn-clean
+%{tde_datadir}/apps/katepart/syntax/[kt]desvn-buildrc.xml
+%{tde_mandir}/man1/cvsblame.1
+%{tde_mandir}/man1/cvscheck.1
+%{tde_mandir}/man1/cvsversion.1
+%{tde_mandir}/man1/kde-build.1
+%{tde_mandir}/man1/includemocs.1
+%{tde_mandir}/man1/noncvslist.1
+%{tde_mandir}/man1/[kt]desvn-build.1
+%{tde_tdedocdir}/HTML/en/[kt]desvn-build/
+#scripts/kde-devel-gdb /opt/trinity/share/tdesdk-scripts
+#scripts/kde-devel-vim.vim /opt/trinity/share/tdesdk-scripts
+#scripts/kde-emacs/*.el /opt/trinity/share/emacs/site-lisp/tdesdk-scripts
+#scripts/kde.supp /opt/trinity/lib/valgrind
+#scripts/completions /opt/trinity/share/tdesdk-scripts
+
+#debian/desktop-i18n/createdesktop.pl /opt/trinity/lib/kubuntu-desktop-i18n/
+#debian/desktop-i18n/findfiles /opt/trinity/lib/kubuntu-desktop-i18n/
+#debian/desktop-i18n/msgsplit /opt/trinity/lib/kubuntu-desktop-i18n/
+
+%if "%{?tde_prefix}" != "/usr"
+%{tde_bindir}/licensecheck
+%else
+%exclude %{tde_bindir}/licensecheck
+%endif
+
+##########
+
+%package -n trinity-kmtrace
+Summary: a Trinity memory leak tracer
+Group: Development/Utilities
+Requires: less
+
+%description -n trinity-kmtrace
+KMtrace is a TDE tool to assist with malloc debugging using glibc's
+"mtrace" functionality.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kmtrace
+%{tde_bindir}/demangle
+%{tde_bindir}/kminspector
+%{tde_bindir}/kmmatch
+%{tde_bindir}/kmtrace
+%{tde_tdeincludedir}/ktrace.h
+%{tde_libdir}/kmtrace/libktrace.la
+%{tde_libdir}/kmtrace/libktrace.so
+%{tde_libdir}/kmtrace/libktrace_s.a
+%{tde_datadir}/apps/kmtrace/kde.excludes
+
+##########
+
+%package -n trinity-kompare
+Summary: a Trinity GUI for viewing differences between files
+Group: Development/Utilities
+
+%description -n trinity-kompare
+Kompare is a graphical user interface for viewing the differences between
+files. It can compare two documents, create a diff file, display a diff
+file and/or blend a diff file back into the original documents.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kompare
+%{tde_bindir}/kompare
+%{tde_libdir}/libkompareinterface.la
+%{tde_libdir}/libkompareinterface.so
+%{tde_libdir}/libkompareinterface.so.*
+%{tde_tdelibdir}/libkomparenavtreepart.la
+%{tde_tdelibdir}/libkomparenavtreepart.so
+%{tde_tdelibdir}/libkomparepart.la
+%{tde_tdelibdir}/libkomparepart.so
+%{tde_tdeappdir}/kompare.desktop
+%{tde_datadir}/apps/kompare/komparepartui.rc
+%{tde_datadir}/apps/kompare/kompareui.rc
+%{tde_datadir}/services/komparenavtreepart.desktop
+%{tde_datadir}/services/komparepart.desktop
+%{tde_datadir}/servicetypes/komparenavigationpart.desktop
+%{tde_datadir}/servicetypes/kompareviewpart.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kompare.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kompare.svgz
+%{tde_tdedocdir}/HTML/en/kompare/
+
+%post -n trinity-kompare
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kompare
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kspy
+Summary: examines the internal state of a Qt/TDE app
+Group: Environment/Libraries
+Requires: trinity-tdelibs-devel
+
+%description -n trinity-kspy
+KSpy is a tiny library which can be used to graphically display
+the QObjects in use by a Qt/TDE app. In addition to the object tree,
+you can also view the properties, signals and slots of any QObject.
+
+Basically it provides much the same info as QObject::dumpObjectTree() and
+QObject::dumpObjectInfo(), but in a much more convenient form. KSpy has
+minimal overhead for the application, because the kspy library is
+loaded dynamically using KLibLoader.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kspy
+%{tde_tdeincludedir}/kspy.h
+%{tde_libdir}/libkspy.la
+%{tde_libdir}/libkspy.so
+%{tde_libdir}/libkspy.so.*
+
+%post -n trinity-kspy
+/sbin/ldconfig || :
+
+%postun -n trinity-kspy
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kuiviewer
+Summary: viewer for Qt Designer user interface files
+Group: Development/Utilities
+
+%description -n trinity-kuiviewer
+KUIViewer is a utility to display and test the user interface (.ui) files
+generated by Qt Designer. The interfaces can be displayed in a variety of
+different widget styles.
+
+The Qt Designer itself is in the package qt3-designer.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kuiviewer
+%{tde_bindir}/kuiviewer
+%{tde_tdelibdir}/libkuiviewerpart.so
+%{tde_tdelibdir}/libkuiviewerpart.la
+%{tde_tdelibdir}/quithumbnail.so
+%{tde_tdelibdir}/quithumbnail.la
+%{tde_tdeappdir}/kuiviewer.desktop
+%{tde_datadir}/apps/kuiviewer/kuiviewerui.rc
+%{tde_datadir}/apps/kuiviewerpart/kuiviewer_part.rc
+%{tde_datadir}/icons/hicolor/*/apps/kuiviewer.png
+%{tde_datadir}/icons/locolor/*/apps/kuiviewer.png
+%{tde_datadir}/services/designerthumbnail.desktop
+%{tde_datadir}/services/kuiviewer_part.desktop
+
+%post -n trinity-kuiviewer
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+%postun -n trinity-kuiviewer
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-libcvsservice0
+Summary: DCOP service for accessing CVS repositories
+Group: Environment/Libraries
+Requires: cvs
+
+%description -n trinity-libcvsservice0
+This library provides a DCOP service for accessing and working with
+remote CVS repositories. Applications may link with this library to
+access the DCOP service directly from C++. Alternatively, scripts may
+access the service using the standard "dcop" command-line tool.
+
+DCOP is the Desktop Communication Protocol used throughout TDE.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-libcvsservice0
+%{tde_bindir}/cvsaskpass
+%{tde_bindir}/cvsservice
+%{tde_libdir}/libcvsservice.so.*
+%{tde_libdir}/lib[kt]deinit_cvsaskpass.so
+%{tde_libdir}/lib[kt]deinit_cvsservice.so
+%{tde_tdelibdir}/cvsaskpass.la
+%{tde_tdelibdir}/cvsaskpass.so
+%{tde_tdelibdir}/cvsservice.la
+%{tde_tdelibdir}/cvsservice.so
+%{tde_datadir}/services/cvsservice.desktop
+
+%post -n trinity-libcvsservice0
+/sbin/ldconfig || :
+
+%postun -n trinity-libcvsservice0
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libcvsservice-devel
+Summary: development files for CVS DCOP service
+Group: Development/Libraries
+Requires: trinity-libcvsservice0 = %{version}-%{release}
+
+%description -n trinity-libcvsservice-devel
+The library libcvsservice provides a DCOP service for accessing and
+working with remote CVS repositories. Applications may link with this
+library to access the DCOP service directly from C++. Alternatively,
+scripts may access the service using the standard "dcop" command-line
+tool.
+
+Development files for libcvsservice are included in this package.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-libcvsservice-devel
+%{tde_tdeincludedir}/cvsjob_stub.h
+%{tde_tdeincludedir}/cvsservice_stub.h
+%{tde_tdeincludedir}/repository_stub.h
+%{tde_libdir}/libcvsservice.la
+%{tde_libdir}/libcvsservice.so
+%{tde_libdir}/lib[kt]deinit_cvsaskpass.la
+%{tde_libdir}/lib[kt]deinit_cvsservice.la
+%{tde_datadir}/cmake/cervisia.cmake
+
+%post -n trinity-libcvsservice-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libcvsservice-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-poxml
+Summary: tools for using PO-files to translate DocBook XML files
+Group: Development/Utilities
+
+%description -n trinity-poxml
+This is a collection of tools that facilitate translating DocBook XML
+files using gettext message files (PO-files).
+
+Also included are some miscellaneous command-line utilities for
+manipulating DocBook XML files, PO-files and PO-template files.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-poxml
+%{tde_bindir}/po2xml
+%{tde_bindir}/split2po
+%{tde_bindir}/swappo
+%{tde_bindir}/transxx
+%{tde_bindir}/xml2pot
+
+##########
+
+%package -n trinity-umbrello
+Summary: UML modelling tool and code generator
+Group: Development/Utilities
+
+%description -n trinity-umbrello
+Umbrello UML Modeller is a Unified Modelling Language editor for TDE.
+With UML you can create diagrams of software and other systems in an
+industry standard format. Umbrello can also generate code from your
+UML diagrams in a number of programming languages.
+
+The program supports class diagrams, sequence diagrams, collaboration
+diagrams, use case diagrams, state diagrams, activity diagrams, component
+diagrams and deployment diagrams.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-umbrello
+%{tde_bindir}/umbodoc
+%{tde_bindir}/umbrello
+%{tde_tdeappdir}/umbrello.desktop
+%{tde_datadir}/apps/umbrello/
+%{tde_datadir}/icons/crystalsvg/*/actions/umbrello_*.png
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/umbrellofile.png
+%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/umbrellofile.svgz
+%{tde_datadir}/icons/hicolor/*/apps/umbrello.png
+%{tde_datadir}/icons/hicolor/scalable/apps/umbrello.svgz
+%{tde_datadir}/icons/hicolor/*/mimetypes/umbrellofile.png
+%{tde_datadir}/mimelnk/application/x-umbrello.desktop
+%{tde_tdedocdir}/HTML/en/umbrello/
+
+%post -n trinity-umbrello
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-umbrello
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%if 0%{?build_kioslave}
+
+%package tdeio-plugins
+Summary: subversion ioslave for Trinity
+Group: Environment/Libraries
+Requires: subversion
+
+Obsoletes: trinity-tdesdk-kio-plugins < %{version}-%{release}
+Provides: trinity-tdesdk-kio-plugins = %{version}-%{release}
+
+%description tdeio-plugins
+This package provides easy access to remote SVN repositories from within
+Konqueror, and TDE generally, by browsing them as if they were a
+filesystem, using URLs like svn://hostname/path, or svn+ssh://, etc.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files tdeio-plugins
+%{tde_bindir}/tdeio_svn_helper
+%{tde_tdelibdir}/kded_ksvnd.la
+%{tde_tdelibdir}/kded_ksvnd.so
+%{tde_tdelibdir}/tdeio_svn.la
+%{tde_tdelibdir}/tdeio_svn.so
+%{tde_datadir}/apps/konqueror/servicemenus/subversion_toplevel.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/subversion.desktop
+%{tde_datadir}/services/kded/ksvnd.desktop
+%{tde_datadir}/services/svn+file.protocol_tdesdk
+%{tde_datadir}/services/svn+http.protocol_tdesdk
+%{tde_datadir}/services/svn+https.protocol_tdesdk
+%{tde_datadir}/services/svn+ssh.protocol_tdesdk
+%{tde_datadir}/services/svn.protocol_tdesdk
+%{tde_datadir}/services/svn+file.protocol
+%{tde_datadir}/services/svn+http.protocol
+%{tde_datadir}/services/svn+https.protocol
+%{tde_datadir}/services/svn+ssh.protocol
+%{tde_datadir}/services/svn.protocol
+%{_sysconfdir}/alternatives/svn+file.protocol
+%{_sysconfdir}/alternatives/svn+http.protocol
+%{_sysconfdir}/alternatives/svn+https.protocol
+%{_sysconfdir}/alternatives/svn+ssh.protocol
+%{_sysconfdir}/alternatives/svn.protocol
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_switch.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_merge.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_branch.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_remove.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_add.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_status.png
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_add.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_status.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_remove.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_switch.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_branch.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_merge.svgz
+
+%post tdeio-plugins
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+for proto in svn+file svn+http svn+https svn+ssh svn; do
+ update-alternatives --install \
+ %{tde_datadir}/services/${proto}.protocol \
+ ${proto}.protocol \
+ %{tde_datadir}/services/${proto}.protocol_tdesdk \
+ 10
+done
+
+%postun tdeio-plugins
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+%preun tdeio-plugins
+if [ $1 -eq 0 ]; then
+ for proto in svn+file svn+http svn+https svn+ssh svn; do
+ update-alternatives --remove \
+ ${proto}.protocol \
+ %{tde_datadir}/services/${proto}.protocol_tdesdk
+ done
+fi
+
+%endif
+
+##########
+
+%package -n trinity-tdeunittest
+Summary: unit testing library for Trinity
+Group: Development/Utilities
+
+Obsoletes: trinity-kunittest < %{version}-%{release}
+Provides: trinity-kunittest = %{version}-%{release}
+
+%description -n trinity-tdeunittest
+tdeunittest is a small library that facilitates the writing of tests for
+TDE developers. There are two ways to use the tdeunittest library. One is
+to create dynamically loadable modules and use the tdeunittestmodrunner or
+tdeunittestguimodrunner programs to run the tests. The other is to use the
+libraries to create your own testing application.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-tdeunittest
+%{tde_bindir}/tdeunittest
+%{tde_bindir}/tdeunittest_debughelper
+%{tde_bindir}/tdeunittestmod
+%{tde_bindir}/tdeunittestguimodrunner
+%{tde_libdir}/libtdeunittestgui.la
+%{tde_libdir}/libtdeunittestgui.so
+%{tde_libdir}/libtdeunittestgui.so.*
+%{tde_tdeincludedir}/tdeunittest/runnergui.h
+
+%post -n trinity-tdeunittest
+/sbin/ldconfig || :
+
+%postun -n trinity-tdeunittest
+/sbin/ldconfig || :
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-kbabel-devel = %{version}-%{release}
+
+Obsoletes: trinity-kdesdk-devel < %{version}-%{release}
+Provides: trinity-kdesdk-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export LD_LIBRARY_PATH="%{tde_libdir}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+
+%cmake \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DMAN_INSTALL_DIR=%{tde_mandir} \
+ -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DWITH_DBSEARCHENGINE=ON \
+ -DWITH_KCAL=ON \
+ -DBUILD_ALL=ON \
+ %{!?build_kioslave:-DBUILD_KIOSLAVE=OFF} \
+ ..
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+
+%__make install DESTDIR=%{?buildroot} -C build
+
+# make symlinks relative
+if [ -d %{buildroot}%{tde_tdedocdir}/HTML/en ]; then
+ pushd %{buildroot}%{tde_tdedocdir}/HTML/en
+ for i in *; do
+ if [ -d $i -a -L $i/common ]; then
+ rm -f $i/common
+ ln -nfs ../common $i
+ fi
+ done
+ popd
+fi
+
+# Installs kdepalettes
+%__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes
+%__install -D -m 644 kdepalettes/KDE_Gimp %{?buildroot}%{tde_datadir}/kdepalettes
+%__install -D -m 644 kdepalettes/README %{?buildroot}%{tde_datadir}/kdepalettes
+
+# Installs SVN protocols as alternatives
+%if 0%{?build_kioslave}
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesdk
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesdk
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesdk
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesdk
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesdk
+
+%__ln_s -f /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol
+%__ln_s -f /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol
+%__ln_s -f /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol
+%__ln_s -f /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol
+%__ln_s -f /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol
+
+%__mkdir_p %{?buildroot}/etc/alternatives
+%__ln_s -f %{tde_datadir}/services/svn+file.protocol %{?buildroot}/etc/alternatives/svn+file.protocol
+%__ln_s -f %{tde_datadir}/services/svn+http.protocol %{?buildroot}/etc/alternatives/svn+http.protocol
+%__ln_s -f %{tde_datadir}/services/svn+https.protocol %{?buildroot}/etc/alternatives/svn+https.protocol
+%__ln_s -f %{tde_datadir}/services/svn+ssh.protocol %{?buildroot}/etc/alternatives/svn+ssh.protocol
+%__ln_s -f %{tde_datadir}/services/svn.protocol %{?buildroot}/etc/alternatives/svn.protocol
+%endif
+
+# Removes useless stuff
+%__rm -f %{?buildroot}%{tde_datadir}/apps/kapptemplate/admin/debianrules
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
+
+* Wed Nov 07 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-2
+- Fix various cmake issues [Bug #1262]
+
diff --git a/redhat/tdetoys/tdetoys-14.0.0.spec b/redhat/tdetoys/tdetoys-14.0.0.spec
new file mode 100644
index 000000000..1a7825e0b
--- /dev/null
+++ b/redhat/tdetoys/tdetoys-14.0.0.spec
@@ -0,0 +1,443 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Summary: Trinity Desktop Environment - Toys and Amusements
+Name: trinity-tdetoys
+Group: Amusements/Graphics
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: desktop-file-utils
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: gettext
+
+Obsoletes: trinity-kdetoys < %{version}-%{release}
+Provides: trinity-kdetoys = %{version}-%{release}
+
+# Metapackage
+Requires: trinity-amor = %{version}-%{release}
+Requires: trinity-eyesapplet = %{version}-%{release}
+Requires: trinity-fifteenapplet = %{version}-%{release}
+Requires: trinity-kmoon = %{version}-%{release}
+Requires: trinity-kodo = %{version}-%{release}
+Requires: trinity-kteatime = %{version}-%{release}
+Requires: trinity-ktux = %{version}-%{release}
+Requires: trinity-kweather = %{version}-%{release}
+Requires: trinity-kworldclock = %{version}-%{release}
+
+
+%description
+Includes:
+* amor: Amusing Misuse Of Resources put's comic figures above your windows
+* eyesapplet: a kicker applet similar to XEyes
+* fifteenapplet: kicker applet, order 15 pieces in a 4x4 square by moving them
+* kmoon: system tray applet showing the moon phase
+* kodo: mouse movement meter
+* kteatime: system tray applet that makes sure your tea doesn't get too strong
+* ktux: Tux-in-a-Spaceship screen saver
+* kweather: kicker applet that will display the current weather outside
+* kworldwatch: application and kicker applet showing daylight area on the world
+ globe
+
+NOTE: kicker applets and screen savers require kdebase to be installed,
+and user to be logged-in to TDE.
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README
+
+##########
+
+%package -n trinity-amor
+Summary: a Trinity creature for your desktop
+Group: Amusements/Graphics
+
+%description -n trinity-amor
+AMOR stands for Amusing Misuse Of Resources. It provides several different
+characters who prance around your X screen doing tricks and giving you tips.
+
+Note that AMOR will only work with some window managers. Both KWin (the
+KDE window manager) and Metacity (a GTK2 window manager) are supported.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-amor
+%defattr(-,root,root,-)
+%{tde_bindir}/amor
+%{tde_datadir}/apps/amor/
+%{tde_tdeappdir}/amor.desktop
+%{tde_datadir}/icons/hicolor/*/apps/amor.png
+%{tde_tdedocdir}/HTML/en/amor/
+%doc AUTHORS COPYING README
+
+%post -n trinity-amor
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-amor
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-eyesapplet
+Summary: eyes applet for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-eyesapplet
+An applet for the KDE panel containing a pair of eyes that follow your mouse
+around the screen.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-eyesapplet
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/eyes_panelapplet.la
+%{tde_tdelibdir}/eyes_panelapplet.so
+%{tde_datadir}/apps/kicker/applets/eyesapplet.desktop
+%doc AUTHORS COPYING README
+
+##########
+
+%package -n trinity-fifteenapplet
+Summary: fifteen pieces puzzle for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-fifteenapplet
+An applet for the KDE panel that lets you play the Fifteen Pieces
+sliding block puzzle. You have to order 15 pieces in a 4x4 square by
+moving them around.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-fifteenapplet
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/fifteen_panelapplet.la
+%{tde_tdelibdir}/fifteen_panelapplet.so
+%{tde_datadir}/apps/kicker/applets/kfifteenapplet.desktop
+%doc AUTHORS COPYING README
+
+##########
+
+%package -n trinity-kmoon
+Summary: moon phase indicator for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-kmoon
+An applet for the KDE panel that displays the current phase of the moon.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-kmoon
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kmoon_panelapplet.la
+%{tde_tdelibdir}/kmoon_panelapplet.so
+%{tde_datadir}/apps/kicker/applets/kmoonapplet.desktop
+%{tde_datadir}/apps/kmoon/
+%{tde_datadir}/icons/hicolor/*/apps/kmoon.png
+%{tde_tdedocdir}/HTML/en/kmoon/
+%doc AUTHORS COPYING README
+
+%post -n trinity-kmoon
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+
+##########
+
+%package -n trinity-kodo
+Summary: mouse odometer for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-kodo
+KOdometer measures your desktop mileage. It tracks the movement of your mouse
+pointer across your desktop and renders it in inches/feet/miles! It can
+do cm/metres/km too. Its most exciting feature is the tripometer.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-kodo
+%defattr(-,root,root,-)
+%{tde_bindir}/kodo
+%{tde_tdeappdir}/kodo.desktop
+%{tde_datadir}/apps/kodo/numbers.png
+%{tde_datadir}/icons/hicolor/*/apps/kodo.png
+%{tde_tdedocdir}/HTML/en/kodo/
+%doc AUTHORS COPYING README
+
+%post -n trinity-kodo
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kodo
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kteatime
+Summary: Trinity utility for making a fine cup of tea
+Group: Amusements/Graphics
+
+%description -n trinity-kteatime
+KTeaTime is a handy timer for steeping tea. No longer will you have to
+guess at how long it takes for your tea to be ready. Simply select the
+type of tea you have, and it will alert you when the tea is ready to
+drink.
+
+KTeaTime sits in the Trinity system tray.
+
+Please note that KTeaTime is written explicitly for Trinity. If you are
+using a non-KDE window manager or desktop environment then it is quite
+possible that KTeaTime will not work on your system.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-kteatime
+%defattr(-,root,root,-)
+%{tde_bindir}/kteatime
+%{tde_tdeappdir}/kteatime.desktop
+%{tde_datadir}/apps/kteatime/
+%{tde_datadir}/icons/hicolor/*/apps/kteatime.png
+%{tde_tdedocdir}/HTML/en/kteatime/
+%doc AUTHORS COPYING README
+
+%post -n trinity-kteatime
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kteatime
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ktux
+Summary: Tux screensaver for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-ktux
+A neat Tux-in-a-spaceship screensaver for the K Desktop Environment (KDE).
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-ktux
+%defattr(-,root,root,-)
+%{tde_bindir}/ktux
+%{tde_datadir}/apps/ktux/
+%{tde_datadir}/applnk/System/ScreenSavers/ktux.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ktux.png
+%doc AUTHORS COPYING README
+
+%post -n trinity-ktux
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+
+%postun -n trinity-ktux
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+
+##########
+
+%package -n trinity-kweather
+Summary: weather display applet for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-kweather
+An applet for the KDE panel that displays your area's current weather.
+Information shown includes the temperature, wind speed, air pressure
+and more. By pressing a button a full weather report can be obtained.
+
+KWeather also provides a weather service that can track multiple weather
+stations and provide this information to other applications, including
+Konqueror's sidebar and Kontact's summary page.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-kweather
+%defattr(-,root,root,-)
+%{tde_bindir}/kweatherservice
+%{tde_bindir}/kweatherreport
+%{tde_libdir}/lib[kt]deinit_kweatherreport.so
+%{tde_libdir}/lib[kt]deinit_kweatherreport.la
+%{tde_tdelibdir}/kcm_weather.so
+%{tde_tdelibdir}/kcm_weather.la
+%{tde_tdelibdir}/kcm_weatherservice.so
+%{tde_tdelibdir}/kcm_weatherservice.la
+%{tde_tdelibdir}/kweatherreport.so
+%{tde_tdelibdir}/kweatherreport.la
+%{tde_tdelibdir}/weather_panelapplet.la
+%{tde_tdelibdir}/weather_panelapplet.so
+%{tde_datadir}/apps/kicker/applets/kweather.desktop
+%{tde_datadir}/apps/kweather/
+%{tde_datadir}/apps/kweatherservice/stations.dat
+%{tde_datadir}/apps/kweatherservice/weather_stations.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kweather.png
+%{tde_datadir}/services/kweatherservice.desktop
+%{tde_datadir}/services/kcmweather.desktop
+%{tde_datadir}/services/kcmweatherservice.desktop
+%{tde_tdedocdir}/HTML/en/kweather/
+%doc AUTHORS COPYING README
+
+%post -n trinity-kweather
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kweather
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kworldclock
+Summary: earth watcher for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-kworldclock
+Displays where in the world it is light and dark depending on time, as
+well as offering the time in all of the major cities of the world.
+This can be run standalone, as an applet in the KDE panel or as a
+desktop background.
+
+Additional kworldclock themes are available in the tdeartwork-misc package.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-kworldclock
+%defattr(-,root,root,-)
+%{tde_bindir}/kworldclock
+%{tde_tdelibdir}/ww_panelapplet.la
+%{tde_tdelibdir}/ww_panelapplet.so
+%{tde_tdeappdir}/kworldclock.desktop
+%{tde_datadir}/apps/kdesktop/programs/kdeworld.desktop
+%{tde_datadir}/apps/kicker/applets/kwwapplet.desktop
+%{tde_datadir}/apps/kworldclock/
+%{tde_datadir}/icons/hicolor/*/apps/kworldclock.png
+%{tde_tdedocdir}/HTML/en/kworldclock/
+%doc AUTHORS COPYING README
+
+%post -n trinity-kworldclock
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kworldclock
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+
+%__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 QTINC QTLIB
+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 \
+ --enable-new-ldflags \
+ --enable-closure \
+ --disable-debug --disable-warnings \
+ --disable-dependency-tracking --enable-final
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf "%{buildroot}"
+%__make install DESTDIR=%{buildroot}
+
+# replace absolute symlink with relative
+ln -nfs tips-en %{buildroot}%{tde_datadir}/apps/amor/tips
+
+## File lists
+# HTML (1.0)
+HTML_DIR=$(tde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# Useless include file from Amor
+%__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
+
diff --git a/redhat/tdeutils/tdeutils-14.0.0.spec b/redhat/tdeutils/tdeutils-14.0.0.spec
new file mode 100644
index 000000000..12d9ede37
--- /dev/null
+++ b/redhat/tdeutils/tdeutils-14.0.0.spec
@@ -0,0 +1,1092 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_sbindir %{tde_prefix}/sbin
+
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-tdeutils
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+License: GPL
+Summary: TDE Utilities
+Group: Applications/System
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Source1: klaptop_acpi_helper.pam
+Source2: klaptop_acpi_helper.console
+Source3: kcmlaptoprc
+
+Patch1: kdeutils-3.5.13.2-rhel4.patch
+
+Obsoletes: trinity-kdeutils < %{version}-%{release}
+Provides: trinity-kdeutils = %{version}-%{release}
+Obsoletes: trinity-kdeutils-extras < %{version}-%{release}
+Provides: trinity-kdeutils-extras = %{version}-%{release}
+Obsoletes: tdeutils < %{version}-%{release}
+Provides: tdeutils = %{version}-%{release}
+
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: autoconf automake libtool m4
+BuildRequires: gettext
+BuildRequires: net-snmp-devel
+BuildRequires: python-devel
+BuildRequires: gmp-devel
+
+%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5
+BuildRequires: libXScrnSaver-devel
+BuildRequires: libXtst-devel
+%endif
+
+#%if 0%{?fedora}
+#BuildRequires: xmms-devel
+#%endif
+
+# KLAPTOPDAEMON
+# Not for RHEL 4!
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define build_klaptopdaemon 1
+%endif
+
+# XSCREENSAVER support
+# Not for RHEL 4!
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_xscreensaver 1
+%endif
+
+# CONSOLEHELPER (usermode) support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_consolehelper 1
+
+# Avoids relinking, which breaks consolehelper
+%define dont_relink 1
+%endif
+
+
+Requires: trinity-ark = %{version}-%{release}
+Requires: trinity-kcalc = %{version}-%{release}
+Requires: trinity-kcharselect = %{version}-%{release}
+Requires: trinity-kdelirc = %{version}-%{release}
+Requires: trinity-tdessh = %{version}-%{release}
+Requires: trinity-kdf = %{version}-%{release}
+Requires: trinity-kedit = %{version}-%{release}
+Requires: trinity-kfloppy = %{version}-%{release}
+Requires: trinity-kgpg = %{version}-%{release}
+Requires: trinity-khexedit = %{version}-%{release}
+Requires: trinity-kjots = %{version}-%{release}
+%{?build_klaptopdaemon:Requires: trinity-klaptopdaemon = %{version}-%{release}}
+Requires: trinity-kmilo = %{version}-%{release}
+Requires: trinity-kmilo-legacy = %{version}-%{release}
+Requires: trinity-kregexpeditor = %{version}-%{release}
+Requires: trinity-ksim = %{version}-%{release}
+Requires: trinity-ktimer = %{version}-%{release}
+Requires: trinity-tdewalletmanager = %{version}-%{release}
+Requires: trinity-superkaramba = %{version}-%{release}
+
+
+%description
+Utilities for the Trinity Desktop Environment, including:
+ * ark (tar/gzip archive manager)
+ * kcalc (scientific calculator)
+ * kcharselect (character selector)
+ * kdepasswd (change password)
+ * tdessh (ssh front end)
+ * kdf (view disk usage)
+ * kedit (simple text editor)
+ * kfloppy (floppy formatting tool)
+ * kgpg (gpg gui)
+ * khexedit (hex editor)
+ * kjots (note taker)
+%if 0%{?build_klaptopdaemon}
+ * klaptopdaemon (battery monitoring and management for laptops);
+%endif
+ * kmilo
+ * kregexpeditor (regular expression editor)
+ * ksim (system information monitor);
+ * ktimer (task scheduler)
+ * kwikdisk (removable media utility)
+
+%files
+
+##########
+
+%package -n trinity-ark
+Summary: graphical archiving tool for Trinity
+Group: Applications/Utilities
+#Requires: ncompress
+Requires: unzip
+Requires: zip
+#Requires: zoo
+Requires: bzip2
+#Requires: p7zip
+#Requires: xz
+#Requires: lzma
+#Requires: rar, unrar
+
+%description -n trinity-ark
+Ark is a graphical program for managing various archive formats within the
+TDE environment. Archives can be viewed, extracted, created and modified
+from within Ark.
+
+The program can handle various formats such as tar, gzip, bzip2, zip, rar and
+lha (if appropriate command-line programs are installed).
+
+Ark can work closely with Konqueror in the KDE environment to handle archives,
+if you install the Konqueror Integration plugin available in the konq-plugins
+package.
+
+%files -n trinity-ark
+%defattr(-,root,root,-)
+%{tde_bindir}/ark
+%{tde_tdelibdir}/ark.la
+%{tde_tdelibdir}/ark.so
+%{tde_tdelibdir}/libarkpart.la
+%{tde_tdelibdir}/libarkpart.so
+%{tde_libdir}/lib[kt]deinit_ark.so
+%{tde_tdeappdir}/ark.desktop
+%{tde_datadir}/apps/ark/
+%{tde_datadir}/config.kcfg/ark.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/ark.png
+%{tde_datadir}/icons/hicolor/scalable/apps/ark.svgz
+%{tde_datadir}/services/ark_part.desktop
+%{tde_tdedocdir}/HTML/en/ark/
+
+%post -n trinity-ark
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ark
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kcalc
+Summary: calculator for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kcalc
+KCalc is TDE's scientific calculator.
+
+It provides:
+* trigonometric functions, logic operations, and statistical calculations
+* easy cut and paste of numbers from/into its display
+* a results-stack which lets you conveniently recall previous results
+* configurable precision, and number of digits after the period
+
+%files -n trinity-kcalc
+%defattr(-,root,root,-)
+%{tde_bindir}/kcalc
+%{tde_tdelibdir}/kcalc.la
+%{tde_tdelibdir}/kcalc.so
+%{tde_libdir}/lib[kt]deinit_kcalc.so
+%{tde_tdeappdir}/kcalc.desktop
+%{tde_datadir}/apps/kcalc/
+%{tde_datadir}/apps/tdeconf_update/kcalcrc.upd
+%{tde_datadir}/config.kcfg/kcalc.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kcalc.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kcalc.svgz
+%{tde_tdedocdir}/HTML/en/kcalc/
+
+%post -n trinity-kcalc
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kcalc
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kcharselect
+Summary: character selector for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kcharselect
+A character set selector for TDE.
+
+%files -n trinity-kcharselect
+%defattr(-,root,root,-)
+%{tde_bindir}/kcharselect
+%{tde_tdelibdir}/kcharselect_panelapplet.la
+%{tde_tdelibdir}/kcharselect_panelapplet.so
+%{tde_tdeappdir}/KCharSelect.desktop
+%{tde_datadir}/apps/kcharselect/
+%{tde_datadir}/apps/tdeconf_update/kcharselect.upd
+%{tde_datadir}/apps/kicker/applets/kcharselectapplet.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kcharselect.png
+%{tde_tdedocdir}/HTML/en/kcharselect/
+
+%post -n trinity-kcharselect
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kcharselect
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kdelirc
+Summary: infrared control for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kdelirc
+This is a frontend for the LIRC suite to use infrared devices with TDE.
+
+%files -n trinity-kdelirc
+%defattr(-,root,root,-)
+%{tde_bindir}/irkick
+%{tde_tdelibdir}/irkick.la
+%{tde_tdelibdir}/irkick.so
+%{tde_tdelibdir}/kcm_kcmlirc.la
+%{tde_tdelibdir}/kcm_kcmlirc.so
+%{tde_libdir}/lib[kt]deinit_irkick.so
+%{tde_tdeappdir}/irkick.desktop
+%{tde_tdeappdir}/kcmlirc.desktop
+%{tde_datadir}/apps/irkick/
+%{tde_datadir}/apps/profiles/tdelauncher.profile.xml
+%{tde_datadir}/apps/profiles/konqueror.profile.xml
+%{tde_datadir}/apps/profiles/noatun.profile.xml
+%{tde_datadir}/apps/profiles/profile.dtd
+%{tde_datadir}/apps/remotes/RM-0010.remote.xml
+%{tde_datadir}/apps/remotes/cimr100.remote.xml
+%{tde_datadir}/apps/remotes/hauppauge.remote.xml
+%{tde_datadir}/apps/remotes/remote.dtd
+%{tde_datadir}/apps/remotes/sherwood.remote.xml
+%{tde_datadir}/apps/remotes/sonytv.remote.xml
+%{tde_datadir}/autostart/irkick.desktop
+%{tde_datadir}/icons/hicolor/*/apps/irkick.png
+%{tde_datadir}/icons/locolor/*/apps/irkick.png
+%{tde_tdedocdir}/HTML/en/irkick/
+%{tde_tdedocdir}/HTML/en/kcmlirc/
+
+%post -n trinity-kdelirc
+/sbin/ldconfig
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kdelirc
+/sbin/ldconfig
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-tdessh
+Summary: ssh frontend for Trinity
+Group: Applications/Utilities
+%if 0%{?suse_version}
+Requires: openssh
+%else
+Requires: openssh-clients
+%endif
+
+Obsoletes: trinity-kdessh < %{version}-%{release}
+Provides: trinity-kdessh = %{version}-%{release}
+
+%description -n trinity-tdessh
+This package contains TDE's frontend for ssh.
+
+%files -n trinity-tdessh
+%defattr(-,root,root,-)
+%{tde_bindir}/tdessh
+
+##########
+
+%package -n trinity-kdf
+Summary: disk space utility for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kdf
+KDiskFree displays the available file devices (hard drive partitions, floppy
+and CD drives, etc.) along with information on their capacity, free space, type
+and mount point. It also allows you to mount and unmount drives and view them
+in a file manager.
+
+%files -n trinity-kdf
+%defattr(-,root,root,-)
+%{tde_bindir}/kdf
+%{tde_bindir}/kwikdisk
+%{tde_tdelibdir}/kcm_kdf.la
+%{tde_tdelibdir}/kcm_kdf.so
+%{tde_tdeappdir}/kcmdf.desktop
+%{tde_tdeappdir}/kdf.desktop
+%{tde_tdeappdir}/kwikdisk.desktop
+%{tde_datadir}/apps/kdf/
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png
+%{tde_datadir}/icons/hicolor/*/apps/kdf.png
+%{tde_datadir}/icons/hicolor/*/apps/kwikdisk.png
+%{tde_tdedocdir}/HTML/en/kdf/
+%{tde_tdedocdir}/HTML/en/kinfocenter/blockdevices/
+
+%post -n trinity-kdf
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kdf
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kedit
+Summary: basic text editor for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kedit
+A simple text editor for TDE.
+
+It can be used with Konqueror for text and configuration file browsing.
+KEdit also serves well for creating small plain text documents. KEdit's
+functionality will intentionally remain rather limited to ensure a
+reasonably fast start.
+
+%files -n trinity-kedit
+%defattr(-,root,root,-)
+%{tde_bindir}/kedit
+%{tde_tdelibdir}/kedit.la
+%{tde_tdelibdir}/kedit.so
+%{tde_libdir}/lib[kt]deinit_kedit.so
+%{tde_tdeappdir}/KEdit.desktop
+%{tde_datadir}/apps/kedit/keditui.rc
+%{tde_datadir}/config.kcfg/kedit.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kedit.png
+%{tde_tdedocdir}/HTML/en/kedit/
+
+%post -n trinity-kedit
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kedit
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kfloppy
+Summary: floppy formatter for Trinity
+Group: Applications/Utilities
+Requires: dosfstools
+
+%description -n trinity-kfloppy
+Kfloppy is a utility that provides a straightforward graphical means
+to format 3.5" and 5.25" floppy disks.
+
+%files -n trinity-kfloppy
+%defattr(-,root,root,-)
+%{tde_bindir}/kfloppy
+%{tde_tdeappdir}/KFloppy.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/floppy_format.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kfloppy.png
+%{tde_tdedocdir}/HTML/en/kfloppy/
+
+%post -n trinity-kfloppy
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kfloppy
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kgpg
+Summary: GnuPG frontend for Trinity
+Group: Applications/Utilities
+Requires: trinity-konsole
+Requires: gnupg
+
+%description -n trinity-kgpg
+Kgpg is a frontend for GNU Privacy Guard (GnuPG). It provides file
+encryption, file decryption and key management.
+
+Features:
+* an editor mode for easily and quickly encrypting or decrypting a file
+ or message which is typed, copied, pasted or dragged into the editor,
+ or which is double-clicked in the file manager
+* Konqueror integration for encrypting or decrypting files
+* a panel applet for encrypting / decrypting files or the clipboard
+ contents, etc.
+* key management functions (generation, import, export, deletion and
+ signing)
+* decrypting clipboard contents, including integration with Klipper
+
+%files -n trinity-kgpg
+%defattr(-,root,root,-)
+%{tde_bindir}/kgpg
+%{tde_tdeappdir}/kgpg.desktop
+%{tde_datadir}/apps/kgpg/
+%{tde_datadir}/apps/konqueror/servicemenus/encryptfile.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/encryptfolder.desktop
+%{tde_datadir}/autostart/kgpg.desktop
+%{tde_datadir}/config.kcfg/kgpg.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kgpg.png
+%{tde_tdedocdir}/HTML/en/kgpg/
+
+%post -n trinity-kgpg
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kgpg
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-khexedit
+Summary: Trinity hex editor
+Group: Applications/Utilities
+
+%description -n trinity-khexedit
+KHexEdit is an editor for the raw data of binary files. It includes
+find/replace functions, bookmarks, many configuration options, drag and drop
+support and other powerful features.
+
+%files -n trinity-khexedit
+%defattr(-,root,root,-)
+%{tde_bindir}/khexedit
+%{tde_tdelibdir}/libkbyteseditwidget.la
+%{tde_tdelibdir}/libkbyteseditwidget.so
+%{tde_tdelibdir}/libkhexedit2part.la
+%{tde_tdelibdir}/libkhexedit2part.so
+%{tde_libdir}/libkhexeditcommon.so.*
+%{tde_tdeappdir}/khexedit.desktop
+%{tde_datadir}/apps/khexedit/
+%{tde_datadir}/apps/khexedit2part/khexedit2partui.rc
+%{tde_datadir}/icons/hicolor/*/apps/khexedit.png
+%{tde_datadir}/services/kbyteseditwidget.desktop
+%{tde_datadir}/services/khexedit2part.desktop
+%{tde_tdedocdir}/HTML/en/khexedit/
+
+%post -n trinity-khexedit
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-khexedit
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kjots
+Summary: note taking utility for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kjots
+Kjots is a small note taker program. Name and idea are taken from the jots
+program included in the tkgoodstuff package.
+
+%files -n trinity-kjots
+%defattr(-,root,root,-)
+%{tde_bindir}/kjots
+%{tde_tdeappdir}/Kjots.desktop
+%{tde_datadir}/apps/kjots/
+%{tde_datadir}/config.kcfg/kjots.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kjots.png
+%{tde_tdedocdir}/HTML/en/kjots/
+
+%post -n trinity-kjots
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kjots
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%if 0%{?build_klaptopdaemon}
+
+%package -n trinity-klaptopdaemon
+Summary: battery monitoring and management for laptops using Trinity
+Group: Applications/Utilities
+Requires: pm-utils
+
+%if 0%{?with_consolehelper}
+# package 'usermode' provides '/usr/bin/consolehelper-gtk'
+%if 0%{?rhel} || 0%{?fedora}
+Requires: usermode-gtk
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+Requires: usermode
+%endif
+%endif
+
+%description -n trinity-klaptopdaemon
+This package contains utilities to monitor batteries and configure
+power management, for laptops, from within TDE.
+
+%files -n trinity-klaptopdaemon
+%defattr(-,root,root,-)
+%{tde_bindir}/klaptop_acpi_helper
+%{tde_bindir}/klaptop_check
+%{tde_tdelibdir}/kcm_laptop.la
+%{tde_tdelibdir}/kcm_laptop.so
+%{tde_tdelibdir}/kded_klaptopdaemon.la
+%{tde_tdelibdir}/kded_klaptopdaemon.so
+%{tde_libdir}/libkcmlaptop.so.*
+%{tde_tdeappdir}/laptop.desktop
+%{tde_tdeappdir}/pcmcia.desktop
+%{tde_datadir}/apps/klaptopdaemon/
+%{tde_datadir}/icons/crystalsvg/*/apps/laptop_battery.png
+%{tde_datadir}/icons/crystalsvg/*/apps/laptop_pcmcia.png
+%{tde_datadir}/icons/crystalsvg/scalable/apps/laptop_battery.svgz
+%{tde_datadir}/services/kded/klaptopdaemon.desktop
+%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/
+%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/
+%{tde_tdedocdir}/HTML/en/kcontrol/laptop/
+%{tde_tdedocdir}/HTML/en/kcontrol/powerctrl/
+
+# ConsoleHelper support
+%if 0%{?with_consolehelper}
+%{_sysconfdir}/pam.d/klaptop_acpi_helper
+%attr(644,root,root) %{_sysconfdir}/security/console.apps/klaptop_acpi_helper
+%{tde_sbindir}/klaptop_acpi_helper
+%{_sbindir}/klaptop_acpi_helper
+%endif
+
+%config %{tde_datadir}/config/kcmlaptoprc
+
+%post -n trinity-klaptopdaemon
+/sbin/ldconfig
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klaptopdaemon
+/sbin/ldconfig
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%endif
+
+##########
+
+%package -n trinity-kmilo
+Summary: laptop special keys support for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kmilo
+KMilo lets you use the special keys on some keyboards and laptops.
+
+Usually this includes volume keys and other features. Currently, KMilo
+comes with plugins for Powerbooks, Thinkpads, Vaios and generic keyboards
+with special keys.
+
+%files -n trinity-kmilo
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kded_kmilod.la
+%{tde_tdelibdir}/kded_kmilod.so
+%{tde_tdelibdir}/kmilo_generic.la
+%{tde_tdelibdir}/kmilo_generic.so
+%{tde_libdir}/libkmilo.so.*
+%{tde_datadir}/services/kded/kmilod.desktop
+%{tde_datadir}/services/kmilo/kmilo_generic.desktop
+%{tde_datadir}/servicetypes/kmilo/kmilopluginsvc.desktop
+
+%post -n trinity-kmilo
+/sbin/ldconfig
+
+%postun -n trinity-kmilo
+/sbin/ldconfig
+
+##########
+
+%package -n trinity-kmilo-legacy
+Summary: non-standard plugins for KMilo
+Group: Applications/Utilities
+Requires: trinity-kmilo = %{version}-%{release}
+
+%description -n trinity-kmilo-legacy
+KMilo lets you use the special keys on some keyboards and laptops.
+
+Usually this includes volume keys and other features. Currently, KMilo
+comes with plugins for Powerbooks, Thinkpads and Vaios.
+
+The intention is that all laptops work with the generic kmilo
+plugin, if you need this package please file a bug.
+
+%files -n trinity-kmilo-legacy
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcm_kvaio.la
+%{tde_tdelibdir}/kcm_kvaio.so
+%{tde_tdelibdir}/kcm_thinkpad.la
+%{tde_tdelibdir}/kcm_thinkpad.so
+%{tde_tdelibdir}/kmilo_asus.la
+%{tde_tdelibdir}/kmilo_asus.so
+%{tde_tdelibdir}/kmilo_delli8k.la
+%{tde_tdelibdir}/kmilo_delli8k.so
+%{tde_tdelibdir}/kmilo_kvaio.la
+%{tde_tdelibdir}/kmilo_kvaio.so
+%{tde_tdelibdir}/kmilo_thinkpad.la
+%{tde_tdelibdir}/kmilo_thinkpad.so
+%{tde_tdeappdir}/kvaio.desktop
+%{tde_tdeappdir}/thinkpad.desktop
+%{tde_datadir}/services/kmilo/kmilo_asus.desktop
+%{tde_datadir}/services/kmilo/kmilo_delli8k.desktop
+%{tde_datadir}/services/kmilo/kmilo_kvaio.desktop
+%{tde_datadir}/services/kmilo/kmilo_thinkpad.desktop
+
+##########
+
+%package -n trinity-kregexpeditor
+Summary: graphical regular expression editor plugin for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kregexpeditor
+This package contains a graphical regular expression editor plugin for use
+with TDE. It let you draw your regular expression in an unambiguous way.
+
+%files -n trinity-kregexpeditor
+%defattr(-,root,root,-)
+%{tde_bindir}/kregexpeditor
+%{tde_tdelibdir}/libkregexpeditorgui.la
+%{tde_tdelibdir}/libkregexpeditorgui.so
+%{tde_libdir}/libkregexpeditorcommon.so.*
+%{tde_tdeappdir}/kregexpeditor.desktop
+%{tde_datadir}/apps/kregexpeditor/
+%{tde_datadir}/icons/hicolor/*/apps/kregexpeditor.png
+%{tde_datadir}/services/kregexpeditorgui.desktop
+%{tde_tdedocdir}/HTML/en/KRegExpEditor/
+
+%post -n trinity-kregexpeditor
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kregexpeditor
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksim
+Summary: system information monitor for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-ksim
+KSim is a system monitor app which has its own plugin system with support
+for GKrellm skins. It allows users to follow uptime, memory usage, network
+connections, power, etc.
+
+%files -n trinity-ksim
+%defattr(-,root,root,-)
+%config %{tde_datadir}/config/ksim_panelextensionrc
+%{tde_tdelibdir}/ksim_*.la
+%{tde_tdelibdir}/ksim_*.so
+%{tde_libdir}/libksimcore.so.*
+%{tde_datadir}/apps/kicker/extensions/ksim.desktop
+%{tde_datadir}/apps/ksim/
+%{tde_tdedocdir}/HTML/en/ksim/
+%{tde_datadir}/icons/crystalsvg/*/apps/ksim.png
+%{tde_datadir}/icons/crystalsvg/*/devices/ksim_cpu.png
+
+%post -n trinity-ksim
+/sbin/ldconfig
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+%postun -n trinity-ksim
+/sbin/ldconfig
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-ktimer
+Summary: timer utility for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-ktimer
+This is a timer application for TDE. It allows you to execute commands after
+a certain amount of time. It supports looping commands as well as delayed
+command execution.
+
+%files -n trinity-ktimer
+%defattr(-,root,root,-)
+%{tde_bindir}/ktimer
+%{tde_tdeappdir}/ktimer.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ktimer.png
+%{tde_tdedocdir}/HTML/en/ktimer/
+
+%post -n trinity-ktimer
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ktimer
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-tdewalletmanager
+Summary: wallet manager for Trinity
+Group: Applications/Utilities
+
+Obsoletes: trinity-kwalletmanager < %{version}-%{release}
+Provides: trinity-kwalletmanager = %{version}-%{release}
+
+%description -n trinity-tdewalletmanager
+This program keeps various wallets for any kind of data that the user can
+store encrypted with passwords and can also serve as a password manager that
+keeps a master password to all wallets.
+
+%files -n trinity-tdewalletmanager
+%defattr(-,root,root,-)
+%{tde_bindir}/tdewalletmanager
+%{tde_tdelibdir}/kcm_tdewallet.la
+%{tde_tdelibdir}/kcm_tdewallet.so
+%{tde_tdeappdir}/tdewalletconfig.desktop
+%{tde_tdeappdir}/tdewalletmanager.desktop
+%{tde_tdeappdir}/tdewalletmanager-tdewalletd.desktop
+%{tde_datadir}/apps/tdewalletmanager/
+%{tde_datadir}/icons/hicolor/*/apps/tdewalletmanager.png
+%{tde_datadir}/services/tdewallet_config.desktop
+%{tde_datadir}/services/tdewalletmanager_show.desktop
+%{tde_tdedocdir}/HTML/en/tdewallet/
+
+%post -n trinity-tdewalletmanager
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-tdewalletmanager
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-superkaramba
+Summary: a program based on karamba improving the eyecandy of TDE
+Group: Applications/Utilities
+
+%description -n trinity-superkaramba
+SuperKaramba is a tool based on karamba that allows anyone to easily create
+and run little interactive widgets on a TDE desktop. Widgets are defined in a
+simple text file and can be augmented with Python code to make them
+interactive.
+
+Here are just some examples of the things that can be done:
+* Display system information such as CPU Usage, MP3 playing, etc.
+* Create cool custom toolbars that work any way imaginable.
+* Create little games or virtual pets that live on your desktop.
+* Display information from the internet, such as weather and headlines.
+
+%files -n trinity-superkaramba
+%defattr(-,root,root,-)
+%{tde_bindir}/superkaramba
+%{tde_datadir}/applnk/Utilities/superkaramba.desktop
+%{tde_datadir}/apps/superkaramba/superkarambaui.rc
+%{tde_datadir}/icons/crystalsvg/*/apps/superkaramba.png
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/superkaramba_theme.png
+%{tde_datadir}/icons/crystalsvg/scalable/apps/superkaramba.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/superkaramba_theme.svgz
+%{tde_datadir}/mimelnk/application/x-superkaramba.desktop
+%{tde_tdedocdir}/HTML/en/superkaramba/
+
+%post -n trinity-superkaramba
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+%postun -n trinity-superkaramba
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+##########
+
+# afaik, nobody BR's it, and it pulls kdeutils into multilib -- Rex
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tdelibs-devel
+
+Obsoletes: trinity-kdeutils-devel < %{version}-%{release}
+Provides: trinity-kdeutils-devel = %{version}-%{release}
+Obsoletes: tdeutils-devel < %{version}-%{release}
+Provides: tdeutils-devel = %{version}-%{release}
+
+%description devel
+Development files for %{name}.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/*
+%if 0%{?build_klaptopdaemon}
+%{tde_libdir}/libkcmlaptop.la
+%{tde_libdir}/libkcmlaptop.so
+%endif
+%{tde_libdir}/lib[kt]deinit_ark.la
+%{tde_libdir}/lib[kt]deinit_irkick.la
+%{tde_libdir}/lib[kt]deinit_kcalc.la
+%{tde_libdir}/lib[kt]deinit_kedit.la
+%{tde_libdir}/libkmilo.la
+%{tde_libdir}/libkmilo.so
+%{tde_libdir}/libkregexpeditorcommon.la
+%{tde_libdir}/libkregexpeditorcommon.so
+%{tde_libdir}/libksimcore.la
+%{tde_libdir}/libksimcore.so
+%{tde_libdir}/libkhexeditcommon.la
+%{tde_libdir}/libkhexeditcommon.so
+%{tde_datadir}/cmake/libksimcore.cmake
+
+%post devel
+/sbin/ldconfig
+
+%postun devel
+/sbin/ldconfig
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+%if 0%{?rhel} == 4
+%patch1 -p1 -b .rhel4
+%endif
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+
+# Do not build against any "/usr" installed KDE
+export KDEDIR="%{tde_prefix}"
+
+# Shitty hack for RHEL4 ...
+if [ -d "/usr/X11R6" ]; then
+ export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}"
+ export CFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
+ -DBIN_INSTALL_DIR="%{tde_bindir}" \
+ -DDOC_INSTALL_DIR="%{tde_docdir}" \
+ -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
+ -DLIB_INSTALL_DIR="%{tde_libdir}" \
+ -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
+ -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
+ -DCMAKE_SKIP_RPATH=OFF \
+ -DWITH_DPMS=ON \
+ %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \
+ -DWITH_ASUS=ON \
+ -DWITH_POWERBOOK=OFF \
+ -DWITH_POWERBOOK2=OFF \
+ -DWITH_VAIO=ON \
+ -DWITH_THINKPAD=ON \
+ -DWITH_I8K=ON \
+ -DWITH_SNMP=ON \
+ -DWITH_SENSORS=ON \
+ -DWITH_XMMS=ON \
+ -DWITH_KNEWSTUFF=ON \
+ -DBUILD_ALL=ON \
+ %{?!build_klaptopdaemon:-DBUILD_KLAPTOPDAEMON=OFF} \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{?buildroot} -C build
+
+
+## File lists
+# HTML (1.0)
+HTML_DIR=$(tde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
+ done
+ popd
+ pushd $lang_dir/kcontrol
+ for i in *; do
+ [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+
+%if 0%{?build_klaptopdaemon}
+### Use consolehelper for 'klaptop_acpi_helper'
+%if 0%{?with_consolehelper}
+# Install configuration files
+%__install -p -D -m 644 "%{SOURCE1}" "%{buildroot}%{_sysconfdir}/pam.d/klaptop_acpi_helper"
+%__install -p -D -m 644 "%{SOURCE2}" "%{buildroot}%{_sysconfdir}/security/console.apps/klaptop_acpi_helper"
+# Moves the actual binary from 'bin' to 'sbin'
+%__mkdir_p "%{buildroot}%{tde_sbindir}" "%{buildroot}%{_sbindir}"
+%__mv "%{buildroot}%{tde_bindir}/klaptop_acpi_helper" "%{buildroot}%{tde_sbindir}"
+# Links to consolehelper
+%__ln_s "%{_bindir}/consolehelper" "%{buildroot}%{tde_bindir}/klaptop_acpi_helper"
+# Put another symlink under '/usr', otherwise consolehelper does not work
+%if "%{tde_prefix}" != "/usr"
+%__ln_s "%{tde_sbindir}/klaptop_acpi_helper" "%{?buildroot}%{_sbindir}/klaptop_acpi_helper"
+%endif
+%endif
+
+# klaptop settings file
+%__install -p -D -m 644 "%{SOURCE3}" "%{buildroot}%{tde_datadir}/config/kcmlaptoprc"
+
+%else
+
+# Klaptop's documentation is installed even if we did not build it ...
+%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/
+%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/
+%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/laptop/
+%__rm -fr %{?buildroot}%{tde_tdedocdir}/HTML/en/kcontrol/powerctrl/
+
+%endif
+
+
+%clean
+%__rm -rf "%{?buildroot}"
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdevelop/tdevelop-14.0.0.spec b/redhat/tdevelop/tdevelop-14.0.0.spec
new file mode 100644
index 000000000..323901fd4
--- /dev/null
+++ b/redhat/tdevelop/tdevelop-14.0.0.spec
@@ -0,0 +1,632 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-tdevelop
+Summary: Integrated Development Environment for C++/C
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+
+License: GPLv2
+Group: Development/Tools
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Source1: ftp://129.187.206.68/pub/unix/ide/tdevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2
+
+# [c_cpp_ref] Fix library directories detection
+Patch1: c_cpp_reference-2.0.2-config.patch
+
+# [c_cpp_ref] Fix installation of 'asm' files
+Patch4: c_cpp_reference-2.0.2-install.patch
+
+Requires: %{name}-libs = %{version}-%{release}
+
+
+Requires: make
+Requires: perl
+Requires: flex >= 2.5.4
+Requires: trinity-tqt3-designer
+Requires: trinity-tqt3-devel
+Requires: gettext
+Requires: ctags
+
+BuildRequires: cmake >= 2.8
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tdesdk-devel >= %{version}
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: db4-devel
+%endif
+BuildRequires: flex
+# FIXME: No CVS support in tdevelop? This is going to suck...
+# Requires kdesdk3.
+BuildRequires: subversion-devel
+BuildRequires: neon-devel
+# looks like this is dragged in by apr-devel (dep of subversion-devel), but not
+# a dependency
+%if 0%{?suse_version}
+BuildRequires: openldap2-devel
+%else
+BuildRequires: openldap-devel
+%endif
+
+Obsoletes: trinity-tdevelop < %{version}-%{release}
+Provides: trinity-tdevelop = %{version}-%{release}
+
+%description
+The TDevelop Integrated Development Environment provides many features
+that developers need as well as providing a unified interface to programs
+like gdb, the C/C++ compiler, and make. TDevelop manages or provides:
+
+All development tools needed for C++ programming like Compiler,
+Linker, automake and autoconf; KAppWizard, which generates complete,
+ready-to-go sample applications; Classgenerator, for creating new
+classes and integrating them into the current project; File management
+for sources, headers, documentation etc. to be included in the
+project; The creation of User-Handbooks written with SGML and the
+automatic generation of HTML-output with the KDE look and feel;
+Automatic HTML-based API-documentation for your project's classes with
+cross-references to the used libraries; Internationalization support
+for your application, allowing translators to easily add their target
+language to a project;
+
+tdevelop also includes WYSIWYG (What you see is what you get)-creation
+of user interfaces with a built-in dialog editor; Debugging your
+application by integrating KDbg; Editing of project-specific pixmaps
+with KIconEdit; The inclusion of any other program you need for
+development by adding it to the "Tools"-menu according to your
+individual needs.
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/kdevassistant
+%{tde_bindir}/kdevdesigner
+%{tde_bindir}/tdevelop
+%{tde_bindir}/tdevelop-htdig
+%{tde_bindir}/kdevprj2tdevelop
+%{tde_bindir}/kdevprofileeditor
+%{tde_libdir}/tdeconf_update_bin/kdev-gen-settings-tdeconf_update
+%{tde_tdeappdir}/kdevassistant.desktop
+%{tde_tdeappdir}/kdevdesigner.desktop
+%{tde_tdeappdir}/tdevelop.desktop
+%{tde_tdeappdir}/tdevelop_c_cpp.desktop
+%{tde_tdeappdir}/tdevelop_kde_cpp.desktop
+%{tde_tdeappdir}/tdevelop_ruby.desktop
+%{tde_tdeappdir}/tdevelop_scripting.desktop
+%{tde_tdelibdir}/tdeio_chm.la
+%{tde_tdelibdir}/tdeio_chm.so
+%{tde_tdelibdir}/tdeio_csharpdoc.la
+%{tde_tdelibdir}/tdeio_csharpdoc.so
+%{tde_tdelibdir}/tdeio_perldoc.la
+%{tde_tdelibdir}/tdeio_perldoc.so
+%{tde_tdelibdir}/tdeio_pydoc.la
+%{tde_tdelibdir}/tdeio_pydoc.so
+%{tde_tdelibdir}/libdocchmplugin.la
+%{tde_tdelibdir}/libdocchmplugin.so
+%{tde_tdelibdir}/libdoccustomplugin.la
+%{tde_tdelibdir}/libdoccustomplugin.so
+%{tde_tdelibdir}/libdocdevhelpplugin.la
+%{tde_tdelibdir}/libdocdevhelpplugin.so
+%{tde_tdelibdir}/libdocdoxygenplugin.la
+%{tde_tdelibdir}/libdocdoxygenplugin.so
+%{tde_tdelibdir}/libdockdevtocplugin.la
+%{tde_tdelibdir}/libdockdevtocplugin.so
+%{tde_tdelibdir}/libdocqtplugin.la
+%{tde_tdelibdir}/libdocqtplugin.so
+%{tde_tdelibdir}/libkchmpart.la
+%{tde_tdelibdir}/libkchmpart.so
+%{tde_tdelibdir}/libkdevabbrev.la
+%{tde_tdelibdir}/libkdevabbrev.so
+%{tde_tdelibdir}/libkdevadaproject.la
+%{tde_tdelibdir}/libkdevadaproject.so
+%{tde_tdelibdir}/libkdevadasupport.la
+%{tde_tdelibdir}/libkdevadasupport.so
+%{tde_tdelibdir}/libkdevantproject.la
+%{tde_tdelibdir}/libkdevantproject.so
+%{tde_tdelibdir}/libkdevappview.la
+%{tde_tdelibdir}/libkdevappview.so
+%{tde_tdelibdir}/libkdevappwizard.la
+%{tde_tdelibdir}/libkdevappwizard.so
+%{tde_tdelibdir}/libkdevastyle.la
+%{tde_tdelibdir}/libkdevastyle.so
+%{tde_tdelibdir}/libkdevautoproject.la
+%{tde_tdelibdir}/libkdevautoproject.so
+%{tde_tdelibdir}/libkdevbashsupport.la
+%{tde_tdelibdir}/libkdevbashsupport.so
+%{tde_tdelibdir}/libkdevbookmarks.la
+%{tde_tdelibdir}/libkdevbookmarks.so
+%{tde_tdelibdir}/libkdevclassview.la
+%{tde_tdelibdir}/libkdevclassview.so
+%{tde_tdelibdir}/libkdevcppsupport.la
+%{tde_tdelibdir}/libkdevcppsupport.so
+%{tde_tdelibdir}/libkdevcsharpsupport.la
+%{tde_tdelibdir}/libkdevcsharpsupport.so
+%{tde_tdelibdir}/libkdevctags2.la
+%{tde_tdelibdir}/libkdevctags2.so
+%{tde_tdelibdir}/libkdevcustompcsimporter.la
+%{tde_tdelibdir}/libkdevcustompcsimporter.so
+%{tde_tdelibdir}/libkdevcustomproject.la
+%{tde_tdelibdir}/libkdevcustomproject.so
+%{tde_tdelibdir}/libkdevdccoptions.la
+%{tde_tdelibdir}/libkdevdccoptions.so
+%{tde_tdelibdir}/libkdevdebugger.la
+%{tde_tdelibdir}/libkdevdebugger.so
+%{tde_tdelibdir}/libkdevdesignerpart.la
+%{tde_tdelibdir}/libkdevdesignerpart.so
+%{tde_tdelibdir}/libkdevdiff.la
+%{tde_tdelibdir}/libkdevdiff.so
+%{tde_tdelibdir}/libkdevdistpart.la
+%{tde_tdelibdir}/libkdevdistpart.so
+%{tde_tdelibdir}/libkdevdocumentation.la
+%{tde_tdelibdir}/libkdevdocumentation.so
+%{tde_tdelibdir}/libkdevdoxygen.la
+%{tde_tdelibdir}/libkdevdoxygen.so
+%{tde_tdelibdir}/libkdeveditorchooser.la
+%{tde_tdelibdir}/libkdeveditorchooser.so
+%{tde_tdelibdir}/libkdevfilecreate.la
+%{tde_tdelibdir}/libkdevfilecreate.so
+%{tde_tdelibdir}/libkdevfilegroups.la
+%{tde_tdelibdir}/libkdevfilegroups.so
+%{tde_tdelibdir}/libkdevfilelist.la
+%{tde_tdelibdir}/libkdevfilelist.so
+%{tde_tdelibdir}/libkdevfileselector.la
+%{tde_tdelibdir}/libkdevfileselector.so
+%{tde_tdelibdir}/libkdevfileview.la
+%{tde_tdelibdir}/libkdevfileview.so
+%{tde_tdelibdir}/libkdevfilter.la
+%{tde_tdelibdir}/libkdevfilter.so
+%{tde_tdelibdir}/libkdevfortransupport.la
+%{tde_tdelibdir}/libkdevfortransupport.so
+%{tde_tdelibdir}/libkdevfpcoptions.la
+%{tde_tdelibdir}/libkdevfpcoptions.so
+%{tde_tdelibdir}/libkdevfullscreen.la
+%{tde_tdelibdir}/libkdevfullscreen.so
+%{tde_tdelibdir}/libkdevgccoptions.la
+%{tde_tdelibdir}/libkdevgccoptions.so
+%{tde_tdelibdir}/libkdevgrepview.la
+%{tde_tdelibdir}/libkdevgrepview.so
+%{tde_tdelibdir}/libkdevjavasupport.la
+%{tde_tdelibdir}/libkdevjavasupport.so
+%{tde_tdelibdir}/libkdevtdelibsimporter.la
+%{tde_tdelibdir}/libkdevtdelibsimporter.so
+%{tde_tdelibdir}/libkdevkonsoleview.la
+%{tde_tdelibdir}/libkdevkonsoleview.so
+%{tde_tdelibdir}/libkdevmakeview.la
+%{tde_tdelibdir}/libkdevmakeview.so
+%{tde_tdelibdir}/libkdevopenwith.la
+%{tde_tdelibdir}/libkdevopenwith.so
+%{tde_tdelibdir}/libkdevpartexplorer.la
+%{tde_tdelibdir}/libkdevpartexplorer.so
+%{tde_tdelibdir}/libkdevpascalproject.la
+%{tde_tdelibdir}/libkdevpascalproject.so
+%{tde_tdelibdir}/libkdevpascalsupport.la
+%{tde_tdelibdir}/libkdevpascalsupport.so
+%{tde_tdelibdir}/libkdevperlsupport.la
+%{tde_tdelibdir}/libkdevperlsupport.so
+%{tde_tdelibdir}/libkdevpgioptions.la
+%{tde_tdelibdir}/libkdevpgioptions.so
+%{tde_tdelibdir}/libkdevphpsupport.la
+%{tde_tdelibdir}/libkdevphpsupport.so
+%{tde_tdelibdir}/libkdevpythonsupport.la
+%{tde_tdelibdir}/libkdevpythonsupport.so
+%{tde_tdelibdir}/libkdevqt4importer.la
+%{tde_tdelibdir}/libkdevqt4importer.so
+%{tde_tdelibdir}/libkdevqtimporter.la
+%{tde_tdelibdir}/libkdevqtimporter.so
+%{tde_tdelibdir}/libkdevquickopen.la
+%{tde_tdelibdir}/libkdevquickopen.so
+%{tde_tdelibdir}/libkdevrbdebugger.la
+%{tde_tdelibdir}/libkdevrbdebugger.so
+%{tde_tdelibdir}/libkdevregexptest.la
+%{tde_tdelibdir}/libkdevregexptest.so
+%{tde_tdelibdir}/libkdevreplace.la
+%{tde_tdelibdir}/libkdevreplace.so
+%{tde_tdelibdir}/libkdevrubysupport.la
+%{tde_tdelibdir}/libkdevrubysupport.so
+%{tde_tdelibdir}/libkdevscripting.la
+%{tde_tdelibdir}/libkdevscripting.so
+%{tde_tdelibdir}/libkdevscriptproject.la
+%{tde_tdelibdir}/libkdevscriptproject.so
+%{tde_tdelibdir}/libkdevsnippet.la
+%{tde_tdelibdir}/libkdevsnippet.so
+%{tde_tdelibdir}/libkdevsqlsupport.la
+%{tde_tdelibdir}/libkdevsqlsupport.so
+%{tde_tdelibdir}/libkdevtexttools.la
+%{tde_tdelibdir}/libkdevtexttools.so
+%{tde_tdelibdir}/libkdevtipofday.la
+%{tde_tdelibdir}/libkdevtipofday.so
+%{tde_tdelibdir}/libkdevtools.la
+%{tde_tdelibdir}/libkdevtools.so
+%{tde_tdelibdir}/libkdevtrollproject.la
+%{tde_tdelibdir}/libkdevtrollproject.so
+%{tde_tdelibdir}/libkdevuichooser.la
+%{tde_tdelibdir}/libkdevuichooser.so
+%{tde_tdelibdir}/libkdevvalgrind.la
+%{tde_tdelibdir}/libkdevvalgrind.so
+%{tde_tdelibdir}/libkdevvcsmanager.la
+%{tde_tdelibdir}/libkdevvcsmanager.so
+%{tde_datadir}/apps/tdeconf_update/
+%{tde_datadir}/apps/kdevabbrev/
+%{tde_datadir}/apps/kdevadaproject/kdevadaproject.rc
+%{tde_datadir}/apps/kdevadasupport/kdevadasupport.rc
+%{tde_datadir}/apps/kdevantproject/kdevantproject.rc
+%{tde_datadir}/apps/kdevappoutputview/kdevmakeview.rc
+%{tde_datadir}/apps/kdevappwizard/
+%{tde_datadir}/apps/kdevassistant/kdevassistantui.rc
+%{tde_datadir}/apps/kdevastyle/kdevpart_astyle.rc
+%{tde_datadir}/apps/kdevautoproject/kdevautoproject.rc
+%{tde_datadir}/apps/kdevbashsupport/kdevbashsupport.rc
+%{tde_datadir}/apps/kdevclassview/
+%{tde_datadir}/apps/kdevcppsupport/
+%{tde_datadir}/icons/hicolor/*/actions/breakpoint_add.png
+%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete.png
+%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete_all.png
+%{tde_datadir}/icons/hicolor/*/actions/breakpoint_edit.png
+%{tde_datadir}/icons/hicolor/*/actions/ktip.png
+%{tde_datadir}/icons/hicolor/*/apps/kdevassistant.png
+%{tde_datadir}/icons/hicolor/*/apps/kdevdesigner.png
+%{tde_datadir}/icons/hicolor/*/apps/tdevelop.png
+%{tde_datadir}/icons/locolor/*/actions/tdevelop_tip.png
+%{tde_datadir}/mimelnk/application/x-tdevelop.desktop
+%{tde_datadir}/services/chm.protocol
+%{tde_datadir}/services/csharpdoc.protocol
+%{tde_datadir}/services/docchmplugin.desktop
+%{tde_datadir}/services/doccustomplugin.desktop
+%{tde_datadir}/services/docdevhelpplugin.desktop
+%{tde_datadir}/services/docdoxygenplugin.desktop
+%{tde_datadir}/services/dockdevtocplugin.desktop
+%{tde_datadir}/services/docqtplugin.desktop
+%{tde_datadir}/services/kchmpart.desktop
+%{tde_datadir}/services/kdevabbrev.desktop
+%{tde_datadir}/services/kdevadaproject.desktop
+%{tde_datadir}/services/kdevadasupport.desktop
+%{tde_datadir}/services/kdevantproject.desktop
+%{tde_datadir}/services/kdevappoutputview.desktop
+%{tde_datadir}/services/kdevappwizard.desktop
+%{tde_datadir}/services/kdevastyle.desktop
+%{tde_datadir}/services/kdevautoproject.desktop
+%{tde_datadir}/services/kdevbashsupport.desktop
+%{tde_datadir}/services/kdevbookmarks.desktop
+%{tde_datadir}/services/kdevclassview.desktop
+%{tde_datadir}/services/kdevcppsupport.desktop
+%{tde_datadir}/services/kdevcsharpsupport.desktop
+%{tde_datadir}/services/kdevcsupport.desktop
+%{tde_datadir}/services/kdevctags2.desktop
+%{tde_datadir}/services/kdevcustomproject.desktop
+%{tde_datadir}/services/kdevdccoptions.desktop
+%{tde_datadir}/services/kdevdebugger.desktop
+%{tde_datadir}/services/kdevdesigner_part.desktop
+%{tde_datadir}/services/kdevdiff.desktop
+%{tde_datadir}/services/kdevdistpart.desktop
+%{tde_datadir}/services/kdevdocumentation.desktop
+%{tde_datadir}/services/kdevdoxygen.desktop
+%{tde_datadir}/services/kdeveditorchooser.desktop
+%{tde_datadir}/services/kdevfilecreate.desktop
+%{tde_datadir}/services/kdevfilegroups.desktop
+%{tde_datadir}/services/kdevfilelist.desktop
+%{tde_datadir}/services/kdevfileselector.desktop
+%{tde_datadir}/services/kdevfileview.desktop
+%{tde_datadir}/services/kdevfilter.desktop
+%{tde_datadir}/services/kdevfortransupport.desktop
+%{tde_datadir}/services/kdevfpcoptions.desktop
+%{tde_datadir}/services/kdevfullscreen.desktop
+%{tde_datadir}/services/kdevg77options.desktop
+%{tde_datadir}/services/kdevgccoptions.desktop
+%{tde_datadir}/services/kdevgppoptions.desktop
+%{tde_datadir}/services/kdevgrepview.desktop
+%{tde_datadir}/services/kdevjavasupport.desktop
+%{tde_datadir}/services/kdevtdeautoproject.desktop
+%{tde_datadir}/services/kdevtdelibsimporter.desktop
+%{tde_datadir}/services/kdevkonsoleview.desktop
+%{tde_datadir}/services/kdevmakeview.desktop
+%{tde_datadir}/services/kdevopenwith.desktop
+%{tde_datadir}/services/kdevpartexplorer.desktop
+%{tde_datadir}/services/kdevpascalproject.desktop
+%{tde_datadir}/services/kdevpascalsupport.desktop
+%{tde_datadir}/services/kdevpcscustomimporter.desktop
+%{tde_datadir}/services/kdevperlsupport.desktop
+%{tde_datadir}/services/kdevpgf77options.desktop
+%{tde_datadir}/services/kdevpghpfoptions.desktop
+%{tde_datadir}/services/kdevphpsupport.desktop
+%{tde_datadir}/services/kdevpythonsupport.desktop
+%{tde_datadir}/services/kdevqt4importer.desktop
+%{tde_datadir}/services/kdevqtimporter.desktop
+%{tde_datadir}/services/kdevquickopen.desktop
+%{tde_datadir}/services/kdevrbdebugger.desktop
+%{tde_datadir}/services/kdevregexptest.desktop
+%{tde_datadir}/services/kdevreplace.desktop
+%{tde_datadir}/services/kdevrubysupport.desktop
+%{tde_datadir}/services/kdevscripting.desktop
+%{tde_datadir}/services/kdevscriptproject.desktop
+%{tde_datadir}/services/kdevsnippet.desktop
+%{tde_datadir}/services/kdevsqlsupport.desktop
+%{tde_datadir}/services/kdevtexttools.desktop
+%{tde_datadir}/services/kdevtipofday.desktop
+%{tde_datadir}/services/kdevtmakeproject.desktop
+%{tde_datadir}/services/kdevtools.desktop
+%{tde_datadir}/services/kdevtrollproject.desktop
+%{tde_datadir}/services/kdevuichooser.desktop
+%{tde_datadir}/services/kdevvalgrind.desktop
+%{tde_datadir}/services/kdevvcsmanager.desktop
+%{tde_datadir}/services/perldoc.protocol
+%{tde_datadir}/services/pydoc.protocol
+%{tde_datadir}/servicetypes/tdevelopappfrontend.desktop
+%{tde_datadir}/servicetypes/tdevelopcodebrowserfrontend.desktop
+%{tde_datadir}/servicetypes/tdevelopcompileroptions.desktop
+%{tde_datadir}/servicetypes/tdevelopcreatefile.desktop
+%{tde_datadir}/servicetypes/tdevelopdifffrontend.desktop
+%{tde_datadir}/servicetypes/tdevelopdocumentationplugins.desktop
+%{tde_datadir}/servicetypes/tdeveloplanguagesupport.desktop
+%{tde_datadir}/servicetypes/tdevelopmakefrontend.desktop
+%{tde_datadir}/servicetypes/tdeveloppcsimporter.desktop
+%{tde_datadir}/servicetypes/tdevelopplugin.desktop
+%{tde_datadir}/servicetypes/tdevelopproject.desktop
+%{tde_datadir}/servicetypes/tdevelopquickopen.desktop
+%{tde_datadir}/servicetypes/tdevelopsourceformatter.desktop
+%{tde_datadir}/servicetypes/tdevelopvcsintegrator.desktop
+%{tde_datadir}/servicetypes/tdevelopversioncontrol.desktop
+%{tde_datadir}/apps/kdevcsharpsupport/kdevcsharpsupport.rc
+%{tde_datadir}/apps/kdevctags2/kdevpart_ctags2.rc
+%{tde_datadir}/apps/kdevcustomproject/kdevcustomproject.rc
+%{tde_datadir}/apps/kdevdebugger/
+%{tde_datadir}/apps/kdevdesigner/kdevdesigner_shell.rc
+%{tde_datadir}/apps/kdevdesignerpart/kdevdesigner_part.rc
+%{tde_datadir}/apps/kdevdesignerpart/kdevdesigner_part_sh.rc
+%{tde_datadir}/apps/kdevdiff/kdevdiff.rc
+%{tde_datadir}/apps/kdevdistpart/kdevpart_distpart.rc
+%{tde_datadir}/apps/kdevdocumentation/
+%{tde_datadir}/apps/kdevdoxygen/kdevdoxygen.rc
+%{tde_datadir}/apps/tdevelop/
+%{tde_datadir}/apps/kdevfilecreate/
+%{tde_datadir}/apps/kdevfilelist/kdevfilelist.rc
+%{tde_datadir}/apps/kdevfilter/kdevfilter.rc
+%{tde_datadir}/apps/kdevfortransupport/kdevfortransupport.rc
+%{tde_datadir}/apps/kdevfullscreen/kdevpart_fullscreen.rc
+%{tde_datadir}/apps/kdevgrepview/
+%{tde_datadir}/apps/kdevjavasupport/kdevjavasupport.rc
+%{tde_datadir}/apps/kdevmakeview/kdevmakeview.rc
+%{tde_datadir}/apps/kdevpartexplorer/kdevpartexplorer.rc
+%{tde_datadir}/apps/kdevpascalproject/kdevpascalproject.rc
+%{tde_datadir}/apps/kdevpascalsupport/kdevpascalsupport.rc
+%{tde_datadir}/apps/kdevperlsupport/kdevperlsupport.rc
+%{tde_datadir}/apps/kdevphpsupport/kdevphpsupport.rc
+%{tde_datadir}/apps/kdevphpsupport/phpfunctions
+%{tde_datadir}/apps/kdevpythonsupport/kdevpythonsupport.rc
+%{tde_datadir}/apps/kdevquickopen/kdevpart_quickopen.rc
+%{tde_datadir}/apps/kdevrbdebugger/
+%{tde_datadir}/apps/kdevregexptest/kdevregexptest.rc
+%{tde_datadir}/apps/kdevreplace/kdevpart_replace.rc
+%{tde_datadir}/apps/kdevrubysupport/kdevrubysupport.rc
+%{tde_datadir}/apps/kdevrubysupport/pics/ruby_config.png
+%{tde_datadir}/apps/kdevrubysupport/pics/ruby_run.png
+%{tde_datadir}/apps/kdevscripting/kdevscripting.rc
+%{tde_datadir}/apps/kdevscriptproject/kdevscriptproject.rc
+%{tde_datadir}/apps/kdevsnippet/kdevpart_snippet.rc
+%{tde_datadir}/apps/kdevsqlsupport/kdevsqlsupport.rc
+%{tde_datadir}/apps/kdevtipofday/kdevpart_tipofday.rc
+%{tde_datadir}/apps/kdevtipofday/tips
+%{tde_datadir}/apps/kdevtools/kdevpart_tools.rc
+%{tde_datadir}/apps/kdevtrollproject/kdevtrollproject.rc
+%{tde_datadir}/apps/kdevvalgrind/kdevpart_valgrind.rc
+%{tde_datadir}/apps/tdeio_pydoc/kde_pydoc.py*
+%{tde_datadir}/config/kdevassistantrc
+%{tde_datadir}/config/tdeveloprc
+%{tde_datadir}/desktop-directories/tde-development-tdevelop.directory
+%{tde_tdedocdir}/HTML/en/tdevelop/
+%{tde_libdir}/libd.so.0
+%{tde_libdir}/libd.so.0.0.0
+%{tde_libdir}/libkinterfacedesigner.so.0
+%{tde_libdir}/libkinterfacedesigner.so.0.0.0
+%{tde_tdelibdir}/libkdevvisualboyadvance.la
+%{tde_tdelibdir}/libkdevvisualboyadvance.so
+%{tde_datadir}/apps/kdevdesignerpart/pics/
+%{tde_datadir}/apps/kdevvisualboyadvance/kdevpart_visualboyadvance.rc
+%{tde_tdedocdir}/HTML/en/kde_app_devel/
+%{tde_datadir}/mimelnk/text/x-fortran.desktop
+%{tde_datadir}/services/kdevvisualboyadvance.desktop
+
+
+%post
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+
+Obsoletes: trinity-tdevelop-devel < %{version}-%{release}
+Provides: trinity-tdevelop-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_libdir}/lib*.so
+%{tde_libdir}/lib*.la
+%{tde_includedir}/*
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+##########
+
+%package libs
+Summary: %{name} runtime libraries
+Group: System Environment/Libraries
+Requires: trinity-tdelibs
+# include to be paranoid, installing libs-only is still mostly untested -- Rex
+Requires: %{name} = %{version}-%{release}
+
+Obsoletes: trinity-tdevelop-libs < %{version}-%{release}
+Provides: trinity-tdevelop-libs = %{version}-%{release}
+
+%description libs
+%{summary}.
+
+%files libs
+%defattr(-,root,root,-)
+%{tde_libdir}/libdesignerintegration.so.0
+%{tde_libdir}/libdesignerintegration.so.0.0.0
+%{tde_libdir}/libdocumentation_interfaces.so.0
+%{tde_libdir}/libdocumentation_interfaces.so.0.0.0
+%{tde_libdir}/libgdbmi_parser.so.0
+%{tde_libdir}/libgdbmi_parser.so.0.0.0
+%{tde_libdir}/libkdevbuildbase.so.0
+%{tde_libdir}/libkdevbuildbase.so.0.0.0
+%{tde_libdir}/libkdevbuildtoolswidgets.so.0
+%{tde_libdir}/libkdevbuildtoolswidgets.so.0.0.0
+%{tde_libdir}/libkdevcatalog.so.0
+%{tde_libdir}/libkdevcatalog.so.0.0.0
+%{tde_libdir}/libkdevcppparser.so.0
+%{tde_libdir}/libkdevcppparser.so.0.0.0
+%{tde_libdir}/libtdevelop.so.1
+%{tde_libdir}/libtdevelop.so.1.0.0
+%{tde_libdir}/libkdevextras.so.0
+%{tde_libdir}/libkdevextras.so.0.0.0
+%{tde_libdir}/libkdevpropertyeditor.so.0
+%{tde_libdir}/libkdevpropertyeditor.so.0.0.0
+%{tde_libdir}/libkdevqmakeparser.so.0
+%{tde_libdir}/libkdevqmakeparser.so.0.0.0
+%{tde_libdir}/libkdevshell.so.0
+%{tde_libdir}/libkdevshell.so.0.0.0
+%{tde_libdir}/libkdevwidgets.so.0
+%{tde_libdir}/libkdevwidgets.so.0.0.0
+%{tde_libdir}/liblang_debugger.so.0
+%{tde_libdir}/liblang_debugger.so.0.0.0
+%{tde_libdir}/liblang_interfaces.so.0
+%{tde_libdir}/liblang_interfaces.so.0.0.0
+%{tde_libdir}/libprofileengine.so.0
+%{tde_libdir}/libprofileengine.so.0.0.0
+
+%post libs
+/sbin/ldconfig || :
+
+%postun libs
+/sbin/ldconfig || :
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -a 1
+%patch1 -p0 -b .config
+%patch4 -p1
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+
+%__rm -rf c_cpp_reference-2.0.2_for_KDE_3.0/admin
+%__cp -ar admin c_cpp_reference-2.0.2_for_KDE_3.0/
+%__make -C c_cpp_reference-2.0.2_for_KDE_3.0 -f admin/Makefile.common cvs
+
+
+%build
+unset QTDIR QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+export LD_LIBRARY_PATH="%{tde_libdir}"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+# c references
+pushd c_cpp_reference-2.0.2_for_KDE_3.0
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \
+ --with-qt-includes=${QTINC:-${QTDIR}/include} \
+ --with-extra-libs=%{tde_libdir}
+popd
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DWITH_BUILDTOOL_ALL=ON \
+ -DWITH_LANGUAGE_ALL=ON \
+ -DWITH_VCS_ALL=OFF \
+ -DBUILD_ALL=ON \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+# c references
+cd ..
+%__make %{?_smp_mflags} -C c_cpp_reference-2.0.2_for_KDE_3.0
+
+%install
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+%__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0
+
+# Moves C reference to correct location
+%__mv -f %{?buildroot}%{tde_tdedocdir}/HTML/en/kdevelop/reference %{?buildroot}%{tde_tdedocdir}/HTML/en/tdevelop/
+%__rm -rf %{?buildroot}%{tde_tdedocdir}/HTML/en/kdevelop
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2
diff --git a/redhat/tdewebdev/tdewebdev-14.0.0.spec b/redhat/tdewebdev/tdewebdev-14.0.0.spec
new file mode 100644
index 000000000..03f37c21d
--- /dev/null
+++ b/redhat/tdewebdev/tdewebdev-14.0.0.spec
@@ -0,0 +1,570 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE specific 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/tde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-tdewebdev
+Version: 14.0.0
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+License: GPL
+Summary: Web development applications
+Group: Applications/Editors
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Source1: http://download.sourceforge.net/quanta/css.tar.bz2
+Source2: http://download.sourceforge.net/quanta/html.tar.bz2
+Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2
+Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2
+Source5: hi48-app-kxsldbg.png
+
+Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: desktop-file-utils
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tdesdk-devel >= %{version}
+BuildRequires: libxslt-devel
+BuildRequires: libxml2-devel
+%if 0%{?rhel} == 4
+# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241)
+BuildRequires: libgcrypt-devel
+%endif
+BuildRequires: perl
+
+# KXSLDBG requires libxml2
+#if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || ( 0%{?fedora} > 0 && %{?fedora} <= 17 ) || 0%{?suse_version}
+%define build_kxsldbg 1
+#endif
+
+
+Obsoletes: trinity-kdewebdev-libs < %{version}-%{release}
+Provides: trinity-kdewebdev-libs = %{version}-%{release}
+Obsoletes: trinity-kdewebdev < %{version}-%{release}
+Provides: trinity-kdewebdev = %{version}-%{release}
+
+Requires: trinity-quanta = %{version}-%{release}
+Requires: trinity-quanta-data = %{version}-%{release}
+Requires: trinity-tdefilereplace = %{version}-%{release}
+Requires: trinity-kimagemapeditor = %{version}-%{release}
+Requires: trinity-klinkstatus = %{version}-%{release}
+Requires: trinity-kommander = %{version}-%{release}
+%{?build_kxsldbg:Requires: trinity-kxsldbg = %{version}-%{release}}
+
+%description
+%{summary}, including:
+* tdefilereplace: batch search and replace tool
+* kimagemapeditor: HTML image map editor
+* klinkstatus: link checker
+* kommander: visual dialog building tool
+* quanta+: web development
+%{?build_kxsldbg:* kxsldbg: xslt Debugger}
+
+%files
+
+##########
+
+%package -n trinity-quanta
+Summary: web development environment for KDE [Trinity]
+Group: Applications/Development
+Requires: trinity-tdefilereplace = %{version}-%{release}
+Requires: trinity-klinkstatus = %{version}-%{release}
+Requires: trinity-kommander = %{version}-%{release}
+Requires: trinity-quanta-data = %{version}-%{release}
+#Requires: trinity-kimagemapeditor = %{version}-%{release}
+#Requires: trinity-kxsldbg = %{version}-%{release}
+Requires: tidy
+
+%description -n trinity-quanta
+Quanta Plus is a web development environment for working with HTML
+and associated languages. It strives to be neutral and transparent
+to all markup languages, while supporting popular web-based scripting
+languages, CSS and other emerging W3C recommendations.
+
+Quanta Plus supports many external components, debuggers and other tools
+for web development, several of which are shipped with the KDE web
+development module.
+
+Quanta Plus is not in any way affiliated with any commercial versions
+of Quanta. The primary coders from the original team left the GPL'd
+version to produce a commercial product.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-quanta
+%defattr(-,root,root,-)
+%{tde_bindir}/quanta
+%{tde_tdelibdir}/quantadebuggerdbgp.la
+%{tde_tdelibdir}/quantadebuggerdbgp.so
+%{tde_tdelibdir}/quantadebuggergubed.la
+%{tde_tdelibdir}/quantadebuggergubed.so
+%{tde_tdeappdir}/quanta.desktop
+%{tde_datadir}/apps/kafkapart
+%{tde_datadir}/icons/hicolor/*/apps/quanta.png
+%{tde_datadir}/mimelnk/application/x-webprj.desktop
+%{tde_datadir}/services/quantadebuggerdbgp.desktop
+%{tde_datadir}/services/quantadebuggergubed.desktop
+%{tde_datadir}/services/quanta_preview_config.desktop
+%{tde_datadir}/servicetypes/quantadebugger.desktop
+%{tde_tdedocdir}/HTML/en/quanta/
+
+%post -n trinity-quanta
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-quanta
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+
+##########
+
+%package -n trinity-quanta-data
+Summary: data files for Quanta Plus web development environment [Trinity]
+Group: Applications/Development
+
+%description -n trinity-quanta-data
+This package contains architecture-independent data files for Quanta
+Plus, a web development environment for working with HTML and associated
+languages.
+
+See the quanta package for further information.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-quanta-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/quanta/
+
+##########
+
+%package -n trinity-tdefilereplace
+Summary: batch search-and-replace component for KDE [Trinity]
+Group: Applications/Development
+
+Obsoletes: trinity-kfilereplace < %{version}-%{release}
+Provides: trinity-kfilereplace = %{version}-%{release}
+
+%description -n trinity-tdefilereplace
+tdefileReplace is an embedded component for KDE that acts as a batch
+search-and-replace tool. It allows you to replace one expression with
+another in many files at once.
+
+Note that at the moment tdefileReplace does not come as a standalone
+application. An example of an application that uses the tdefileReplace
+component is Quanta Plus (found in the package quanta).
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-tdefilereplace
+%defattr(-,root,root,-)
+%{tde_bindir}/tdefilereplace
+%{tde_tdelibdir}/libtdefilereplacepart.la
+%{tde_tdelibdir}/libtdefilereplacepart.so
+%{tde_tdeappdir}/tdefilereplace.desktop
+%{tde_datadir}/apps/tdefilereplace/tdefilereplaceui.rc
+%{tde_datadir}/apps/tdefilereplacepart
+%{tde_datadir}/icons/hicolor/*/apps/tdefilereplace.png
+%{tde_datadir}/services/tdefilereplacepart.desktop
+%{tde_tdedocdir}/HTML/en/tdefilereplace/
+
+%post -n trinity-tdefilereplace
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-tdefilereplace
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kimagemapeditor
+Summary: HTML image map editor for KDE [Trinity]
+Group: Applications/Development
+
+%description -n trinity-kimagemapeditor
+KImageMapEditor is a tool that allows you to edit image maps in HTML
+files. As well as providing a standalone application, KImageMapEditor
+makes itself available as a KPart for embedding into larger applications.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-kimagemapeditor
+%defattr(-,root,root,-)
+%{tde_bindir}/kimagemapeditor
+%{tde_tdelibdir}/libkimagemapeditor.la
+%{tde_tdelibdir}/libkimagemapeditor.so
+%{tde_tdeappdir}/kimagemapeditor.desktop
+%{tde_datadir}/apps/kimagemapeditor/
+%{tde_datadir}/icons/hicolor/*/apps/kimagemapeditor.png
+%{tde_datadir}/icons/locolor/*/apps/kimagemapeditor.png
+%{tde_datadir}/services/kimagemapeditorpart.desktop
+
+%post -n trinity-kimagemapeditor
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kimagemapeditor
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klinkstatus
+Summary: web link validity checker for KDE [Trinity]
+Group: Applications/Development
+
+%description -n trinity-klinkstatus
+KLinkStatus is KDE's web link validity checker. It allows you to
+search internal and external links throughout your web site. Simply
+point it to a single page and choose the depth to search.
+
+You can also check local files, or files over ftp:, fish: or any other
+KIO protocols. For performance, links can be checked simultaneously.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-klinkstatus
+%defattr(-,root,root,-)
+%{tde_bindir}/klinkstatus
+%{tde_tdelibdir}/libklinkstatuspart.la
+%{tde_tdelibdir}/libklinkstatuspart.so
+%{tde_tdeappdir}/klinkstatus.desktop
+%{tde_datadir}/apps/klinkstatus/
+%{tde_datadir}/apps/klinkstatuspart/
+%{tde_datadir}/config.kcfg/klinkstatus.kcfg
+%{tde_datadir}/icons/crystalsvg/16x16/actions/bug.png
+%{tde_datadir}/icons/hicolor/*/apps/klinkstatus.png
+%{tde_datadir}/services/klinkstatus_part.desktop
+%{tde_tdedocdir}/HTML/en/klinkstatus/
+
+%post -n trinity-klinkstatus
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klinkstatus
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kommander
+Summary: visual dialog builder and executor tool [Trinity]
+Group: Applications/Development
+Requires: gettext
+
+%description -n trinity-kommander
+Kommander is a visual dialog building tool whose primary objective is
+to create as much functionality as possible without using any scripting
+language.
+
+More specifically, Kommander is a set of tools that allow you to create
+dynamic GUI dialogs that generate, based on their state, a piece of
+text. The piece of text can be a command line to a program, any piece
+of code, business documents that contain a lot of repetitious or
+templated text and so on.
+
+The resulting generated text can then be executed as a command line
+program (hence the name "Kommander"), written to a file, passed to a
+script for extended processing, and literally anything else you can
+think of. And you aren't required to write a single line of code!
+
+As well as building dialogs, Kommander may be expanded to create full
+mainwindow applications.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-kommander
+%defattr(-,root,root,-)
+%{tde_bindir}/kmdr-editor
+%{tde_bindir}/kmdr-executor
+%{tde_bindir}/kmdr-plugins
+%{tde_libdir}/libkommanderplugin.so.*
+%{tde_libdir}/libkommanderwidgets.la
+%{tde_libdir}/libkommanderwidget.so.*
+%{tde_libdir}/libkommanderwidgets.so.*
+%{tde_tdeappdir}/kmdr-editor.desktop
+%{tde_datadir}/applnk/.hidden/kmdr-executor.desktop
+%{tde_datadir}/apps/katepart/syntax/kommander.xml
+%{tde_tdedocdir}/HTML/en/kommander/
+%{tde_datadir}/icons/crystalsvg/*/apps/kommander.png
+%{tde_datadir}/mimelnk/application/x-kommander.desktop
+#kommander/examples /opt/trinity/share/doc/kommander
+#kommander/working/extractkmdr /opt/trinity/bin
+#kommander/working/kmdr2po /opt/trinity/bin
+%{tde_tdelibdir}/libkommander_part.so
+%{tde_tdelibdir}/libkommander_part.la
+%{tde_datadir}/apps/kommander/
+%{tde_datadir}/apps/kmdr-editor/editor/
+%{tde_datadir}/apps/katepart/syntax/kommander-new.xml
+%{tde_datadir}/apps/kdevappwizard/kommanderplugin.png
+%{tde_datadir}/apps/kdevappwizard/kommanderplugin.tar.gz
+%{tde_datadir}/apps/kdevappwizard/templates/kommanderplugin.kdevtemplate
+%{tde_datadir}/services/kommander_part.desktop
+
+%post -n trinity-kommander
+/sbin/ldconfig || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kommander
+/sbin/ldconfig || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kommander-devel
+Summary: development files for Kommander [Trinity]
+Group: Development/Libraries
+Requires: trinity-kommander = %{version}-%{release}
+
+%description -n trinity-kommander-devel
+This package contains the headers and other development files for
+building plugins or otherwise extending Kommander.
+
+Kommander is a visual dialog building tool whose primary objective is
+to create as much functionality as possible without using any scripting
+language.
+
+See the kommander package for further information.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-kommander-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkommanderplugin.la
+%{tde_libdir}/libkommanderplugin.so
+%{tde_libdir}/libkommanderwidget.la
+%{tde_libdir}/libkommanderwidget.so
+%{tde_libdir}/libkommanderwidgets.so
+%{tde_tdeincludedir}/kommander*
+%{tde_tdeincludedir}/specials.h
+
+%post -n trinity-kommander-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kommander-devel
+/sbin/ldconfig || :
+
+##########
+
+%if 0%{?build_kxsldbg}
+
+%package -n trinity-kxsldbg
+Summary: graphical XSLT debugger for KDE [Trinity]
+Group: Applications/Development
+
+%description -n trinity-kxsldbg
+KXSLDbg is a debugger for XSLT scripts. It includes a graphical user
+interface as well as a text-based debugger. KXSLDbg can be run as a
+standalone application or as an embedded KDE part.
+
+XSLT is an XML language for defining transformations of XML files from
+XML to some other arbitrary format, such as XML, HTML, plain text, etc.,
+using standard XSLT stylesheets.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-kxsldbg
+%defattr(-,root,root,-)
+%{tde_bindir}/kxsldbg
+%{tde_bindir}/xsldbg
+%{tde_tdelibdir}/libkxsldbgpart.la
+%{tde_tdelibdir}/libkxsldbgpart.so
+%{tde_tdeappdir}/kxsldbg.desktop
+%{tde_datadir}/apps/kxsldbg
+%{tde_datadir}/apps/kxsldbgpart
+%{tde_tdedocdir}/HTML/en/kxsldbg/
+%{tde_tdedocdir}/HTML/en/xsldbg/
+%{tde_datadir}/icons/hicolor/*/actions/1downarrow.png
+%{tde_datadir}/icons/hicolor/*/actions/configure.png
+%{tde_datadir}/icons/hicolor/*/actions/exit.png
+%{tde_datadir}/icons/hicolor/*/actions/hash.png
+%{tde_datadir}/icons/hicolor/*/actions/mark.png
+%{tde_datadir}/icons/hicolor/*/actions/next.png
+%{tde_datadir}/icons/hicolor/*/actions/run.png
+%{tde_datadir}/icons/hicolor/*/actions/step.png
+%{tde_datadir}/icons/hicolor/*/actions/xsldbg_*.png
+%{tde_datadir}/icons/hicolor/*/apps/kxsldbg.png
+%{tde_datadir}/icons/locolor/*/apps/kxsldbg.png
+%{tde_datadir}/services/kxsldbg_part.desktop
+
+%post -n trinity-kxsldbg
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kxsldbg
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%endif
+
+##########
+
+%package devel
+Group: Development/Libraries
+Summary: Header files and documentation for %{name}
+
+Obsoletes: trinity-kdewebdev-devel < %{version}-%{release}
+Provides: trinity-kdewebdev-devel = %{version}-%{release}
+
+Requires: trinity-tdelibs-devel
+Requires: trinity-kommander-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+
+##########
+
+%if 0%{?suse_version} || 0%{?pclinuxos}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} -a 1 -a 2 -a 3 -a 4
+%patch1 -p1 -b .kxsldbg-icons
+
+%__install -m644 -p %{SOURCE5} kxsldbg/
+%if 0%{?build_kxsldbg} == 0
+%__rm -rf kxsldbg/ doc/kxsldbg/ doc/xsldbg/
+%endif
+
+%__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 QTINC QTLIB
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+# Do not build against any "/usr" installed KDE
+export KDEDIR="%{tde_prefix}"
+
+# Specific path for RHEL4
+if [ -d "/usr/X11R6" ]; then
+ export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --enable-new-ldflags \
+ --enable-closure \
+ --disable-debug --disable-warnings \
+ --disable-dependancy-tracking --enable-final
+
+# WTF hack for RHEL4
+%if 0%{?rhel} == 4
+mkdir kommander/plugin/.libs/
+ln -s . kommander/plugin/.libs/.libs
+%endif
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{?buildroot}
+
+
+## package separately? Why doesn't upstream include this? -- Rex
+# install docs
+for i in css html javascript ; do
+ pushd $i
+ ./install.sh <<EOF
+%{buildroot}%{tde_datadir}/apps/quanta/doc
+EOF
+ popd
+ rm -rf $i
+done
+cp -a php php.docrc %{buildroot}%{tde_datadir}/apps/quanta/doc/
+
+# make symlinks relative
+pushd %{buildroot}%{tde_tdedocdir}/HTML/en
+for i in *; do
+ if [ -d $i -a -L $i/common ]; then
+ rm -f $i/common
+ ln -nfs ../common $i
+ fi
+done
+popd
+
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-1
+- Initial release for TDE 3.5.13.2