summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2015-08-05 20:25:18 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2015-08-05 20:25:18 +0200
commit562049cd694f6dd0927b9880227fc4f6da008839 (patch)
treee939e442f1fb29ff29811ebc02f672ecf62a47c1 /redhat
parent6253ed4f8177cb33fef709fb7e215ff94e6300c1 (diff)
downloadtde-packaging-562049cd694f6dd0927b9880227fc4f6da008839.tar.gz
tde-packaging-562049cd694f6dd0927b9880227fc4f6da008839.zip
RPM Packaging: massive update
Diffstat (limited to 'redhat')
-rw-r--r--redhat/Makefile.r1445
-rw-r--r--redhat/applications/basket/basket-14.0.0.spec4
-rw-r--r--redhat/applications/basket/basket-14.0.1.spec208
-rw-r--r--redhat/applications/bibletime/bibletime-14.0.0.patch26
-rw-r--r--redhat/applications/bibletime/bibletime-14.0.0.spec2
-rw-r--r--redhat/applications/bibletime/bibletime-14.0.1.spec185
-rw-r--r--redhat/applications/k3b/k3b-14.0.0.spec8
-rw-r--r--redhat/applications/k9copy/k9copy-14.0.0.patch29
-rw-r--r--redhat/applications/k9copy/k9copy-14.0.0.spec2
-rw-r--r--redhat/applications/k9copy/k9copy-14.0.1.spec177
-rw-r--r--redhat/applications/kcmldap/kcmldap-14.0.0.spec12
-rw-r--r--redhat/applications/kcmldapcontroller/kcmldapcontroller-14.0.0.spec12
-rw-r--r--redhat/applications/kcmldapmanager/kcmldapmanager-14.0.0.spec12
-rw-r--r--redhat/applications/kerberostray/kerberostray-14.0.0.spec12
-rw-r--r--redhat/applications/kmplayer/kmplayer-14.0.0.patch13
-rw-r--r--redhat/applications/kmplayer/kmplayer-14.0.0.spec6
-rw-r--r--redhat/applications/kmplayer/kmplayer-14.0.1.spec325
-rw-r--r--redhat/applications/koffice/koffice-14.0.0.spec8
-rw-r--r--redhat/applications/ktorrent/ktorrent-14.0.0.patch13
-rw-r--r--redhat/applications/ktorrent/ktorrent-14.0.0.spec3
-rw-r--r--redhat/applications/ktorrent/ktorrent-14.0.1.spec226
-rw-r--r--redhat/applications/kvirc/kvirc-14.0.0.spec7
-rw-r--r--redhat/applications/piklab/piklab-14.0.0.spec6
-rw-r--r--redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.patch10
-rw-r--r--redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.spec7
-rw-r--r--redhat/applications/tde-systemsettings/tde-systemsettings-14.0.1.spec194
-rw-r--r--redhat/applications/wlassistant/wlassistant-14.0.0.patch13
-rw-r--r--redhat/applications/wlassistant/wlassistant-14.0.0.spec2
-rw-r--r--redhat/applications/wlassistant/wlassistant-14.0.1.spec206
-rwxr-xr-xredhat/build/build_rpm_package.sh7
-rwxr-xr-xredhat/build/get_rpm_package_name.sh2
-rw-r--r--redhat/dependencies/akode/akode-14.0.0.spec111
-rw-r--r--redhat/dependencies/akode/akode-3.5.13.2.spec42
-rw-r--r--redhat/dependencies/arts/arts-14.0.0.spec8
-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.spec6
-rw-r--r--redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec6
-rw-r--r--redhat/dependencies/libcaldav/libcaldav-14.0.0.spec18
-rw-r--r--redhat/dependencies/libcaldav/libcaldav-14.0.1-rhel5.patch193
-rw-r--r--redhat/dependencies/libcarddav/libcarddav-14.0.0.spec17
-rw-r--r--redhat/dependencies/libcarddav/libcarddav-14.0.1-rhel5.patch164
-rw-r--r--redhat/dependencies/tqca/tqca-14.0.0.spec8
-rw-r--r--redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec5
-rw-r--r--redhat/dependencies/tqt3/tqt3-14.0.0.spec8
-rw-r--r--redhat/libraries/libkipi/libkipi-14.0.0.spec8
-rw-r--r--redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec13
-rw-r--r--redhat/libraries/libksquirrel/libksquirrel-14.0.1.spec568
-rw-r--r--redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec12
-rw-r--r--redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec8
-rw-r--r--redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec5
-rw-r--r--redhat/libraries/python-trinity/python-trinity-14.0.0.spec2
-rw-r--r--redhat/main/tde-i18n/tde-i18n-14.0.0.spec4
-rw-r--r--redhat/main/tde-i18n/tde-i18n-3.5.13.2.spec1812
-rw-r--r--redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec7
-rw-r--r--redhat/main/tdeaddons/tdeaddons-14.0.0.spec5
-rw-r--r--redhat/main/tdeaddons/tdeaddons-14.0.1-fix_sdl_detection.patch18
-rw-r--r--redhat/main/tdeartwork/tdeartwork-14.0.0.spec28
-rw-r--r--redhat/main/tdebase/tdebase-14.0.0.spec46
-rw-r--r--redhat/main/tdebase/tdebase-14.0.1.spec3852
-rw-r--r--redhat/main/tdebindings/filter-requires.sh9
-rw-r--r--redhat/main/tdebindings/tdebindings-14.0.0.spec16
-rw-r--r--redhat/main/tdeedu/tdeedu-14.0.0.spec5
-rw-r--r--redhat/main/tdeedu/tdeedu-14.0.1-ftbfs.patch13
-rw-r--r--redhat/main/tdegraphics/tdegraphics-14.0.0.spec14
-rw-r--r--redhat/main/tdelibs/tdelibs-14.0.0.patch204
-rw-r--r--redhat/main/tdelibs/tdelibs-14.0.0.spec26
-rw-r--r--redhat/main/tdelibs/tdelibs-14.0.1.spec704
-rw-r--r--redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec13
-rw-r--r--redhat/main/tdemultimedia/tdemultimedia-14.0.1.spec1337
-rw-r--r--redhat/main/tdenetwork/tdenetwork-14.0.0.spec3
-rw-r--r--redhat/main/tdepim/tdepim-14.0.0.spec55
-rw-r--r--redhat/main/tdepim/tdepim-3.5.13.2.spec2
-rw-r--r--redhat/main/tdesdk/tdesdk-14.0.0.spec3
-rw-r--r--redhat/main/tdetoys/tdetoys-14.0.0.spec3
-rw-r--r--redhat/main/tdeutils/tdeutils-14.0.0.spec11
-rw-r--r--redhat/main/tdevelop/tdevelop-14.0.0.spec28
-rw-r--r--redhat/main/tdevelop/tdevelop-14.0.1.spec673
-rw-r--r--redhat/main/tdewebdev/tdewebdev-14.0.0.spec4
-rw-r--r--redhat/packages.pclos16
79 files changed, 1951 insertions, 9948 deletions
diff --git a/redhat/Makefile.r14 b/redhat/Makefile.r14
index 1b9e44d82..3c778624d 100644
--- a/redhat/Makefile.r14
+++ b/redhat/Makefile.r14
@@ -33,7 +33,7 @@ extras: icons-nuvola kdevmon kdissert klamav klibido knoda kompose koverartist k
arts: tqtinterface trinity-filesystem esound cmake
$(call buildpkg,dependencies/arts)
-avahi-tqt: tqtinterface autoconf automake libtool
+avahi-tqt: tqtinterface autoconf automake libtool2
$(call buildpkg,dependencies/avahi-tqt)
dbus-1-tqt: tqtinterface cmake
@@ -42,7 +42,7 @@ dbus-1-tqt: tqtinterface cmake
dbus-tqt: tqtinterface cmake
$(call buildpkg,dependencies/dbus-tqt)
-libart_lgpl: tqtinterface libtool
+libart_lgpl: tqtinterface libtool2
$(call buildpkg,dependencies/libart-lgpl)
libcaldav: tqtinterface autoconf libcurl
@@ -85,7 +85,7 @@ tdeadmin: tdebase
tdeartwork: tdebase
$(call buildpkg,main/tdeartwork)
-tdebase: tdelibs cmake htdig fileshareset libconfig
+tdebase: tdelibs cmake htdig fileshareset
$(call buildpkg,main/tdebase)
tdebindings: tdebase tqscintilla
@@ -174,23 +174,16 @@ endif
endif
endif
-libconfig:
+libcurl: automake libtool2
# Build on CentOS 5 only
-ifneq ($(wildcard /boot/vmlinuz*.el5*),)
- $(call buildpkg,3rdparty/libconfig)
-endif
-
-
-libcurl: automake libtool
-# Build on CentOS 5 only
-ifneq ($(wildcard /boot/vmlinuz*.el5*),)
+ifneq ($(wildcard /boot/vmlinuz*.el4*),)
$(call buildpkg,3rdparty/curl)
endif
-libtool: autoconf automake
+libtool2: autoconf automake
# Build on CentOS 5 only
ifneq ($(wildcard /boot/vmlinuz*.el5*),)
- $(call buildpkg,3rdparty/libtool)
+ $(call buildpkg,3rdparty/libtool2)
endif
lilypond: mftrace
@@ -246,7 +239,7 @@ endif
### Extra packages
akode: tqtinterface
- $(call buildpkg,extras/akode)
+ $(call buildpkg,dependencies/akode)
cmake-macros: cmake
ifneq ($(wildcard /etc/SuSE-release),)
@@ -337,10 +330,16 @@ gwenview: tdebase
$(call buildpkg,applications/gwenview)
k3b: tdebase
+# Do NOT build on CentOS 5 (No TDE HWLIB support)
+ifeq ($(wildcard /boot/vmlinuz*.el5*),)
$(call buildpkg,applications/k3b)
+endif
k9copy: tdebase k3b
+# Do NOT build on CentOS 5 (No K3B)
+ifeq ($(wildcard /boot/vmlinuz*.el5*),)
$(call buildpkg,applications/k9copy)
+endif
kaffeine: tdebase
$(call buildpkg,applications/kaffeine)
@@ -427,7 +426,9 @@ kile: tdebase
$(call buildpkg,applications/kile)
kima: tdebase
+ifeq ($(wildcard /boot/vmlinuz*.el5*),)
$(call buildpkg,applications/kima)
+endif
kiosktool: tdebase
$(call buildpkg,applications/kiosktool)
@@ -553,8 +554,8 @@ potracegui: tdebase
$(call buildpkg,applications/potracegui)
qt4-tqt-theme-engine: tdebase
-# Do NOT build on CentOS
-ifeq ($(wildcard /etc/centos-release),)
+# Do NOT build on CentOS 5, CentOS 6
+ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el6*),)
$(call buildpkg,applications/qt4-tqt-theme-engine)
endif
@@ -598,7 +599,10 @@ ifeq ($(wildcard /boot/vmlinuz*.el5* /boot/vmlinuz*.el6*),)
endif
tdepowersave: tdebase
+# Do NOT build on CentOS 5
+ifeq ($(wildcard /boot/vmlinuz*.el5*),)
$(call buildpkg,applications/tdepowersave)
+endif
tderadio: tdebase
$(call buildpkg,applications/tderadio)
@@ -641,7 +645,10 @@ gwenview-i18n: tdebase
$(call buildpkg,applications/gwenview-i18n)
k3b-i18n: tdebase
+# Do NOT build on CentOS 5
+ifeq ($(wildcard /boot/vmlinuz*.el5*),)
$(call buildpkg,applications/k3b-i18n)
+endif
koffice-i18n: tdebase
$(call buildpkg,applications/koffice-i18n)
@@ -676,7 +683,9 @@ klamav:
$(call buildpkg,extras/klamav)
klibido: pan
+ifeq ($(wildcard /boot/vmlinuz*.el5*),)
$(call buildpkg,extras/klibido)
+endif
knoda: hk_classes
$(call buildpkg,extras/knoda)
@@ -694,7 +703,9 @@ mathemagics:
$(call buildpkg,extras/mathemagics)
pan:
+ifeq ($(wildcard /boot/vmlinuz*.el5*),)
$(call buildpkg,3rdparty/pan)
+endif
png2qrgb:
$(call buildpkg,extras/png2qrgb)
diff --git a/redhat/applications/basket/basket-14.0.0.spec b/redhat/applications/basket/basket-14.0.0.spec
index 27b19a8b5..940ef94e8 100644
--- a/redhat/applications/basket/basket-14.0.0.spec
+++ b/redhat/applications/basket/basket-14.0.0.spec
@@ -23,6 +23,7 @@
%define tde_pkg basket
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
@@ -107,6 +108,7 @@ baskets to HTML.
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
+export kde_confdir="%{tde_confdir}"
# Warning: --enable-final causes FTBFS
%configure \
@@ -183,7 +185,7 @@ update-desktop-database %{tde_tdeappdir} -q &> /dev/null
%{tde_tdelibdir}/libbasketpart.so
%{tde_tdelibdir}/libkontact_basket.la
%{tde_tdelibdir}/libkontact_basket.so
-%{tde_datadir}/config/magic/basket.magic
+%{tde_confdir}/magic/basket.magic
%{tde_datadir}/icons/crystalsvg/*/*/*
%{tde_datadir}/mimelnk/application/x-basket-archive.desktop
%{tde_datadir}/mimelnk/application/x-basket-template.desktop
diff --git a/redhat/applications/basket/basket-14.0.1.spec b/redhat/applications/basket/basket-14.0.1.spec
deleted file mode 100644
index 68c2e481b..000000000
--- a/redhat/applications/basket/basket-14.0.1.spec
+++ /dev/null
@@ -1,208 +0,0 @@
-#
-# spec file for package basket (version R14)
-#
-# Copyright (c) 2014 Trinity Desktop Environment
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-#
-# Please submit bugfixes or comments via http://www.trinitydesktop.org/
-#
-
-# TDE variables
-%define tde_epoch 2
-%if "%{?tde_version}" == ""
-%define tde_version 14.0.1
-%endif
-%define tde_pkg basket
-%define tde_prefix /opt/trinity
-%define tde_bindir %{tde_prefix}/bin
-%define tde_confdir %{_sysconfdir}/trinity
-%define tde_datadir %{tde_prefix}/share
-%define tde_docdir %{tde_datadir}/doc
-%define tde_includedir %{tde_prefix}/include
-%define tde_libdir %{tde_prefix}/%{_lib}
-%define tde_mandir %{tde_datadir}/man
-%define tde_tdeappdir %{tde_datadir}/applications/tde
-%define tde_tdedocdir %{tde_docdir}/tde
-%define tde_tdeincludedir %{tde_includedir}/tde
-%define tde_tdelibdir %{tde_libdir}/trinity
-
-
-Name: trinity-%{tde_pkg}
-Epoch: %{tde_epoch}
-Version: 1.0.3.1
-Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
-Summary: Taking care of your ideas.
-Group: Applications/Utilities
-URL: http://www.trinitydesktop.org/
-
-%if 0%{?suse_version}
-License: GPL-2.0+
-%else
-License: GPLv2+
-%endif
-
-#Vendor: Trinity Desktop
-#Packager: Francois Andriot <francois.andriot@free.fr>
-
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-
-BuildRequires: trinity-tdelibs-devel >= %{tde_version}
-BuildRequires: trinity-tdebase-devel >= %{tde_version}
-BuildRequires: trinity-tdepim-devel >= %{tde_version}
-
-BuildRequires: desktop-file-utils
-BuildRequires: gpgme-devel
-
-BuildRequires: autoconf automake libtool m4
-BuildRequires: gcc-c++
-BuildRequires: pkgconfig
-BuildRequires: libtool
-
-# SUSE desktop files utility
-%if 0%{?suse_version}
-BuildRequires: update-desktop-files
-%endif
-
-%if 0%{?opensuse_bs} && 0%{?suse_version}
-# for xdg-menu script
-BuildRequires: brp-check-trinity
-%endif
-
-
-%description
-This application is mainly an all-purpose notes taker. It provide several baskets where
-to drop every sort of items: text, rich text, links, images, sounds, files, colors,
-application launcher... Objects can be edited, copied, dragged... So, you can arrange
-them as you want ! This application can be used to quickly drop web objects (link, text,
-images...) or notes, as well as to free your clutered desktop (if any). It is also useful
-to collect informations for a report. Those data can be shared with co-workers by exporting
-baskets to HTML.
-
-##########
-
-%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
-%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 kde_confdir="%{tde_confdir}"
-
-# Warning: --enable-final causes FTBFS
-%configure \
- --prefix=%{tde_prefix} \
- --exec-prefix=%{tde_prefix} \
- --bindir=%{tde_bindir} \
- --includedir=%{tde_tdeincludedir} \
- --libdir=%{tde_libdir} \
- --datadir=%{tde_datadir} \
- \
- --disable-dependency-tracking \
- --disable-debug \
- --enable-new-ldflags \
- --disable-final \
- --enable-closure \
- --enable-rpath \
- --disable-gcc-hidden-visibility
-
-%__make %{?_smp_mflags} || %__make
-
-
-%install
-export PATH="%{tde_bindir}:${PATH}"
-%__rm -rf %{buildroot}
-%__make install DESTDIR=%{buildroot}
-
-%find_lang %{tde_pkg}
-
-# Updates applications categories for openSUSE
-%if 0%{?suse_version}
-%suse_update_desktop_file -G "Extended Clipboard" basket DesktopUtility
-%endif
-
-# Apps that should stay in TDE
-echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/%{tde_pkg}.desktop"
-
-
-%clean
-%__rm -rf %{buildroot}
-
-
-%post
-for f in crystalsvg ; do
- touch --no-create %{tde_datadir}/icons/${f} || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
-done
-/sbin/ldconfig
-update-desktop-database %{tde_tdeappdir} -q &> /dev/null
-
-%postun
-for f in crystalsvg ; do
- touch --no-create %{tde_datadir}/icons/${f} || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} || :
-done
-/sbin/ldconfig
-update-desktop-database %{tde_tdeappdir} -q &> /dev/null
-
-
-%files -f %{tde_pkg}.lang
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING
-%{tde_bindir}/basket
-%{tde_tdeappdir}/basket.desktop
-%{tde_datadir}/apps/basket/
-%dir %{tde_datadir}/apps/kontact/ksettingsdialog
-%{tde_datadir}/apps/kontact/ksettingsdialog/kontact_basketplugin.setdlg
-%{tde_libdir}/libbasketcommon.la
-%{tde_libdir}/libbasketcommon.so
-%{tde_tdelibdir}/basketthumbcreator.la
-%{tde_tdelibdir}/basketthumbcreator.so
-%{tde_tdelibdir}/kcm_basket.la
-%{tde_tdelibdir}/kcm_basket.so
-%{tde_tdelibdir}/libbasketpart.la
-%{tde_tdelibdir}/libbasketpart.so
-%{tde_tdelibdir}/libkontact_basket.la
-%{tde_tdelibdir}/libkontact_basket.so
-%{tde_confdir}/magic/basket.magic
-%{tde_datadir}/icons/crystalsvg/*/*/*
-%{tde_datadir}/mimelnk/application/x-basket-archive.desktop
-%{tde_datadir}/mimelnk/application/x-basket-template.desktop
-%{tde_datadir}/services/basket_config_apps.desktop
-%{tde_datadir}/services/basket_config_baskets.desktop
-#%{tde_datadir}/services/basket_config_features.desktop
-%{tde_datadir}/services/basket_config_general.desktop
-%{tde_datadir}/services/basket_config_new_notes.desktop
-#%{tde_datadir}/services/basket_config_notes.desktop
-%{tde_datadir}/services/basket_config_notes_appearance.desktop
-%{tde_datadir}/services/basket_part.desktop
-%{tde_datadir}/services/basketthumbcreator.desktop
-%{tde_datadir}/services/kontact/basket.desktop
-%{tde_datadir}/services/kontact/basket_v4.desktop
-%{tde_tdedocdir}/HTML/en/basket/
-
-
-%changelog
-* Mon Jul 29 2013 Francois Andriot <francois.andriot@free.fr> - 2:1.0.3.1-1
-- Initial release for TDE 14.0.0
diff --git a/redhat/applications/bibletime/bibletime-14.0.0.patch b/redhat/applications/bibletime/bibletime-14.0.0.patch
deleted file mode 100644
index eaae32d16..000000000
--- a/redhat/applications/bibletime/bibletime-14.0.0.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/bibletime/backend/cswordbackend.cpp b/bibletime/backend/cswordbackend.cpp
-index 1c218b3..dda6275 100644
---- a/bibletime/backend/cswordbackend.cpp
-+++ b/bibletime/backend/cswordbackend.cpp
-@@ -251,7 +251,7 @@ const bool CSwordBackend::shutdownModules() {
-
- /** Returns true if the given option is enabled. */
- const bool CSwordBackend::isOptionEnabled( const CSwordModuleInfo::FilterTypes type) {
-- return (getGlobalOption( optionName(type).latin1() ) == "On");
-+ return (strcmp(getGlobalOption( optionName(type).latin1() ), "On") == 0);
- }
-
- /** Sets the given options enabled or disabled depending on the second parameter. */
-diff --git a/bibletime/frontend/cdragdropmgr.cpp b/bibletime/frontend/cdragdropmgr.cpp
-index 52d012f..4f8c4fe 100644
---- a/bibletime/frontend/cdragdropmgr.cpp
-+++ b/bibletime/frontend/cdragdropmgr.cpp
-@@ -36,7 +36,7 @@ bool CDragDropMgr::BTDrag::canDecode( const TQMimeSource * mime ) {
- };
-
- bool CDragDropMgr::BTDrag::provides( const char* type ) const {
-- return (type == "BibleTime/DND"); //return only true if the type is BibleTime/DND
-+ return (strcmp(type, "BibleTime/DND") == 0); //return only true if the type is BibleTime/DND
- };
-
- const char* CDragDropMgr::BTDrag::format( int i ) const {
diff --git a/redhat/applications/bibletime/bibletime-14.0.0.spec b/redhat/applications/bibletime/bibletime-14.0.0.spec
index 27e75ffdd..d6d64f84e 100644
--- a/redhat/applications/bibletime/bibletime-14.0.0.spec
+++ b/redhat/applications/bibletime/bibletime-14.0.0.spec
@@ -55,7 +55,6 @@ Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-Patch0: %{tde_pkg}-%{tde_version}.patch
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
@@ -109,7 +108,6 @@ texts, write own notes, save, print etc.).
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-%patch0 -p1 -b .rpmlint
%__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"
diff --git a/redhat/applications/bibletime/bibletime-14.0.1.spec b/redhat/applications/bibletime/bibletime-14.0.1.spec
deleted file mode 100644
index b864094e4..000000000
--- a/redhat/applications/bibletime/bibletime-14.0.1.spec
+++ /dev/null
@@ -1,185 +0,0 @@
-#
-# spec file for package bibletime (version R14)
-#
-# Copyright (c) 2014 Trinity Desktop Environment
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-#
-# Please submit bugfixes or comments via http://www.trinitydesktop.org/
-#
-
-# TDE variables
-%define tde_epoch 2
-%if "%{?tde_version}" == ""
-%define tde_version 14.0.1
-%endif
-%define tde_pkg bibletime
-%define tde_prefix /opt/trinity
-%define tde_bindir %{tde_prefix}/bin
-%define tde_datadir %{tde_prefix}/share
-%define tde_docdir %{tde_datadir}/doc
-%define tde_includedir %{tde_prefix}/include
-%define tde_libdir %{tde_prefix}/%{_lib}
-%define tde_mandir %{tde_datadir}/man
-%define tde_tdeappdir %{tde_datadir}/applications/tde
-%define tde_tdedocdir %{tde_docdir}/tde
-%define tde_tdeincludedir %{tde_includedir}/tde
-%define tde_tdelibdir %{tde_libdir}/trinity
-
-
-Name: trinity-%{tde_pkg}
-Epoch: %{tde_epoch}
-Version: 1.6.6.0
-Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
-Summary: A bible study tool for Trinity
-Group: Applications/Utilities
-URL: http://www.trinitydesktop.org/
-
-%if 0%{?suse_version}
-License: GPL-2.0+
-%else
-License: GPLv2+
-%endif
-
-#Vendor: Trinity Desktop
-#Packager: Francois Andriot <francois.andriot@free.fr>
-
-Prefix: %{_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-
-BuildRequires: trinity-tdelibs-devel >= %{tde_version}
-BuildRequires: trinity-tdebase-devel >= %{tde_version}
-
-BuildRequires: autoconf automake libtool m4
-BuildRequires: gcc-c++
-BuildRequires: pkgconfig
-BuildRequires: libtool
-BuildRequires: desktop-file-utils
-BuildRequires: gettext
-
-# SUSE desktop files utility
-%if 0%{?suse_version}
-BuildRequires: update-desktop-files
-%endif
-
-%if 0%{?opensuse_bs} && 0%{?suse_version}
-# for xdg-menu script
-BuildRequires: brp-check-trinity
-%endif
-
-# BOOST support
-BuildRequires: boost-devel
-
-# Requires: clucene
-%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 6
-BuildRequires: clucene-core-devel
-%endif
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}clucene-devel
-%endif
-
-# Requires: sword
-BuildRequires: sword-devel
-Requires: sword
-
-%description
-BibleTime is a free and easy to use bible study tool for UNIX systems.
-It requires a working TDE environment and the SWORD library.
-BibleTime provides easy handling of digitized texts (Bibles, commentaries
-and lexicons) and powerful features to work with these texts (search in
-texts, write own notes, save, print etc.).
-
-##########
-
-%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
-%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 PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
-
-%configure \
- --prefix=%{tde_prefix} \
- --exec-prefix=%{tde_prefix} \
- --bindir=%{tde_bindir} \
- --libdir=%{tde_libdir} \
- --datadir=%{tde_datadir} \
- --includedir=%{tde_tdeincludedir} \
- \
- --disable-dependency-tracking \
- --disable-debug \
- --enable-new-ldflags \
- --enable-final \
- --enable-closure \
- --enable-rpath \
- --disable-gcc-hidden-visibility
-
-# Not SMP safe !
-%__make -C bibletime/frontend
-
-# SMP safe !
-%__make %{?_smp_mflags} || %__make
-
-
-%install
-export PATH="%{tde_bindir}:${PATH}"
-%__rm -rf %{buildroot}
-%__make install DESTDIR=%{buildroot}
-
-%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/pics/*
-%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/bibletimeui.rc
-%__chmod 644 %{buildroot}%{tde_datadir}/apps/bibletime/tips
-
-echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_datadir}/applications/bibletime.desktop"
-
-
-%clean
-%__rm -rf %{buildroot}
-
-
-%post
-touch --no-create %{tde_datadir}/icons/hicolor || :
-gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
-update-desktop-database %{tde_datadir}/applications -q &> /dev/null
-
-
-%postun
-touch --no-create %{tde_datadir}/icons/hicolor || :
-gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
-update-desktop-database %{tde_datadir}/applications -q &> /dev/null
-
-
-%files
-%defattr(-,root,root,-)
-%{tde_bindir}/bibletime
-%{tde_tdeincludedir}/bibletimeinterface.h
-%{tde_datadir}/applications/bibletime.desktop
-%{tde_datadir}/apps/bibletime/
-%{tde_datadir}/icons/hicolor/*/*/*.png
-%{tde_tdedocdir}/HTML/en/bibletime/
-
-
-%changelog
-* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:1.6.6.0-1
-- Initial release for TDE 14.0.0
diff --git a/redhat/applications/k3b/k3b-14.0.0.spec b/redhat/applications/k3b/k3b-14.0.0.spec
index 779501470..e5a3aca8b 100644
--- a/redhat/applications/k3b/k3b-14.0.0.spec
+++ b/redhat/applications/k3b/k3b-14.0.0.spec
@@ -115,6 +115,12 @@ Requires: cdrdao
BuildRequires: libudev-devel
%endif
+# HAL support
+%if 0%{?rhel} == 5
+%define with_hal 1
+BuildRequires: hal-devel
+%endif
+
# DBUS support
# TQT bindings not available for RHEL4
%if 0%{?rhel} == 4
@@ -474,7 +480,7 @@ fi
%{?with_libmad:--with-libmad} %{?!with_libmad:--without-libmad} \
--with-musepack \
--without-resmgr \
- --without-hal
+ %{?with_hal:--with-hal} %{?!with_hal:--without-hal} \
# Strange behaviour on RHEL4 ...
%if 0%{?rhel} == 4
diff --git a/redhat/applications/k9copy/k9copy-14.0.0.patch b/redhat/applications/k9copy/k9copy-14.0.0.patch
deleted file mode 100644
index 5f20b85a6..000000000
--- a/redhat/applications/k9copy/k9copy-14.0.0.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- trinity-k9copy-14.0.0~pre130+76443cbb/src/Makefile.am.ftbfs 2013-07-21 09:56:44.000000000 +0200
-+++ trinity-k9copy-14.0.0~pre130+76443cbb/src/Makefile.am 2013-08-02 11:00:55.291717387 +0200
-@@ -35,7 +35,7 @@
- $(top_builddir)/k9author/libk9author.la $(top_builddir)/k9decmpeg/libk9decmpeg.la \
- $(top_builddir)/k9devices/libk9devices.la $(top_builddir)/k9vamps/libk9vamps.la \
- $(top_builddir)/libdvdnav/libk9dvdnav.la $(top_builddir)/libk9copy/libk9copy.la \
-- $(LIB_TDEUI) -ltdemdi $(LIBDL) -ldvdread
-+ $(LIB_TDEUI) -ltdemdi $(LIBDL) -ldvdread -lk3b -lk3bdevice
-
- # this is where the desktop file will go
- shelldesktopdir = $(kde_appsdir)/Utilities
---- trinity-k9copy-3.5.13.2/k9decmpeg/mpeg2_internal.h.ORI 2013-07-28 19:42:30.331485057 +0200
-+++ trinity-k9copy-3.5.13.2/k9decmpeg/mpeg2_internal.h 2013-07-28 19:43:09.713519110 +0200
-@@ -21,6 +21,9 @@
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-+#ifndef __MPEG2_INTERNAL_H__
-+#define __MPEG2_INTERNAL_H__
-+
- /* macroblock modes */
- #define MACROBLOCK_INTRA 1
- #define MACROBLOCK_PATTERN 2
-@@ -298,3 +301,5 @@
- extern mpeg2_mc_t mpeg2_mc_altivec;
- extern mpeg2_mc_t mpeg2_mc_alpha;
- extern mpeg2_mc_t mpeg2_mc_vis;
-+
-+#endif // __MPEG2_INTERNAL_H__
diff --git a/redhat/applications/k9copy/k9copy-14.0.0.spec b/redhat/applications/k9copy/k9copy-14.0.0.spec
index 3ffdded5c..6f4fd1dc2 100644
--- a/redhat/applications/k9copy/k9copy-14.0.0.spec
+++ b/redhat/applications/k9copy/k9copy-14.0.0.spec
@@ -56,7 +56,6 @@ Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-Patch0: %{tde_pkg}-%{tde_version}.patch
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
@@ -100,7 +99,6 @@ This is the Trinity version.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-%patch0 -p1 -b .ftbfs
# Removes internal dvdread headers
%__rm -rf dvdread
diff --git a/redhat/applications/k9copy/k9copy-14.0.1.spec b/redhat/applications/k9copy/k9copy-14.0.1.spec
deleted file mode 100644
index 6f4fd1dc2..000000000
--- a/redhat/applications/k9copy/k9copy-14.0.1.spec
+++ /dev/null
@@ -1,177 +0,0 @@
-#
-# spec file for package k9copy (version R14)
-#
-# Copyright (c) 2014 Trinity Desktop Environment
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-#
-# Please submit bugfixes or comments via http://www.trinitydesktop.org/
-#
-
-# TDE variables
-%define tde_epoch 2
-%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
-%endif
-%define tde_pkg k9copy
-%define tde_prefix /opt/trinity
-%define tde_appdir %{tde_datadir}/applications
-%define tde_bindir %{tde_prefix}/bin
-%define tde_datadir %{tde_prefix}/share
-%define tde_docdir %{tde_datadir}/doc
-%define tde_includedir %{tde_prefix}/include
-%define tde_libdir %{tde_prefix}/%{_lib}
-%define tde_mandir %{tde_datadir}/man
-%define tde_tdeappdir %{tde_datadir}/applications/tde
-%define tde_tdedocdir %{tde_docdir}/tde
-%define tde_tdeincludedir %{tde_includedir}/tde
-%define tde_tdelibdir %{tde_libdir}/trinity
-
-
-Name: trinity-%{tde_pkg}
-Epoch: %{tde_epoch}
-Version: 1.2.3
-Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
-Summary: DVD backup tool for Trinity
-Group: Applications/Utilities
-URL: http://www.trinitydesktop.org/
-
-%if 0%{?suse_version}
-License: GPL-2.0+
-%else
-License: GPLv2+
-%endif
-
-#Vendor: Trinity Desktop
-#Packager: Francois Andriot <francois.andriot@free.fr>
-
-Prefix: %{_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-
-BuildRequires: trinity-tdelibs-devel >= %{tde_version}
-BuildRequires: trinity-tdebase-devel >= %{tde_version}
-
-BuildRequires: desktop-file-utils
-BuildRequires: trinity-k3b-devel
-
-BuildRequires: autoconf automake libtool m4
-BuildRequires: gcc-c++
-BuildRequires: pkgconfig
-
-# SUSE desktop files utility
-%if 0%{?suse_version}
-BuildRequires: update-desktop-files
-%endif
-
-%if 0%{?opensuse_bs} && 0%{?suse_version}
-# for xdg-menu script
-BuildRequires: brp-check-trinity
-%endif
-
-# Warning: the target distribution must have ffmpeg !
-BuildRequires: ffmpeg-devel
-Requires: ffmpeg
-
-
-%description
-k9copy is a tabbed tool that allows to copy of one or more titles from a DVD9
-to a DVD5, in thesame way than DVDShrink for Microsoft Windows (R).
-This is the Trinity version.
-
-
-##########
-
-%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
-%debug_package
-%endif
-
-##########
-
-
-%prep
-%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-
-# Removes internal dvdread headers
-%__rm -rf dvdread
-
-%__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}"
-
-# FFMPEG ...
-if [ -d /usr/include/ffmpeg ]; then
- export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/include/ffmpeg"
-fi
-
-# NOTICE: --enable-final causes FTBFS !
-%configure \
- --prefix=%{tde_prefix} \
- --exec-prefix=%{tde_prefix} \
- --bindir=%{tde_bindir} \
- --datadir=%{tde_datadir} \
- --includedir=%{tde_tdeincludedir} \
- \
- --disable-dependency-tracking \
- --disable-debug \
- --disable-final \
- --enable-new-ldflags \
- --enable-closure \
- --enable-rpath \
- --disable-gcc-hidden-visibility \
- \
- --enable-k3bdevices
-
-%__make %{?_smp_mflags} || %__make
-
-
-%install
-export PATH="%{tde_bindir}:${PATH}"
-%__rm -rf %{buildroot}
-%__make install DESTDIR=%{buildroot}
-
-%find_lang %{tde_pkg}
-
-
-%clean
-%__rm -rf %{buildroot}
-
-
-%post
-touch --no-create %{tde_datadir}/icons/hicolor || :
-gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
-update-desktop-database %{tde_appdir} &> /dev/null
-
-%postun
-touch --no-create %{tde_datadir}/icons/hicolor || :
-gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
-update-desktop-database %{tde_appdir} &> /dev/null
-
-
-%files -f %{tde_pkg}.lang
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING
-%{tde_bindir}/k9copy
-%{tde_tdeappdir}/k9copy.desktop
-%{tde_datadir}/apps/k9copy/
-%{tde_datadir}/apps/konqueror/servicemenus/k9copy_open.desktop
-%lang(en) %{tde_tdedocdir}/HTML/en/k9copy/
-%{tde_datadir}/icons/hicolor/*/apps/k9copy.png
-
-
-%changelog
-* Mon Jul 29 2013 Francois Andriot <francois.andriot@free.fr> - 2:1.2.3-1
-- Initial release for TDE 14.0.0
diff --git a/redhat/applications/kcmldap/kcmldap-14.0.0.spec b/redhat/applications/kcmldap/kcmldap-14.0.0.spec
index 659763134..de5499657 100644
--- a/redhat/applications/kcmldap/kcmldap-14.0.0.spec
+++ b/redhat/applications/kcmldap/kcmldap-14.0.0.spec
@@ -82,12 +82,15 @@ BuildRequires: brp-check-trinity
%endif
# OPENLDAP support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: openldap-devel
%endif
%if 0%{?suse_version}
BuildRequires: openldap2-devel
%endif
+%if 0%{?rhel} == 5
+BuildRequires: openldap24-libs-devel
+%endif
%description
@@ -179,7 +182,12 @@ export PATH="%{tde_bindir}:${PATH}"
--enable-final \
--enable-closure \
--enable-rpath \
- --disable-gcc-hidden-visibility
+ --disable-gcc-hidden-visibility \
+ \
+%if 0%{?rhel} == 5
+ --with-extra-includes=/usr/include/openldap24 \
+ --with-extra-libs=/usr/lib/openldap24 \
+%endif
%__make %{?_smp_mflags}
diff --git a/redhat/applications/kcmldapcontroller/kcmldapcontroller-14.0.0.spec b/redhat/applications/kcmldapcontroller/kcmldapcontroller-14.0.0.spec
index db2fb485f..f44b382cf 100644
--- a/redhat/applications/kcmldapcontroller/kcmldapcontroller-14.0.0.spec
+++ b/redhat/applications/kcmldapcontroller/kcmldapcontroller-14.0.0.spec
@@ -78,12 +78,15 @@ BuildRequires: brp-check-trinity
%endif
# OPENLDAP support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: openldap-devel
%endif
%if 0%{?suse_version}
BuildRequires: openldap2-devel
%endif
+%if 0%{?rhel} == 5
+BuildRequires: openldap24-libs-devel
+%endif
Requires: trinity-kcontrol-ldap-controller = %{?epoch:%{epoch}:}%{version}-%{release}
@@ -156,7 +159,12 @@ export PATH="%{tde_bindir}:${PATH}"
--enable-final \
--enable-closure \
--enable-rpath \
- --disable-gcc-hidden-visibility
+ --disable-gcc-hidden-visibility \
+ \
+%if 0%{?rhel} == 5
+ --with-extra-includes=/usr/include/openldap24 \
+ --with-extra-libs=/usr/lib/openldap24 \
+%endif
%__make %{?_smp_mflags}
diff --git a/redhat/applications/kcmldapmanager/kcmldapmanager-14.0.0.spec b/redhat/applications/kcmldapmanager/kcmldapmanager-14.0.0.spec
index b6e8f23a9..43eae8ac5 100644
--- a/redhat/applications/kcmldapmanager/kcmldapmanager-14.0.0.spec
+++ b/redhat/applications/kcmldapmanager/kcmldapmanager-14.0.0.spec
@@ -78,12 +78,15 @@ BuildRequires: brp-check-trinity
%endif
# OPENLDAP support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: openldap-devel
%endif
%if 0%{?suse_version}
BuildRequires: openldap2-devel
%endif
+%if 0%{?rhel} == 5
+BuildRequires: openldap24-libs-devel
+%endif
Requires: trinity-kcontrol-ldap-manager = %{?epoch:%{epoch}:}%{version}-%{release}
@@ -150,7 +153,12 @@ export PATH="%{tde_bindir}:${PATH}"
--enable-final \
--enable-closure \
--enable-rpath \
- --disable-gcc-hidden-visibility
+ --disable-gcc-hidden-visibility \
+ \
+%if 0%{?rhel} == 5
+ --with-extra-includes=/usr/include/openldap24 \
+ --with-extra-libs=/usr/lib/openldap24 \
+%endif
%__make %{?_smp_mflags}
diff --git a/redhat/applications/kerberostray/kerberostray-14.0.0.spec b/redhat/applications/kerberostray/kerberostray-14.0.0.spec
index 289cbc9fa..1961903cc 100644
--- a/redhat/applications/kerberostray/kerberostray-14.0.0.spec
+++ b/redhat/applications/kerberostray/kerberostray-14.0.0.spec
@@ -78,12 +78,15 @@ BuildRequires: brp-check-trinity
%endif
# OPENLDAP support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: openldap-devel
%endif
%if 0%{?suse_version}
BuildRequires: openldap2-devel
%endif
+%if 0%{?rhel} == 5
+BuildRequires: openldap24-libs-devel
+%endif
%description
@@ -124,7 +127,12 @@ export PATH="%{tde_bindir}:${PATH}"
--enable-final \
--enable-closure \
--enable-rpath \
- --disable-gcc-hidden-visibility
+ --disable-gcc-hidden-visibility \
+ \
+%if 0%{?rhel} == 5
+ --with-extra-includes=/usr/include/openldap24 \
+ --with-extra-libs=/usr/lib/openldap24 \
+%endif
%__make %{?_smp_mflags}
diff --git a/redhat/applications/kmplayer/kmplayer-14.0.0.patch b/redhat/applications/kmplayer/kmplayer-14.0.0.patch
deleted file mode 100644
index fba761b15..000000000
--- a/redhat/applications/kmplayer/kmplayer-14.0.0.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/gstplayer.cpp b/src/gstplayer.cpp
-index c4bf580..0585ac9 100644
---- a/src/gstplayer.cpp
-+++ b/src/gstplayer.cpp
-@@ -750,7 +750,7 @@ void KGStreamerPlayer::seek (int val /*offset_in_deciseconds*/) {
- void KGStreamerPlayer::volume (int val) {
- //fprintf (stderr, "position %d\n", val);
- if (gst_elm_play)
-- g_object_set (G_OBJECT (gst_elm_play), "volume", 1.0*val/100, 0L);
-+ g_object_set (G_OBJECT (gst_elm_play), "volume", 1.0*val/100, NULL);
- }
-
- void KGStreamerPlayer::updatePosition () {
diff --git a/redhat/applications/kmplayer/kmplayer-14.0.0.spec b/redhat/applications/kmplayer/kmplayer-14.0.0.spec
index 7c0a38708..f19972c3b 100644
--- a/redhat/applications/kmplayer/kmplayer-14.0.0.spec
+++ b/redhat/applications/kmplayer/kmplayer-14.0.0.spec
@@ -23,6 +23,7 @@
%define tde_pkg kmplayer
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
@@ -56,7 +57,6 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-Patch0: %{tde_pkg}-14.0.0.patch
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
@@ -214,7 +214,7 @@ gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
%{tde_libdir}/libkmplayercommon.so
%{tde_bindir}/kgstplayer
%{tde_bindir}/kxineplayer
-%{tde_datadir}/config/kmplayerrc
+%{tde_confdir}/kmplayerrc
%{tde_datadir}/apps/kmplayer/bookmarks.xml
%{tde_datadir}/apps/kmplayer/noise.gif
%{tde_datadir}/icons/hicolor/*/apps/kmplayer.png
@@ -268,7 +268,6 @@ Documention for KMPlayer, a basic audio/video viewer application for TDE.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-%patch0 -p1 -b .orig
%__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"
@@ -279,6 +278,7 @@ Documention for KMPlayer, a basic audio/video viewer application for TDE.
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+export kde_confdir="%{tde_confdir}"
%configure \
--prefix=%{tde_prefix} \
diff --git a/redhat/applications/kmplayer/kmplayer-14.0.1.spec b/redhat/applications/kmplayer/kmplayer-14.0.1.spec
deleted file mode 100644
index f19972c3b..000000000
--- a/redhat/applications/kmplayer/kmplayer-14.0.1.spec
+++ /dev/null
@@ -1,325 +0,0 @@
-#
-# spec file for package kmplayer (version R14)
-#
-# Copyright (c) 2014 Trinity Desktop Environment
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-#
-# Please submit bugfixes or comments via http://www.trinitydesktop.org/
-#
-
-# TDE variables
-%define tde_epoch 2
-%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
-%endif
-%define tde_pkg kmplayer
-%define tde_prefix /opt/trinity
-%define tde_bindir %{tde_prefix}/bin
-%define tde_confdir %{_sysconfdir}/trinity
-%define tde_datadir %{tde_prefix}/share
-%define tde_docdir %{tde_datadir}/doc
-%define tde_includedir %{tde_prefix}/include
-%define tde_libdir %{tde_prefix}/%{_lib}
-%define tde_mandir %{tde_datadir}/man
-%define tde_tdeappdir %{tde_datadir}/applications/tde
-%define tde_tdedocdir %{tde_docdir}/tde
-%define tde_tdeincludedir %{tde_includedir}/tde
-%define tde_tdelibdir %{tde_libdir}/trinity
-
-
-Name: trinity-%{tde_pkg}
-Epoch: %{tde_epoch}
-Version: 0.10.0c
-Release: %{?!preversion:8}%{?preversion:7_%{preversion}}%{?dist}%{?_variant}
-Summary: Media player for Trinity
-Group: Applications/Multimedia
-URL: http://www.trinitydesktop.org/
-#URL: http://kmplayer.kde.org
-
-%if 0%{?suse_version}
-License: GPL-2.0+
-%else
-License: GPLv2+
-%endif
-
-#Vendor: Trinity Desktop
-#Packager: Francois Andriot <francois.andriot@free.fr>
-
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-
-BuildRequires: trinity-tdelibs-devel >= %{tde_version}
-BuildRequires: trinity-tdebase-devel >= %{tde_version}
-BuildRequires: desktop-file-utils
-
-BuildRequires: autoconf automake libtool m4
-BuildRequires: gcc-c++
-BuildRequires: pkgconfig
-BuildRequires: libtool
-
-# SUSE desktop files utility
-%if 0%{?suse_version}
-BuildRequires: update-desktop-files
-%endif
-
-%if 0%{?opensuse_bs} && 0%{?suse_version}
-# for xdg-menu script
-BuildRequires: brp-check-trinity
-%endif
-
-# DBUS support
-%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
-BuildRequires: trinity-dbus-tqt-devel >= %{tde_version}
-%endif
-
-# GSTREAMER support
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%if 0%{?pclinuxos}
-BuildRequires: libgstreamer0.10-devel
-%else
-BuildRequires: %{_lib}gstreamer0.10-devel
-%endif
-BuildRequires: %{_lib}gstreamer-plugins-base0.10-devel
-%endif
-%if 0%{?rhel} == 4
-BuildRequires: gstreamer-devel
-#BuildRequires: gstreamer-plugins-devel
-%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora}
-BuildRequires: gstreamer-devel
-BuildRequires: gstreamer-plugins-base-devel
-%endif
-%if 0%{?suse_version}
-BuildRequires: gstreamer-0_10-devel
-BuildRequires: gstreamer-0_10-plugins-base-devel
-%endif
-
-# XINE support
-%if 0%{?fedora} || 0%{?rhel} >= 4 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion}
-%define with_xine 1
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%if 0%{?pclinuxos}
-BuildRequires: %{_lib}xine-devel
-%else
-BuildRequires: %{_lib}xine1.2-devel
-%endif
-%endif
-%if 0%{?fedora} || 0%{?rhel}
-BuildRequires: xine-lib-devel
-%endif
-%if 0%{?suse_version}
-BuildRequires: libxine-devel
-%endif
-%endif
-
-# X11 stuff
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: libxt-devel
-BuildRequires: libxv-devel
-%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1210
-BuildRequires: libXv-devel
-%endif
-%if 0%{?rhel} == 4
-BuildRequires: xorg-x11-devel
-%endif
-%if 0%{?suse_version} == 1140
-BuildRequires: xorg-x11-libXv-devel
-%endif
-
-# GTK2 stuff
-BuildRequires: gtk2-devel
-
-# DBUS stuff
-%if 0%{?suse_version}
-BuildRequires: dbus-1-glib-devel
-%else
-BuildRequires: dbus-glib-devel
-%endif
-
-Requires: %{name}-base = %{?epoch:%{epoch}:}%{version}-%{release}
-
-
-%description
-A basic audio/video viewer application for Trinity.
-
-KMPlayer can:
-* play DVD (DVDNav only with the Xine player)
-* play VCD
-* let the backend players play from a pipe (read from stdin)
-* play from a TV device (experimental)
-* show backend player's console output
-* launch ffserver (only 0.4.8 works) when viewing from a v4l device
-* DCOP KMediaPlayer interface support
-* VDR viewer frontend (with *kxvplayer), configure VDR keys with standard TDE
- shortcut configure window
-* Lots of configurable shortcuts. Highly recommended for the VDR keys
- (if you have VDR) and volume increase/decrease
-
-%post
-/sbin/ldconfig || :
-
-%postun
-/sbin/ldconfig || :
-
-%files -f %{tde_pkg}.lang
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING ChangeLog INSTALL README TODO kmplayer.lsm
-%{tde_bindir}/kmplayer
-%{tde_bindir}/knpplayer
-%{tde_bindir}/kxvplayer
-%{tde_libdir}/libtdeinit_kmplayer.la
-%{tde_libdir}/libtdeinit_kmplayer.so
-%{tde_tdelibdir}/kmplayer.la
-%{tde_tdelibdir}/kmplayer.so
-%{tde_tdeappdir}/kmplayer.desktop
-%exclude %{tde_datadir}/apps/kmplayer/bookmarks.xml
-%exclude %{tde_datadir}/apps/kmplayer/kmplayerpartui.rc
-%exclude %{tde_datadir}/apps/kmplayer/noise.gif
-%exclude %{tde_datadir}/apps/kmplayer/pluginsinfo
-%{tde_datadir}/apps/kmplayer/
-
-##########
-
-%package base
-Group: Applications/Multimedia
-Summary: Base files for KMPlayer [Trinity]
-
-%description base
-Core files needed for KMPlayer.
-
-%post base
-touch --no-create %{tde_datadir}/icons/hicolor || :
-gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
-/sbin/ldconfig || :
-
-%postun base
-touch --no-create %{tde_datadir}/icons/hicolor || :
-gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
-/sbin/ldconfig || :
-
-%files base
-%defattr(-,root,root,-)
-%{tde_libdir}/libkmplayercommon.la
-%{tde_libdir}/libkmplayercommon.so
-%{tde_bindir}/kgstplayer
-%{tde_bindir}/kxineplayer
-%{tde_confdir}/kmplayerrc
-%{tde_datadir}/apps/kmplayer/bookmarks.xml
-%{tde_datadir}/apps/kmplayer/noise.gif
-%{tde_datadir}/icons/hicolor/*/apps/kmplayer.png
-%{tde_datadir}/icons/hicolor/*/apps/kmplayer.svgz
-%{tde_datadir}/mimelnk/application/x-kmplayer.desktop
-%{tde_datadir}/mimelnk/video/x-ms-wmp.desktop
-
-##########
-
-%package konq-plugins
-Group: Applications/Multimedia
-Requires: %{name}-base = %{?epoch:%{epoch}:}%{version}-%{release}
-Requires: trinity-konqueror >= %{tde_version}
-Summary: KMPlayer plugin for KHTML/Konqueror [Trinity]
-
-%description konq-plugins
-This plugin enables audio/video playback inside konqueror, using Xine (with
-*kxineplayer) or GStreamer (with *kgstplayer), such as movie trailers, web
-tv or radio. It mimics QuickTime, MS Media Player and RealPlayer plugin
-browser plugins.
-
-%files konq-plugins
-%defattr(-,root,root,-)
-%{tde_tdelibdir}/libkmplayerpart.la
-%{tde_tdelibdir}/libkmplayerpart.so
-%{tde_datadir}/apps/kmplayer/kmplayerpartui.rc
-%{tde_datadir}/apps/kmplayer/pluginsinfo
-%{tde_datadir}/services/kmplayer_part.desktop
-
-##########
-
-%package doc
-Group: Applications/Multimedia
-Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-Summary: Handbook for KMPlayer [Trinity]
-
-%description doc
-Documention for KMPlayer, a basic audio/video viewer application for TDE.
-
-%files doc
-%defattr(-,root,root,-)
-%{tde_tdedocdir}/HTML/*/kmplayer
-
-##########
-
-%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
-%debug_package
-%endif
-
-##########
-
-%prep
-%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-
-%__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 PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
-export kde_confdir="%{tde_confdir}"
-
-%configure \
- --prefix=%{tde_prefix} \
- --exec-prefix=%{tde_prefix} \
- --bindir=%{tde_bindir} \
- --datadir=%{tde_datadir} \
- --includedir=%{tde_tdeincludedir} \
- --libdir=%{tde_libdir} \
- --mandir=%{tde_mandir} \
- \
- --disable-dependency-tracking \
- --disable-debug \
- --enable-new-ldflags \
- --enable-final \
- --enable-closure \
- --enable-rpath \
- --disable-gcc-hidden-visibility
-
-%__make %{?_smp_mflags} || %__make
-
-
-%install
-export PATH="%{tde_bindir}:${PATH}"
-%__rm -rf %{buildroot}
-%__make install DESTDIR=%{buildroot}
-
-%find_lang %{tde_pkg}
-
-# Removes unwanted files
-%__rm -f %{?buildroot}%{tde_datadir}/mimelnk/application/x-mplayer2.desktop
-
-# Updates applications categories for openSUSE
-%if 0%{?suse_version}
-%suse_update_desktop_file -r "%{tde_pkg}" TDE AudioVideo Player Video
-%endif
-
-
-%clean
-%__rm -rf %{buildroot}
-
-
-%changelog
-* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:0.10.0c-1
-- Initial release for TDE 14.0.0
diff --git a/redhat/applications/koffice/koffice-14.0.0.spec b/redhat/applications/koffice/koffice-14.0.0.spec
index 4183bf3eb..16e69a105 100644
--- a/redhat/applications/koffice/koffice-14.0.0.spec
+++ b/redhat/applications/koffice/koffice-14.0.0.spec
@@ -177,7 +177,6 @@ BuildRequires: libutempter-devel
# POPPLER support
%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
@@ -185,7 +184,6 @@ BuildRequires: %{_lib}poppler-devel
%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
# On RHEL 5, the distro-provided poppler is too old. We built a newer one.
BuildRequires: trinity-poppler-devel >= 0.12
-BuildRequires: trinity-poppler-qt3-devel >= 0.12
%endif
# POSTGRESQL support
@@ -1125,6 +1123,12 @@ RD=$(ruby -r rbconfig -e 'printf("%s",Config::CONFIG["rubyhdrdir"])')
export CXXFLAGS="${CXXFLAGS} -I${RD}/%_normalized_cpu-linux"
%endif
+# FTBFS on RHEL 5
+%if 0%{?rhel} == 5
+%__sed -i "kexi/migration/keximigratetest.cpp" \
+ -e "/TDEApplication/ s|\");|\", true, true, true);|"
+%endif
+
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
diff --git a/redhat/applications/ktorrent/ktorrent-14.0.0.patch b/redhat/applications/ktorrent/ktorrent-14.0.0.patch
deleted file mode 100644
index 10a3e77c3..000000000
--- a/redhat/applications/ktorrent/ktorrent-14.0.0.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/plugins/upnp/upnpmcastsocket.cpp b/plugins/upnp/upnpmcastsocket.cpp
-index 3b8be45..0172ed2 100644
---- a/plugins/upnp/upnpmcastsocket.cpp
-+++ b/plugins/upnp/upnpmcastsocket.cpp
-@@ -21,7 +21,7 @@
- #include <kurl.h>
- extern "C" {
- #include <unistd.h>
-- inline ssize_t mycread (int __fd, void *__buf, size_t __nbytes) { read(__fd, __buf, __nbytes); }
-+ inline ssize_t mycread (int __fd, void *__buf, size_t __nbytes) { return read(__fd, __buf, __nbytes); }
- };
- #include <sys/socket.h>
- #include <netinet/in.h>
diff --git a/redhat/applications/ktorrent/ktorrent-14.0.0.spec b/redhat/applications/ktorrent/ktorrent-14.0.0.spec
index c25023666..c7adf8c90 100644
--- a/redhat/applications/ktorrent/ktorrent-14.0.0.spec
+++ b/redhat/applications/ktorrent/ktorrent-14.0.0.spec
@@ -56,8 +56,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-Patch0: %{tde_pkg}-14.0.0.patch
-
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
@@ -115,7 +113,6 @@ enabling background downloading.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-%patch0 -p1 -b .ftbfs
%__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"
diff --git a/redhat/applications/ktorrent/ktorrent-14.0.1.spec b/redhat/applications/ktorrent/ktorrent-14.0.1.spec
deleted file mode 100644
index c7adf8c90..000000000
--- a/redhat/applications/ktorrent/ktorrent-14.0.1.spec
+++ /dev/null
@@ -1,226 +0,0 @@
-#
-# spec file for package ktorrent (version R14)
-#
-# Copyright (c) 2014 Trinity Desktop Environment
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-#
-# Please submit bugfixes or comments via http://www.trinitydesktop.org/
-#
-
-# TDE variables
-%define tde_epoch 2
-%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
-%endif
-%define tde_pkg ktorrent
-%define tde_prefix /opt/trinity
-%define tde_bindir %{tde_prefix}/bin
-%define tde_datadir %{tde_prefix}/share
-%define tde_docdir %{tde_datadir}/doc
-%define tde_includedir %{tde_prefix}/include
-%define tde_libdir %{tde_prefix}/%{_lib}
-%define tde_mandir %{tde_datadir}/man
-%define tde_tdeappdir %{tde_datadir}/applications/tde
-%define tde_tdedocdir %{tde_docdir}/tde
-%define tde_tdeincludedir %{tde_includedir}/tde
-%define tde_tdelibdir %{tde_libdir}/trinity
-
-
-Name: trinity-%{tde_pkg}
-Epoch: %{tde_epoch}
-Version: 2.2.8
-Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
-Summary: BitTorrent client for Trinity
-Group: Applications/Utilities
-URL: http://ktorrent.org
-
-%if 0%{?suse_version}
-License: GPL-2.0+
-%else
-License: GPLv2+
-%endif
-
-#Vendor: Trinity Desktop
-#Packager: Francois Andriot <francois.andriot@free.fr>
-
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-
-BuildRequires: trinity-tdelibs-devel >= %{tde_version}
-BuildRequires: trinity-tdebase-devel >= %{tde_version}
-BuildRequires: desktop-file-utils
-BuildRequires: gettext
-
-BuildRequires: autoconf automake libtool m4
-BuildRequires: gcc-c++
-BuildRequires: pkgconfig
-BuildRequires: fdupes
-
-# SUSE desktop files utility
-%if 0%{?suse_version}
-BuildRequires: update-desktop-files
-%endif
-
-%if 0%{?opensuse_bs} && 0%{?suse_version}
-# for xdg-menu script
-BuildRequires: brp-check-trinity
-%endif
-
-# GMP support
-BuildRequires: gmp-devel
-
-# AVAHI support
-# Disabled on RHEL4 and RHEL5
-%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
-%define with_avahi 1
-BuildRequires: trinity-avahi-tqt-devel
-Requires: trinity-avahi-tqt
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}avahi-client-devel
-Requires: %{_lib}avahi-client3
-%else
-BuildRequires: avahi-devel
-Requires: avahi
-%endif
-%endif
-
-
-%description
-KTorrent is a BitTorrent program for Trinity. Its features include speed capping
-(both down and up), integrated searching, UDP tracker support, preview of
-certain file types (video and audio) and integration into the TDE Panel
-enabling background downloading.
-
-
-##########
-
-%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
-%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}"
-
-%configure \
- --prefix="%{tde_prefix}" \
- --exec-prefix="%{tde_prefix}" \
- --bindir="%{tde_bindir}" \
- --datadir="%{tde_datadir}" \
- --libdir="%{tde_libdir}" \
- --mandir="%{tde_mandir}" \
- --includedir="%{tde_tdeincludedir}" \
- \
- --disable-dependency-tracking \
- --disable-debug \
- --enable-final \
- --enable-new-ldflags \
- --enable-closure \
- --enable-rpath \
- --disable-gcc-hidden-visibility \
- \
- %{?!with_avahi:--without-avahi}
-
-
-# Not SMP safe !
-%__make
-
-
-%install
-export PATH="%{tde_bindir}:${PATH}"
-%__rm -rf "%{buildroot}"
-%__make install DESTDIR="%{buildroot}"
-
-%find_lang %{tde_pkg}
-
-# Unwanted files
-%__rm -f "%{?buildroot}%{tde_libdir}/libktorrent.so"
-
-
-%clean
-%__rm -rf "%{buildroot}"
-
-
-%post
-update-desktop-database %{tde_tdeappdir} > /dev/null
-touch --no-create %{tde_datadir}/icons/hicolor || :
-gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
-/sbin/ldconfig || :
-
-%postun
-update-desktop-database %{tde_tdeappdir} > /dev/null
-touch --no-create %{tde_datadir}/icons/hicolor || :
-gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
-/sbin/ldconfig || :
-
-
-%files -f %{tde_pkg}.lang
-%defattr(-,root,root,-)
-%{tde_bindir}/ktcachecheck
-%{tde_bindir}/ktorrent
-%{tde_bindir}/ktshell
-%{tde_bindir}/kttorinfo
-%{tde_bindir}/ktupnptest
-%{tde_libdir}/libktorrent-%{version}.so
-%{tde_libdir}/libktorrent.la
-%{tde_tdelibdir}/ktinfowidgetplugin.la
-%{tde_tdelibdir}/ktinfowidgetplugin.so
-%{tde_tdelibdir}/ktipfilterplugin.la
-%{tde_tdelibdir}/ktipfilterplugin.so
-%{tde_tdelibdir}/ktlogviewerplugin.la
-%{tde_tdelibdir}/ktlogviewerplugin.so
-%{tde_tdelibdir}/ktpartfileimportplugin.la
-%{tde_tdelibdir}/ktpartfileimportplugin.so
-%{tde_tdelibdir}/ktrssfeedplugin.la
-%{tde_tdelibdir}/ktrssfeedplugin.so
-%{tde_tdelibdir}/ktscanfolderplugin.la
-%{tde_tdelibdir}/ktscanfolderplugin.so
-%{tde_tdelibdir}/ktschedulerplugin.la
-%{tde_tdelibdir}/ktschedulerplugin.so
-%{tde_tdelibdir}/ktsearchplugin.la
-%{tde_tdelibdir}/ktsearchplugin.so
-%{tde_tdelibdir}/ktstatsplugin.la
-%{tde_tdelibdir}/ktstatsplugin.so
-%{tde_tdelibdir}/ktupnpplugin.la
-%{tde_tdelibdir}/ktupnpplugin.so
-%{tde_tdelibdir}/ktwebinterfaceplugin.la
-%{tde_tdelibdir}/ktwebinterfaceplugin.so
-%{tde_tdeappdir}/ktorrent.desktop
-%{tde_datadir}/apps/ktorrent/
-%{tde_datadir}/config.kcfg/*.kcfg
-%{tde_datadir}/icons/hicolor/*/*/*.png
-%{tde_datadir}/icons/hicolor/*/*/*.svgz
-%{tde_datadir}/services/*.desktop
-%{tde_datadir}/servicetypes/ktorrentplugin.desktop
-%{tde_tdedocdir}/HTML/en/ktorrent/
-
-%if 0%{?with_avahi}
-%{tde_tdelibdir}/ktzeroconfplugin.la
-%{tde_tdelibdir}/ktzeroconfplugin.so
-%endif
-
-
-%changelog
-* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:2.2.8-1
-- Initial release for TDE 14.0.0
diff --git a/redhat/applications/kvirc/kvirc-14.0.0.spec b/redhat/applications/kvirc/kvirc-14.0.0.spec
index 121b644c0..25dbdfe86 100644
--- a/redhat/applications/kvirc/kvirc-14.0.0.spec
+++ b/redhat/applications/kvirc/kvirc-14.0.0.spec
@@ -130,6 +130,13 @@ with the K Desktop Environment version 3.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
+# FTBFS on RHEL 5
+%if 0%{?rhel} == 5
+%__sed -i "admin/acinclude.m4.in" \
+ -i "src/kvilib/tal/kvi_tal_application.cpp" \
+ -e "/TDEApplication/ s|\")|\", true, true, true)|";
+%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"
diff --git a/redhat/applications/piklab/piklab-14.0.0.spec b/redhat/applications/piklab/piklab-14.0.0.spec
index 32e37bea0..cced2e4ad 100644
--- a/redhat/applications/piklab/piklab-14.0.0.spec
+++ b/redhat/applications/piklab/piklab-14.0.0.spec
@@ -120,6 +120,7 @@ unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
# Warning: --enable-final causes FTBFS
+# Warning: RHEL5 FTBFS: https://bugzilla.redhat.com/show_bug.cgi?id=499837
%configure \
--prefix=%{tde_prefix} \
--exec-prefix=%{tde_prefix} \
@@ -135,7 +136,10 @@ export PATH="%{tde_bindir}:${PATH}"
--enable-new-ldflags \
--enable-closure \
--enable-rpath \
- --disable-gcc-hidden-visibility
+ --disable-gcc-hidden-visibility \
+%if 0%{?rhel} == 5
+ --disable-libreadline \
+%endif
%__make %{?_smp_mflags}
diff --git a/redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.patch b/redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.patch
deleted file mode 100644
index c5b383686..000000000
--- a/redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.patch
+++ /dev/null
@@ -1,10 +0,0 @@
-diff --git a/systemsettings/tdecmodulemenu.cpp b/systemsettings/tdecmodulemenu.cpp
-index 56c1220..d8f84ce 100644
---- a/systemsettings/tdecmodulemenu.cpp
-+++ b/systemsettings/tdecmodulemenu.cpp
-@@ -185,4 +185,5 @@ TQString TDECModuleMenu::deriveCaptionFromPath( const TQString &menuPath )
- return result;
- }
- }
-+ return result;
- }
diff --git a/redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.spec b/redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.spec
index eedbf2917..11b860c1b 100644
--- a/redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.spec
+++ b/redhat/applications/tde-systemsettings/tde-systemsettings-14.0.0.spec
@@ -23,6 +23,7 @@
%define tde_pkg tde-systemsettings
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
@@ -57,8 +58,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: kde-settings-laptops.directory
-Patch0: %{tde_pkg}-14.0.0.patch
-
Provides: trinity-kde-systemsettings = %{?epoch:%{epoch}:}%{version}-%{release}
@@ -102,7 +101,6 @@ Control Centre with an improved user interface.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-%patch0 -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"
@@ -112,6 +110,7 @@ Control Centre with an improved user interface.
%build
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
+export kde_confdir="%{tde_confdir}"
%configure \
@@ -184,7 +183,7 @@ update-desktop-database %{tde_tdeappdir} -q &> /dev/null
%{tde_datadir}/applications/tde/medianotifications.desktop
%{tde_datadir}/applications/tde/systemsettings.desktop
%{tde_datadir}/apps/systemsettings/
-%{tde_datadir}/config/systemsettingsrc
+%{tde_confdir}/systemsettingsrc
%{tde_datadir}/desktop-directories/*.directory
%{tde_datadir}/icons/crystalsvg/*/apps/systemsettings.png
%{tde_tdedocdir}/HTML/en/systemsettings/
diff --git a/redhat/applications/tde-systemsettings/tde-systemsettings-14.0.1.spec b/redhat/applications/tde-systemsettings/tde-systemsettings-14.0.1.spec
deleted file mode 100644
index 11b860c1b..000000000
--- a/redhat/applications/tde-systemsettings/tde-systemsettings-14.0.1.spec
+++ /dev/null
@@ -1,194 +0,0 @@
-#
-# spec file for package tde-systemsettings (version R14)
-#
-# Copyright (c) 2014 Trinity Desktop Environment
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-#
-# Please submit bugfixes or comments via http://www.trinitydesktop.org/
-#
-
-# TDE variables
-%define tde_epoch 2
-%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
-%endif
-%define tde_pkg tde-systemsettings
-%define tde_prefix /opt/trinity
-%define tde_bindir %{tde_prefix}/bin
-%define tde_confdir %{_sysconfdir}/trinity
-%define tde_datadir %{tde_prefix}/share
-%define tde_docdir %{tde_datadir}/doc
-%define tde_includedir %{tde_prefix}/include
-%define tde_libdir %{tde_prefix}/%{_lib}
-%define tde_mandir %{tde_datadir}/man
-%define tde_sysconfdir %{_sysconfdir}/trinity
-%define tde_tdeappdir %{tde_datadir}/applications/tde
-%define tde_tdedocdir %{tde_docdir}/tde
-%define tde_tdeincludedir %{tde_includedir}/tde
-%define tde_tdelibdir %{tde_libdir}/trinity
-
-
-Name: trinity-%{tde_pkg}
-Epoch: %{tde_epoch}
-Version: 0.0svn20070312
-Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
-Summary: Easy to use control centre for TDE
-Group: Applications/Utilities
-URL: http://www.trinitydesktop.org
-
-%if 0%{?suse_version}
-License: GPL-2.0+
-%else
-License: GPLv2+
-%endif
-
-#Vendor: Trinity Desktop
-#Packager: Francois Andriot <francois.andriot@free.fr>
-
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-Source1: kde-settings-laptops.directory
-
-
-Provides: trinity-kde-systemsettings = %{?epoch:%{epoch}:}%{version}-%{release}
-Obsoletes: trinity-kde-systemsettings < %{?epoch:%{epoch}:}%{version}-%{release}
-Provides: trinity-systemsettings = %{?epoch:%{epoch}:}%{version}-%{release}
-Obsoletes: trinity-systemsettings < %{?epoch:%{epoch}:}%{version}-%{release}
-
-BuildRequires: trinity-tdelibs-devel >= %{tde_version}
-BuildRequires: trinity-tdebase-devel >= %{tde_version}
-BuildRequires: desktop-file-utils
-
-BuildRequires: autoconf automake libtool m4
-BuildRequires: gcc-c++
-BuildRequires: pkgconfig
-BuildRequires: fdupes
-
-# SUSE desktop files utility
-%if 0%{?suse_version}
-BuildRequires: update-desktop-files
-%endif
-
-%if 0%{?opensuse_bs} && 0%{?suse_version}
-# for xdg-menu script
-BuildRequires: brp-check-trinity
-%endif
-
-Requires: trinity-guidance
-
-
-%description
-System preferences is a replacement for the TDE
-Control Centre with an improved user interface.
-
-##########
-
-%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
-%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 kde_confdir="%{tde_confdir}"
-
-
-%configure \
- --prefix=%{tde_prefix} \
- --exec-prefix=%{tde_prefix} \
- --bindir=%{tde_bindir} \
- --datadir=%{tde_datadir} \
- --includedir=%{tde_tdeincludedir} \
- --sysconfdir=%{tde_sysconfdir} \
- \
- --disable-dependency-tracking \
- --disable-debug \
- --enable-final \
- --enable-new-ldflags \
- --enable-closure \
- --enable-rpath \
- --disable-gcc-hidden-visibility
-
-%__make %{?_smp_mflags}
-
-
-%install
-export PATH="%{tde_bindir}:${PATH}"
-%__rm -rf %{buildroot}
-%__make install DESTDIR=%{buildroot}
-
-%__install -D -m 644 %{SOURCE1} %{buildroot}%{tde_datadir}/desktop-directories/tde-settings-laptops.directory
-
-# Unwanted files
-%__rm -f %{buildroot}%{tde_datadir}/applications/tde/kcmfontinst.desktop
-%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/tde-settings-power.directory
-%__rm -f %{buildroot}%{tde_datadir}/desktop-directories/tde-settings-system.directory
-
-%__rm -f %{buildroot}%{tde_datadir}/applications/tde/laptop.desktop
-
-echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/audioencoding.desktop"
-echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/defaultapplication.desktop"
-echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/kcm_knetworkconfmodule_ss.desktop"
-echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/medianotifications.desktop"
-echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/systemsettings.desktop"
-
-
-%clean
-%__rm -rf %{buildroot}
-
-
-%post
-touch --no-create %{tde_datadir}/icons/crystalsvg || :
-gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
-update-desktop-database %{tde_tdeappdir} -q &> /dev/null
-
-%postun
-touch --no-create %{tde_datadir}/icons/crystalsvg || :
-gtk-update-icon-cache --quiet %{tde_datadir}/icons/crystalsvg || :
-update-desktop-database %{tde_tdeappdir} -q &> /dev/null
-
-%files
-%defattr(-,root,root,-)
-%doc README TODO
-%dir %{tde_sysconfdir}/xdg
-%dir %{tde_sysconfdir}/xdg/menus
-%dir %{tde_sysconfdir}/xdg/menus/applications-merged
-%{tde_sysconfdir}/xdg/menus/applications-merged/tde-system-settings-merge.menu
-%{tde_sysconfdir}/xdg/menus/tde-system-settings.menu
-%{tde_bindir}/systemsettings
-%{tde_datadir}/applications/tde/audioencoding.desktop
-%{tde_datadir}/applications/tde/defaultapplication.desktop
-%{tde_datadir}/applications/tde/kcm_knetworkconfmodule_ss.desktop
-#%{tde_datadir}/applications/tde/laptop.desktop
-%{tde_datadir}/applications/tde/medianotifications.desktop
-%{tde_datadir}/applications/tde/systemsettings.desktop
-%{tde_datadir}/apps/systemsettings/
-%{tde_confdir}/systemsettingsrc
-%{tde_datadir}/desktop-directories/*.directory
-%{tde_datadir}/icons/crystalsvg/*/apps/systemsettings.png
-%{tde_tdedocdir}/HTML/en/systemsettings/
-
-
-%changelog
-* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:0.0svn20070312-1
-- Initial release for TDE 14.0.0
diff --git a/redhat/applications/wlassistant/wlassistant-14.0.0.patch b/redhat/applications/wlassistant/wlassistant-14.0.0.patch
deleted file mode 100644
index 385d4d07d..000000000
--- a/redhat/applications/wlassistant/wlassistant-14.0.0.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/src/watools.cpp b/src/watools.cpp
-index 5814274..252c791 100644
---- a/src/watools.cpp
-+++ b/src/watools.cpp
-@@ -192,6 +192,8 @@ int WATools::availableNetworks( const char* _ifname ) //returns a list of availa
- i++;
- } while (scan = scan->next);
- printf( "WATools: Networks found: %i\n", i );
-+
-+ return i;
- }
-
-
diff --git a/redhat/applications/wlassistant/wlassistant-14.0.0.spec b/redhat/applications/wlassistant/wlassistant-14.0.0.spec
index 535aa004a..ff2c05226 100644
--- a/redhat/applications/wlassistant/wlassistant-14.0.0.spec
+++ b/redhat/applications/wlassistant/wlassistant-14.0.0.spec
@@ -55,7 +55,6 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-Patch0: %{tde_pkg}-14.0.0.patch
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: trinity-tdebase-devel >= %{tde_version}
@@ -121,7 +120,6 @@ remembered so next time the user won't have to enter them again.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-%patch0 -p1
%build
diff --git a/redhat/applications/wlassistant/wlassistant-14.0.1.spec b/redhat/applications/wlassistant/wlassistant-14.0.1.spec
deleted file mode 100644
index ff2c05226..000000000
--- a/redhat/applications/wlassistant/wlassistant-14.0.1.spec
+++ /dev/null
@@ -1,206 +0,0 @@
-#
-# spec file for package wlassistant (version R14)
-#
-# Copyright (c) 2014 Trinity Desktop Environment
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-#
-# Please submit bugfixes or comments via http://www.trinitydesktop.org/
-#
-
-# TDE variables
-%define tde_epoch 2
-%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
-%endif
-%define tde_pkg wlassistant
-%define tde_prefix /opt/trinity
-%define tde_bindir %{tde_prefix}/bin
-%define tde_datadir %{tde_prefix}/share
-%define tde_docdir %{tde_datadir}/doc
-%define tde_includedir %{tde_prefix}/include
-%define tde_libdir %{tde_prefix}/%{_lib}
-%define tde_mandir %{tde_datadir}/man
-%define tde_tdeappdir %{tde_datadir}/applications/tde
-%define tde_tdedocdir %{tde_docdir}/tde
-%define tde_tdeincludedir %{tde_includedir}/tde
-%define tde_tdelibdir %{tde_libdir}/trinity
-
-
-Name: trinity-%{tde_pkg}
-Epoch: %{tde_epoch}
-Version: 0.5.7
-Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
-Summary: User friendly TDE frontend for wireless network connection
-Group: Applications/Utilities
-URL: http://wlassistant.sourceforge.net/
-
-%if 0%{?suse_version}
-License: GPL-2.0+
-%else
-License: GPLv2+
-%endif
-
-#Vendor: Trinity Desktop
-#Packager: Francois Andriot <francois.andriot@free.fr>
-
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-
-BuildRequires: trinity-tdelibs-devel >= %{tde_version}
-BuildRequires: trinity-tdebase-devel >= %{tde_version}
-BuildRequires: desktop-file-utils
-BuildRequires: gettext
-
-BuildRequires: cmake libtool
-BuildRequires: gcc-c++
-BuildRequires: pkgconfig
-BuildRequires: fdupes
-
-# SUSE desktop files utility
-%if 0%{?suse_version}
-BuildRequires: update-desktop-files
-%endif
-
-%if 0%{?opensuse_bs} && 0%{?suse_version}
-# for xdg-menu script
-BuildRequires: brp-check-trinity
-%endif
-
-# Wireless support
-%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5
-BuildRequires: wireless-tools-devel
-%endif
-%if 0%{?mgaversion} == 2 || 0%{?mdkversion}
-BuildRequires: %{_lib}iw29-devel
-%endif
-%if 0%{?rhel} == 5 || 0%{?suse_version}
-BuildRequires: wireless-tools
-%endif
-%if 0%{?suse_version} || 0%{?mgaversion} >= 3
-BuildRequires: libiw-devel
-%endif
-
-# IDN support
-BuildRequires: libidn-devel
-
-# GAMIN support
-# Not on openSUSE.
-%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
-%define with_gamin 1
-BuildRequires: gamin-devel
-%endif
-# PYTHON support
-BuildRequires: python
-
-
-%description
-Wireless Assistant scans for wireless access points and displays link quality,
-encryption and other useful information. When user wants to connect to a
-network, Wireless Assistant opens up its wizards and guides the user through
-Wi-Fi settings. After a successful connection is made the settings are
-remembered so next time the user won't have to enter them again.
-
-##########
-
-%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
-%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"
-
-# Shitty hack for RHEL4 ...
-if [ -d "/usr/X11R6" ]; then
- export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/X11R6/include:/usr/X11R6/%{_lib}"
- export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
-fi
-
-if ! rpm -E %%cmake|grep -q "cd build"; then
- %__mkdir_p build
- cd build
-fi
-
-%cmake \
- -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
- -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
- -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
- -DCMAKE_SKIP_RPATH=OFF \
- -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
- -DWITH_GCC_VISIBILITY=OFF \
- \
- -DBIN_INSTALL_DIR=%{tde_bindir} \
- -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
- -DLIB_INSTALL_DIR=%{tde_libdir} \
- -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
- \
- -DBUILD_ALL=on \
- ..
-
-%__make %{?_smp_mflags}
-
-
-%install
-export PATH="%{tde_bindir}:${PATH}"
-%__rm -rf %{buildroot}
-%__make install DESTDIR=%{buildroot} -C build
-
-# Updates applications categories for openSUSE
-%if 0%{?suse_version}
-%suse_update_desktop_file -i -r "%{?buildroot}%{tde_tdeappdir}/wlassistant.desktop" System Network
-%endif
-
-
-%clean
-%__rm -rf %{buildroot}
-
-
-%post
-touch --no-create %{tde_datadir}/icons/hicolor || :
-gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
-
-%postun
-touch --no-create %{tde_datadir}/icons/hicolor || :
-gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || :
-
-
-%files
-%defattr(-,root,root,-)
-%doc ChangeLog VERSION
-%{tde_bindir}/wlassistant
-%{tde_tdeappdir}/wlassistant.desktop
-%{tde_datadir}/icons/hicolor/16x16/apps/wlassistant.png
-%{tde_datadir}/icons/hicolor/32x32/apps/wlassistant.png
-%lang(ar) %{tde_datadir}/locale/ar/LC_MESSAGES/wlassistant.mo
-%lang(ca) %{tde_datadir}/locale/ca/LC_MESSAGES/wlassistant.mo
-%lang(es) %{tde_datadir}/locale/es/LC_MESSAGES/wlassistant.mo
-%lang(fr) %{tde_datadir}/locale/fr/LC_MESSAGES/wlassistant.mo
-%lang(nb) %{tde_datadir}/locale/nb/LC_MESSAGES/wlassistant.mo
-%lang(pl) %{tde_datadir}/locale/pl/LC_MESSAGES/wlassistant.mo
-%lang(pt) %{tde_datadir}/locale/pt_BR/LC_MESSAGES/wlassistant.mo
-%lang(sv) %{tde_datadir}/locale/sv/LC_MESSAGES/wlassistant.mo
-%lang(zh_CN) %{tde_datadir}/locale/zh_CN/LC_MESSAGES/wlassistant.mo
-%lang(zh_TW) %{tde_datadir}/locale/zh_TW/LC_MESSAGES/wlassistant.mo
-
-
-%changelog
-* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:0.5.7-1
-- Initial release for TDE 14.0.0
diff --git a/redhat/build/build_rpm_package.sh b/redhat/build/build_rpm_package.sh
index 2071ab445..f5242c9c5 100755
--- a/redhat/build/build_rpm_package.sh
+++ b/redhat/build/build_rpm_package.sh
@@ -60,6 +60,13 @@ if [ -r "${TEMPDIR}/one.patch" ]; then
-e "/%setup/ s/$/\n%patch389 -p1/"
fi
+# 3. PCLinuxOS hack ...
+if [ -r "/etc/pclinuxos-release" ]; then
+ sed -i "${TEMPDIR}/${SPECFILE##*/}" \
+ -e "/admin\/Makefile.common/ s|$| \|\| autoreconf -i \&\& make -f admin/Makefile.common|" \
+ || exit 1
+fi
+
[ -d "${BUILDDIR}" ] || mkdir -p "${BUILDDIR}"
RPMDIR="$(rpm -E %{_rpmdir}.tde-${TDE_VERSION})"
diff --git a/redhat/build/get_rpm_package_name.sh b/redhat/build/get_rpm_package_name.sh
index 0d8693d2f..3f60d852f 100755
--- a/redhat/build/get_rpm_package_name.sh
+++ b/redhat/build/get_rpm_package_name.sh
@@ -26,7 +26,7 @@ case "${PKGNAME}" in
# 3rd party dependencies
"esound"|"fileshareset"|"hk_classes"|"python-qt3") PREFIX="";;
# Extra build stuff
- "autoconf"|"automake"|"cmake"|"gnuchess"|"htdig"|"imlib1"|"libconfig"|"libotr3"|"libtool"|"lilypond"|"m4"|"mftrace"|"pan"|"pcsc-perl"|"torsocks"|"wv2") PREFIX="";;
+ "autoconf"|"automake"|"cmake"|"gnuchess"|"htdig"|"imlib1"|"libconfig"|"libotr3"|"libtool2"|"lilypond"|"m4"|"mftrace"|"pan"|"pcsc-perl"|"torsocks"|"wv2") PREFIX="";;
# Other
"curl") PREFIX="trinity-lib";;
# Default case: add prefix
diff --git a/redhat/dependencies/akode/akode-14.0.0.spec b/redhat/dependencies/akode/akode-14.0.0.spec
index 6c6ba8936..06231e7eb 100644
--- a/redhat/dependencies/akode/akode-14.0.0.spec
+++ b/redhat/dependencies/akode/akode-14.0.0.spec
@@ -41,6 +41,12 @@
%define _variant .opt
%endif
+%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos}
+%define libakode %{_lib}akode
+%else
+%define libakode libakode
+%endif
+
Name: trinity-akode
Summary: Audio-decoding framework
Group: System Environment/Libraries
@@ -48,24 +54,31 @@ Epoch: %{tde_epoch}
Version: 2.0.2
Release: 1%{?dist}%{?_variant}
URL: http://www.kde-apps.org/content/show.php?content=30375
-
-License: LGPLv2+
#URL: http://carewolf.com/akode/
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
Source0: akode-%{tde_version}.tar.gz
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: cmake >= 2.8
+BuildRequires: gcc-c++
+BuildRequires: libtool
+
+# TQT support
+BuildRequires: libtqt4-devel
+BuildRequires: trinity-filesystem >= %{tde_version}
# FLAC support
%define _with_flac --with-flac
%if 0%{?mgaversion} || 0%{?mdkversion}
-%if 0%{?pclinuxos}
BuildRequires: libflac-devel
-%else
-BuildRequires: %{_lib}flac-devel
-%endif
%endif
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: flac-devel
@@ -75,7 +88,7 @@ BuildRequires: flac-devel
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define _with_jack --with-jack
%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}jack-devel
+BuildRequires: libjack-devel
%endif
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: jack-audio-connection-kit-devel
@@ -88,12 +101,11 @@ BuildRequires: jack-audio-connection-kit-devel
BuildRequires: libsamplerate-devel
%endif
-%if 0
# PULSEAUDIO support
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define _with_pulseaudio --with-pulseaudio
%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}pulseaudio-devel
+BuildRequires: libpulseaudio-devel
%endif
%if 0%{?rhel} || 0%{?fedora}
BuildRequires: pulseaudio-libs-devel
@@ -102,21 +114,13 @@ BuildRequires: pulseaudio-libs-devel
BuildRequires: pulseaudio-devel
%endif
%endif
-%endif
# MAD support
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
%define _with_libmad --with-libmad
-%if 0%{?mdkversion} || 0%{?mgaversion}
-BuildRequires: %{_lib}mad-devel
-%endif
-%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
BuildRequires: libmad-devel
%endif
-%endif
-BuildRequires: cmake >= 2.8
-BuildRequires: libtool
BuildRequires: alsa-lib-devel
BuildRequires: libvorbis-devel
BuildRequires: speex-devel
@@ -162,14 +166,15 @@ aKode also has the following audio outputs:
Summary: Headers for developing programs that will use %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-%{?_with_jack:Requires: %{name}-jack = %{?epoch:%{epoch}:}%{version}-%{release}}
-%{?_with_pulseaudio:Requires: %{name}-pulseaudio = %{?epoch:%{epoch}:}%{version}-%{release}}
-%{?_with_libsamplerate:Requires: %{name}-libsamplerate = %{?epoch:%{epoch}:}%{version}-%{release}}
-%{?_with_libmad:Requires: %{name}-libmad = %{?epoch:%{epoch}:}%{version}-%{release}}
+%{?_with_jack:Requires: %{libakode}_jack_sink = %{?epoch:%{epoch}:}%{version}-%{release}}
+%{?_with_pulseaudio:Requires: %{libakode}_polyp_sink = %{?epoch:%{epoch}:}%{version}-%{release}}
+%{?_with_libsamplerate:Requires: %{libakode}_src_resampler = %{?epoch:%{epoch}:}%{version}-%{release}}
+%{?_with_libmad:Requires: %{libakode}_mpeg_decoder = %{?epoch:%{epoch}:}%{version}-%{release}}
Requires: pkgconfig
%description devel
This package contains the development files for Akode.
+It is needed if you intend to build an application linked against Akode.
%files devel
%defattr(-,root,root,-)
@@ -177,7 +182,7 @@ This package contains the development files for Akode.
%{_includedir}/*
%{_libdir}/libakode.la
%{_libdir}/libakode.so
-#%{_libdir}/pkgconfig/*.pc
+%{_libdir}/pkgconfig/akode.pc
%post devel
/sbin/ldconfig
@@ -189,23 +194,24 @@ This package contains the development files for Akode.
%if "%{?_with_jack}" != ""
-%package jack
+%package -n %{libakode}_jack_sink
Summary: Jack audio output backend for %{name}
Group: Development/Libraries
+Provides: libakode_jack_sink = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-%description jack
+%description -n %{libakode}_jack_sink
This package contains the Jack audio output backend for Akode.
-%files jack
+%files -n %{libakode}_jack_sink
%defattr(-,root,root,-)
%{_libdir}/libakode_jack_sink.la
%{_libdir}/libakode_jack_sink.so
-%post jack
+%post -n %{libakode}_jack_sink
/sbin/ldconfig
-%postun jack
+%postun -n %{libakode}_jack_sink
/sbin/ldconfig
%endif
@@ -214,24 +220,25 @@ This package contains the Jack audio output backend for Akode.
%if "%{?_with_pulseaudio}" != ""
-%package pulseaudio
+%package -n %{libakode}_polyp_sink
Summary: Pulseaudio output backend for %{name}
Group: Development/Libraries
+Provides: libakode_polyp_sink = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-%description pulseaudio
+%description -n %{libakode}_polyp_sink
This package contains the pulseaudio backend for Akode.
Recommended for network transparent audio.
-%files pulseaudio
+%files -n %{libakode}_polyp_sink
%defattr(-,root,root,-)
%{_libdir}/libakode_polyp_sink.la
%{_libdir}/libakode_polyp_sink.so
-%post pulseaudio
+%post -n %{libakode}_polyp_sink
/sbin/ldconfig
-%postun pulseaudio
+%postun -n %{libakode}_polyp_sink
/sbin/ldconfig
%endif
@@ -241,25 +248,24 @@ Recommended for network transparent audio.
# Packaged separately to keep main/core %{akode} package LGPL-clean.
%if "%{?_with_libsamplerate:1}" == "1"
-%package libsamplerate
+%package -n %{libakode}_src_resampler
Summary: Resampler based on libsamplerate for %{name}
Group: Development/Libraries
-License: GPLv2+
+Provides: libakode_src_resampler = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-%description libsamplerate
+%description -n %{libakode}_src_resampler
This package contains the samplerate decoder for Akode.
-# License: GPLv2+
-%files libsamplerate
+%files -n %{libakode}_src_resampler
%defattr(-,root,root,-)
%{_libdir}/libakode_src_resampler.la
%{_libdir}/libakode_src_resampler.so
-%post libsamplerate
+%post -n %{libakode}_src_resampler
/sbin/ldconfig
-%postun libsamplerate
+%postun -n %{libakode}_src_resampler
/sbin/ldconfig
%endif
@@ -268,22 +274,24 @@ This package contains the samplerate decoder for Akode.
%if "%{?_with_libmad}" != ""
-%package libmad
+%package -n %{libakode}_mpeg_decoder
Summary: Decoder based on libmad for %{name}
Group: Development/Libraries
+Provides: libakode_mpeg_decoder = %{version}-%{release}
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-%description libmad
+%description -n %{libakode}_mpeg_decoder
This package contains the mad decoder for Akode.
-%files libmad
+%files -n %{libakode}_mpeg_decoder
+%defattr(-,root,root,-)
%{_libdir}/libakode_mpeg_decoder.la
%{_libdir}/libakode_mpeg_decoder.so
-%post libmad
+%post -n %{libakode}_mpeg_decoder
/sbin/ldconfig
-%postun libmad
+%postun -n %{libakode}_mpeg_decoder
/sbin/ldconfig
%endif
@@ -297,7 +305,7 @@ This package contains the mad decoder for Akode.
##########
%prep
-%setup -q -n akode
+%setup -q -n akode-2.0.2
%build
@@ -323,7 +331,7 @@ fi
-DWITH_LIBLTDL="OFF" \
-DWITH_ALSA_SINK="ON" \
%{!?_with_jack:-DWITH_JACK_SINK="OFF"} %{?_with_jack:-DWITH_JACK_SINK="ON"} \
- %{!?_with_pulseaudio:-DWITH_POLYP_SINK="OFF"} %{?_with_pulseaudio:-DWITH_POLYP_SINK="ON"} \
+ %{!?_with_pulseaudio:-DWITH_PULSE_SINK="OFF"} %{?_with_pulseaudio:-DWITH_PULSE_SINK="ON"} \
-DWITH_OSS_SINK="ON" \
-DWITH_SUN_SINK="OFF" \
\
@@ -337,21 +345,10 @@ fi
%__make %{?_smp_mflags} || %__make
-# %{?_with_flac} %{!?_with_flac:--without-flac} \
-# %{?_with_libsamplerate} %{!?_with_libsamplerate:--without-libsamplerate} \
-# --with-speex \
-# --with-vorbis \
-# --without-ffmpeg \
-# %{?_with_libmad} %{!?_with_libmad:--without-libmad}
-
-
%install
%__rm -rf %{buildroot}
%__make install DESTDIR=%{?buildroot} -C build
-# unpackaged files
-#%__rm -f %{buildroot}%{tde_libdir}/*.a
-
# rpmdocs
for file in AUTHORS COPYING NEWS README TODO ; do
test -s "$file" && install -p -m644 -D "$file" "rpmdocs/$file"
diff --git a/redhat/dependencies/akode/akode-3.5.13.2.spec b/redhat/dependencies/akode/akode-3.5.13.2.spec
index 89b2546e3..57c5ed631 100644
--- a/redhat/dependencies/akode/akode-3.5.13.2.spec
+++ b/redhat/dependencies/akode/akode-3.5.13.2.spec
@@ -21,7 +21,9 @@
# TDE variables
%define tde_epoch 1
+%if "%{?tde_version}" == ""
%define tde_version 3.5.13.2
+%endif
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
@@ -46,24 +48,32 @@ Epoch: %{tde_epoch}
Version: 2.0.2
Release: 1%{?dist}%{?_variant}
URL: http://www.kde-apps.org/content/show.php?content=30375
-
-License: LGPLv2+
#URL: http://carewolf.com/akode/
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
Source0: akode-%{tde_version}.tar.gz
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: gcc-c++
+BuildRequires: libtool
+
+# TQT support
+BuildRequires: libtqt4-devel
+BuildRequires: trinity-filesystem >= %{tde_version}
# FLAC support
%define _with_flac --with-flac
%if 0%{?mgaversion} || 0%{?mdkversion}
-%if 0%{?pclinuxos}
BuildRequires: libflac-devel
-%else
-BuildRequires: %{_lib}flac-devel
-%endif
%endif
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: flac-devel
@@ -73,7 +83,7 @@ BuildRequires: flac-devel
%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define _with_jack --with-jack
%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}jack-devel
+BuildRequires: libjack-devel
%endif
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
BuildRequires: jack-audio-connection-kit-devel
@@ -90,7 +100,7 @@ BuildRequires: libsamplerate-devel
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define _with_pulseaudio --with-pulseaudio
%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}pulseaudio-devel
+BuildRequires: libpulseaudio-devel
%endif
%if 0%{?rhel} || 0%{?fedora}
BuildRequires: pulseaudio-libs-devel
@@ -103,16 +113,9 @@ BuildRequires: pulseaudio-devel
# MAD support
%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
%define _with_libmad --with-libmad
-%if 0%{?mdkversion} || 0%{?mgaversion}
-BuildRequires: %{_lib}mad-devel
-%endif
-%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
BuildRequires: libmad-devel
%endif
-%endif
-
-BuildRequires: automake libtool
BuildRequires: alsa-lib-devel
BuildRequires: libvorbis-devel
BuildRequires: speex-devel
@@ -166,6 +169,7 @@ Requires: pkgconfig
%description devel
This package contains the development files for Akode.
+It is needed if you intend to build an application linked against Akode.
%files devel
%defattr(-,root,root,-)
@@ -240,13 +244,11 @@ Recommended for network transparent audio.
%package libsamplerate
Summary: Resampler based on libsamplerate for %{name}
Group: Development/Libraries
-License: GPLv2+
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
%description libsamplerate
This package contains the samplerate decoder for Akode.
-# License: GPLv2+
%files libsamplerate
%defattr(-,root,root,-)
%{tde_libdir}/libakode_src_resampler.la
@@ -273,6 +275,7 @@ Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
This package contains the mad decoder for Akode.
%files libmad
+%defattr(-,root,root,-)
%{tde_libdir}/libakode_mpeg_decoder.la
%{tde_libdir}/libakode_mpeg_decoder.so
@@ -301,6 +304,7 @@ This package contains the mad decoder for Akode.
%build
+unset QTDIR QTINC QTLIB
export CXXFLAGS="${RPM_OPT_FLAGS} -DHAVE_STDINT_H"
%configure \
@@ -328,12 +332,12 @@ export CXXFLAGS="${RPM_OPT_FLAGS} -DHAVE_STDINT_H"
--without-ffmpeg \
%{?_with_libmad} %{!?_with_libmad:--without-libmad}
-%__make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool
+%__make %{?_smp_mflags} || %__make
%install
%__rm -rf %{buildroot}
-%__make install DESTDIR=%{buildroot}
+%__make install DESTDIR=%{?buildroot}
# unpackaged files
%__rm -f %{buildroot}%{tde_libdir}/*.a
diff --git a/redhat/dependencies/arts/arts-14.0.0.spec b/redhat/dependencies/arts/arts-14.0.0.spec
index d2efe1cc2..3aa4af46e 100644
--- a/redhat/dependencies/arts/arts-14.0.0.spec
+++ b/redhat/dependencies/arts/arts-14.0.0.spec
@@ -27,6 +27,7 @@
%define tde_pkg arts
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
@@ -233,7 +234,7 @@ intended for systems running the Pulseaudio server.
%files config-pulseaudio
%defattr(-,root,root,-)
-%{tde_datadir}/config/kcmartsrc
+%{tde_confdir}/kcmartsrc
%endif
@@ -295,13 +296,14 @@ fi
# Installs the Pulseaudio configuration file
%if 0%{?with_pulseaudio}
-cat <<EOF >"%{?buildroot}%{tde_datadir}/config/kcmartsrc"
+%__mkdir_p "%{?buildroot}%{tde_confdir}"
+cat <<EOF >"%{?buildroot}%{tde_confdir}/kcmartsrc"
[Arts]
Arguments=\s-F 10 -S 4096 -a esd -n -s 1 -m artsmessage -c drkonqi -l 3 -f
NetworkTransparent=true
SuspendTime=1
EOF
-chmod 644 "%{?buildroot}%{tde_datadir}/config/kcmartsrc"
+chmod 644 "%{?buildroot}%{tde_confdir}/kcmartsrc"
%endif
# Add supplementary folders
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 9b7d4c79f..40c63bd21 100644
--- a/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec
+++ b/redhat/dependencies/avahi-tqt/avahi-tqt-14.0.0.spec
@@ -67,7 +67,7 @@ BuildRequires: gettext-devel
BuildRequires: xorg-x11-devel
%endif
%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}xi-devel
+BuildRequires: libxi-devel
%endif
%if 0%{?suse_version} >= 1220 || 0%{?rhel} >= 5 || 0%{?fedora}
BuildRequires: libXi-devel
@@ -89,7 +89,7 @@ BuildRequires: libcap-devel
# AVAHI support
%if 0%{?mgaversion} || 0%{?mdkversion}
-%define avahi_devel %{_lib}avahi-client-devel
+%define avahi_devel libavahi-client-devel
%endif
%if 0%{?suse_version} || 0%{?rhel} || 0%{?fedora}
%define avahi_devel avahi-devel
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 cb952ce0b..2b73e6646 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
@@ -114,6 +114,12 @@ Requires: %{libdbus}-1-tqt0 = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-dbus-1-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-dbus-1-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+%if 0%{?suse_version}
+Requires: dbus-1-devel
+%else
+Requires: dbus-devel
+%endif
+
%description -n %{libdbus}-1-tqt-devel
D-BUS is a message bus, used for sending messages between applications.
Conceptually, it fits somewhere in between raw sockets and CORBA in
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 05b00abd0..fa7639fc1 100644
--- a/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec
+++ b/redhat/dependencies/dbus-tqt/dbus-tqt-14.0.0.spec
@@ -115,6 +115,12 @@ Requires: %{libdbus}-tqt-1-0 = %{?epoch:%{epoch}:}%{version}-%{release}
Obsoletes: trinity-dbus-tqt-devel < %{?epoch:%{epoch}:}%{version}-%{release}
Provides: trinity-dbus-tqt-devel = %{?epoch:%{epoch}:}%{version}-%{release}
+%if 0%{?suse_version}
+Requires: dbus-1-devel
+%else
+Requires: dbus-devel
+%endif
+
%description -n %{libdbus}-tqt-1-devel
D-BUS is a message bus, used for sending messages between applications.
Conceptually, it fits somewhere in between raw sockets and CORBA in
diff --git a/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec b/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec
index 9a6a9a6ff..3c060415d 100644
--- a/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec
+++ b/redhat/dependencies/libcaldav/libcaldav-14.0.0.spec
@@ -54,6 +54,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
+Patch1: libcaldav-14.0.1-rhel5.patch
+
BuildRequires: make
BuildRequires: libtool
BuildRequires: fdupes
@@ -67,15 +69,10 @@ BuildRequires: gtk2-devel
%endif
# CURL support
-%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version}
-%define libcurl_devel libcurl-devel
-%else
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%define libcurl_devel %{_lib}curl-devel
+%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion}
+%define libcurl_devel libcurl-devel >= 7.15.5
%else
-# Specific CURL version for TDE on RHEL 5 (and older)
-#define libcurl_devel trinity-libcurl-devel
-%endif
+%define libcurl_devel curl-devel >= 7.15.5
%endif
%{?libcurl_devel:BuildRequires: %{libcurl_devel}}
@@ -154,7 +151,10 @@ This package includes the development files.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-./autogen.sh
+%if 0%{?rhel} == 5
+%patch1 -p1 -b .ftbfs
+%endif
+autoreconf -fiv
%build
diff --git a/redhat/dependencies/libcaldav/libcaldav-14.0.1-rhel5.patch b/redhat/dependencies/libcaldav/libcaldav-14.0.1-rhel5.patch
new file mode 100644
index 000000000..0cf9f056b
--- /dev/null
+++ b/redhat/dependencies/libcaldav/libcaldav-14.0.1-rhel5.patch
@@ -0,0 +1,193 @@
+diff --git a/src/add-caldav-object.c b/src/add-caldav-object.c
+index 68a4377..35aef48 100644
+--- a/src/add-caldav-object.c
++++ b/src/add-caldav-object.c
+@@ -103,7 +103,6 @@ gboolean caldav_add(caldav_settings* settings, caldav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ if (res != 0) {
+ error->code = -1;
+diff --git a/src/delete-caldav-object.c b/src/delete-caldav-object.c
+index 9a85168..ea5733f 100644
+--- a/src/delete-caldav-object.c
++++ b/src/delete-caldav-object.c
+@@ -150,7 +150,6 @@ gboolean caldav_delete(caldav_settings* settings, caldav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ g_free(search);
+ curl_slist_free_all(http_header);
+@@ -249,7 +248,6 @@ gboolean caldav_delete(caldav_settings* settings, caldav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ if (LOCKSUPPORT && lock_token) {
+ caldav_unlock_object(
+@@ -380,7 +378,6 @@ gboolean caldav_tasks_delete(caldav_settings* settings, caldav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ g_free(search);
+ curl_slist_free_all(http_header);
+@@ -479,7 +476,6 @@ gboolean caldav_tasks_delete(caldav_settings* settings, caldav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ if (LOCKSUPPORT && lock_token) {
+ caldav_unlock_object(
+diff --git a/src/get-caldav-report.c b/src/get-caldav-report.c
+index d916259..0021cb8 100644
+--- a/src/get-caldav-report.c
++++ b/src/get-caldav-report.c
+@@ -169,7 +169,6 @@ gboolean caldav_getall(caldav_settings* settings, caldav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ if (res != 0) {
+ error->code = -1;
+@@ -266,7 +265,6 @@ gboolean caldav_getrange(caldav_settings* settings, caldav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ if (res != 0) {
+ error->code = -1;
+@@ -349,7 +347,6 @@ gboolean caldav_tasks_getall(caldav_settings* settings, caldav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ if (res != 0) {
+ error->code = -1;
+@@ -446,7 +443,6 @@ gboolean caldav_tasks_getrange(caldav_settings* settings, caldav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ if (res != 0) {
+ error->code = -1;
+diff --git a/src/get-display-name.c b/src/get-display-name.c
+index 8fc0ff8..c205efd 100644
+--- a/src/get-display-name.c
++++ b/src/get-display-name.c
+@@ -99,7 +99,6 @@ gboolean caldav_getname(caldav_settings* settings, caldav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PROPFIND");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ if (res != 0) {
+ error->code = -1;
+diff --git a/src/get-freebusy-report.c b/src/get-freebusy-report.c
+index f75ab92..40a5a3c 100644
+--- a/src/get-freebusy-report.c
++++ b/src/get-freebusy-report.c
+@@ -104,7 +104,6 @@ gboolean caldav_freebusy(caldav_settings* settings, caldav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ if (res != 0) {
+ error->code = -1;
+diff --git a/src/lock-caldav-object.c b/src/lock-caldav-object.c
+index 30f2d20..6845551 100644
+--- a/src/lock-caldav-object.c
++++ b/src/lock-caldav-object.c
+@@ -107,7 +107,6 @@ gchar* caldav_lock_object(
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "LOCK");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ curl_slist_free_all(http_header);
+ if (res != 0) {
+@@ -211,7 +210,6 @@ gboolean caldav_unlock_object(gchar* lock_token, gchar* URI,
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "UNLOCK");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ curl_slist_free_all(http_header);
+ if (res != 0) {
+diff --git a/src/modify-caldav-object.c b/src/modify-caldav-object.c
+index fb3a4d0..f3563d8 100644
+--- a/src/modify-caldav-object.c
++++ b/src/modify-caldav-object.c
+@@ -151,7 +151,6 @@ gboolean caldav_modify(caldav_settings* settings, caldav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ curl_slist_free_all(http_header);
+ http_header = NULL;
+@@ -249,7 +248,6 @@ gboolean caldav_modify(caldav_settings* settings, caldav_error* error) {
+ strlen(settings->file));
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
+ res = curl_easy_perform(curl);
+ if (LOCKSUPPORT && lock_token) {
+@@ -391,7 +389,6 @@ gboolean caldav_tasks_modify(caldav_settings* settings, caldav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ curl_slist_free_all(http_header);
+ http_header = NULL;
+@@ -489,7 +486,6 @@ gboolean caldav_tasks_modify(caldav_settings* settings, caldav_error* error) {
+ strlen(settings->file));
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
+ res = curl_easy_perform(curl);
+ if (LOCKSUPPORT && lock_token) {
+diff --git a/src/options-caldav-server.c b/src/options-caldav-server.c
+index 1d97d04..0045afe 100644
+--- a/src/options-caldav-server.c
++++ b/src/options-caldav-server.c
+@@ -74,7 +74,6 @@ gboolean caldav_getoptions(CURL* curl, caldav_settings* settings, response* resu
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "OPTIONS");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ if (res == 0) {
+ gchar* head;
+@@ -102,15 +101,12 @@ gboolean caldav_getoptions(CURL* curl, caldav_settings* settings, response* resu
+ }
+ else if (
+ (res == CURLE_SSL_CONNECT_ERROR ||
+- CURLE_PEER_FAILED_VERIFICATION ||
+ CURLE_SSL_ENGINE_NOTFOUND ||
+ CURLE_SSL_ENGINE_SETFAILED ||
+ CURLE_SSL_CERTPROBLEM ||
+ CURLE_SSL_CIPHER ||
+ CURLE_SSL_CACERT ||
+- CURLE_SSL_CACERT_BADFILE ||
+- CURLE_SSL_CRL_BADFILE ||
+- CURLE_SSL_ISSUER_ERROR) && settings->usehttps) {
++ CURLE_SSL_CRL_BADFILE ) && settings->usehttps) {
+ error->code = -2;
+ error->str = g_strdup(error_buf);
+ }
diff --git a/redhat/dependencies/libcarddav/libcarddav-14.0.0.spec b/redhat/dependencies/libcarddav/libcarddav-14.0.0.spec
index 7faa4cf44..2e99ae603 100644
--- a/redhat/dependencies/libcarddav/libcarddav-14.0.0.spec
+++ b/redhat/dependencies/libcarddav/libcarddav-14.0.0.spec
@@ -54,19 +54,17 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
+Patch1: libcarddav-14.0.1-rhel5.patch
+
BuildRequires: make
BuildRequires: libtool
# CURL support
-%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version}
-%define libcurl_devel libcurl-devel
-%else
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%define libcurl_devel %{_lib}curl-devel
+%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion}
+%define libcurl_devel libcurl-devel >= 7.15.5
%else
# Specific CURL version for TDE on RHEL 5 (and older)
-#define libcurl_devel trinity-libcurl-devel
-%endif
+%define libcurl_devel curl-devel >= 7.15.5
%endif
%{?libcurl_devel:BuildRequires: %{libcurl_devel}}
@@ -153,11 +151,14 @@ This package contains the development files.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
+%if 0%{?rhel} == 5
+%patch1 -p1 -b .ftbfs
+%endif
# Fix empty ChangeLog cause invalid macro in 'configure.ac'
echo "%{name} (%{version})" >ChangeLog
-./autogen.sh
+autoreconf -fiv
%build
diff --git a/redhat/dependencies/libcarddav/libcarddav-14.0.1-rhel5.patch b/redhat/dependencies/libcarddav/libcarddav-14.0.1-rhel5.patch
new file mode 100644
index 000000000..a6bf4e6e0
--- /dev/null
+++ b/redhat/dependencies/libcarddav/libcarddav-14.0.1-rhel5.patch
@@ -0,0 +1,164 @@
+diff --git a/src/add-carddav-object.c b/src/add-carddav-object.c
+index 5574991..a1586d8 100644
+--- a/src/add-carddav-object.c
++++ b/src/add-carddav-object.c
+@@ -104,7 +104,6 @@ gboolean carddav_add(carddav_settings* settings, carddav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ if (res != 0) {
+ error->code = -1;
+diff --git a/src/delete-carddav-object.c b/src/delete-carddav-object.c
+index 96b9033..6984a82 100644
+--- a/src/delete-carddav-object.c
++++ b/src/delete-carddav-object.c
+@@ -132,7 +132,6 @@ gboolean carddav_delete(carddav_settings* settings, carddav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ g_free(search);
+ curl_slist_free_all(http_header);
+@@ -231,7 +230,6 @@ gboolean carddav_delete(carddav_settings* settings, carddav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ if (LOCKSUPPORT && lock_token) {
+ carddav_unlock_object(
+@@ -417,7 +415,6 @@ gboolean carddav_delete_by_uri(carddav_settings* settings, carddav_error* error)
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "DELETE");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ if (LOCKSUPPORT && lock_token) {
+ carddav_unlock_object(
+diff --git a/src/get-carddav-report.c b/src/get-carddav-report.c
+index b44fd2c..7655b29 100644
+--- a/src/get-carddav-report.c
++++ b/src/get-carddav-report.c
+@@ -117,7 +117,6 @@ static gchar* carddav_dirlist(carddav_settings* settings, carddav_error* error)
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PROPFIND");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ if (res != 0) {
+ error->code = -1;
+@@ -243,7 +242,6 @@ gboolean carddav_getall(carddav_settings* settings, carddav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ if (res != 0) {
+ error->code = -1;
+@@ -345,7 +343,6 @@ gboolean carddav_getall_by_uri(carddav_settings* settings, carddav_error* error)
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ if (res != 0) {
+ error->code = -1;
+@@ -378,4 +375,4 @@ gboolean carddav_getall_by_uri(carddav_settings* settings, carddav_error* error)
+ curl_easy_cleanup(curl);
+ g_free(dav_file_listing);
+ return result;
+-}
+\ No newline at end of file
++}
+diff --git a/src/get-display-name.c b/src/get-display-name.c
+index 9e782e0..16c3e4b 100644
+--- a/src/get-display-name.c
++++ b/src/get-display-name.c
+@@ -100,7 +100,6 @@ gboolean carddav_getname(carddav_settings* settings, carddav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PROPFIND");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ if (res != 0) {
+ error->code = -1;
+diff --git a/src/lock-carddav-object.c b/src/lock-carddav-object.c
+index 163264c..2292cad 100644
+--- a/src/lock-carddav-object.c
++++ b/src/lock-carddav-object.c
+@@ -109,7 +109,6 @@ gchar* carddav_lock_object(
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "LOCK");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ curl_slist_free_all(http_header);
+ if (res != 0) {
+@@ -214,7 +213,6 @@ gboolean carddav_unlock_object(gchar* lock_token, gchar* URI,
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "UNLOCK");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ curl_slist_free_all(http_header);
+ if (res != 0) {
+diff --git a/src/modify-carddav-object.c b/src/modify-carddav-object.c
+index 1822068..a8b6de2 100644
+--- a/src/modify-carddav-object.c
++++ b/src/modify-carddav-object.c
+@@ -133,7 +133,6 @@ gboolean carddav_modify(carddav_settings* settings, carddav_error* error) {
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "REPORT");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ res = curl_easy_perform(curl);
+ curl_slist_free_all(http_header);
+ http_header = NULL;
+@@ -231,7 +230,6 @@ gboolean carddav_modify(carddav_settings* settings, carddav_error* error) {
+ strlen(settings->file));
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
+ res = curl_easy_perform(curl);
+ if (LOCKSUPPORT && lock_token) {
+@@ -430,7 +428,6 @@ gboolean carddav_modify_by_uri(carddav_settings* settings, carddav_error* error)
+ strlen(settings->file));
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "PUT");
+ res = curl_easy_perform(curl);
+ if (LOCKSUPPORT && lock_token) {
+diff --git a/src/options-carddav-server.c b/src/options-carddav-server.c
+index b774401..b44aae2 100644
+--- a/src/options-carddav-server.c
++++ b/src/options-carddav-server.c
+@@ -75,7 +75,6 @@ gboolean carddav_getoptions(CURL* curl, carddav_settings* settings, response* re
+ curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "OPTIONS");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
+ curl_easy_setopt(curl, CURLOPT_UNRESTRICTED_AUTH, 1);
+- curl_easy_setopt(curl, CURLOPT_POSTREDIR, CURL_REDIR_POST_ALL);
+ if (settings->debug) {
+ curl_easy_setopt(curl, CURLOPT_VERBOSE, 1);
+ }
+@@ -106,15 +105,12 @@ gboolean carddav_getoptions(CURL* curl, carddav_settings* settings, response* re
+ }
+ else if (
+ (res == CURLE_SSL_CONNECT_ERROR ||
+- CURLE_PEER_FAILED_VERIFICATION ||
+ CURLE_SSL_ENGINE_NOTFOUND ||
+ CURLE_SSL_ENGINE_SETFAILED ||
+ CURLE_SSL_CERTPROBLEM ||
+ CURLE_SSL_CIPHER ||
+ CURLE_SSL_CACERT ||
+- CURLE_SSL_CACERT_BADFILE ||
+- CURLE_SSL_CRL_BADFILE ||
+- CURLE_SSL_ISSUER_ERROR) && settings->usehttps) {
++ CURLE_SSL_CRL_BADFILE ) && settings->usehttps) {
+ error->code = -2;
+ error->str = g_strdup(error_buf);
+ }
diff --git a/redhat/dependencies/tqca/tqca-14.0.0.spec b/redhat/dependencies/tqca/tqca-14.0.0.spec
index 23bee37b8..127761a45 100644
--- a/redhat/dependencies/tqca/tqca-14.0.0.spec
+++ b/redhat/dependencies/tqca/tqca-14.0.0.spec
@@ -150,12 +150,18 @@ unset QTDIR QTINC QTLIB
--qtdir=/usr \
--debug
+
+# Workaround strange tqmake behaviour in RHEL5
+%if 0%{?rhel} == 5
+%__sed -i "Makefile" -e "s|..\/..\/..\/..|%{_prefix}|g"
+%endif
+
%__make %{?_smp_mflags}
%install
%__rm -rf $RPM_BUILD_ROOT
-%__make install INSTALL_ROOT=$RPM_BUILD_ROOT
+%__make install INSTALL_ROOT="${RPM_BUILD_ROOT}/"
%clean
diff --git a/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec b/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec
index 52e6316d5..96a2a05cb 100644
--- a/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec
+++ b/redhat/dependencies/tqscintilla/tqscintilla-14.0.0.spec
@@ -174,6 +174,11 @@ export QTDIR=%{_libdir}/tqt3
unset QTDIR QTINC QTLIB
export PATH="%{tde_bindir}:${PATH}"
+# Workaround strange tqmake behaviour in RHEL5
+%if 0%{?rhel} == 5
+%__sed -i "qt/Makefile" -e "s|..\/..\/..\/..\/..|%{_prefix}|g"
+%endif
+
%__make %{?_smp_mflags} -C qt
%__make %{?_smp_mflags} -C designer
diff --git a/redhat/dependencies/tqt3/tqt3-14.0.0.spec b/redhat/dependencies/tqt3/tqt3-14.0.0.spec
index cb6af234c..d1e710d45 100644
--- a/redhat/dependencies/tqt3/tqt3-14.0.0.spec
+++ b/redhat/dependencies/tqt3/tqt3-14.0.0.spec
@@ -136,8 +136,12 @@ BuildRequires: cups-devel
%define xrandr_devel libXrandr-devel
%endif
%if 0%{?mdkversion} || 0%{?mgaversion}
+%if 0%{?pclinuxos}
+%define xrandr_devel libxrandr2-devel
+%else
%define xrandr_devel libxrandr-devel
%endif
+%endif
%{?xrandr_devel:BuildRequires: %{xrandr_devel}}
# Xcursor support
@@ -248,8 +252,12 @@ BuildRequires: mesa-libGL-devel
BuildRequires: mesa-libGLU-devel
%endif
%if 0%{?mdkversion} || 0%{?mgaversion}
+%if 0%{?pclinuxos}
+BuildRequires: MesaGLU-devel
+%else
BuildRequires: mesaglu-devel
%endif
+%endif
%if 0%{?suse_version}
BuildRequires: Mesa-libGL-devel
BuildRequires: Mesa-libGLU-devel
diff --git a/redhat/libraries/libkipi/libkipi-14.0.0.spec b/redhat/libraries/libkipi/libkipi-14.0.0.spec
index 5af1cc45f..ab361d41d 100644
--- a/redhat/libraries/libkipi/libkipi-14.0.0.spec
+++ b/redhat/libraries/libkipi/libkipi-14.0.0.spec
@@ -49,7 +49,7 @@
Name: trinity-%{tde_pkg}
-Summary: library for apps that want to use kipi-plugins (runtime version) [Trinity]
+Summary: Library for apps that want to use kipi-plugins (runtime version) [Trinity]
Group: System/Libraries
Epoch: %{tde_epoch}
Version: 0.1.5
@@ -98,9 +98,9 @@ BuildRequires: libtool-ltdl-devel
%description
Libkipi is a library
- o that contains common routines and widget used by kipi-plugins
- o to ease implementation of the kipi-plugins interface in an application
- that wants to use kipi-plugins
+- that contains common routines and widget used by kipi-plugins
+- to ease implementation of the kipi-plugins interface in an application
+ that wants to use kipi-plugins
Homepage: http://www.kipi-plugins.org/
diff --git a/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec b/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec
index bf3ed3513..c374e03a6 100644
--- a/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec
+++ b/redhat/libraries/libksquirrel/libksquirrel-14.0.0.spec
@@ -63,7 +63,7 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-Patch0: %{tde_pkg}-%{tde_version}.patch
+Patch0: %{tde_pkg}-14.0.0.patch
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
@@ -83,6 +83,10 @@ BuildRequires: libtool-ltdl-devel
# TRANSFIG support
BuildRequires: transfig
+# GHOSTSCRIPT support
+%define with_ghostscript 1
+BuildRequires: ghostscript
+
# GETTEXT support
BuildRequires: gettext
BuildRequires: gettext-devel
@@ -120,6 +124,9 @@ BuildRequires: xmedcon-devel
# RSVG support
%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define with_svg 1
+%if 0%{?rhel} == 5
+BuildRequires: librsvg2-devel
+%endif
%if 0%{?fedora} || 0%{?rhel}
BuildRequires: librsvg2
%endif
@@ -198,8 +205,10 @@ This package contains the runtime libraries for KSquirrel.
%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0
%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0.8.0
%endif
+%if 0%{?with_ghostscript}
%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0
%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0.8.0
+%endif
%{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
@@ -358,8 +367,10 @@ This package contains the development libraries for KSquirrel.
%{tde_libdir}/ksquirrel-libs/libkls_djvu.la
%{tde_libdir}/ksquirrel-libs/libkls_djvu.so
%endif
+%if 0%{?with_ghostscript}
%{tde_libdir}/ksquirrel-libs/libkls_eps.la
%{tde_libdir}/ksquirrel-libs/libkls_eps.so
+%endif
%{tde_libdir}/ksquirrel-libs/libkls_fig.la
%{tde_libdir}/ksquirrel-libs/libkls_fig.so
%{tde_libdir}/ksquirrel-libs/libkls_fli.la
diff --git a/redhat/libraries/libksquirrel/libksquirrel-14.0.1.spec b/redhat/libraries/libksquirrel/libksquirrel-14.0.1.spec
deleted file mode 100644
index bb9361e07..000000000
--- a/redhat/libraries/libksquirrel/libksquirrel-14.0.1.spec
+++ /dev/null
@@ -1,568 +0,0 @@
-#
-# spec file for package libksquirrel (version R14)
-#
-# Copyright (c) 2014 Trinity Desktop Environment
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-#
-# Please submit bugfixes or comments via http://www.trinitydesktop.org/
-#
-
-# BUILD WARNING:
-# Remove qt-devel and qt3-devel and any kde*-devel on your system !
-# Having KDE libraries may cause FTBFS here !
-
-# TDE variables
-%define tde_epoch 2
-%if "%{?tde_version}" == ""
-%define tde_version 14.0.0
-%endif
-%define tde_pkg libksquirrel
-%define tde_prefix /opt/trinity
-%define tde_bindir %{tde_prefix}/bin
-%define tde_datadir %{tde_prefix}/share
-%define tde_docdir %{tde_datadir}/doc
-%define tde_includedir %{tde_prefix}/include
-%define tde_libdir %{tde_prefix}/%{_lib}
-%define tde_tdeappdir %{tde_datadir}/applications/tde
-%define tde_tdedocdir %{tde_docdir}/tde
-%define tde_tdeincludedir %{tde_includedir}/tde
-%define tde_tdelibdir %{tde_libdir}/trinity
-
-# 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
-
-
-Name: trinity-%{tde_pkg}
-Summary: Trinity image viewer
-Group: System/Libraries
-Epoch: %{tde_epoch}
-Version: 0.8.0
-Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
-URL: http://www.trinitydesktop.org/
-
-%if 0%{?suse_version}
-License: GPL-2.0+
-%else
-License: GPLv2+
-%endif
-
-#Vendor: Trinity Desktop
-#Packager: Francois Andriot <francois.andriot@free.fr>
-
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-
-BuildRequires: trinity-tdelibs-devel >= %{tde_version}
-
-BuildRequires: desktop-file-utils
-BuildRequires: gcc-c++
-BuildRequires: pkgconfig
-
-# AUTOTOOLS
-BuildRequires: automake autoconf libtool
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}ltdl-devel
-%endif
-%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} >= 1220
-BuildRequires: libtool-ltdl-devel
-%endif
-
-# TRANSFIG support
-BuildRequires: transfig
-
-# GETTEXT support
-BuildRequires: gettext
-BuildRequires: gettext-devel
-
-# OPENEXR support
-BuildRequires: OpenEXR-devel
-
-# TIFF support
-BuildRequires: libtiff-devel
-
-# GIF support
-%if 0%{?suse_version}
-BuildRequires: giflib-devel
-%endif
-%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?rhel}
-BuildRequires: libungif-devel
-%endif
-
-# MNG support
-BuildRequires: libmng-devel
-
-# DJVU support
-%if 0%{?fedora} || 0%{?rhel} >= 6 || 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%{?fedora} >= 19 || 0%{?rhel} >= 7
-BuildRequires: librsvg2-tools
-%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
-
-# XML2 support
-BuildRequires: libxml2-devel
-
-# NETPBM support
-%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
-BuildRequires: netpbm
-%else
-BuildRequires: netpbm-progs
-%endif
-
-
-%description
-This package contains the runtime libraries for KSquirrel.
-
-%files
-%defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING LICENSE README
-%dir %{tde_libdir}/ksquirrel-libs
-%{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
-%dir %{tde_datadir}/ksquirrel-libs
-%{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
-
-%post
-/sbin/ldconfig || :
-
-%postun
-/sbin/ldconfig || :
-
-##########
-
-%package devel
-Group: Development/Libraries/Other
-Summary: Trinity image viewer
-Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-
-%description devel
-This package contains the development libraries for KSquirrel.
-
-%files devel
-%defattr(-,root,root,-)
-%dir %{tde_includedir}/ksquirrel-libs
-%{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/
-
-%post devel
-/sbin/ldconfig || :
-
-%postun devel
-/sbin/ldconfig || :
-
-##########
-
-%package tools
-Summary: Trinity image viewer
-Group: System/Libraries
-Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
-
-%description tools
-This package contains the tools for KSquirrel.
-
-%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
-
-##########
-
-%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
-%debug_package
-%endif
-
-##########
-
-%prep
-%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
-
-# FIXME: under PCLinuxOS, headers are under 'freetype2' not 'freetype'
-if [ -r /usr/include/freetype2/ftbitmap.h ]; then
- %__sed -i "configure.ac" -e "s|freetype/ftbitmap.h|freetype2/ftbitmap.h|"
- %__sed -i "kernel/kls_ttf/ttf2pnm.cpp" -e "s|freetype/config/|freetype2/config/|"
-fi
-
-%__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}"
-
-%configure \
- --prefix=%{tde_prefix} \
- --exec-prefix=%{tde_prefix} \
- --bindir=%{tde_bindir} \
- --datadir=%{tde_datadir} \
- --libdir=%{tde_libdir} \
- --includedir=%{tde_includedir} \
- \
- --disable-dependency-tracking \
- --disable-debug \
- --enable-new-ldflags \
- --enable-final \
- --enable-closure \
- --enable-rpath \
- --disable-gcc-hidden-visibility \
- \
- %{?with_djvu:--enable-djvu}
-
-%__make %{?_smp_mflags}
-
-
-%install
-export PATH="%{tde_bindir}:${PATH}"
-%__rm -rf %{buildroot}
-%__make install DESTDIR=%{buildroot}
-
-
-%clean
-%__rm -rf %{buildroot}
-
-
-%Changelog
-* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:0.8.0-1
-- Initial release for TDE 14.0.0
diff --git a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
index 5e2d07ccf..6948e0743 100644
--- a/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
+++ b/redhat/libraries/libtdeldap/libtdeldap-14.0.0.spec
@@ -88,12 +88,15 @@ BuildRequires: cyrus-sasl-devel
%endif
# OPENLDAP support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
BuildRequires: openldap-devel
%endif
%if 0%{?suse_version}
BuildRequires: openldap2-devel
%endif
+%if 0%{?rhel} == 5
+BuildRequires: openldap24-libs-devel
+%endif
%description
@@ -169,7 +172,12 @@ export PATH="%{tde_bindir}:${PATH}"
--enable-final \
--enable-closure \
--enable-rpath \
- --disable-gcc-hidden-visibility
+ --disable-gcc-hidden-visibility \
+ \
+%if 0%{?rhel} == 5
+ --with-extra-includes=/usr/include/openldap24 \
+ --with-extra-libs=/usr/lib/openldap24 \
+%endif
%__make %{?_smp_mflags}
diff --git a/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec b/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec
index c170b987f..bfb00bbae 100644
--- a/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec
+++ b/redhat/libraries/libtqt-perl/libtqt-perl-14.0.0.spec
@@ -76,6 +76,9 @@ It provides an object-oriented interface and is easy to use.
%{tde_mandir}/man1/puic.1*
%{_bindir}/pqtapi
%{_bindir}/pqtsh
+%if 0%{?rhel} == 5
+%{_datadir}/doc/libqt-perl/
+%endif
##########
@@ -147,6 +150,11 @@ export PATH="%{tde_bindir}:${PATH}"
\
--disable-smoke
+# Fix invalid path in RHEL 5
+%if 0%{?rhel} == 5
+%__sed -i "PerlTQt/Makefile" -e "s|\$(PREFIX)/|\$(DESTDIR)\$(PREFIX)/|"
+%endif
+
%__make %{?_smp_mflags}
diff --git a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec
index 13c720df0..e9fd83ece 100644
--- a/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec
+++ b/redhat/libraries/pytdeextensions/pytdeextensions-14.0.0.spec
@@ -192,6 +192,11 @@ if [ -f "%{_libdir}/${LIBPYTHON}" ]; then
-e "s|#define LIB_PYTHON \".*\"|#define LIB_PYTHON \"%{_libdir}/${LIBPYTHON}\"|"
fi
+# Fix FTBFS on RHEL 5
+%if 0%{?rhel} == 5
+%__sed -i "src/pythonize."* -e "s|const char \*object|char \*object|g"
+%endif
+
%build
unset QTDIR QTINC QTLIB
diff --git a/redhat/libraries/python-trinity/python-trinity-14.0.0.spec b/redhat/libraries/python-trinity/python-trinity-14.0.0.spec
index e15e8f573..9ea993252 100644
--- a/redhat/libraries/python-trinity/python-trinity-14.0.0.spec
+++ b/redhat/libraries/python-trinity/python-trinity-14.0.0.spec
@@ -15,6 +15,8 @@
# Please submit bugfixes or comments via http://www.trinitydesktop.org/
#
+%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
# TDE variables
%define tde_epoch 2
%if "%{?tde_version}" == ""
diff --git a/redhat/main/tde-i18n/tde-i18n-14.0.0.spec b/redhat/main/tde-i18n/tde-i18n-14.0.0.spec
index a3456d0cb..01f0c0f81 100644
--- a/redhat/main/tde-i18n/tde-i18n-14.0.0.spec
+++ b/redhat/main/tde-i18n/tde-i18n-14.0.0.spec
@@ -42,9 +42,9 @@
Name: trinity-%{tde_pkg}
Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
-Vendor: Trinity Project
Summary: Internationalization support for Trinity
Group: User Interface/Desktops
+URL: http://www.trinitydesktop.org/
%if 0%{?suse_version}
License: GPL-2.0+
@@ -55,6 +55,8 @@ License: GPLv2+
#Vendor: Trinity Desktop
#Packager: Francois Andriot <francois.andriot@free.fr>
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# Speed build options
diff --git a/redhat/main/tde-i18n/tde-i18n-3.5.13.2.spec b/redhat/main/tde-i18n/tde-i18n-3.5.13.2.spec
index 444ed210b..dd76b2fa7 100644
--- a/redhat/main/tde-i18n/tde-i18n-3.5.13.2.spec
+++ b/redhat/main/tde-i18n/tde-i18n-3.5.13.2.spec
@@ -1,44 +1,63 @@
-# Default version for this component
-%define tde_pkg tde-i18n
+#
+# spec file for package tde-i18n (version 3.5.13-SRU)
+#
+# Copyright (c) 2014 Trinity Desktop Environment
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+#
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
+#
+
+# TDE variables
+%define tde_epoch 2
+%if "%{?tde_version}" == ""
%define tde_version 3.5.13.2
-
-# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
-%if "%{?tde_prefix}" != "/usr"
-%define _variant .opt
%endif
-
-# TDE specific building variables
-BuildRequires: autoconf automake libtool m4
+%define tde_pkg tde-i18n
+%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
-
+%define tde_mandir %{tde_datadir}/man
+%define tde_tdeappdir %{tde_datadir}/applications/kde
%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
# Builds all supported languages (not unsupported ones)
%if "%{?TDE_LANGS}" == ""
-%define TDE_LANGS ar bg bn ca cs da de el en_GB es et fi fr he hi hu is it ja lt nl nb nn pa pl pt pt_BR ro ru sk sl sr sv ta tr uk zh_CN zh_TW
+%define TDE_LANGS af ar az be bg bn br bs ca cs csb cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta te tg th tr uk uz uz@cyrillic vi wa zh_CN zh_TW
%endif
Name: trinity-%{tde_pkg}
-Summary: Internationalization support for Trinity
Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
-
-Vendor: Trinity Project
-Packager: Francois Andriot <francois.andriot@free.fr>
+Summary: Internationalization support for Trinity
+Group: User Interface/Desktops
URL: http://www.trinitydesktop.org/
+%if 0%{?suse_version}
+License: GPL-2.0+
+%else
+License: GPLv2+
+%endif
+
+#Vendor: Trinity Desktop
+#Packager: Francois Andriot <francois.andriot@free.fr>
+
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
-License: GFDL
-Group: User Interface/Desktops
-BuildArch: noarch
+BuildArch: noarch
# Speed build options
%define debug_package %{nil}
@@ -47,635 +66,1352 @@ AutoReq: no
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+
BuildRequires: findutils
BuildRequires: gettext
-BuildRequires: trinity-arts-devel >= 1:1.5.10
-BuildRequires: trinity-tdelibs-devel >= %{tde_version}
+BuildRequires: gcc-c++
%description
-%{summary}.
+This package contains %{summary}.
+
+##########
%package Afrikaans
Summary: Afrikaans(af) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-af = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Afrikaans < %{version}-%{release}
-Provides: trinity-kde-i18n-Afrikaans = %{version}-%{release}
+Provides: %{name}-af = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Afrikaans < %{version}-%{release}
+Provides: trinity-kde-i18n-Afrikaans = %{version}-%{release}
+
%description Afrikaans
-%{summary}.
+This package contains %{summary}.
+
+%files Afrikaans
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/af/
+
+##########
%package Arabic
Summary: Arabic(ar) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-ar = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release}
-Provides: trinity-kde-i18n-Arabic = %{version}-%{release}
+Provides: %{name}-ar = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release}
+Provides: trinity-kde-i18n-Arabic = %{version}-%{release}
+
%description Arabic
-%{summary}.
+This package contains %{summary}.
+
+%files Arabic
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ar/
+
+##########
%package Azerbaijani
Summary: Azerbaijani(az) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-az = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release}
-Provides: trinity-kde-i18n-Arabic = %{version}-%{release}
+Provides: %{name}-az = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release}
+Provides: trinity-kde-i18n-Arabic = %{version}-%{release}
+
%description Azerbaijani
-%{summary}.
+This package contains %{summary}.
+
+%files Azerbaijani
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/az/
+
+##########
%package Belarusian
Summary: Belarusian(be) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-be = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Belarusian < %{version}-%{release}
-Provides: trinity-kde-i18n-Belarusian = %{version}-%{release}
+Provides: %{name}-be = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Belarusian < %{version}-%{release}
+Provides: trinity-kde-i18n-Belarusian = %{version}-%{release}
+
%description Belarusian
-%{summary}.
+This package contains %{summary}.
+
+%files Belarusian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/be/
+
+##########
%package Bulgarian
Summary: Bulgarian(bg) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-bg = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Bulgarian < %{version}-%{release}
-Provides: trinity-kde-i18n-Bulgarian = %{version}-%{release}
+Provides: %{name}-bg = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Bulgarian < %{version}-%{release}
+Provides: trinity-kde-i18n-Bulgarian = %{version}-%{release}
+
%description Bulgarian
-%{summary}.
+This package contains %{summary}.
+
+%files Bulgarian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/bg/
+
+##########
%package Bengali
Summary: Bengali(bn) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-bn = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Bengali < %{version}-%{release}
-Provides: trinity-kde-i18n-Bengali = %{version}-%{release}
+Provides: %{name}-bn = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Bengali < %{version}-%{release}
+Provides: trinity-kde-i18n-Bengali = %{version}-%{release}
+
%description Bengali
-%{summary}.
+This package contains %{summary}.
+
+%files Bengali
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/bn/
+
+##########
%package Tibetan
Summary: Tibetan(bo) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-bo = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Tibetan < %{version}-%{release}
-Provides: trinity-kde-i18n-Tibetan = %{version}-%{release}
+Provides: %{name}-bo = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Tibetan < %{version}-%{release}
+Provides: trinity-kde-i18n-Tibetan = %{version}-%{release}
+
%description Tibetan
-%{summary}.
+This package contains %{summary}.
+
+#%files Tibetan
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/bo/
+
+##########
%package Breton
Summary: Breton(br) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-br = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Breton < %{version}-%{release}
-Provides: trinity-kde-i18n-Breton = %{version}-%{release}
+Provides: %{name}-br = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Breton < %{version}-%{release}
+Provides: trinity-kde-i18n-Breton = %{version}-%{release}
+
%description Breton
-%{summary}.
+This package contains %{summary}.
+
+%files Breton
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/br/
+
+##########
%package Bosnian
Summary: Bosnian(bs) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-bs = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Bosnian < %{version}-%{release}
-Provides: trinity-kde-i18n-Bosnian = %{version}-%{release}
+Provides: %{name}-bs = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Bosnian < %{version}-%{release}
+Provides: trinity-kde-i18n-Bosnian = %{version}-%{release}
+
%description Bosnian
-%{summary}.
+This package contains %{summary}.
+
+%files Bosnian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/bs/
+
+##########
%package Catalan
Summary: Catalan(ca) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-ca = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Catalan < %{version}-%{release}
-Provides: trinity-kde-i18n-Catalan = %{version}-%{release}
+Provides: %{name}-ca = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Catalan < %{version}-%{release}
+Provides: trinity-kde-i18n-Catalan = %{version}-%{release}
+
%description Catalan
-%{summary}.
+This package contains %{summary}.
+
+%files Catalan
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ca/
+%{tde_tdedocdir}/HTML/ca/
+
+##########
%package Czech
Summary: Czech(cs) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-cs = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Czech < %{version}-%{release}
-Provides: trinity-kde-i18n-Czech = %{version}-%{release}
+Provides: %{name}-cs = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Czech < %{version}-%{release}
+Provides: trinity-kde-i18n-Czech = %{version}-%{release}
+
%description Czech
-%{summary}.
+This package contains %{summary}.
+
+%files Czech
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/cs/
+%{tde_tdedocdir}/HTML/cs/
+
+##########
+
+%package Kashubian
+Summary: Kashubian(csb) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-csb = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Kashubian < %{version}-%{release}
+Provides: trinity-kde-i18n-Kashubian = %{version}-%{release}
+
+%description Kashubian
+This package contains %{summary}.
+
+%files Kashubian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/csb/
+
+##########
%package Cymraeg
Summary: Cymraeg language support for TDE
Group: User Interface/Desktops
-Obsoletes: trinity-kde-i18n-Cymraeg < %{version}-%{release}
-Provides: trinity-kde-i18n-Cymraeg = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Cymraeg < %{version}-%{release}
+Provides: trinity-kde-i18n-Cymraeg = %{version}-%{release}
+
%description Cymraeg
-%{summary}.
+This package contains %{summary}.
+
+##########
%package Welsh
Summary: Welsh(cy) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-cy = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Welsh < %{version}-%{release}
-Provides: trinity-kde-i18n-Welsh = %{version}-%{release}
+Provides: %{name}-cy = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Welsh < %{version}-%{release}
+Provides: trinity-kde-i18n-Welsh = %{version}-%{release}
+
%description Welsh
-%{summary}.
+This package contains %{summary}.
+
+%files Welsh
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/cy/
+
+##########
%package Danish
Summary: Danish(da) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-da = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Danish < %{version}-%{release}
-Provides: trinity-kde-i18n-Danish = %{version}-%{release}
+Provides: %{name}-da = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Danish < %{version}-%{release}
+Provides: trinity-kde-i18n-Danish = %{version}-%{release}
+
%description Danish
-%{summary}.
+This package contains %{summary}.
+
+%files Danish
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/da/
+%{tde_tdedocdir}/HTML/da/
+
+##########
%package German
Summary: German(de) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-de = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-German < %{version}-%{release}
-Provides: trinity-kde-i18n-German = %{version}-%{release}
+Provides: %{name}-de = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-German < %{version}-%{release}
+Provides: trinity-kde-i18n-German = %{version}-%{release}
+
%description German
-%{summary}.
+This package contains %{summary}.
+
+%files German
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/de/
+%{tde_tdedocdir}/HTML/de/
+
+##########
%package Greek
Summary: Greek(el) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-el = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Greek < %{version}-%{release}
-Provides: trinity-kde-i18n-Greek = %{version}-%{release}
+Provides: %{name}-el = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Greek < %{version}-%{release}
+Provides: trinity-kde-i18n-Greek = %{version}-%{release}
+
%description Greek
-%{summary}.
+This package contains %{summary}.
+
+%files Greek
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/el/
+
+##########
%package British
Summary: British(en_GB) English support for TDE
Group: User Interface/Desktops
-Provides: %{name}-en_GB = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-British < %{version}-%{release}
-Provides: trinity-kde-i18n-British = %{version}-%{release}
+Provides: %{name}-en_GB = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-British < %{version}-%{release}
+Provides: trinity-kde-i18n-British = %{version}-%{release}
+
%description British
-%{summary}.
+This package contains %{summary}.
+
+%files British
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/en_GB/
+%{tde_tdedocdir}/HTML/en_GB/
+
+##########
%package Esperanto
Summary: Esperanto(eo) support for TDE
Group: User Interface/Desktops
-Provides: %{name}-eo = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Esperanto < %{version}-%{release}
-Provides: trinity-kde-i18n-Esperanto = %{version}-%{release}
+Provides: %{name}-eo = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Esperanto < %{version}-%{release}
+Provides: trinity-kde-i18n-Esperanto = %{version}-%{release}
+
%description Esperanto
-%{summary}.
+This package contains %{summary}.
+
+%files Esperanto
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/eo/
+
+##########
%package Spanish
Summary: Spanish(es) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-es = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Spanish < %{version}-%{release}
-Provides: trinity-kde-i18n-Spanish = %{version}-%{release}
+Provides: %{name}-es = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Spanish < %{version}-%{release}
+Provides: trinity-kde-i18n-Spanish = %{version}-%{release}
+
%description Spanish
-%{summary}.
+This package contains %{summary}.
+
+%files Spanish
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/es/
+%{tde_tdedocdir}/HTML/es/
+
+##########
%package Estonian
Summary: Estonian(et) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-et = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Estonian < %{version}-%{release}
-Provides: trinity-kde-i18n-Estonian = %{version}-%{release}
+Provides: %{name}-et = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Estonian < %{version}-%{release}
+Provides: trinity-kde-i18n-Estonian = %{version}-%{release}
+
%description Estonian
-%{summary}.
+This package contains %{summary}.
+
+%files Estonian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/et/
+%{tde_tdedocdir}/HTML/et/
+
+##########
%package Basque
Summary: Basque(eu) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-eu = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Basque < %{version}-%{release}
-Provides: trinity-kde-i18n-Basque = %{version}-%{release}
+Provides: %{name}-eu = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Basque < %{version}-%{release}
+Provides: trinity-kde-i18n-Basque = %{version}-%{release}
+
%description Basque
-%{summary}.
+This package contains %{summary}.
+
+%files Basque
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/eu/
+%{tde_tdedocdir}/HTML/eu/
+
+##########
%package Farsi
Summary: Farsi(fa) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-fa = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Farsi < %{version}-%{release}
-Provides: trinity-kde-i18n-Farsi = %{version}-%{release}
+Provides: %{name}-fa = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Farsi < %{version}-%{release}
+Provides: trinity-kde-i18n-Farsi = %{version}-%{release}
+
%description Farsi
-%{summary}.
+This package contains %{summary}.
+
+%files Farsi
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/fa/
+
+##########
%package Finnish
Summary: Finnish(fi) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-fi = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Finnish < %{version}-%{release}
-Provides: trinity-kde-i18n-Finnish = %{version}-%{release}
+Provides: %{name}-fi = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Finnish < %{version}-%{release}
+Provides: trinity-kde-i18n-Finnish = %{version}-%{release}
+
%description Finnish
-%{summary}.
+This package contains %{summary}.
+
+%files Finnish
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/fi/
+%{tde_tdedocdir}/HTML/fi/
+
+##########
%package Faroese
Summary: Faroese(fo) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-fo = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Faroese < %{version}-%{release}
-Provides: trinity-kde-i18n-Faroese = %{version}-%{release}
+Provides: %{name}-fo = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Faroese < %{version}-%{release}
+Provides: trinity-kde-i18n-Faroese = %{version}-%{release}
+
%description Faroese
-%{summary}.
+This package contains %{summary}.
+
+#%files Faroese
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/fo/
+
+##########
%package French
Summary: French(fr) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-fr = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-French < %{version}-%{release}
-Provides: trinity-kde-i18n-French = %{version}-%{release}
+Provides: %{name}-fr = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-French < %{version}-%{release}
+Provides: trinity-kde-i18n-French = %{version}-%{release}
+
%description French
-%{summary}.
+This package contains %{summary}.
+
+%files French
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/fr/
+%{tde_tdedocdir}/HTML/fr/
+
+##########
%package Frisian
Summary: Frisian(fy) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-fy = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Frisian < %{version}-%{release}
-Provides: trinity-kde-i18n-Frisian = %{version}-%{release}
+Provides: %{name}-fy = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Frisian < %{version}-%{release}
+Provides: trinity-kde-i18n-Frisian = %{version}-%{release}
+
%description Frisian
-%{summary}.
+This package contains %{summary}.
+
+%files Frisian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/fy/
+
+##########
%package Irish
Summary: Irish(ga) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-ga = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Irish < %{version}-%{release}
-Provides: trinity-kde-i18n-Irish = %{version}-%{release}
+Provides: %{name}-ga = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Irish < %{version}-%{release}
+Provides: trinity-kde-i18n-Irish = %{version}-%{release}
+
%description Irish
-%{summary}.
+This package contains %{summary}.
+
+%files Irish
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ga/
+
+##########
%package Galician
Summary: Galician(gl) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-gl = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Galician < %{version}-%{release}
-Provides: trinity-kde-i18n-Galician = %{version}-%{release}
+Provides: %{name}-gl = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Galician < %{version}-%{release}
+Provides: trinity-kde-i18n-Galician = %{version}-%{release}
+
%description Galician
-%{summary}.
+This package contains %{summary}.
+
+%files Galician
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/gl/
+
+##########
%package Hebrew
Summary: Hebrew(he) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-he = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Hebrew < %{version}-%{release}
-Provides: trinity-kde-i18n-Hebrew = %{version}-%{release}
+Provides: %{name}-he = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Hebrew < %{version}-%{release}
+Provides: trinity-kde-i18n-Hebrew = %{version}-%{release}
+
%description Hebrew
-%{summary}.
+This package contains %{summary}.
+
+%files Hebrew
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/he/
+%{tde_tdedocdir}/HTML/he/
+
+##########
%package Hindi
Summary: Hindi(hi) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-hi = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Hindi < %{version}-%{release}
-Provides: trinity-kde-i18n-Hindi = %{version}-%{release}
+Provides: %{name}-hi = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Hindi < %{version}-%{release}
+Provides: trinity-kde-i18n-Hindi = %{version}-%{release}
+
%description Hindi
-%{summary}.
+This package contains %{summary}.
+
+%files Hindi
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/hi/
+
+##########
%package Croatian
Summary: Croatian(hr) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-hr = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Croatian < %{version}-%{release}
-Provides: trinity-kde-i18n-Croatian = %{version}-%{release}
+Provides: %{name}-hr = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Croatian < %{version}-%{release}
+Provides: trinity-kde-i18n-Croatian = %{version}-%{release}
+
%description Croatian
-%{summary}.
+This package contains %{summary}.
+
+%files Croatian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/hr/
+%{tde_tdedocdir}/HTML/hr/
+
+##########
%package Hungarian
Summary: Hungarian(hu) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-hu = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Hungarian < %{version}-%{release}
-Provides: trinity-kde-i18n-Hungarian = %{version}-%{release}
+Provides: %{name}-hu = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Hungarian < %{version}-%{release}
+Provides: trinity-kde-i18n-Hungarian = %{version}-%{release}
+
%description Hungarian
-%{summary}.
+This package contains %{summary}.
+
+%files Hungarian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/hu/
+%{tde_tdedocdir}/HTML/hu/
+
+##########
%package Indonesian
Summary: Indonesian(id) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-id = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Indonesian < %{version}-%{release}
-Provides: trinity-kde-i18n-Indonesian = %{version}-%{release}
+Provides: %{name}-id = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Indonesian < %{version}-%{release}
+Provides: trinity-kde-i18n-Indonesian = %{version}-%{release}
+
%description Indonesian
-%{summary}.
+This package contains %{summary}.
+
+#%files Indonesian
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/id/
+
+##########
%package Icelandic
Summary: Icelandic(is) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-is = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Icelandic < %{version}-%{release}
-Provides: trinity-kde-i18n-Icelandic = %{version}-%{release}
+Provides: %{name}-is = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Icelandic < %{version}-%{release}
+Provides: trinity-kde-i18n-Icelandic = %{version}-%{release}
+
%description Icelandic
-%{summary}.
+This package contains %{summary}.
+
+%files Icelandic
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/is/
+
+##########
%package Italian
Summary: Italian(it) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-it = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Italian < %{version}-%{release}
-Provides: trinity-kde-i18n-Italian = %{version}-%{release}
+Provides: %{name}-it = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Italian < %{version}-%{release}
+Provides: trinity-kde-i18n-Italian = %{version}-%{release}
+
%description Italian
-%{summary}.
+This package contains %{summary}.
+
+%files Italian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/it/
+%{tde_tdedocdir}/HTML/it/
+
+##########
%package Japanese
Summary: Japanese(ja) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-ja = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Japanese < %{version}-%{release}
-Provides: trinity-kde-i18n-Japanese = %{version}-%{release}
+Provides: %{name}-ja = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Japanese < %{version}-%{release}
+Provides: trinity-kde-i18n-Japanese = %{version}-%{release}
+
%description Japanese
-%{summary}.
+This package contains %{summary}.
+
+%files Japanese
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ja/
+%{tde_tdedocdir}/HTML/ja/
+
+##########
+
+%package Kazakh
+Summary: Kazakh(kk) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-kk = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Kazakh < %{version}-%{release}
+Provides: trinity-kde-i18n-Kazakh = %{version}-%{release}
+
+%description Kazakh
+This package contains %{summary}.
+
+%files Kazakh
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/kk/
+
+##########
+
+%package Khmer
+Summary: Khmer(km) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ko = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Khmer < %{version}-%{release}
+Provides: trinity-kde-i18n-Khmer = %{version}-%{release}
+
+%description Khmer
+This package contains %{summary}.
+
+%files Khmer
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/km/
+
+##########
%package Korean
Summary: Korean(ko) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-ko = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Korean < %{version}-%{release}
-Provides: trinity-kde-i18n-Korean = %{version}-%{release}
+Provides: %{name}-ko = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Korean < %{version}-%{release}
+Provides: trinity-kde-i18n-Korean = %{version}-%{release}
+
%description Korean
-%{summary}.
+This package contains %{summary}.
+
+%files Korean
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ko/
+%{tde_tdedocdir}/HTML/ko/
+
+##########
%package Kurdish
Summary: Kurdish(ku) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-ku = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Kurdish < %{version}-%{release}
-Provides: trinity-kde-i18n-Kurdish = %{version}-%{release}
+Provides: %{name}-ku = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Kurdish < %{version}-%{release}
+Provides: trinity-kde-i18n-Kurdish = %{version}-%{release}
+
%description Kurdish
-%{summary}.
+This package contains %{summary}.
+
+#%files Kurdish
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/ku/
+
+##########
%package Lao
Summary: Lao(lo) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-lo = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Lao < %{version}-%{release}
-Provides: trinity-kde-i18n-Lao = %{version}-%{release}
+Provides: %{name}-lo = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Lao < %{version}-%{release}
+Provides: trinity-kde-i18n-Lao = %{version}-%{release}
+
%description Lao
-%{summary}.
+This package contains %{summary}.
+
+#%files Lao
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/lo/
+
+##########
%package Lithuanian
Summary: Lithuanian(lt) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-lt = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Lithuanian < %{version}-%{release}
-Provides: trinity-kde-i18n-Lithuanian = %{version}-%{release}
+Provides: %{name}-lt = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Lithuanian < %{version}-%{release}
+Provides: trinity-kde-i18n-Lithuanian = %{version}-%{release}
+
%description Lithuanian
-%{summary}.
+This package contains %{summary}.
+
+%files Lithuanian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/lt/
+
+##########
%package Latvian
Summary: Latvian(lv) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-lv = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Latvian < %{version}-%{release}
-Provides: trinity-kde-i18n-Latvian = %{version}-%{release}
+Provides: %{name}-lv = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Latvian < %{version}-%{release}
+Provides: trinity-kde-i18n-Latvian = %{version}-%{release}
+
%description Latvian
-%{summary}.
+This package contains %{summary}.
+
+%files Latvian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/lv/
+
+##########
%package Maori
Summary: Maori(mi) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-mi = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Maori < %{version}-%{release}
-Provides: trinity-kde-i18n-Maori = %{version}-%{release}
+Provides: %{name}-mi = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Maori < %{version}-%{release}
+Provides: trinity-kde-i18n-Maori = %{version}-%{release}
+
%description Maori
-%{summary}.
+This package contains %{summary}.
+
+#%files Maori
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/mi/
+
+##########
%package Macedonian
Summary: Macedonian(mk) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-mk = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Macedonian < %{version}-%{release}
-Provides: trinity-kde-i18n-Macedonian = %{version}-%{release}
+Provides: %{name}-mk = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Macedonian < %{version}-%{release}
+Provides: trinity-kde-i18n-Macedonian = %{version}-%{release}
+
%description Macedonian
-%{summary}.
+This package contains %{summary}.
+
+%files Macedonian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/mk/
+
+##########
+
+%package Mongolian
+Summary: Mongolian(mn) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-mn = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Mongolian < %{version}-%{release}
+Provides: trinity-kde-i18n-Mongolian = %{version}-%{release}
+
+%description Mongolian
+This package contains %{summary}.
+
+%files Mongolian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/mn/
+
+##########
+
+%package Malay
+Summary: Malay(ms) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ms = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Malay < %{version}-%{release}
+Provides: trinity-kde-i18n-Malay = %{version}-%{release}
+
+%description Malay
+This package contains %{summary}.
+
+%files Malay
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ms/
+
+##########
%package Maltese
Summary: Maltese(mt) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-mt = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Maltese < %{version}-%{release}
-Provides: trinity-kde-i18n-Maltese = %{version}-%{release}
+Provides: %{name}-mt = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Maltese < %{version}-%{release}
+Provides: trinity-kde-i18n-Maltese = %{version}-%{release}
+
%description Maltese
-%{summary}.
+This package contains %{summary}.
+
+#%files Maltese
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/mt/
+
+##########
+
+%package Low-Saxon
+Summary: Low Saxon(nds) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-nds = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Low-Saxon < %{version}-%{release}
+Provides: trinity-kde-i18n-Low-Saxon = %{version}-%{release}
+
+%description Low-Saxon
+This package contains %{summary}.
+
+%files Low-Saxon
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/nds/
+
+##########
%package Dutch
Summary: Dutch(nl) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-nl = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Dutch < %{version}-%{release}
-Provides: trinity-kde-i18n-Dutch = %{version}-%{release}
+Provides: %{name}-nl = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Dutch < %{version}-%{release}
+Provides: trinity-kde-i18n-Dutch = %{version}-%{release}
+
%description Dutch
-%{summary}.
+This package contains %{summary}.
+
+%files Dutch
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/nl/
+%{tde_tdedocdir}/HTML/nl/
+
+##########
%package Norwegian
Summary: Norwegian(no) (Bokmaal) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-no = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Norwegian < %{version}-%{release}
-Provides: trinity-kde-i18n-Norwegian = %{version}-%{release}
+Provides: %{name}-no = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Norwegian < %{version}-%{release}
+Provides: trinity-kde-i18n-Norwegian = %{version}-%{release}
+
%description Norwegian
-%{summary}.
+This package contains %{summary}.
+
+%files Norwegian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/nb/
+
+##########
%package Norwegian-Nynorsk
Summary: Norwegian(nn) (Nynorsk) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-nn = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Norwegian-Nynorsk < %{version}-%{release}
-Provides: trinity-kde-i18n-Norwegian-Nynorsk = %{version}-%{release}
+Provides: %{name}-nn = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Norwegian-Nynorsk < %{version}-%{release}
+Provides: trinity-kde-i18n-Norwegian-Nynorsk = %{version}-%{release}
+
%description Norwegian-Nynorsk
-%{summary}.
+This package contains %{summary}.
+
+%files Norwegian-Nynorsk
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/nn/
+
+##########
%package Occitan
Summary: Occitan(oc) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-oc = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Occitan < %{version}-%{release}
-Provides: trinity-kde-i18n-Occitan = %{version}-%{release}
+Provides: %{name}-oc = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Occitan < %{version}-%{release}
+Provides: trinity-kde-i18n-Occitan = %{version}-%{release}
+
%description Occitan
-%{summary}.
+This package contains %{summary}.
+
+#%files Occitan
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/oc/
+
+##########
%package Polish
Summary: Polish(pl) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-pl = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Polish < %{version}-%{release}
-Provides: trinity-kde-i18n-Polish = %{version}-%{release}
+Provides: %{name}-pl = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Polish < %{version}-%{release}
+Provides: trinity-kde-i18n-Polish = %{version}-%{release}
+
%description Polish
-%{summary}.
+This package contains %{summary}.
+
+%files Polish
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/pl/
+%{tde_tdedocdir}/HTML/pl/
+
+##########
%package Portuguese
Summary: Portuguese(pt) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-pt = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Portuguese < %{version}-%{release}
-Provides: trinity-kde-i18n-Portuguese = %{version}-%{release}
+Provides: %{name}-pt = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Portuguese < %{version}-%{release}
+Provides: trinity-kde-i18n-Portuguese = %{version}-%{release}
+
%description Portuguese
-%{summary}.
+This package contains %{summary}.
+
+%files Portuguese
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/pt/
+%{tde_tdedocdir}/HTML/pt/
+
+##########
%package Punjabi
Summary: Punjabi(pa) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-pa = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Punjabi < %{version}-%{release}
-Provides: trinity-kde-i18n-Punjabi = %{version}-%{release}
+Provides: %{name}-pa = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Punjabi < %{version}-%{release}
+Provides: trinity-kde-i18n-Punjabi = %{version}-%{release}
+
%description Punjabi
-%{summary}.
+This package contains %{summary}.
+
+%files Punjabi
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/pa/
+
+##########
%package Brazil
Summary: Brazil(pt_BR) Portuguese language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-pt_BR = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Brazil < %{version}-%{release}
-Provides: trinity-kde-i18n-Brazil = %{version}-%{release}
+Provides: %{name}-pt_BR = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Brazil < %{version}-%{release}
+Provides: trinity-kde-i18n-Brazil = %{version}-%{release}
+
%description Brazil
-%{summary}.
+This package contains %{summary}.
+
+%files Brazil
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/pt_BR/
+%{tde_tdedocdir}/HTML/pt_BR/
+
+##########
%package Romanian
Summary: Romanian(ro) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-ro = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Romanian < %{version}-%{release}
-Provides: trinity-kde-i18n-Romanian = %{version}-%{release}
+Provides: %{name}-ro = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Romanian < %{version}-%{release}
+Provides: trinity-kde-i18n-Romanian = %{version}-%{release}
+
%description Romanian
-%{summary}.
+This package contains %{summary}.
+
+%files Romanian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ro/
+%{tde_tdedocdir}/HTML/ro/
+
+##########
%package Russian
Summary: Russian(ru) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-ru = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Russian < %{version}-%{release}
-Provides: trinity-kde-i18n-Russian = %{version}-%{release}
+Provides: %{name}-ru = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Russian < %{version}-%{release}
+Provides: trinity-kde-i18n-Russian = %{version}-%{release}
+
%description Russian
-%{summary}.
+This package contains %{summary}.
+
+%files Russian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ru/
+%{tde_tdedocdir}/HTML/ru/
+
+##########
+
+%package Kinyarwanda
+Summary: Kinyarwanda(rw) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-rw = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Kinyarwanda < %{version}-%{release}
+Provides: trinity-kde-i18n-Kinyarwanda = %{version}-%{release}
+
+%description Kinyarwanda
+This package contains %{summary}.
+
+%files Kinyarwanda
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/rw/
+
+##########
+
+%package Northern-Sami
+Summary: Northern-Sami(se) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-se = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Northern-Sami < %{version}-%{release}
+Provides: trinity-kde-i18n-Northern-Sami = %{version}-%{release}
+
+%description Northern-Sami
+This package contains %{summary}.
+
+%files Northern-Sami
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/se/
+
+##########
%package Slovak
Summary: Slovak(sk) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-sk = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Slovak < %{version}-%{release}
-Provides: trinity-kde-i18n-Slovak = %{version}-%{release}
+Provides: %{name}-sk = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Slovak < %{version}-%{release}
+Provides: trinity-kde-i18n-Slovak = %{version}-%{release}
+
%description Slovak
-%{summary}.
+This package contains %{summary}.
+
+%files Slovak
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/sk/
+%{tde_tdedocdir}/HTML/sk/
+
+##########
%package Slovenian
Summary: Slovenian(sl) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-sl = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Slovenian < %{version}-%{release}
-Provides: trinity-kde-i18n-Slovenian = %{version}-%{release}
+Provides: %{name}-sl = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Slovenian < %{version}-%{release}
+Provides: trinity-kde-i18n-Slovenian = %{version}-%{release}
+
%description Slovenian
-%{summary}.
+This package contains %{summary}.
+
+%files Slovenian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/sl/
+%{tde_tdedocdir}/HTML/sl/
+
+##########
%package Serbian
Summary: Serbian(sr) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-sr = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Serbian < %{version}-%{release}
-Provides: trinity-kde-i18n-Serbian = %{version}-%{release}
+Provides: %{name}-sr = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Serbian < %{version}-%{release}
+Provides: trinity-kde-i18n-Serbian = %{version}-%{release}
+
%description Serbian
-%{summary}.
+This package contains %{summary}.
+
+%files Serbian
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/sr/
+%{tde_tdedocdir}/HTML/sr/
+
+##########
+
+%package Serbian-Latin
+Summary: Serbian-Latin(sr@Latn) language support for TDE
+Group: User Interface/Desktops
+Obsoletes: trinity-kde-i18n-Serbian-Latin < %{version}-%{release}
+Provides: trinity-kde-i18n-Serbian-Latin = %{version}-%{release}
+
+%description Serbian-Latin
+This package contains %{summary}.
+
+%files Serbian-Latin
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/sr@Latn/
+
+##########
+
+%package South-Sudan
+Summary: South-Sudan(ss) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ss = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-South-Sudan < %{version}-%{release}
+Provides: trinity-kde-i18n-South-Sudan = %{version}-%{release}
+
+%description South-Sudan
+This package contains %{summary}.
+
+%files South-Sudan
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ss/
+
+##########
%package Swedish
Summary: Swedish(sv) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-sv = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Swedish < %{version}-%{release}
-Provides: trinity-kde-i18n-Swedish = %{version}-%{release}
+Provides: %{name}-sv = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Swedish < %{version}-%{release}
+Provides: trinity-kde-i18n-Swedish = %{version}-%{release}
+
%description Swedish
-%{summary}.
+This package contains %{summary}.
+
+%files Swedish
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/sv/
+%{tde_tdedocdir}/HTML/sv/
+
+##########
%package Tamil
Summary: Tamil(ta) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-ta = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Tamil < %{version}-%{release}
-Provides: trinity-kde-i18n-Tamil = %{version}-%{release}
+Provides: %{name}-ta = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Tamil < %{version}-%{release}
+Provides: trinity-kde-i18n-Tamil = %{version}-%{release}
+
%description Tamil
-%{summary}.
+This package contains %{summary}.
+
+%files Tamil
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/ta/
+
+##########
+
+%package Telugu
+Summary: Telugu(te) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-te = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Telugu < %{version}-%{release}
+Provides: trinity-kde-i18n-Telugu = %{version}-%{release}
+
+%description Telugu
+This package contains %{summary}.
+
+%files Telugu
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/te/
+
+##########
%package Tajik
Summary: Tajik(tg) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-tg = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Tajik < %{version}-%{release}
-Provides: trinity-kde-i18n-Tajik = %{version}-%{release}
+Provides: %{name}-tg = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Tajik < %{version}-%{release}
+Provides: trinity-kde-i18n-Tajik = %{version}-%{release}
+
%description Tajik
-%{summary}.
+This package contains %{summary}.
+
+%files Tajik
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/tg/
+
+##########
%package Thai
Summary: Thai(th) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-th = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Thai < %{version}-%{release}
-Provides: trinity-kde-i18n-Thai = %{version}-%{release}
+Provides: %{name}-th = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Thai < %{version}-%{release}
+Provides: trinity-kde-i18n-Thai = %{version}-%{release}
+
%description Thai
-%{summary}.
+This package contains %{summary}.
+
+%files Thai
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/th/
+
+##########
%package Turkish
Summary: Turkish(tr) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-tr = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Turkish < %{version}-%{release}
-Provides: trinity-kde-i18n-Turkish = %{version}-%{release}
+Provides: %{name}-tr = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Turkish < %{version}-%{release}
+Provides: trinity-kde-i18n-Turkish = %{version}-%{release}
+
%description Turkish
-%{summary}.
+This package contains %{summary}.
+
+%files Turkish
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/tr/
+%{tde_tdedocdir}/HTML/tr/
+
+##########
%package Ukrainian
Summary: Ukrainian(uk) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-uk = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Ukrainian < %{version}-%{release}
-Provides: trinity-kde-i18n-Ukrainian = %{version}-%{release}
+Provides: %{name}-uk = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Ukrainian < %{version}-%{release}
+Provides: trinity-kde-i18n-Ukrainian = %{version}-%{release}
+
%description Ukrainian
-%{summary}.
+This package contains %{summary}.
+
+%files Ukrainian
+%defattr(-,root,root,-)
+%{tde_tdedocdir}/HTML/uk/
+%{tde_datadir}/locale/uk/
+
+##########
+
+%package Uzbek
+Summary: Uzbek(uz) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-uz = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Uzbek < %{version}-%{release}
+Provides: trinity-kde-i18n-Uzbek = %{version}-%{release}
+
+%description Uzbek
+This package contains %{summary}.
+
+%files Uzbek
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/uz/
+
+##########
+
+%package Uzbek-Cyrillic
+Summary: Uzbek(uz@cyrillic) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-uz@cyrillic = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Uzbek-Cyrillic < %{version}-%{release}
+Provides: trinity-kde-i18n-Uzbek-Cyrillic = %{version}-%{release}
+
+%description Uzbek-Cyrillic
+This package contains %{summary}.
+
+%files Uzbek-Cyrillic
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/uz@cyrillic/
+
+##########
%package Venda
Summary: Venda(ven) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-ven = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Venda < %{version}-%{release}
-Provides: trinity-kde-i18n-Venda = %{version}-%{release}
+Provides: %{name}-ven = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Venda < %{version}-%{release}
+Provides: trinity-kde-i18n-Venda = %{version}-%{release}
+
%description Venda
-%{summary}.
+This package contains %{summary}.
+
+#%files Venda
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/ven/
+
+##########
%package Vietnamese
Summary: Vietnamese(vi) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-vi = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Vietnamese < %{version}-%{release}
-Provides: trinity-kde-i18n-Vietnamese = %{version}-%{release}
+Provides: %{name}-vi = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Vietnamese < %{version}-%{release}
+Provides: trinity-kde-i18n-Vietnamese = %{version}-%{release}
+
%description Vietnamese
-%{summary}.
+This package contains %{summary}.
+
+%files Vietnamese
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/vi/
+
+##########
%package Walloon
Summary: Walloon(wa) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-wa = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Walloon < %{version}-%{release}
-Provides: trinity-kde-i18n-Walloon = %{version}-%{release}
+Provides: %{name}-wa = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Walloon < %{version}-%{release}
+Provides: trinity-kde-i18n-Walloon = %{version}-%{release}
+
%description Walloon
-%{summary}.
+This package contains %{summary}.
+
+%files Walloon
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/wa/
+
+##########
%package Xhosa
Summary: Xhosa(xh) (a Bantu language) support for TDE
Group: User Interface/Desktops
-Provides: %{name}-xh = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Xhosa < %{version}-%{release}
-Provides: trinity-kde-i18n-Xhosa = %{version}-%{release}
+Provides: %{name}-xh = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Xhosa < %{version}-%{release}
+Provides: trinity-kde-i18n-Xhosa = %{version}-%{release}
+
%description Xhosa
-%{summary}.
+This package contains %{summary}.
+
+#%files Xhosa
+#%defattr(-,root,root,-)
+#%{tde_datadir}/locale/xh/
+
+##########
%package Chinese
Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-zh_CN = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Chinese < %{version}-%{release}
-Provides: trinity-kde-i18n-Chinese = %{version}-%{release}
+Provides: %{name}-zh_CN = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Chinese < %{version}-%{release}
+Provides: trinity-kde-i18n-Chinese = %{version}-%{release}
+
%description Chinese
-%{summary}.
+This package contains %{summary}.
+
+%files Chinese
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/zh_CN/
+%{tde_tdedocdir}/HTML/zh_CN/
+
+##########
%package Chinese-Big5
Summary: Chinese(zh_TW) (Big5) language support for TDE
Group: User Interface/Desktops
-Provides: %{name}-tz_TW = %{version}-%{release}
-Obsoletes: trinity-kde-i18n-Chinese-Big5 < %{version}-%{release}
-Provides: trinity-kde-i18n-Chinese-Big5 = %{version}-%{release}
+Provides: %{name}-tz_TW = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Chinese-Big5 < %{version}-%{release}
+Provides: trinity-kde-i18n-Chinese-Big5 = %{version}-%{release}
+
%description Chinese-Big5
-%{summary}.
+This package contains %{summary}.
+%files Chinese-Big5
+%defattr(-,root,root,-)
+%{tde_datadir}/locale/zh_TW/
+%{tde_tdedocdir}/HTML/zh_TW/
+##########
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
@@ -686,10 +1422,9 @@ Provides: trinity-kde-i18n-Chinese-Big5 = %{version}-%{release}
%build
unset QTDIR QTINC QTLIB
-. /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
+. /etc/profile.d/qt3.sh
export KDEDIR=%{tde_prefix}
-
export kde_htmldir="%{tde_tdedocdir}/HTML"
(
@@ -721,6 +1456,7 @@ fi
wait
rm -f /tmp/rpmbuild.$$
+
%install
%__rm -rf %{?buildroot}
export PATH="%{tde_bindir}:${PATH}"
@@ -733,38 +1469,6 @@ for l in %{TDE_LANGS}; do
done
done
-# make symlinks relative
-%if "%{tde_prefix}" == "/usr"
-pushd "%{buildroot}%{tde_tdedocdir}/HTML"
-for lang in *; do
- if [ -d "$lang" ]; then
- pushd "$lang"
- for i in */*/*; do
- if [ -d $i -a -L $i/common ]; then
- rm -f $i/common
- ln -sf ../../../docs/common $i
- fi
- done
-
- for i in */*; do
- if [ -d $i -a -L $i/common ]; then
- rm -f $i/common
- ln -sf ../../docs/common $i
- fi
- done
-
- for i in *; do
- if [ -d $i -a -L $i/common ]; then
- rm -f $i/common
- ln -sf ../docs/common $i
- fi
- done
-
- popd
- fi
-done
-popd
-%endif
# remove zero-length file
find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \;
@@ -780,452 +1484,10 @@ find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \;
# remove obsolete KDE 3 application data translations
%__rm -rf "%{buildroot}%{tde_datadir}/apps"
+
%clean
%__rm -rf %{buildroot}
-%if "%( grep -w af <<< '%{TDE_LANGS}' )" != ""
-%files Afrikaans
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/af/*
-%{tde_tdedocdir}/HTML/af/
-%endif
-
-%if "%( grep -w ar <<< '%{TDE_LANGS}' )" != ""
-%files Arabic
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/ar/*
-%endif
-
-%if "%( grep -w az <<< '%{TDE_LANGS}' )" != ""
-%files Azerbaijani
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/az/*
-%endif
-
-%if "%( grep -w be <<< '%{TDE_LANGS}' )" != ""
-%files Belarusian
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/be/*
-%endif
-
-%if "%( grep -w bg <<< '%{TDE_LANGS}' )" != ""
-%files Bulgarian
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/bg/*
-%endif
-
-%if "%( grep -w bn <<< '%{TDE_LANGS}' )" != ""
-%files Bengali
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/bn/*
-%endif
-
-%if "%( grep -w bo <<< '%{TDE_LANGS}' )" != ""
-%files Tibetan
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/bo/*
-%endif
-
-%if "%( grep -w br <<< '%{TDE_LANGS}' )" != ""
-%files Breton
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/br/*
-%endif
-
-%if "%( grep -w bs <<< '%{TDE_LANGS}' )" != ""
-%files Bosnian
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/bs/*
-%endif
-
-%if "%( grep -w ca <<< '%{TDE_LANGS}' )" != ""
-%files Catalan
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/ca/*
-%{tde_tdedocdir}/HTML/ca/
-%endif
-
-%if "%( grep -w cs <<< '%{TDE_LANGS}' )" != ""
-%files Czech
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/cs/*
-%{tde_tdedocdir}/HTML/cs/
-%endif
-
-%if "%( grep -w cy <<< '%{TDE_LANGS}' )" != ""
-%files Welsh
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/cy/*
-%endif
-
-%if "%( grep -w da <<< '%{TDE_LANGS}' )" != ""
-%files Danish
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/da/*
-%{tde_tdedocdir}/HTML/da/
-%endif
-
-%if "%( grep -w de <<< '%{TDE_LANGS}' )" != ""
-%files German
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/de/*
-%{tde_tdedocdir}/HTML/de/
-%endif
-
-%if "%( grep -w el <<< '%{TDE_LANGS}' )" != ""
-%files Greek
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/el/*
-%endif
-
-%if "%( grep -w en_GB <<< '%{TDE_LANGS}' )" != ""
-%files British
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/en_GB/*
-%{tde_tdedocdir}/HTML/en_GB/
-%endif
-
-%if "%( grep -w eo <<< '%{TDE_LANGS}' )" != ""
-%files Esperanto
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/eo/*
-%endif
-
-%if "%( grep -w es <<< '%{TDE_LANGS}' )" != ""
-%files Spanish
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/es/*
-%{tde_tdedocdir}/HTML/es/
-%endif
-
-%if "%( grep -w et <<< '%{TDE_LANGS}' )" != ""
-%files Estonian
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/et/*
-%{tde_tdedocdir}/HTML/et/
-%endif
-
-%if "%( grep -w eu <<< '%{TDE_LANGS}' )" != ""
-%files Basque
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/eu/*
-%endif
-
-%if "%( grep -w fa <<< '%{TDE_LANGS}' )" != ""
-%files Farsi
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/fa/*
-%endif
-
-%if "%( grep -w fi <<< '%{TDE_LANGS}' )" != ""
-%files Finnish
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/fi/*
-%{tde_tdedocdir}/HTML/fi/
-%endif
-
-%if "%( grep -w fo <<< '%{TDE_LANGS}' )" != ""
-%files Faroese
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/fo/*
-%endif
-
-%if "%( grep -w fr <<< '%{TDE_LANGS}' )" != ""
-%files French
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/fr/*
-%{tde_tdedocdir}/HTML/fr/
-%endif
-
-%if "%( grep -w fy <<< '%{TDE_LANGS}' )" != ""
-%files Frisian
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/fy/*
-%endif
-
-%if "%( grep -w ga <<< '%{TDE_LANGS}' )" != ""
-%files Irish
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/ga/*
-%endif
-
-%if "%( grep -w gl <<< '%{TDE_LANGS}' )" != ""
-%files Galician
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/gl/*
-%endif
-
-%if "%( grep -w he <<< '%{TDE_LANGS}' )" != ""
-%files Hebrew
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/he/*
-%{tde_tdedocdir}/HTML/he/
-%endif
-
-%if "%( grep -w hi <<< '%{TDE_LANGS}' )" != ""
-%files Hindi
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/hi/*
-%endif
-
-%if "%( grep -w hr <<< '%{TDE_LANGS}' )" != ""
-%files Croatian
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/hr/*
-%{tde_tdedocdir}/HTML/hr/
-%endif
-
-%if "%( grep -w hu <<< '%{TDE_LANGS}' )" != ""
-%files Hungarian
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/hu/*
-%{tde_tdedocdir}/HTML/hu/
-%endif
-
-%if "%( grep -w id <<< '%{TDE_LANGS}' )" != ""
-%files Indonesian
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/id/*
-%{tde_tdedocdir}/HTML/id/
-%endif
-
-%if "%( grep -w is <<< '%{TDE_LANGS}' )" != ""
-%files Icelandic
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/is/*
-%endif
-
-%if "%( grep -w it <<< '%{TDE_LANGS}' )" != ""
-%files Italian
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/it/*
-%{tde_tdedocdir}/HTML/it/
-%endif
-
-%if "%( grep -w ja <<< '%{TDE_LANGS}' )" != ""
-%files Japanese
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/ja/*
-%{tde_tdedocdir}/HTML/ja/
-%endif
-
-%if "%( grep -w ko <<< '%{TDE_LANGS}' )" != ""
-%files Korean
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/ko/*
-%{tde_tdedocdir}/HTML/ko/
-%endif
-
-%if "%( grep -w ku <<< '%{TDE_LANGS}' )" != ""
-%files Kurdish
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/ku/*
-%{tde_tdedocdir}/HTML/ku/
-%endif
-
-%if "%( grep -w lao <<< '%{TDE_LANGS}' )" != ""
-%files Lao
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/lo/*
-%{tde_tdedocdir}/HTML/lo/
-%endif
-
-%if "%( grep -w lt <<< '%{TDE_LANGS}' )" != ""
-%files Lithuanian
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/lt/*
-%endif
-
-%if "%( grep -w lv <<< '%{TDE_LANGS}' )" != ""
-%files Latvian
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/lv/*
-%endif
-
-%if "%( grep -w mi <<< '%{TDE_LANGS}' )" != ""
-%files Maori
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/mi/*
-%endif
-
-%if "%( grep -w mk <<< '%{TDE_LANGS}' )" != ""
-%files Macedonian
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/mk/*
-%endif
-
-%if "%( grep -w mt <<< '%{TDE_LANGS}' )" != ""
-%files Maltese
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/mt/*
-%endif
-
-%if "%( grep -w nl <<< '%{TDE_LANGS}' )" != ""
-%files Dutch
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/nl/*
-%{tde_tdedocdir}/HTML/nl/
-%endif
-
-%if "%( grep -w nb <<< '%{TDE_LANGS}' )" != ""
-%files Norwegian
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/nb/*
-#%{tde_tdedocdir}/HTML/nb/
-%endif
-
-%if "%( grep -w nn <<< '%{TDE_LANGS}' )" != ""
-%files Norwegian-Nynorsk
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/nn/*
-#%{tde_tdedocdir}/HTML/nn/
-%endif
-
-%if "%( grep -w oc <<< '%{TDE_LANGS}' )" != ""
-%files Occitan
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/oc/*
-%endif
-
-%if "%( grep -w pa <<< '%{TDE_LANGS}' )" != ""
-%files Punjabi
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/pa/*
-%endif
-
-%if "%( grep -w pl <<< '%{TDE_LANGS}' )" != ""
-%files Polish
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/pl/*
-%{tde_tdedocdir}/HTML/pl/
-%endif
-
-%if "%( grep -w pt <<< '%{TDE_LANGS}' )" != ""
-%files Portuguese
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/pt/*
-%{tde_tdedocdir}/HTML/pt/
-%endif
-
-%if "%( grep -w pt_BR <<< '%{TDE_LANGS}' )" != ""
-%files Brazil
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/pt_BR/*
-%{tde_tdedocdir}/HTML/pt_BR/
-%endif
-
-%if "%( grep -w ro <<< '%{TDE_LANGS}' )" != ""
-%files Romanian
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/ro/*
-%{tde_tdedocdir}/HTML/ro/
-%endif
-
-%if "%( grep -w ru <<< '%{TDE_LANGS}' )" != ""
-%files Russian
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/ru/*
-%{tde_tdedocdir}/HTML/ru/
-%endif
-
-%if "%( grep -w sk <<< '%{TDE_LANGS}' )" != ""
-%files Slovak
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/sk/*
-%{tde_tdedocdir}/HTML/sk/
-%endif
-
-%if "%( grep -w sl <<< '%{TDE_LANGS}' )" != ""
-%files Slovenian
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/sl/*
-%{tde_tdedocdir}/HTML/sl/
-%endif
-
-%if "%( grep -w sr <<< '%{TDE_LANGS}' )" != ""
-%files Serbian
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/sr/*
-%{tde_tdedocdir}/HTML/sr/
-%endif
-
-%if "%( grep -w sv <<< '%{TDE_LANGS}' )" != ""
-%files Swedish
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/sv/*
-%{tde_tdedocdir}/HTML/sv/
-%endif
-
-%if "%( grep -w ta <<< '%{TDE_LANGS}' )" != ""
-%files Tamil
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/ta/*
-%endif
-
-%if "%( grep -w tg <<< '%{TDE_LANGS}' )" != ""
-%files Tajik
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/tg/*
-%endif
-
-%if "%( grep -w th <<< '%{TDE_LANGS}' )" != ""
-%files Thai
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/th/*
-%endif
-
-%if "%( grep -w tr <<< '%{TDE_LANGS}' )" != ""
-%files Turkish
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/tr/*
-%{tde_tdedocdir}/HTML/tr/
-%endif
-
-%if "%( grep -w uk <<< '%{TDE_LANGS}' )" != ""
-%files Ukrainian
-%defattr(-,root,root,-)
-%{tde_tdedocdir}/HTML/uk/
-%{tde_datadir}/locale/uk/*
-%endif
-
-%if "%( grep -w ven <<< '%{TDE_LANGS}' )" != ""
-%files Venda
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/ven/*
-%endif
-
-%if "%( grep -w vi <<< '%{TDE_LANGS}' )" != ""
-%files Vietnamese
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/vi/*
-%endif
-
-%if "%( grep -w wa <<< '%{TDE_LANGS}' )" != ""
-%files Walloon
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/wa/*
-%endif
-
-%if "%( grep -w xh <<< '%{TDE_LANGS}' )" != ""
-%files Xhosa
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/xh/*
-%{tde_tdedocdir}/HTML/xh/
-%endif
-
-%if "%( grep -w zh_CN <<< '%{TDE_LANGS}' )" != ""
-%files Chinese
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/zh_CN/*
-%{tde_tdedocdir}/HTML/zh_CN/
-%endif
-
-%if "%( grep -w zh_TW <<< '%{TDE_LANGS}' )" != ""
-%files Chinese-Big5
-%defattr(-,root,root,-)
-%{tde_datadir}/locale/zh_TW/*
-%{tde_tdedocdir}/HTML/zh_TW/
-%endif
%changelog
* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 3.5.13.2-2
diff --git a/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec b/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec
index 09f3a68aa..f700d2b65 100644
--- a/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec
+++ b/redhat/main/tdeaccessibility/tdeaccessibility-14.0.0.spec
@@ -88,10 +88,11 @@ BuildRequires: brp-check-trinity
BuildRequires: audiofile-devel
# AKODE support
-%if 0%{?with_akode}
+%define with_akode 1
BuildRequires: trinity-akode-devel
-%{?with_mad:BuildRequires: trinity-akode-libmad}
-%endif
+
+%define with_mad 1
+%{?with_mad:BuildRequires: libakode_mpeg_decoder}
# ALSA support
BuildRequires: alsa-lib-devel
diff --git a/redhat/main/tdeaddons/tdeaddons-14.0.0.spec b/redhat/main/tdeaddons/tdeaddons-14.0.0.spec
index 3f0b192b2..a2a61abb4 100644
--- a/redhat/main/tdeaddons/tdeaddons-14.0.0.spec
+++ b/redhat/main/tdeaddons/tdeaddons-14.0.0.spec
@@ -66,6 +66,7 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Patch1: tdeaddons-14.0.1-fix_sdl_detection.patch
# Trinity dependencies
@@ -115,6 +116,9 @@ BuildRequires: gamin-devel
BuildRequires: pcre-devel
%endif
+# ACL support
+BuildRequires: libacl-devel
+
# DB4/DB5 support
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} >= 1220 || 0%{?mdkversion} || 0%{?mgaversion}
%define with_db 1
@@ -729,6 +733,7 @@ done
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+%patch1 -p1 -b .sdl
%build
diff --git a/redhat/main/tdeaddons/tdeaddons-14.0.1-fix_sdl_detection.patch b/redhat/main/tdeaddons/tdeaddons-14.0.1-fix_sdl_detection.patch
new file mode 100644
index 000000000..ca2fe2fcc
--- /dev/null
+++ b/redhat/main/tdeaddons/tdeaddons-14.0.1-fix_sdl_detection.patch
@@ -0,0 +1,18 @@
+diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
+index 1fedc9a..f3872b9 100644
+--- a/ConfigureChecks.cmake
++++ b/ConfigureChecks.cmake
+@@ -74,7 +74,12 @@ if( BUILD_NOATUN_PLUGINS )
+ if( WITH_SDL )
+ pkg_search_module( SDL sdl )
+ if( NOT SDL_FOUND )
+- tde_message_fatal( "SDL is requested, but was not found on your system" )
++ check_include_file( SDL/SDL.h HAVE_SDL_H )
++ if( NOT HAVE_SDL_H )
++ tde_message_fatal( "SDL is requested, but was not found on your system" )
++ endif ( )
++ set ( SDL_INCLUDE_DIRS /usr/include/SDL )
++ set ( SDL_LIBRARIES SDL pthread )
+ endif( )
+ endif( WITH_SDL )
+
diff --git a/redhat/main/tdeartwork/tdeartwork-14.0.0.spec b/redhat/main/tdeartwork/tdeartwork-14.0.0.spec
index 96bc2e86c..899dfdab3 100644
--- a/redhat/main/tdeartwork/tdeartwork-14.0.0.spec
+++ b/redhat/main/tdeartwork/tdeartwork-14.0.0.spec
@@ -81,6 +81,9 @@ BuildRequires: libidn-devel
# ESOUND support
BuildRequires: esound-devel
+# ACL support
+BuildRequires: libacl-devel
+
# MESA support
%if 0%{?rhel} || 0%{?fedora}
BuildRequires: mesa-libGL-devel
@@ -492,11 +495,36 @@ This package is part of Trinity, and a component of the TDE artwork module.
%{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop
%{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop
%{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop
%{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop
%{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop
%{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop
%{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop
+%endif
+%if 0%{?rhel} == 5
+%{tde_datadir}/applnk/System/ScreenSavers/bubbles.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/critical.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flag.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/forest.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glforestfire.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/hyperball.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/hypercube.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/juggle.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/laser.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lightning.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lisa.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lissie.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lmorph.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/mismunch.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/rotor.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/sphere.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/spiral.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/t3d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/vines.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/whirlygig.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/worm.desktop
+%endif
##########
diff --git a/redhat/main/tdebase/tdebase-14.0.0.spec b/redhat/main/tdebase/tdebase-14.0.0.spec
index 0b9314bd1..409761703 100644
--- a/redhat/main/tdebase/tdebase-14.0.0.spec
+++ b/redhat/main/tdebase/tdebase-14.0.0.spec
@@ -23,6 +23,7 @@
%define tde_pkg tdebase
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
@@ -325,7 +326,7 @@ BuildRequires: cyrus-sasl-devel
BuildRequires: pam-devel
# LIBUSB support
-%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos}
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos}
BuildRequires: %{_lib}usb1.0-devel
BuildRequires: %{_lib}usb-compat0.1-devel
%else
@@ -349,10 +350,14 @@ BuildRequires: gamin-devel
%endif
# OPENLDAP support
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: openldap-devel
+%endif
%if 0%{?suse_version}
BuildRequires: openldap2-devel
-%else
-BuildRequires: openldap-devel
+%endif
+%if 0%{?rhel} == 5
+BuildRequires: openldap24-libs-devel
%endif
# SENSORS support
@@ -371,6 +376,9 @@ BuildRequires: libudev-devel
%define with_tdehwlib 1
%endif
+# ACL support
+BuildRequires: libacl-devel
+
# XRANDR support
# On RHEL5, xrandr library is too old.
%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
@@ -570,7 +578,7 @@ BuildRequires: drakconf
# LIBCONFIG support
# Needed for "compton" stuff
%if 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora}
-%define with_compton 1
+%define with_libconfig 1
BuildRequires: libconfig-devel
%endif
@@ -1295,7 +1303,7 @@ TDE applications, particularly those in the TDE base module.
%if 0%{?with_tsak}
%{tde_bindir}/tsak
%endif
-%if 0%{?with_compton}
+%if 0%{?with_libconfig}
%{tde_bindir}/compton-tde
%endif
%{tde_bindir}/tdedebugdialog
@@ -2190,7 +2198,7 @@ already. Most users won't need this.
%dir %{tdm_datadir}/sessions
%{tdm_datadir}/sessions/*.desktop
%{tdm_datadir}/themes/
-%{tde_datadir}/config/%{tdm}
+%{tde_confdir}/%{tdm}
%dir %{_sysconfdir}/trinity/%{tdm}
%config(noreplace) %{_sysconfdir}/trinity/%{tdm}/*
%{tde_tdedocdir}/HTML/en/%{tdm}/
@@ -3524,7 +3532,7 @@ fi
%__sed -i "tdeioslave/media/tdecmodule/media.desktop" -e "s|^Icon=.*|Icon=kcmmedia|"
# RHEL 5 does not support 'compton'
-%if 0%{?with_compton} == 0
+%if 0%{?with_libconfig} == 0
%__sed -i "twin/CMakeLists.txt" -e "/compton-tde/ s/^/#/"
%endif
@@ -3540,6 +3548,11 @@ if [ -d "/usr/include/samba-4.0" ]; then
export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/include/samba-4.0"
fi
+# openldap 2.4 includes (CentOS 5)
+if [ -d "/usr/include/openldap24" ]; then
+ RPM_OPT_FLAGS="-I%{_includedir}/openldap24 -L%{_libdir}/openldap24 ${RPM_OPT_FLAGS}"
+fi
+
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
@@ -3556,6 +3569,7 @@ fi
-DWITH_GCC_VISIBILITY=ON \
\
-DBIN_INSTALL_DIR="%{tde_bindir}" \
+ -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
-DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \
-DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
@@ -3573,8 +3587,8 @@ fi
-DWITH_XFIXES=ON \
%{?!with_xrandr:-DWITH_XRANDR=OFF} \
-DWITH_XRENDER=ON \
- -DWITH_XDAMAGE=ON \
- -DWITH_XEXT=ON \
+ %{?!with_libconfig:-DWITH_LIBCONFIG=OFF} \
+ -DWITH_PCRE=ON \
%{?!with_xtest:-DWITH_XTEST=OFF} \
-DWITH_OPENGL=ON \
%{?!with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \
@@ -3582,6 +3596,7 @@ fi
-DWITH_LIBUSB=ON \
-DWITH_LIBRAW1394=ON \
-DWITH_SUDO_TDESU_BACKEND=OFF \
+ -DWITH_SUDO_KONSOLE_SUPER_USER_COMMAND=OFF \
-DWITH_PAM=ON \
-DWITH_SHADOW=OFF \
-DWITH_XDMCP=ON \
@@ -3591,8 +3606,8 @@ fi
-DWITH_SENSORS=ON \
%{?with_hal:-DWITH_HAL=ON} \
%{?!with_tdehwlib:-DWITH_TDEHWLIB=OFF} \
- -DWITH_ELFICON=OFF \
-DWITH_UPOWER=ON \
+ -DWITH_ELFICON=OFF \
\
-DBUILD_ALL=ON \
%if 0%{?suse_version}
@@ -3606,6 +3621,9 @@ fi
%endif
%{!?with_kbdledsync:-DBUILD_TDEKBDLEDSYNC=OFF} \
%{!?with_tsak:-DBUILD_TSAK=OFF} \
+%if 0%{?fedora} >= 22
+ -DHTDIG_SEARCH_BINARY="/usr/bin/htdig" \
+%endif
..
%__make %{?_smp_mflags} || %__make
@@ -3699,10 +3717,6 @@ fi
%__sed -i "s|kdm|tdm|g" "%{?buildroot}/usr/lib/systemd/system/tdm.service"
%endif
-# Symlink TDM configuration
-%__mkdir_p "%{?buildroot}%{tde_datadir}/config"
-%__ln_s "%{_sysconfdir}/trinity/%{tdm}" "%{?buildroot}%{tde_datadir}/config/%{tdm}"
-
# SELINUX policy for RHEL / Fedora
%if 0%{?with_selinux_policy}
%__install -D -m 644 "%{SOURCE8}" "%{?buildroot}%{?_sysconfdir}/trinity/%{tdm}/tdm.pp"
@@ -3768,8 +3782,8 @@ for i in {16,22}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i
for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/network.png hicolor/"$i"x"$i"/apps/kcmnetpref.png ;done
for i in {16,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/blockdevice.png hicolor/"$i"x"$i"/apps/kcmkdnssd.png ;done
for i in {16,22,32,48,64}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/input-joystick.png hicolor/"$i"x"$i"/apps/kcmjoystick.png ;done
-for i in {16,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/mouse.png hicolor/"$i"x"$i"/apps/kcmmouse.png ;done
-for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/system.png hicolor/"$i"x"$i"/apps/kcmmedia.png ;done
+for i in {16,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/input-mouse.png hicolor/"$i"x"$i"/apps/kcmmouse.png ;done
+for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/computer.png hicolor/"$i"x"$i"/apps/kcmmedia.png ;done
for i in {16,22,32}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/encrypted.png hicolor/"$i"x"$i"/apps/kcmcrypto.png ;done
for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/trashcan_empty.png hicolor/"$i"x"$i"/apps/kcmprivacy.png ;done
for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/network.png hicolor/"$i"x"$i"/apps/kcmnic.png ;done
diff --git a/redhat/main/tdebase/tdebase-14.0.1.spec b/redhat/main/tdebase/tdebase-14.0.1.spec
deleted file mode 100644
index 3bf85c619..000000000
--- a/redhat/main/tdebase/tdebase-14.0.1.spec
+++ /dev/null
@@ -1,3852 +0,0 @@
-#
-# spec file for package tdebase (version R14)
-#
-# Copyright (c) 2014 Trinity Desktop Environment
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-#
-# Please submit bugfixes or comments via http://www.trinitydesktop.org/
-#
-
-# TDE variables
-%define tde_epoch 2
-%if "%{?tde_version}" == ""
-%define tde_version 14.0.1
-%endif
-%define tde_pkg tdebase
-%define tde_prefix /opt/trinity
-%define tde_bindir %{tde_prefix}/bin
-%define tde_confdir %{_sysconfdir}/trinity
-%define tde_datadir %{tde_prefix}/share
-%define tde_docdir %{tde_datadir}/doc
-%define tde_includedir %{tde_prefix}/include
-%define tde_libdir %{tde_prefix}/%{_lib}
-%define tde_tdeappdir %{tde_datadir}/applications/tde
-%define tde_tdedocdir %{tde_docdir}/tde
-%define tde_tdeincludedir %{tde_includedir}/tde
-%define tde_tdelibdir %{tde_libdir}/trinity
-
-%define tdm tdm
-%define tdm_datadir %{tde_datadir}/apps/%{tdm}
-%define starttde starttde
-
-# 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
-
-
-Name: trinity-%{tde_pkg}
-Version: %{tde_version}
-Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
-Summary: Trinity Base Programs
-Group: System/GUI/Other
-URL: http://www.trinitydesktop.org/
-
-%if 0%{?suse_version}
-License: GPL-2.0+
-%else
-License: GPLv2+
-%endif
-
-#Vendor: Trinity Desktop
-#Packager: Francois Andriot <francois.andriot@free.fr>
-
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
-Source1: trinity-tdebase-rpmlintrc
-
-# Pam configuration files for RHEL / Fedora
-%if 0%{?suse_version} == 0
-Source2: pamd.kdm-trinity%{?dist}
-Source3: pamd.kdm-trinity-np%{?dist}
-Source4: pamd.kcheckpass-trinity%{?dist}
-Source5: pamd.kscreensaver-trinity%{?dist}
-%endif
-
-# openSUSE: configuration file for TDM
-Source6: suse-displaymanagers-tdm
-
-# Fedora 18: use SYSTEMD for TDM startup
-%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
-Source7: tdm.service%{?dist}
-%endif
-
-# openSUSE 11.4: overwrite distribution-provided '/etc/init.d/xdm' !!!
-%if 0%{?suse_version} == 1140
-Source7: xdm.oss114
-%endif
-
-# Fedora >= 17: special selinux policy required for TDM
-# If login through TDM takes ages, then look at '/var/log/audit/audit.log'.
-# Locate the line containing 'USER_AVC' and dbus stuff.
-# Put this line into a temporary file, then (e.g for Fedora 17):
-# audit2allow -i /tmp/file -m tdm.fc17 >tdm.fc17.te
-# audit2allow -i /tmp/file -M tdm.fc17
-
-%if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
-%define with_selinux_policy 1
-Source8: tdm%{?dist}.pp
-%endif
-
-%if 0%{?mgaversion} >= 3
-Source9: mgabutton.svg
-%endif
-
-Obsoletes: trinity-kdebase < %{version}-%{release}
-Provides: trinity-kdebase = %{version}-%{release}
-Obsoletes: trinity-kdebase-libs < %{version}-%{release}
-Provides: trinity-kdebase-libs = %{version}-%{release}
-Obsoletes: trinity-kdebase-extras < %{version}-%{release}
-Provides: trinity-kdebase-extras = %{version}-%{release}
-Obsoletes: tdebase < %{version}-%{release}
-Provides: tdebase = %{version}-%{release}
-
-# for set_permissions macro
-%if 0%{?suse_version}
-PreReq: permissions
-%endif
-
-# SUSE desktop files utility
-%if 0%{?suse_version}
-BuildRequires: update-desktop-files
-%endif
-
-%if 0%{?opensuse_bs} && 0%{?suse_version}
-# for xdg-menu script
-BuildRequires: brp-check-trinity
-%endif
-
-### Distribution-specific settings ###
-
-# Fedora 15 Theme: "Lovelock"
-%if 0%{?fedora} == 15
-Requires: lovelock-backgrounds-single
-%define tde_bg /usr/share/backgrounds/lovelock/default/standard/lovelock.png
-%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
-%endif
-
-# Fedora 16 Theme: "Verne"
-%if 0%{?fedora} == 16
-Requires: verne-backgrounds-single
-%define tde_bg /usr/share/backgrounds/verne/default/standard/verne.png
-%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
-%endif
-
-# Fedora 17 Theme: "Beefy Miracle"
-%if 0%{?fedora} == 17
-Requires: beefy-miracle-backgrounds-single
-%define tde_bg /usr/share/backgrounds/beefy-miracle/default/standard/beefy-miracle.png
-%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
-%endif
-
-# Fedora 18 Theme: "Spherical Cow"
-%if 0%{?fedora} == 18
-Requires: spherical-cow-backgrounds-single
-%define tde_bg /usr/share/backgrounds/spherical-cow/default/standard/spherical-cow.png
-Requires: fedora-logos
-%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
-%endif
-
-# Fedora 19 Theme: "Schroedinger's cat"
-%if 0%{?fedora} == 19
-Requires: schroedinger-cat-backgrounds-base
-%define tde_bg /usr/share/backgrounds/schroedinger-cat/default/standard/schroedinger-cat.jpg
-Requires: fedora-logos
-%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
-%endif
-
-# Fedora 20 Theme: "Heisenbug"
-%if 0%{?fedora} == 20
-Requires: heisenbug-backgrounds-base
-%define tde_bg /usr/share/backgrounds/heisenbug/default/standard/heisenbug.png
-Requires: fedora-logos
-%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
-%endif
-
-# Fedora 21 Theme
-%if 0%{?fedora} == 21
-Requires: f21-backgrounds-base
-%define tde_bg /usr/share/backgrounds/f21/default/standard/f21.png
-Requires: fedora-logos
-%define tde_starticon /usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png
-%endif
-
-# RHEL 4 Theme
-%if 0%{?rhel} == 4
-Requires: desktop-backgrounds-basic
-%define tde_bg /usr/share/backgrounds/images/default.png
-Requires: redhat-logos
-%define tde_starticon /usr/share/pixmaps/redhat/rpmlogo-64.xpm
-%endif
-
-# RHEL 5 Theme
-%if 0%{?rhel} == 5
-Requires: desktop-backgrounds-basic
-%define tde_bg /usr/share/backgrounds/images/default.jpg
-%define tde_starticon /usr/share/pixmaps/redhat-starthere.png
-%endif
-
-# RHEL 6 Theme
-%if 0%{?rhel} == 6
-Requires: redhat-logos
-%define tde_bg /usr/share/backgrounds/default.png
-%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png
-%endif
-
-# RHEL 7 Theme
-%if 0%{?rhel} == 7
-Requires: redhat-logos
-%define tde_bg /usr/share/backgrounds/day.jpg
-%define tde_starticon /usr/share/icons/hicolor/96x96/apps/system-logo-icon.png
-%endif
-
-# Mageia 2 Theme
-%if 0%{?mgaversion} == 2
-Requires: mageia-theme-Default
-%define tde_bg /usr/share/mga/backgrounds/default.jpg
-%define tde_starticon /usr/share/icons/hicolor/scalable/apps/mageia-menu.svg
-%endif
-
-# Mageia 3 Theme
-%if 0%{?mgaversion} == 3
-Requires: mageia-theme-Default
-%define tde_bg /usr/share/mga/backgrounds/default.jpg
-%define tde_starticon %{tde_datadir}/oxygen/scalable/mgabutton.svg
-%endif
-
-# Mageia 4 Theme
-%if 0%{?mgaversion} == 4
-Requires: mageia-theme-Default
-%define tde_bg /usr/share/mga/backgrounds/default.jpg
-%define tde_starticon %{tde_datadir}/oxygen/scalable/mgabutton.svg
-%endif
-
-# Mandriva 2011 Theme: "rosa"
-%if "%{distribution}" == "Mandriva Linux" && "%{?mdkversion}" == "201100"
-Requires: mandriva-theme
-%define tde_bg /usr/share/mdk/backgrounds/default.jpg
-%define tde_starticon /usr/share/icons/mandriva.png
-%endif
-
-# PCLINUXOS
-%if 0%{?pclinuxos}
-Requires: desktop-common-data
-%define tde_starticon /usr/share/icons/pclinuxos.png
-%endif
-
-# OpenSuse 11.4 Theme
-%if "%{?suse_version}" == "1140"
-Requires: hicolor-icon-theme-branding
-%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
-%endif
-
-# OpenSuse 12.2 Theme
-%if "%{?suse_version}" == "1220"
-Requires: wallpaper-branding = 12.2
-%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
-Requires: hicolor-icon-theme-branding
-%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
-%endif
-
-# OpenSuse 12.3 Theme
-%if "%{?suse_version}" == "1230"
-Requires: wallpaper-branding = 12.3
-%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
-Requires: hicolor-icon-theme-branding
-%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
-%endif
-
-# OpenSuse 13.1 Theme
-%if "%{?suse_version}" == "1310"
-Requires: wallpaper-branding = 13.1
-%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
-Requires: hicolor-icon-theme-branding
-%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
-%endif
-
-# OpenSuse 13.2 Theme
-%if "%{?suse_version}" == "1320"
-Requires: wallpaper-branding = 13.2
-%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
-Requires: hicolor-icon-theme-branding
-%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
-%endif
-
-BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
-BuildRequires: trinity-tdelibs-devel >= %{tde_version}
-
-BuildRequires: cmake >= 2.8
-BuildRequires: gcc-c++
-BuildRequires: make
-BuildRequires: fdupes
-
-# HTDIG support
-BuildRequires: htdig
-
-# OPENSSL support
-BuildRequires: openssl-devel
-
-# AUDIOFILE support
-BuildRequires: audiofile-devel
-
-# ALSA supportl
-BuildRequires: alsa-lib-devel
-
-# RAW1394 support
-BuildRequires: libraw1394-devel
-
-# VORBIS support
-BuildRequires: libvorbis-devel
-
-# GLIB2 support
-BuildRequires: glib2-devel
-
-# PCRE support
-BuildRequires: pcre-devel
-
-# SASL support
-%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos}
-BuildRequires: %{_lib}sasl2-devel
-%endif
-%if 0%{?suse_version}
-BuildRequires: cyrus-sasl-devel
-%endif
-
-# PAM support
-BuildRequires: pam-devel
-
-# LIBUSB support
-%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos}
-BuildRequires: %{_lib}usb1.0-devel
-BuildRequires: %{_lib}usb-compat0.1-devel
-%else
-BuildRequires: libusb-devel
-%endif
-
-# ESOUND support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
-%define with_esound 1
-BuildRequires: esound-devel
-%endif
-
-# IDN support
-BuildRequires: libidn-devel
-
-# GAMIN support
-# Not on openSUSE.
-%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
-%define with_gamin 1
-BuildRequires: gamin-devel
-%endif
-
-# OPENLDAP support
-%if 0%{?suse_version}
-BuildRequires: openldap2-devel
-%else
-BuildRequires: openldap-devel
-%endif
-
-# SENSORS support
-%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel}
-BuildRequires: lm_sensors-devel
-%endif
-%if 0%{?suse_version}
-BuildRequires: libsensors4-devel
-%endif
-
-# TSAK support (requires libudev-devel)
-# On RHEL5, udev is built statically, so TSAK cannot build.
-%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
-BuildRequires: libudev-devel
-%define with_tsak 1
-%define with_tdehwlib 1
-%endif
-
-# XRANDR support
-# On RHEL5, xrandr library is too old.
-%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
-%define with_xrandr 1
-%endif
-
-# XTEST support
-# On RHEL4, xtest library is too old.
-%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
-%define with_xtest 1
-%endif
-
-# HAL support
-# Only for RHEL5
-%if 0%{?rhel} == 5
-%define with_hal 1
-BuildRequires: hal-devel >= 0.5
-%endif
-
-# OPENEXR support
-# Disabled on RHEL4
-%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
-%define with_exr 1
-BuildRequires: OpenEXR-devel
-%endif
-
-# XSCREENSAVER support
-# RHEL 4: disabled
-# RHEL 6: available in EPEL
-# RHEL 7: available in NUX
-%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
-%define with_xscreensaver 1
-
-%if 0%{?fedora} || 0%{?rhel} >= 5
-BuildRequires: libXScrnSaver-devel
-BuildRequires: xscreensaver
-BuildRequires: xscreensaver-base
-BuildRequires: xscreensaver-extras
-%if 0%{?fedora}
-BuildRequires: xscreensaver-extras-base
-%endif
-BuildRequires: xscreensaver-gl-base
-BuildRequires: xscreensaver-gl-extras
-%endif
-
-%if 0%{?suse_version}
-BuildRequires: libXScrnSaver-devel
-BuildRequires: xscreensaver
-BuildRequires: xscreensaver-data
-BuildRequires: xscreensaver-data-extra
-%endif
-
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%if 0%{?mgaversion} >= 4
-BuildRequires: %{_lib}xscrnsaver-devel
-%else
-BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
-%endif
-BuildRequires: xscreensaver
-BuildRequires: xscreensaver-base
-BuildRequires: xscreensaver-extrusion
-BuildRequires: xscreensaver-gl
-%endif
-%endif
-
-# AVAHI support
-# Disabled on RHEL4 and RHEL5
-%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
-BuildRequires: libavahi-tqt-devel
-%endif
-
-# MESA support
-%if 0%{?rhel} || 0%{?fedora}
-BuildRequires: mesa-libGL-devel
-BuildRequires: mesa-libGLU-devel
-%endif
-%if 0%{?mdkversion} || 0%{?mgaversion}
-BuildRequires: mesaglu-devel
-%endif
-%if 0%{?suse_version}
-BuildRequires: Mesa-libGL-devel
-BuildRequires: Mesa-libGLU-devel
-%endif
-
-# DBUS support
-# TQT bindings not available for RHEL4
-%if 0%{?rhel} == 4
-# Dbus bindings were rebuilt with Qt support
-BuildRequires: dbus-devel >= 0.22-12.EL.9p1
-Requires: dbus-qt >= 0.22-12.EL.9p1
-%else
-BuildRequires: libdbus-tqt-1-devel >= %{tde_epoch}:0.63
-BuildRequires: libdbus-1-tqt-devel >= %{tde_epoch}:0.9
-Requires: libdbus-tqt-1-0 >= %{tde_epoch}:0.63
-%endif
-
-%if 0%{?fedora} >= 17
-BuildRequires: perl-Digest-MD5
-%endif
-
-# LIBART_LGPL support
-%define with_libart 1
-BuildRequires: libart_lgpl-devel
-
-# SAMBA support
-%if 0%{?rhel} == 4
-BuildRequires: samba-common
-%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
-BuildRequires: libsmbclient-devel
-%endif
-
-# IMAKE
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220
-BuildRequires: imake
-%endif
-
-# XKB support
-%if 0%{?suse_version} == 1140
-BuildRequires: xorg-x11-libxkbfile-devel
-%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1210
-BuildRequires: libxkbfile-devel
-%endif
-
-# XDMCP support
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%if 0%{?mgaversion} >= 4
-BuildRequires: %{_lib}xdmcp-devel
-%else
-BuildRequires: %{_lib}xdmcp%{?mgaversion:6}-devel
-%endif
-%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
-BuildRequires: libXdmcp-devel
-%endif
-
-# XTST support
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%if 0%{?mgaversion} >= 4
-%define xtst_devel %{_lib}xtst-devel
-%else
-%define xtst_devel %{_lib}xtst%{?mgaversion:6}-devel
-%endif
-%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
-%define xtst_devel libXtst-devel
-%endif
-%{?xtst_devel:BuildRequires: %{xtst_devel}}
-
-# XDAMAGE support
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}xdamage-devel
-%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
-BuildRequires: libXdamage-devel
-%endif
-
-# Requires 'usb.ids'
-BuildRequires: usbutils
-
-# LIBFONTENC support
-%if 0%{?suse_version} == 1140
-BuildRequires: xorg-x11-libfontenc-devel
-%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} >= 1220
-BuildRequires: libfontenc-devel
-%endif
-
-# Other X11 stuff ...
-%if 0%{?rhel} == 4
-BuildRequires: xorg-x11-devel
-%endif
-
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: x11-font-util
-BuildRequires: x11-proto-devel
-%endif
-
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
-BuildRequires: xorg-x11-proto-devel
-%endif
-
-%if 0%{?rhel} >= 5 || 0%{?fedora}
-BuildRequires: xorg-x11-font-utils
-%endif
-
-%if 0%{?suse_version} >= 1220
-BuildRequires: font-util
-BuildRequires: bdftopcf
-%endif
-
-%if 0%{?mdkversion} || 0%{?mgaversion}
-BuildRequires: drakconf
-%endif
-
-# LIBCONFIG support
-# Needed for "compton" stuff
-%if 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora}
-%define with_compton 1
-BuildRequires: libconfig-devel
-%endif
-
-# KBDLEDSYNC support
-%if 0%{?rhel} >= 6 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora}
-%define with_kbdledsync 1
-%endif
-
-# TDERANDR support
-%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
-%define with_tderandrtray 1
-%endif
-
-# tdebase is a metapackage that installs all sub-packages
-Requires: %{name}-runtime-data-common = %{version}-%{release}
-Requires: %{name}-data = %{version}-%{release}
-Requires: %{name}-bin = %{version}-%{release}
-Requires: %{name}-tdeio-plugins = %{version}-%{release}
-Requires: %{name}-tdeio-pim-plugins = %{version}-%{release}
-Requires: trinity-kappfinder = %{version}-%{release}
-Requires: trinity-kate = %{version}-%{release}
-Requires: trinity-kwrite = %{version}-%{release}
-Requires: trinity-kcontrol = %{version}-%{release}
-Requires: trinity-tdepasswd = %{version}-%{release}
-Requires: trinity-tdeprint = %{version}-%{release}
-Requires: trinity-kdesktop = %{version}-%{release}
-Requires: trinity-tdm = %{version}-%{release}
-Requires: trinity-kfind = %{version}-%{release}
-Requires: trinity-khelpcenter = %{version}-%{release}
-Requires: trinity-kicker = %{version}-%{release}
-Requires: trinity-klipper = %{version}-%{release}
-Requires: trinity-kmenuedit = %{version}-%{release}
-Requires: trinity-konqueror = %{version}-%{release}
-Requires: trinity-konqueror-nsplugins = %{version}-%{release}
-Requires: trinity-konsole = %{version}-%{release}
-Requires: trinity-kpager = %{version}-%{release}
-Requires: trinity-kpersonalizer = %{version}-%{release}
-Requires: trinity-ksmserver = %{version}-%{release}
-Requires: trinity-ksplash = %{version}-%{release}
-Requires: trinity-ksysguard = %{version}-%{release}
-Requires: trinity-ksysguardd = %{version}-%{release}
-Requires: trinity-ktip = %{version}-%{release}
-Requires: trinity-twin = %{version}-%{release}
-Requires: trinity-libkonq = %{version}-%{release}
-Requires: %{name}-libtqt3-integration = %{version}-%{release}
-Requires: %{name}-tdeio-smb-plugin = %{version}-%{release}
-
-Requires: trinity-arts >= %{tde_epoch}:1.5.10
-Requires: trinity-tdelibs >= %{tde_version}
-Requires: openssl
-
-
-# RHEL 6 Configuration files are provided in separate packages
-%if 0%{?rhel} || 0%{?fedora}
-Requires: redhat-menus
-%endif
-
-%if 0%{?suse_version}
-Requires: desktop-data-openSUSE
-%endif
-
-%description
-TDE (the Trinity Desktop Environment) is a powerful Open Source graphical
-desktop environment for Unix workstations. It combines ease of use,
-contemporary functionality, and outstanding graphical design with the
-technological superiority of the Unix operating system.
-
-This metapackage includes the nucleus of TDE, namely the minimal package
-set necessary to run TDE as a desktop environment. This includes the
-window manager, taskbar, control center, a text editor, file manager,
-web browser, X terminal emulator, and many other programs and components.
-
-%files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING COPYING-DOCS README README.pam
-%{tde_bindir}/release_notes
-%{tde_datadir}/autostart/release_notes.desktop
-%{tde_tdeappdir}/tdehtml_userinterface.desktop
-
-##########
-
-%package devel
-Summary: %{summary} - Development files
-Group: Development/Libraries/Other
-Requires: %{name} = %{version}-%{release}
-Requires: trinity-arts-devel >= %{tde_epoch}:1.5.10
-Requires: trinity-tdelibs-devel >= %{tde_version}
-
-Requires: %{name}-bin-devel = %{version}-%{release}
-Requires: trinity-kate-devel = %{version}-%{release}
-Requires: trinity-kcontrol-devel = %{version}-%{release}
-Requires: trinity-kdesktop-devel = %{version}-%{release}
-Requires: trinity-kicker-devel = %{version}-%{release}
-Requires: trinity-konqueror-devel = %{version}-%{release}
-Requires: trinity-ksplash-devel = %{version}-%{release}
-Requires: trinity-ksysguard-devel = %{version}-%{release}
-Requires: trinity-libkonq-devel = %{version}-%{release}
-Requires: trinity-tdm-devel = %{version}-%{release}
-Requires: trinity-twin-devel = %{version}-%{release}
-
-Provides: trinity-kdebase-devel = %{version}-%{release}
-Obsoletes: trinity-kdebase-devel < %{version}-%{release}
-Provides: tdebase-devel = %{version}-%{release}
-Obsoletes: tdebase-devel < %{version}-%{release}
-
-%description devel
-This is a meta-package that installs all tdebase development packages.
-
-Header files for developing applications using %{name}.
-Install tdebase-devel if you want to develop or compile Konqueror,
-Kate plugins or TWin styles.
-
-%files devel
-%defattr(-,root,root,-)
-%{tde_datadir}/cmake/*.cmake
-
-##########
-
-%package tdeio-pim-plugins
-Summary: PIM TDEIOslaves from %{name}
-Group: System/GUI/Other
-
-Provides: trinity-kdebase-pim-ioslaves = %{version}-%{release}
-Obsoletes: trinity-kdebase-pim-ioslaves < %{version}-%{release}
-Provides: tdebase-kio-pim-plugins = %{version}-%{release}
-Obsoletes: tdebase-kio-pim-plugins < %{version}-%{release}
-Provides: trinity-tdebase-kio-pim-plugins = %{version}-%{release}
-Obsoletes: trinity-tdebase-kio-pim-plugins < %{version}-%{release}
-
-%description tdeio-pim-plugins
-Protocol handlers (TDEIOslaves) for personal information management, including:
- * tdeio_ldap
- * tdeio_nntp
- * tdeio_pop3
- * tdeio_smtp
-
-%files tdeio-pim-plugins
-%defattr(-,root,root,-)
-%{tde_tdelibdir}/tdeio_ldap.la
-%{tde_tdelibdir}/tdeio_ldap.so
-%{tde_tdelibdir}/tdeio_nntp.la
-%{tde_tdelibdir}/tdeio_nntp.so
-%{tde_tdelibdir}/tdeio_pop3.la
-%{tde_tdelibdir}/tdeio_pop3.so
-%{tde_tdelibdir}/tdeio_smtp.la
-%{tde_tdelibdir}/tdeio_smtp.so
-%{tde_datadir}/services/ldap.protocol
-%{tde_datadir}/services/ldaps.protocol
-%{tde_datadir}/services/nntp.protocol
-%{tde_datadir}/services/nntps.protocol
-%{tde_datadir}/services/pop3.protocol
-%{tde_datadir}/services/pop3s.protocol
-%{tde_datadir}/services/smtp.protocol
-%{tde_datadir}/services/smtps.protocol
-
-##########
-
-%package runtime-data-common
-Summary: Shared common files for Trinity and KDE4
-Group: System/GUI/Other
-
-Provides: tdebase-runtime-data-common = %{version}-%{release}
-Obsoletes: tdebase-runtime-data-common < %{version}-%{release}
-
-%description runtime-data-common
-Shared common files for both Trinity and KDE4
-Such as the desktop right-click-"Create New" list
-
-%files runtime-data-common
-%defattr(-,root,root,-)
-%{tde_datadir}/autostart/khotkeys.desktop
-%{tde_datadir}/desktop-directories/
-%{tde_datadir}/icons/hicolor/*/apps/kxkb.png
-%{tde_datadir}/icons/hicolor/*/apps/knetattach.*
-%{tde_datadir}/icons/hicolor/*/apps/khotkeys.png
-%{tde_datadir}/icons/hicolor/*/apps/kmenuedit.png
-%{tde_datadir}/icons/hicolor/*/apps/ksplash.png
-%{tde_datadir}/locale/en_US/entry.desktop
-%{tde_datadir}/locale/l10n/*.desktop
-%{tde_datadir}/locale/l10n/*/entry.desktop
-%{tde_datadir}/locale/l10n/*/flag.png
-%{tde_datadir}/sounds/pop.wav
-%{tde_datadir}/templates/
-
-%post runtime-data-common
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-
-%postun runtime-data-common
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-
-##########
-
-%package -n trinity-kappfinder
-Summary: Non-TDE application finder for TDE
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-
-%description -n trinity-kappfinder
-kappfinder searches your workstation for many common applications and
-creates menu entries for them.
-
-%files -n trinity-kappfinder
-%defattr(-,root,root,-)
-%{tde_bindir}/kappfinder
-%{tde_tdeappdir}/kappfinder.desktop
-%{tde_datadir}/applnk/System/kappfinder.desktop
-%{tde_datadir}/apps/kappfinder
-%{tde_datadir}/icons/hicolor/*/apps/kappfinder.png
-
-%post -n trinity-kappfinder
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-
-%postun -n trinity-kappfinder
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-
-##########
-
-%package -n trinity-libkateinterfaces
-Summary: Common libraries used by kwrite and kate
-Group: System/GUI/Other
-
-%description -n trinity-libkateinterfaces
-This package contains the kateinterface library.
-
-%files -n trinity-libkateinterfaces
-%defattr(-,root,root,-)
-%{tde_libdir}/libkateinterfaces.so.*
-
-%post -n trinity-libkateinterfaces
-/sbin/ldconfig || :
-
-%postun -n trinity-libkateinterfaces
-/sbin/ldconfig || :
-
-##########
-
-%package -n trinity-kate
-Summary: Advanced text editor for TDE
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-Requires: trinity-kwrite = %{version}-%{release}
-Requires: trinity-libkateinterfaces = %{version}-%{release}
-
-%description -n trinity-kate
-Kate is a multi document editor, based on a rewritten version of the kwrite
-editing widget of TDE.
-
-It is a multi-view editor that lets you view several instances of the same
-document with all instances being synced, or view more files at the same
-time for easy reference or simultaneous editing. The terminal emulation
-and sidebar are docked windows that can be plugged out of the main window,
-or replaced therein according to your preference.
-
-Some random features:
-* Editing of big files
-* Extensible syntax highlighting
-* Folding
-* Dynamic word wrap
-* Selectable encoding
-* Filter command
-* Global grep dialog
-
-%files -n trinity-kate
-%defattr(-,root,root,-)
-%{tde_bindir}/kate
-%{tde_tdelibdir}/kate.la
-%{tde_tdelibdir}/kate.so
-%{tde_libdir}/libkateutils.so.*
-%{tde_libdir}/libtdeinit_kate.la
-%{tde_libdir}/libtdeinit_kate.so
-%{tde_tdeappdir}/kate.desktop
-%{tde_datadir}/apps/kate/
-%{tde_datadir}/apps/tdeconf_update/kate-2.4.upd
-%config(noreplace) %{_sysconfdir}/trinity/katerc
-%{tde_datadir}/icons/hicolor/*/apps/kate.png
-%{tde_datadir}/icons/hicolor/*/apps/kate2.svgz
-%{tde_datadir}/servicetypes/kateplugin.desktop
-%{tde_tdedocdir}/HTML/en/kate/
-
-%post -n trinity-kate
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-/sbin/ldconfig || :
-
-%postun -n trinity-kate
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-/sbin/ldconfig || :
-
-##########
-
-%package -n trinity-kate-devel
-Summary: Development files for kate
-Group: Development/Libraries/Other
-Requires: trinity-kate = %{version}-%{release}
-
-%description -n trinity-kate-devel
-This package contains the development files fare Kate.
-
-%files -n trinity-kate-devel
-%defattr(-,root,root,-)
-%{tde_tdeincludedir}/kate/
-%{tde_libdir}/libkateutils.so
-%{tde_libdir}/libkateutils.la
-%{tde_libdir}/libkateinterfaces.so
-%{tde_libdir}/libkateinterfaces.la
-
-%post -n trinity-kate-devel
-/sbin/ldconfig || :
-
-%postun -n trinity-kate-devel
-/sbin/ldconfig || :
-
-##########
-
-%package -n trinity-kwrite
-Summary: Advanced text editor for TDE
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-Requires: trinity-libkateinterfaces = %{version}-%{release}
-
-%description -n trinity-kwrite
-Kwrite is an advanced text editor for TDE.
-
-%files -n trinity-kwrite
-%defattr(-,root,root,-)
-%{tde_bindir}/kwrite
-%{tde_tdelibdir}/kwrite.la
-%{tde_tdelibdir}/kwrite.so
-%{tde_libdir}/libtdeinit_kwrite.la
-%{tde_libdir}/libtdeinit_kwrite.so
-%{tde_tdeappdir}/kwrite.desktop
-%{tde_datadir}/apps/kwrite/
-%{tde_datadir}/icons/hicolor/*/apps/kwrite.png
-%{tde_datadir}/icons/hicolor/*/apps/kwrite2.svgz
-%{tde_tdedocdir}/HTML/en/kwrite/
-
-
-%post -n trinity-kwrite
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-
-%postun -n trinity-kwrite
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-
-##########
-
-%package -n trinity-kcontrol
-Summary: Control center for TDE
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-
-# Requires 'usb.ids'
-Requires: usbutils
-BuildRequires: usbutils
-%if 0%{?suse_version} == 0
-BuildRequires: hwdata
-Requires: hwdata
-%endif
-
-%description -n trinity-kcontrol
-The Trinity Control Center provides you with a centralized and convenient
-way to configure all of your TDE settings.
-
-It is made up of multiple modules. Each module is a separate application,
-but the control center organizes all of these programs into a convenient
-location.
-
-In combination with udev KControl supports the advanced
-configuration of Logitech mice, though the user must be a member of the
-plugdev group.
-
-%files -n trinity-kcontrol
-%defattr(-,root,root,-)
-%{tde_bindir}/kaccess
-%{tde_bindir}/kcontrol
-%{tde_bindir}/kdeinstallktheme
-%{tde_bindir}/keditfiletype
-%{tde_bindir}/tdefontinst
-%{tde_bindir}/tdefontview
-%{tde_bindir}/klocaldomainurifilterhelper
-%{tde_bindir}/krdb
-%{tde_tdelibdir}/fontthumbnail.la
-%{tde_tdelibdir}/fontthumbnail.so
-%{tde_tdelibdir}/kaccess.la
-%{tde_tdelibdir}/kaccess.so
-%{tde_tdelibdir}/kcm_access.la
-%{tde_tdelibdir}/kcm_access.so
-%{tde_tdelibdir}/kcm_arts.la
-%{tde_tdelibdir}/kcm_arts.so
-%{tde_tdelibdir}/kcm_background.la
-%{tde_tdelibdir}/kcm_background.so
-%{tde_tdelibdir}/kcm_bell.la
-%{tde_tdelibdir}/kcm_bell.so
-%{tde_tdelibdir}/kcm_clock.la
-%{tde_tdelibdir}/kcm_clock.so
-%{tde_tdelibdir}/kcm_colors.la
-%{tde_tdelibdir}/kcm_colors.so
-%{tde_tdelibdir}/kcm_componentchooser.la
-%{tde_tdelibdir}/kcm_componentchooser.so
-%{tde_tdelibdir}/kcm_crypto.la
-%{tde_tdelibdir}/kcm_crypto.so
-%{tde_tdelibdir}/kcm_css.la
-%{tde_tdelibdir}/kcm_css.so
-%{tde_tdelibdir}/kcm_display.la
-%{tde_tdelibdir}/kcm_display.so
-%{tde_tdelibdir}/kcm_energy.la
-%{tde_tdelibdir}/kcm_energy.so
-%{tde_tdelibdir}/kcm_filetypes.la
-%{tde_tdelibdir}/kcm_filetypes.so
-%{tde_tdelibdir}/kcm_fontinst.la
-%{tde_tdelibdir}/kcm_fontinst.so
-%{tde_tdelibdir}/kcm_fonts.la
-%{tde_tdelibdir}/kcm_fonts.so
-%if 0%{?with_tdehwlib}
-%{tde_tdelibdir}/kcm_hwmanager.la
-%{tde_tdelibdir}/kcm_hwmanager.so
-%endif
-%{tde_tdelibdir}/kcm_icons.la
-%{tde_tdelibdir}/kcm_icons.so
-%{tde_tdelibdir}/kcm_info.la
-%{tde_tdelibdir}/kcm_info.so
-%{tde_tdelibdir}/kcm_input.la
-%{tde_tdelibdir}/kcm_input.so
-%{tde_tdelibdir}/kcm_joystick.la
-%{tde_tdelibdir}/kcm_joystick.so
-%{tde_tdelibdir}/kcm_kded.la
-%{tde_tdelibdir}/kcm_kded.so
-%{tde_tdelibdir}/kcm_%{tdm}.la
-%{tde_tdelibdir}/kcm_%{tdm}.so
-%{tde_tdelibdir}/kcm_tdednssd.so
-%{tde_tdelibdir}/kcm_tdednssd.la
-%{tde_tdelibdir}/kcm_keys.la
-%{tde_tdelibdir}/kcm_keys.so
-%{tde_tdelibdir}/kcm_kicker.la
-%{tde_tdelibdir}/kcm_kicker.so
-%{tde_tdelibdir}/kcm_tdeio.la
-%{tde_tdelibdir}/kcm_tdeio.so
-%{tde_tdelibdir}/kcm_knotify.la
-%{tde_tdelibdir}/kcm_knotify.so
-%{tde_tdelibdir}/kcm_konqhtml.la
-%{tde_tdelibdir}/kcm_konqhtml.so
-%{tde_tdelibdir}/kcm_konq.la
-%{tde_tdelibdir}/kcm_konq.so
-%{tde_tdelibdir}/kcm_kthememanager.la
-%{tde_tdelibdir}/kcm_kthememanager.so
-%{tde_tdelibdir}/kcm_kurifilt.la
-%{tde_tdelibdir}/kcm_kurifilt.so
-%{tde_tdelibdir}/kcm_launch.la
-%{tde_tdelibdir}/kcm_launch.so
-%{tde_tdelibdir}/kcm_locale.la
-%{tde_tdelibdir}/kcm_locale.so
-%{tde_tdelibdir}/kcm_nic.la
-%{tde_tdelibdir}/kcm_nic.so
-%{tde_tdelibdir}/kcm_performance.la
-%{tde_tdelibdir}/kcm_performance.so
-%{tde_tdelibdir}/kcm_privacy.la
-%{tde_tdelibdir}/kcm_privacy.so
-%{tde_tdelibdir}/kcm_screensaver.la
-%{tde_tdelibdir}/kcm_screensaver.so
-%{tde_tdelibdir}/kcm_smserver.la
-%{tde_tdelibdir}/kcm_smserver.so
-%{tde_tdelibdir}/kcm_spellchecking.la
-%{tde_tdelibdir}/kcm_spellchecking.so
-%{tde_tdelibdir}/kcm_style.la
-%{tde_tdelibdir}/kcm_style.so
-%{tde_tdelibdir}/kcm_taskbar.la
-%{tde_tdelibdir}/kcm_taskbar.so
-%{tde_tdelibdir}/kcm_usb.la
-%{tde_tdelibdir}/kcm_usb.so
-%{tde_tdelibdir}/kcm_view1394.la
-%{tde_tdelibdir}/kcm_view1394.so
-%{tde_tdelibdir}/kcm_xinerama.la
-%{tde_tdelibdir}/kcm_xinerama.so
-%{tde_tdelibdir}/kcontrol.la
-%{tde_tdelibdir}/kcontrol.so
-%{tde_tdelibdir}/tdefile_font.la
-%{tde_tdelibdir}/tdefile_font.so
-%{tde_tdelibdir}/tdeio_fonts.la
-%{tde_tdelibdir}/tdeio_fonts.so
-%{tde_tdelibdir}/tdestyle_keramik_config.la
-%{tde_tdelibdir}/tdestyle_keramik_config.so
-%{tde_tdelibdir}/libtdefontviewpart.la
-%{tde_tdelibdir}/libtdefontviewpart.so
-%{tde_tdelibdir}/libtdeshorturifilter.la
-%{tde_tdelibdir}/libtdeshorturifilter.so
-%{tde_tdelibdir}/libkuriikwsfilter.la
-%{tde_tdelibdir}/libkuriikwsfilter.so
-%{tde_tdelibdir}/libkurisearchfilter.la
-%{tde_tdelibdir}/libkurisearchfilter.so
-%{tde_tdelibdir}/liblocaldomainurifilter.la
-%{tde_tdelibdir}/liblocaldomainurifilter.so
-%{tde_libdir}/libtdeinit_kaccess.la
-%{tde_libdir}/libtdeinit_kaccess.so
-%{tde_libdir}/libtdeinit_kcontrol.la
-%{tde_libdir}/libtdeinit_kcontrol.so
-%{tde_libdir}/libtdefontinst.so.*
-%{tde_tdeappdir}/arts.desktop
-%{tde_tdeappdir}/background.desktop
-%{tde_tdeappdir}/bell.desktop
-%{tde_tdeappdir}/cache.desktop
-%{tde_tdeappdir}/cdinfo.desktop
-%{tde_tdeappdir}/clock.desktop
-%{tde_tdeappdir}/colors.desktop
-%{tde_tdeappdir}/componentchooser.desktop
-%{tde_tdeappdir}/cookies.desktop
-%{tde_tdeappdir}/crypto.desktop
-%{tde_tdeappdir}/desktopbehavior.desktop
-%{tde_tdeappdir}/desktop.desktop
-%{tde_tdeappdir}/desktoppath.desktop
-%{tde_tdeappdir}/devices.desktop
-%{tde_tdeappdir}/display.desktop
-%{tde_tdeappdir}/dma.desktop
-%{tde_tdeappdir}/ebrowsing.desktop
-%{tde_tdeappdir}/filebrowser.desktop
-%{tde_tdeappdir}/filetypes.desktop
-%{tde_tdeappdir}/fonts.desktop
-%if 0%{?with_tdehwlib}
-%{tde_tdeappdir}/hwmanager.desktop
-%endif
-%{tde_tdeappdir}/icons.desktop
-%{tde_tdeappdir}/installktheme.desktop
-%{tde_tdeappdir}/interrupts.desktop
-%{tde_tdeappdir}/ioports.desktop
-%{tde_tdeappdir}/joystick.desktop
-%{tde_tdeappdir}/kcm_tdednssd.desktop
-%{tde_tdeappdir}/kcmaccess.desktop
-%{tde_tdeappdir}/kcmcss.desktop
-%{tde_tdeappdir}/kcmfontinst.desktop
-%{tde_tdeappdir}/kcmkded.desktop
-%{tde_tdeappdir}/kcmlaunch.desktop
-%{tde_tdeappdir}/kcmnotify.desktop
-%{tde_tdeappdir}/kcmperformance.desktop
-%{tde_tdeappdir}/kcmsmserver.desktop
-%{tde_tdeappdir}/kcmtaskbar.desktop
-%{tde_tdeappdir}/kcmusb.desktop
-%{tde_tdeappdir}/kcmview1394.desktop
-%{tde_tdeappdir}/KControl.desktop
-%{tde_tdeappdir}/%{tdm}.desktop
-%{tde_tdeappdir}/keys.desktop
-%{tde_tdeappdir}/tdefontview.desktop
-%{tde_tdeappdir}/tdehtml_behavior.desktop
-%{tde_tdeappdir}/tdehtml_fonts.desktop
-%{tde_tdeappdir}/tdehtml_java_js.desktop
-%{tde_tdeappdir}/kthememanager.desktop
-%{tde_tdeappdir}/lanbrowser.desktop
-%{tde_tdeappdir}/language.desktop
-%{tde_tdeappdir}/media.desktop
-%{tde_tdeappdir}/memory.desktop
-%{tde_tdeappdir}/mouse.desktop
-%{tde_tdeappdir}/netpref.desktop
-%{tde_tdeappdir}/nic.desktop
-%{tde_tdeappdir}/opengl.desktop
-%{tde_tdeappdir}/panel_appearance.desktop
-%{tde_tdeappdir}/panel.desktop
-%{tde_tdeappdir}/partitions.desktop
-%{tde_tdeappdir}/pci.desktop
-%{tde_tdeappdir}/privacy.desktop
-%{tde_tdeappdir}/processor.desktop
-%{tde_tdeappdir}/proxy.desktop
-%{tde_tdeappdir}/screensaver.desktop
-%{tde_tdeappdir}/scsi.desktop
-%{tde_tdeappdir}/smbstatus.desktop
-%{tde_tdeappdir}/sound.desktop
-%{tde_tdeappdir}/spellchecking.desktop
-%{tde_tdeappdir}/style.desktop
-%{tde_tdeappdir}/tde-kcontrol.desktop
-%{tde_tdeappdir}/useragent.desktop
-%{tde_tdeappdir}/xserver.desktop
-%{tde_datadir}/applnk/.hidden/energy.desktop
-%{tde_datadir}/applnk/.hidden/fileappearance.desktop
-%{tde_datadir}/applnk/.hidden/filebehavior.desktop
-%{tde_datadir}/applnk/.hidden/filepreviews.desktop
-%{tde_datadir}/applnk/.hidden/kcmkonqyperformance.desktop
-%{tde_datadir}/applnk/.hidden/kicker_config_appearance.desktop
-%{tde_datadir}/applnk/.hidden/kicker_config.desktop
-%{tde_datadir}/applnk/.hidden/smb.desktop
-%{tde_datadir}/applnk/.hidden/xinerama.desktop
-%{tde_datadir}/applnk/Settings/LookNFeel/
-%{tde_datadir}/applnk/Settings/WebBrowsing/tdehtml_appearance.desktop
-%{tde_datadir}/applnk/Settings/WebBrowsing/nsplugin.desktop
-%{tde_datadir}/applnk/Settings/WebBrowsing/smb.desktop
-%{tde_datadir}/apps/kcm_componentchooser/kcm_browser.desktop
-%{tde_datadir}/apps/kcm_componentchooser/kcm_kemail.desktop
-%{tde_datadir}/apps/kcm_componentchooser/kcm_terminal.desktop
-%{tde_datadir}/apps/kcmview1394/
-%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop
-%{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop
-%{tde_datadir}/apps/usb.ids
-%{tde_datadir}/mimelnk/application/x-ktheme.desktop
-%{tde_datadir}/mimelnk/fonts/folder.desktop
-%{tde_datadir}/mimelnk/fonts/package.desktop
-%{tde_datadir}/mimelnk/fonts/system-folder.desktop
-%{tde_datadir}/services/fonts.protocol
-%{tde_datadir}/services/fontthumbnail.desktop
-%{tde_datadir}/services/kaccess.desktop
-%{tde_datadir}/services/tdefile_font.desktop
-%{tde_datadir}/services/tdefontviewpart.desktop
-%{tde_datadir}/services/tdeshorturifilter.desktop
-%{tde_datadir}/services/kuriikwsfilter.desktop
-%{tde_datadir}/services/kurisearchfilter.desktop
-%{tde_datadir}/services/localdomainurifilter.desktop
-%{tde_datadir}/icons/hicolor/*/apps/kcmcolors.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmcomponentchooser.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmdesktop.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmdesktopbehavior.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmkdnssd.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmlaunch.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmmedia.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmmouse.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmnetpref.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmnic.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmperformance.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmprivacy.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmtaskbar.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmcgi.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmcrypto.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmhistory.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmjoystick.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmkded.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmkhtml_filter.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmsmserver.png
-%{tde_datadir}/icons/hicolor/*/apps/kcmspellchecking.png
-%{tde_tdedocdir}/HTML/en/tdefontview/
-
-# The following features are not compiled under RHEL 5 and older
-%if 0%{?with_tderandrtray}
-%{tde_bindir}/tderandrtray
-%{tde_tdelibdir}/kcm_displayconfig.la
-%{tde_tdelibdir}/kcm_displayconfig.so
-%{tde_tdelibdir}/kcm_iccconfig.la
-%{tde_tdelibdir}/kcm_iccconfig.so
-%{tde_tdelibdir}/kcm_randr.la
-%{tde_tdelibdir}/kcm_randr.so
-%{tde_tdeappdir}/displayconfig.desktop
-%{tde_tdeappdir}/iccconfig.desktop
-%{tde_tdeappdir}/tderandrtray.desktop
-%{tde_datadir}/applnk/.hidden/randr.desktop
-%{tde_datadir}/autostart/tderandrtray-autostart.desktop
-%{tde_tdedocdir}/HTML/en/tderandrtray/
-%endif
-
-%post -n trinity-kcontrol
-/sbin/ldconfig || :
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-
-%postun -n trinity-kcontrol
-/sbin/ldconfig || :
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-
-##########
-
-%package -n trinity-kcontrol-devel
-Summary: Development files for kcontrol
-Group: Development/Libraries/Other
-Requires: trinity-kcontrol = %{version}-%{release}
-
-%description -n trinity-kcontrol-devel
-%{summary}.
-
-%files -n trinity-kcontrol-devel
-%defattr(-,root,root,-)
-%{tde_libdir}/libtdefontinst.la
-%{tde_libdir}/libtdefontinst.so
-
-%post -n trinity-kcontrol-devel
-/sbin/ldconfig || :
-
-%postun -n trinity-kcontrol-devel
-/sbin/ldconfig || :
-
-##########
-
-%package bin
-Summary: Core binaries for the TDE base module
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-Requires: pam
-%if 0%{?rhel} >= 7
-Requires: xorg-x11-server-Xorg
-Requires: xorg-x11-drv-evdev
-Requires: dejavu-sans-fonts
-%endif
-
-Provides: tdebase-bin = %{version}-%{release}
-Obsoletes: tdebase-bin < %{version}-%{release}
-
-%description bin
-This package contains miscellaneous programs needed by other
-TDE applications, particularly those in the TDE base module.
-
-%files bin
-%defattr(-,root,root,-)
-%{tde_bindir}/krootbacking
-%if 0%{?with_tsak}
-%{tde_bindir}/tsak
-%endif
-%if 0%{?with_compton}
-%{tde_bindir}/compton-tde
-%endif
-%{tde_bindir}/tdedebugdialog
-%{tde_bindir}/kreadconfig
-%{tde_bindir}/kwriteconfig
-%{tde_bindir}/kstart
-%config(noreplace) %{_sysconfdir}/trinity/kxkb_groups
-%{tde_bindir}/drkonqi
-%{tde_bindir}/crashtest
-%{tde_bindir}/kapplymousetheme
-%{tde_bindir}/kblankscrn.kss
-%{tde_bindir}/kcminit
-%{tde_bindir}/kcminit_startup
-%{tde_bindir}/kdcop
-%{tde_bindir}/tdesu
-%attr(0755,root,root) %{tde_bindir}/tdesud
-%{tde_bindir}/kdialog
-%{tde_bindir}/khotkeys
-%{tde_bindir}/knetattach
-%{tde_bindir}/krandom.kss
-%{tde_bindir}/ksystraycmd
-%{tde_bindir}/kxkb
-%dir %{tde_libdir}/tdeconf_update_bin
-%{tde_libdir}/tdeconf_update_bin/khotkeys_update
-%{tde_tdelibdir}/kcminit.la
-%{tde_tdelibdir}/kcminit.so
-%{tde_tdelibdir}/kcminit_startup.la
-%{tde_tdelibdir}/kcminit_startup.so
-%{tde_tdelibdir}/kcm_keyboard.la
-%{tde_tdelibdir}/kcm_keyboard.so
-%{tde_tdelibdir}/kcm_khotkeys_init.la
-%{tde_tdelibdir}/kcm_khotkeys_init.so
-%{tde_tdelibdir}/kcm_khotkeys.la
-%{tde_tdelibdir}/kcm_khotkeys.so
-%{tde_tdelibdir}/kded_khotkeys.la
-%{tde_tdelibdir}/kded_khotkeys.so
-%{tde_tdelibdir}/kgreet_classic.la
-%{tde_tdelibdir}/kgreet_classic.so
-%{tde_tdelibdir}/kgreet_winbind.la
-%{tde_tdelibdir}/kgreet_winbind.so
-%{tde_tdelibdir}/khotkeys.la
-%{tde_tdelibdir}/khotkeys.so
-%{tde_tdelibdir}/khotkeys_arts.la
-%{tde_tdelibdir}/khotkeys_arts.so
-%{tde_tdelibdir}/kxkb.la
-%{tde_tdelibdir}/kxkb.so
-%{tde_libdir}/libtdeinit_kcminit.la
-%{tde_libdir}/libtdeinit_kcminit.so
-%{tde_libdir}/libtdeinit_kcminit_startup.la
-%{tde_libdir}/libtdeinit_kcminit_startup.so
-%{tde_libdir}/libtdeinit_khotkeys.la
-%{tde_libdir}/libtdeinit_khotkeys.so
-%{tde_libdir}/libtdeinit_kxkb.la
-%{tde_libdir}/libtdeinit_kxkb.so
-%{tde_libdir}/libkhotkeys_shared.so.*
-%{tde_tdeappdir}/keyboard.desktop
-%{tde_tdeappdir}/keyboard_layout.desktop
-%{tde_tdeappdir}/khotkeys.desktop
-%{tde_tdeappdir}/knetattach.desktop
-%{tde_datadir}/applnk/System/ScreenSavers/
-%{tde_datadir}/apps/drkonqi/
-%{tde_datadir}/apps/tdeconf_update/khotkeys_32b1_update.upd
-%{tde_datadir}/apps/tdeconf_update/khotkeys_printscreen.upd
-%{tde_datadir}/apps/tdeconf_update/konqueror_gestures_trinity21_update.upd
-%{tde_datadir}/apps/kdcop/
-%{tde_datadir}/apps/khotkeys/
-%{tde_datadir}/services/kded/khotkeys.desktop
-%{tde_datadir}/services/kxkb.desktop
-%if 0%{?suse_version} == 0
-%config(noreplace) %{_sysconfdir}/pam.d/kcheckpass-trinity
-%config(noreplace) %{_sysconfdir}/pam.d/tdescreensaver-trinity
-%endif
-%{tde_tdedocdir}/HTML/en/kdcop/
-%{tde_tdedocdir}/HTML/en/tdedebugdialog//
-%{tde_tdedocdir}/HTML/en/tdesu/
-%{tde_tdedocdir}/HTML/en/knetattach/
-%{tde_tdedocdir}/HTML/en/kxkb/
-
-# SETUID binaries
-# Some setuid binaries need special care
-%if 0%{?suse_version}
-%{?with_tsak:%verify(not mode) %{tde_bindir}/%{tdm}tsak}
-%verify(not mode) %{tde_bindir}/kcheckpass
-%{?with_kbdledsync:%verify(not mode) %{tde_bindir}/tdekbdledsync}
-%else
-%{?with_tsak:%attr(4511,root,root) %{tde_bindir}/%{tdm}tsak}
-%attr(4755,root,root) %{tde_bindir}/kcheckpass
-%{?with_kbdledsync:%attr(4755,root,root) %{tde_bindir}/tdekbdledsync}
-%endif
-
-# SUSE's runupdater utility
-%if 0
-%{tde_bindir}/runupdater
-%{tde_libdir}/libtdeinit_runupdater.la
-%{tde_libdir}/libtdeinit_runupdater.so
-%{tde_tdelibdir}/runupdater.la
-%{tde_tdelibdir}/runupdater.so
-%{tde_datadir}/apps/autostart/runupdater.desktop
-%endif
-
-%post bin
-/sbin/ldconfig || :
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-# Sets permissions on setuid files (openSUSE specific)
-%if 0%{?suse_version}
-%{?with_tsak:%set_permissions %{tde_bindir}/%{tdm}tsak}
-%set_permissions %{tde_bindir}/kcheckpass
-%{?with_kbdledsync:%set_permissions %{tde_bindir}/tdekbdledsync}
-%endif
-
-%postun bin
-/sbin/ldconfig || :
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-
-##########
-
-%package bin-devel
-Summary: Development files for core binaries for the TDE base module
-Group: Development/Libraries/Other
-Requires: %{name}-bin = %{version}-%{release}
-%{?xtst_devel:Requires: %{xtst_devel}}
-
-Obsoletes: tdebase-bin-devel < %{version}-%{release}
-Provides: tdebase-bin-devel = %{version}-%{release}
-
-%description bin-devel
-This package contains the development files for core binaries for
-the TDE base module
-
-%files bin-devel
-%defattr(-,root,root,-)
-%{tde_libdir}/libkhotkeys_shared.la
-%{tde_libdir}/libkhotkeys_shared.so
-
-%post bin-devel
-/sbin/ldconfig || :
-
-%postun bin-devel
-/sbin/ldconfig || :
-
-##########
-
-%package data
-Summary: Shared data files for the TDE base module
-Group: System/GUI/Other
-Requires: %{name}-runtime-data-common = %{version}-%{release}
-
-Obsoletes: tdebase-data < %{version}-%{release}
-Provides: tdebase-data = %{version}-%{release}
-
-%description data
-This package contains the architecture-independent shared data files
-needed for a basic TDE desktop installation.
-
-%files data
-%defattr(-,root,root,-)
-%config(noreplace) %{_sysconfdir}/trinity/tdeshorturifilterrc
-%{tde_datadir}/applnk/.hidden/battery.desktop
-%{tde_datadir}/applnk/.hidden/bwarning.desktop
-%{tde_datadir}/applnk/.hidden/cwarning.desktop
-%{tde_datadir}/applnk/.hidden/.directory
-%{tde_datadir}/applnk/.hidden/email.desktop
-%{tde_datadir}/applnk/.hidden/kcmkonq.desktop
-%{tde_datadir}/applnk/.hidden/kcmkxmlrpcd.desktop
-%{tde_datadir}/applnk/.hidden/konqhtml.desktop
-%{tde_datadir}/applnk/.hidden/passwords.desktop
-%{tde_datadir}/applnk/.hidden/power.desktop
-%{tde_datadir}/applnk/.hidden/socks.desktop
-%{tde_datadir}/applnk/.hidden/userinfo.desktop
-%{tde_datadir}/applnk/.hidden/virtualdesktops.desktop
-%{tde_datadir}/apps/kaccess/
-%{tde_datadir}/apps/kcmcss/
-%{tde_datadir}/apps/kcminput/
-%{tde_datadir}/apps/kcmkeys/
-%{tde_datadir}/apps/kcmlocale/
-%{tde_datadir}/apps/tdeconf_update/convertShortcuts.pl
-%{tde_datadir}/apps/tdeconf_update/tdeaccel.upd
-%{tde_datadir}/apps/tdeconf_update/kcmdisplayrc.upd
-%{tde_datadir}/apps/tdeconf_update/kuriikwsfilter.upd
-%{tde_datadir}/apps/tdeconf_update/mouse_cursor_theme.upd
-%{tde_datadir}/apps/tdeconf_update/socks.upd
-%{tde_datadir}/apps/kcontrol/
-%{tde_datadir}/apps/tdedisplay/
-%{tde_datadir}/apps/tdefontview/
-%{tde_datadir}/apps/kthememanager/
-%{tde_datadir}/icons/crystalsvg/*/apps/access.png
-%{tde_datadir}/icons/crystalsvg/*/apps/acroread.png
-%{tde_datadir}/icons/crystalsvg/*/apps/applixware.png
-%{tde_datadir}/icons/crystalsvg/*/apps/arts.png
-%{tde_datadir}/icons/crystalsvg/*/apps/background.png
-%{tde_datadir}/icons/crystalsvg/*/apps/bell.png
-%{tde_datadir}/icons/crystalsvg/*/apps/cache.png
-%{tde_datadir}/icons/crystalsvg/*/apps/clanbomber.png
-%{tde_datadir}/icons/crystalsvg/*/apps/clock.png
-%{tde_datadir}/icons/crystalsvg/*/apps/colors.png
-%{tde_datadir}/icons/crystalsvg/*/apps/date.png
-%{tde_datadir}/icons/crystalsvg/*/apps/email.png
-%{tde_datadir}/icons/crystalsvg/*/apps/energy.png
-%{tde_datadir}/icons/crystalsvg/*/apps/energy_star.png
-%{tde_datadir}/icons/crystalsvg/*/apps/filetypes.png
-%{tde_datadir}/icons/crystalsvg/*/apps/fonts.png
-%{tde_datadir}/icons/crystalsvg/*/apps/gimp.png
-%{tde_datadir}/icons/crystalsvg/*/apps/help_index.png
-%{tde_datadir}/icons/crystalsvg/*/apps/hwinfo.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kcmdevices.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kcmkwm.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kcmmemory.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kcmpartitions.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kcmpci.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kcontrol.png
-%{tde_datadir}/icons/crystalsvg/*/apps/%{tdm}config.png
-%{tde_datadir}/icons/crystalsvg/*/apps/key_bindings.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.png
-%{tde_datadir}/icons/crystalsvg/*/apps/tdescreensaver.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kthememgr.png
-%{tde_datadir}/icons/crystalsvg/*/apps/licq.png
-%{tde_datadir}/icons/crystalsvg/*/apps/linuxconf.png
-%{tde_datadir}/icons/crystalsvg/*/apps/locale.png
-%{tde_datadir}/icons/crystalsvg/*/categories/preferences-desktop.png
-%{tde_datadir}/icons/crystalsvg/*/apps/multimedia.png
-%{tde_datadir}/icons/crystalsvg/*/apps/netscape.png
-%{tde_datadir}/icons/crystalsvg/*/apps/package_applications.png
-%{tde_datadir}/icons/crystalsvg/*/categories/applications-development.png
-%{tde_datadir}/icons/crystalsvg/*/apps/package_favourite.png
-%{tde_datadir}/icons/crystalsvg/*/categories/applications-games.png
-%{tde_datadir}/icons/crystalsvg/*/apps/package_games_kids.png
-%{tde_datadir}/icons/crystalsvg/*/categories/applications-multimedia.png
-%{tde_datadir}/icons/crystalsvg/*/categories/applications-internet.png
-%{tde_datadir}/icons/crystalsvg/*/apps/package.png
-%{tde_datadir}/icons/crystalsvg/*/apps/package_settings.png
-%{tde_datadir}/icons/crystalsvg/*/apps/package_toys.png
-%{tde_datadir}/icons/crystalsvg/*/categories/applications-utilities.png
-%{tde_datadir}/icons/crystalsvg/*/apps/penguin.png
-%{tde_datadir}/icons/crystalsvg/*/categories/preferences-desktop-personal.png
-%{tde_datadir}/icons/crystalsvg/*/apps/phppg.png
-%{tde_datadir}/icons/crystalsvg/*/apps/proxy.png
-%{tde_datadir}/icons/crystalsvg/*/apps/pysol.png
-%{tde_datadir}/icons/crystalsvg/*/apps/randr.png
-%{tde_datadir}/icons/crystalsvg/*/apps/samba.png
-%{tde_datadir}/icons/crystalsvg/*/apps/staroffice.png
-%{tde_datadir}/icons/crystalsvg/*/apps/stylesheet.png
-%{tde_datadir}/icons/crystalsvg/*/apps/terminal.png
-%{tde_datadir}/icons/crystalsvg/*/apps/tux.png
-%{tde_datadir}/icons/crystalsvg/*/apps/wp.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xclock.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xfmail.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xmag.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xpaint.png
-%{tde_datadir}/icons/crystalsvg/scalable/apps/access.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/acroread.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/aim.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/aktion.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/antivirus.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/applixware.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/arts.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/background.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/bell.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/browser.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/cache.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/camera.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/clanbomber.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/clock.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/colors.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/core.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/date.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/display.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/download_manager.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/email.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/energy.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/error.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/fifteenpieces.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/filetypes.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/fonts.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/galeon.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/gnome_apps.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/hardware.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/hwinfo.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/ieee1394.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmdevices.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmkwm.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/kcmx.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/locale.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/my_mac.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/netscape.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/openoffice.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/package_development.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/package_games_kids.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/package_toys.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/penguin.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/personal.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/quicktime.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/realplayer.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/samba.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/shell.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/staroffice.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/stylesheet.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/terminal.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/tux.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/wine.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/x.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/xapp.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/xcalc.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/xchat.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/xclock.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/xeyes.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/apps/xpaint.svgz
-%{tde_datadir}/icons/crystalsvg/*/devices/laptop.png
-%{tde_datadir}/icons/crystalsvg/*/devices/laptop.svgz
-%{tde_datadir}/icons/crystalsvg/*/actions/newfont.png
-%{tde_datadir}/icons/crystalsvg/*/apps/abiword.png
-%{tde_datadir}/icons/crystalsvg/*/apps/agent.png
-%{tde_datadir}/icons/crystalsvg/*/apps/alevt.png
-%{tde_datadir}/icons/crystalsvg/*/apps/assistant.png
-%{tde_datadir}/icons/crystalsvg/*/apps/blender.png
-%{tde_datadir}/icons/crystalsvg/*/apps/bluefish.png
-%{tde_datadir}/icons/crystalsvg/*/apps/cookie.png
-%{tde_datadir}/icons/crystalsvg/*/apps/designer.png
-%{tde_datadir}/icons/crystalsvg/*/apps/dia.png
-%{tde_datadir}/icons/crystalsvg/*/apps/dlgedit.png
-%{tde_datadir}/icons/crystalsvg/*/apps/eclipse.png
-%{tde_datadir}/icons/crystalsvg/*/apps/edu_languages.png
-%{tde_datadir}/icons/crystalsvg/*/apps/edu_mathematics.png
-%{tde_datadir}/icons/crystalsvg/*/apps/edu_miscellaneous.png
-%{tde_datadir}/icons/crystalsvg/*/categories/applications-science.png
-%{tde_datadir}/icons/crystalsvg/*/apps/emacs.png
-%{tde_datadir}/icons/crystalsvg/*/apps/enhanced_browsing.png
-%{tde_datadir}/icons/crystalsvg/*/apps/evolution.png
-%{tde_datadir}/icons/crystalsvg/*/apps/fifteenpieces.png
-%{tde_datadir}/icons/crystalsvg/*/apps/gabber.png
-%{tde_datadir}/icons/crystalsvg/*/apps/gaim.png
-%{tde_datadir}/icons/crystalsvg/*/apps/gnome_apps.png
-%{tde_datadir}/icons/crystalsvg/*/apps/gnomemeeting.png
-%{tde_datadir}/icons/crystalsvg/*/apps/gnucash.png
-%{tde_datadir}/icons/crystalsvg/*/apps/gnumeric.png
-%{tde_datadir}/icons/crystalsvg/*/apps/gv.png
-%{tde_datadir}/icons/crystalsvg/*/apps/gvim.png
-%{tde_datadir}/icons/crystalsvg/*/apps/icons.png
-%{tde_datadir}/icons/crystalsvg/*/apps/iconthemes.png
-%{tde_datadir}/icons/crystalsvg/*/apps/ieee1394.png
-%{tde_datadir}/icons/crystalsvg/*/categories/preferences-desktop-peripherals.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kcmkicker.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kcmmidi.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kcmprocessor.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kcmscsi.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kcmsound.png
-%{tde_datadir}/icons/crystalsvg/*/categories/preferences-system.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kcmx.png
-%{tde_datadir}/icons/crystalsvg/*/apps/keyboard.png
-%{tde_datadir}/icons/crystalsvg/*/apps/keyboard_layout.png
-%{tde_datadir}/icons/crystalsvg/*/apps/knotify.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kvirc.png
-%{tde_datadir}/icons/crystalsvg/*/apps/linguist.png
-%{tde_datadir}/icons/crystalsvg/*/apps/lyx.png
-%{tde_datadir}/icons/crystalsvg/*/apps/mac.png
-%{tde_datadir}/icons/crystalsvg/*/apps/mathematica.png
-%{tde_datadir}/icons/crystalsvg/*/apps/nedit.png
-%{tde_datadir}/icons/crystalsvg/*/apps/opera.png
-%{tde_datadir}/icons/crystalsvg/*/apps/package_application.png
-%{tde_datadir}/icons/crystalsvg/*/apps/package_editors.png
-%{tde_datadir}/icons/crystalsvg/*/apps/package_edutainment.png
-%{tde_datadir}/icons/crystalsvg/*/apps/package_games_arcade.png
-%{tde_datadir}/icons/crystalsvg/*/apps/package_games_board.png
-%{tde_datadir}/icons/crystalsvg/*/apps/package_games_card.png
-%{tde_datadir}/icons/crystalsvg/*/apps/package_games_strategy.png
-%{tde_datadir}/icons/crystalsvg/*/categories/applications-graphics.png
-%{tde_datadir}/icons/crystalsvg/*/apps/package_system.png
-%{tde_datadir}/icons/crystalsvg/*/categories/applications-office.png
-%{tde_datadir}/icons/crystalsvg/*/apps/pan.png
-%{tde_datadir}/icons/crystalsvg/*/apps/panel_settings.png
-%{tde_datadir}/icons/crystalsvg/*/apps/plan.png
-%{tde_datadir}/icons/crystalsvg/*/apps/planner.png
-%{tde_datadir}/icons/crystalsvg/*/apps/pybliographic.png
-%{tde_datadir}/icons/crystalsvg/*/apps/realplayer.png
-%{tde_datadir}/icons/crystalsvg/*/apps/remote.png
-%{tde_datadir}/icons/crystalsvg/*/apps/scribus.png
-%{tde_datadir}/icons/crystalsvg/*/apps/sodipodi.png
-%{tde_datadir}/icons/crystalsvg/*/apps/style.png
-%{tde_datadir}/icons/crystalsvg/*/apps/usb.png
-%{tde_datadir}/icons/crystalsvg/*/apps/vnc.png
-%{tde_datadir}/icons/crystalsvg/*/apps/wabi.png
-%{tde_datadir}/icons/crystalsvg/*/apps/wine.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xcalc.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xchat.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xclipboard.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xconsole.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xedit.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xemacs.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xeyes.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xfig.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xload.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xmms.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xosview.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xv.png
-%{tde_datadir}/icons/crystalsvg/*/apps/galeon.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kcmdrkonqi.png
-%{tde_datadir}/icons/crystalsvg/*/apps/pinguin.png
-%{tde_datadir}/icons/crystalsvg/*/apps/x.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xapp.png
-%{tde_datadir}/icons/crystalsvg/*/apps/xawtv.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kcmopengl.png
-%{tde_datadir}/icons/crystalsvg/*/apps/wmaker_apps.png
-%{tde_datadir}/icons/crystalsvg/*/apps/qtella.png
-%{tde_datadir}/services/searchproviders
-%{tde_datadir}/services/useragentstrings/
-%{tde_datadir}/servicetypes/searchprovider.desktop
-%{tde_datadir}/servicetypes/uasprovider.desktop
-%exclude %{tde_datadir}/sounds/pop.wav
-%{tde_datadir}/sounds/
-%{tde_datadir}/wallpapers/*
-
-# XDG directories information
-%dir %{_sysconfdir}/xdg/menus/applications-merged
-%config(noreplace) %{_sysconfdir}/xdg/menus/applications-merged/tde-essential.menu
-%config(noreplace) %{_sysconfdir}/xdg/menus/tde-information.menu
-%config(noreplace) %{_sysconfdir}/xdg/menus/tde-screensavers.menu
-%config(noreplace) %{_sysconfdir}/xdg/menus/tde-settings.menu
-
-%{tde_tdedocdir}/HTML/en/kcontrol/
-%exclude %{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/
-
-%post data
-for f in crystalsvg ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-
-%if "%{distribution}" == "Mandriva Linux"
-# Mandriva-specific: we have to choose a background for current distribution variant (Free, One, Powerpack, ...)
-# First, we read the "product" key in /etc/product.id
-eval $(tr "," ";" </etc/product.id) 2>/dev/null
-# Then, we create a symbolic link to the corresponding background
-if [ -r "%{_datadir}/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}" ]; then
- ln -sf "%{_datadir}/mdk/backgrounds/Mandriva-${product:-Free}-1280x1024-1300.jpg" "%{tde_bg}"
-fi
-%endif
-
-%if "%{distribution}" == "Mageia"
-if [ ! -r "%{tde_bg}" ] && [ -r "%{_datadir}/mga/backgrounds/Mageia-Default-1920x1440.png" ]; then
- ln -sf "%{_datadir}/mga/backgrounds/Mageia-Default-1920x1440.png" "%{tde_bg}"
-fi
-%endif
-
-%postun data
-for f in crystalsvg ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-
-##########
-
-%package tdeio-plugins
-Summary: Core I/O slaves for TDE
-Group: System/GUI/Other
-Requires: trinity-kdesktop = %{version}-%{release}
-Requires: cyrus-sasl
-Requires: psmisc
-%if 0%{?with_hal}
-Requires: hal >= 0.5
-%endif
-%if 0%{?rhel} == 4 || 0%{?suse_version}
-Requires: cryptsetup
-%else
-Requires: cryptsetup-luks
-%endif
-
-Obsoletes: tdebase-kio-plugins < %{version}-%{release}
-Provides: tdebase-kio-plugins = %{version}-%{release}
-Obsoletes: trinity-tdebase-kio-plugins < %{version}-%{release}
-Provides: trinity-tdebase-kio-plugins = %{version}-%{release}
-
-%description tdeio-plugins
-This package includes the base tdeioslaves. They include, amongst many
-others, file, http, and ftp.
-
-It also includes the media tdeioslave, which handles removable devices,
-and which works best with udev, udisks and pmount. Media
-also extends the functionality of many other tdeioslaves. To use this
-service, please make sure that your user is a member of the plugdev
-group.
-
-%files tdeio-plugins
-%defattr(-,root,root,-)
-%{tde_bindir}/tdeio_media_mounthelper
-%{tde_bindir}/ktrash
-%{tde_tdelibdir}/cursorthumbnail.la
-%{tde_tdelibdir}/cursorthumbnail.so
-%{tde_tdelibdir}/djvuthumbnail.la
-%{tde_tdelibdir}/djvuthumbnail.so
-%{tde_tdelibdir}/htmlthumbnail.la
-%{tde_tdelibdir}/htmlthumbnail.so
-%{tde_tdelibdir}/imagethumbnail.la
-%{tde_tdelibdir}/imagethumbnail.so
-%{tde_tdelibdir}/kcm_cgi.la
-%{tde_tdelibdir}/kcm_cgi.so
-%{tde_tdelibdir}/kcm_media.la
-%{tde_tdelibdir}/kcm_media.so
-%{tde_tdelibdir}/kded_homedirnotify.la
-%{tde_tdelibdir}/kded_homedirnotify.so
-%{tde_tdelibdir}/kded_mediamanager.la
-%{tde_tdelibdir}/kded_mediamanager.so
-%{tde_tdelibdir}/kded_medianotifier.la
-%{tde_tdelibdir}/kded_medianotifier.so
-%{tde_tdelibdir}/kded_remotedirnotify.la
-%{tde_tdelibdir}/kded_remotedirnotify.so
-%{tde_tdelibdir}/kded_systemdirnotify.la
-%{tde_tdelibdir}/kded_systemdirnotify.so
-%{tde_tdelibdir}/tdefile_media.la
-%{tde_tdelibdir}/tdefile_media.so
-%{tde_tdelibdir}/tdefile_trash.la
-%{tde_tdelibdir}/tdefile_trash.so
-%{tde_tdelibdir}/tdeio_about.la
-%{tde_tdelibdir}/tdeio_about.so
-%{tde_tdelibdir}/tdeio_cgi.la
-%{tde_tdelibdir}/tdeio_cgi.so
-%{tde_tdelibdir}/tdeio_filter.la
-%{tde_tdelibdir}/tdeio_filter.so
-%{tde_tdelibdir}/tdeio_finger.la
-%{tde_tdelibdir}/tdeio_finger.so
-%{tde_tdelibdir}/tdeio_fish.la
-%{tde_tdelibdir}/tdeio_fish.so
-%{tde_tdelibdir}/tdeio_floppy.la
-%{tde_tdelibdir}/tdeio_floppy.so
-%{tde_tdelibdir}/tdeio_home.la
-%{tde_tdelibdir}/tdeio_home.so
-%{tde_tdelibdir}/tdeio_info.la
-%{tde_tdelibdir}/tdeio_info.so
-%{tde_tdelibdir}/tdeio_mac.la
-%{tde_tdelibdir}/tdeio_mac.so
-%{tde_tdelibdir}/tdeio_man.la
-%{tde_tdelibdir}/tdeio_man.so
-%{tde_tdelibdir}/tdeio_media.la
-%{tde_tdelibdir}/tdeio_media.so
-%{tde_tdelibdir}/tdeio_nfs.la
-%{tde_tdelibdir}/tdeio_nfs.so
-%{tde_tdelibdir}/tdeio_remote.la
-%{tde_tdelibdir}/tdeio_remote.so
-%{tde_tdelibdir}/tdeio_settings.la
-%{tde_tdelibdir}/tdeio_settings.so
-%{tde_tdelibdir}/tdeio_sftp.la
-%{tde_tdelibdir}/tdeio_sftp.so
-%{tde_tdelibdir}/tdeio_system.la
-%{tde_tdelibdir}/tdeio_system.so
-%{tde_tdelibdir}/tdeio_tar.la
-%{tde_tdelibdir}/tdeio_tar.so
-%{tde_tdelibdir}/tdeio_thumbnail.la
-%{tde_tdelibdir}/tdeio_thumbnail.so
-%{tde_tdelibdir}/tdeio_trash.la
-%{tde_tdelibdir}/tdeio_trash.so
-%{tde_tdelibdir}/libkmanpart.la
-%{tde_tdelibdir}/libkmanpart.so
-%{tde_tdelibdir}/textthumbnail.la
-%{tde_tdelibdir}/textthumbnail.so
-%{tde_tdeappdir}/kcmcgi.desktop
-%{tde_datadir}/apps/tdeio_finger/
-%{tde_datadir}/apps/tdeio_info/
-%{tde_datadir}/apps/tdeio_man/
-%{tde_datadir}/apps/systemview/
-%{tde_datadir}/config.kcfg/mediamanagersettings.kcfg
-%{tde_datadir}/mimelnk/application/x-smb-server.desktop
-%{tde_datadir}/mimelnk/inode/system_directory.desktop
-%{tde_datadir}/mimelnk/media/*.desktop
-%{tde_datadir}/services/about.protocol
-%{tde_datadir}/services/applications.protocol
-%{tde_datadir}/services/ar.protocol
-%{tde_datadir}/services/bzip.protocol
-%{tde_datadir}/services/bzip2.protocol
-%{tde_datadir}/services/cgi.protocol
-%{tde_datadir}/services/cursorthumbnail.desktop
-%{tde_datadir}/services/djvuthumbnail.desktop
-%{tde_datadir}/services/finger.protocol
-%{tde_datadir}/services/fish.protocol
-%{tde_datadir}/services/floppy.protocol
-%{tde_datadir}/services/gzip.protocol
-%{tde_datadir}/services/home.protocol
-%{tde_datadir}/services/htmlthumbnail.desktop
-%{tde_datadir}/services/imagethumbnail.desktop
-%{tde_datadir}/services/info.protocol
-%{tde_datadir}/services/kded/homedirnotify.desktop
-%{tde_datadir}/services/kded/mediamanager.desktop
-%{tde_datadir}/services/kded/medianotifier.desktop
-%{tde_datadir}/services/kded/remotedirnotify.desktop
-%{tde_datadir}/services/kded/systemdirnotify.desktop
-%{tde_datadir}/services/tdefile_media.desktop
-%{tde_datadir}/services/tdefile_trash_system.desktop
-%{tde_datadir}/services/lzma.protocol
-%{tde_datadir}/services/kmanpart.desktop
-%{tde_datadir}/services/mac.protocol
-%{tde_datadir}/services/man.protocol
-%{tde_datadir}/services/media.protocol
-%{tde_datadir}/services/nfs.protocol
-%{tde_datadir}/services/nxfish.protocol
-%{tde_datadir}/services/programs.protocol
-%{tde_datadir}/services/remote.protocol
-%{tde_datadir}/services/settings.protocol
-%{tde_datadir}/services/sftp.protocol
-%{tde_datadir}/services/system.protocol
-%{tde_datadir}/services/tar.protocol
-%{tde_datadir}/services/textthumbnail.desktop
-%{tde_datadir}/services/thumbnail.protocol
-%{tde_datadir}/services/trash.protocol
-%{tde_datadir}/services/xz.protocol
-%{tde_datadir}/services/zip.protocol
-%{tde_datadir}/servicetypes/thumbcreator.desktop
-%{tde_datadir}/services/tdefile_trash.desktop
-%{tde_tdedocdir}/HTML/en/tdeioslave/
-%if 0%{?with_exr}
-%{tde_tdelibdir}/exrthumbnail.la
-%{tde_tdelibdir}/exrthumbnail.so
-%{tde_datadir}/services/exrthumbnail.desktop
-%endif
-# HWManager
-%{tde_tdelibdir}/media_propsdlgplugin.la
-%{tde_tdelibdir}/media_propsdlgplugin.so
-%{tde_datadir}/services/media_propsdlgplugin.desktop
-
-%post tdeio-plugins
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-
-%postun tdeio-plugins
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-
-##########
-
-%package -n trinity-tdepasswd
-Summary: Password changer for TDE
-Group: System/GUI/Other
-
-Obsoletes: trinity-kdepasswd < %{version}-%{release}
-Provides: trinity-kdepasswd = %{version}-%{release}
-
-%description -n trinity-tdepasswd
-This is a simple application which allows users to change their
-system passwords.
-
-%files -n trinity-tdepasswd
-%defattr(-,root,root,-)
-%{tde_bindir}/tdepasswd
-%{tde_tdelibdir}/kcm_useraccount.la
-%{tde_tdelibdir}/kcm_useraccount.so
-%{tde_tdeappdir}/kcm_useraccount.desktop
-%{tde_tdeappdir}/tdepasswd.desktop
-%{tde_datadir}/config.kcfg/kcm_useraccount.kcfg
-%{tde_datadir}/config.kcfg/kcm_useraccount_pass.kcfg
-%{tde_tdedocdir}/HTML/en/tdepasswd/
-%{_datadir}/faces/Apple.png
-%{_datadir}/faces/BeachBall.png
-%{_datadir}/faces/Blowfish.png
-%{_datadir}/faces/Bug.png
-%{_datadir}/faces/Butterfly.png
-%{_datadir}/faces/Car.png
-%{_datadir}/faces/Cow.png
-%{_datadir}/faces/Daemon.png
-%{_datadir}/faces/Dog.png
-%{_datadir}/faces/Elephant.png
-%{_datadir}/faces/Flower.png
-%{_datadir}/faces/Frog.png
-%{_datadir}/faces/Ghost.png
-%{_datadir}/faces/Guitar.png
-%{_datadir}/faces/Heart.png
-%{_datadir}/faces/Konqui.png
-%{_datadir}/faces/Lion.png
-%{_datadir}/faces/Monkey.png
-%{_datadir}/faces/Penguin.png
-%{_datadir}/faces/Pig.png
-%{_datadir}/faces/Rabbit.png
-%{_datadir}/faces/Ring.png
-%{_datadir}/faces/Scream.png
-%{_datadir}/faces/Shark.png
-%{_datadir}/faces/Splash.png
-%{_datadir}/faces/Star.png
-%{_datadir}/faces/Teddybear.png
-%{_datadir}/faces/Turtle.png
-
-%post -n trinity-tdepasswd
-update-desktop-database %{tde_tdeappdir} 2> /dev/null || :
-
-%postun -n trinity-tdepasswd
-update-desktop-database %{tde_tdeappdir} 2> /dev/null || :
-
-##########
-
-%package -n trinity-tdeprint
-Summary: Print system for TDE
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-Requires: psutils
-
-%description -n trinity-tdeprint
-This package contains the TDE printing subsystem. It can use CUPS,
-lpd-ng or the traditional lpd. It also includes support for fax and
-pdf printing.
-
-Installation of smbclient will make you able to use smb shared printers.
-
-%files -n trinity-tdeprint
-%defattr(-,root,root,-)
-%{tde_bindir}/tdeprintfax
-%{tde_bindir}/kjobviewer
-%{tde_bindir}/kprinter
-%{tde_tdelibdir}/kcm_printmgr.la
-%{tde_tdelibdir}/kcm_printmgr.so
-%{tde_tdelibdir}/tdeio_print.la
-%{tde_tdelibdir}/tdeio_print.so
-%{tde_tdelibdir}/kjobviewer.la
-%{tde_tdelibdir}/kjobviewer.so
-%{tde_tdelibdir}/kprinter.la
-%{tde_tdelibdir}/kprinter.so
-%{tde_tdelibdir}/libtdeprint_part.la
-%{tde_tdelibdir}/libtdeprint_part.so
-%{tde_libdir}/libtdeinit_kjobviewer.la
-%{tde_libdir}/libtdeinit_kjobviewer.so
-%{tde_libdir}/libtdeinit_kprinter.la
-%{tde_libdir}/libtdeinit_kprinter.so
-%{tde_tdeappdir}/tdeprintfax.desktop
-%{tde_tdeappdir}/kjobviewer.desktop
-%{tde_tdeappdir}/printers.desktop
-%{tde_datadir}/apps/tdeprint/
-%{tde_datadir}/apps/tdeprintfax/
-%{tde_datadir}/apps/kjobviewer/
-%{tde_datadir}/apps/tdeprint_part/
-%{tde_datadir}/icons/hicolor/*/apps/tdeprintfax.png
-%{tde_datadir}/icons/hicolor/*/apps/kjobviewer.png
-%{tde_datadir}/icons/hicolor/*/apps/printmgr.png
-%{tde_datadir}/icons/hicolor/scalable/apps/tdeprintfax.svgz
-%{tde_datadir}/icons/hicolor/scalable/apps/kjobviewer.svgz
-%{tde_datadir}/icons/hicolor/scalable/apps/printmgr.svgz
-%{tde_datadir}/mimelnk/print/class.desktop
-%{tde_datadir}/mimelnk/print/driver.desktop
-%{tde_datadir}/mimelnk/print/folder.desktop
-%{tde_datadir}/mimelnk/print/jobs.desktop
-%{tde_datadir}/mimelnk/print/manager.desktop
-%{tde_datadir}/mimelnk/print/printer.desktop
-%{tde_datadir}/mimelnk/print/printermodel.desktop
-%{tde_datadir}/services/tdeprint_part.desktop
-%{tde_datadir}/services/print.protocol
-%{tde_datadir}/services/printdb.protocol
-%{tde_tdedocdir}/HTML/en/tdeprint/
-%{tde_tdedocdir}/HTML/en/tdeprintfax/
-%{tde_tdedocdir}/HTML/en/kjobviewer/
-
-%post -n trinity-tdeprint
-/sbin/ldconfig || :
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-
-%postun -n trinity-tdeprint
-/sbin/ldconfig || :
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-
-##########
-
-%package -n trinity-kdesktop
-Summary: Miscellaneous binaries and files for the TDE desktop
-Group: System/GUI/Other
-Requires: %{name}-bin = %{version}-%{release}
-Requires: %{name}-data = %{version}-%{release}
-Requires: trinity-libkonq = %{version}-%{release}
-Requires: eject
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
-Requires: xdg-utils
-%endif
-
-%description -n trinity-kdesktop
-This package contains miscellaneous binaries and files integral to
-the TDE desktop.
-
-%files -n trinity-kdesktop
-%defattr(-,root,root,-)
-%config(noreplace) %{_sysconfdir}/trinity/kdesktop_custom_menu1
-%config(noreplace) %{_sysconfdir}/trinity/kdesktop_custom_menu2
-%{tde_bindir}/kcheckrunning
-%{tde_bindir}/kxdglauncher
-%{tde_bindir}/tdeeject
-%{tde_bindir}/kdesktop
-%{tde_bindir}/kdesktop_lock
-%{tde_bindir}/kwebdesktop
-%{tde_tdelibdir}/kdesktop.la
-%{tde_tdelibdir}/kdesktop.so
-%{tde_libdir}/libtdeinit_kdesktop.la
-%{tde_libdir}/libtdeinit_kdesktop.so
-%{tde_datadir}/apps/kdesktop/
-%{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop
-%{tde_datadir}/autostart/kdesktop.desktop
-%{tde_datadir}/config.kcfg/kdesktop.kcfg
-%{tde_datadir}/config.kcfg/tdelaunch.kcfg
-%{tde_datadir}/config.kcfg/kwebdesktop.kcfg
-%{tde_datadir}/icons/crystalsvg/*/apps/error.png
-
-%post -n trinity-kdesktop
-/sbin/ldconfig || :
-for f in crystalsvg ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-
-%postun -n trinity-kdesktop
-/sbin/ldconfig || :
-for f in crystalsvg ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-
-##########
-
-%package -n trinity-kdesktop-devel
-Summary: Development files for kdesktop
-Group: Development/Libraries/Other
-Requires: trinity-kdesktop = %{version}-%{release}
-
-%description -n trinity-kdesktop-devel
-This package contains the development files for kdesktop.
-
-%files -n trinity-kdesktop-devel
-%defattr(-,root,root,-)
-%{tde_tdeincludedir}/KBackgroundIface.h
-%{tde_tdeincludedir}/KDesktopIface.h
-%{tde_tdeincludedir}/KScreensaverIface.h
-
-##########
-
-%package -n trinity-tdm
-Summary: X Display manager for TDE
-Group: System/GUI/Other
-Requires: %{name}-bin = %{version}-%{release}
-Requires: %{name}-data = %{version}-%{release}
-Requires: pam
-Requires: logrotate
-
-# Provides the global Xsession script (/etc/X11/xinit/Xsession or /etc/X11/Xsession)
-%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 4
-Requires: xinitrc
-%endif
-%if 0%{?suse_version} == 1140
-Requires: xorg-x11
-%endif
-%if 0%{?suse_version} >= 1220
-Requires: xdm
-%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora}
-Requires: xorg-x11-xinit
-%endif
-
-# Required for Fedora LiveCD
-%if 0%{?rhel} || 0%{?fedora}
-Provides: service(graphical-login)
-%endif
-# Required for Mandriva's installer
-%if 0%{?mgaversion} || 0%{?mdkversion}
-Provides: dm
-Provides: %{tdm}
-%endif
-
-%description -n trinity-tdm
-TDM manages a collection of X servers, which may be on the local host or
-remote machines. It provides services similar to those provided by init,
-getty, and login on character-based terminals: prompting for login name and
-password, authenticating the user, and running a session. tdm supports XDMCP
-(X Display Manager Control Protocol) and can also be used to run a chooser
-process which presents the user with a menu of possible hosts that offer
-XDMCP display management.
-
-A collection of icons to associate with individual users is included with
-TDE, but as part of the tdepasswd package.
-
-The menu package will help to provide TDM with a list of window managers
-that can be launched, if the window manager does not register with TDM
-already. Most users won't need this.
-
-%files -n trinity-tdm
-%defattr(-,root,root,-)
-%{tde_tdelibdir}/kgreet_pam.la
-%{tde_tdelibdir}/kgreet_pam.so
-%{tde_bindir}/gen%{tdm}conf
-%{tde_bindir}/%{tdm}
-%{tde_bindir}/%{tdm}_config
-%{tde_bindir}/%{tdm}ctl
-%{tde_bindir}/%{tdm}_greet
-%{tde_bindir}/krootimage
-%dir %{tdm_datadir}
-%dir %{tdm_datadir}/pics
-%{tdm_datadir}/pics/kdelogo.png
-%{tdm_datadir}/pics/shutdown.jpg
-%{tdm_datadir}/pics/users
-%dir %{tdm_datadir}/sessions
-%{tdm_datadir}/sessions/*.desktop
-%{tdm_datadir}/themes/
-%{tde_confdir}/%{tdm}
-%dir %{_sysconfdir}/trinity/%{tdm}
-%config(noreplace) %{_sysconfdir}/trinity/%{tdm}/*
-%{tde_tdedocdir}/HTML/en/%{tdm}/
-%if 0%{?suse_version} == 0
-%config(noreplace) %{_sysconfdir}/pam.d/tdm-trinity
-%config(noreplace) %{_sysconfdir}/pam.d/tdm-trinity-np
-%endif
-
-# XDG user faces
-%dir %{_datadir}/faces
-%{_datadir}/faces/default1.png
-%{_datadir}/faces/default2.png
-%{_datadir}/faces/default3.png
-%{_datadir}/faces/default4.png
-%{_datadir}/faces/root1.png
-
-# Distribution specific stuff
-%if 0%{?suse_version} == 1140
-%{_sysconfdir}/init.d/xdm.tde
-%endif
-%if 0%{?suse_version} >= 1210
-/usr/lib/X11/displaymanagers/tdm
-%endif
-%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
-/usr/lib/systemd/system/tdm.service
-%endif
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
-%{_datadir}/xsessions/tde.desktop
-%endif
-
-# https://wiki.mageia.org/en/How_to_add_a_new_Window_Manager_or_Display_Manager
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%{_sysconfdir}/X11/wmsession.d/45TDE
-%{_datadir}/X11/dm.d/45TDE.conf
-%endif
-
-# SELINUX policy
-%if 0%{?with_selinux_policy}
-%{?_sysconfdir}/trinity/%{tdm}/tdm.pp
-%endif
-
-# Logrotate configuration
-%config %{_sysconfdir}/logrotate.d/trinity-tdm
-
-%pre -n trinity-tdm
-# Make sure that TDM configuration files are now under '/etc/trinity/tdm'
-if [ -d "%{tde_datadir}/config/%{tdm}" ] && [ ! -L "%{tde_datadir}/config/%{tdm}" ]; then
- if [ -d "%{_sysconfdir}/trinity/%{tdm}" ]; then
- # If there is already something under '/etc/trinity/tdm', simply delete old configuration
- echo "Deleting TDM configuration under '%{tde_datadir}/config/%{tdm}'"
- rm -rf "%{tde_datadir}/config/%{tdm}"
- else
- # Else, move '/opt/trinity/share/config/tdm' to '/etc/trinity/tdm'
- if [ ! -d "%{_sysconfdir}/trinity" ]; then
- mkdir -p "%{_sysconfdir}/trinity"
- fi
- echo "Migrating TDM configuration from '%{tde_datadir}/config/%{tdm}' to '%{_sysconfdir}/trinity/%{tdm}'"
- mv -f "%{tde_datadir}/config/%{tdm}" "%{_sysconfdir}/trinity/%{tdm}.migr"
- fi
-fi
-
-# Remove actual directory before creating a symlink
-if [ ! -L "%{tdm_datadir}/pics/users" ]; then
- [ -d "%{_datadir}/faces" ] || mkdir -p "%{_datadir}/faces"
- cp -f "%{tdm_datadir}/pics/users/"* "%{_datadir}/faces"
- rm -rf "%{tdm_datadir}/pics/users"
-fi
-
-%post -n trinity-tdm
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%make_session
-%endif
-
-# SELINUX context for tdm
-%if 0%{?with_selinux_policy}
-/usr/sbin/semodule -i "%{?_sysconfdir}/trinity/%{tdm}/tdm.pp"
-%endif
-
-%if 0%{?fedora} == 21 || 0%{?rhel} >= 7
-if ! grep -q "%{tde_bindir}/tdm" "/etc/selinux/targeted/contexts/files/file_contexts.local" ; then
- echo "%{tde_bindir}/tdm -- system_u:object_r:xdm_exec_t" >>"/etc/selinux/targeted/contexts/files/file_contexts.local"
- restorecon "%{tde_bindir}/tdm"
-fi
-%endif
-
-# Sets default user icon in TDM
-if [ ! -r "%{tdm_datadir}/faces/.default.face.icon" ]; then
- [ -d "%{tdm_datadir}/faces" ] || mkdir -p "%{tdm_datadir}/faces"
- cp -f "%{tdm_datadir}/pics/users/default2.png" "%{tdm_datadir}/faces/.default.face.icon"
-fi
-
-# Sets default language for TDM
-if [ "$1" = "1" ]; then
- if [ -n "${LANG}" ] && [ "${LANG}" != "C" ]; then
- sed -i "%{_sysconfdir}/trinity/%{tdm}/%{tdm}rc" -e "s|^#*Language=.*|Language=${LANG}|"
- fi
-fi
-
-# openSUSE 11.4 tdm's startup script
-if [ -r "%{_sysconfdir}/init.d/xdm.tde" ]; then
- cat "%{_sysconfdir}/init.d/xdm.tde" >"%{_sysconfdir}/init.d/xdm"
-fi
-
-
-%posttrans -n trinity-tdm
-# Make sure that TDM configuration files are now under '/etc/trinity/tdm'
-if [ -d "%{_sysconfdir}/trinity/%{tdm}.migr" ] && [ -d "%{_sysconfdir}/trinity/%{tdm}" ]; then
- mv -f "%{_sysconfdir}/trinity/%{tdm}.migr/"* "%{_sysconfdir}/trinity/%{tdm}/"
- rmdir "%{_sysconfdir}/trinity/%{tdm}.migr/"
-fi
-
-%postun -n trinity-tdm
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%make_session
-%endif
-
-##########
-
-%package -n trinity-tdm-devel
-Summary: Development files for tdm
-Group: Development/Libraries/Other
-Requires: trinity-tdm = %{version}-%{release}
-%{?xtst_devel:Requires: %{xtst_devel}}
-
-%description -n trinity-tdm-devel
-This package contains the development files for TDM.
-
-%files -n trinity-tdm-devel
-%defattr(-,root,root,-)
-%{tde_tdeincludedir}/kgreeterplugin.h
-
-##########
-
-%package -n trinity-kfind
-Summary: File-find utility for TDE
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-
-%description -n trinity-kfind
-kfind can be used to find files and directories on your
-workstations.
-
-%files -n trinity-kfind
-%defattr(-,root,root,-)
-%{tde_bindir}/kfind
-%{tde_tdelibdir}/libkfindpart.la
-%{tde_tdelibdir}/libkfindpart.so
-%{tde_tdeappdir}/Kfind.desktop
-%{tde_datadir}/apps/kfindpart/
-%{tde_datadir}/icons/hicolor/*/apps/kfind.png
-%{tde_datadir}/services/kfindpart.desktop
-%{tde_datadir}/servicetypes/findpart.desktop
-%{tde_tdedocdir}/HTML/en/kfind/
-
-%post -n trinity-kfind
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-
-%postun -n trinity-kfind
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-
-##########
-
-%package -n trinity-khelpcenter
-Summary: Help center for TDE
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-Requires: htdig
-
-%description -n trinity-khelpcenter
-The TDE Help Center provides documentation on how to use the TDE desktop.
-
-The htdig package is needed to build a searchable archive of TDE
-documentation.
-
-%files -n trinity-khelpcenter
-%defattr(-,root,root,-)
-%{tde_bindir}/khc_docbookdig.pl
-%{tde_bindir}/khc_htdig.pl
-%{tde_bindir}/khc_htsearch.pl
-%{tde_bindir}/khc_indexbuilder
-%{tde_bindir}/khc_mansearch.pl
-%{tde_bindir}/khelpcenter
-%{tde_tdelibdir}/khelpcenter.la
-%{tde_tdelibdir}/khelpcenter.so
-%{tde_libdir}/libtdeinit_khelpcenter.la
-%{tde_libdir}/libtdeinit_khelpcenter.so
-%{tde_tdeappdir}/Help.desktop
-%{tde_datadir}/apps/khelpcenter/
-%{tde_datadir}/config.kcfg/khelpcenter.kcfg
-%{tde_datadir}/icons/hicolor/*/apps/khelpcenter.*
-%{tde_datadir}/services/khelpcenter.desktop
-%{tde_tdedocdir}/HTML/en/khelpcenter/
-
-%post -n trinity-khelpcenter
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-/sbin/ldconfig || :
-
-%postun -n trinity-khelpcenter
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-/sbin/ldconfig || :
-
-##########
-
-%package -n trinity-kicker
-Summary: Desktop panel for TDE
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-
-%description -n trinity-kicker
-Kicker provides the TDE panel on you desktop. It can be used as a
-program launcher and can load plugins to provide additional
-functionality.
-
-%files -n trinity-kicker
-%defattr(-,root,root,-)
-%{tde_bindir}/appletproxy
-%{tde_bindir}/extensionproxy
-%{tde_bindir}/kasbar
-%{tde_bindir}/kicker
-%{tde_libdir}/tdeconf_update_bin/kicker-3.4-reverseLayout
-%{tde_tdelibdir}/appletproxy.la
-%{tde_tdelibdir}/appletproxy.so
-%{tde_tdelibdir}/clock_panelapplet.la
-%{tde_tdelibdir}/clock_panelapplet.so
-%{tde_tdelibdir}/dockbar_panelextension.la
-%{tde_tdelibdir}/dockbar_panelextension.so
-%{tde_tdelibdir}/extensionproxy.la
-%{tde_tdelibdir}/extensionproxy.so
-%{tde_tdelibdir}/kasbar_panelextension.la
-%{tde_tdelibdir}/kasbar_panelextension.so
-%{tde_tdelibdir}/kicker.la
-%{tde_tdelibdir}/kickermenu_find.la
-%{tde_tdelibdir}/kickermenu_find.so
-%{tde_tdelibdir}/kickermenu_kate.so
-%{tde_tdelibdir}/kickermenu_kate.la
-%{tde_tdelibdir}/kickermenu_tdeprint.la
-%{tde_tdelibdir}/kickermenu_tdeprint.so
-%{tde_tdelibdir}/kickermenu_konqueror.la
-%{tde_tdelibdir}/kickermenu_konqueror.so
-%{tde_tdelibdir}/kickermenu_konsole.la
-%{tde_tdelibdir}/kickermenu_konsole.so
-%{tde_tdelibdir}/kickermenu_prefmenu.la
-%{tde_tdelibdir}/kickermenu_prefmenu.so
-%{tde_tdelibdir}/kickermenu_recentdocs.la
-%{tde_tdelibdir}/kickermenu_recentdocs.so
-%{tde_tdelibdir}/kickermenu_remotemenu.la
-%{tde_tdelibdir}/kickermenu_remotemenu.so
-%{tde_tdelibdir}/kickermenu_systemmenu.la
-%{tde_tdelibdir}/kickermenu_systemmenu.so
-%{tde_tdelibdir}/kicker.so
-%{tde_tdelibdir}/launcher_panelapplet.la
-%{tde_tdelibdir}/launcher_panelapplet.so
-%{tde_tdelibdir}/lockout_panelapplet.la
-%{tde_tdelibdir}/lockout_panelapplet.so
-%{tde_tdelibdir}/media_panelapplet.la
-%{tde_tdelibdir}/media_panelapplet.so
-%{tde_tdelibdir}/menu_panelapplet.la
-%{tde_tdelibdir}/menu_panelapplet.so
-%{tde_tdelibdir}/minipager_panelapplet.la
-%{tde_tdelibdir}/minipager_panelapplet.so
-%{tde_tdelibdir}/naughty_panelapplet.la
-%{tde_tdelibdir}/naughty_panelapplet.so
-%{tde_tdelibdir}/run_panelapplet.la
-%{tde_tdelibdir}/run_panelapplet.so
-%{tde_tdelibdir}/sidebar_panelextension.la
-%{tde_tdelibdir}/sidebar_panelextension.so
-%{tde_tdelibdir}/systemtray_panelapplet.la
-%{tde_tdelibdir}/systemtray_panelapplet.so
-%{tde_tdelibdir}/taskbar_panelapplet.la
-%{tde_tdelibdir}/taskbar_panelapplet.so
-%{tde_tdelibdir}/taskbar_panelextension.la
-%{tde_tdelibdir}/taskbar_panelextension.so
-%{tde_tdelibdir}/trash_panelapplet.la
-%{tde_tdelibdir}/trash_panelapplet.so
-%{tde_libdir}/libkasbar.so.*
-%{tde_libdir}/libtdeinit_appletproxy.la
-%{tde_libdir}/libtdeinit_appletproxy.so
-%{tde_libdir}/libtdeinit_extensionproxy.la
-%{tde_libdir}/libtdeinit_extensionproxy.so
-%{tde_libdir}/libtdeinit_kicker.la
-%{tde_libdir}/libtdeinit_kicker.so
-%{tde_libdir}/libkickermain.so.*
-%{tde_libdir}/libtaskbar.so.*
-%{tde_libdir}/libtaskmanager.so.*
-%{tde_libdir}/libkickoffsearch_interfaces.so.*
-%{tde_tdeappdir}/kcmkicker.desktop
-%{tde_datadir}/applnk/.hidden/kicker_config_arrangement.desktop
-%{tde_datadir}/applnk/.hidden/kicker_config_hiding.desktop
-%{tde_datadir}/applnk/.hidden/kicker_config_menus.desktop
-%{tde_datadir}/apps/clockapplet/
-%{tde_datadir}/apps/tdeconf_update/kicker-3.1-properSizeSetting.pl
-%{tde_datadir}/apps/tdeconf_update/kicker-3.5-taskbarEnums.pl
-%{tde_datadir}/apps/tdeconf_update/kickerrc.upd
-%{tde_datadir}/apps/kicker/
-%exclude %{tde_datadir}/apps/kicker/applets/klipper.desktop
-%exclude %{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop
-%{tde_datadir}/apps/naughtyapplet/
-%{tde_datadir}/autostart/panel.desktop
-%{tde_datadir}/config.kcfg/kickerSettings.kcfg
-%{tde_datadir}/config.kcfg/launcherapplet.kcfg
-%{tde_datadir}/config.kcfg/pagersettings.kcfg
-%{tde_datadir}/config.kcfg/taskbar.kcfg
-%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.png
-%{tde_datadir}/icons/crystalsvg/*/apps/taskbar.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kdisknav.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kicker.png
-%{tde_datadir}/icons/crystalsvg/*/apps/panel.png
-%{tde_datadir}/icons/crystalsvg/*/apps/runprocesscatcher.png
-%{tde_datadir}/icons/crystalsvg/*/apps/window_list.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kbinaryclock.svgz
-%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.svgz
-%{tde_datadir}/servicetypes/kickoffsearchplugin.desktop
-%{tde_tdedocdir}/HTML/en/kicker/
-%if 0%{?mgaversion} >= 3
-%{tde_datadir}/oxygen/scalable/mgabutton.svg
-%endif
-
-%post -n trinity-kicker
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in crystalsvg ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-/sbin/ldconfig || :
-
-%postun -n trinity-kicker
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in crystalsvg ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-/sbin/ldconfig || :
-
-##########
-
-%package -n trinity-kicker-devel
-Summary: Development files for kicker
-Group: Development/Libraries/Other
-Requires: trinity-kicker = %{version}-%{release}
-%{?xtst_devel:Requires: %{xtst_devel}}
-
-%description -n trinity-kicker-devel
-This package contains the development files for kicker.
-
-%files -n trinity-kicker-devel
-%defattr(-,root,root,-)
-%{tde_tdeincludedir}/kickoff-search-plugin.h
-%{tde_tdeincludedir}/kickoffsearchinterface.h
-%{tde_libdir}/libkasbar.la
-%{tde_libdir}/libkasbar.so
-%{tde_libdir}/libkickermain.la
-%{tde_libdir}/libkickermain.so
-%{tde_libdir}/libkickoffsearch_interfaces.la
-%{tde_libdir}/libkickoffsearch_interfaces.so
-%{tde_libdir}/libtaskbar.la
-%{tde_libdir}/libtaskbar.so
-%{tde_libdir}/libtaskmanager.la
-%{tde_libdir}/libtaskmanager.so
-
-%post -n trinity-kicker-devel
-/sbin/ldconfig || :
-
-%postun -n trinity-kicker-devel
-/sbin/ldconfig || :
-
-##########
-
-%package -n trinity-klipper
-Summary: Clipboard utility for Trinity
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-
-%description -n trinity-klipper
-klipper provides standard clipboard functions (cut and paste, history
-saving) plus additional features, like the ability to offer actions to
-take dependent on the clipboard contents. For example, it can launch a
-web browser if the clipboard contains a URL.
-
-%files -n trinity-klipper
-%defattr(-,root,root,-)
-%{tde_bindir}/klipper
-%config(noreplace) %{_sysconfdir}/trinity/klipperrc
-%{tde_tdelibdir}/klipper.la
-%{tde_tdelibdir}/klipper.so
-%{tde_tdelibdir}/klipper_panelapplet.la
-%{tde_tdelibdir}/klipper_panelapplet.so
-%{tde_libdir}/libtdeinit_klipper.la
-%{tde_libdir}/libtdeinit_klipper.so
-%{tde_tdeappdir}/klipper.desktop
-%{tde_datadir}/apps/tdeconf_update/klipper-1-2.pl
-%{tde_datadir}/apps/tdeconf_update/klipper-trinity1.sh
-%{tde_datadir}/apps/tdeconf_update/klipperrc.upd
-%{tde_datadir}/apps/tdeconf_update/klippershortcuts.upd
-%{tde_datadir}/apps/kicker/applets/klipper.desktop
-%{tde_datadir}/autostart/klipper.desktop
-%{tde_datadir}/icons/hicolor/*/apps/klipper.*
-%{tde_tdedocdir}/HTML/en/klipper/
-
-%post -n trinity-klipper
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-/sbin/ldconfig || :
-
-%postun -n trinity-klipper
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-/sbin/ldconfig || :
-
-##########
-
-%package -n trinity-kmenuedit
-Summary: Menu editor for TDE
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-
-%description -n trinity-kmenuedit
-The TDE menu editor allows you to make customisations to the TDE menu
-structure.
-
-%files -n trinity-kmenuedit
-%defattr(-,root,root,-)
-%{tde_bindir}/kcontroledit
-%{tde_bindir}/kmenuedit
-%{tde_tdelibdir}/kcontroledit.la
-%{tde_tdelibdir}/kcontroledit.so
-%{tde_tdelibdir}/kmenuedit.la
-%{tde_tdelibdir}/kmenuedit.so
-%{tde_libdir}/libtdeinit_kcontroledit.la
-%{tde_libdir}/libtdeinit_kcontroledit.so
-%{tde_libdir}/libtdeinit_kmenuedit.la
-%{tde_libdir}/libtdeinit_kmenuedit.so
-%{tde_tdeappdir}/kmenuedit.desktop
-%{tde_datadir}/applnk/System/kmenuedit.desktop
-%{tde_datadir}/apps/kcontroledit/
-%{tde_datadir}/apps/kmenuedit/
-%{tde_tdedocdir}/HTML/en/kmenuedit/
-
-%post -n trinity-kmenuedit
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-/sbin/ldconfig || :
-
-%postun -n trinity-kmenuedit
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-/sbin/ldconfig || :
-
-##########
-
-%package -n trinity-konqueror
-Summary: TDE's advanced file manager, web browser and document viewer
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-Requires: trinity-kcontrol = %{version}-%{release}
-Requires: %{name}-tdeio-plugins = %{version}-%{release}
-Requires: trinity-kdesktop = %{version}-%{release}
-Requires: trinity-kfind = %{version}-%{release}
-Requires: trinity-libkonq = %{version}-%{release}
-
-%description -n trinity-konqueror
-Konqueror is the file manager for the Trinity Desktop Environment.
-It supports basic file management on local UNIX filesystems,
-from simple cut/copy and paste operations to advanced remote
-and local network file browsing.
-
-It is also the canvas for all the latest TDE technology,
-from KIO slaves (which provide mechanisms for file access) to
-component embedding via the KParts object interface, and it
-is one of the most customizable applications available.
-
-Konqueror is an Open Source web browser with HTML4.0 compliance,
-supporting Java applets, JavaScript, CSS1 and (partially) CSS2,
-as well as Netscape plugins (for example, Flash or RealVideo plugins).
-
-It is a universal viewing application, capable of embedding
-read-only viewing components in itself to view documents without
-ever launching another application.
-
-%files -n trinity-konqueror
-%defattr(-,root,root,-)
-%config(noreplace) %{_sysconfdir}/trinity/konqsidebartng.rc
-%{tde_bindir}/kbookmarkmerger
-%{tde_bindir}/keditbookmarks
-%{tde_bindir}/kfmclient
-%{tde_bindir}/konqueror
-%{tde_tdelibdir}/kcm_history.la
-%{tde_tdelibdir}/kcm_history.so
-%{tde_tdelibdir}/kded_konqy_preloader.la
-%{tde_tdelibdir}/kded_konqy_preloader.so
-%{tde_tdelibdir}/keditbookmarks.la
-%{tde_tdelibdir}/keditbookmarks.so
-%{tde_tdelibdir}/kfmclient.la
-%{tde_tdelibdir}/kfmclient.so
-%{tde_tdelibdir}/konq_aboutpage.la
-%{tde_tdelibdir}/konq_aboutpage.so
-%{tde_tdelibdir}/konq_iconview.la
-%{tde_tdelibdir}/konq_iconview.so
-%{tde_tdelibdir}/konq_listview.la
-%{tde_tdelibdir}/konq_listview.so
-%{tde_tdelibdir}/konq_remoteencoding.la
-%{tde_tdelibdir}/konq_remoteencoding.so
-%{tde_tdelibdir}/konq_shellcmdplugin.la
-%{tde_tdelibdir}/konq_shellcmdplugin.so
-%{tde_tdelibdir}/konq_sidebar.la
-%{tde_tdelibdir}/konq_sidebar.so
-%{tde_tdelibdir}/konq_sidebartree_bookmarks.la
-%{tde_tdelibdir}/konq_sidebartree_bookmarks.so
-%{tde_tdelibdir}/konq_sidebartree_dirtree.la
-%{tde_tdelibdir}/konq_sidebartree_dirtree.so
-%{tde_tdelibdir}/konq_sidebartree_history.la
-%{tde_tdelibdir}/konq_sidebartree_history.so
-%{tde_tdelibdir}/konqsidebar_tree.la
-%{tde_tdelibdir}/konqsidebar_tree.so
-%{tde_tdelibdir}/konqsidebar_web.la
-%{tde_tdelibdir}/konqsidebar_web.so
-%{tde_tdelibdir}/konqueror.la
-%{tde_tdelibdir}/konqueror.so
-%{tde_tdelibdir}/libtdehtmlkttsdplugin.la
-%{tde_tdelibdir}/libtdehtmlkttsdplugin.so
-%{tde_libdir}/libtdeinit_keditbookmarks.la
-%{tde_libdir}/libtdeinit_keditbookmarks.so
-%{tde_libdir}/libtdeinit_kfmclient.la
-%{tde_libdir}/libtdeinit_kfmclient.so
-%{tde_libdir}/libtdeinit_konqueror.la
-%{tde_libdir}/libtdeinit_konqueror.so
-%{tde_libdir}/libkonqsidebarplugin.so.*
-%{tde_tdeappdir}/Home.desktop
-%{tde_tdeappdir}/kcmhistory.desktop
-%{tde_tdeappdir}/kfmclient.desktop
-%{tde_tdeappdir}/kfmclient_dir.desktop
-%{tde_tdeappdir}/kfmclient_html.desktop
-%{tde_tdeappdir}/kfmclient_war.desktop
-%{tde_tdeappdir}/tdehtml_filter.desktop
-%{tde_tdeappdir}/konqbrowser.desktop
-%{tde_tdeappdir}/konquerorsu.desktop
-%{tde_datadir}/applnk/.hidden/konqfilemgr.desktop
-%{tde_datadir}/applnk/Internet/keditbookmarks.desktop
-%{tde_datadir}/applnk/konqueror.desktop
-%{tde_datadir}/apps/tdeconf_update/kfmclient_3_2.upd
-%{tde_datadir}/apps/tdeconf_update/kfmclient_3_2_update.sh
-%{tde_datadir}/apps/tdeconf_update/konqsidebartng.upd
-%{tde_datadir}/apps/tdeconf_update/move_konqsidebartng_entries.sh
-%{tde_datadir}/apps/keditbookmarks/
-%{tde_datadir}/apps/tdehtml/kpartplugins/
-%{tde_datadir}/apps/konqiconview/
-%{tde_datadir}/apps/konqlistview/
-%exclude %{tde_datadir}/apps/konqsidebartng/virtual_folders/services/fonts.desktop
-%{tde_datadir}/apps/konqsidebartng/
-%{tde_datadir}/apps/konqueror/about/
-%dir %{tde_datadir}/apps/konqueror/dirtree
-%dir %{tde_datadir}/apps/konqueror/dirtree/remote
-%{tde_datadir}/apps/konqueror/icons/
-%{tde_datadir}/apps/konqueror/konq-simplebrowser.rc
-%{tde_datadir}/apps/konqueror/konqueror.rc
-%{tde_datadir}/apps/konqueror/pics/indicator_connect.png
-%{tde_datadir}/apps/konqueror/pics/indicator_empty.png
-%{tde_datadir}/apps/konqueror/pics/indicator_noconnect.png
-%{tde_datadir}/apps/konqueror/pics/indicator_viewactive.png
-%{tde_datadir}/apps/konqueror/profiles/
-%exclude %{tde_datadir}/apps/konqueror/servicemenus/kdesktopSetAsBackground.desktop
-%exclude %{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop
-%exclude %{tde_datadir}/apps/konqueror/servicemenus/installfont.desktop
-%{tde_datadir}/apps/konqueror/servicemenus/*.desktop
-%ghost %{_sysconfdir}/alternatives/media_safelyremove.desktop
-%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase
-%{tde_datadir}/apps/konqueror/tiles/
-%{tde_datadir}/autostart/konqy_preload.desktop
-%{tde_datadir}/config.kcfg/keditbookmarks.kcfg
-%{tde_datadir}/config.kcfg/konq_listview.kcfg
-%{tde_datadir}/config.kcfg/konqueror.kcfg
-%{tde_datadir}/icons/crystalsvg/*/apps/keditbookmarks.png
-%{tde_datadir}/icons/crystalsvg/*/apps/kfm_home.svgz
-%{tde_datadir}/icons/hicolor/*/apps/kfm.png
-%{tde_datadir}/icons/hicolor/*/apps/konqueror.*
-%{tde_datadir}/services/kded/konqy_preloader.desktop
-%{tde_datadir}/services/konq_*.desktop
-%{tde_datadir}/servicetypes/konqaboutpage.desktop
-%{tde_tdedocdir}/HTML/en/konqueror/
-%{tde_tdedocdir}/HTML/en/keditbookmarks/
-
-%post -n trinity-konqueror
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in crystalsvg hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-/sbin/ldconfig || :
-if [ $1 -eq 1 ]; then
- update-alternatives --install \
- %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \
- media_safelyremove.desktop_konqueror \
- %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase \
- 10 || :
-fi
-
-%postun -n trinity-konqueror
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in crystalsvg hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-/sbin/ldconfig || :
-
-%preun -n trinity-konqueror
-if [ $1 -eq 0 ]; then
- update-alternatives --remove \
- media_safelyremove.desktop_konqueror \
- %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase || :
-fi
-
-##########
-
-%package -n trinity-konqueror-devel
-Summary: Development files for konqueror
-Group: Development/Libraries/Other
-Requires: trinity-konqueror = %{version}-%{release}
-
-%description -n trinity-konqueror-devel
-This package contains the development files for konqueror.
-
-%files -n trinity-konqueror-devel
-%defattr(-,root,root,-)
-%{tde_tdeincludedir}/konqsidebarplugin.h
-%{tde_tdeincludedir}/KonquerorIface.h
-%{tde_libdir}/libkonqsidebarplugin.la
-%{tde_libdir}/libkonqsidebarplugin.so
-
-%post -n trinity-konqueror-devel
-/sbin/ldconfig || :
-
-%postun -n trinity-konqueror-devel
-/sbin/ldconfig || :
-
-##########
-
-%package -n trinity-konqueror-nsplugins
-Summary: Netscape plugin support for Konqueror
-Group: System/GUI/Other
-Requires: trinity-konqueror = %{version}-%{release}
-
-%description -n trinity-konqueror-nsplugins
-This package includes support for Netscape plugins in Konqueror.
-
-%files -n trinity-konqueror-nsplugins
-%defattr(-,root,root,-)
-%{tde_bindir}/nspluginscan
-%{tde_bindir}/nspluginviewer
-%{tde_tdelibdir}/kcm_nsplugins.la
-%{tde_tdelibdir}/kcm_nsplugins.so
-%{tde_tdelibdir}/libnsplugin.la
-%{tde_tdelibdir}/libnsplugin.so
-%{tde_tdeappdir}/tdehtml_plugins.desktop
-%{tde_datadir}/apps/plugin/nspluginpart.rc
-
-%post -n trinity-konqueror-nsplugins
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-
-%postun -n trinity-konqueror-nsplugins
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-
-##########
-
-%package -n trinity-konsole
-Summary: X terminal emulator for TDE
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-
-%description -n trinity-konsole
-Konsole is an X terminal emulation which provides a command-line interface
-(CLI) while using the graphical Trinity Desktop Environment. Konsole helps to
-better organize user's desktop by containing multiple sessions in a single
-window (a less cluttered desktop).
-
-Its advanced features include a simple configuration and the ability to use
-multiple terminal shells in a single window
-
-Using Konsole, a user can open:
-* Linux console sessions
-* Midnight Commander file manager sessions
-* Shell sessions
-* Root consoles sessions
-
-%files -n trinity-konsole
-%defattr(-,root,root,-)
-%{tde_bindir}/konsole
-%{tde_tdelibdir}/kcm_konsole.la
-%{tde_tdelibdir}/kcm_konsole.so
-%{tde_tdelibdir}/kded_kwrited.la
-%{tde_tdelibdir}/kded_kwrited.so
-%{tde_tdelibdir}/konsole.la
-%{tde_tdelibdir}/konsole.so
-%{tde_tdelibdir}/libkonsolepart.la
-%{tde_tdelibdir}/libkonsolepart.so
-%{tde_libdir}/libtdeinit_konsole.la
-%{tde_libdir}/libtdeinit_konsole.so
-%{tde_tdeappdir}/konsole.desktop
-%{tde_tdeappdir}/konsolesu.desktop
-%{tde_datadir}/applnk/.hidden/kcmkonsole.desktop
-%{tde_datadir}/apps/tdeconf_update/konsole.upd
-%{tde_datadir}/apps/tdeconf_update/schemaStrip.pl
-%{tde_datadir}/apps/konqueror/servicemenus/konsolehere.desktop
-%{tde_datadir}/apps/konsole/
-%{tde_datadir}/icons/hicolor/*/apps/konsole.*
-%{tde_datadir}/mimelnk/application/x-konsole.desktop
-%{tde_datadir}/services/kded/kwrited.desktop
-%{tde_datadir}/services/konsolepart.desktop
-%{tde_datadir}/services/konsole-script.desktop
-%{tde_datadir}/services/kwrited.desktop
-%{tde_datadir}/servicetypes/terminalemulator.desktop
-%{tde_tdedocdir}/HTML/en/konsole/
-%{tde_tdedocdir}/HTML/en/kcontrol/kcmkonsole/
-%config %{_sysconfdir}/fonts/conf.d/99-konsole.conf
-
-%post -n trinity-konsole
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-/sbin/ldconfig || :
-
-%postun -n trinity-konsole
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-/sbin/ldconfig || :
-
-##########
-
-%package -n trinity-kpager
-Summary: Desktop pager for TDE
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-
-%description -n trinity-kpager
-This package contains TDE's desktop pager, which displays your virtual
-desktops iconically in a window, along with icons of any running
-applications. It is used to switch between applications or desktops.
-
-%files -n trinity-kpager
-%defattr(-,root,root,-)
-%{tde_bindir}/kpager
-%{tde_tdeappdir}/kpager.desktop
-%{tde_datadir}/applnk/Utilities/kpager.desktop
-%{tde_datadir}/icons/hicolor/*/apps/kpager.png
-%{tde_tdedocdir}/HTML/en/kpager/
-
-%post -n trinity-kpager
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-
-%postun -n trinity-kpager
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-
-##########
-
-%package -n trinity-kpersonalizer
-Summary: Installation personalizer for TDE
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-
-%description -n trinity-kpersonalizer
-TDE Personalizer is the application that configures the TDE desktop for you.
-It's a very useful wizard that allows you to quickly change the TDE desktop to
-suit your own needs. When you run TDE for the first time, KPersonalizer is
-automatically started. KPersonalizer can also be called later.
-
-%files -n trinity-kpersonalizer
-%defattr(-,root,root,-)
-%{tde_bindir}/kpersonalizer
-%{tde_tdeappdir}/kpersonalizer.desktop
-%{tde_datadir}/applnk/System/kpersonalizer.desktop
-%{tde_datadir}/apps/kpersonalizer/
-%{tde_datadir}/icons/crystalsvg/*/apps/kpersonalizer.png
-
-%post -n trinity-kpersonalizer
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in crystalsvg ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-
-%postun -n trinity-kpersonalizer
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in crystalsvg ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-
-##########
-
-%package -n trinity-ksmserver
-Summary: Session manager for TDE
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-Requires: trinity-twin = %{version}-%{release}
-
-%description -n trinity-ksmserver
-This package contains the TDE session manager. It is responsible for
-restoring your TDE session on login. It is also needed to properly
-start a TDE session. It registers TDE with X display managers, and
-provides the 'starttde' command, for starting an X session with TDE
-from the console.
-
-If you are running TDE for the first time for a certain user,
-kpersonalizer is used to help with setup. If it is not present,
-TDE will start, but many good defaults will not be set.
-
-%files -n trinity-ksmserver
-%defattr(-,root,root,-)
-%{tde_bindir}/ksmserver
-%{tde_bindir}/%{starttde}
-%{tde_bindir}/migratekde3
-%{tde_bindir}/r14-xdg-update
-%{tde_bindir}/tdeinit_displayconfig
-%{tde_bindir}/tdeinit_phase1
-%{tde_tdelibdir}/ksmserver.la
-%{tde_tdelibdir}/ksmserver.so
-%{tde_libdir}/libtdeinit_ksmserver.la
-%{tde_libdir}/libtdeinit_ksmserver.so
-%{tde_datadir}/apps/tdeconf_update/ksmserver.upd
-%{tde_datadir}/apps/tdeconf_update/move_session_config.sh
-%{tde_datadir}/apps/ksmserver/
-
-%post -n trinity-ksmserver
-/sbin/ldconfig || :
-%if 0%{?mdkversion} || 0%{?mgaversion}
-fndSession
-%endif
-
-%postun -n trinity-ksmserver
-/sbin/ldconfig || :
-%if 0%{?mdkversion} || 0%{?mgaversion}
-fndSession
-%endif
-
-##########
-
-%package -n trinity-ksplash
-Summary: The TDE splash screen
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-
-%description -n trinity-ksplash
-This package includes the TDE Splash screen, which is seen when
-a TDE session is launched.
-
-%files -n trinity-ksplash
-%defattr(-,root,root,-)
-%{tde_bindir}/ksplash
-%{tde_bindir}/ksplashsimple
-%{tde_tdelibdir}/kcm_ksplashthemes.la
-%{tde_tdelibdir}/kcm_ksplashthemes.so
-%{tde_tdelibdir}/ksplashdefault.la
-%{tde_tdelibdir}/ksplashdefault.so
-%{tde_tdelibdir}/ksplashunified.la
-%{tde_tdelibdir}/ksplashunified.so
-%{tde_tdelibdir}/ksplashredmond.la
-%{tde_tdelibdir}/ksplashredmond.so
-%{tde_tdelibdir}/ksplashstandard.la
-%{tde_tdelibdir}/ksplashstandard.so
-%{tde_libdir}/libksplashthemes.so.*
-%{tde_tdeappdir}/ksplashthememgr.desktop
-%{tde_datadir}/apps/ksplash
-%{tde_datadir}/services/ksplashdefault.desktop
-%{tde_datadir}/services/ksplash.desktop
-%{tde_datadir}/services/ksplashunified.desktop
-%{tde_datadir}/services/ksplashredmond.desktop
-%{tde_datadir}/services/ksplashstandard.desktop
-%{tde_datadir}/servicetypes/ksplashplugins.desktop
-%{tde_tdedocdir}/HTML/en/ksplashml/
-
-%post -n trinity-ksplash
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-/sbin/ldconfig || :
-
-%postun -n trinity-ksplash
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-/sbin/ldconfig || :
-
-##########
-
-%package -n trinity-ksplash-devel
-Summary: Development files for ksplash
-Group: Development/Libraries/Other
-Requires: trinity-ksplash = %{version}-%{release}
-
-%description -n trinity-ksplash-devel
-This package contains the development files for ksplash.
-
-%files -n trinity-ksplash-devel
-%defattr(-,root,root,-)
-%{tde_tdeincludedir}/ksplash/
-%{tde_libdir}/libksplashthemes.la
-%{tde_libdir}/libksplashthemes.so
-
-%post -n trinity-ksplash-devel
-/sbin/ldconfig || :
-
-%postun -n trinity-ksplash-devel
-/sbin/ldconfig || :
-
-##########
-
-%package -n trinity-ksysguard
-Summary: System guard for TDE
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-Requires: trinity-ksysguardd = %{version}-%{release}
-
-%description -n trinity-ksysguard
-TDE System Guard allows you to monitor various statistics about your
-computer.
-
-%files -n trinity-ksysguard
-%defattr(-,root,root,-)
-%{tde_bindir}/kpm
-%{tde_bindir}/ksysguard
-%{tde_tdelibdir}/sysguard_panelapplet.la
-%{tde_tdelibdir}/sysguard_panelapplet.so
-%{tde_libdir}/libksgrd.so.*
-%{tde_tdeappdir}/ksysguard.desktop
-%{tde_datadir}/apps/kicker/applets/ksysguardapplet.desktop
-%{tde_datadir}/apps/ksysguard/
-%{tde_datadir}/icons/crystalsvg/*/apps/ksysguard.png
-%{tde_datadir}/mimelnk/application/x-ksysguard.desktop
-%{tde_tdedocdir}/HTML/en/ksysguard/
-
-%post -n trinity-ksysguard
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in crystalsvg ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-/sbin/ldconfig || :
-
-%postun -n trinity-ksysguard
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in crystalsvg ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-/sbin/ldconfig || :
-
-##########
-
-%package -n trinity-ksysguard-devel
-Summary: Development files for ksysguard
-Group: Development/Libraries/Other
-Requires: trinity-ksysguard = %{version}-%{release}
-
-%description -n trinity-ksysguard-devel
-This package contains the development files for ksysguard.
-
-%files -n trinity-ksysguard-devel
-%defattr(-,root,root,-)
-%{tde_tdeincludedir}/ksgrd/
-%{tde_libdir}/libksgrd.la
-%{tde_libdir}/libksgrd.so
-
-%post -n trinity-ksysguard-devel
-/sbin/ldconfig || :
-
-%postun -n trinity-ksysguard-devel
-/sbin/ldconfig || :
-
-##########
-
-%package -n trinity-ksysguardd
-Summary: System guard daemon for TDE
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-
-%description -n trinity-ksysguardd
-TDE System Guard Daemon is the daemon part of ksysguard. The daemon can
-be installed on a remote machine to enable ksysguard on another machine
-to monitor it through the daemon running there.
-
-%files -n trinity-ksysguardd
-%defattr(-,root,root,-)
-%{tde_bindir}/ksysguardd
-%config(noreplace) %{_sysconfdir}/trinity/ksysguarddrc
-
-##########
-
-%package -n trinity-ktip
-Summary: Useful tips for TDE
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-
-%description -n trinity-ktip
-ktip provides many useful tips on using TDE when you log in.
-
-%files -n trinity-ktip
-%defattr(-,root,root,-)
-%{tde_bindir}/ktip
-%{tde_tdeappdir}/ktip.desktop
-%{tde_datadir}/applnk/Toys/ktip.desktop
-%{tde_datadir}/apps/tdewizard/
-%{tde_datadir}/autostart/ktip.desktop
-%{tde_datadir}/icons/hicolor/*/apps/ktip.*
-
-%post -n trinity-ktip
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-
-%postun -n trinity-ktip
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-
-##########
-
-%package -n trinity-twin
-Summary: The TDE window manager
-Group: System/GUI/Other
-Requires: %{name}-data = %{version}-%{release}
-
-%description -n trinity-twin
-This package contains the default X window manager for TDE.
-
-%files -n trinity-twin
-%defattr(-,root,root,-)
-%{tde_bindir}/twin
-%{tde_bindir}/twin_killer_helper
-%{tde_bindir}/twin_resumer_helper
-%{tde_bindir}/twin_rules_dialog
-%{tde_libdir}/tdeconf_update_bin/twin_update_default_rules
-%{tde_libdir}/tdeconf_update_bin/twin_update_window_settings
-%{tde_tdelibdir}/kcm_twin*.la
-%{tde_tdelibdir}/kcm_twin*.so
-%{tde_tdelibdir}/twin*.la
-%{tde_tdelibdir}/twin*.so
-%{tde_libdir}/libtdecorations.so.*
-%{tde_libdir}/libtdeinit_twin_rules_dialog.la
-%{tde_libdir}/libtdeinit_twin_rules_dialog.so
-%{tde_libdir}/libtdeinit_twin.la
-%{tde_libdir}/libtdeinit_twin.so
-%{tde_tdeappdir}/showdesktop.desktop
-%{tde_tdeappdir}/twindecoration.desktop
-%{tde_tdeappdir}/twinoptions.desktop
-%{tde_tdeappdir}/twinrules.desktop
-%{tde_datadir}/applnk/.hidden/twinactions.desktop
-%{tde_datadir}/applnk/.hidden/twinadvanced.desktop
-%{tde_datadir}/applnk/.hidden/twinfocus.desktop
-%{tde_datadir}/applnk/.hidden/twinmoving.desktop
-%{tde_datadir}/applnk/.hidden/twintranslucency.desktop
-%{tde_datadir}/apps/tdeconf_update/twin3_plugin.pl
-%{tde_datadir}/apps/tdeconf_update/twin3_plugin.upd
-%{tde_datadir}/apps/tdeconf_update/twin_focus1.sh
-%{tde_datadir}/apps/tdeconf_update/twin_focus1.upd
-%{tde_datadir}/apps/tdeconf_update/twin_focus2.sh
-%{tde_datadir}/apps/tdeconf_update/twin_focus2.upd
-%{tde_datadir}/apps/tdeconf_update/twin_fsp_workarounds_1.upd
-%{tde_datadir}/apps/tdeconf_update/twiniconify.upd
-%{tde_datadir}/apps/tdeconf_update/twinsticky.upd
-%{tde_datadir}/apps/tdeconf_update/twin.upd
-%{tde_datadir}/apps/tdeconf_update/twinupdatewindowsettings.upd
-%{tde_datadir}/apps/tdeconf_update/pluginlibFix.pl
-%{tde_datadir}/apps/twin/
-%{tde_datadir}/config.kcfg/twin.kcfg
-%{tde_datadir}/icons/crystalsvg/*/apps/twin.png
-%{tde_tdedocdir}/HTML/en/kompmgr/
-
-%post -n trinity-twin
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in crystalsvg ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-/sbin/ldconfig || :
-
-%postun -n trinity-twin
-update-desktop-database %{tde_appdir} 2> /dev/null || :
-for f in crystalsvg ; do
- touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null || :
- gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
-done
-/sbin/ldconfig || :
-
-##########
-
-%package -n trinity-twin-devel
-Summary: Development files for twin
-Group: Development/Libraries/Other
-Requires: trinity-twin = %{version}-%{release}
-
-%description -n trinity-twin-devel
-This package contains the development files for twin.
-
-%files -n trinity-twin-devel
-%defattr(-,root,root,-)
-%{tde_tdeincludedir}/twin/
-%{tde_tdeincludedir}/kcommondecoration.h
-%{tde_tdeincludedir}/kdecoration.h
-%{tde_tdeincludedir}/kdecoration_p.h
-%{tde_tdeincludedir}/kdecoration_plugins_p.h
-%{tde_tdeincludedir}/kdecorationfactory.h
-%{tde_tdeincludedir}/KWinInterface.h
-%{tde_libdir}/libtdecorations.la
-%{tde_libdir}/libtdecorations.so
-
-%post -n trinity-twin-devel
-/sbin/ldconfig || :
-
-%postun -n trinity-twin-devel
-/sbin/ldconfig || :
-
-##########
-
-%package -n trinity-libkonq
-Summary: Core libraries for Konqueror
-Group: System/GUI/Other
-
-%description -n trinity-libkonq
-These libraries are used by several TDE applications, most notably
-Konqueror and the kdesktop package.
-
-%files -n trinity-libkonq
-%defattr(-,root,root,-)
-%{tde_tdelibdir}/kded_favicons.la
-%{tde_tdelibdir}/kded_favicons.so
-%{tde_tdelibdir}/konq_sound.la
-%{tde_tdelibdir}/konq_sound.so
-%{tde_libdir}/libkonq.so.*
-%{tde_datadir}/apps/kbookmark/
-%{tde_datadir}/apps/tdeconf_update/favicons.upd
-%{tde_datadir}/apps/tdeconf_update/move_favicons.sh
-%dir %{tde_datadir}/apps/konqueror/pics
-%{tde_datadir}/apps/konqueror/pics/arrow_bottomleft.png
-%{tde_datadir}/apps/konqueror/pics/arrow_bottomright.png
-%{tde_datadir}/apps/konqueror/pics/arrow_topleft.png
-%{tde_datadir}/apps/konqueror/pics/arrow_topright.png
-%{tde_datadir}/apps/konqueror/pics/thumbnailfont_7x4.png
-%{tde_datadir}/services/kded/favicons.desktop
-%{tde_datadir}/servicetypes/konqpopupmenuplugin.desktop
-
-%post -n trinity-libkonq
-/sbin/ldconfig || :
-
-%postun -n trinity-libkonq
-/sbin/ldconfig || :
-
-##########
-
-%package libtqt3-integration
-Summary: Integration library between TQt3 and TDE
-Group: System/GUI/Other
-
-Obsoletes: tdebase-libtqt3-integration < %{version}-%{release}
-Provides: tdebase-libtqt3-integration = %{version}-%{release}
-
-%description libtqt3-integration
-These libraries allow you to use TDE dialogs in native TQt3 applications.
-
-%files libtqt3-integration
-%defattr(-,root,root,-)
-%dir %{tde_tdelibdir}/plugins/integration
-%{tde_tdelibdir}/plugins/integration/libqtkde.la
-%{tde_tdelibdir}/plugins/integration/libqtkde.so
-%{tde_tdelibdir}/plugins/integration/libqtkde.so.*
-%{tde_tdelibdir}/kded_kdeintegration.la
-%{tde_tdelibdir}/kded_kdeintegration.so
-%{tde_datadir}/services/kded/kdeintegration.desktop
-
-##########
-
-%package -n trinity-libkonq-devel
-Summary: Development files for Konqueror's core libraries
-Group: Development/Libraries/Other
-Requires: trinity-libkonq = %{version}-%{release}
-%{?xtst_devel:Requires: %{xtst_devel}}
-
-%description -n trinity-libkonq-devel
-This package contains headers and other development files for the core
-Konqueror libraries.
-
-%files -n trinity-libkonq-devel
-%defattr(-,root,root,-)
-%{tde_tdeincludedir}/tdefileivi.h
-%{tde_tdeincludedir}/kivdirectoryoverlay.h
-%{tde_tdeincludedir}/kivfreespaceoverlay.h
-%{tde_tdeincludedir}/knewmenu.h
-%{tde_tdeincludedir}/konqbookmarkmanager.h
-%{tde_tdeincludedir}/konq_*.h
-%{tde_tdeincludedir}/libkonq_export.h
-%{tde_libdir}/libkonq.la
-%{tde_libdir}/libkonq.so
-
-%post -n trinity-libkonq-devel
-/sbin/ldconfig || :
-
-%postun -n trinity-libkonq-devel
-/sbin/ldconfig || :
-
-##########
-
-%package tdeio-smb-plugin
-Summary: Windows Connection Module for TDE
-Group: System/GUI/Other
-
-%description tdeio-smb-plugin
-This package provides the "smb://" protocol, to connect to and from
-Windows and Samba shares.
-
-%files tdeio-smb-plugin
-%defattr(-,root,root)
-%{tde_tdelibdir}/kcm_samba.la
-%{tde_tdelibdir}/kcm_samba.so
-%{tde_tdelibdir}/tdeio_smb.la
-%{tde_tdelibdir}/tdeio_smb.so
-%{tde_datadir}/services/smb.protocol
-%{tde_datadir}/apps/konqueror/dirtree/remote/smb-network.desktop
-%dir %{tde_datadir}/apps/remoteview
-%{tde_datadir}/apps/remoteview/smb-network.desktop
-%{tde_datadir}/mimelnk/application/x-smb-workgroup.desktop
-
-##########
-
-%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
-%debug_package
-%endif
-
-##########
-
-%prep
-%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
-
-# Applies an optional distro-specific graphical theme
-%if "%{?tde_bg}" != ""
-# TDM Background
-%__sed -i "%{tdm}/kfrontend/gen%{tdm}conf.c" \
- -e 's|"Wallpaper=isadora.png\n"|"Wallpaper=%{tde_bg}\n"|'
-
-# TDE user default background
-%__sed -i "kpersonalizer/keyecandypage.cpp" \
- -e 's|#define DEFAULT_WALLPAPER "isadora.png"|#define DEFAULT_WALLPAPER "%{tde_bg}"|'
-%__sed -i "%{starttde}" \
- -e 's|$TDEDIR/share/wallpapers/Trinity-lineart.svg.desktop|%{tde_bg}|' \
- -e 's|Wallpaper=Trinity-lineart.svg|Wallpaper=%{tde_bg}|'
-%endif
-
-# TDE default directory and icon in startup script
-%__sed -i "%{starttde}" \
- -e "s|/opt/trinity|%{tde_prefix}|g"
-
-# Sets default TDE menu icon
-%if "%{tde_starticon}" != ""
-%__sed -i "kicker/libkicker/kickerSettings.kcfg" \
- -e "s|QString(\"kmenu\")|QString(\"%{tde_starticon}\")|"
-%endif
-
-# Xsession script location may vary on some distro
-%if 0%{?rhel} || 0%{?fedora}
-%__sed -i "%{tdm}/kfrontend/gen%{tdm}conf.c" -e "s|/etc/X11/Xsession|/etc/X11/xinit/Xsession|"
-%endif
-%if 0%{?suse_version}
-%__sed -i "%{tdm}/kfrontend/gen%{tdm}conf.c" -e "s|/etc/X11/Xsession|/etc/X11/xdm/Xsession|"
-%endif
-
-# Reboot command location may vary on some distributions
-if [ -x "/usr/bin/reboot" ]; then
- POWEROFF="/usr/bin/poweroff"
- REBOOT="/usr/bin/reboot"
-fi
-if [ -n "${REBOOT}" ]; then
- %__sed -i \
- "doc/%{tdm}/%{tdm}rc-ref.docbook" \
- "kcontrol/%{tdm}/%{tdm}-shut.cpp" \
- "%{tdm}/config.def" \
- -e "s|/sbin/poweroff|${POWEROFF}|g" \
- -e "s|/sbin/reboot|${REBOOT}|g"
-fi
-
-# Update icons for some control center modules
-%__sed -i "kcontrol/componentchooser/componentchooser.desktop" -e "s|^Icon=.*|Icon=kcmcomponentchooser|"
-%__sed -i "kcontrol/taskbar/kcmtaskbar.desktop" -e "s|^Icon=.*|Icon=kcmtaskbar|"
-%__sed -i "kcontrol/nics/nic.desktop" -e "s|^Icon=.*|Icon=kcmnic|"
-%__sed -i "kcontrol/input/mouse.desktop" -e "s|^Icon=.*|Icon=kcmmouse|"
-%__sed -i "kcontrol/smserver/kcmsmserver.desktop" -e "s|^Icon=.*|Icon=kcmsmserver|"
-%__sed -i "kcontrol/kded/kcmkded.desktop" -e "s|^Icon=.*|Icon=kcmkded|"
-%__sed -i "kcontrol/konq/desktop.desktop" -e "s|^Icon=.*|Icon=kcmdesktop|"
-%__sed -i "kcontrol/konq/desktopbehavior.desktop" -e "s|^Icon=.*|Icon=kcmdesktopbehavior|"
-%__sed -i "kcontrol/privacy/privacy.desktop" -e "s|^Icon=.*|Icon=kcmprivacy|"
-%__sed -i "kcontrol/crypto/crypto.desktop" -e "s|^Icon=.*|Icon=kcmcrypto|"
-%__sed -i "kcontrol/tdeio/netpref.desktop" -e "s|^Icon=.*|Icon=kcmnetpref|"
-%__sed -i "kcontrol/konqhtml/tdehtml_filter.desktop" -e "s|^Icon=.*|Icon=kcmkhtml_filter|"
-%__sed -i "kcontrol/joystick/joystick.desktop" -e "s|^Icon=.*|Icon=kcmjoystick|"
-%__sed -i "kcontrol/colors/colors.desktop" -e "s|^Icon=.*|Icon=kcmcolors|"
-%__sed -i "kcontrol/performance/kcmperformance.desktop" -e "s|^Icon=.*|Icon=kcmperformance|"
-%__sed -i "kcontrol/launch/kcmlaunch.desktop" -e "s|^Icon=.*|Icon=kcmlaunch|"
-%__sed -i "kcontrol/dnssd/kcm_tdednssd.desktop" -e "s|^Icon=.*|Icon=kcmkdnssd|"
-%__sed -i "kcontrol/spellchecking/spellchecking.desktop" -e "s|^Icon=.*|Icon=kcmspellchecking|"
-%__sed -i "konqueror/sidebar/trees/history_module/kcmhistory.desktop" -e "s|^Icon=.*|Icon=kcmhistory|"
-%__sed -i "tdeioslave/cgi/kcmcgi/kcmcgi.desktop" -e "s|^Icon=.*|Icon=kcmcgi|"
-%__sed -i "tdeioslave/media/tdecmodule/media.desktop" -e "s|^Icon=.*|Icon=kcmmedia|"
-
-# RHEL 5 does not support 'compton'
-%if 0%{?with_compton} == 0
-%__sed -i "twin/CMakeLists.txt" -e "/compton-tde/ s/^/#/"
-%endif
-
-
-%build
-unset QTDIR QTINC QTLIB
-export PATH="%{tde_bindir}:${PATH}"
-export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
-export TDEDIR="%{tde_prefix}"
-
-# Samba 4.0 includes (Fedora 18)
-if [ -d "/usr/include/samba-4.0" ]; then
- export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH}:/usr/include/samba-4.0"
-fi
-
-if ! rpm -E %%cmake|grep -q "cd build"; then
- %__mkdir_p build
- cd build
-fi
-
-%cmake \
- -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
- -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
- -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
- -DCMAKE_SKIP_RPATH=OFF \
- -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
- -DCMAKE_NO_BUILTIN_CHRPATH=ON \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
- -DWITH_GCC_VISIBILITY=ON \
- \
- -DBIN_INSTALL_DIR="%{tde_bindir}" \
- -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
- -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
- -DLIB_INSTALL_DIR="%{tde_libdir}" \
- -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
- -DCONFIG_INSTALL_DIR="%{_sysconfdir}/trinity" \
- -DSYSCONF_INSTALL_DIR="%{_sysconfdir}/trinity" \
- -DXDG_MENU_INSTALL_DIR="%{_sysconfdir}/xdg/menus" \
- \
- -DWITH_ALL_OPTIONS=ON \
- -DWITH_SASL=ON \
- -DWITH_LDAP=ON \
- -DWITH_SAMBA=ON \
- %{?!with_exr:-DWITH_OPENEXR=OFF} \
- -DWITH_XCOMPOSITE=ON \
- -DWITH_XCURSOR=ON \
- -DWITH_XFIXES=ON \
- %{?!with_xrandr:-DWITH_XRANDR=OFF} \
- -DWITH_XRENDER=ON \
- -DWITH_XDAMAGE=ON \
- -DWITH_XEXT=ON \
- %{?!with_xtest:-DWITH_XTEST=OFF} \
- -DWITH_OPENGL=ON \
- %{?!with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \
- %{?!with_libart:-DWITH_LIBART=OFF} \
- -DWITH_LIBUSB=ON \
- -DWITH_LIBRAW1394=ON \
- -DWITH_SUDO_TDESU_BACKEND=OFF \
- -DWITH_PAM=ON \
- -DWITH_SHADOW=OFF \
- -DWITH_XDMCP=ON \
- -DWITH_XINERAMA=ON \
- -DWITH_ARTS=ON \
- -DWITH_I8K=ON \
- -DWITH_SENSORS=ON \
- %{?with_hal:-DWITH_HAL=ON} \
- %{?!with_tdehwlib:-DWITH_TDEHWLIB=OFF} \
- -DWITH_ELFICON=OFF \
- -DWITH_UPOWER=ON \
- \
- -DBUILD_ALL=ON \
-%if 0%{?suse_version}
- -DKCHECKPASS_PAM_SERVICE="xdm" \
- -DTDM_PAM_SERVICE="xdm" \
- -DTDESCREENSAVER_PAM_SERVICE="xdm" \
-%else
- -DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \
- -DTDM_PAM_SERVICE="tdm-trinity" \
- -DTDESCREENSAVER_PAM_SERVICE="tdescreensaver-trinity" \
-%endif
- %{!?with_kbdledsync:-DBUILD_TDEKBDLEDSYNC=OFF} \
- %{!?with_tsak:-DBUILD_TSAK=OFF} \
-%if 0%{?fedora} >= 22
- -DHTDIG_SEARCH_BINARY="/usr/bin/htdig" \
-%endif
- ..
-
-%__make %{?_smp_mflags} || %__make
-
-
-%install
-%__rm -rf %{?buildroot}
-%__make install DESTDIR=%{?buildroot} -C build
-
-# Removes obsolete Beagle-related files
-%__rm -f %{?buildroot}%{tde_bindir}/khc_beagle_index.pl
-%__rm -f %{?buildroot}%{tde_bindir}/khc_beagle_search.pl
-
-# Adds a GDM/KDM/XDM session called 'TDE'
-
-# Under RHEL/Fedora/Suse, static 'xsessions' files go to '/usr/share/xsessions'.
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
-%__install -D -m 644 \
- "%{?buildroot}%{tdm_datadir}/sessions/tde.desktop" \
- "%{?buildroot}%{_datadir}/xsessions/tde.desktop"
-%endif
-
-# Mageia/Mandriva/PCLinuxOS stores its session file in different folder than RHEL/Fedora
-# Generated files for TDM/KDM4 go to '/usr/share/apps/kdm/sessions'
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%__install -d -m 755 %{?buildroot}%{_sysconfdir}/X11/wmsession.d
-cat <<EOF >"%{?buildroot}%{_sysconfdir}/X11/wmsession.d/45TDE"
-NAME=TDE
-ICON=kde-wmsession.xpm
-DESC=The Trinity Desktop Environment
-EXEC=%{tde_bindir}/%{starttde}
-SCRIPT:
-exec %{tde_bindir}/%{starttde}
-EOF
-
-%__install -d -m 755 %{?buildroot}%{_datadir}/X11/dm.d
-cat <<EOF >"%{?buildroot}%{_datadir}/X11/dm.d/45TDE.conf"
-NAME=TDM
-DESCRIPTION=TDM (Trinity Display Manager)
-PACKAGE=trinity-tdm
-EXEC=%{tde_bindir}/%{tdm}
-%if 0%{?pclinuxos}
-FNDSESSION_EXEC="/usr/sbin/chksession -k"
-%else
-FNDSESSION_EXEC="/usr/sbin/chksession --generate=/usr/share/xsessions"
-%endif
-EOF
-%endif
-
-# PAM configuration files (except openSUSE)
-%if 0%{?suse_version} == 0
-%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/tdm-trinity"
-%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/tdm-trinity-np"
-%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity"
-%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/tdescreensaver-trinity"
-%endif
-
-# TDM configuration
-%__sed -i "%{?buildroot}%{_sysconfdir}/trinity/%{tdm}/%{tdm}rc" \
-%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1210 || 0%{?rhel} >= 7
- -e "s/^#*MinShowUID=.*/MinShowUID=1000/"
-%else
- -e "s/^#*MinShowUID=.*/MinShowUID=500/"
-%endif
-
-# Symlinks 'usb.ids' (Use system-provided version, not TDE provided version)
-if [ -r "/usr/share/usb.ids" ]; then
- %__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids"
- %__ln_s -f "/usr/share/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids"
-elif [ -r "/usr/share/hwdata/usb.ids" ]; then
- %__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids"
- %__ln_s -f "/usr/share/hwdata/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids"
-fi
-
-# Makes 'media_safelyremove.desktop' an alternative.
-# This allows the use of 'tdeio-umountwrapper' package.
-%__mv -f "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop" "%{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase"
-%__mkdir_p "%{buildroot}%{_sysconfdir}/alternatives"
-%__ln_s "media_safelyremove.desktop_tdebase" "%{buildroot}%{_sysconfdir}/alternatives/media_safelyremove.desktop"
-
-# SUSE >= 12 : creates DM config file, used by '/etc/init.d/xdm'
-# You must set 'DISPLAYMANAGER=tdm' in '/etc/sysconfig/displaymanager'
-%if 0%{?suse_version} >= 1210
-%__install -D -m 644 "%{SOURCE6}" "%{?buildroot}/usr/lib/X11/displaymanagers/tdm"
-%__sed -i "%{?buildroot}/usr/lib/X11/displaymanagers/tdm" -e "s|/opt/trinity/bin|%{tde_bindir}|g"
-%endif
-
-# Fedora 18 / RHEL 7: no more SYSV init script, we have to use systemd to launch TDM.
-%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
-%__install -D -m 644 "%{SOURCE7}" "%{?buildroot}/usr/lib/systemd/system/tdm.service"
-%__sed -i "s|kdm|tdm|g" "%{?buildroot}/usr/lib/systemd/system/tdm.service"
-%endif
-
-# SELINUX policy for RHEL / Fedora
-%if 0%{?with_selinux_policy}
-%__install -D -m 644 "%{SOURCE8}" "%{?buildroot}%{?_sysconfdir}/trinity/%{tdm}/tdm.pp"
-%endif
-
-# Mageia icon for TDE menu
-%if 0%{?mgaversion} >= 3
-%__install -D -m 644 "%{SOURCE9}" "%{?buildroot}%{tde_datadir}/oxygen/scalable/mgabutton.svg"
-%endif
-
-# openSUSE 11.4: tdm startup script
-%if 0%{?suse_version} == 1140
-%__install -D -m 755 "%{SOURCE7}" "%{?buildroot}%{?_sysconfdir}/init.d/xdm.tde"
-%endif
-
-# Console font to fontconfig
-%__mkdir_p "%{buildroot}%{_sysconfdir}/fonts/conf.d"
-cat <<EOF >"%{buildroot}%{_sysconfdir}/fonts/conf.d/99-konsole.conf"
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
-<fontconfig>
- <!-- Font directory list -->
- <dir>%{tde_datadir}/apps/konsole/fonts</dir>
-</fontconfig>
-EOF
-
-# logrotate configuration
-mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d
-cat << EOF > "%{buildroot}%{_sysconfdir}/logrotate.d/trinity-tdm"
-/var/log/tdm.log {
- weekly
- notifempty
- missingok
- nocompress
-}
-EOF
-
-# Move faces icon to XDG directory '/usr/share/faces'
-if [ ! -d "%{?buildroot}%{_datadir}/faces" ]; then
- %__mkdir_p "%{?buildroot}%{_datadir}/faces"
- %__mv -f "%{?buildroot}%{tdm_datadir}/pics/users/"* "%{?buildroot}%{_datadir}/faces"
- rmdir "%{?buildroot}%{tdm_datadir}/pics/users"
-fi
-%__ln_s "%{_datadir}/faces" "%{?buildroot}%{tdm_datadir}/pics/users"
-
-# Adds missing icons in 'hicolor' theme
-# These icons are copied from 'crystalsvg' theme, provided by 'tdelibs'.
-%__mkdir_p "%{?buildroot}%{tde_datadir}/icons/hicolor/"{16x16,22x22,32x32,48x48,64x64,128x128}"/apps/"
-pushd "%{?buildroot}%{tde_datadir}/icons"
-for i in {16,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/mimetypes/application-vnd.tde.misc.png hicolor/"$i"x"$i"/apps/kcmcomponentchooser.png ;done
-for i in {16,22,32,48,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/launch.png hicolor/"$i"x"$i"/apps/kcmperformance.png ;done
-for i in 16; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/services.png hicolor/"$i"x"$i"/apps/kcmkded.png ;done
-for i in {16,22,32,48}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/system-log-out.png hicolor/"$i"x"$i"/apps/kcmsmserver.png ;done
-for i in {16,22,32}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/tools-check-spelling.png hicolor/"$i"x"$i"/apps/kcmspellchecking.png ;done
-for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/desktop.png hicolor/"$i"x"$i"/apps/kcmdesktopbehavior.png ;done
-for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/desktop.png hicolor/"$i"x"$i"/apps/kcmdesktop.png ;done
-for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/apps/kmenu.png hicolor/"$i"x"$i"/apps/kcmtaskbar.png ;done
-for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/mimetypes/application-x-kcsrc.png hicolor/"$i"x"$i"/apps/kcmcolors.png ;done
-for i in {16,22,32,48,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/launch.png hicolor/"$i"x"$i"/apps/kcmlaunch.png ;done
-for i in {16,22,32}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/filter.png hicolor/"$i"x"$i"/apps/kcmkhtml_filter.png ;done
-for i in {16,22,32}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/system-run.png hicolor/"$i"x"$i"/apps/kcmcgi.png ;done
-for i in {16,22}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/history.png hicolor/"$i"x"$i"/apps/kcmhistory.png ;done
-for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/network.png hicolor/"$i"x"$i"/apps/kcmnetpref.png ;done
-for i in {16,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/blockdevice.png hicolor/"$i"x"$i"/apps/kcmkdnssd.png ;done
-for i in {16,22,32,48,64}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/input-joystick.png hicolor/"$i"x"$i"/apps/kcmjoystick.png ;done
-for i in {16,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/input-mouse.png hicolor/"$i"x"$i"/apps/kcmmouse.png ;done
-for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/computer.png hicolor/"$i"x"$i"/apps/kcmmedia.png ;done
-for i in {16,22,32}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/actions/encrypted.png hicolor/"$i"x"$i"/apps/kcmcrypto.png ;done
-for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/trashcan_empty.png hicolor/"$i"x"$i"/apps/kcmprivacy.png ;done
-for i in {16,22,32,48,64,128}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/places/network.png hicolor/"$i"x"$i"/apps/kcmnic.png ;done
-popd
-
-# Updates applications categories for openSUSE
-%if 0%{?suse_version}
-%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/Help.desktop Documentation Viewer
-%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/Home.desktop System FileManager core
-%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kate.desktop TextEditor
-%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/KControl.desktop X-SuSE-core
-%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/Kfind.desktop System Filesystem core
-%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kjobviewer.desktop PrintingUtility
-%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/klipper.desktop System TrayIcon
-%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kmenuedit.desktop Core-Configuration
-%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/knetattach.desktop System Network
-%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konqbrowser.desktop WebBrowser
-%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konquerorsu.desktop System FileManager
-%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konsole.desktop TerminalEmulator
-%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/konsolesu.desktop TerminalEmulator
-%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpager.desktop Utility DesktopUtility
-%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kpersonalizer.desktop DesktopUtility
-%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/ksysguard.desktop System Monitor
-%suse_update_desktop_file -u %{?buildroot}%{tde_tdeappdir}/ktip.desktop System Utility
-%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/kwrite.desktop TextEditor
-%suse_update_desktop_file %{?buildroot}%{tde_tdeappdir}/tdeprintfax.desktop PrintingUtility
-%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/tdefontview.desktop Graphics Viewer
-%{?with_tderandrtray:%suse_update_desktop_file -r %{?buildroot}%{tde_tdeappdir}/tderandrtray.desktop Applet X-TDE-settings-desktop}
-%suse_update_desktop_file %{?buildroot}%{tde_datadir}/applnk/.hidden/konqfilemgr.desktop System FileManager
-%endif
-
-# Icons from TDE Control Center should only be displayed in TDE
-for i in %{?buildroot}%{tde_tdeappdir}/*.desktop ; do
- if grep -q "^Categories=.*X-TDE-settings" "${i}"; then
- if ! grep -q "OnlyShowIn=TDE" "${i}" ; then
- echo "OnlyShowIn=TDE;" >>"${i}"
- fi
- fi
-done
-
-# Other apps that should stay in TDE
-for i in ksysguard tde-kcontrol tdefontview showdesktop; do
- echo "OnlyShowIn=TDE;" >>"%{?buildroot}%{tde_tdeappdir}/${i}.desktop"
-done
-
-# Remove setuid bit on some binaries.
-%{?with_tsak:chmod 0511 "%{?buildroot}%{tde_bindir}/%{tdm}tsak"}
-chmod 0755 "%{?buildroot}%{tde_bindir}/kcheckpass"
-%{?with_kbdledsync:chmod 0755 "%{?buildroot}%{tde_bindir}/tdekbdledsync"}
-
-# Fix permissions on shell scripts
-chmod 0755 "%{?buildroot}%{tde_datadir}/apps/tdeconf_update/move_session_config.sh"
-chmod 0755 "%{?buildroot}%{tde_tdedocdir}/HTML/en/khelpcenter/glossary/checkxrefs"
-
-# Removes tderandrtray documentation, if not built.
-%if 0%{?with_tderandrtray} == 0
-%__rm -rf "%{?buildroot}%{tde_tdedocdir}/HTML/en/tderandrtray"
-%endif
-
-# Links duplicate files
-%fdupes "%{?buildroot}%{tde_datadir}"
-
-
-%clean
-%__rm -rf %{?buildroot}
-
-
-%if 0%{?suse_version}
-# Check permissions on setuid files (openSUSE specific)
-%verifyscript
-%{?with_tsak:%verify_permissions -e %{tde_bindir}/%{tdm}tsak}
-%verify_permissions -e %{tde_bindir}/kcheckpass
-%{?with_kbdledsync:%verify_permissions -e %{tde_bindir}/tdekbdledsync}
-%endif
-
-
-%changelog
-* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
-- Initial release for TDE 14.0.0
diff --git a/redhat/main/tdebindings/filter-requires.sh b/redhat/main/tdebindings/filter-requires.sh
deleted file mode 100644
index da6c04566..000000000
--- a/redhat/main/tdebindings/filter-requires.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-if [ -x /usr/lib/rpm/redhat/find-requires ] ; then
-FINDREQ=/usr/lib/rpm/redhat/find-requires
-else
-FINDREQ=/usr/lib/rpm/find-requires
-fi
-
-$FINDREQ $* | sed -e '/libcairo.so.2/d' -e '/libpangocairo-1.0.so.0/d'
diff --git a/redhat/main/tdebindings/tdebindings-14.0.0.spec b/redhat/main/tdebindings/tdebindings-14.0.0.spec
index 5b02d362b..7306d534c 100644
--- a/redhat/main/tdebindings/tdebindings-14.0.0.spec
+++ b/redhat/main/tdebindings/tdebindings-14.0.0.spec
@@ -1077,12 +1077,21 @@ exit 1
# [tdebindings] Function 'rb_frame_this_func' does not exist in RHEL4/5
%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
-%__sed -i "qtruby/rubylib/qtruby/Qt.cpp" -e "s|rb_frame_this_func|rb_frame_last_func|g"
+%__sed -i "qtruby/rubylib/qtruby/Qt.cpp" \
+ -i "korundum/rubylib/korundum/Korundum.cpp" \
+ -e "s|rb_frame_this_func|rb_frame_last_func|g"
+%endif
+
+# Another strange FTBFS in RHEL 5
+%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
+%__sed -i "xparts/xpart_notepad/shell_xparthost.cpp" \
+ -i "xparts/xpart_notepad/xp_notepad.cpp" \
+ -e "/TDEApplication/ s| );|, true, true, true);|"
%endif
# Disable kmozilla, it does not build with recent xulrunner (missing 'libmozjs.so')
%__sed -i "xparts/Makefile.am" \
- -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|"
+ -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|"
%__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"
@@ -1150,8 +1159,7 @@ pushd dcopperl
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
# [Bug #348] Ugly hack to modify the man pages directory
-sed -i Makefile \
- -e "s|/usr/share/man|%{tde_mandir}|g"
+sed -i "Makefile" -e "s|/usr/share/man|%{tde_mandir}|g"
%__make OPTIMIZE="$RPM_OPT_FLAGS" ||:
popd
diff --git a/redhat/main/tdeedu/tdeedu-14.0.0.spec b/redhat/main/tdeedu/tdeedu-14.0.0.spec
index a275ef5ce..f2e573cd5 100644
--- a/redhat/main/tdeedu/tdeedu-14.0.0.spec
+++ b/redhat/main/tdeedu/tdeedu-14.0.0.spec
@@ -1362,6 +1362,11 @@ This package contains the development files for tdeedu.
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+# RHEL5 strange FTBFS on V4L stuff
+%if 0%{?rhel} == 5
+%__sed -i "admin/acinclude.m4.in" -e "s|-ansi||"
+%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"
diff --git a/redhat/main/tdeedu/tdeedu-14.0.1-ftbfs.patch b/redhat/main/tdeedu/tdeedu-14.0.1-ftbfs.patch
new file mode 100644
index 000000000..732ffe88f
--- /dev/null
+++ b/redhat/main/tdeedu/tdeedu-14.0.1-ftbfs.patch
@@ -0,0 +1,13 @@
+--- trinity-tdeedu-14.0.1/kstars/configure.in.in.orig 2015-07-31 11:34:32.712141661 -0400
++++ trinity-tdeedu-14.0.1/kstars/configure.in.in 2015-07-31 11:35:49.442314137 -0400
+@@ -87,7 +87,9 @@
+ [have_v4l2=true],
+ [have_v4l2=false],
+ [#include <sys/time.h>
+- #include <linux/videodev2.h>])
++ extern "C" {
++ #include <linux/videodev2.h>
++ }])
+ if test x$have_v4l2 = xfalse; then
+ unset ac_cv_type_struct_v4l2_buffer
+ AC_CHECK_TYPE([struct v4l2_buffer],
diff --git a/redhat/main/tdegraphics/tdegraphics-14.0.0.spec b/redhat/main/tdegraphics/tdegraphics-14.0.0.spec
index 810dc5c30..1a1f89498 100644
--- a/redhat/main/tdegraphics/tdegraphics-14.0.0.spec
+++ b/redhat/main/tdegraphics/tdegraphics-14.0.0.spec
@@ -101,6 +101,9 @@ BuildRequires: libtiff-devel
# PCRE support
BuildRequires: pcre-devel
+# ACL support
+BuildRequires: libacl-devel
+
# GIF support
%if 0%{?suse_version}
BuildRequires: giflib-devel
@@ -199,7 +202,6 @@ BuildRequires: OpenEXR-devel
# POPPLER support
%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
@@ -207,7 +209,6 @@ BuildRequires: %{_lib}poppler-devel
%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
# On RHEL 5, the distro-provided poppler is too old. We built a newer one.
BuildRequires: trinity-poppler-devel >= 0.12
-BuildRequires: trinity-poppler-qt3-devel >= 0.12
%endif
# LCMS support
@@ -1278,6 +1279,15 @@ applications against tdegraphics libraries.
# Fix applications icons
%__sed -i "kooka/kooka.desktop" -e "s|^Icon=.*|Icon=kooka|"
+# Fix FTBFS in RHEL 5
+%if 0%{?rhel} && 0%{?rhel} <= 5
+%__sed -i "kpdf/xpdf/aconf.h" \
+ -e "s|#define HAVE_MKSTEMPS 1|#define HAVE_MKSTEMPS 0|"
+%__sed -i "tdefile-plugins/dependencies/poppler-tqt/CMakeLists.txt" \
+ -e "/link_directories/ s|$|\n \${POPPLER_LIBRARY_DIRS}|" \
+ -e "/{POPPLER_INCLUDE_DIRS/ s|$|\n \${POPPLER_INCLUDE_DIRS}/..|"
+%endif
+
%build
unset QTDIR QTINC QTLIB
diff --git a/redhat/main/tdelibs/tdelibs-14.0.0.patch b/redhat/main/tdelibs/tdelibs-14.0.0.patch
index 77b2c2cce..ab309f841 100644
--- a/redhat/main/tdelibs/tdelibs-14.0.0.patch
+++ b/redhat/main/tdelibs/tdelibs-14.0.0.patch
@@ -1,173 +1,31 @@
-From 608ee3f53763ca7fe4e925e8309525c78d937984 Mon Sep 17 00:00:00 2001
-From: Slávek Banko <slavek.banko@axis.cz>
-Date: Thu, 25 Dec 2014 18:10:23 +0000
-Subject: Fix FTBFS because CUPS 2.x
-
-This resolves Bug 2270
-
-Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-(cherry picked from commit 592bebb509786ccec893b305d3ae6a0c76ed3bdb)
----
-diff --git a/tdeprint/cups/cupsdconf2/cups-util.c b/tdeprint/cups/cupsdconf2/cups-util.c
-index eadd6b6..3772b35 100644
---- a/tdeprint/cups/cupsdconf2/cups-util.c
-+++ b/tdeprint/cups/cupsdconf2/cups-util.c
-@@ -33,7 +33,7 @@ cupsGetConf(void)
- char prompt[1024]; /* Prompt string */
- int digest_tries; /* Number of tries with Digest */
- static char filename[HTTP_MAX_URI]; /* Local filename */
--#if CUPS_VERSION_MAJOR - 0 <= 1 && CUPS_VERSION_MINOR - 0 < 2
-+#if CUPS_VERSION_MAJOR < 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR < 2)
- const char *fqdn = 0;
- #else
- char fqdn[ HTTP_MAX_URI ]; /* Server name buffer */
-@@ -119,7 +119,7 @@ cupsGetConf(void)
- * See if we should retry the current digest password...
- */
-
--#if CUPS_VERSION_MAJOR - 0 <= 1 && CUPS_VERSION_MINOR - 0 < 2
-+#if CUPS_VERSION_MAJOR < 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR < 2)
- www_authenticate = cups_server->fields[HTTP_FIELD_WWW_AUTHENTICATE];
- #else
- www_authenticate = httpGetField( cups_server, HTTP_FIELD_WWW_AUTHENTICATE );
-@@ -130,7 +130,7 @@ cupsGetConf(void)
- /*
- * Nope - get a password from the user...
- */
--#if CUPS_VERSION_MAJOR - 0 <= 1 && CUPS_VERSION_MINOR - 0 < 2
-+#if CUPS_VERSION_MAJOR < 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR < 2)
- fqdn = cups_server->hostname;
- #else
- httpGetHostname( cups_server, fqdn, sizeof( fqdn ) );
-@@ -155,7 +155,7 @@ cupsGetConf(void)
- * Got a password; encode it for the server...
- */
-
--#if CUPS_VERSION_MAJOR - 0 <= 1 && CUPS_VERSION_MINOR - 0 < 2
-+#if CUPS_VERSION_MAJOR < 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR < 2)
- www_authenticate = cups_server->fields[HTTP_FIELD_WWW_AUTHENTICATE];
- #else
- www_authenticate = httpGetField( cups_server, HTTP_FIELD_WWW_AUTHENTICATE );
-@@ -167,7 +167,7 @@ cupsGetConf(void)
- */
-
- snprintf(plain, sizeof(plain), "%s:%s", cupsUser(), pwdstring);
--#if CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR >= 2
-+#if CUPS_VERSION_MAJOR > 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR >= 2)
- httpEncode64_2(encode, sizeof(encode), plain, sizeof(plain));
- #else
- httpEncode64(encode, plain);
-@@ -236,7 +236,7 @@ cupsGetConf(void)
- */
-
- while ((bytes =
--#if CUPS_VERSION_MAJOR - 0 <= 1 && CUPS_VERSION_MINOR - 0 < 2
-+#if CUPS_VERSION_MAJOR < 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR < 2)
- httpRead
- #else
- httpRead2
-@@ -266,7 +266,7 @@ cupsPutConf(const char *name) /* I - Name of the config file to send */
- http_status_t status; /* HTTP status from server */
- char prompt[1024]; /* Prompt string */
- int digest_tries; /* Number of tries with Digest */
--#if CUPS_VERSION_MAJOR - 0 <= 1 && CUPS_VERSION_MINOR - 0 < 2
-+#if CUPS_VERSION_MAJOR < 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR < 2)
- const char *fqdn = 0;
- #else
- char fqdn[ HTTP_MAX_URI ]; /* Server name buffer */
-@@ -341,7 +341,7 @@ cupsPutConf(const char *name) /* I - Name of the config file to send */
- break;
- }
- else
--#if CUPS_VERSION_MAJOR - 0 <= 1 && CUPS_VERSION_MINOR - 0 < 2
-+#if CUPS_VERSION_MAJOR < 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR < 2)
- httpWrite
- #else
- httpWrite2
-@@ -350,7 +350,7 @@ cupsPutConf(const char *name) /* I - Name of the config file to send */
-
- if (status == HTTP_CONTINUE)
- {
--#if CUPS_VERSION_MAJOR - 0 <= 1 && CUPS_VERSION_MINOR - 0 < 2
-+#if CUPS_VERSION_MAJOR < 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR < 2)
- httpWrite
- #else
- httpWrite2
-@@ -381,7 +381,7 @@ cupsPutConf(const char *name) /* I - Name of the config file to send */
- * See if we should retry the current digest password...
- */
-
--#if CUPS_VERSION_MAJOR - 0 <= 1 && CUPS_VERSION_MINOR - 0 < 2
-+#if CUPS_VERSION_MAJOR < 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR < 2)
- www_authenticate = cups_server->fields[HTTP_FIELD_WWW_AUTHENTICATE];
- #else
- www_authenticate = httpGetField( cups_server, HTTP_FIELD_WWW_AUTHENTICATE );
-@@ -394,7 +394,7 @@ cupsPutConf(const char *name) /* I - Name of the config file to send */
- */
-
-
--#if CUPS_VERSION_MAJOR - 0 <= 1 && CUPS_VERSION_MINOR - 0 < 2
-+#if CUPS_VERSION_MAJOR < 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR < 2)
- fqdn = cups_server->hostname;
- #else
- httpGetHostname( cups_server, fqdn, sizeof( fqdn ) );
-@@ -418,7 +418,7 @@ cupsPutConf(const char *name) /* I - Name of the config file to send */
- * Got a password; encode it for the server...
- */
-
--#if CUPS_VERSION_MAJOR - 0 <= 1 && CUPS_VERSION_MINOR - 0 < 2
-+#if CUPS_VERSION_MAJOR < 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR < 2)
- www_authenticate = cups_server->fields[HTTP_FIELD_WWW_AUTHENTICATE];
- #else
- www_authenticate = httpGetField( cups_server, HTTP_FIELD_WWW_AUTHENTICATE );
-@@ -430,7 +430,7 @@ cupsPutConf(const char *name) /* I - Name of the config file to send */
- */
-
- snprintf(plain, sizeof(plain), "%s:%s", cupsUser(), pwdstring);
--#if CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR >= 2
-+#if CUPS_VERSION_MAJOR > 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR >= 2)
- httpEncode64_2(encode, sizeof(encode), plain, sizeof(plain));
- #else
- httpEncode64(encode, plain);
-@@ -512,7 +512,7 @@ cups_local_auth(http_t *http) /* I - Connection */
- * See if we are accessing localhost...
- the struct has changed in newer versions - PiggZ (adam@piggz.co.uk)
- */
--#if CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR >= 2
-+#if CUPS_VERSION_MAJOR > 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR >= 2)
- if (!httpAddrLocalhost(http))
- #else
- if (ntohl(*(int*)&http->hostaddr.sin_addr) != 0x7f000001 &&
-diff --git a/tdeprint/cups/ipprequest.cpp b/tdeprint/cups/ipprequest.cpp
-index b4e3991..8a36315 100644
---- a/tdeprint/cups/ipprequest.cpp
-+++ b/tdeprint/cups/ipprequest.cpp
-@@ -407,7 +407,7 @@ bool IppRequest::doFileRequest(const TQString& res, const TQString& filename)
- }
-
- #ifdef HAVE_CUPS_NO_PWD_CACHE
--#if CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR <= 2
-+#if CUPS_VERSION_MAJOR < 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR < 2)
- strncpy( HTTP->authstring, cups_authstring.data(), HTTP_MAX_VALUE );
- #else
- httpSetAuthString( HTTP, NULL, cups_authstring.data() );
-@@ -421,7 +421,7 @@ bool IppRequest::doFileRequest(const TQString& res, const TQString& filename)
-
- request_ = cupsDoFileRequest(HTTP, request_, (res.isEmpty() ? "/" : res.latin1()), (filename.isEmpty() ? NULL : filename.latin1()));
- #ifdef HAVE_CUPS_NO_PWD_CACHE
--#if CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR <= 2
-+#if CUPS_VERSION_MAJOR < 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR < 2)
- cups_authstring = HTTP->authstring;
- #else
- cups_authstring = httpGetAuthString( HTTP );
-@@ -757,7 +757,7 @@ void IppRequest::setMap(const TQMap<TQString,TQString>& opts)
- cupsFreeOptions(n, options);
-
- // find an remove that annoying "document-format" attribute
--#if CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR >= 2
-+#if CUPS_VERSION_MAJOR > 1 || (CUPS_VERSION_MAJOR == 1 && CUPS_VERSION_MINOR >= 2)
- ipp_attribute_t *attr = ippFindAttribute(request_, "document-format", IPP_TAG_NAME);
- ippDeleteAttribute(request_, attr);
- #else
---
-cgit v0.9.0.2-52-g1de3
+diff --git a/tdecore/tdeglobal.h b/tdecore/tdeglobal.h
+index b5fddb8..1269c36 100644
+--- a/tdecore/tdeglobal.h
++++ b/tdecore/tdeglobal.h
+@@ -25,8 +25,10 @@ class KCharsets;
+ class TDEConfig;
+ class TDESharedConfig;
+ class TDEIconLoader;
++#ifdef __TDE_HAVE_TDEHWLIB
+ class TDEHardwareDevices;
+ class TDEGlobalNetworkManager;
++#endif
+ class TDELocale;
+ class TDEStandardDirs;
+ class KStaticDeleterBase;
+@@ -79,6 +81,7 @@ public:
+ */
+ static TDEIconLoader *iconLoader();
+
++#ifdef __TDE_HAVE_TDEHWLIB
+ /**
+ * Returns a TDEHardwareDevices object.
+ * @return the global hardware devices object
+@@ -90,6 +93,7 @@ public:
+ * @return the global network manager object
+ */
+ static TDEGlobalNetworkManager *networkManager();
++#endif
+
+ /**
+ * Returns the global locale object.
diff --git a/redhat/main/tdelibs/tdelibs-14.0.0.spec b/redhat/main/tdelibs/tdelibs-14.0.0.spec
index 60f270eee..a65a417ca 100644
--- a/redhat/main/tdelibs/tdelibs-14.0.0.spec
+++ b/redhat/main/tdelibs/tdelibs-14.0.0.spec
@@ -27,6 +27,7 @@
%define tde_pkg tdelibs
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
@@ -63,7 +64,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
Source1: %{name}-rpmlintrc
-Patch0: %{tde_pkg}-%{tde_version}.patch
+
+Patch0: tdelibs-14.0.1.patch
Obsoletes: tdelibs < %{version}-%{release}
Provides: tdelibs = %{version}-%{release}
@@ -124,6 +126,9 @@ BuildRequires: libtiff-devel
# OPENSSL support
BuildRequires: openssl-devel
+# ACL support
+BuildRequires: libacl-devel
+
# GLIB2 support
BuildRequires: glib2-devel
@@ -314,6 +319,9 @@ Requires: %{cacert}
%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%define xt_devel libXt-devel
%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%define xt_devel libxt-devel
+%endif
%{?xt_devel:BuildRequires: %{xt_devel}}
### New features in TDE R14
@@ -470,7 +478,6 @@ kimgio (image manipulation).
%{tde_datadir}/applnk/tdeio_iso.desktop
%{tde_datadir}/apps/*
%exclude %{tde_datadir}/apps/ksgmltools2/
-%{tde_datadir}/config/*
%{tde_datadir}/emoticons/*
%{tde_datadir}/icons/crystalsvg/
%{tde_datadir}/icons/default.tde
@@ -482,6 +489,9 @@ kimgio (image manipulation).
%{tde_tdedocdir}/HTML/en/common/*
%{tde_tdedocdir}/HTML/en/tdespell/
+# Global Trinity configuration
+%config %{tde_confdir}
+
# Some setuid binaries need special care
%if 0%{?suse_version}
%verify(not mode) %{tde_bindir}/kgrantpty
@@ -578,6 +588,13 @@ applications for TDE.
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
%patch0 -p1 -b .ftbfs
+# RHEL 5: remove tdehwlib stuff from include files, to avoid FTBFS in tdebindings
+%if 0%{?rhel} == 5
+%__sed -i "tdecore/kinstance.h" \
+ -i "tdecore/tdeglobal.h" \
+ -e "/#ifdef __TDE_HAVE_TDEHWLIB/,/#endif/d"
+%endif
+
%build
unset QTDIR QTINC QTLIB
@@ -607,6 +624,7 @@ fi
\
-DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
-DBIN_INSTALL_DIR="%{tde_bindir}" \
+ -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
-DDOC_INSTALL_DIR="%{tde_docdir}" \
-DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
-DLIB_INSTALL_DIR="%{tde_libdir}" \
@@ -698,5 +716,5 @@ chmod 0755 "%{?buildroot}%{tde_bindir}/start_tdeinit"
%changelog
-* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
-- Initial release for TDE 14.0.0
+* Tue Jul 21 2015 Francois Andriot <francois.andriot@free.fr> - 14.0.1-1
+- Initial release for TDE 14.0.1
diff --git a/redhat/main/tdelibs/tdelibs-14.0.1.spec b/redhat/main/tdelibs/tdelibs-14.0.1.spec
deleted file mode 100644
index 6ff6e3a12..000000000
--- a/redhat/main/tdelibs/tdelibs-14.0.1.spec
+++ /dev/null
@@ -1,704 +0,0 @@
-#
-# spec file for package tdelibs (version R14)
-#
-# Copyright (c) 2014 Trinity Desktop Environment
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-#
-# Please submit bugfixes or comments via http://www.trinitydesktop.org/
-#
-
-# BUILD WARNING:
-# Remove qt-devel and qt3-devel and any kde*-devel on your system !
-# Having KDE libraries may cause FTBFS here !
-
-# TDE variables
-%define tde_epoch 2
-%if "%{?tde_version}" == ""
-%define tde_version 14.0.1
-%endif
-%define tde_pkg tdelibs
-%define tde_prefix /opt/trinity
-%define tde_bindir %{tde_prefix}/bin
-%define tde_confdir %{_sysconfdir}/trinity
-%define tde_datadir %{tde_prefix}/share
-%define tde_docdir %{tde_datadir}/doc
-%define tde_includedir %{tde_prefix}/include
-%define tde_libdir %{tde_prefix}/%{_lib}
-%define tde_tdeappdir %{tde_datadir}/applications/tde
-%define tde_tdedocdir %{tde_docdir}/tde
-%define tde_tdeincludedir %{tde_includedir}/tde
-%define tde_tdelibdir %{tde_libdir}/trinity
-
-# 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
-
-
-Name: trinity-%{tde_pkg}
-Version: %{tde_version}
-Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
-Summary: TDE Libraries
-Group: System/GUI/Other
-URL: http://www.trinitydesktop.org/
-
-%if 0%{?suse_version}
-License: GPL-2.0+
-%else
-License: GPLv2+
-%endif
-
-#Vendor: Trinity Desktop
-#Packager: Francois Andriot <francois.andriot@free.fr>
-
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
-Source1: %{name}-rpmlintrc
-
-Obsoletes: tdelibs < %{version}-%{release}
-Provides: tdelibs = %{version}-%{release}
-Obsoletes: trinity-kdelibs < %{version}-%{release}
-Provides: trinity-kdelibs = %{version}-%{release}
-Obsoletes: trinity-kdelibs-apidocs < %{version}-%{release}
-Provides: trinity-kdelibs-apidocs = %{version}-%{release}
-
-# for set_permissions macro
-%if 0%{?suse_version}
-PreReq: permissions
-%endif
-
-# Trinity dependencies
-BuildRequires: libtqt4-devel = %{tde_epoch}:4.2.0
-BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
-BuildRequires: libdbus-tqt-1-devel >= %{tde_epoch}:0.63
-BuildRequires: libdbus-1-tqt-devel >= %{tde_epoch}:0.9
-BuildRequires: trinity-filesystem >= %{tde_version}
-
-Requires: trinity-arts >= %{tde_epoch}:1.5.10
-Requires: trinity-filesystem >= %{tde_version}
-Requires: fileshareset >= 2.0
-
-BuildRequires: cmake >= 2.8
-BuildRequires: gcc-c++
-BuildRequires: pkgconfig
-BuildRequires: fdupes
-
-# SUSE desktop files utility
-%if 0%{?suse_version}
-BuildRequires: update-desktop-files
-%endif
-
-%if 0%{?opensuse_bs} && 0%{?suse_version}
-# for xdg-menu script
-BuildRequires: brp-check-trinity
-%endif
-
-# KRB5 support
-BuildRequires: krb5-devel
-
-# XSLT support
-BuildRequires: libxslt-devel
-
-# ALSA support
-BuildRequires: alsa-lib-devel
-
-# IDN support
-BuildRequires: libidn-devel
-
-# CUPS support
-BuildRequires: cups-devel
-
-# TIFF support
-BuildRequires: libtiff-devel
-
-# OPENSSL support
-BuildRequires: openssl-devel
-
-# GLIB2 support
-BuildRequires: glib2-devel
-
-# LUA support are not ready yet
-#BuildRequires: lua-devel
-
-# LIBART_LGPL support
-BuildRequires: libart_lgpl-devel
-
-# ASPELL support
-BuildRequires: aspell
-BuildRequires: aspell-devel
-
-# GAMIN support
-# Not on openSUSE.
-%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
-%define with_gamin 1
-BuildRequires: gamin-devel
-%endif
-
-# PCRE support
-%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
-%define with_pcre 1
-BuildRequires: pcre-devel
-%endif
-
-# INOTIFY support
-%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
-%define with_inotify 1
-%endif
-
-# BZIP2 support
-%if 0%{?suse_version}
-BuildRequires: libbz2-devel
-%else
-BuildRequires: bzip2-devel
-%endif
-
-# UTEMPTER support
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}utempter-devel
-%endif
-%if 0%{?rhel} >=5 || 0%{?fedora}
-BuildRequires: libutempter-devel
-%endif
-%if 0%{?rhel} == 4
-BuildRequires: utempter
-%endif
-%if 0%{?suse_version}
-BuildRequires: utempter-devel
-%endif
-
-# HSPELL support
-%if 0%{?rhel} >=6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
-%define with_hspell 1
-BuildRequires: hspell-devel
-%endif
-
-# JASPER support
-%if 0%{?rhel} >=6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
-%define with_jasper 1
-%if 0%{?suse_version}
-BuildRequires: libjasper-devel
-%endif
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}jasper-devel
-%endif
-%if 0%{?rhel} || 0%{?fedora}
-BuildRequires: jasper-devel
-%endif
-%endif
-
-# AVAHI support
-%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
-%define with_avahi 1
-BuildRequires: libavahi-tqt-devel >= 1:0.6.30
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}avahi-client-devel
-Requires: %{_lib}avahi-client3
-%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
-BuildRequires: avahi-devel
-Requires: avahi
-%endif
-%endif
-
-# OPENEXR support
-%if 0%{?rhel} >=6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
-%define with_openexr 1
-BuildRequires: OpenEXR-devel
-%endif
-
-# LIBTOOL
-BuildRequires: libtool
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}ltdl-devel
-%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
-BuildRequires: libtool-ltdl-devel
-%endif
-
-# X11 support
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: x11-proto-devel
-%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
-BuildRequires: xorg-x11-proto-devel
-%endif
-%if 0%{?rhel} == 4
-BuildRequires: xorg-x11-devel
-%endif
-
-# ICEAUTH
-%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} >= 1220
-Requires: iceauth
-%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora}
-Requires: xorg-x11-server-utils
-%endif
-%if 0%{?rhel} == 4 || 0%{?suse_version}
-Requires: xorg-x11
-%endif
-
-# XZ support
-%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
-%define with_lzma 1
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}lzma-devel
-%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
-BuildRequires: xz-devel
-%endif
-%endif
-
-# Certificates support
-%if 0%{?fedora} || 0%{?rhel} >= 6
-BuildRequires: ca-certificates
-Requires: ca-certificates
-%if 0%{?fedora} >= 20 || 0%{?rhel} >= 6
-%define cacert %{_sysconfdir}/pki/tls/certs/ca-bundle.crt
-%endif
-%if 0%{?fedora} == 18 || 0%{?fedora} == 19
-%define cacert %{_sysconfdir}/ssl/certs/ca-certificates.crt
-%endif
-%endif
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%if 0%{?pclinuxos}
-Requires: rootcerts
-%define cacert %{_sysconfdir}/pki/tls/certs/ca-bundle.crt
-%else
-%define cacert %{_sysconfdir}/ssl/certs/ca-bundle.crt
-Requires: openssl
-%endif
-%endif
-%if 0%{?rhel} == 5
-%define cacert %{_sysconfdir}/pki/tls/certs/ca-bundle.crt
-Requires: openssl
-%endif
-%if 0%{?suse_version}
-%define cacert %{_sysconfdir}/ssl/ca-bundle.pem
-BuildRequires: ca-certificates
-Requires: ca-certificates
-%endif
-%if "%{cacert}" != ""
-Requires: %{cacert}
-%endif
-
-# XRANDR support
-# On RHEL5, xrandr library is too old.
-%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
-%define with_xrandr 1
-%endif
-
-# XCOMPOSITE support
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%if 0%{?mgaversion} >= 4
-%define xcomposite_devel %{_lib}xcomposite-devel
-%else
-%define xcomposite_devel %{_lib}xcomposite%{?mgaversion:1}-devel
-%endif
-%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
-%define xcomposite_devel libXcomposite-devel
-%endif
-%{?xcomposite_devel:BuildRequires: %{xcomposite_devel}}
-
-# XT support
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
-%define xt_devel libXt-devel
-%endif
-%{?xt_devel:BuildRequires: %{xt_devel}}
-
-### New features in TDE R14
-
-# LIBMAGIC support
-%if 0%{?rhel} == 5
-BuildRequires: file
-%else
-BuildRequires: file-devel
-%endif
-
-# NETWORKMANAGER support
-%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?suse_version}
-%define with_nm 1
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}nm-util-devel
-%endif
-%if 0%{?rhel} >= 6 || 0%{?fedora}
-BuildRequires: NetworkManager-glib-devel
-%endif
-%if 0%{?suse_version}
-BuildRequires: NetworkManager-devel
-%endif
-%endif
-
-# UDEV support
-%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 6
-%define with_tdehwlib 1
-BuildRequires: libudev-devel
-%endif
-
-# HAL support
-%if 0%{?rhel} == 5
-%define with_hal 1
-%endif
-
-# UDISKS support
-%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} == 6
-%if 0%{?pclinuxos} == 0
-%define with_udisks 1
-BuildRequires: udisks-devel
-Requires: udisks
-%endif
-%endif
-
-# PMOUNT support
-#Requires: pmount
-
-# UDISKS2 support
-%if 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?rhel} >= 7
-%define with_udisks2 1
-%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
-BuildRequires: libudisks2-devel
-%else
-BuildRequires: udisks2-devel
-%endif
-Requires: udisks2
-%endif
-
-# DEVICEKIT POWER support
-%if 0%{?rhel} == 6
-%define with_devkitpower 1
-Requires: DeviceKit-power
-%endif
-
-# UPOWER support
-%if 0%{?fedora} || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?rhel} >= 7
-%define with_upower 1
-Requires: upower
-%endif
-
-# SYSTEMD support
-%if 0%{?fedora} || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?rhel} >= 7
-%define with_systemd 1
-%endif
-
-
-%description
-Libraries for the Trinity Desktop Environment:
-TDE Libraries included: tdecore (TDE core library), tdeui (user interface),
-kfm (file manager), tdehtmlw (HTML widget), tdeio (Input/Output, networking),
-kspell (spelling checker), jscript (javascript), kab (addressbook),
-kimgio (image manipulation).
-
-%files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING COPYING-DOCS COPYING.LIB README TODO
-%{tde_bindir}/artsmessage
-%{tde_bindir}/cupsdconf
-%{tde_bindir}/cupsdoprint
-%{tde_bindir}/dcop
-%{tde_bindir}/dcopclient
-%{tde_bindir}/dcopfind
-%{tde_bindir}/dcopobject
-%{tde_bindir}/dcopquit
-%{tde_bindir}/dcopref
-%{tde_bindir}/dcopserver
-%{tde_bindir}/dcopserver_shutdown
-%{tde_bindir}/dcopstart
-%{tde_bindir}/imagetops
-%{tde_bindir}/tdeab2tdeabc
-%{tde_bindir}/kaddprinterwizard
-%{tde_bindir}/tdebuildsycoca
-%{tde_bindir}/tdecmshell
-%{tde_bindir}/tdeconf_update
-%{tde_bindir}/kcookiejar
-%{tde_bindir}/tde-config
-%{tde_bindir}/tde-menu
-%{tde_bindir}/kded
-%{tde_bindir}/tdeinit
-%{tde_bindir}/tdeinit_shutdown
-%{tde_bindir}/tdeinit_wrapper
-%{tde_bindir}/tdesu_stub
-%{tde_bindir}/kdetcompmgr
-%{tde_bindir}/kdontchangethehostname
-%{tde_bindir}/tdedostartupconfig
-%{tde_bindir}/tdefile
-%{tde_bindir}/kfmexec
-%{tde_bindir}/tdehotnewstuff
-%{tde_bindir}/kinstalltheme
-%{tde_bindir}/tdeio_http_cache_cleaner
-%{tde_bindir}/tdeio_uiserver
-%{tde_bindir}/tdeioexec
-%{tde_bindir}/tdeioslave
-%{tde_bindir}/tdeiso_info
-%{tde_bindir}/tdelauncher
-%if 0%{?with_elficon}
-%{tde_bindir}/tdelfeditor
-%endif
-%{tde_bindir}/tdemailservice
-%{tde_bindir}/tdemimelist
-%{tde_bindir}/tdesendbugmail
-%{tde_bindir}/kshell
-%{tde_bindir}/tdestartupconfig
-%{tde_bindir}/tdetelnetservice
-%{tde_bindir}/tdetradertest
-%{tde_bindir}/kwrapper
-%{tde_bindir}/lnusertemp
-%{tde_bindir}/make_driver_db_cups
-%{tde_bindir}/make_driver_db_lpr
-%{tde_bindir}/meinproc
-%{tde_bindir}/networkstatustestservice
-%{tde_bindir}/start_tdeinit_wrapper
-%{tde_bindir}/checkXML
-%{tde_bindir}/ksvgtopng
-%{tde_bindir}/tdeunittestmodrunner
-%{tde_bindir}/preparetips
-%{tde_tdelibdir}/*
-%{tde_libdir}/lib*.so.*
-%{tde_libdir}/libtdeinit_*.la
-%{tde_libdir}/libtdeinit_*.so
-%{tde_datadir}/applications/tde/*.desktop
-%{tde_datadir}/autostart/tdeab2tdeabc.desktop
-%{tde_datadir}/applnk/tdeio_iso.desktop
-%{tde_datadir}/apps/*
-%exclude %{tde_datadir}/apps/ksgmltools2/
-%{tde_datadir}/emoticons/*
-%{tde_datadir}/icons/crystalsvg/
-%{tde_datadir}/icons/default.tde
-%{tde_datadir}/icons/hicolor/index.theme
-%{tde_datadir}/locale/all_languages
-%{tde_datadir}/mimelnk/*/*.desktop
-%{tde_datadir}/services/*
-%{tde_datadir}/servicetypes/*
-%{tde_tdedocdir}/HTML/en/common/*
-%{tde_tdedocdir}/HTML/en/tdespell/
-
-# Global Trinity configuration
-%config %{tde_confdir}
-
-# Some setuid binaries need special care
-%if 0%{?suse_version}
-%verify(not mode) %{tde_bindir}/kgrantpty
-%verify(not mode) %{tde_bindir}/kpac_dhcp_helper
-%verify(not mode) %{tde_bindir}/start_tdeinit
-%else
-%attr(4755,root,root) %{tde_bindir}/kgrantpty
-%attr(4755,root,root) %{tde_bindir}/kpac_dhcp_helper
-%attr(4711,root,root) %{tde_bindir}/start_tdeinit
-%endif
-
-%config %{_sysconfdir}/xdg/menus/tde-applications.menu
-%config %{_sysconfdir}/xdg/menus/tde-applications.menu-no-kde
-
-# DBUS stuff, related to TDE hwlib
-%if 0%{?with_tdehwlib}
-%{tde_bindir}/tde_dbus_hardwarecontrol
-%config %{_sysconfdir}/dbus-1/system.d/org.trinitydesktop.hardwarecontrol.conf
-%{_datadir}/dbus-1/system-services/org.trinitydesktop.hardwarecontrol.service
-%endif
-
-%pre
-# TDE Bug #1074
-if [ -d "%{tde_datadir}/locale/all_languages" ]; then
- rm -rf "%{tde_datadir}/locale/all_languages"
-fi
-
-%post
-/sbin/ldconfig || :
-
-%if 0%{?suse_version}
-# Sets permissions on setuid files (openSUSE specific)
-%set_permissions %{tde_bindir}/kgrantpty
-%set_permissions %{tde_bindir}/kpac_dhcp_helper
-%set_permissions %{tde_bindir}/start_tdeinit
-%endif
-
-%postun
-/sbin/ldconfig || :
-
-##########
-
-%package devel
-Summary: TDE Libraries (Development files)
-Group: Development/Libraries/X11
-Requires: %{name} = %{version}-%{release}
-
-Obsoletes: tdelibs-devel < %{version}-%{release}
-Provides: tdelibs-devel = %{version}-%{release}
-Obsoletes: trinity-kdelibs-devel < %{version}-%{release}
-Provides: trinity-kdelibs-devel = %{version}-%{release}
-
-Requires: libtqt3-mt-devel >= 3.5.0
-Requires: libtqt4-devel = %{tde_epoch}:4.2.0
-Requires: trinity-arts-devel >= %{tde_epoch}:1.5.10
-Requires: libart_lgpl-devel
-%{?xcomposite_devel:Requires: %{xcomposite_devel}}
-%{?xt_devel:Requires: %{xt_devel}}
-
-%description devel
-This package includes the header files you will need to compile
-applications for TDE.
-
-%files devel
-%defattr(-,root,root,-)
-%{tde_bindir}/dcopidl*
-%{tde_bindir}/*config_compiler
-%{tde_bindir}/maketdewidgets
-%{tde_datadir}/apps/ksgmltools2/
-%{tde_tdeincludedir}/*
-%{tde_libdir}/*.la
-%{tde_libdir}/*.so
-%{tde_libdir}/*.a
-%exclude %{tde_libdir}/libtdeinit_*.la
-%exclude %{tde_libdir}/libtdeinit_*.so
-%{tde_datadir}/cmake/tdelibs.cmake
-%{tde_libdir}/pkgconfig/tdelibs.pc
-
-%post devel
-/sbin/ldconfig || :
-
-%postun devel
-/sbin/ldconfig || :
-
-##########
-
-%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
-%debug_package
-%endif
-
-##########
-
-%prep
-%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
-
-
-%build
-unset QTDIR QTINC QTLIB
-export PATH="%{tde_bindir}:${PATH}"
-export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
-
-if [ -d "/usr/X11R6" ]; then
- export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -L/usr/X11R6/%{_lib} -I/usr/X11R6/include"
-fi
-
-export TDEDIR="%{tde_prefix}"
-
-if ! rpm -E %%cmake|grep -q "cd build"; then
- %__mkdir_p build
- cd build
-fi
-
-%cmake \
- -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
- -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
- -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
- -DCMAKE_SKIP_RPATH=OFF \
- -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
- -DCMAKE_NO_BUILTIN_CHRPATH=ON \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
- -DWITH_GCC_VISIBILITY=ON \
- \
- -DCMAKE_INSTALL_PREFIX="%{tde_prefix}" \
- -DBIN_INSTALL_DIR="%{tde_bindir}" \
- -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
- -DDOC_INSTALL_DIR="%{tde_docdir}" \
- -DINCLUDE_INSTALL_DIR="%{tde_tdeincludedir}" \
- -DLIB_INSTALL_DIR="%{tde_libdir}" \
- -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
- -DSHARE_INSTALL_PREFIX="%{tde_datadir}" \
- \
- -DWITH_ALL_OPTIONS=ON \
- -DWITH_ARTS=ON \
- -DWITH_ALSA=ON \
- -DWITH_LIBART=ON \
- -DWITH_LIBIDN=ON \
- -DWITH_SSL=ON \
- -DWITH_CUPS=ON \
- -DWITH_LUA=OFF \
- -DWITH_TIFF=ON \
- %{?!with_jasper:-DWITH_JASPER=OFF} \
- %{?!with_openexr:-DWITH_OPENEXR=OFF} \
- -DWITH_UTEMPTER=ON \
- %{?!with_elficon:-DWITH_ELFICON=OFF} \
- %{?!with_avahi:-DWITH_AVAHI=OFF} \
- %{?!with_pcre:-DWITH_PCRE=OFF} \
- %{?!with_inotify:-DWITH_INOTIFY=OFF} \
- %{?!with_gamin:-DWITH_GAMIN=OFF} \
- %{?!with_tdehwlib:-DWITH_TDEHWLIB=OFF} \
- %{?!with_tdehwlib:-DWITH_TDEHWLIB_DAEMONS=OFF} \
- %{?with_hal:-DWITH_HAL=ON} \
- %{?with_devkitpower:-DWITH_DEVKITPOWER=ON} \
- %{?with_systemd:-DWITH_LOGINDPOWER=ON} \
- %{?!with_upower:-DWITH_UPOWER=OFF} \
- %{?!with_udisks:-DWITH_UDISKS=OFF} \
- %{?!with_udisks2:-DWITH_UDISKS2=OFF} \
- -DWITH_CONSOLEKIT=ON \
- %{?with_nm:-DWITH_NETWORK_MANAGER_BACKEND=ON} \
- -DWITH_SUDO_TDESU_BACKEND=OFF \
- -DWITH_OLD_XDG_STD=OFF \
- %{?!with_lzma:-DWITH_LZMA=OFF} \
- -DWITH_LIBBFD=OFF \
- %{?!with_xrandr:-DWITH_XRANDR=OFF} \
- -DWITH_XCOMPOSITE=ON \
- -DWITH_KDE4_MENU_SUFFIX=OFF \
- \
- -DWITH_ASPELL=ON \
- %{?!with_hspell:-DWITH_HSPELL=OFF} \
- -DWITH_TDEICONLOADER_DEBUG=OFF \
- ..
-
-%__make %{?_smp_mflags} || %__make
-
-
-%install
-%__rm -rf "%{?buildroot}"
-%__make install DESTDIR="%{?buildroot}" -C build
-
-# Use system-wide CA certificates
-%if "%{?cacert}" != ""
-%__rm -f "%{?buildroot}%{tde_datadir}/apps/kssl/ca-bundle.crt"
-%__ln_s "%{cacert}" "%{?buildroot}%{tde_datadir}/apps/kssl/ca-bundle.crt"
-%endif
-
-# Symlinks duplicate files (mostly under 'ksgmltools2')
-%fdupes -s "%{?buildroot}"
-
-# Fix 'tderesources.desktop' (openSUSE only)
-%if 0%{?suse_version}
-%suse_update_desktop_file -r tderesources Qt X-TDE-settings-desktop
-%endif
-
-# Remove setuid bit on some binaries.
-chmod 0755 "%{?buildroot}%{tde_bindir}/kgrantpty"
-chmod 0755 "%{?buildroot}%{tde_bindir}/kpac_dhcp_helper"
-chmod 0755 "%{?buildroot}%{tde_bindir}/start_tdeinit"
-
-# fileshareset 2.0 is provided separately.
-# Remove integrated fileshareset 1.0 .
-%__rm -f "%{?buildroot}%{tde_bindir}/filesharelist"
-%__rm -f "%{?buildroot}%{tde_bindir}/fileshareset"
-
-
-%clean
-%__rm -rf "%{?buildroot}"
-
-%if 0%{?suse_version}
-# Check permissions on setuid files (openSUSE specific)
-%verifyscript
-%verify_permissions -e %{tde_bindir}/kgrantpty
-%verify_permissions -e %{tde_bindir}/kpac_dhcp_helper
-%verify_permissions -e %{tde_bindir}/start_tdeinit
-%endif
-
-
-%changelog
-* Tue Jul 21 2015 Francois Andriot <francois.andriot@free.fr> - 14.0.1-1
-- Initial release for TDE 14.0.1
diff --git a/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec b/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec
index b364073c5..60177e324 100644
--- a/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec
+++ b/redhat/main/tdemultimedia/tdemultimedia-14.0.0.spec
@@ -43,7 +43,7 @@
Name: trinity-%{tde_pkg}
-Summary: Multimedia applications for the Trinity Desktop Environment (TDE)
+Summary: Multimedia applications for the Trinity Desktop Environment
Version: %{tde_version}
Release: %{?!preversion:2}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Group: Productivity/Multimedia/Sound/Utilities
@@ -96,10 +96,11 @@ BuildRequires: brp-check-trinity
BuildRequires: taglib-devel
# AKODE support
-%if 0%{?with_akode}
+%define with_akode 1
BuildRequires: trinity-akode-devel
-%{?with_mad:BuildRequires: trinity-akode-libmad}
-%endif
+
+%define with_mad 1
+%{?with_mad:BuildRequires: libakode_mpeg_decoder}
# ZLIB support
BuildRequires: zlib-devel
@@ -1272,7 +1273,7 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
%{?with_xine:--with-xine} %{!?with_xine:--without-xine}
# Fix unexplained "undefined reference to `__stack_chk_fail'"
-%if 0%{?mgaversion} == 4 || 0%{?pclinuxos}
+%if 0%{?mgaversion} >= 4 || 0%{?pclinuxos}
%__sed -i "noatun/app/Makefile" -e "/^libtdeinit_noatun_la_LDFLAGS/ s/$/ -Wl,-lc/"
%endif
@@ -1303,7 +1304,7 @@ export PATH="%{tde_bindir}:${PATH}"
# Copy missing icons from 'crystalsvg' theme (tdelibs)
%__mkdir_p "%{?buildroot}{tde_datadir}/icons/hicolor/"{16x16,22x22,32x32,48x48,64x64}"/apps/"
pushd $RPM_BUILD_ROOT%{tde_datadir}/icons/
-for i in {16,22,32,48,64}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/cdaudio_unmount.png hicolor/"$i"x"$i"/apps/kcmaudiocd.png; done
+for i in {16,22,32,48,64}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/media-optical-cdaudio.png hicolor/"$i"x"$i"/apps/kcmaudiocd.png; done
popd
# Updates applications categories for openSUSE
diff --git a/redhat/main/tdemultimedia/tdemultimedia-14.0.1.spec b/redhat/main/tdemultimedia/tdemultimedia-14.0.1.spec
deleted file mode 100644
index c4ddf3e06..000000000
--- a/redhat/main/tdemultimedia/tdemultimedia-14.0.1.spec
+++ /dev/null
@@ -1,1337 +0,0 @@
-#
-# spec file for package tdemultimedia (version R14)
-#
-# Copyright (c) 2014 Trinity Desktop Environment
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-#
-# Please submit bugfixes or comments via http://www.trinitydesktop.org/
-#
-
-# BUILD WARNING:
-# Remove qt-devel and qt3-devel and any kde*-devel on your system !
-# Having KDE libraries may cause FTBFS here !
-
-# TDE variables
-%define tde_epoch 2
-%if "%{?tde_version}" == ""
-%define tde_version 14.0.1
-%endif
-%define tde_pkg tdemultimedia
-%define tde_prefix /opt/trinity
-%define tde_bindir %{tde_prefix}/bin
-%define tde_datadir %{tde_prefix}/share
-%define tde_docdir %{tde_datadir}/doc
-%define tde_includedir %{tde_prefix}/include
-%define tde_libdir %{tde_prefix}/%{_lib}
-%define tde_tdeappdir %{tde_datadir}/applications/tde
-%define tde_tdedocdir %{tde_docdir}/tde
-%define tde_tdeincludedir %{tde_includedir}/tde
-%define tde_tdelibdir %{tde_libdir}/trinity
-
-# 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
-
-
-Name: trinity-%{tde_pkg}
-Summary: Multimedia applications for the Trinity Desktop Environment (TDE)
-Version: %{tde_version}
-Release: %{?!preversion:2}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
-Group: Productivity/Multimedia/Sound/Utilities
-URL: http://www.trinitydesktop.org/
-
-%if 0%{?suse_version}
-License: GPL-2.0+
-%else
-License: GPLv2+
-%endif
-
-#Vendor: Trinity Project
-#Packager: Francois Andriot <francois.andriot@free.fr>
-
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
-
-Obsoletes: trinity-kdemultimedia < %{version}-%{release}
-Provides: trinity-kdemultimedia = %{version}-%{release}
-Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release}
-Provides: trinity-kdemultimedia-libs = %{version}-%{release}
-Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release}
-Provides: trinity-kdemultimedia-extras = %{version}-%{release}
-Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release}
-Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release}
-
-BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
-BuildRequires: trinity-tdelibs-devel >= %{tde_version}
-BuildRequires: trinity-tdebase-devel >= %{tde_version}
-
-BuildRequires: autoconf automake libtool m4
-BuildRequires: gcc-c++
-BuildRequires: fdupes
-BuildRequires: desktop-file-utils
-
-# SUSE desktop files utility
-%if 0%{?suse_version}
-BuildRequires: update-desktop-files
-%endif
-
-%if 0%{?opensuse_bs} && 0%{?suse_version}
-# for xdg-menu script
-BuildRequires: brp-check-trinity
-%endif
-
-# TAGLIB support
-%define with_taglib 1
-BuildRequires: taglib-devel
-
-# AKODE support
-%if 0%{?with_akode}
-BuildRequires: trinity-akode-devel
-%{?with_mad:BuildRequires: trinity-akode-libmad}
-%endif
-
-# ZLIB support
-BuildRequires: zlib-devel
-
-# MUSICBRAINZ support
-## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4)
-#define with_musicbrainz 1
-#BuildRequires: libmusicbrainz-devel libtunepimp-devel
-
-# Audio libraries
-BuildRequires: libvorbis-devel
-BuildRequires: audiofile-devel
-BuildRequires: libtheora-devel
-BuildRequires: alsa-lib-devel
-BuildRequires: cdparanoia
-#BuildRequires: libmpg123-devel
-
-# CDDA support
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: libcdda-devel
-%endif
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
-BuildRequires: cdparanoia-devel
-%endif
-
-# FLAC support
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%if 0%{?pclinuxos}
-BuildRequires: libflac-devel
-%else
-BuildRequires: %{_lib}flac-devel
-%endif
-%endif
-%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
-BuildRequires: flac-devel
-%endif
-
-# GSTREAMER support
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%if 0%{?pclinuxos}
-BuildRequires: libgstreamer0.10-devel
-%else
-BuildRequires: %{_lib}gstreamer0.10-devel
-%endif
-%endif
-%if 0%{?rhel} || 0%{?fedora}
-BuildRequires: gstreamer-devel
-%endif
-%if 0%{?suse_version}
-BuildRequires: gstreamer-0_10-devel
-%endif
-
-# X11 Libraries
-%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}xxf86dga-devel
-BuildRequires: %{_lib}xxf86vm-devel
-%if 0%{?mgaversion} >= 4
-BuildRequires: %{_lib}xtst-devel
-%else
-BuildRequires: %{_lib}xtst%{?mgaversion:6}-devel
-%endif
-%endif
-%if 0%{?rhel} == 4
-BuildRequires: xorg-x11-devel
-%endif
-%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} >= 1220
-BuildRequires: libXxf86dga-devel
-BuildRequires: libXxf86vm-devel
-%endif
-
-# XINE support
-%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} == 18 || 0%{?fedora} == 19 || 0%{?rhel} >= 5
-%define with_xine 1
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%if 0%{?pclinuxos}
-BuildRequires: %{_lib}xine-devel
-%else
-BuildRequires: %{_lib}xine1.2-devel
-%endif
-%endif
-%if 0%{?fedora} || 0%{?rhel}
-BuildRequires: xine-lib-devel
-%endif
-%if 0%{?suse_version}
-BuildRequires: libxine-devel
-%endif
-%endif
-
-# LAME support
-%if 0%{?opensuse_bs} == 0
-%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version} || 0%{?with_lame}
-%define with_lame 1
-
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%if 0%{?pclinuxos}
-BuildRequires: liblame-devel
-%else
-BuildRequires: %{_lib}lame-devel
-%endif
-%endif
-
-%if 0%{?suse_version}
-BuildRequires: libmp3lame-devel
-%endif
-
-%if 0%{?fedora} || 0%{?rhel}
-BuildRequires: lame-devel
-%endif
-
-%endif
-%endif
-
-Requires: trinity-artsbuilder = %{version}-%{release}
-Requires: trinity-juk = %{version}-%{release}
-Requires: trinity-kaboodle = %{version}-%{release}
-Requires: trinity-kaudiocreator = %{version}-%{release}
-Requires: %{name}-kfile-plugins = %{version}-%{release}
-Requires: %{name}-kappfinder-data = %{version}-%{release}
-Requires: %{name}-tdeio-plugins = %{version}-%{release}
-Requires: trinity-tdemid = %{version}-%{release}
-Requires: trinity-kmix = %{version}-%{release}
-Requires: trinity-krec = %{version}-%{release}
-Requires: trinity-kscd = %{version}-%{release}
-%{?with_akode:Requires: trinity-libarts-akode = %{version}-%{release}}
-Requires: trinity-libarts-audiofile = %{version}-%{release}
-%{?with_mpeg:Requires: trinity-libarts-mpeglib = %{version}-%{release}}
-%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}}
-Requires: trinity-libkcddb = %{version}-%{release}
-%{?with_mpeg:Requires: trinity-mpeglib = %{version}-%{release}}
-Requires: trinity-noatun = %{version}-%{release}
-
-
-%description
-The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window
-System. The tdemultimedia package contains multimedia applications for
-TDE, including:
- artsbuilder, Synthesizer designer for aRts
- juk, a media player
- tdemid, a midi player
- kmix, an audio mixer
- arts, additional functionality for the aRts sound system
- krec, a recording tool
- kscd, an Audio-CD player
- kaudiocreator, a graphical frontend for audio file creation
- kaboodle, a media player
- noatun, a media player
-
-%files
-
-##########
-
-%package -n trinity-artsbuilder
-Summary: Synthesizer designer for aRts
-Group: Productivity/Multimedia/Sound/Mixers
-Requires: trinity-kicker >= %{tde_version}
-
-%description -n trinity-artsbuilder
-This is the analog Realtime synthesizer's graphical design tool.
-
-%files -n trinity-artsbuilder
-%defattr(-,root,root,-)
-%{tde_bindir}/artsbuilder
-%{tde_bindir}/artscontrol
-%{tde_bindir}/midisend
-%{tde_libdir}/libartsbuilder.la
-%{tde_libdir}/libartsbuilder.so.*
-%{tde_libdir}/libartscontrolapplet.la
-%{tde_libdir}/libartscontrolapplet.so.*
-%{tde_libdir}/libartscontrolsupport.la
-%{tde_libdir}/libartscontrolsupport.so.*
-%{tde_libdir}/libartsgui_idl.la
-%{tde_libdir}/libartsgui_idl.so.*
-%{tde_libdir}/libartsgui_kde.la
-%{tde_libdir}/libartsgui_kde.so.*
-%{tde_libdir}/libartsgui.la
-%{tde_libdir}/libartsgui.so.*
-%{tde_libdir}/libartsmidi_idl.la
-%{tde_libdir}/libartsmidi_idl.so.*
-%{tde_libdir}/libartsmidi.la
-%{tde_libdir}/libartsmidi.so.*
-%{tde_libdir}/libartsmodulescommon.la
-%{tde_libdir}/libartsmodulescommon.so.*
-%{tde_libdir}/libartsmoduleseffects.la
-%{tde_libdir}/libartsmoduleseffects.so.*
-%{tde_libdir}/libartsmodulesmixers.la
-%{tde_libdir}/libartsmodulesmixers.so.*
-%{tde_libdir}/libartsmodules.la
-%{tde_libdir}/libartsmodules.so.*
-%{tde_libdir}/libartsmodulessynth.la
-%{tde_libdir}/libartsmodulessynth.so.*
-%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass
-%{tde_libdir}/mcop/artsbuilder.mcopclass
-%{tde_libdir}/mcop/artsbuilder.mcoptype
-%{tde_libdir}/mcop/Arts/Button.mcopclass
-%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass
-%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass
-%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass
-%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass
-%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass
-%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass
-%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass
-%{tde_libdir}/mcop/Arts/Fader.mcopclass
-%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass
-%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass
-%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass
-%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass
-%{tde_libdir}/mcop/Arts/GraphLine.mcopclass
-%{tde_libdir}/mcop/artsgui.mcopclass
-%{tde_libdir}/mcop/artsgui.mcoptype
-%{tde_libdir}/mcop/Arts/HBox.mcopclass
-%{tde_libdir}/mcop/Arts/Label.mcopclass
-%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass
-%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass
-%{tde_libdir}/mcop/Arts/LineEdit.mcopclass
-%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass
-%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass
-%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass
-%{tde_libdir}/mcop/Arts/MidiManager.mcopclass
-%{tde_libdir}/mcop/artsmidi.mcopclass
-%{tde_libdir}/mcop/artsmidi.mcoptype
-%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass
-%{tde_libdir}/mcop/artsmodulescommon.mcopclass
-%{tde_libdir}/mcop/artsmodulescommon.mcoptype
-%{tde_libdir}/mcop/artsmoduleseffects.mcopclass
-%{tde_libdir}/mcop/artsmoduleseffects.mcoptype
-%{tde_libdir}/mcop/artsmodules.mcopclass
-%{tde_libdir}/mcop/artsmodules.mcoptype
-%{tde_libdir}/mcop/artsmodulesmixers.mcopclass
-%{tde_libdir}/mcop/artsmodulesmixers.mcoptype
-%{tde_libdir}/mcop/artsmodulessynth.mcopclass
-%{tde_libdir}/mcop/artsmodulessynth.mcoptype
-%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass
-%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass
-%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass
-%{tde_libdir}/mcop/Arts/PopupBox.mcopclass
-%{tde_libdir}/mcop/Arts/Poti.mcopclass
-%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass
-%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass
-%{tde_libdir}/mcop/Arts/SpinBox.mcopclass
-%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass
-%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass
-%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass
-%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass
-%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass
-%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass
-%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass
-%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass
-%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass
-%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass
-%{tde_libdir}/mcop/Arts/VBox.mcopclass
-%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass
-%{tde_libdir}/mcop/Arts/Widget.mcopclass
-%{tde_tdeappdir}/artsbuilder.desktop
-%{tde_tdeappdir}/artscontrol.desktop
-%{tde_datadir}/apps/artsbuilder/
-%{tde_datadir}/apps/artscontrol/
-%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop
-%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png
-%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png
-%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png
-%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png
-%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png
-%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png
-%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz
-%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz
-%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png
-%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png
-%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz
-%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz
-%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop
-%{tde_tdedocdir}/HTML/en/artsbuilder/
-
-%post -n trinity-artsbuilder
-/sbin/ldconfig
-for f in crystalsvg hicolor ; do
- touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-artsbuilder
-/sbin/ldconfig
-for f in crystalsvg hicolor locolor ; do
- touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%package -n trinity-juk
-Summary: Music organizer and player for Trinity
-Group: Productivity/Multimedia/Sound/Players
-
-%description -n trinity-juk
-JuK (pronounced "jook") is a jukebox and music manager for the TDE
-desktop similar to jukebox software on other platforms such as
-iTunes or RealOne.
-
-Some of JuK's features include:
-* Support for Ogg Vorbis and MP3 formats
-* Tag editing support for both formats, including ID3v2 for MP3 files.
- Multitagging or editing a selection of multiple files at once is also
- supported
-* Output to either the aRts, default KDE sound system, or GStreamer
-* Management of your "collection" and multiple playlists
-* Import and export to m3u playlists
-* Binary caching of audio meta-data and playlist information for faster
- load times (starting with the second time you run JuK)
-* Integration into TDE that allows drag-and-drop and clipboard usage
- with other TDE and X apps
-
-%files -n trinity-juk
-%defattr(-,root,root,-)
-%{tde_bindir}/juk
-%{tde_tdeappdir}/juk.desktop
-%{tde_datadir}/apps/juk/
-%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop
-%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png
-%{tde_datadir}/icons/hicolor/*/apps/juk.png
-%{tde_tdedocdir}/HTML/en/juk/
-
-%post -n trinity-juk
-for f in crystalsvg hicolor ; do
- touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-juk
-for f in crystalsvg hicolor ; do
- touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%package -n trinity-kaboodle
-Summary: Light, embedded media player for Trinity
-Group: System/GUI/Other
-
-%if 0%{?with_xine}
-Requires: trinity-libarts-xine = %{version}-%{release}
-%endif
-
-%description -n trinity-kaboodle
-Kaboodle is a light, embedded media player, supporting both video and audio,
-for TDE. It uses the aRts framework for playing media files.
-
-%files -n trinity-kaboodle
-%defattr(-,root,root,-)
-%{tde_bindir}/kaboodle
-%{tde_tdelibdir}/libkaboodlepart.la
-%{tde_tdelibdir}/libkaboodlepart.so
-%{tde_tdeappdir}/kaboodle.desktop
-%{tde_datadir}/apps/kaboodle/
-%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png
-%{tde_datadir}/services/kaboodle_component.desktop
-%{tde_datadir}/services/kaboodleengine.desktop
-%{tde_tdedocdir}/HTML/en/kaboodle/
-
-%post -n trinity-kaboodle
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-kaboodle
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%package -n trinity-kaudiocreator
-Summary: CD ripper and audio encoder frontend for Trinity
-Group: Productivity/Multimedia/CD/Grabbers
-
-Requires: %{name}-tdeio-plugins = %{version}-%{release}
-Requires: vorbis-tools
-Requires: flac
-
-%description -n trinity-kaudiocreator
-KAudioCreator is a tool for audio extraction (ripping) and encoding. It can
-keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also
-searches CDDB to retrieve the information of the disk.
-
-%files -n trinity-kaudiocreator
-%defattr(-,root,root,-)
-%{tde_bindir}/kaudiocreator
-%{tde_tdeappdir}/kaudiocreator.desktop
-%{tde_datadir}/apps/kaudiocreator/
-%{tde_datadir}/apps/tdeconf_update/kaudiocreator-libkcddb.upd
-%{tde_datadir}/apps/tdeconf_update/kaudiocreator-meta.upd
-%{tde_datadir}/apps/tdeconf_update/upgrade-kaudiocreator-metadata.sh
-%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop
-%{tde_datadir}/config.kcfg/kaudiocreator.kcfg
-%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg
-%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png
-%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png
-%{tde_tdedocdir}/HTML/en/kaudiocreator/
-
-%post -n trinity-kaudiocreator
-for f in hicolor locolor ; do
- touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-kaudiocreator
-for f in hicolor locolor ; do
- touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%package kfile-plugins
-Summary: An au/avi/m3u/mp3/ogg/wav plugins for kfile
-Group: Productivity/Multimedia/Sound/Utilities
-
-%description kfile-plugins
-au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity.
-
-%files kfile-plugins
-%defattr(-,root,root,-)
-%{tde_tdelibdir}/tdefile_au.la
-%{tde_tdelibdir}/tdefile_au.so
-%{tde_tdelibdir}/tdefile_avi.la
-%{tde_tdelibdir}/tdefile_avi.so
-%{tde_tdelibdir}/tdefile_flac.la
-%{tde_tdelibdir}/tdefile_flac.so
-%{tde_tdelibdir}/tdefile_m3u.la
-%{tde_tdelibdir}/tdefile_m3u.so
-%{tde_tdelibdir}/tdefile_mp3.la
-%{tde_tdelibdir}/tdefile_mp3.so
-%{tde_tdelibdir}/tdefile_mpc.la
-%{tde_tdelibdir}/tdefile_mpc.so
-%{tde_tdelibdir}/tdefile_mpeg.la
-%{tde_tdelibdir}/tdefile_mpeg.so
-%{tde_tdelibdir}/tdefile_ogg.la
-%{tde_tdelibdir}/tdefile_ogg.so
-%{tde_tdelibdir}/tdefile_sid.la
-%{tde_tdelibdir}/tdefile_sid.so
-%{tde_tdelibdir}/tdefile_theora.la
-%{tde_tdelibdir}/tdefile_theora.so
-%{tde_tdelibdir}/tdefile_wav.la
-%{tde_tdelibdir}/tdefile_wav.so
-%{tde_datadir}/services/tdefile_au.desktop
-%{tde_datadir}/services/tdefile_avi.desktop
-%{tde_datadir}/services/tdefile_flac.desktop
-%{tde_datadir}/services/tdefile_m3u.desktop
-%{tde_datadir}/services/tdefile_mp3.desktop
-%{tde_datadir}/services/tdefile_mpc.desktop
-%{tde_datadir}/services/tdefile_mpeg.desktop
-%{tde_datadir}/services/tdefile_ogg.desktop
-%{tde_datadir}/services/tdefile_sid.desktop
-%{tde_datadir}/services/tdefile_theora.desktop
-%{tde_datadir}/services/tdefile_wav.desktop
-
-##########
-
-%package kappfinder-data
-Summary: Multimedia data for kappfinder
-Group: Productivity/Multimedia/Sound/Utilities
-
-Requires: trinity-kappfinder >= %{tde_version}
-Requires: trinity-tdebase-runtime-data-common >= %{tde_version}
-
-%description kappfinder-data
-This package provides data on multimedia applications for kappfinder.
-
-%files kappfinder-data
-%defattr(-,root,root,-)
-%{tde_datadir}/apps/kappfinder/
-%{tde_datadir}/desktop-directories/tde-multimedia-music.directory
-%config %{_sysconfdir}/xdg/menus/applications-merged/tde-multimedia-music.menu
-
-##########
-
-%package tdeio-plugins
-Summary: Enables the browsing of audio CDs under Konqueror
-Group: Productivity/Multimedia/Sound/Utilities
-Requires: trinity-tdebase-tdeio-plugins >= %{tde_version}
-
-Obsoletes: trinity-tdemultimedia-kio-plugins < %{version}-%{release}
-Provides: trinity-tdemultimedia-kio-plugins = %{version}-%{release}
-
-%description tdeio-plugins
-This package allow audio CDs to be browsed like a file system using
-Konqueror and the audiocd:/ URL.
-
-%files tdeio-plugins
-%defattr(-,root,root,-)
-%{tde_tdelibdir}/kcm_audiocd.la
-%{tde_tdelibdir}/kcm_audiocd.so
-%{tde_tdelibdir}/tdeio_audiocd.la
-%{tde_tdelibdir}/tdeio_audiocd.so
-%{tde_tdelibdir}/libaudiocd_encoder_flac.la
-%{tde_tdelibdir}/libaudiocd_encoder_flac.so
-%{tde_tdelibdir}/libaudiocd_encoder_lame.la
-%{tde_tdelibdir}/libaudiocd_encoder_lame.so
-%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la
-%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so
-%{tde_tdelibdir}/libaudiocd_encoder_wav.la
-%{tde_tdelibdir}/libaudiocd_encoder_wav.so
-%{tde_libdir}/libaudiocdplugins.so.*
-%{tde_tdeappdir}/audiocd.desktop
-%{tde_datadir}/apps/tdeconf_update/audiocd.upd
-%{tde_datadir}/apps/tdeconf_update/upgrade-metadata.sh
-%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg
-%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg
-%{tde_datadir}/services/audiocd.protocol
-%{tde_tdedocdir}/HTML/en/tdeioslave/audiocd/
-%{tde_tdedocdir}/HTML/en/kcontrol/audiocd/
-%{tde_datadir}/icons/hicolor/*/apps/kcmaudiocd.png
-
-%post tdeio-plugins
-/sbin/ldconfig
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun tdeio-plugins
-/sbin/ldconfig
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%package -n trinity-tdemid
-Summary: MIDI/karaoke player for Trinity
-Group: Productivity/Multimedia/Sound/Midi
-
-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-tdemid
-%defattr(-,root,root,-)
-%{tde_bindir}/tdemid
-%{tde_tdelibdir}/libtdemidpart.la
-%{tde_tdelibdir}/libtdemidpart.so
-%{tde_libdir}/libtdemidlib.so.*
-%{tde_tdeappdir}/tdemid.desktop
-%{tde_datadir}/apps/tdemid/
-%{tde_datadir}/icons/hicolor/*/apps/tdemid.png
-%{tde_datadir}/mimelnk/audio/x-karaoke.desktop
-%{tde_datadir}/servicetypes/audiomidi.desktop
-%{tde_tdedocdir}/HTML/en/tdemid/
-
-%post -n trinity-tdemid
-/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-tdemid
-/sbin/ldconfig
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%package -n trinity-kmix
-Summary: Sound mixer applet for Trinity
-Group: Productivity/Multimedia/Sound/Mixers
-Requires: trinity-kicker >= %{tde_version}
-
-%description -n trinity-kmix
-This package includes TDE's dockable sound mixer applet.
-
-%files -n trinity-kmix
-%defattr(-,root,root,-)
-%{tde_bindir}/kmix
-%{tde_bindir}/kmixctrl
-%{tde_tdelibdir}/kmix.la
-%{tde_tdelibdir}/kmix.so
-%{tde_tdelibdir}/kmix_panelapplet.la
-%{tde_tdelibdir}/kmix_panelapplet.so
-%{tde_tdelibdir}/kmixctrl.la
-%{tde_tdelibdir}/kmixctrl.so
-%{tde_libdir}/libtdeinit_kmix.so
-%{tde_libdir}/libtdeinit_kmixctrl.so
-%{tde_tdeappdir}/kmix.desktop
-%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop
-%{tde_datadir}/apps/kmix/
-%{tde_datadir}/autostart/kmix.desktop
-%{tde_datadir}/autostart/restore_kmix_volumes.desktop
-%{tde_datadir}/icons/hicolor/*/apps/kmix.png
-%{tde_datadir}/services/kmixctrl_restore.desktop
-%{tde_tdedocdir}/HTML/en/kmix/
-
-%post -n trinity-kmix
-/sbin/ldconfig
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-kmix
-/sbin/ldconfig
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%package -n trinity-krec
-Summary: Sound recorder utility for Trinity
-Group: Productivity/Multimedia/CD/Record
-
-%description -n trinity-krec
-This is a sound recording utility for Trinity.
-
-%files -n trinity-krec
-%defattr(-,root,root,-)
-%{tde_bindir}/krec
-%{tde_tdelibdir}/kcm_krec.la
-%{tde_tdelibdir}/kcm_krec.so
-%{tde_tdelibdir}/kcm_krec_files.la
-%{tde_tdelibdir}/kcm_krec_files.so
-%{tde_tdelibdir}/krec.la
-%{tde_tdelibdir}/krec.so
-%if 0%{?with_lame}
-%{tde_tdelibdir}/libkrecexport_mp3.la
-%{tde_tdelibdir}/libkrecexport_mp3.so
-%{tde_datadir}/services/krec_exportmp3.desktop
-%endif
-%{tde_tdelibdir}/libkrecexport_ogg.la
-%{tde_tdelibdir}/libkrecexport_ogg.so
-%{tde_tdelibdir}/libkrecexport_wave.la
-%{tde_tdelibdir}/libkrecexport_wave.so
-%{tde_libdir}/libtdeinit_krec.so
-%{tde_tdeappdir}/krec.desktop
-%{tde_datadir}/apps/krec/
-%{tde_datadir}/icons/hicolor/*/apps/krec.png
-%{tde_datadir}/services/kcm_krec.desktop
-%{tde_datadir}/services/kcm_krec_files.desktop
-%{tde_datadir}/services/krec_exportogg.desktop
-%{tde_datadir}/services/krec_exportwave.desktop
-%{tde_datadir}/servicetypes/krec_exportitem.desktop
-%{tde_tdedocdir}/HTML/en/krec/
-
-%post -n trinity-krec
-/sbin/ldconfig
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-krec
-/sbin/ldconfig
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%package -n trinity-kscd
-Summary: Audio CD player for Trinity
-Group: Productivity/Multimedia/CD/Players
-
-%description -n trinity-kscd
-This is Trinity's audio CD player.
-
-%files -n trinity-kscd
-%defattr(-,root,root,-)
-%{tde_bindir}/kscd
-%{tde_bindir}/workman2cddb.pl
-%{tde_tdeappdir}/kscd.desktop
-%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop
-%{tde_datadir}/apps/kscd/
-%{tde_datadir}/apps/profiles/kscd.profile.xml
-%{tde_datadir}/config.kcfg/kscd.kcfg
-%{tde_datadir}/icons/hicolor/*/apps/kscd.png
-%{tde_datadir}/mimelnk/text/xmcd.desktop
-%{tde_tdedocdir}/HTML/en/kscd/
-
-%post -n trinity-kscd
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-kscd
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%if 0%{?with_akode}
-%package -n trinity-libarts-akode
-Summary: Akode plugin for aRts
-Group: Productivity/Multimedia/Other
-
-%description -n trinity-libarts-akode
-This package contains akode plugins for aRts.
-
-%files -n trinity-libarts-akode
-%defattr(-,root,root,-)
-%{tde_libdir}/libarts_akode.so.*
-%{tde_libdir}/libarts_akode.la
-%{tde_libdir}/mcop/akodearts.mcoptype
-%{tde_libdir}/mcop/akodearts.mcopclass
-%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass
-%{tde_libdir}/mcop/akodePlayObject.mcopclass
-%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass
-%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass
-%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass
-
-# Requires MAD support
-%{?with_mad:%{tde_libdir}/mcop/akodeMPEGPlayObject.mcopclass}
-
-%post -n trinity-libarts-akode
-/sbin/ldconfig
-
-%postun -n trinity-libarts-akode
-/sbin/ldconfig
-%endif
-
-##########
-
-%package -n trinity-libarts-audiofile
-Summary: Audiofile plugin for aRts
-Group: Productivity/Multimedia/Other
-
-%description -n trinity-libarts-audiofile
-This package contains audiofile plugins for aRts.
-
-%files -n trinity-libarts-audiofile
-%defattr(-,root,root,-)
-%{tde_libdir}/libarts_audiofile.so.*
-%{tde_libdir}/libarts_audiofile.la
-%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass
-%{tde_libdir}/mcop/audiofilearts.mcopclass
-%{tde_libdir}/mcop/audiofilearts.mcoptype
-
-%post -n trinity-libarts-audiofile
-/sbin/ldconfig
-
-%postun -n trinity-libarts-audiofile
-/sbin/ldconfig
-
-##########
-
-%if 0%{?with_mpeg}
-%package -n trinity-libarts-mpeglib
-Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video
-Group: Productivity/Multimedia/Other
-
-%description -n trinity-libarts-mpeglib
-This package contains the mpeglib aRts plugin, supporting mp3 and mpeg
-audio and video.
-
-This is the arts (TDE Sound daemon) plugin.
-
-%files -n trinity-libarts-mpeglib
-%defattr(-,root,root,-)
-%{tde_bindir}/mpeglibartsplay
-%{tde_libdir}/libarts_mpeglib-0.3.0.so.*
-%{tde_libdir}/libarts_mpeglib.la
-%{tde_libdir}/libarts_splay.so.*
-%{tde_libdir}/libarts_splay.la
-%{tde_libdir}/mcop/CDDAPlayObject.mcopclass
-%{tde_libdir}/mcop/MP3PlayObject.mcopclass
-%{tde_libdir}/mcop/NULLPlayObject.mcopclass
-%{tde_libdir}/mcop/OGGPlayObject.mcopclass
-%{tde_libdir}/mcop/SplayPlayObject.mcopclass
-%{tde_libdir}/mcop/WAVPlayObject.mcopclass
-
-%post -n trinity-libarts-mpeglib
-/sbin/ldconfig
-
-%postun -n trinity-libarts-mpeglib
-/sbin/ldconfig
-%endif
-
-##########
-
-%if 0%{?with_xine}
-%package -n trinity-libarts-xine
-Summary: ARTS plugin enabling xine support
-Group: Productivity/Multimedia/Other
-
-%description -n trinity-libarts-xine
-This package contains aRts' xine plugin, allowing the use of the xine
-multimedia engine though aRts.
-
-%files -n trinity-libarts-xine
-%defattr(-,root,root,-)
-%{tde_tdelibdir}/videothumbnail.la
-%{tde_tdelibdir}/videothumbnail.so
-%{tde_libdir}/libarts_xine.so.*
-%{tde_libdir}/libarts_xine.la
-%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass
-%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass
-%{tde_datadir}/apps/videothumbnail/sprocket-large.png
-%{tde_datadir}/apps/videothumbnail/sprocket-medium.png
-%{tde_datadir}/apps/videothumbnail/sprocket-small.png
-%{tde_datadir}/services/videothumbnail.desktop
-
-%post -n trinity-libarts-xine
-/sbin/ldconfig
-
-%postun -n trinity-libarts-xine
-/sbin/ldconfig
-%endif
-
-##########
-
-%package -n trinity-libkcddb
-Summary: CDDB library for Trinity
-Group: Productivity/Multimedia/Other
-Requires: trinity-kcontrol >= %{tde_version}
-
-%description -n trinity-libkcddb
-The Trinity native CDDB (CD Data Base) library, providing easy access to Audio
-CD meta-information (track titles, artist information, etc.) from on-line
-databases, for TDE applications.
-
-%files -n trinity-libkcddb
-%defattr(-,root,root,-)
-%{tde_tdelibdir}/kcm_cddb.la
-%{tde_tdelibdir}/kcm_cddb.so
-%{tde_libdir}/libkcddb.so.*
-%{tde_tdeappdir}/libkcddb.desktop
-%{tde_datadir}/apps/tdeconf_update/kcmcddb-emailsettings.upd
-%{tde_datadir}/config.kcfg/libkcddb.kcfg
-%{tde_tdedocdir}/HTML/en/kcontrol/cddb/
-
-%post -n trinity-libkcddb
-/sbin/ldconfig
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-libkcddb
-/sbin/ldconfig
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%if 0%{?with_mpeg}
-
-%package -n trinity-mpeglib
-Summary: MP3 and MPEG-1 audio and video library
-Group: Productivity/Multimedia/Other
-%if 0%{?with_mpeg}
-Requires: trinity-libarts-mpeglib = %{version}-%{release}
-%endif
-
-%description -n trinity-mpeglib
-mpeglib is a MPEG-1 and MP3 audio and video library. It supports
-MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer,
-and WAV playback
-
-%files -n trinity-mpeglib
-%defattr(-,root,root,-)
-%{tde_bindir}/yaf-cdda
-%{tde_bindir}/yaf-mpgplay
-%{tde_bindir}/yaf-splay
-%{tde_bindir}/yaf-tplay
-%{tde_bindir}/yaf-vorbis
-%{tde_bindir}/yaf-yuv
-%{tde_libdir}/libmpeg-0.3.0.so
-%{tde_libdir}/libyafcore.so
-%{tde_libdir}/libyafxplayer.so
-
-%post -n trinity-mpeglib
-/sbin/ldconfig
-
-%postun -n trinity-mpeglib
-/sbin/ldconfig
-
-%endif
-
-##########
-
-%package -n trinity-noatun
-Summary: Media player for Trinity
-Group: Productivity/Multimedia/Video/Players
-Requires: trinity-tdebase-bin >= %{tde_version}
-
-# 20120802: Hack to avoid dependency issue on MGA2 and MDV2011
-%if 0%{?mgaversion} || 0%{?mdkversion}
-Provides: devel(libnoatunarts)
-Provides: devel(libnoatunarts(64bit))
-%endif
-
-%description -n trinity-noatun
-Noatun is an aRts-based audio and video player for Trinity. It supports all
-formats supported by your installation of aRts (including aRts plugins).
-
-%files -n trinity-noatun
-%defattr(-,root,root,-)
-%{tde_bindir}/noatun
-%{tde_libdir}/tdeconf_update_bin/noatun20update
-%{tde_tdelibdir}/noatun.la
-%{tde_tdelibdir}/noatun.so
-%{tde_tdelibdir}/noatun_dcopiface.la
-%{tde_tdelibdir}/noatun_dcopiface.so
-%{tde_tdelibdir}/noatun_excellent.la
-%{tde_tdelibdir}/noatun_excellent.so
-%{tde_tdelibdir}/noatun_htmlexport.la
-%{tde_tdelibdir}/noatun_htmlexport.so
-%{tde_tdelibdir}/noatun_infrared.la
-%{tde_tdelibdir}/noatun_infrared.so
-%{tde_tdelibdir}/noatun_kaiman.la
-%{tde_tdelibdir}/noatun_kaiman.so
-%{tde_tdelibdir}/noatun_keyz.la
-%{tde_tdelibdir}/noatun_keyz.so
-%{tde_tdelibdir}/noatun_kjofol.la
-%{tde_tdelibdir}/noatun_kjofol.so
-%{tde_tdelibdir}/noatun_marquis.la
-%{tde_tdelibdir}/noatun_marquis.so
-%{tde_tdelibdir}/noatun_metatag.la
-%{tde_tdelibdir}/noatun_metatag.so
-%{tde_tdelibdir}/noatun_monoscope.la
-%{tde_tdelibdir}/noatun_monoscope.so
-%{tde_tdelibdir}/noatun_net.la
-%{tde_tdelibdir}/noatun_net.so
-%{tde_tdelibdir}/noatun_splitplaylist.la
-%{tde_tdelibdir}/noatun_splitplaylist.so
-%{tde_tdelibdir}/noatun_systray.la
-%{tde_tdelibdir}/noatun_systray.so
-%{tde_tdelibdir}/noatun_ui.la
-%{tde_tdelibdir}/noatun_ui.so
-%{tde_tdelibdir}/noatun_voiceprint.la
-%{tde_tdelibdir}/noatun_voiceprint.so
-%{tde_tdelibdir}/noatun_winskin.la
-%{tde_tdelibdir}/noatun_winskin.so
-%{tde_tdelibdir}/noatunsimple.la
-%{tde_tdelibdir}/noatunsimple.so
-%{tde_libdir}/libartseffects.la
-%{tde_libdir}/libartseffects.so
-%{tde_libdir}/libtdeinit_noatun.so
-%{tde_libdir}/libnoatun.so.*
-%{tde_libdir}/libnoatunarts.la
-%{tde_libdir}/libnoatunarts.so
-%{tde_libdir}/libnoatuncontrols.so.*
-%{tde_libdir}/libnoatuntags.so.*
-%{tde_libdir}/libwinskinvis.la
-%{tde_libdir}/libwinskinvis.so
-%{tde_libdir}/mcop/ExtraStereo.mcopclass
-%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass
-%{tde_libdir}/mcop/Noatun/
-%{tde_libdir}/mcop/RawWriter.mcopclass
-%{tde_libdir}/mcop/VoiceRemoval.mcopclass
-%{tde_libdir}/mcop/artseffects.mcopclass
-%{tde_libdir}/mcop/artseffects.mcoptype
-%{tde_libdir}/mcop/noatunarts.mcopclass
-%{tde_libdir}/mcop/noatunarts.mcoptype
-%{tde_libdir}/mcop/winskinvis.mcopclass
-%{tde_libdir}/mcop/winskinvis.mcoptype
-%{tde_tdeappdir}/noatun.desktop
-%{tde_datadir}/apps/tdeconf_update/noatun.upd
-%{tde_datadir}/apps/noatun/
-%{tde_datadir}/icons/hicolor/*/apps/noatun.png
-%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop
-%{tde_tdedocdir}/HTML/en/noatun/
-
-%post -n trinity-noatun
-/sbin/ldconfig
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-%postun -n trinity-noatun
-/sbin/ldconfig
-for f in hicolor ; do
- touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
- gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
-done
-update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
-
-##########
-
-%package devel
-Summary: Development files for %{name}, aRts and noatun plugins
-Group: Development/Libraries/Other
-Requires: %{name} = %{version}-%{release}
-Requires: trinity-tdelibs-devel >= %{tde_version}
-
-Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release}
-Provides: trinity-kdemultimedia-devel = %{version}-%{release}
-
-%description devel
-{summary}.
-
-Install %{name}-devel if you wish to develop or compile any
-applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or
-noatun plugins.
-
-%files devel
-%defattr(-,root,root,-)
-%{tde_includedir}/*
-%if 0%{?with_akode}
-%{tde_libdir}/libarts_akode.so
-%endif
-%{tde_libdir}/libarts_audiofile.so
-%if 0%{?with_mpeg}
-%{tde_libdir}/libarts_mpeglib.so
-%{tde_libdir}/libarts_splay.so
-%endif
-%if 0%{?with_xine}
-%{tde_libdir}/libarts_xine.so
-%endif
-%{tde_libdir}/libartsbuilder.so
-%{tde_libdir}/libartscontrolapplet.so
-%{tde_libdir}/libartscontrolsupport.so
-%{tde_libdir}/libartsgui.so
-%{tde_libdir}/libartsgui_idl.so
-%{tde_libdir}/libartsgui_kde.so
-%{tde_libdir}/libartsmidi.so
-%{tde_libdir}/libartsmidi_idl.so
-%{tde_libdir}/libartsmodules.so
-%{tde_libdir}/libartsmodulescommon.so
-%{tde_libdir}/libartsmoduleseffects.so
-%{tde_libdir}/libartsmodulesmixers.so
-%{tde_libdir}/libartsmodulessynth.so
-%{tde_libdir}/libaudiocdplugins.la
-%{tde_libdir}/libaudiocdplugins.so
-%{tde_libdir}/libkcddb.la
-%{tde_libdir}/libkcddb.so
-%{tde_libdir}/libtdeinit_kmix.la
-%{tde_libdir}/libtdeinit_kmixctrl.la
-%{tde_libdir}/libtdeinit_krec.la
-%{tde_libdir}/libtdeinit_noatun.la
-%{tde_libdir}/libtdemidlib.la
-%{tde_libdir}/libtdemidlib.so
-%if 0%{?with_mpeg}
-%{tde_libdir}/libmpeg.la
-%{tde_libdir}/libmpeg.so
-%endif
-%{tde_libdir}/libnoatun.la
-%{tde_libdir}/libnoatun.so
-%{tde_libdir}/libnoatuncontrols.la
-%{tde_libdir}/libnoatuncontrols.so
-%{tde_libdir}/libnoatuntags.la
-%{tde_libdir}/libnoatuntags.so
-%if 0%{?with_mpeg}
-%{tde_libdir}/libyafcore.la
-%{tde_libdir}/libyafxplayer.la
-%endif
-
-%post devel
-/sbin/ldconfig
-
-%postun devel
-/sbin/ldconfig
-
-##########
-
-%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
-%debug_package
-%endif
-
-##########
-
-%prep
-%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
-
-%__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"
-
-# Update icons for some control center modules
-%__sed -i "tdeioslave/audiocd/kcmaudiocd/audiocd.desktop" -e "s|^Icon=.*|Icon=kcmaudio|"
-
-
-%build
-unset QTDIR QTINC QTLIB
-export PATH="%{tde_bindir}:${PATH}"
-export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
-
-# Warning: GCC visibility causes FTBFS [Bug #1285]
-%configure \
- --prefix=%{tde_prefix} \
- --exec-prefix=%{tde_prefix} \
- --bindir=%{tde_bindir} \
- --libdir=%{tde_libdir} \
- --includedir=%{tde_tdeincludedir} \
- --datadir=%{tde_datadir} \
- \
- --disable-dependency-tracking \
- --disable-debug \
- --enable-new-ldflags \
- --enable-final \
- --enable-closure \
- --enable-rpath \
- --disable-gcc-hidden-visibility \
- \
- --with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \
- \
- --with-vorbis \
- --without-ossaudio \
- --with-alsa \
- --with-cdparanoia \
- %{?with_lame:--with-lame} %{!?with_lame:--without-lame} \
- %{?with_taglib:--with-taglib} %{!?with_taglib:--without-taglib} \
- %{?with_akode:--with-akode} %{!?with_akode:--without-akode} \
- --with-audiofile \
- %{?with_musicbrainz:--with-musicbrainz} %{!?with_musicbrainz:--without-musicbrainz} \
- --with-gstreamer \
- --with-kscd-cdda \
- --with-theora \
- --with-flac \
- %{?with_xine:--with-xine} %{!?with_xine:--without-xine}
-
-# Fix unexplained "undefined reference to `__stack_chk_fail'"
-%if 0%{?mgaversion} >= 4 || 0%{?pclinuxos}
-%__sed -i "noatun/app/Makefile" -e "/^libtdeinit_noatun_la_LDFLAGS/ s/$/ -Wl,-lc/"
-%endif
-
-%__make %{?_smp_mflags} || %__make
-
-
-%install
-export PATH="%{tde_bindir}:${PATH}"
-%__rm -rf %{?buildroot}
-%__make install DESTDIR=%{buildroot}
-
-# Disable MPEG support entirely
-%if 0%{?with_mpeg} == 0
-%__rm %{?buildroot}%{tde_bindir}/mpeglibartsplay
-%__rm %{?buildroot}%{tde_bindir}/yaf-*
-%__rm %{?buildroot}%{tde_libdir}/libarts_mpeglib*
-%__rm %{?buildroot}%{tde_libdir}/libarts_splay.*
-%__rm %{?buildroot}%{tde_libdir}/libmpeg*
-%__rm %{?buildroot}%{tde_libdir}/libyaf*
-%__rm %{?buildroot}%{tde_libdir}/mcop/MP3PlayObject.mcopclass
-%__rm %{?buildroot}%{tde_libdir}/mcop/CDDAPlayObject.mcopclass
-%__rm %{?buildroot}%{tde_libdir}/mcop/NULLPlayObject.mcopclass
-%__rm %{?buildroot}%{tde_libdir}/mcop/OGGPlayObject.mcopclass
-%__rm %{?buildroot}%{tde_libdir}/mcop/SplayPlayObject.mcopclass
-%__rm %{?buildroot}%{tde_libdir}/mcop/WAVPlayObject.mcopclass
-%endif
-
-# Copy missing icons from 'crystalsvg' theme (tdelibs)
-%__mkdir_p "%{?buildroot}{tde_datadir}/icons/hicolor/"{16x16,22x22,32x32,48x48,64x64}"/apps/"
-pushd $RPM_BUILD_ROOT%{tde_datadir}/icons/
-for i in {16,22,32,48,64}; do %__cp %{tde_datadir}/icons/crystalsvg/"$i"x"$i"/devices/media-optical-cdaudio.png hicolor/"$i"x"$i"/apps/kcmaudiocd.png; done
-popd
-
-# Updates applications categories for openSUSE
-%if 0%{?suse_version}
-%suse_update_desktop_file krec AudioVideo Recorder
-%suse_update_desktop_file tdemid AudioVideo Midi
-%suse_update_desktop_file artsbuilder AudioVideo AudioVideoEditing
-%suse_update_desktop_file artscontrol AudioVideo AudioVideoEditing
-%suse_update_desktop_file kmix AudioVideo Mixer
-%suse_update_desktop_file kaboodle AudioVideo Player
-%suse_update_desktop_file kaudiocreator AudioVideo CD
-%suse_update_desktop_file kscd AudioVideo Player CD
-%suse_update_desktop_file noatun AudioVideo Player Video
-%suse_update_desktop_file juk AudioVideo Player Jukebox
-%suse_update_desktop_file audiocd
-%endif
-
-# Links duplicate files
-%fdupes "%{?buildroot}%{tde_datadir}"
-
-
-%clean
-%__rm -rf %{buildroot}
-
-
-%changelog
-* Tue Mar 10 2015 Francois Andriot <francois.andriot@free.fr> - 14.0.0-2
-- Fix dependencies and rebuild for Fedora 21
-
-* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
-- Initial release for TDE 14.0.0
diff --git a/redhat/main/tdenetwork/tdenetwork-14.0.0.spec b/redhat/main/tdenetwork/tdenetwork-14.0.0.spec
index 8f120bb85..82b3d5dac 100644
--- a/redhat/main/tdenetwork/tdenetwork-14.0.0.spec
+++ b/redhat/main/tdenetwork/tdenetwork-14.0.0.spec
@@ -218,6 +218,9 @@ BuildRequires: speex-devel
#{?fedora:Requires(hint): qca-tls}
Requires: jasper
+# ACL support
+BuildRequires: libacl-devel
+
# MEANWHILE support
%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version}
%define with_meanwhile 1
diff --git a/redhat/main/tdepim/tdepim-14.0.0.spec b/redhat/main/tdepim/tdepim-14.0.0.spec
index e1325e0a2..333790f53 100644
--- a/redhat/main/tdepim/tdepim-14.0.0.spec
+++ b/redhat/main/tdepim/tdepim-14.0.0.spec
@@ -73,9 +73,6 @@ Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
-%if 0%{?rhel} == 5
-Patch0: %{tde_pkg}-%{version}.patch
-%endif
BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
@@ -114,15 +111,13 @@ BuildRequires: brp-check-trinity
BuildRequires: gamin-devel
%endif
-# CURL support
+# FLEX support
%if 0%{?fedora} >= 15
BuildRequires: flex-static
%endif
-%if 0%{?rhel} > 0 && 0%{?rhel} <= 5
-BuildRequires: trinity-libcurl-devel
-%else
+
+# CURL support
BuildRequires: curl-devel
-%endif
# GLIB2 support
BuildRequires: glib2-devel
@@ -147,28 +142,47 @@ BuildRequires: libXcomposite-devel
%endif
# XSCREENSAVER support
-# Disabled on RHEL4
-%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
+# RHEL 4: disabled
+# RHEL 6: available in EPEL
+# RHEL 7: available in NUX
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
%define with_xscreensaver 1
-%if 0%{?rhel} == 5
-BuildRequires: xorg-x11-proto-devel
-BuildRequires: gnome-screensaver
+
+%if 0%{?fedora} || 0%{?rhel} >= 5
+BuildRequires: libXScrnSaver-devel
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-base
+BuildRequires: xscreensaver-extras
+%if 0%{?fedora}
+BuildRequires: xscreensaver-extras-base
%endif
+BuildRequires: xscreensaver-gl-base
+BuildRequires: xscreensaver-gl-extras
+%endif
+
+%if 0%{?suse_version}
+BuildRequires: libXScrnSaver-devel
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-data
+BuildRequires: xscreensaver-data-extra
+%endif
+
%if 0%{?mgaversion} || 0%{?mdkversion}
%if 0%{?mgaversion} >= 4
BuildRequires: %{_lib}xscrnsaver-devel
%else
BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
%endif
-%endif
-%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version} >= 1220
-BuildRequires: libXScrnSaver-devel
-%endif
-%if 0%{?suse_version} == 1140
BuildRequires: xscreensaver
+BuildRequires: xscreensaver-base
+BuildRequires: xscreensaver-extrusion
+BuildRequires: xscreensaver-gl
%endif
%endif
+# ACL support
+BuildRequires: libacl-devel
+
Requires: trinity-libtdepim = %{version}-%{release}
Requires: %{name}-kfile-plugins = %{version}-%{release}
@@ -339,7 +353,7 @@ Requires: trinity-akregator = %{version}-%{release}
%package -n trinity-kaddressbook
Summary: TDE addressbook application
Group: Applications/Communications
-Requires: trinity-kdebase-pim-ioslaves
+Requires: trinity-tdebase-pim-ioslaves
Requires: %{name}-tderesources = %{version}-%{release}
%description -n trinity-kaddressbook
@@ -2277,9 +2291,6 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
-%if 0%{?rhel} == 5
-%patch0 -p1
-%endif
%build
diff --git a/redhat/main/tdepim/tdepim-3.5.13.2.spec b/redhat/main/tdepim/tdepim-3.5.13.2.spec
index c54689446..39194a7f1 100644
--- a/redhat/main/tdepim/tdepim-3.5.13.2.spec
+++ b/redhat/main/tdepim/tdepim-3.5.13.2.spec
@@ -332,7 +332,7 @@ Requires: trinity-akregator = %{version}-%{release}
%package -n trinity-kaddressbook
Summary: TDE addressbook application
Group: Applications/Communications
-Requires: trinity-kdebase-pim-ioslaves
+Requires: trinity-tdebase-pim-ioslaves
Requires: %{name}-tderesources = %{version}-%{release}
%description -n trinity-kaddressbook
diff --git a/redhat/main/tdesdk/tdesdk-14.0.0.spec b/redhat/main/tdesdk/tdesdk-14.0.0.spec
index e0a56baa8..fae45ae81 100644
--- a/redhat/main/tdesdk/tdesdk-14.0.0.spec
+++ b/redhat/main/tdesdk/tdesdk-14.0.0.spec
@@ -83,6 +83,9 @@ BuildRequires: update-desktop-files
BuildRequires: brp-check-trinity
%endif
+# ACL support
+BuildRequires: libacl-devel
+
# IDN support
BuildRequires: libidn-devel
diff --git a/redhat/main/tdetoys/tdetoys-14.0.0.spec b/redhat/main/tdetoys/tdetoys-14.0.0.spec
index 6610bc48e..a6bc435f8 100644
--- a/redhat/main/tdetoys/tdetoys-14.0.0.spec
+++ b/redhat/main/tdetoys/tdetoys-14.0.0.spec
@@ -95,6 +95,9 @@ BuildRequires: libidn-devel
BuildRequires: gamin-devel
%endif
+# ACL support
+BuildRequires: libacl-devel
+
# PCRE support
BuildRequires: pcre-devel
diff --git a/redhat/main/tdeutils/tdeutils-14.0.0.spec b/redhat/main/tdeutils/tdeutils-14.0.0.spec
index e75b1b94c..32ab5e171 100644
--- a/redhat/main/tdeutils/tdeutils-14.0.0.spec
+++ b/redhat/main/tdeutils/tdeutils-14.0.0.spec
@@ -135,6 +135,9 @@ BuildRequires: pcre-devel
%define build_klaptopdaemon 1
%endif
+# ACL support
+BuildRequires: libacl-devel
+
# XSCREENSAVER support
%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
%define with_xscreensaver 1
@@ -1057,6 +1060,14 @@ This package contains the development files for tdeutils.
%prep
%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
+%if 0%{?rhel} == 5
+# Reverts some older Python stuff
+%__sed -i "superkaramba/src/"*".cpp" \
+ -e "s|PyBytes_CheckExact|PyString_CheckExact|g" \
+ -e "s|PyBytes_AsString|PyString_AsString|g" \
+ -e "s|PyBytes_FromString|PyString_FromString|g" \
+%endif
+
%build
unset QTDIR QTINC QTLIB
diff --git a/redhat/main/tdevelop/tdevelop-14.0.0.spec b/redhat/main/tdevelop/tdevelop-14.0.0.spec
index f6eec9e16..44c3191e9 100644
--- a/redhat/main/tdevelop/tdevelop-14.0.0.spec
+++ b/redhat/main/tdevelop/tdevelop-14.0.0.spec
@@ -27,6 +27,7 @@
%define tde_pkg tdevelop
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
+%define tde_confdir %{_sysconfdir}/trinity
%define tde_datadir %{tde_prefix}/share
%define tde_docdir %{tde_datadir}/doc
%define tde_includedir %{tde_prefix}/include
@@ -126,11 +127,15 @@ BuildRequires: subversion-devel
# NEON support
BuildRequires: neon-devel
-# LDAP support
+# OPENLDAP support
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: openldap-devel
+%endif
%if 0%{?suse_version}
BuildRequires: openldap2-devel
-%else
-BuildRequires: openldap-devel
+%endif
+%if 0%{?rhel} == 5
+BuildRequires: openldap24-libs-devel
%endif
# LIBACL support
@@ -168,9 +173,11 @@ individual needs.
%{tde_bindir}/kdevdesigner
%{tde_bindir}/tdevelop
%{tde_bindir}/tdevelop-htdig
-%{tde_bindir}/kdevprj2tdevelop
+%{tde_bindir}/kdevprj2kdevelop
%{tde_bindir}/kdevprofileeditor
%{tde_libdir}/tdeconf_update_bin/kdev-gen-settings-tdeconf_update
+%{tde_confdir}/kdevassistantrc
+%{tde_confdir}/tdeveloprc
%{tde_tdeappdir}/kdevassistant.desktop
%{tde_tdeappdir}/kdevdesigner.desktop
%{tde_tdeappdir}/tdevelop.desktop
@@ -490,8 +497,6 @@ individual needs.
%{tde_datadir}/apps/kdevtrollproject/
%{tde_datadir}/apps/kdevvalgrind/
%{tde_datadir}/apps/tdeio_pydoc/
-%{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
@@ -624,6 +629,12 @@ if [ -d /usr/X11R6 ]; then
export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
fi
+# openldap 2.4 includes (CentOS 5)
+if [ -d "/usr/include/openldap24" ]; then
+ RPM_OPT_FLAGS="-I%{_includedir}/openldap24 -L%{_libdir}/openldap24 ${RPM_OPT_FLAGS}"
+fi
+
+
if ! rpm -E %%cmake|grep -q "cd build"; then
%__mkdir_p build
cd build
@@ -641,6 +652,7 @@ fi
-DWITH_GCC_VISIBILITY=OFF \
\
-DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
-DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
-DLIB_INSTALL_DIR=%{tde_libdir} \
-DSHARE_INSTALL_PREFIX=%{tde_datadir} \
@@ -667,5 +679,5 @@ fi
%changelog
-* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 14.0.0-1
-- Initial release for TDE 14.0.0
+* Tue Jul 21 2015 Francois Andriot <francois.andriot@free.fr> - 14.0.1-1
+- Initial release
diff --git a/redhat/main/tdevelop/tdevelop-14.0.1.spec b/redhat/main/tdevelop/tdevelop-14.0.1.spec
deleted file mode 100644
index a767b72f9..000000000
--- a/redhat/main/tdevelop/tdevelop-14.0.1.spec
+++ /dev/null
@@ -1,673 +0,0 @@
-#
-# spec file for package tdevelop (version R14)
-#
-# Copyright (c) 2014 Trinity Desktop Environment
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-#
-# Please submit bugfixes or comments via http://www.trinitydesktop.org/
-#
-
-# BUILD WARNING:
-# Remove qt-devel and qt3-devel and any kde*-devel on your system !
-# Having KDE libraries may cause FTBFS here !
-
-# TDE variables
-%define tde_epoch 2
-%if "%{?tde_version}" == ""
-%define tde_version 14.0.1
-%endif
-%define tde_pkg tdevelop
-%define tde_prefix /opt/trinity
-%define tde_bindir %{tde_prefix}/bin
-%define tde_confdir %{_sysconfdir}/trinity
-%define tde_datadir %{tde_prefix}/share
-%define tde_docdir %{tde_datadir}/doc
-%define tde_includedir %{tde_prefix}/include
-%define tde_libdir %{tde_prefix}/%{_lib}
-%define tde_tdeappdir %{tde_datadir}/applications/tde
-%define tde_tdedocdir %{tde_docdir}/tde
-%define tde_tdeincludedir %{tde_includedir}/tde
-%define tde_tdelibdir %{tde_libdir}/trinity
-
-# 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
-
-
-Name: trinity-%{tde_pkg}
-Summary: Integrated Development Environment for C++/C
-Version: %{tde_version}
-Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
-Group: Development/Tools
-URL: http://www.trinitydesktop.org/
-
-%if 0%{?suse_version}
-License: GPL-2.0+
-%else
-License: GPLv2+
-%endif
-
-#Vendor: Trinity Project
-#Packager: Francois Andriot <francois.andriot@free.fr>
-
-Prefix: %{tde_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
-
-Requires: %{name}-libs = %{version}-%{release}
-
-BuildRequires: tqt3-apps-devel >= 3.5.0
-BuildRequires: trinity-arts-devel >= %{tde_epoch}:1.5.10
-BuildRequires: trinity-tdelibs-devel >= %{tde_version}
-BuildRequires: trinity-tdebase-devel >= %{tde_version}
-BuildRequires: trinity-tdesdk-devel >= %{tde_version}
-
-Obsoletes: trinity-kdevelop < %{version}-%{release}
-Provides: trinity-kdevelop = %{version}-%{release}
-
-# SUSE desktop files utility
-%if 0%{?suse_version}
-BuildRequires: update-desktop-files
-%endif
-
-%if 0%{?opensuse_bs} && 0%{?suse_version}
-# for xdg-menu script
-BuildRequires: brp-check-trinity
-%endif
-
-BuildRequires: cmake >= 2.8
-BuildRequires: gcc-c++
-BuildRequires: fdupes
-BuildRequires: desktop-file-utils
-BuildRequires: make
-
-Requires: make
-Requires: perl
-Requires: tqt3-designer >= 3.5.0
-Requires: libtqt3-mt-devel >= 3.5.0
-Requires: gettext
-Requires: ctags
-
-
-# LIBIDN support
-BuildRequires: libidn-devel
-
-# GAMIN support
-# Not on openSUSE.
-%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
-%define with_gamin 1
-BuildRequires: gamin-devel
-%endif
-
-# PCRE support
-BuildRequires: pcre-devel
-
-# DB4 support
-%if 0%{?rhel} || 0%{?fedora}
-BuildRequires: db4-devel
-%endif
-
-# FLEX support
-BuildRequires: flex
-Requires: flex >= 2.5.4
-
-# SVN support
-BuildRequires: subversion-devel
-
-# NEON support
-BuildRequires: neon-devel
-
-# LDAP support
-%if 0%{?suse_version}
-BuildRequires: openldap2-devel
-%else
-BuildRequires: openldap-devel
-%endif
-
-# LIBACL support
-%if 0%{?suse_version} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: libacl-devel
-%endif
-
-%description
-The TDevelop Integrated Development Environment provides many features
-that developers need as well as providing a unified interface to programs
-like gdb, the C/C++ compiler, and make. TDevelop manages or provides:
-
-All development tools needed for C++ programming like Compiler,
-Linker, automake and autoconf; KAppWizard, which generates complete,
-ready-to-go sample applications; Classgenerator, for creating new
-classes and integrating them into the current project; File management
-for sources, headers, documentation etc. to be included in the
-project; The creation of User-Handbooks written with SGML and the
-automatic generation of HTML-output with the KDE look and feel;
-Automatic HTML-based API-documentation for your project's classes with
-cross-references to the used libraries; Internationalization support
-for your application, allowing translators to easily add their target
-language to a project;
-
-tdevelop also includes WYSIWYG (What you see is what you get)-creation
-of user interfaces with a built-in dialog editor; Debugging your
-application by integrating KDbg; Editing of project-specific pixmaps
-with KIconEdit; The inclusion of any other program you need for
-development by adding it to the "Tools"-menu according to your
-individual needs.
-
-%files
-%defattr(-,root,root,-)
-%{tde_bindir}/kdevassistant
-%{tde_bindir}/kdevdesigner
-%{tde_bindir}/tdevelop
-%{tde_bindir}/tdevelop-htdig
-%{tde_bindir}/kdevprj2kdevelop
-%{tde_bindir}/kdevprofileeditor
-%{tde_libdir}/tdeconf_update_bin/kdev-gen-settings-tdeconf_update
-%{tde_confdir}/kdevassistantrc
-%{tde_confdir}/tdeveloprc
-%{tde_tdeappdir}/kdevassistant.desktop
-%{tde_tdeappdir}/kdevdesigner.desktop
-%{tde_tdeappdir}/tdevelop.desktop
-%{tde_tdeappdir}/tdevelop_c_cpp.desktop
-%{tde_tdeappdir}/tdevelop_kde_cpp.desktop
-%{tde_tdeappdir}/tdevelop_ruby.desktop
-%{tde_tdeappdir}/tdevelop_scripting.desktop
-%{tde_tdelibdir}/tdeio_chm.la
-%{tde_tdelibdir}/tdeio_chm.so
-%{tde_tdelibdir}/tdeio_csharpdoc.la
-%{tde_tdelibdir}/tdeio_csharpdoc.so
-%{tde_tdelibdir}/tdeio_perldoc.la
-%{tde_tdelibdir}/tdeio_perldoc.so
-%{tde_tdelibdir}/tdeio_pydoc.la
-%{tde_tdelibdir}/tdeio_pydoc.so
-%{tde_tdelibdir}/libdocchmplugin.la
-%{tde_tdelibdir}/libdocchmplugin.so
-%{tde_tdelibdir}/libdoccustomplugin.la
-%{tde_tdelibdir}/libdoccustomplugin.so
-%{tde_tdelibdir}/libdocdevhelpplugin.la
-%{tde_tdelibdir}/libdocdevhelpplugin.so
-%{tde_tdelibdir}/libdocdoxygenplugin.la
-%{tde_tdelibdir}/libdocdoxygenplugin.so
-%{tde_tdelibdir}/libdockdevtocplugin.la
-%{tde_tdelibdir}/libdockdevtocplugin.so
-%{tde_tdelibdir}/libdocqtplugin.la
-%{tde_tdelibdir}/libdocqtplugin.so
-%{tde_tdelibdir}/libkchmpart.la
-%{tde_tdelibdir}/libkchmpart.so
-%{tde_tdelibdir}/libkdevabbrev.la
-%{tde_tdelibdir}/libkdevabbrev.so
-%{tde_tdelibdir}/libkdevadaproject.la
-%{tde_tdelibdir}/libkdevadaproject.so
-%{tde_tdelibdir}/libkdevadasupport.la
-%{tde_tdelibdir}/libkdevadasupport.so
-%{tde_tdelibdir}/libkdevantproject.la
-%{tde_tdelibdir}/libkdevantproject.so
-%{tde_tdelibdir}/libkdevappview.la
-%{tde_tdelibdir}/libkdevappview.so
-%{tde_tdelibdir}/libkdevappwizard.la
-%{tde_tdelibdir}/libkdevappwizard.so
-%{tde_tdelibdir}/libkdevastyle.la
-%{tde_tdelibdir}/libkdevastyle.so
-%{tde_tdelibdir}/libkdevautoproject.la
-%{tde_tdelibdir}/libkdevautoproject.so
-%{tde_tdelibdir}/libkdevbashsupport.la
-%{tde_tdelibdir}/libkdevbashsupport.so
-%{tde_tdelibdir}/libkdevbookmarks.la
-%{tde_tdelibdir}/libkdevbookmarks.so
-%{tde_tdelibdir}/libkdevclassview.la
-%{tde_tdelibdir}/libkdevclassview.so
-%{tde_tdelibdir}/libkdevcppsupport.la
-%{tde_tdelibdir}/libkdevcppsupport.so
-%{tde_tdelibdir}/libkdevcsharpsupport.la
-%{tde_tdelibdir}/libkdevcsharpsupport.so
-%{tde_tdelibdir}/libkdevctags2.la
-%{tde_tdelibdir}/libkdevctags2.so
-%{tde_tdelibdir}/libkdevcustompcsimporter.la
-%{tde_tdelibdir}/libkdevcustompcsimporter.so
-%{tde_tdelibdir}/libkdevcustomproject.la
-%{tde_tdelibdir}/libkdevcustomproject.so
-%{tde_tdelibdir}/libkdevdccoptions.la
-%{tde_tdelibdir}/libkdevdccoptions.so
-%{tde_tdelibdir}/libkdevdebugger.la
-%{tde_tdelibdir}/libkdevdebugger.so
-%{tde_tdelibdir}/libkdevdesignerpart.la
-%{tde_tdelibdir}/libkdevdesignerpart.so
-%{tde_tdelibdir}/libkdevdiff.la
-%{tde_tdelibdir}/libkdevdiff.so
-%{tde_tdelibdir}/libkdevdistpart.la
-%{tde_tdelibdir}/libkdevdistpart.so
-%{tde_tdelibdir}/libkdevdocumentation.la
-%{tde_tdelibdir}/libkdevdocumentation.so
-%{tde_tdelibdir}/libkdevdoxygen.la
-%{tde_tdelibdir}/libkdevdoxygen.so
-%{tde_tdelibdir}/libkdeveditorchooser.la
-%{tde_tdelibdir}/libkdeveditorchooser.so
-%{tde_tdelibdir}/libkdevfilecreate.la
-%{tde_tdelibdir}/libkdevfilecreate.so
-%{tde_tdelibdir}/libkdevfilegroups.la
-%{tde_tdelibdir}/libkdevfilegroups.so
-%{tde_tdelibdir}/libkdevfilelist.la
-%{tde_tdelibdir}/libkdevfilelist.so
-%{tde_tdelibdir}/libkdevfileselector.la
-%{tde_tdelibdir}/libkdevfileselector.so
-%{tde_tdelibdir}/libkdevfileview.la
-%{tde_tdelibdir}/libkdevfileview.so
-%{tde_tdelibdir}/libkdevfilter.la
-%{tde_tdelibdir}/libkdevfilter.so
-%{tde_tdelibdir}/libkdevfortransupport.la
-%{tde_tdelibdir}/libkdevfortransupport.so
-%{tde_tdelibdir}/libkdevfpcoptions.la
-%{tde_tdelibdir}/libkdevfpcoptions.so
-%{tde_tdelibdir}/libkdevfullscreen.la
-%{tde_tdelibdir}/libkdevfullscreen.so
-%{tde_tdelibdir}/libkdevgccoptions.la
-%{tde_tdelibdir}/libkdevgccoptions.so
-%{tde_tdelibdir}/libkdevgrepview.la
-%{tde_tdelibdir}/libkdevgrepview.so
-%{tde_tdelibdir}/libkdevjavasupport.la
-%{tde_tdelibdir}/libkdevjavasupport.so
-%{tde_tdelibdir}/libkdevtdelibsimporter.la
-%{tde_tdelibdir}/libkdevtdelibsimporter.so
-%{tde_tdelibdir}/libkdevkonsoleview.la
-%{tde_tdelibdir}/libkdevkonsoleview.so
-%{tde_tdelibdir}/libkdevmakeview.la
-%{tde_tdelibdir}/libkdevmakeview.so
-%{tde_tdelibdir}/libkdevopenwith.la
-%{tde_tdelibdir}/libkdevopenwith.so
-%{tde_tdelibdir}/libkdevpartexplorer.la
-%{tde_tdelibdir}/libkdevpartexplorer.so
-%{tde_tdelibdir}/libkdevpascalproject.la
-%{tde_tdelibdir}/libkdevpascalproject.so
-%{tde_tdelibdir}/libkdevpascalsupport.la
-%{tde_tdelibdir}/libkdevpascalsupport.so
-%{tde_tdelibdir}/libkdevperlsupport.la
-%{tde_tdelibdir}/libkdevperlsupport.so
-%{tde_tdelibdir}/libkdevpgioptions.la
-%{tde_tdelibdir}/libkdevpgioptions.so
-%{tde_tdelibdir}/libkdevphpsupport.la
-%{tde_tdelibdir}/libkdevphpsupport.so
-%{tde_tdelibdir}/libkdevpythonsupport.la
-%{tde_tdelibdir}/libkdevpythonsupport.so
-%{tde_tdelibdir}/libkdevqt4importer.la
-%{tde_tdelibdir}/libkdevqt4importer.so
-%{tde_tdelibdir}/libkdevqtimporter.la
-%{tde_tdelibdir}/libkdevqtimporter.so
-%{tde_tdelibdir}/libkdevquickopen.la
-%{tde_tdelibdir}/libkdevquickopen.so
-%{tde_tdelibdir}/libkdevrbdebugger.la
-%{tde_tdelibdir}/libkdevrbdebugger.so
-%{tde_tdelibdir}/libkdevregexptest.la
-%{tde_tdelibdir}/libkdevregexptest.so
-%{tde_tdelibdir}/libkdevreplace.la
-%{tde_tdelibdir}/libkdevreplace.so
-%{tde_tdelibdir}/libkdevrubysupport.la
-%{tde_tdelibdir}/libkdevrubysupport.so
-%{tde_tdelibdir}/libkdevscripting.la
-%{tde_tdelibdir}/libkdevscripting.so
-%{tde_tdelibdir}/libkdevscriptproject.la
-%{tde_tdelibdir}/libkdevscriptproject.so
-%{tde_tdelibdir}/libkdevsnippet.la
-%{tde_tdelibdir}/libkdevsnippet.so
-%{tde_tdelibdir}/libkdevsqlsupport.la
-%{tde_tdelibdir}/libkdevsqlsupport.so
-%{tde_tdelibdir}/libkdevtexttools.la
-%{tde_tdelibdir}/libkdevtexttools.so
-%{tde_tdelibdir}/libkdevtipofday.la
-%{tde_tdelibdir}/libkdevtipofday.so
-%{tde_tdelibdir}/libkdevtools.la
-%{tde_tdelibdir}/libkdevtools.so
-%{tde_tdelibdir}/libkdevtrollproject.la
-%{tde_tdelibdir}/libkdevtrollproject.so
-%{tde_tdelibdir}/libkdevuichooser.la
-%{tde_tdelibdir}/libkdevuichooser.so
-%{tde_tdelibdir}/libkdevvalgrind.la
-%{tde_tdelibdir}/libkdevvalgrind.so
-%{tde_tdelibdir}/libkdevvcsmanager.la
-%{tde_tdelibdir}/libkdevvcsmanager.so
-%{tde_datadir}/apps/tdeconf_update/
-%{tde_datadir}/apps/kdevabbrev/
-%{tde_datadir}/apps/kdevadaproject/
-%{tde_datadir}/apps/kdevadasupport/
-%{tde_datadir}/apps/kdevantproject/
-%{tde_datadir}/apps/kdevappoutputview/
-%{tde_datadir}/apps/kdevappwizard/
-%{tde_datadir}/apps/kdevassistant/
-%{tde_datadir}/apps/kdevastyle/
-%{tde_datadir}/apps/kdevautoproject/
-%{tde_datadir}/apps/kdevbashsupport/
-%{tde_datadir}/apps/kdevclassview/
-%{tde_datadir}/apps/kdevcppsupport/
-%{tde_datadir}/icons/hicolor/*/actions/breakpoint_add.png
-%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete.png
-%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete_all.png
-%{tde_datadir}/icons/hicolor/*/actions/breakpoint_edit.png
-%{tde_datadir}/icons/hicolor/*/actions/ktip.png
-%{tde_datadir}/icons/hicolor/*/apps/kdevassistant.png
-%{tde_datadir}/icons/hicolor/*/apps/kdevdesigner.png
-%{tde_datadir}/icons/hicolor/*/apps/tdevelop.png
-%{tde_datadir}/icons/locolor/*/actions/tdevelop_tip.png
-%{tde_datadir}/mimelnk/application/x-tdevelop.desktop
-%{tde_datadir}/services/chm.protocol
-%{tde_datadir}/services/csharpdoc.protocol
-%{tde_datadir}/services/docchmplugin.desktop
-%{tde_datadir}/services/doccustomplugin.desktop
-%{tde_datadir}/services/docdevhelpplugin.desktop
-%{tde_datadir}/services/docdoxygenplugin.desktop
-%{tde_datadir}/services/dockdevtocplugin.desktop
-%{tde_datadir}/services/docqtplugin.desktop
-%{tde_datadir}/services/kchmpart.desktop
-%{tde_datadir}/services/kdevabbrev.desktop
-%{tde_datadir}/services/kdevadaproject.desktop
-%{tde_datadir}/services/kdevadasupport.desktop
-%{tde_datadir}/services/kdevantproject.desktop
-%{tde_datadir}/services/kdevappoutputview.desktop
-%{tde_datadir}/services/kdevappwizard.desktop
-%{tde_datadir}/services/kdevastyle.desktop
-%{tde_datadir}/services/kdevautoproject.desktop
-%{tde_datadir}/services/kdevbashsupport.desktop
-%{tde_datadir}/services/kdevbookmarks.desktop
-%{tde_datadir}/services/kdevclassview.desktop
-%{tde_datadir}/services/kdevcppsupport.desktop
-%{tde_datadir}/services/kdevcsharpsupport.desktop
-%{tde_datadir}/services/kdevcsupport.desktop
-%{tde_datadir}/services/kdevctags2.desktop
-%{tde_datadir}/services/kdevcustomproject.desktop
-%{tde_datadir}/services/kdevdccoptions.desktop
-%{tde_datadir}/services/kdevdebugger.desktop
-%{tde_datadir}/services/kdevdesigner_part.desktop
-%{tde_datadir}/services/kdevdiff.desktop
-%{tde_datadir}/services/kdevdistpart.desktop
-%{tde_datadir}/services/kdevdocumentation.desktop
-%{tde_datadir}/services/kdevdoxygen.desktop
-%{tde_datadir}/services/kdeveditorchooser.desktop
-%{tde_datadir}/services/kdevfilecreate.desktop
-%{tde_datadir}/services/kdevfilegroups.desktop
-%{tde_datadir}/services/kdevfilelist.desktop
-%{tde_datadir}/services/kdevfileselector.desktop
-%{tde_datadir}/services/kdevfileview.desktop
-%{tde_datadir}/services/kdevfilter.desktop
-%{tde_datadir}/services/kdevfortransupport.desktop
-%{tde_datadir}/services/kdevfpcoptions.desktop
-%{tde_datadir}/services/kdevfullscreen.desktop
-%{tde_datadir}/services/kdevg77options.desktop
-%{tde_datadir}/services/kdevgccoptions.desktop
-%{tde_datadir}/services/kdevgppoptions.desktop
-%{tde_datadir}/services/kdevgrepview.desktop
-%{tde_datadir}/services/kdevjavasupport.desktop
-%{tde_datadir}/services/kdevtdeautoproject.desktop
-%{tde_datadir}/services/kdevtdelibsimporter.desktop
-%{tde_datadir}/services/kdevkonsoleview.desktop
-%{tde_datadir}/services/kdevmakeview.desktop
-%{tde_datadir}/services/kdevopenwith.desktop
-%{tde_datadir}/services/kdevpartexplorer.desktop
-%{tde_datadir}/services/kdevpascalproject.desktop
-%{tde_datadir}/services/kdevpascalsupport.desktop
-%{tde_datadir}/services/kdevpcscustomimporter.desktop
-%{tde_datadir}/services/kdevperlsupport.desktop
-%{tde_datadir}/services/kdevpgf77options.desktop
-%{tde_datadir}/services/kdevpghpfoptions.desktop
-%{tde_datadir}/services/kdevphpsupport.desktop
-%{tde_datadir}/services/kdevpythonsupport.desktop
-%{tde_datadir}/services/kdevqt4importer.desktop
-%{tde_datadir}/services/kdevqtimporter.desktop
-%{tde_datadir}/services/kdevquickopen.desktop
-%{tde_datadir}/services/kdevrbdebugger.desktop
-%{tde_datadir}/services/kdevregexptest.desktop
-%{tde_datadir}/services/kdevreplace.desktop
-%{tde_datadir}/services/kdevrubysupport.desktop
-%{tde_datadir}/services/kdevscripting.desktop
-%{tde_datadir}/services/kdevscriptproject.desktop
-%{tde_datadir}/services/kdevsnippet.desktop
-%{tde_datadir}/services/kdevsqlsupport.desktop
-%{tde_datadir}/services/kdevtexttools.desktop
-%{tde_datadir}/services/kdevtipofday.desktop
-%{tde_datadir}/services/kdevtmakeproject.desktop
-%{tde_datadir}/services/kdevtools.desktop
-%{tde_datadir}/services/kdevtrollproject.desktop
-%{tde_datadir}/services/kdevuichooser.desktop
-%{tde_datadir}/services/kdevvalgrind.desktop
-%{tde_datadir}/services/kdevvcsmanager.desktop
-%{tde_datadir}/services/perldoc.protocol
-%{tde_datadir}/services/pydoc.protocol
-%{tde_datadir}/servicetypes/tdevelopappfrontend.desktop
-%{tde_datadir}/servicetypes/tdevelopcodebrowserfrontend.desktop
-%{tde_datadir}/servicetypes/tdevelopcompileroptions.desktop
-%{tde_datadir}/servicetypes/tdevelopcreatefile.desktop
-%{tde_datadir}/servicetypes/tdevelopdifffrontend.desktop
-%{tde_datadir}/servicetypes/tdevelopdocumentationplugins.desktop
-%{tde_datadir}/servicetypes/tdeveloplanguagesupport.desktop
-%{tde_datadir}/servicetypes/tdevelopmakefrontend.desktop
-%{tde_datadir}/servicetypes/tdeveloppcsimporter.desktop
-%{tde_datadir}/servicetypes/tdevelopplugin.desktop
-%{tde_datadir}/servicetypes/tdevelopproject.desktop
-%{tde_datadir}/servicetypes/tdevelopquickopen.desktop
-%{tde_datadir}/servicetypes/tdevelopsourceformatter.desktop
-%{tde_datadir}/servicetypes/tdevelopvcsintegrator.desktop
-%{tde_datadir}/servicetypes/tdevelopversioncontrol.desktop
-%{tde_datadir}/apps/kdevcsharpsupport/
-%{tde_datadir}/apps/kdevctags2/
-%{tde_datadir}/apps/kdevcustomproject/
-%{tde_datadir}/apps/kdevdebugger/
-%{tde_datadir}/apps/kdevdesigner/
-%{tde_datadir}/apps/kdevdesignerpart/
-%{tde_datadir}/apps/kdevdesignerpart/
-%{tde_datadir}/apps/kdevdiff/
-%{tde_datadir}/apps/kdevdistpart/
-%{tde_datadir}/apps/kdevdocumentation/
-%{tde_datadir}/apps/kdevdoxygen/
-%{tde_datadir}/apps/tdevelop/
-%{tde_datadir}/apps/kdevfilecreate/
-%{tde_datadir}/apps/kdevfilelist/
-%{tde_datadir}/apps/kdevfilter/
-%{tde_datadir}/apps/kdevfortransupport/
-%{tde_datadir}/apps/kdevfullscreen/
-%{tde_datadir}/apps/kdevgrepview/
-%{tde_datadir}/apps/kdevjavasupport/
-%{tde_datadir}/apps/kdevmakeview/
-%{tde_datadir}/apps/kdevpartexplorer/
-%{tde_datadir}/apps/kdevpascalproject/
-%{tde_datadir}/apps/kdevpascalsupport/
-%{tde_datadir}/apps/kdevperlsupport/
-%{tde_datadir}/apps/kdevphpsupport/
-%{tde_datadir}/apps/kdevpythonsupport/
-%{tde_datadir}/apps/kdevquickopen/
-%{tde_datadir}/apps/kdevrbdebugger/
-%{tde_datadir}/apps/kdevregexptest/
-%{tde_datadir}/apps/kdevreplace/
-%{tde_datadir}/apps/kdevrubysupport/
-%{tde_datadir}/apps/kdevscripting/
-%{tde_datadir}/apps/kdevscriptproject/
-%{tde_datadir}/apps/kdevsnippet/
-%{tde_datadir}/apps/kdevsqlsupport
-%{tde_datadir}/apps/kdevtipofday/
-%{tde_datadir}/apps/kdevtools/
-%{tde_datadir}/apps/kdevtrollproject/
-%{tde_datadir}/apps/kdevvalgrind/
-%{tde_datadir}/apps/tdeio_pydoc/
-%{tde_datadir}/desktop-directories/tde-development-tdevelop.directory
-%{tde_tdedocdir}/HTML/en/tdevelop/
-%{tde_libdir}/libd.so.0
-%{tde_libdir}/libd.so.0.0.0
-%{tde_libdir}/libkinterfacedesigner.so.0
-%{tde_libdir}/libkinterfacedesigner.so.0.0.0
-%{tde_tdelibdir}/libkdevvisualboyadvance.la
-%{tde_tdelibdir}/libkdevvisualboyadvance.so
-%{tde_datadir}/apps/kdevdesignerpart/pics/
-%{tde_datadir}/apps/kdevvisualboyadvance/
-%{tde_tdedocdir}/HTML/en/tde_app_devel/
-%{tde_datadir}/mimelnk/text/x-fortran.desktop
-%{tde_datadir}/services/kdevvisualboyadvance.desktop
-%{tde_tdedocdir}/HTML/en/kdevdesigner/
-
-%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/Other
-Requires: %{name}-libs = %{version}-%{release}
-
-Obsoletes: trinity-kdevelop-devel < %{version}-%{release}
-Provides: trinity-kdevelop-devel = %{version}-%{release}
-
-%description devel
-This package contains the development files for tdevelop.
-
-%files devel
-%defattr(-,root,root,-)
-%{tde_libdir}/lib*.so
-%{tde_libdir}/lib*.la
-%{tde_includedir}/*
-
-%post devel
-/sbin/ldconfig || :
-
-%postun devel
-/sbin/ldconfig || :
-
-##########
-
-%package libs
-Summary: %{name} runtime libraries
-Group: System Environment/Libraries
-Requires: trinity-tdelibs >= %{tde_version}
-# include to be paranoid, installing libs-only is still mostly untested -- Rex
-Requires: %{name} = %{version}-%{release}
-
-Obsoletes: trinity-kdevelop-libs < %{version}-%{release}
-Provides: trinity-kdevelop-libs = %{version}-%{release}
-
-%description libs
-This package contains the libraries needed for the tdevelop programs.
-
-%files libs
-%defattr(-,root,root,-)
-%{tde_libdir}/libdesignerintegration.so.0
-%{tde_libdir}/libdesignerintegration.so.0.0.0
-%{tde_libdir}/libdocumentation_interfaces.so.0
-%{tde_libdir}/libdocumentation_interfaces.so.0.0.0
-%{tde_libdir}/libgdbmi_parser.so.0
-%{tde_libdir}/libgdbmi_parser.so.0.0.0
-%{tde_libdir}/libkdevbuildbase.so.0
-%{tde_libdir}/libkdevbuildbase.so.0.0.0
-%{tde_libdir}/libkdevbuildtoolswidgets.so.0
-%{tde_libdir}/libkdevbuildtoolswidgets.so.0.0.0
-%{tde_libdir}/libkdevcatalog.so.0
-%{tde_libdir}/libkdevcatalog.so.0.0.0
-%{tde_libdir}/libkdevcppparser.so.0
-%{tde_libdir}/libkdevcppparser.so.0.0.0
-%{tde_libdir}/libtdevelop.so.1
-%{tde_libdir}/libtdevelop.so.1.0.0
-%{tde_libdir}/libkdevextras.so.0
-%{tde_libdir}/libkdevextras.so.0.0.0
-%{tde_libdir}/libkdevpropertyeditor.so.0
-%{tde_libdir}/libkdevpropertyeditor.so.0.0.0
-%{tde_libdir}/libkdevqmakeparser.so.0
-%{tde_libdir}/libkdevqmakeparser.so.0.0.0
-%{tde_libdir}/libkdevshell.so.0
-%{tde_libdir}/libkdevshell.so.0.0.0
-%{tde_libdir}/libkdevwidgets.so.0
-%{tde_libdir}/libkdevwidgets.so.0.0.0
-%{tde_libdir}/liblang_debugger.so.0
-%{tde_libdir}/liblang_debugger.so.0.0.0
-%{tde_libdir}/liblang_interfaces.so.0
-%{tde_libdir}/liblang_interfaces.so.0.0.0
-%{tde_libdir}/libprofileengine.so.0
-%{tde_libdir}/libprofileengine.so.0.0.0
-
-%post libs
-/sbin/ldconfig || :
-
-%postun libs
-/sbin/ldconfig || :
-
-##########
-
-%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0
-%debug_package
-%endif
-
-##########
-
-%prep
-%setup -q -n %{name}-%{version}%{?preversion:~%{preversion}}
-
-
-%build
-unset QTDIR QTINC QTLIB
-export PATH="%{tde_bindir}:${PATH}"
-export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
-
-# Specific path for RHEL4
-if [ -d /usr/X11R6 ]; then
- export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
-fi
-
-if ! rpm -E %%cmake|grep -q "cd build"; then
- %__mkdir_p build
- cd build
-fi
-
-# Warning: GCC visibility causes FTBFS [Bug #1285]
-%cmake \
- -DCMAKE_BUILD_TYPE="RelWithDebInfo" \
- -DCMAKE_C_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
- -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
- -DCMAKE_SKIP_RPATH=OFF \
- -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
- -DCMAKE_NO_BUILTIN_CHRPATH=ON \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
- -DWITH_GCC_VISIBILITY=OFF \
- \
- -DBIN_INSTALL_DIR=%{tde_bindir} \
- -DCONFIG_INSTALL_DIR="%{tde_confdir}" \
- -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
- -DLIB_INSTALL_DIR=%{tde_libdir} \
- -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
- \
- -DWITH_BUILDTOOL_ALL=ON \
- -DWITH_LANGUAGE_ALL=ON \
- -DWITH_VCS_ALL=OFF \
- -DBUILD_ALL=ON \
- ..
-
-%__make %{?_smp_mflags} || %__make
-
-
-%install
-%__rm -rf %{buildroot}
-%__make install DESTDIR=%{buildroot} -C build
-
-# Links duplicate files
-%fdupes "%{?buildroot}%{tde_datadir}"
-
-
-%clean
-%__rm -rf %{buildroot}
-
-
-%changelog
-* Tue Jul 21 2015 Francois Andriot <francois.andriot@free.fr> - 14.0.1-1
-- Initial release
diff --git a/redhat/main/tdewebdev/tdewebdev-14.0.0.spec b/redhat/main/tdewebdev/tdewebdev-14.0.0.spec
index 3dc56f17e..f48207625 100644
--- a/redhat/main/tdewebdev/tdewebdev-14.0.0.spec
+++ b/redhat/main/tdewebdev/tdewebdev-14.0.0.spec
@@ -43,7 +43,7 @@
Name: trinity-%{tde_pkg}
-Summary: Web development applications
+Summary: Web development applications
Group: Applications/Editors
Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
@@ -563,7 +563,7 @@ fi
\
--enable-editors \
--with-extra-includes=%{_includedir}/tqt
-
+
# WTF hack for RHEL4
%if 0%{?rhel} == 4
diff --git a/redhat/packages.pclos b/redhat/packages.pclos
index 95faec874..a41cd3579 100644
--- a/redhat/packages.pclos
+++ b/redhat/packages.pclos
@@ -53,7 +53,7 @@ speex-devel
libxslt-devel
aspell-devel
gamin-devel
-libutempter-devel
+utempter-devel
libjasper-devel
hspell-devel
OpenEXR-devel
@@ -62,10 +62,9 @@ libnm-util-devel
libudev-devel
udisks2-devel
htdig
-libraw1394
-devel
-libusb1.0-devel
-libusb-compat0.1-devel
+libraw1394-devel
+lib64usb1.0-devel
+lib64usb-compat0.1-devel
lm_sensors-devel
libxscrnsaver-devel
libsmbclient-devel
@@ -93,7 +92,7 @@ java-devel
ruby-devel
subversion-devel
neon-devel
-libbinutils-devel
+binutils-devel
gnutls-devel
libgadu-devel
lib64iw29-devel
@@ -121,7 +120,6 @@ libmtp-devel
libmusicbrainz-devel
libnjb-devel
libvisual-devel
-libtunepimp-devel
lib64inotifytools-devel
libmp4v2-devel
sword-devel
@@ -132,7 +130,7 @@ libflac++-devel
libffmpeg-devel
lib64xaw-devel
libofx-devel
-libOpenSP5-devel
+lib64OpenSP5-devel
ImageMagick-devel
doxygen
lib64readline-devel
@@ -140,12 +138,10 @@ GraphicsMagick-devel
libpqxx-devel
libwpd-devel
lib64wv2-devel
-lib64openjpeg-devel
libotr-devel
pilot-link-devel
scons
libxcb-devel
-libxcb-xlib-devel
chrpath
liblo-devel
dssi-devel