summaryrefslogtreecommitdiffstats
path: root/opensuse/core/tdebase/tdebase.spec
diff options
context:
space:
mode:
authorRobert Xu <robxu9@gmail.com>2011-11-12 18:13:39 -0500
committerRobert Xu <robxu9@gmail.com>2011-11-12 18:13:39 -0500
commitcd1f97695be1245ab19058d4fbc34e5697cc5383 (patch)
treeb265d96856632dc78e566d337f7eff254b6695f7 /opensuse/core/tdebase/tdebase.spec
parent21fcfa3348213aa87f0e3aef62ca4720c6d31cb7 (diff)
downloadtde-packaging-cd1f97695be1245ab19058d4fbc34e5697cc5383.tar.gz
tde-packaging-cd1f97695be1245ab19058d4fbc34e5697cc5383.zip
fix up tdebase and add qt3
Diffstat (limited to 'opensuse/core/tdebase/tdebase.spec')
-rw-r--r--opensuse/core/tdebase/tdebase.spec2060
1 files changed, 934 insertions, 1126 deletions
diff --git a/opensuse/core/tdebase/tdebase.spec b/opensuse/core/tdebase/tdebase.spec
index 52d6c3c81..1d37c16ca 100644
--- a/opensuse/core/tdebase/tdebase.spec
+++ b/opensuse/core/tdebase/tdebase.spec
@@ -1,7 +1,7 @@
#
-# spec file for package kdebase3
+# spec file for package tdebase (version 3.5.13)
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# copyright (c) 2011 the Trinity Project
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -11,70 +11,41 @@
# 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://bugs.opensuse.org/
-#
+#
+# Please submit bugfixes or comments to http://bugs.trinitydesktop.org/
# norootforbuild
-%if %suse_version < 1210 || 0%{?is_kde_kde3} > 0
-%define with_hal 1
-%else
-%define with_hal 0
-%endif
-
-Name: kdebase3
-BuildRequires: OpenEXR-devel cups-devel db-devel doxygen graphviz kdelibs3-devel krb5-devel libsmbclient-devel mDNSResponder-devel openldap2 openldap2-devel openmotif openmotif-devel openslp-devel openssh pam-devel pcsc-lite-devel qt3-devel-doc samba-client utempter xorg-x11
-BuildRequires: unsermake xorg-x11-libfontenc-devel
+Name: tdebase
+BuildRequires: OpenEXR-devel cups-devel db-devel doxygen graphviz tdelibs-devel krb5-devel libsmbclient-devel mDNSResponder-devel openldap2 openldap2-devel openmotif openmotif-devel openslp-devel openssh pam-devel pcsc-lite-devel qt3-devel-doc samba-client utempter xorg-x11
+BuildRequires: libtqt4-devel tde-filesystem cmake xorg-x11-libfontenc-devel
BuildRequires: liblazy-devel
-%if %suse_version >= 1130
BuildRequires: libusb-compat-devel
-%endif
-%if 0%{?with_hal} > 0
-BuildRequires: hal-devel
-Provides: kdebase3-with-hal-enabled
-%endif
BuildRequires: fdupes libbz2-devel
-%ifnarch s390 s390x
BuildRequires: libsensors4-devel
-%endif
%define qt_path /usr/lib/qt3
-%define kde_path /opt/kde3
+%define kde_path %{_tde_prefix}
Provides: windowmanager kfontinst kdebase3-konqueror kdebase3-khotkeys
Obsoletes: kfontinst kdebase3-konqueror kdebase3-khotkeys
-# bug437293
-%ifarch ppc64
-Obsoletes: kdebase3-64bit
-%endif
-#
-Requires: kdelibs3 >= %( echo `rpm -q --queryformat '%{VERSION}' kdelibs3`)
+Requires: tdelibs >= %( echo `rpm -q --queryformat '%{VERSION}' tdelibs`)
Requires: xorg-x11 misc-console-font
-Recommends: kdelibs3_doc
+Recommends: tdelibs_doc
Recommends: gdb
PreReq: fileshareset
%define fileshare_prefix %{_prefix}
-Conflicts: kdebase3-SuSE <= 9.0
PreReq: /bin/sh fileutils permissions
-%if %suse_version < 1120
-Requires: kdebase3-apps kdebase3-workspace
-%endif
-%if %suse_version > 1130
-Provides: kdebase3-beagle = 3.5.10
-Obsoletes: kdebase3-beagle <= 3.5.10
-%endif
License: GPLv2+
-Group: System/GUI/KDE
-Summary: The KDE Core Components
+Group: System/GUI/TDE
+Summary: The Trinity Desktop Core Components
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Url: http://www.kde.org/
-Version: 3.5.10.1
-Release: 17
-%define kde_version 3.5.10
-Requires: kdebase3-runtime == %{version}
-Source0: kdebase-%{kde_version}.tar.bz2
+URL: http://www.trinitydesktop.org/
+Version: 3.5.13
+Release: 1
+Requires: %{name}-runtime == %{version}
+Source0: tdebase-%{version}.tar.bz2
Source1: baselibs.conf
Source3: startkde.suse.sh
-Source4: kdebase3.fillup
+Source4: tdebase.fillup
Source6: ksysguardd.init
# we append this file for older dist verions
Source8: mp3-info.tar.bz2
@@ -238,23 +209,23 @@ Patch243: taskbar.patch
Patch244: mtab-reenable.patch
%description
-This package contains kdebase, one of the basic packages of the K
-Desktop Environment. It contains, among others, kwin (the KDE window
-manager), Konqueror (the KDE Web browser), and KControl (the
+This package contains tdebase, one of the basic packages of the Trinity Desktop Environment. It contains, among others, kwin (the window
+manager), Konqueror (the Web browser), and KControl (the
configuration program)
-This package is needed if you want to use the KDE Desktop. It is not
-needed if you only want to start some KDE applications.
+This package is needed if you want to use the Trinity Desktop. It is not
+needed if you only want to start some Trinity applications.
Authors:
--------
+ Timothy Pearson <kb9vqf@pearsoncomputing.net>
The KDE Team <kde@kde.org>
%package -n misc-console-font
License: GPLv2+
-Group: System/GUI/KDE
+Group: System/GUI/TDE
Summary: A font for terminal usage
%description -n misc-console-font
@@ -264,36 +235,35 @@ This package contains the Misc Console font as shipped with KDE.
Authors:
--------
+ Timothy Pearson <kb9vqf@pearsoncomputing.net>
The KDE Team <kde@kde.org>
%package runtime
License: GPLv2+
-Summary: Runtime Dependencies of KDE3 Applications
-Group: System/GUI/KDE
+Summary: Runtime Dependencies of Trinity Applications
+Group: System/GUI/TDE
Provides: kio_fish
Obsoletes: kio_fish
-Provides: kdebase3:/opt/kde3/%_lib/libkonq.so.4
+Provides: tdebase:%{_tde_libdir}/libkonq.so.4
%description runtime
-This package contains runtime dependencies of KDE3 applications like
+This package contains runtime dependencies of Trinity applications like
KIO-slaves.
Authors:
--------
+ Timothy Pearson <kb9vqf@pearsoncomputing.net>
The KDE Team <kde@kde.org>
%package workspace
License: GPLv2+
-Summary: Workspace Components of KDE3 Desktop
-Group: System/GUI/KDE
-Requires: kdebase3 == %{version}
-Provides: kdebase3:/opt/kde3/bin/kicker
-Recommends: kdebase3-ksysguardd == %{version}
-%if 0%{?with_hal} > 0
-Recommends: kdebase3-with-hal-enabled
-%endif
+Summary: Workspace Components of Trinity Desktop
+Group: System/GUI/TDE
+Requires: %{name} == %{version}
+Provides: tdebase:%{_tde_bindir}/kicker
+Recommends: %{name}-ksysguardd == %{version}
%description workspace
This package contains the wrkspace components of kdebase3 like
@@ -302,14 +272,15 @@ kdesktop, kicker and kwin.
Authors:
--------
+ Timothy Pearson <kb9vqf@pearsoncomputing.net>
The KDE Team <kde@kde.org>
%package apps
License: GPLv2+
-Summary: Major Applications KDE3 Desktop
-Group: System/GUI/KDE
-Requires: kdebase3 == %{version}
-Provides: kdebase3:/opt/kde3/bin/konsole
+Summary: Trinity's Major Applications
+Group: System/GUI/TDE
+Requires: %{name} == %{version}
+Provides: %{name}:%{_tde_bindir}/konsole
%description apps
This package contains the major applications kdebase3 like
@@ -318,55 +289,53 @@ Kate, Konqueror and KWrite.
Authors:
--------
+ Timothy Pearson <kb9vqf@pearsoncomputing.net>
The KDE Team <kde@kde.org>
%package devel
License: GPLv2+
-Requires: kdelibs3-devel kdebase3 = %version kdebase3-apps = %version kdebase3-runtime = %version kdebase3-workspace = %version
-Summary: KDE Base Package: Base, Build Environment
-Group: System/GUI/KDE
+Requires: tdelibs-devel %{name} = %{version} %{name}-apps = %{version} %{name}-runtime = %{version} %{name}-workspace = %{version}
+Summary: Trinity Base, Build Environment
+Group: System/GUI/TDE
%description devel
-This package contains KDEbase, one of the basic packages of the K
-Desktop Environment. It contains, among other things, KWIN, the KDE
-window manager; Konqueror, the KDE web and file browser; and KControl,
-the KDE configuration program.
+This package contains the development files for the Trinity Desktop Environent Base Package, including runtime, workspace, and core applications.
-This package is not needed if you do not want to compile high level KDE
+It is not needed if you do not want to compile high level KDE
applications.
Authors:
--------
+ Timothy Pearson <kb9vqf@pearsoncomputing.net>
The KDE Team <kde@kde.org>
%package kdm
License: GPLv2+
# usesubdirs kdm
-Summary: The KDE login and display manager
-Provides: kdebase3:/opt/kde3/bin/kdm
-Provides: kdebase:/opt/kde2/bin/kdm
-Provides: kdebase3-kdm-SLD:/opt/kde3/bin/kdm
+Summary: The Trinity login and display manager
+Provides: tdebase:%{_tde_bindir}/kdm
Requires: xorg-x11
-Requires: kdebase3-runtime >= %version
-Group: System/GUI/KDE
+Requires: %{name}-runtime >= %version
+Group: System/GUI/TDE
PreReq: %fillup_prereq /bin/grep
%description kdm
-This package contains kdm, the login and session manager for KDE.
-
+This package contains kdm, the login and session manager for Trinity.
+Note that the RC symlink for Trinity's KDM is /usr/sbin/tdm.
Authors:
--------
+ Timothy Pearson <kb9vqf@pearsoncomputing.net>
The KDE Team <kde@kde.org>
%package samba
License: GPLv2+
# usesubdirs kioslave/smb kcontrol/samba
-Summary: KDE Base package: Windows Connection Module
-Group: System/GUI/KDE
+Summary: Trinity's Windows Connection Module
+Group: System/GUI/TDE
%description samba
This package provides the "smb://" protocol, to connect to and from
@@ -376,13 +345,14 @@ Windows and Samba shares.
Authors:
--------
+ Timothy Pearson <kb9vqf@pearsoncomputing.net>
The KDE Team <kde@kde.org>
%package extra
License: GPLv2+
# usesubdirs kpersonalizer kcontrol/thememgr
-Summary: KDE Base package: Extra Applications
-Group: System/GUI/KDE
+Summary: Trinity's Extra Applications
+Group: System/GUI/TDE
%description extra
This package contains applications which are usually not needed on
@@ -396,17 +366,18 @@ SUSE.
Authors:
--------
+ Timothy Pearson <kb9vqf@pearsoncomputing.net>
The KDE Team <kde@kde.org>
%package nsplugin
License: GPLv2+
-%ifarch x86_64 ppc64 s390x ia64
+%ifarch x86_64
Requires: nspluginwrapper
%endif
-Supplements: kdebase3 >= %version
-Requires: kdebase3 = %version
-Summary: Netscape plugin support for KDE
-Group: System/GUI/KDE
+Supplements: tdebase >= %version
+Requires: tdebase = %version
+Summary: Netscape plugin support for Konqueror
+Group: System/GUI/TDE
%description nsplugin
This package contains support for Netscape plug-ins in konqueror. You
@@ -416,78 +387,57 @@ have to enable JavaScript for this.
Authors:
--------
+ Timothy Pearson <kb9vqf@pearsoncomputing.net>
The KDE Team <kde@kde.org>
%package ksysguardd
License: GPLv2+
PreReq: %insserv_prereq %fillup_prereq aaa_base
-Summary: KDE base package: ksysguard daemon
-Group: System/GUI/KDE
-Provides: kdebase4-workspace-ksysguardd
+Summary: Trinity's ksysguard daemon
+Group: System/GUI/TDE
%description ksysguardd
This package contains the ksysguard daemon. It is needed for ksysguard.
-This package can be installed on servers without any other KDE packages
-to guard the system from remote computers.
+This package can be installed on servers without any other Trinity
+packages to guard the system from remote computers.
Authors:
--------
+ Timothy Pearson <kb9vqf@pearsoncomputing.net>
The KDE Team <kde@kde.org>
%package session
License: GPLv2+
-Summary: The KDE Session
-Group: System/GUI/KDE
-Provides: kdebase3:/usr/bin/kde
+Summary: The Trinity Session
+Group: System/GUI/TDE
+Provides: tdebase:/usr/bin/tde
Requires: kdebase3-workspace
%description session
-This package contains the startup scripts necessary to start a KDE
-session from kdm.
+This package contains the startup scripts necessary to start a Trinity
+session from the login screen.
Authors:
--------
+ Timothy Pearson <kb9vqf@pearsoncomputing.net>
The KDE Team <kde@kde.org>
-%if %suse_version < 1140
-
-%package beagle
-License: GPLv2+
-Summary: Beagle dependent plugins for KDE desktop
-Group: System/GUI/KDE
-Requires: beagle >= 0.3.0
-Requires: kdebase3-workspace = %version
-Supplements: packageand(kdebase3-session:beagle)
-BuildRequires: libbeagle-devel
-
-%description beagle
-This package contains kdebase plugins which provide additional search
-functionality via Beagle.
-
-
-
-Authors:
---------
- The KDE Team <kde@kde.org>
-
-%endif
-
%package -n fileshareset
License: GPLv2+
Summary: Set and list fileshares
Group: System/Management
Version: 2.0
-Release: 578
+Release: 579
%description -n fileshareset
-This package contains the the fileshareset utility to allow users to
+This package contains the the fieshareset utility to allow users to
add or remove file shares. It's also possible to list currently shared
locations. /etc/security/fileshare.conf is the main configuration file.
@@ -497,10 +447,8 @@ Authors:
--------
Uwe Gansert <uwe.gansert at SuSE dot de>
-%define sysconfdir /etc
-
%prep
-%setup -q -b 8 -b 13 -n kdebase-%{kde_version}
+%setup -q -b 8 -b 13 -n tdebase-%{version}
%patch0
%patch3
%patch5
@@ -543,10 +491,8 @@ Authors:
# default-to-halt
%patch81
%patch82
-%if %suse_version > 1010
%patch83
%patch77
-%endif
%patch200
%patch215
%patch84
@@ -555,16 +501,9 @@ Authors:
%patch22
%patch92
%patch88
-%if %suse_version > 1020
%patch96
-%else
-%patch996
-%endif
# xcursor
%patch99
-%ifnarch %ix86 x86_64
-%patch80
-%endif
%patch62
%patch69
%patch104
@@ -585,7 +524,6 @@ Authors:
%patch156
%patch157
%patch160
-%if %suse_version > 1010
%patch161
pushd kicker
%patch162
@@ -593,16 +531,10 @@ pushd ../kcontrol/kicker
%patch158
popd
popd
-%if %suse_version > 1010
-%if %suse_version < 1140
-%patch159
-%endif
-%endif
%patch165
%patch166
%patch167
tar xvfj %SOURCE20
-%endif
%patch163
%patch125
%patch169
@@ -614,15 +546,11 @@ tar xvfj %SOURCE20
%patch177
%patch179
%patch180
-%if %suse_version > 1010
%patch189
-%endif
%patch190
%patch195
-%if %suse_version > 1020
%patch198
%patch199
-%endif
%patch203
%patch204
%patch205
@@ -645,24 +573,13 @@ popd
%patch206
%patch227
%patch228
-%if %suse_version > 1030
-%if %suse_version < 1140
-pushd kicker
-%patch1629
-popd
-%patch229
-%patch230
-%endif
-%endif
%patch231
%patch232
%patch233
%patch234
%patch235
%patch236
-%if %suse_version > 1010
%patch237
-%endif
%patch238
%patch239
%patch240 -p1
@@ -674,105 +591,58 @@ popd
rm -rf kappfinder
rm pics/crystalsvg/cr??-*emacs.png
cp %SOURCE17 l10n/tw/flag.png
-. /etc/opt/kde3/common_options
cd ../fileshareset2
aclocal
autoconf
automake -a -c
-cd ../kdebase-%{kde_version}
+cd ../%{name}-%{version}
update_admin
%build
-. /etc/opt/kde3/common_options
-DEBUG="--disable-debug"
-FINAL="--enable-final"
-PARANOIA=""
-%ifnarch s390
-PARANOIA="--with-cdparanoia"
-%endif
- LDAP="--with-ldap"
-%if %suse_version > 1010
- MOTIF_INCLUDE="/usr/include"
-X_SERVER=/usr/bin/X RUN_KAPPFINDER=no \
-%else
- MOTIF_INCLUDE="/usr/X11R6/include"
-X_SERVER=/usr/X11R6/bin/X RUN_KAPPFINDER=no \
-%endif
-./configure \
- $configkde \
- $PARANOIA \
- $LDAP \
- $FLAGS \
- $XINERAMA \
-%if %suse_version > 1010
- --with-motif-libraries=/usr/%{_lib}/ \
-%else
- --with-motif-libraries=/usr/X11R6/%{_lib}/ \
-%endif
- --with-motif-includes=$MOTIF_INCLUDE \
- --with-samba-libs \
- --with-pam=xdm \
- --with-kdm-xconsole \
- --with-kdm-pam=xdm \
- --with-kcp-pam=kcheckpass \
- --with-kss-pam=kcheckpass
- do_make %{?_smp_mflags}
+
+%cmake_tde -d build -- -DCMAKE_SKIP_RPATH=OFF \
+ -DWITH_HAL=OFF \
+ -DWITH_LDAP=ON \
+ -DWITH_ARTS=ON \
+ -DWITH_SAMBA=ON \
+ -DWITH_SASL=ON \
+ -DWITH_LIBUSB=ON \
+ -DWITH_PAM=ON \
+ -DBUILD_ALL=ON
+
+%make_tde -d build
+
cd ../fileshareset2
./configure --prefix=%{fileshare_prefix}
make %{?_smp_mflags}
%install
-. /etc/opt/kde3/common_options
# relabel smb icon
grep -v ^Icon= kioslave/smb/smb-network.desktop | grep -v ^Name > w
mv w kioslave/smb/smb-network.desktop
echo "Icon=samba" >> kioslave/smb/smb-network.desktop
echo "Name=SMB Shares" >> kioslave/smb/smb-network.desktop
# install
-do_make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
-rm $RPM_BUILD_ROOT/opt/kde3/share/applnk/System/kmenuedit.desktop
-rm $RPM_BUILD_ROOT/opt/kde3/share/applnk/System/kpersonalizer.desktop
-rm $RPM_BUILD_ROOT/opt/kde3/share/applnk/Utilities/kpager.desktop
-rm $RPM_BUILD_ROOT/opt/kde3/share/applnk/Internet/keditbookmarks.desktop
-rm $RPM_BUILD_ROOT/opt/kde3/share/applnk/Toys/ktip.desktop
-install -m 0644 %SOURCE12 $RPM_BUILD_ROOT/opt/kde3/share/fonts/
-%if %suse_version > 1100
+%makeinstall_tde -d build
+rm $RPM_BUILD_ROOT/%{_tde_appsdir}/System/kmenuedit.desktop
+rm $RPM_BUILD_ROOT/%{_tde_appsdir}/System/kpersonalizer.desktop
+rm $RPM_BUILD_ROOT/%{_tde_appsdir}/Utilities/kpager.desktop
+rm $RPM_BUILD_ROOT/%{_tde_appsdir}/Internet/keditbookmarks.desktop
+rm $RPM_BUILD_ROOT/%{_tde_appsdir}/Toys/ktip.desktop
+install -m 0644 %SOURCE12 $RPM_BUILD_ROOT/%{_tde_sharedir}/fonts/
install -D -m 0644 %SOURCE21 $RPM_BUILD_ROOT/etc/pam.d/kcheckpass
-%else
-%if %suse_version > 1010
-install -D -m 0644 %SOURCE921 $RPM_BUILD_ROOT/etc/pam.d/kcheckpass
-%else
-install -D -m 0644 %SOURCE914 $RPM_BUILD_ROOT/etc/pam.d/xdm-np
-install -D -m 0644 %SOURCE9921 $RPM_BUILD_ROOT/etc/pam.d/kcheckpass
-%endif
-%endif
-install -m 0644 %SOURCE22 $RPM_BUILD_ROOT/opt/kde3/share/services/searchproviders/
-install -m 0644 %SOURCE23 $RPM_BUILD_ROOT/opt/kde3/share/services/searchproviders/
-%if %suse_version < 1011
-mkdir -p $RPM_BUILD_ROOT/usr/X11R6/bin
-%endif
-mkdir -p ${RPM_BUILD_ROOT}/usr/bin \
- ${RPM_BUILD_ROOT}/usr/sbin \
+install -m 0644 %SOURCE22 $RPM_BUILD_ROOT/%{_tde_servicesdir}/searchproviders/
+install -m 0644 %SOURCE23 $RPM_BUILD_ROOT/%{_tde_servicesdir}/searchproviders/
+mkdir -p ${RPM_BUILD_ROOT}/%{_bindir} \
+ ${RPM_BUILD_ROOT}/%{_sbindir} \
${RPM_BUILD_ROOT}/var/run/xdmctl
-%if %suse_version > 1010
- ln -fs /opt/kde3/bin/startkde $RPM_BUILD_ROOT/usr/bin/kde
- ln -fs /opt/kde3/bin/startkde $RPM_BUILD_ROOT/usr/bin/startkde3
-%else
- ln -fs /opt/kde3/bin/startkde $RPM_BUILD_ROOT/usr/X11R6/bin/kde
-%endif
-ln -sf rcxdm ${RPM_BUILD_ROOT}/usr/sbin/rckdm
-#%if %suse_version > 1020
-#rm ${RPM_BUILD_ROOT}/opt/kde3/bin/ksysguardd
-#rm ${RPM_BUILD_ROOT}/etc/ksysguarddrc
-#%else
-mv ${RPM_BUILD_ROOT}/opt/kde3/bin/ksysguardd ${RPM_BUILD_ROOT}/usr/bin/ksysguardd
-ln -sf /usr/bin/ksysguardd ${RPM_BUILD_ROOT}/opt/kde3/bin/ksysguardd
-#%endif
-install -d ${RPM_BUILD_ROOT}/opt/kde3/env
-%if %suse_version < 1001
-install -m 0755 %SOURCE3 ${RPM_BUILD_ROOT}/opt/kde3/env
-%endif
-install -D -m 0755 %SOURCE16 ${RPM_BUILD_ROOT}/opt/kde3/shutdown/stopkde.suse.sh
+ln -fs %{_tde_bindir}/startkde $RPM_BUILD_ROOT/usr/bin/tde
+ln -fs %{_tde_bindir}/startkde $RPM_BUILD_ROOT/usr/bin/starttde
+ln -sf rcxdm ${RPM_BUILD_ROOT}/usr/sbin/rctdm
+mv ${RPM_BUILD_ROOT}/%{_tde_bindir}/ksysguardd ${RPM_BUILD_ROOT}/%{_bindir}/ksysguardd
+ln -sf %{_bindir}/ksysguardd ${RPM_BUILD_ROOT}/%{_tde_bindir}/ksysguardd
+install -d ${RPM_BUILD_ROOT}/%{_tde_prefix}/env
+install -D -m 0755 %SOURCE16 ${RPM_BUILD_ROOT}/%{_tde_prefix}/shutdown/stopkde.suse.sh
mkdir -p "${RPM_BUILD_ROOT}"/etc/security/
echo "RESTRICT=yes" > "${RPM_BUILD_ROOT}"/etc/security/fileshare.conf
#
@@ -780,71 +650,88 @@ echo "RESTRICT=yes" > "${RPM_BUILD_ROOT}"/etc/security/fileshare.conf
#
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
mkdir -p $RPM_BUILD_ROOT/etc/init.d/
-install -m 0644 %SOURCE9 ${RPM_BUILD_ROOT}/opt/kde3/share/apps/kdewizard/pics/wizard_small.png
-#%if %suse_version < 1031
+install -m 0644 %SOURCE9 ${RPM_BUILD_ROOT}/%{_tde_datadir}/kdewizard/pics/wizard_small.png
install -m 0744 %SOURCE6 $RPM_BUILD_ROOT/etc/init.d/ksysguardd
-#%endif
-mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/apps/kdm/faces/
-ln -s ../pics/users/root1.png $RPM_BUILD_ROOT/opt/kde3/share/apps/kdm/faces/root.face.icon
-ln -s ../pics/users/default2.png $RPM_BUILD_ROOT/opt/kde3/share/apps/kdm/faces/.default.face.icon
-#%if %suse_version < 1031
-ln -sf /etc/init.d/ksysguardd $RPM_BUILD_ROOT/usr/sbin/rcksysguardd
+mkdir -p $RPM_BUILD_ROOT/%{_tde_datadir}/kdm/faces/
+ln -s ../pics/users/root1.png $RPM_BUILD_ROOT/%{_tde_datadir}/kdm/faces/root.face.icon
+ln -s ../pics/users/default2.png $RPM_BUILD_ROOT/%{_tde_datadir}/kdm/faces/.default.face.icon
+ln -sf /etc/init.d/ksysguardd $RPM_BUILD_ROOT/%{_sbindir}/rcksysguardd
install -D -m 644 %SOURCE15 $RPM_BUILD_ROOT/etc/slp.reg.d/ksysguardd.reg
-#%endif
# even if we use smbro
-install -D -m 644 kioslave/smb/smb-network.desktop $RPM_BUILD_ROOT/opt/kde3/share/apps/konqueror/dirtree/remote/smb-network.desktop
+install -D -m 644 kioslave/smb/smb-network.desktop $RPM_BUILD_ROOT/{%{_tde_datadir}/konqueror/dirtree/remote/smb-network.desktop
#
# install kde session file
#
install -m 0755 -d $RPM_BUILD_ROOT/usr/share/xsessions/
-mv $RPM_BUILD_ROOT/opt/kde3/share/apps/kdm/sessions/kde.desktop $RPM_BUILD_ROOT/usr/share/xsessions/
+mv $RPM_BUILD_ROOT/%{_tde_datadir}/kdm/sessions/tde.desktop $RPM_BUILD_ROOT/usr/share/xsessions/
# for those we have a package for remove the backup and rely on the package
for wm in gnome xfce4 xfce wmaker blackbox fvwm95 fvwm icewm enlightenment; do
- rm -f $RPM_BUILD_ROOT/opt/kde3/share/apps/kdm/sessions/$wm.desktop
+ rm -f $RPM_BUILD_ROOT/%{_tde_datadir}/kdm/sessions/$wm.desktop
done
-%suse_update_desktop_file $RPM_BUILD_ROOT/usr/share/xsessions/kde.desktop
+%suse_update_desktop_file $RPM_BUILD_ROOT/usr/share/xsessions/tde.desktop
#
# delete unwanted/double files
#
-rm $RPM_BUILD_ROOT/opt/kde3/share/apps/kdesktop/DesktopLinks/Home.desktop
-rm $RPM_BUILD_ROOT/opt/kde3/share/apps/kdesktop/DesktopLinks/System.desktop
-rm $RPM_BUILD_ROOT/opt/kde3/share/icons/*/*/apps/kvirc.*
-mkdir -p $RPM_BUILD_ROOT/usr/share
-mv $RPM_BUILD_ROOT/opt/kde3/share/wallpapers $RPM_BUILD_ROOT/usr/share
+rm $RPM_BUILD_ROOT/%{_tde_datadir}/kdesktop/DesktopLinks/Home.desktop
+rm $RPM_BUILD_ROOT/%{_tde_datadir}/kdesktop/DesktopLinks/System.desktop
+rm $RPM_BUILD_ROOT/%{_tde_iconsdir}/*/*/apps/kvirc.*
+mkdir -p $RPM_BUILD_ROOT/%{_datadir}
+mv $RPM_BUILD_ROOT/%{_tde_wallpapersdir} $RPM_BUILD_ROOT/%{_datadir}
cd ../fileshareset2/src
-rm -f $RPM_BUILD_ROOT/opt/kde3/bin/fileshare{set,list}
+rm -f $RPM_BUILD_ROOT/%{_tde_bindir}/fileshare{set,list}
make DESTDIR=$RPM_BUILD_ROOT install
chmod 0755 $RPM_BUILD_ROOT/%{fileshare_prefix}/bin/fileshareset
cd ..
FILLUP_DIR=$RPM_BUILD_ROOT/var/adm/fillup-templates
-install -m 644 -D %SOURCE4 $FILLUP_DIR/sysconfig.windowmanager-kdebase3
-mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps/
-for i in {16,32,48,64,128}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/mimetypes/misc.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmcomponentchooser.png;done
-for i in {16,22,32,48,128}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/actions/launch.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmperformance.png;done
-cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/16x16/actions/services.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/16x16/apps/kcmkded.png
-for i in {16,22,32,48}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/actions/exit.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmsmserver.png;done
-for i in {16,22,32}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/actions/spellcheck.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmspellchecking.png;done
-for i in {16,22,32,48,64,128}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/desktop.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmdesktopbehavior.png;done
-for i in {16,22,32,48,64,128}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/desktop.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmdesktop.png;done
-for i in {16,22,32,48,64,128}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/apps/kmenu.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmtaskbar.png;done
-for i in {16,22,32,48,64,128}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/mimetypes/colorscm.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmcolors.png;done
-for i in {16,22,32,48,128}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/actions/launch.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmlaunch.png;done
-for i in {16,22,32}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/actions/filter.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmkhtml_filter.png;done
-for i in {16,22,32}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/actions/run.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmcgi.png;done
-for i in {16,22}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/actions/history.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmhistory.png;done
-for i in {16,22,32,48,64,128}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/network.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmnetpref.png;done
-for i in {16,32,48,64,128}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/devices/blockdevice.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmkdnssd.png;done
-for i in {16,22,32,48,64}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/devices/joystick.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmjoystick.png;done
-for i in {16,32,48,64,128}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/devices/mouse.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmmouse.png;done
-for i in {16,22,32,48,64,128}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/devices/system.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmmedia.png;done
-for i in {16,22,32}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/actions/encrypted.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmcrypto.png;done
-for i in {16,22,32,48,64,128}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/trashcan_empty.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmprivacy.png;done
-for i in {16,22,32,48,64,128}; do cp $BUILD_ROOT/opt/kde3/share/icons/crystalsvg/"$i"x"$i"/filesystems/network.png $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/"$i"x"$i"/apps/kcmnic.png;done
+install -m 644 -D %SOURCE4 $FILLUP_DIR/sysconfig.windowmanager-tdebase
+mkdir -p $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/{16x16,22x22,32x32,48x48,64x64,128x128}/apps/
+
+for i in {16,32,48,64,128}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/mimetypes/misc.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmcomponentchooser.png;done
+
+for i in {16,22,32,48,128}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/actions/launch.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmperformance.png;done
+
+cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/16x16/actions/services.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/16x16/apps/kcmkded.png
+
+for i in {16,22,32,48}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/actions/exit.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmsmserver.png;done
+
+for i in {16,22,32}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/actions/spellcheck.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmspellchecking.png;done
+
+for i in {16,22,32,48,64,128}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/filesystems/desktop.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmdesktopbehavior.png;done
+
+for i in {16,22,32,48,64,128}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/filesystems/desktop.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmdesktop.png;done
+
+for i in {16,22,32,48,64,128}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/apps/kmenu.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmtaskbar.png;done
+
+for i in {16,22,32,48,64,128}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/mimetypes/colorscm.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmcolors.png;done
+
+for i in {16,22,32,48,128}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/actions/launch.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmlaunch.png;done
+
+for i in {16,22,32}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/actions/filter.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmkhtml_filter.png;done
+
+for i in {16,22,32}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/actions/run.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmcgi.png;done
+
+for i in {16,22}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/actions/history.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmhistory.png;done
+
+for i in {16,22,32,48,64,128}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/filesystems/network.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmnetpref.png;done
+
+for i in {16,32,48,64,128}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/devices/blockdevice.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmkdnssd.png;done
+
+for i in {16,22,32,48,64}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/devices/joystick.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmjoystick.png;done
+
+for i in {16,32,48,64,128}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/devices/mouse.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmmouse.png;done
+
+for i in {16,22,32,48,64,128}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/devices/system.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmmedia.png;done
+
+for i in {16,22,32}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/actions/encrypted.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmcrypto.png;done
+
+for i in {16,22,32,48,64,128}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/filesystems/trashcan_empty.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmprivacy.png;done
+
+for i in {16,22,32,48,64,128}; do cp %{buildroot}/%{_tde_iconsdir}/crystalsvg/"$i"x"$i"/filesystems/network.png $RPM_BUILD_ROOT/%{_tde_iconsdir}/hicolor/"$i"x"$i"/apps/kcmnic.png;done
#
# solve file conflicts with theme packages ...
#
-mv $RPM_BUILD_ROOT/opt/kde3/share/apps/ksplash/pics $RPM_BUILD_ROOT/opt/kde3/share/apps/ksplash/pics-default
-ln -s pics-default $RPM_BUILD_ROOT/opt/kde3/share/apps/ksplash/pics
+mv $RPM_BUILD_ROOT/%{_tde_datadir}/ksplash/pics $RPM_BUILD_ROOT/%{_tde_datadir}/ksplash/pics-default
+ln -s pics-default $RPM_BUILD_ROOT/%{_tde_datadir}/ksplash/pics
chmod 0755 $RPM_BUILD_ROOT/%{fileshare_prefix}/bin/fileshareset
%suse_update_desktop_file kate TextEditor
%suse_update_desktop_file kwrite TextEditor
@@ -870,34 +757,34 @@ chmod 0755 $RPM_BUILD_ROOT/%{fileshare_prefix}/bin/fileshareset
%suse_update_desktop_file knetattach System Network
%suse_update_desktop_file -r kfontview Graphics Viewer
%suse_update_desktop_file -r krandrtray Applet X-KDE-settings-desktop
-%suse_update_desktop_file $RPM_BUILD_ROOT/opt/kde3/share/apps/remoteview/smb-network.desktop
-for i in $RPM_BUILD_ROOT/opt/kde3/share/applnk/System/ScreenSavers/*.desktop ; do
+%suse_update_desktop_file $RPM_BUILD_ROOT/%{_tde_datadir}/remoteview/smb-network.desktop
+for i in $RPM_BUILD_ROOT/%{_tde_appsdir}/System/ScreenSavers/*.desktop ; do
sed -e '/^\[Desktop Entry\]/a\
Categories=Screensaver;' $i > ${i}_
mv ${i}_ $i
%suse_update_desktop_file "$i"
done
-install -d $RPM_BUILD_ROOT/opt/kde3/share/applnk/apps
-ln -sf /opt/kde3/share/applnk/System/ScreenSavers $RPM_BUILD_ROOT/opt/kde3/share/applnk/apps/ScreenSavers
-
-for i in $RPM_BUILD_ROOT/opt/kde3/share/applications/kde/*.desktop \
- $RPM_BUILD_ROOT/opt/kde3/share/apps/konqueror/servicemenus/*.desktop \
- $RPM_BUILD_ROOT/opt/kde3/share/apps/kicker/*/*.desktop \
- $RPM_BUILD_ROOT/opt/kde3/share/apps/kicker/*/*/*.desktop \
- $RPM_BUILD_ROOT/opt/kde3/share/apps/kicker/*/*/*.desktop \
- $RPM_BUILD_ROOT/usr/share/wallpapers/*.desktop \
- $RPM_BUILD_ROOT/opt/kde3/share/apps/konqsidebartng/virtual_folders/services/*.desktop; do
+install -d $RPM_BUILD_ROOT/%{_tde_appsdir}/apps
+ln -sf %{_tde_appsdir}/System/ScreenSavers $RPM_BUILD_ROOT/%{_tde_appsdir}/apps/ScreenSavers
+
+for i in $RPM_BUILD_ROOT/%{_tde_applicationsdir}/kde/*.desktop \
+ $RPM_BUILD_ROOT/%{_tde_datadir}/konqueror/servicemenus/*.desktop \
+ $RPM_BUILD_ROOT/%{_tde_datadir}/kicker/*/*.desktop \
+ $RPM_BUILD_ROOT/%{_tde_datadir}/kicker/*/*/*.desktop \
+ $RPM_BUILD_ROOT/%{_tde_datadir}/kicker/*/*/*.desktop \
+ $RPM_BUILD_ROOT/%{_datadir}/wallpapers/*.desktop \
+ $RPM_BUILD_ROOT/%{_tde_datadir}/konqsidebartng/virtual_folders/services/*.desktop; do
[ "`sed -n '/^\[Desktop Entry\]/,/^\[/ s,NoDisplay=\(.*\),\1,p' "$i"`" = "true" ] && continue
[ "`sed -n '/^\[Desktop Entry\]/,/^\[/ s,Hidden=\(.*\),\1,p' "$i"`" = "true" ] && continue
grep -q X-SuSE-translate "$i" && continue
%suse_update_desktop_file "$i"
done
-rm -f $RPM_BUILD_ROOT/opt/kde3/share/config/kdm/README
-rm -f $RPM_BUILD_ROOT/opt/kde3/share/apps/kdm/sessions/icewm.desktop
+rm -f $RPM_BUILD_ROOT/%{_tde_configdir}/kdm/README
+rm -f $RPM_BUILD_ROOT/%{_tde_datadir}/kdm/sessions/icewm.desktop
#
# gimp 2.0 does have a different named icon
#
-for i in $RPM_BUILD_ROOT//opt/kde3/share/icons/*/*/apps/gimp.png; do
+for i in $RPM_BUILD_ROOT/%{_tde_iconsdir}/*/*/apps/gimp.png; do
ln "$i" "${i%/*}/wilber-icon.png"
done
mkdir -p -m 755 $RPM_BUILD_ROOT/%_mandir/man8
@@ -908,33 +795,33 @@ rm $RPM_BUILD_ROOT/%_mandir/man1/kate.*
rm $RPM_BUILD_ROOT/%_mandir/man1/kdesu.*
rm $RPM_BUILD_ROOT/%_mandir/man1/kbookmarkmerger.*
rm $RPM_BUILD_ROOT/%_mandir/man1/kfind.*
-kde_post_install
-%if %suse_version > 1020
-%fdupes $RPM_BUILD_ROOT/opt/kde3/share
-%endif
+%tde_post_install
+%fdupes $RPM_BUILD_ROOT/%{_tde_sharedir}
# move konqueror.desktop back to old position (#281572)
-mv $RPM_BUILD_ROOT/opt/kde3/share/applications/kde/konqueror.desktop $RPM_BUILD_ROOT/opt/kde3/share/applnk/konqueror.desktop
-
-%if 0%{?with_hal} == 0
-cp -f %{SOURCE24} $RPM_BUILD_ROOT/opt/kde3/bin
-chmod +x $RPM_BUILD_ROOT/opt/kde3/bin/devmon-automounter.sh
-sed -i 5i\ '/opt/kde3/bin/devmon-automounter.sh &' $RPM_BUILD_ROOT/opt/kde3/bin/startkde
-%endif
+mv $RPM_BUILD_ROOT/%{_tde_applicationsdir}/kde/konqueror.desktop $RPM_BUILD_ROOT/%{_tde_appsdir}/konqueror.desktop
+
+# while this script uses udisks, it's better to be fully integrated
+# into Trinity.
+#%if 0%{?with_hal} == 0
+#cp -f %{SOURCE24} $RPM_BUILD_ROOT/opt/kde3/bin
+#chmod +x $RPM_BUILD_ROOT/opt/kde3/bin/devmon-automounter.sh
+#sed -i 5i\ '/opt/kde3/bin/devmon-automounter.sh &' $RPM_BUILD_ROOT/opt/kde3/bin/startkde
+#%endif
%pre
# we have this as link
-if test -e opt/kde3/share/apps/ksplash/pics -a ! -L opt/kde3/share/apps/ksplash/pics ;
+if test -e opt/tde/share/apps/ksplash/pics -a ! -L opt/tde/share/apps/ksplash/pics ;
then
- if test -e opt/kde3/share/apps/ksplash/pics-default; then
- rm -rf opt/kde3/share/apps/ksplash/pics
+ if test -e opt/tde/share/apps/ksplash/pics-default; then
+ rm -rf opt/tde/share/apps/ksplash/pics
else
- mv opt/kde3/share/apps/ksplash/pics opt/kde3/share/apps/ksplash/pics-default
+ mv opt/tde/share/apps/ksplash/pics opt/tde/share/apps/ksplash/pics-default
fi
fi
-kdmrc=/opt/kde3/share/config/kdm/kdmrc
-# if the /opt/kde3 one is obviously wrong and we have one in /etc we move that one over to
+kdmrc=/opt/tde/share/config/kdm/kdmrc
+# if the /opt/tde one is obviously wrong and we have one in /etc we move that one over to
# avoid confusion on update what's the right kdmrc
-if test -f $kdmrc && grep -q "Session=/opt/kde3/share/config/kdm/Xsession" $kdmrc && test -f /etc$kdmrc; then
+if test -f $kdmrc && grep -q "Session=/opt/tde/share/config/kdm/Xsession" $kdmrc && test -f /etc$kdmrc; then
mv /etc$kdmrc $kdmrc
fi
@@ -943,12 +830,12 @@ fi
%run_permissions
%post kdm
-%{fillup_only -an windowmanager-kdebase3}
-/opt/kde3/bin/genkdmconf
+%{fillup_only -an windowmanager-tdebase}
+/opt/tde/bin/genkdmconf
if test -f /etc/sysconfig/displaymanager ; then
. /etc/sysconfig/displaymanager
fi
-%{fillup_only -n displaymanager -s kdebase3-SuSE}
+%{fillup_only -n displaymanager -s tdebase-SuSE}
%{remove_and_set -n displaymanager KDM_SHUTDOWN}
if test -n "$KDM_SHUTDOWN" -a "$KDM_SHUTDOWN" != "no"; then
if test "$KDM_SHUTDOWN" = "local" ; then
@@ -970,31 +857,12 @@ fi
%postun
%insserv_cleanup
/sbin/ldconfig
-%if %suse_version < 1031
-
-%post ksysguardd
-%{fillup_and_insserv -sn kdebase3-ksysguardd ksysguardd RUN_KSYSGUARDD}
-%verifyscript
-%verify_permissions -e /opt/kde3/bin/kcheckpass
-%verify_permissions -e /opt/kde3/bin/kdesud
-%verify_permissions -e /opt/kde3/bin/khc_indexbuilder
-
-%postun ksysguardd
-%restart_on_update ksysguardd
-%insserv_cleanup
-
-%preun ksysguardd
-%stop_on_removal ksysguardd
-%endif
%post runtime -p /sbin/ldconfig
%postun runtime -p /sbin/ldconfig
%post workspace -p /sbin/ldconfig
-%if %suse_version > 1110 && 0%{?with_hal} > 0
-chkconfig haldaemon on
-%endif
%postun workspace -p /sbin/ldconfig
@@ -1008,566 +876,511 @@ rm -rf $RPM_BUILD_ROOT
%files -n misc-console-font
%defattr(-,root,root)
%doc COPYING
-/opt/kde3/share/fonts/console8x16.pcf.gz
+%{_tde_sharedir}/fonts/console8x16.pcf.gz
%files
%defattr(-,root,root)
%doc AUTHORS COPYING README README.pam ../lame.spec ../README.mp3
-%exclude /opt/kde3/share/fonts/console8x16.pcf.gz
-%dir /opt/kde3/share/icons/hicolor/*
-%dir /opt/kde3/%_lib/kconf_update_bin
-%dir /opt/kde3/share/apps/plugin
-%dir /opt/kde3/share/applnk/
-%dir /opt/kde3/share/applnk/Settings
-%dir /opt/kde3/share/applnk/Settings/WebBrowsing
-%dir /opt/kde3/share/applnk/System/ScreenSavers
-%dir /opt/kde3/share/applnk/apps
-/opt/kde3/share/applnk/apps/ScreenSavers
+%exclude %{_tde_sharedir}/fonts/console8x16.pcf.gz
+%dir %{_tde_iconsdir}/hicolor/*
+%dir %{_tde_libdir}/kconf_update_bin
+%dir %{_tde_datadir}/plugin
+%dir %{_tde_appsdir}
+%dir %{_tde_appsdir}/Settings
+%dir %{_tde_appsdir}/Settings/WebBrowsing
+%dir %{_tde_appsdir}/System/ScreenSavers
+%dir %{_tde_appsdir}/apps
+%{_tde_appsdir}/apps/ScreenSavers
/etc/xdg/menus/*.menu
/etc/xdg/menus/applications-merged
-%verify(not mode) %attr(2755,root,nogroup) /opt/kde3/bin/kdesud
-%verify(not mode) %attr(0755,root,man) /opt/kde3/bin/khc_indexbuilder
-/opt/kde3/env
-/opt/kde3/bin/arts-start
-/opt/kde3/bin/drkonqi
-/opt/kde3/bin/kaccess
-/opt/kde3/bin/kblankscrn.kss
-/opt/kde3/bin/kbookmarkmerger
-/opt/kde3/bin/kcminit
-/opt/kde3/bin/kcminit_startup
-/opt/kde3/%_lib/kde3/kcminit_startup.*
-/opt/kde3/bin/kcontrol*
-/opt/kde3/bin/kdeinstallktheme
-/opt/kde3/bin/kdepasswd
-/opt/kde3/bin/kdcop
-/opt/kde3/bin/kdebugdialog
-/opt/kde3/bin/kdeeject
-/opt/kde3/bin/kdeprintfax
-/opt/kde3/bin/keditfiletype
-/opt/kde3/bin/khelpcenter
-/opt/kde3/bin/kjobviewer
-/opt/kde3/bin/kcheckrunning
-/opt/kde3/bin/kpm
-/opt/kde3/bin/krandom.kss
-/opt/kde3/bin/krdb
-/opt/kde3/bin/kxkb
-/opt/kde3/bin/kdialog
-/opt/kde3/bin/klocaldomainurifilterhelper
-/opt/kde3/bin/kio_media_mounthelper
-/opt/kde3/bin/knetattach
-/opt/kde3/bin/ktrash
-/opt/kde3/bin/khc_docbookdig.pl
-/opt/kde3/bin/khc_mansearch.pl
-/opt/kde3/bin/khc_htdig.pl
-/opt/kde3/bin/khc_htsearch.pl
-/opt/kde3/bin/kapplymousetheme
-/opt/kde3/bin/kio_system_documenthelper
-%if %suse_version > 1010
-/opt/kde3/bin/runupdater
-%endif
-/opt/kde3/bin/kstart
-/opt/kde3/bin/ksystraycmd
-/opt/kde3/%_lib/kde3/cursorthumbnail.*
-/opt/kde3/%_lib/kde3/htmlthumbnail.*
-/opt/kde3/%_lib/kde3/imagethumbnail.*
-/opt/kde3/%_lib/kde3/kcm_a*
-/opt/kde3/%_lib/kde3/kcm_bell*
-/opt/kde3/%_lib/kde3/kcm_keyboard*
-/opt/kde3/%_lib/kde3/kcm_c*
-/opt/kde3/%_lib/kde3/kcm_d*
-/opt/kde3/%_lib/kde3/kcm_e*
-/opt/kde3/%_lib/kde3/kcm_f*
-/opt/kde3/%_lib/kde3/kcm_h*
-/opt/kde3/%_lib/kde3/kcm_i*
-/opt/kde3/%_lib/kde3/kcm_l*
-/opt/kde3/%_lib/kde3/kcm_nic.*
-/opt/kde3/%_lib/kde3/kcm_p*
-/opt/kde3/%_lib/kde3/kcm_smserver.*
-/opt/kde3/%_lib/kde3/kcm_spellchecking.*
-/opt/kde3/%_lib/kde3/kcm_style.*
-/opt/kde3/%_lib/kde3/kcm_usb.*
-/opt/kde3/%_lib/kde3/khelpcenter.*
-/opt/kde3/%_lib/kde3/kcm_xinerama.*
-/opt/kde3/%_lib/kde3/kxkb.*
-/opt/kde3/%_lib/kde3/djvuthumbnail.*
-/opt/kde3/%_lib/kde3/kaccess.*
-/opt/kde3/%_lib/kde3/kcminit.*
-/opt/kde3/%_lib/kde3/kcm_nsplugins.*
-/opt/kde3/%_lib/kde3/kcontrol.*
-/opt/kde3/%_lib/kde3/keditbookmarks.*
-/opt/kde3/%_lib/kde3/kfmclient.*
-/opt/kde3/%_lib/kde3/kjobviewer.*
-/opt/kde3/%_lib/kde3/kprinter.*
-/opt/kde3/%_lib/kde3/libkdeprint_part.*
-/opt/kde3/%_lib/kde3/libkshorturifilter.*
-/opt/kde3/%_lib/kde3/libkuri*
-/opt/kde3/%_lib/kde3/libkonsolepart.*
-/opt/kde3/%_lib/kde3/textthumbnail.*
-/opt/kde3/%_lib/kde3/kcm_joystick.*
-/opt/kde3/%_lib/kde3/kcm_useraccount.*
-/opt/kde3/%_lib/kde3/kcontroledit.*
-/opt/kde3/%_lib/kde3/kded_kwrited.*
-/opt/kde3/%_lib/kde3/kstyle_keramik_config.*
-/opt/kde3/%_lib/kde3/libkmanpart.*
-/opt/kde3/%_lib/kde3/liblocaldomainurifilter.*
-%if %suse_version > 1010
-/opt/kde3/%_lib/kde3/runupdater.*
-/opt/kde3/%_lib/libkdeinit_runupdater.so
-%endif
-/opt/kde3/%_lib/libkdeinit_kaccess.so
-/opt/kde3/%_lib/libkdeinit_kcminit.so
-/opt/kde3/%_lib/libkdeinit_kcminit_startup.so
-/opt/kde3/%_lib/libkdeinit_kcontrol.so
-/opt/kde3/%_lib/libkdeinit_kcontroledit.so
-/opt/kde3/%_lib/libkdeinit_keditbookmarks.so
-/opt/kde3/%_lib/libkdeinit_kfmclient.so
-/opt/kde3/%_lib/libkdeinit_khelpcenter.so
-/opt/kde3/%_lib/libkdeinit_kjobviewer.so
-/opt/kde3/%_lib/libkdeinit_kxkb.so
-/opt/kde3/%_lib/kde3/libnsplugin.*
-/opt/kde3/%_lib/kde3/kded_remotedirnotify.*
-/opt/kde3/%_lib/kde3/kded_systemdirnotify.*
-/opt/kde3/%_lib/kde3/libkhtmlkttsdplugin.*
-/opt/kde3/%_lib/kde3/kcm_media.la
-/opt/kde3/%_lib/kde3/kcm_media.so
-/opt/kde3/%_lib/kde3/kded_homedirnotify.la
-/opt/kde3/%_lib/kde3/kded_homedirnotify.so
-/opt/kde3/%_lib/kde3/kded_medianotifier.la
-/opt/kde3/%_lib/kde3/kded_medianotifier.so
-%if 0%{?with_hal} > 0
-/opt/kde3/%_lib/kde3/media_propsdlgplugin.*
-%endif
-/opt/kde3/%_lib/kde3/kcm_kded.*
-/opt/kde3/%_lib/kde3/kcm_kdnssd.*
-/opt/kde3/%_lib/kde3/kcm_keyboard.*
-/opt/kde3/%_lib/kde3/kcm_keys.*
-/opt/kde3/%_lib/kde3/kcm_kio.*
-/opt/kde3/%_lib/kde3/kcm_knotify.*
-/opt/kde3/%_lib/kde3/kcm_konq.*
-/opt/kde3/%_lib/kde3/kcm_konqhtml.*
-/opt/kde3/%_lib/kde3/kcm_kthememanager.*
-/opt/kde3/%_lib/kde3/kcm_kurifilt.*
-/opt/kde3/share/applications/kde/khtml_filter.desktop
-/opt/kde3/share/applications/kde/media.desktop
-/opt/kde3/share/applications/kde/joystick.desktop
-/opt/kde3/share/applications/kde/kcm_useraccount.desktop
-/opt/kde3/share/applications/kde/kdepasswd.desktop
-/opt/kde3/share/applications/kde/kthememanager.desktop
-/opt/kde3/share/applications/kde/Help.desktop
-/opt/kde3/share/applications/kde/KControl.desktop
-/opt/kde3/share/applications/kde/arts.desktop
-/opt/kde3/share/applications/kde/bell.desktop
-/opt/kde3/share/applications/kde/cache.desktop
-/opt/kde3/share/applications/kde/colors.desktop
-/opt/kde3/share/applications/kde/componentchooser.desktop
-/opt/kde3/share/applications/kde/cookies.desktop
-/opt/kde3/share/applications/kde/crypto.desktop
-/opt/kde3/share/applications/kde/display.desktop
-/opt/kde3/share/applications/kde/dma.desktop
-/opt/kde3/share/applications/kde/ebrowsing.desktop
-/opt/kde3/share/applications/kde/filebrowser.desktop
-/opt/kde3/share/applications/kde/filetypes.desktop
-/opt/kde3/share/applications/kde/fonts.desktop
-/opt/kde3/share/applications/kde/clock.desktop
-/opt/kde3/share/applications/kde/icons.desktop
-/opt/kde3/share/applications/kde/interrupts.desktop
-/opt/kde3/share/applications/kde/installktheme.desktop
-/opt/kde3/share/applications/kde/ioports.desktop
-/opt/kde3/share/applications/kde/ioslaveinfo.desktop
-/opt/kde3/share/applications/kde/kcmaccess.desktop
-/opt/kde3/share/applications/kde/kcmcgi.desktop
-/opt/kde3/share/applications/kde/kcmcss.desktop
-/opt/kde3/share/applications/kde/kcmhistory.desktop
-/opt/kde3/share/applications/kde/kcmkded.desktop
-/opt/kde3/share/applications/kde/kcmlaunch.desktop
-/opt/kde3/share/applications/kde/kcm_kdnssd.desktop
-/opt/kde3/share/applications/kde/kcmnotify.desktop
-/opt/kde3/share/applications/kde/kcmperformance.desktop
-/opt/kde3/share/applications/kde/kcmusb.desktop
-/opt/kde3/share/applications/kde/kdeprintfax.desktop
-/opt/kde3/share/applications/kde/keyboard.desktop
-/opt/kde3/share/applications/kde/keyboard_layout.desktop
-/opt/kde3/share/applications/kde/keys.desktop
-/opt/kde3/share/applications/kde/kfmclient.desktop
-/opt/kde3/share/applications/kde/kfmclient_dir.desktop
-/opt/kde3/share/applications/kde/kfmclient_html.desktop
-/opt/kde3/share/applications/kde/kfmclient_war.desktop
-/opt/kde3/share/applications/kde/khtml_behavior.desktop
-/opt/kde3/share/applications/kde/khtml_fonts.desktop
-/opt/kde3/share/applications/kde/khtml_java_js.desktop
-/opt/kde3/share/applications/kde/khtml_plugins.desktop
-/opt/kde3/share/applications/kde/kjobviewer.desktop
-/opt/kde3/share/applications/kde/lanbrowser.desktop
-/opt/kde3/share/applications/kde/language.desktop
-/opt/kde3/share/applications/kde/memory.desktop
-/opt/kde3/share/applications/kde/mouse.desktop
-/opt/kde3/share/applications/kde/netpref.desktop
-/opt/kde3/share/applications/kde/nic.desktop
-/opt/kde3/share/applications/kde/partitions.desktop
-/opt/kde3/share/applications/kde/pci.desktop
-/opt/kde3/share/applications/kde/printers.desktop
-/opt/kde3/share/applications/kde/privacy.desktop
-/opt/kde3/share/applications/kde/processor.desktop
-/opt/kde3/share/applications/kde/proxy.desktop
-/opt/kde3/share/applications/kde/scsi.desktop
-/opt/kde3/share/applications/kde/smbstatus.desktop
-/opt/kde3/share/applications/kde/sound.desktop
-/opt/kde3/share/applications/kde/spellchecking.desktop
-/opt/kde3/share/applications/kde/style.desktop
-/opt/kde3/share/applications/kde/useragent.desktop
-/opt/kde3/share/applications/kde/xserver.desktop
-/opt/kde3/share/applications/kde/cdinfo.desktop
-/opt/kde3/share/applnk/.hidden
-/opt/kde3/share/applnk/Settings/Information
-/opt/kde3/share/applnk/Settings/LookNFeel
-/opt/kde3/share/applnk/Settings/WebBrowsing/khtml_appearance.desktop
-/opt/kde3/share/applnk/Settings/WebBrowsing/smb.desktop
-/opt/kde3/share/apps/drkonqi
-/opt/kde3/share/apps/kc*
-/opt/kde3/share/apps/kdcop
-/opt/kde3/share/apps/kdeprint*
-/opt/kde3/share/apps/kdewizard
-/opt/kde3/share/apps/kdisplay
-/opt/kde3/share/apps/khelpcenter/searchhandlers/docbook.desktop
-/opt/kde3/share/apps/khelpcenter
-/opt/kde3/share/apps/kio*
-/opt/kde3/share/apps/kjobviewer
-/opt/kde3/share/apps/konsole
-/opt/kde3/share/apps/khtml/kpartplugins
-/opt/kde3/share/apps/kthememanager
-/opt/kde3/share/apps/remoteview
-/opt/kde3/share/apps/systemview
-/opt/kde3/share/apps/kaccess
-/opt/kde3/share/config.kcfg/klaunch.kcfg
-/opt/kde3/share/config.kcfg/khelpcenter.kcfg
-/opt/kde3/share/config.kcfg/keditbookmarks.kcfg
-/opt/kde3/share/config.kcfg/launcherapplet.kcfg
-/opt/kde3/share/config.kcfg/mediamanagersettings.kcfg
-/opt/kde3/share/mimelnk/inode/system_directory.desktop
-/opt/kde3/share/services/kded/remotedirnotify.desktop
-/opt/kde3/share/services/kded/systemdirnotify.desktop
-%if 0%{?with_hal} > 0
-/opt/kde3/share/services/media_propsdlgplugin.desktop
-
-%endif
-%config(noreplace) /opt/kde3/share/config/kshorturifilterrc
-%config(noreplace) /opt/kde3/share/config/kxkb_groups
-/opt/kde3/share/desktop-directories
-%exclude /opt/kde3/share/doc/HTML/en/kioslave
-%dir /opt/kde3/share/fonts
-%dir /opt/kde3/share/fonts/override
-%verify(not md5 size mtime) /opt/kde3/share/fonts/override/fonts.dir
-%dir /opt/kde3/share/icons/*/*/*
-/opt/kde3/share/config.kcfg/kcm_useraccount.kcfg
-/opt/kde3/share/config.kcfg/kcm_useraccount_pass.kcfg
-%exclude /opt/kde3/share/icons/*/*/*/style.*
-%exclude /opt/kde3/share/icons/*/*/*/looknfeel.*
-%exclude /opt/kde3/share/icons/*/*/*/energy.*
-%exclude /opt/kde3/share/icons/*/*/*/date.*
-%exclude /opt/kde3/share/icons/*/*/*/filetypes.*
-%exclude /opt/kde3/share/icons/*/*/*/personal.*
-/opt/kde3/share/icons/*/*/*/a*.*
-/opt/kde3/share/icons/*/*/*/b*.*
-/opt/kde3/share/icons/*/*/*/c*.*
-/opt/kde3/share/icons/*/*/*/d*.*
-/opt/kde3/share/icons/*/*/*/f*.*
-/opt/kde3/share/icons/*/*/*/g*.*
-/opt/kde3/share/icons/*/*/*/help_index.*
-/opt/kde3/share/icons/*/*/*/icons.*
-/opt/kde3/share/icons/*/*/*/input_devices_settings.*
-/opt/kde3/share/icons/*/*/*/kcmx.*
-/opt/kde3/share/icons/*/*/*/kcmdf.*
-/opt/kde3/share/icons/*/*/*/kbinaryclock.*
-/opt/kde3/share/icons/*/*/apps/kcmcgi.*
-/opt/kde3/share/icons/*/*/apps/kcmcolors.*
-/opt/kde3/share/icons/*/*/apps/kcmcomponentchooser.*
-/opt/kde3/share/icons/*/*/apps/kcmcrypto.*
-/opt/kde3/share/icons/*/*/apps/kcmhistory.*
-/opt/kde3/share/icons/*/*/apps/kcmjoystick.*
-/opt/kde3/share/icons/*/*/apps/kcmkded.*
-/opt/kde3/share/icons/*/*/apps/kcmkdnssd.*
-/opt/kde3/share/icons/*/*/apps/kcmkhtml_filter.*
-/opt/kde3/share/icons/*/*/apps/kcmlaunch.*
-/opt/kde3/share/icons/*/*/apps/kcmmedia.*
-/opt/kde3/share/icons/*/*/apps/kcmmouse.*
-/opt/kde3/share/icons/*/*/apps/kcmnetpref.*
-/opt/kde3/share/icons/*/*/apps/kcmnic.*
-/opt/kde3/share/icons/*/*/apps/kcmperformance.*
-/opt/kde3/share/icons/*/*/apps/kcmprivacy.*
-/opt/kde3/share/icons/*/*/apps/kcmspellchecking.*
-/opt/kde3/share/icons/*/*/*/ieee1394.*
-/opt/kde3/share/icons/*/*/*/kdeprintfax.*
-/opt/kde3/share/icons/*/*/*/kdisknav.*
-/opt/kde3/share/icons/*/*/*/knetattach.*
-/opt/kde3/share/icons/*/*/*/key_bindings.*
-/opt/kde3/share/icons/*/*/*/keyboard_layout.*
-/opt/kde3/share/icons/*/*/*/kfm_home.*
-/opt/kde3/share/icons/*/*/*/khelpcenter.*
-/opt/kde3/share/icons/*/*/*/kjobviewer.*
-/opt/kde3/share/icons/*/*/*/konsole.*
-/opt/kde3/share/icons/*/*/*/l*.*
-/opt/kde3/share/icons/*/*/*/m*.*
-/opt/kde3/share/icons/*/*/*/ne*.*
-/opt/kde3/share/icons/*/*/*/opera.*
-/opt/kde3/share/icons/*/*/*/r*.*
-/opt/kde3/share/icons/*/*/*/s*.*
-/opt/kde3/share/icons/*/*/*/usb.*
-/opt/kde3/share/icons/*/*/*/vnc.*
-/opt/kde3/share/icons/*/*/*/w*.*
-/opt/kde3/share/icons/*/*/*/e*.*
-/opt/kde3/share/icons/*/*/*/kcmdevices.*
-/opt/kde3/share/icons/*/*/*/kcmdrkonqi.*
-/opt/kde3/share/icons/*/*/*/kcmmemory.*
-/opt/kde3/share/icons/*/*/*/kcmmidi.*
-/opt/kde3/share/icons/*/*/*/kcmpartitions.*
-/opt/kde3/share/icons/*/*/*/kcmpci.*
-/opt/kde3/share/icons/*/*/*/kcmprocessor.*
-/opt/kde3/share/icons/*/*/*/kcmscsi.*
-/opt/kde3/share/icons/*/*/*/kthememgr.*
-/opt/kde3/share/icons/*/*/*/kcontrol.*
-/opt/kde3/share/icons/*/*/*/kxkb.*
-/opt/kde3/share/icons/*/*/*/p*.*
-/opt/kde3/share/icons/*/*/*/t*.*
-/opt/kde3/share/icons/*/*/*/qtella.*
-/opt/kde3/share/icons/*/*/*/x*.*
+%verify(not mode) %attr(2755,root,nogroup) %{_tde_bindir}/kdesud
+%verify(not mode) %attr(0755,root,man) %{_tde_bindir}/khc_indexbuilder
+%{_tde_prefix}/env
+%{_tde_bindir}/arts-start
+%{_tde_bindir}/drkonqi
+%{_tde_bindir}/kaccess
+%{_tde_bindir}/kblankscrn.kss
+%{_tde_bindir}/kbookmarkmerger
+%{_tde_bindir}/kcminit
+%{_tde_bindir}/kcminit_startup
+%{_tde_modulesdir}/kcminit_startup.*
+%{_tde_bindir}/kcontrol*
+%{_tde_bindir}/kdeinstallktheme
+%{_tde_bindir}/kdepasswd
+%{_tde_bindir}/kdcop
+%{_tde_bindir}/kdebugdialog
+%{_tde_bindir}/kdeeject
+%{_tde_bindir}/kdeprintfax
+%{_tde_bindir}/keditfiletype
+%{_tde_bindir}/khelpcenter
+%{_tde_bindir}/kjobviewer
+%{_tde_bindir}/kcheckrunning
+%{_tde_bindir}/kpm
+%{_tde_bindir}/krandom.kss
+%{_tde_bindir}/krdb
+%{_tde_bindir}/kxkb
+%{_tde_bindir}/kdialog
+%{_tde_bindir}/klocaldomainurifilterhelper
+%{_tde_bindir}/kio_media_mounthelper
+%{_tde_bindir}/knetattach
+%{_tde_bindir}/ktrash
+%{_tde_bindir}/khc_docbookdig.pl
+%{_tde_bindir}/khc_mansearch.pl
+%{_tde_bindir}/khc_htdig.pl
+%{_tde_bindir}/khc_htsearch.pl
+%{_tde_bindir}/kapplymousetheme
+%{_tde_bindir}/kio_system_documenthelper
+%{_tde_bindir}/runupdater
+%{_tde_bindir}/kstart
+%{_tde_bindir}/ksystraycmd
+%{_tde_modulesdir}/cursorthumbnail.*
+%{_tde_modulesdir}/htmlthumbnail.*
+%{_tde_modulesdir}/imagethumbnail.*
+%{_tde_modulesdir}/kcm_a*
+%{_tde_modulesdir}/kcm_bell*
+%{_tde_modulesdir}/kcm_keyboard*
+%{_tde_modulesdir}/kcm_c*
+%{_tde_modulesdir}/kcm_d*
+%{_tde_modulesdir}/kcm_e*
+%{_tde_modulesdir}/kcm_f*
+%{_tde_modulesdir}/kcm_h*
+%{_tde_modulesdir}/kcm_i*
+%{_tde_modulesdir}/kcm_l*
+%{_tde_modulesdir}/kcm_nic.*
+%{_tde_modulesdir}/kcm_p*
+%{_tde_modulesdir}/kcm_smserver.*
+%{_tde_modulesdir}/kcm_spellchecking.*
+%{_tde_modulesdir}/kcm_style.*
+%{_tde_modulesdir}/kcm_usb.*
+%{_tde_modulesdir}/khelpcenter.*
+%{_tde_modulesdir}/kcm_xinerama.*
+%{_tde_modulesdir}/kxkb.*
+%{_tde_modulesdir}/djvuthumbnail.*
+%{_tde_modulesdir}/kaccess.*
+%{_tde_modulesdir}/kcminit.*
+%{_tde_modulesdir}/kcm_nsplugins.*
+%{_tde_modulesdir}/kcontrol.*
+%{_tde_modulesdir}/keditbookmarks.*
+%{_tde_modulesdir}/kfmclient.*
+%{_tde_modulesdir}/kjobviewer.*
+%{_tde_modulesdir}/kprinter.*
+%{_tde_modulesdir}/libkdeprint_part.*
+%{_tde_modulesdir}/libkshorturifilter.*
+%{_tde_modulesdir}/libkuri*
+%{_tde_modulesdir}/libkonsolepart.*
+%{_tde_modulesdir}/textthumbnail.*
+%{_tde_modulesdir}/kcm_joystick.*
+%{_tde_modulesdir}/kcm_useraccount.*
+%{_tde_modulesdir}/kcontroledit.*
+%{_tde_modulesdir}/kded_kwrited.*
+%{_tde_modulesdir}/kstyle_keramik_config.*
+%{_tde_modulesdir}/libkmanpart.*
+%{_tde_modulesdir}/liblocaldomainurifilter.*
+%{_tde_modulesdir}/runupdater.*
+%{_tde_libdir}/libkdeinit_runupdater.so
+%{_tde_libdir}/libkdeinit_kaccess.so
+%{_tde_libdir}/libkdeinit_kcminit.so
+%{_tde_libdir}/libkdeinit_kcminit_startup.so
+%{_tde_libdir}/libkdeinit_kcontrol.so
+%{_tde_libdir}/libkdeinit_kcontroledit.so
+%{_tde_libdir}/libkdeinit_keditbookmarks.so
+%{_tde_libdir}/libkdeinit_kfmclient.so
+%{_tde_libdir}/libkdeinit_khelpcenter.so
+%{_tde_libdir}/libkdeinit_kjobviewer.so
+%{_tde_libdir}/libkdeinit_kxkb.so
+%{_tde_modulesdir}/libnsplugin.*
+%{_tde_modulesdir}/kded_remotedirnotify.*
+%{_tde_modulesdir}/kded_systemdirnotify.*
+%{_tde_modulesdir}/libkhtmlkttsdplugin.*
+%{_tde_modulesdir}/kcm_media.la
+%{_tde_modulesdir}/kcm_media.so
+%{_tde_modulesdir}/kded_homedirnotify.la
+%{_tde_modulesdir}/kded_homedirnotify.so
+%{_tde_modulesdir}/kded_medianotifier.la
+%{_tde_modulesdir}/kded_medianotifier.so
+%{_tde_modulesdir}/kcm_kded.*
+%{_tde_modulesdir}/kcm_kdnssd.*
+%{_tde_modulesdir}/kcm_keyboard.*
+%{_tde_modulesdir}/kcm_keys.*
+%{_tde_modulesdir}/kcm_kio.*
+%{_tde_modulesdir}/kcm_knotify.*
+%{_tde_modulesdir}/kcm_konq.*
+%{_tde_modulesdir}/kcm_konqhtml.*
+%{_tde_modulesdir}/kcm_kthememanager.*
+%{_tde_modulesdir}/kcm_kurifilt.*
+%{_tde_applicationsdir}/kde/khtml_filter.desktop
+%{_tde_applicationsdir}/kde/media.desktop
+%{_tde_applicationsdir}/kde/joystick.desktop
+%{_tde_applicationsdir}/kde/kcm_useraccount.desktop
+%{_tde_applicationsdir}/kde/kdepasswd.desktop
+%{_tde_applicationsdir}/kde/kthememanager.desktop
+%{_tde_applicationsdir}/kde/Help.desktop
+%{_tde_applicationsdir}/kde/KControl.desktop
+%{_tde_applicationsdir}/kde/arts.desktop
+%{_tde_applicationsdir}/kde/bell.desktop
+%{_tde_applicationsdir}/kde/cache.desktop
+%{_tde_applicationsdir}/kde/colors.desktop
+%{_tde_applicationsdir}/kde/componentchooser.desktop
+%{_tde_applicationsdir}/kde/cookies.desktop
+%{_tde_applicationsdir}/kde/crypto.desktop
+%{_tde_applicationsdir}/kde/display.desktop
+%{_tde_applicationsdir}/kde/dma.desktop
+%{_tde_applicationsdir}/kde/ebrowsing.desktop
+%{_tde_applicationsdir}/kde/filebrowser.desktop
+%{_tde_applicationsdir}/kde/filetypes.desktop
+%{_tde_applicationsdir}/kde/fonts.desktop
+%{_tde_applicationsdir}/kde/clock.desktop
+%{_tde_applicationsdir}/kde/icons.desktop
+%{_tde_applicationsdir}/kde/interrupts.desktop
+%{_tde_applicationsdir}/kde/installktheme.desktop
+%{_tde_applicationsdir}/kde/ioports.desktop
+%{_tde_applicationsdir}/kde/ioslaveinfo.desktop
+%{_tde_applicationsdir}/kde/kcmaccess.desktop
+%{_tde_applicationsdir}/kde/kcmcgi.desktop
+%{_tde_applicationsdir}/kde/kcmcss.desktop
+%{_tde_applicationsdir}/kde/kcmhistory.desktop
+%{_tde_applicationsdir}/kde/kcmkded.desktop
+%{_tde_applicationsdir}/kde/kcmlaunch.desktop
+%{_tde_applicationsdir}/kde/kcm_kdnssd.desktop
+%{_tde_applicationsdir}/kde/kcmnotify.desktop
+%{_tde_applicationsdir}/kde/kcmperformance.desktop
+%{_tde_applicationsdir}/kde/kcmusb.desktop
+%{_tde_applicationsdir}/kde/kdeprintfax.desktop
+%{_tde_applicationsdir}/kde/keyboard.desktop
+%{_tde_applicationsdir}/kde/keyboard_layout.desktop
+%{_tde_applicationsdir}/kde/keys.desktop
+%{_tde_applicationsdir}/kde/kfmclient.desktop
+%{_tde_applicationsdir}/kde/kfmclient_dir.desktop
+%{_tde_applicationsdir}/kde/kfmclient_html.desktop
+%{_tde_applicationsdir}/kde/kfmclient_war.desktop
+%{_tde_applicationsdir}/kde/khtml_behavior.desktop
+%{_tde_applicationsdir}/kde/khtml_fonts.desktop
+%{_tde_applicationsdir}/kde/khtml_java_js.desktop
+%{_tde_applicationsdir}/kde/khtml_plugins.desktop
+%{_tde_applicationsdir}/kde/kjobviewer.desktop
+%{_tde_applicationsdir}/kde/lanbrowser.desktop
+%{_tde_applicationsdir}/kde/language.desktop
+%{_tde_applicationsdir}/kde/memory.desktop
+%{_tde_applicationsdir}/kde/mouse.desktop
+%{_tde_applicationsdir}/kde/netpref.desktop
+%{_tde_applicationsdir}/kde/nic.desktop
+%{_tde_applicationsdir}/kde/partitions.desktop
+%{_tde_applicationsdir}/kde/pci.desktop
+%{_tde_applicationsdir}/kde/printers.desktop
+%{_tde_applicationsdir}/kde/privacy.desktop
+%{_tde_applicationsdir}/kde/processor.desktop
+%{_tde_applicationsdir}/kde/proxy.desktop
+%{_tde_applicationsdir}/kde/scsi.desktop
+%{_tde_applicationsdir}/kde/smbstatus.desktop
+%{_tde_applicationsdir}/kde/sound.desktop
+%{_tde_applicationsdir}/kde/spellchecking.desktop
+%{_tde_applicationsdir}/kde/style.desktop
+%{_tde_applicationsdir}/kde/useragent.desktop
+%{_tde_applicationsdir}/kde/xserver.desktop
+%{_tde_applicationsdir}/kde/cdinfo.desktop
+%{_tde_appsdir}/.hidden
+%{_tde_appsdir}/Settings/Information
+%{_tde_appsdir}/Settings/LookNFeel
+%{_tde_appsdir}/Settings/WebBrowsing/khtml_appearance.desktop
+%{_tde_appsdir}/Settings/WebBrowsing/smb.desktop
+%{_tde_datadir}/drkonqi
+%{_tde_datadir}/kc*
+%{_tde_datadir}/kdcop
+%{_tde_datadir}/kdeprint*
+%{_tde_datadir}/kdewizard
+%{_tde_datadir}/kdisplay
+%{_tde_datadir}/khelpcenter/searchhandlers/docbook.desktop
+%{_tde_datadir}/khelpcenter
+%{_tde_datadir}/kio*
+%{_tde_datadir}/kjobviewer
+%{_tde_datadir}/konsole
+%{_tde_datadir}/khtml/kpartplugins
+%{_tde_datadir}/kthememanager
+%{_tde_datadir}/remoteview
+%{_tde_datadir}/systemview
+%{_tde_datadir}/kaccess
+%{_tde_configdir}.kcfg/klaunch.kcfg
+%{_tde_configdir}.kcfg/khelpcenter.kcfg
+%{_tde_configdir}.kcfg/keditbookmarks.kcfg
+%{_tde_configdir}.kcfg/launcherapplet.kcfg
+%{_tde_configdir}.kcfg/mediamanagersettings.kcfg
+%{_tde_mimedir}/inode/system_directory.desktop
+%{_tde_servicesdir}/kded/remotedirnotify.desktop
+%{_tde_servicesdir}/kded/systemdirnotify.desktop
+%config(noreplace) %{_tde_configdir}/kshorturifilterrc
+%config(noreplace) %{_tde_configdir}/kxkb_groups
+%{_tde_sharedir}/desktop-directories
+%exclude %{_tde_htmldir}/en/kioslave
+%dir %{_tde_sharedir}/fonts
+%dir %{_tde_sharedir}/fonts/override
+%verify(not md5 size mtime) %{_tde_sharedir}/fonts/override/fonts.dir
+%dir %{_tde_iconsdir}/*/*/*
+%{_tde_configdir}.kcfg/kcm_useraccount.kcfg
+%{_tde_configdir}.kcfg/kcm_useraccount_pass.kcfg
+%exclude %{_tde_iconsdir}/*/*/*/style.*
+%exclude %{_tde_iconsdir}/*/*/*/looknfeel.*
+%exclude %{_tde_iconsdir}/*/*/*/energy.*
+%exclude %{_tde_iconsdir}/*/*/*/date.*
+%exclude %{_tde_iconsdir}/*/*/*/filetypes.*
+%exclude %{_tde_iconsdir}/*/*/*/personal.*
+%{_tde_iconsdir}/*/*/*/a*.*
+%{_tde_iconsdir}/*/*/*/b*.*
+%{_tde_iconsdir}/*/*/*/c*.*
+%{_tde_iconsdir}/*/*/*/d*.*
+%{_tde_iconsdir}/*/*/*/f*.*
+%{_tde_iconsdir}/*/*/*/g*.*
+%{_tde_iconsdir}/*/*/*/help_index.*
+%{_tde_iconsdir}/*/*/*/icons.*
+%{_tde_iconsdir}/*/*/*/input_devices_settings.*
+%{_tde_iconsdir}/*/*/*/kcmx.*
+%{_tde_iconsdir}/*/*/*/kcmdf.*
+%{_tde_iconsdir}/*/*/*/kbinaryclock.*
+%{_tde_iconsdir}/*/*/apps/kcmcgi.*
+%{_tde_iconsdir}/*/*/apps/kcmcolors.*
+%{_tde_iconsdir}/*/*/apps/kcmcomponentchooser.*
+%{_tde_iconsdir}/*/*/apps/kcmcrypto.*
+%{_tde_iconsdir}/*/*/apps/kcmhistory.*
+%{_tde_iconsdir}/*/*/apps/kcmjoystick.*
+%{_tde_iconsdir}/*/*/apps/kcmkded.*
+%{_tde_iconsdir}/*/*/apps/kcmkdnssd.*
+%{_tde_iconsdir}/*/*/apps/kcmkhtml_filter.*
+%{_tde_iconsdir}/*/*/apps/kcmlaunch.*
+%{_tde_iconsdir}/*/*/apps/kcmmedia.*
+%{_tde_iconsdir}/*/*/apps/kcmmouse.*
+%{_tde_iconsdir}/*/*/apps/kcmnetpref.*
+%{_tde_iconsdir}/*/*/apps/kcmnic.*
+%{_tde_iconsdir}/*/*/apps/kcmperformance.*
+%{_tde_iconsdir}/*/*/apps/kcmprivacy.*
+%{_tde_iconsdir}/*/*/apps/kcmspellchecking.*
+%{_tde_iconsdir}/*/*/*/ieee1394.*
+%{_tde_iconsdir}/*/*/*/kdeprintfax.*
+%{_tde_iconsdir}/*/*/*/kdisknav.*
+%{_tde_iconsdir}/*/*/*/knetattach.*
+%{_tde_iconsdir}/*/*/*/key_bindings.*
+%{_tde_iconsdir}/*/*/*/keyboard_layout.*
+%{_tde_iconsdir}/*/*/*/kfm_home.*
+%{_tde_iconsdir}/*/*/*/khelpcenter.*
+%{_tde_iconsdir}/*/*/*/kjobviewer.*
+%{_tde_iconsdir}/*/*/*/konsole.*
+%{_tde_iconsdir}/*/*/*/l*.*
+%{_tde_iconsdir}/*/*/*/m*.*
+%{_tde_iconsdir}/*/*/*/ne*.*
+%{_tde_iconsdir}/*/*/*/opera.*
+%{_tde_iconsdir}/*/*/*/r*.*
+%{_tde_iconsdir}/*/*/*/s*.*
+%{_tde_iconsdir}/*/*/*/usb.*
+%{_tde_iconsdir}/*/*/*/vnc.*
+%{_tde_iconsdir}/*/*/*/w*.*
+%{_tde_iconsdir}/*/*/*/e*.*
+%{_tde_iconsdir}/*/*/*/kcmdevices.*
+%{_tde_iconsdir}/*/*/*/kcmdrkonqi.*
+%{_tde_iconsdir}/*/*/*/kcmmemory.*
+%{_tde_iconsdir}/*/*/*/kcmmidi.*
+%{_tde_iconsdir}/*/*/*/kcmpartitions.*
+%{_tde_iconsdir}/*/*/*/kcmpci.*
+%{_tde_iconsdir}/*/*/*/kcmprocessor.*
+%{_tde_iconsdir}/*/*/*/kcmscsi.*
+%{_tde_iconsdir}/*/*/*/kthememgr.*
+%{_tde_iconsdir}/*/*/*/kcontrol.*
+%{_tde_iconsdir}/*/*/*/kxkb.*
+%{_tde_iconsdir}/*/*/*/p*.*
+%{_tde_iconsdir}/*/*/*/t*.*
+%{_tde_iconsdir}/*/*/*/qtella.*
+%{_tde_iconsdir}/*/*/*/x*.*
# these have no PNG
-/opt/kde3/share/icons/*/scalable/apps/hardware.svgz
-/opt/kde3/share/icons/*/scalable/apps/kate2.svgz
-/opt/kde3/share/icons/*/scalable/apps/kwrite2.svgz
-/opt/kde3/share/icons/*/scalable/apps/openoffice.svgz
-/opt/kde3/share/icons/*/scalable/apps/quicktime.svgz
-/opt/kde3/share/locale
-/opt/kde3/share/mimelnk/application/x-konsole.desktop
-/opt/kde3/share/mimelnk/application/x-ktheme.desktop
-/opt/kde3/share/mimelnk/application/x-smb-server.desktop
-/opt/kde3/share/mimelnk/print
-/opt/kde3/share/services/textthumbnail.desktop
-/opt/kde3/share/services/htmlthumbnail.desktop
-/opt/kde3/share/services/ka*.desktop
-/opt/kde3/share/services/kdeprint_part.desktop
-/opt/kde3/share/services/konsolepart.desktop
-/opt/kde3/share/services/konsole-script.desktop
-/opt/kde3/share/services/kshorturifilter.desktop
-/opt/kde3/share/services/ku*.desktop
-/opt/kde3/share/services/searchproviders
-/opt/kde3/share/services/useragentstrings
-/opt/kde3/share/services/imagethumbnail.desktop
-/opt/kde3/share/services/kxkb.desktop
-/opt/kde3/share/services/kmanpart.desktop
-/opt/kde3/share/services/localdomainurifilter.desktop
-/opt/kde3/share/services/kwrited.desktop
-/opt/kde3/share/services/djvuthumbnail.desktop
-/opt/kde3/share/services/kded/kwrited.desktop
-/opt/kde3/share/servicetypes/terminalemulator.desktop
-/opt/kde3/share/servicetypes/kateplugin.desktop
-/opt/kde3/share/servicetypes/findpart.desktop
-/opt/kde3/share/servicetypes/searchprovider.desktop
-/opt/kde3/share/servicetypes/thumbcreator.desktop
-/opt/kde3/share/servicetypes/uasprovider.desktop
-%exclude /opt/kde3/share/sounds/KDE_Close_Window*
-%exclude /opt/kde3/share/sounds/KDE_Dialog*
-%exclude /opt/kde3/share/sounds/KDE_Desktop*
-%exclude /opt/kde3/share/sounds/KDE_Logout*
-%exclude /opt/kde3/share/sounds/KDE_Startup*
-%exclude /opt/kde3/share/sounds/KDE_Window*
-/opt/kde3/share/sounds
-/opt/kde3/share/templates
-/opt/kde3/share/services/khelpcenter.desktop
-/opt/kde3/bin/keditbookmarks
-/opt/kde3/bin/kfm*
-/opt/kde3/share/apps/kbookmark
-/opt/kde3/share/apps/keditbookmarks
-/opt/kde3/share/icons/*/*/*/keditbookmarks.*
-/opt/kde3/share/icons/*/*/*/kfm.*
-/opt/kde3/share/icons/*/*/*/konqueror.*
-/opt/kde3/share/services/konq*
-/opt/kde3/share/servicetypes/konq*
-/opt/kde3/share/services/cursorthumbnail.desktop
-/opt/kde3/%_lib/kde3/kcm_randr.*
-/opt/kde3/bin/krandrtray
-/opt/kde3/share/applications/kde/krandrtray.desktop
-/opt/kde3/%_lib/kde3/kded_mediamanager.*
-/opt/kde3/%_lib/kde3/kfile_media.*
-/opt/kde3/%_lib/kde3/kfile_trash.*
-/opt/kde3/share/applications/kde/devices.desktop
-/opt/kde3/share/applications/kde/knetattach.desktop
-/opt/kde3/share/applications/kde/opengl.desktop
-/opt/kde3/share/icons/*/*/*/kcmopengl.*
-/opt/kde3/share/mimelnk/media
-/opt/kde3/share/services/kded/mediamanager.desktop
-/opt/kde3/share/services/kded/homedirnotify.desktop
-/opt/kde3/share/services/kded/medianotifier.desktop
-/opt/kde3/share/services/kfile_media.desktop
-/opt/kde3/share/services/kfile_trash.desktop
-/opt/kde3/share/services/kfile_trash_system.desktop
-/opt/kde3/share/mimelnk/fonts/package.desktop
-/opt/kde3/%_lib/kde3/exrthumbnail.*
-/opt/kde3/share/services/exrthumbnail.desktop
-%dir /opt/kde3/share/mimelnk/fonts
-/opt/kde3/bin/kfontinst
-/opt/kde3/%_lib/kde3/fontthumbnail.*
-/opt/kde3/%_lib/kde3/kfile_font.*
-/opt/kde3/%_lib/kde3/libkfontviewpart.*
-%dir /opt/kde3/share/apps/kfontview
-/opt/kde3/share/apps/kfontview/kfontviewpart.rc
-/opt/kde3/share/applications/kde/kcmfontinst.desktop
-/opt/kde3/share/mimelnk/fonts/folder.desktop
-/opt/kde3/share/mimelnk/fonts/system-folder.desktop
-/opt/kde3/share/services/fontthumbnail.desktop
-/opt/kde3/share/services/kfile_font.desktop
-/opt/kde3/share/services/kfontviewpart.desktop
+%{_tde_iconsdir}/*/scalable/apps/hardware.svgz
+%{_tde_iconsdir}/*/scalable/apps/kate2.svgz
+%{_tde_iconsdir}/*/scalable/apps/kwrite2.svgz
+%{_tde_iconsdir}/*/scalable/apps/openoffice.svgz
+%{_tde_iconsdir}/*/scalable/apps/quicktime.svgz
+%{_tde_sharedir}/locale
+%{_tde_mimedir}/application/x-konsole.desktop
+%{_tde_mimedir}/application/x-ktheme.desktop
+%{_tde_mimedir}/application/x-smb-server.desktop
+%{_tde_mimedir}/print
+%{_tde_servicesdir}/textthumbnail.desktop
+%{_tde_servicesdir}/htmlthumbnail.desktop
+%{_tde_servicesdir}/ka*.desktop
+%{_tde_servicesdir}/kdeprint_part.desktop
+%{_tde_servicesdir}/konsolepart.desktop
+%{_tde_servicesdir}/konsole-script.desktop
+%{_tde_servicesdir}/kshorturifilter.desktop
+%{_tde_servicesdir}/ku*.desktop
+%{_tde_servicesdir}/searchproviders
+%{_tde_servicesdir}/useragentstrings
+%{_tde_servicesdir}/imagethumbnail.desktop
+%{_tde_servicesdir}/kxkb.desktop
+%{_tde_servicesdir}/kmanpart.desktop
+%{_tde_servicesdir}/localdomainurifilter.desktop
+%{_tde_servicesdir}/kwrited.desktop
+%{_tde_servicesdir}/djvuthumbnail.desktop
+%{_tde_servicesdir}/kded/kwrited.desktop
+%{_tde_servicetypesdir}/terminalemulator.desktop
+%{_tde_servicetypesdir}/kateplugin.desktop
+%{_tde_servicetypesdir}/findpart.desktop
+%{_tde_servicetypesdir}/searchprovider.desktop
+%{_tde_servicetypesdir}/thumbcreator.desktop
+%{_tde_servicetypesdir}/uasprovider.desktop
+%exclude %{_tde_sounddir}/KDE_Close_Window*
+%exclude %{_tde_sounddir}/KDE_Dialog*
+%exclude %{_tde_sounddir}/KDE_Desktop*
+%exclude %{_tde_sounddir}/KDE_Logout*
+%exclude %{_tde_sounddir}/KDE_Startup*
+%exclude %{_tde_sounddir}/KDE_Window*
+%{_tde_sounddir}
+%{_tde_sharedir}/templates
+%{_tde_servicesdir}/khelpcenter.desktop
+%{_tde_bindir}/keditbookmarks
+%{_tde_bindir}/kfm*
+%{_tde_datadir}/kbookmark
+%{_tde_datadir}/keditbookmarks
+%{_tde_iconsdir}/*/*/*/keditbookmarks.*
+%{_tde_iconsdir}/*/*/*/kfm.*
+%{_tde_iconsdir}/*/*/*/konqueror.*
+%{_tde_servicesdir}/konq*
+%{_tde_servicetypesdir}/konq*
+%{_tde_servicesdir}/cursorthumbnail.desktop
+%{_tde_modulesdir}/kcm_randr.*
+%{_tde_bindir}/krandrtray
+%{_tde_applicationsdir}/kde/krandrtray.desktop
+%{_tde_modulesdir}/kded_mediamanager.*
+%{_tde_modulesdir}/kfile_media.*
+%{_tde_modulesdir}/kfile_trash.*
+%{_tde_applicationsdir}/kde/devices.desktop
+%{_tde_applicationsdir}/kde/knetattach.desktop
+%{_tde_applicationsdir}/kde/opengl.desktop
+%{_tde_iconsdir}/*/*/*/kcmopengl.*
+%{_tde_mimedir}/media
+%{_tde_servicesdir}/kded/mediamanager.desktop
+%{_tde_servicesdir}/kded/homedirnotify.desktop
+%{_tde_servicesdir}/kded/medianotifier.desktop
+%{_tde_servicesdir}/kfile_media.desktop
+%{_tde_servicesdir}/kfile_trash.desktop
+%{_tde_servicesdir}/kfile_trash_system.desktop
+%{_tde_mimedir}/fonts/package.desktop
+%{_tde_modulesdir}/exrthumbnail.*
+%{_tde_servicesdir}/exrthumbnail.desktop
+%dir %{_tde_mimedir}/fonts
+%{_tde_bindir}/kfontinst
+%{_tde_modulesdir}/fontthumbnail.*
+%{_tde_modulesdir}/kfile_font.*
+%{_tde_modulesdir}/libkfontviewpart.*
+%dir %{_tde_datadir}/kfontview
+%{_tde_datadir}/kfontview/kfontviewpart.rc
+%{_tde_applicationsdir}/kde/kcmfontinst.desktop
+%{_tde_mimedir}/fonts/folder.desktop
+%{_tde_mimedir}/fonts/system-folder.desktop
+%{_tde_servicesdir}/fontthumbnail.desktop
+%{_tde_servicesdir}/kfile_font.desktop
+%{_tde_servicesdir}/kfontviewpart.desktop
%_mandir/man1/*
-%if %suse_version < 1001
-%config(noreplace) /etc/security/fileshare.conf
-/opt/kde3/bin/filesharelist
-%verify(not mode) /opt/kde3/bin/fileshareset
-%endif
%{_mandir}/man8/kcheckpass.8.gz
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/kcontrol
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/kdcop
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/kdebugdialog
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/kdeprint
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/kdesu
-%exclude /opt/kde3/share/doc/HTML/en/khelpcenter/userguide
-%exclude /opt/kde3/share/doc/HTML/en/khelpcenter/visualdict
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/khelpcenter
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/knetattach
-/opt/kde3/share/applications/kde/desktoppath.desktop
+%doc %lang(en) %{_tde_htmldir}/en/kcontrol
+%doc %lang(en) %{_tde_htmldir}/en/kdcop
+%doc %lang(en) %{_tde_htmldir}/en/kdebugdialog
+%doc %lang(en) %{_tde_htmldir}/en/kdeprint
+%doc %lang(en) %{_tde_htmldir}/en/kdesu
+%exclude %{_tde_htmldir}/en/khelpcenter/userguide
+%exclude %{_tde_htmldir}/en/khelpcenter/visualdict
+%doc %lang(en) %{_tde_htmldir}/en/khelpcenter
+%doc %lang(en) %{_tde_htmldir}/en/knetattach
+%{_tde_applicationsdir}/kde/desktoppath.desktop
%files samba
%defattr(-,root,root)
-/opt/kde3/%_lib/kde3/kcm_samba.*
-/opt/kde3/%_lib/kde3/kio_smb.*
-/opt/kde3/share/services/smb.protocol
-%dir /opt/kde3/share/apps/konqueror/dirtree
-%dir /opt/kde3/share/apps/konqueror/dirtree/remote
-/opt/kde3/share/apps/konqueror/dirtree/remote/smb-network.desktop
-/opt/kde3/share/mimelnk/application/x-smb-workgroup.desktop
+%{_tde_modulesdir}/kcm_samba.*
+%{_tde_modulesdir}/kio_smb.*
+%{_tde_servicesdir}/smb.protocol
+%dir %{_tde_datadir}/konqueror/dirtree
+%dir %{_tde_datadir}/konqueror/dirtree/remote
+%{_tde_datadir}/konqueror/dirtree/remote/smb-network.desktop
+%{_tde_mimedir}/application/x-smb-workgroup.desktop
%files kdm
%defattr(-,root,root)
-%dir /opt/kde3/share/doc/kdm
-/opt/kde3/bin/genkdmconf
-/opt/kde3/bin/kdm*
-/opt/kde3/bin/krootimage
-/opt/kde3/share/apps/kdm
-/opt/kde3/%_lib/kde3/kgreet_pam.*
-%doc /opt/kde3/share/doc/kdm/README
-%if %suse_version < 1020
-%config /etc/pam.d/xdm-np
-%endif
-%dir /opt/kde3/share/config/kdm
-%config(noreplace) /opt/kde3/share/config/kdm/kdmrc
-%config(noreplace) /opt/kde3/share/config/kdm/backgroundrc
-%if %suse_version < 1010
-%config /opt/kde3/share/config/kdm/Xaccess
-%config /opt/kde3/share/config/kdm/Xreset
-%config /opt/kde3/share/config/kdm/Xresources
-%config /opt/kde3/share/config/kdm/Xsession
-%config /opt/kde3/share/config/kdm/Xsetup
-%config /opt/kde3/share/config/kdm/Xstartup
-%config /opt/kde3/share/config/kdm/Xwilling
-%endif
+%dir %{_tde_docdir}/kdm
+%{_tde_bindir}/genkdmconf
+%{_tde_bindir}/kdm*
+%{_tde_bindir}/krootimage
+%{_tde_datadir}/kdm
+%{_tde_modulesdir}/kgreet_pam.*
+%doc %{_tde_docdir}/kdm/README
+%dir %{_tde_configdir}/kdm
+%config(noreplace) %{_tde_configdir}/kdm/kdmrc
+%config(noreplace) %{_tde_configdir}/kdm/backgroundrc
%ghost /var/run/xdmctl
-/usr/sbin/rckdm
-/opt/kde3/share/applications/kde/kdm.desktop
-/opt/kde3/share/icons/*/*/*/kdmconfig.*
-/opt/kde3/%_lib/kde3/kcm_kdm.*
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/kdm
+# kdm has not been renamed.
+%{_sbindir}/rckdm
+%{_tde_applicationsdir}/kde/kdm.desktop
+%{_tde_iconsdir}/*/*/*/kdmconfig.*
+%{_tde_modulesdir}/kcm_kdm.*
+%doc %lang(en) %{_tde_htmldir}/en/kdm
%files session
%defattr(-,root,root)
-%if %suse_version > 1010
-/usr/bin/kde
-/usr/bin/startkde3
-%else
-/usr/X11R6/bin/kde
-%endif
-%if %suse_version < 1030
-%dir /usr/share/xsessions
-%endif
+/usr/bin/tde
+/usr/bin/starttde
/usr/share/xsessions/kde.desktop
%files extra
%defattr(-,root,root)
-/opt/kde3/bin/kpersonalizer
-/opt/kde3/share/applications/kde/kpersonalizer.desktop
-/opt/kde3/share/apps/kpersonalizer
-/opt/kde3/share/icons/*/*/*/kpersonalizer.*
-/opt/kde3/bin/kfontview
-/opt/kde3/share/applications/kde/kfontview.desktop
-/opt/kde3/share/apps/kfontview/kfontviewui.rc
-/opt/kde3/%_lib/kde3/khotkeys_arts.*
+%{_tde_bindir}/kpersonalizer
+%{_tde_applicationsdir}/kde/kpersonalizer.desktop
+%{_tde_datadir}/kpersonalizer
+%{_tde_iconsdir}/*/*/*/kpersonalizer.*
+%{_tde_bindir}/kfontview
+%{_tde_applicationsdir}/kde/kfontview.desktop
+%{_tde_datadir}/kfontview/kfontviewui.rc
+%{_tde_modulesdir}/khotkeys_arts.*
%files nsplugin
%defattr(-,root,root)
-/opt/kde3/bin/nsplugin*
-/opt/kde3/share/apps/plugin/nspluginpart.rc
-%dir /opt/kde3/share/applnk/Settings/WebBrowsing
-/opt/kde3/share/applnk/Settings/WebBrowsing/nsplugin.desktop
+%{_tde_bindir}/nsplugin*
+%{_tde_datadir}/plugin/nspluginpart.rc
+%dir %{_tde_appsdir}/Settings/WebBrowsing
+%{_tde_appsdir}/Settings/WebBrowsing/nsplugin.desktop
%files devel
%defattr(-,root,root)
-/opt/kde3/include/*
-/opt/kde3/%_lib/libkonq.so
-/opt/kde3/%_lib/libkdecorations.so
-/opt/kde3/%_lib/libkonqsidebarplugin.so
-/opt/kde3/%_lib/libkickermain.so
-/opt/kde3/%_lib/libtask*.so
-/opt/kde3/%_lib/libksgrd.so
-%if %suse_version > 1010
-/opt/kde3/%_lib/libkickoffsearch_interfaces.so
-/opt/kde3/%_lib/libkickoffsearch_interfaces.la
-%endif
-/opt/kde3/%_lib/libksplashthemes.so
-/opt/kde3/%_lib/libkateinterfaces.so
-/opt/kde3/%_lib/libkateutils.so
-/opt/kde3/%_lib/libkhotkeys_shared.so
-/opt/kde3/%_lib/libkateinterfaces.la
-/opt/kde3/%_lib/libkateutils.la
-/opt/kde3/%_lib/libkdecorations.la
-/opt/kde3/%_lib/libkfontinst.la
-/opt/kde3/%_lib/libkfontinst.so
-/opt/kde3/%_lib/libkhotkeys_shared.la
-/opt/kde3/%_lib/libkickermain.la
-/opt/kde3/%_lib/libkonq.la
-/opt/kde3/%_lib/libkonqsidebarplugin.la
-/opt/kde3/%_lib/libksgrd.la
-/opt/kde3/%_lib/libksplashthemes.la
-/opt/kde3/%_lib/libtaskbar.la
-/opt/kde3/%_lib/libtaskmanager.la
-/opt/kde3/%_lib/libkasbar.so
-/opt/kde3/%_lib/libkasbar.la
+%{_tde_includedir}/*
+%{_tde_libdir}/libkonq.so
+%{_tde_libdir}/libkdecorations.so
+%{_tde_libdir}/libkonqsidebarplugin.so
+%{_tde_libdir}/libkickermain.so
+%{_tde_libdir}/libtask*.so
+%{_tde_libdir}/libksgrd.so
+%{_tde_libdir}/libkickoffsearch_interfaces.so
+%{_tde_libdir}/libkickoffsearch_interfaces.la
+%{_tde_libdir}/libksplashthemes.so
+%{_tde_libdir}/libkateinterfaces.so
+%{_tde_libdir}/libkateutils.so
+%{_tde_libdir}/libkhotkeys_shared.so
+%{_tde_libdir}/libkateinterfaces.la
+%{_tde_libdir}/libkateutils.la
+%{_tde_libdir}/libkdecorations.la
+%{_tde_libdir}/libkfontinst.la
+%{_tde_libdir}/libkfontinst.so
+%{_tde_libdir}/libkhotkeys_shared.la
+%{_tde_libdir}/libkickermain.la
+%{_tde_libdir}/libkonq.la
+%{_tde_libdir}/libkonqsidebarplugin.la
+%{_tde_libdir}/libksgrd.la
+%{_tde_libdir}/libksplashthemes.la
+%{_tde_libdir}/libtaskbar.la
+%{_tde_libdir}/libtaskmanager.la
+%{_tde_libdir}/libkasbar.so
+%{_tde_libdir}/libkasbar.la
%files ksysguardd
%defattr(-,root,root)
%dir /etc/slp.reg.d
-#%if %suse_version < 1020
-/usr/bin/ksysguardd
-/opt/kde3/bin/ksysguardd
+%{_bindir}/ksysguardd
+%{_tde_bindir}/ksysguardd
%config(noreplace) /etc/ksysguarddrc
-#%endif
-#%if %suse_version > 1030
-#/usr/bin/ksysguardd
-#%config(noreplace) /etc/ksysguarddrc
-#%endif
/etc/init.d/ksysguardd
-/usr/sbin/rcksysguardd
+%{_sbindir}/rcksysguardd
%config(noreplace) /etc/slp.reg.d/*
-%if %suse_version > 1010
-%if %suse_version < 1140
-
-%files beagle
-%defattr(-,root,root)
-/opt/kde3/bin/khc_beagle_search.pl
-/opt/kde3/bin/khc_beagle_index.pl
-/opt/kde3/share/apps/khelpcenter/searchhandlers/docbook.desktop
-/opt/kde3/%_lib/kde3/kickoffsearch_beagle.*
-/opt/kde3/share/services/kickoffsearch_beagle.desktop
-%endif
-%endif
-
%files -n fileshareset
%defattr(-,root,root)
%config(noreplace) /etc/security/fileshare.conf
@@ -1577,275 +1390,270 @@ rm -rf $RPM_BUILD_ROOT
%files apps
%defattr(-,root,root)
-/opt/kde3/bin/konsole*
-/opt/kde3/%_lib/kde3/konsole.*
-/opt/kde3/%_lib/kde3/kcm_konsole.*
-/opt/kde3/%_lib/libkdeinit_konsole.so
-/opt/kde3/share/applications/kde/konsole.desktop
-/opt/kde3/share/applications/kde/konsolesu.desktop
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/konsole
-/opt/kde3/share/applications/kde/Home.desktop
-/opt/kde3/%_lib/libkdeinit_konqueror.so
-/opt/kde3/share/apps/konqueror/konq-simplebrowser.rc
-/opt/kde3/share/applications/kde/konquerorsu.desktop
-/opt/kde3/share/applnk/konqueror.desktop
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/konqueror
-/opt/kde3/share/config.kcfg/konqueror.kcfg
-/opt/kde3/bin/konqueror
-/opt/kde3/%_lib/kde3/konq*.so
-/opt/kde3/%_lib/kde3/konq*.la
-%dir /opt/kde3/share/apps/konqueror
-/opt/kde3/share/apps/konqueror/tiles
-/opt/kde3/share/apps/konqueror/about
-/opt/kde3/share/apps/konqueror/icons
-/opt/kde3/share/apps/konqueror/konqueror.rc
-/opt/kde3/share/apps/konqueror/p*
-/opt/kde3/share/apps/konqueror/servicemenus
-/opt/kde3/%_lib/kde3/konqueror.*
-/opt/kde3/share/apps/konqiconview
-/opt/kde3/share/apps/konqlistview
-/opt/kde3/share/apps/konqsidebartng
-/opt/kde3/%_lib/kde3/kded_konqy_preloader.*
-/opt/kde3/share/services/kded/konqy_preloader.desktop
-/opt/kde3/share/applications/kde/konqbrowser.desktop
-/opt/kde3/share/applications/kde/konqfilemgr.desktop
-/opt/kde3/share/config.kcfg/konq_listview.kcfg
-%config(noreplace) /opt/kde3/share/config/konqsidebartng.rc
-/opt/kde3/bin/kfind
-/opt/kde3/%_lib/kde3/libkfindpart.*
-/opt/kde3/share/applications/kde/Kfind.desktop
-/opt/kde3/share/apps/kfindpart
-/opt/kde3/share/icons/*/*/*/kfind.*
-/opt/kde3/share/services/kfindpart.desktop
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/kfind
-/opt/kde3/bin/kwrite
-/opt/kde3/%_lib/kde3/kwrite.*
-/opt/kde3/%_lib/libkdeinit_kwrite.so
-/opt/kde3/share/applications/kde/kwrite.desktop
-/opt/kde3/share/apps/kwrite
-/opt/kde3/share/icons/*/*/*/kwrite.*
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/kwrite
-/opt/kde3/bin/kate
-/opt/kde3/%_lib/kde3/kate.*
-/opt/kde3/%_lib/libkateinterfaces.so.*
-/opt/kde3/%_lib/libkateutils.so.*
-/opt/kde3/%_lib/libkdeinit_kate.so
-/opt/kde3/share/applications/kde/kate.desktop
-/opt/kde3/share/apps/kate
-/opt/kde3/share/config/katerc
-/opt/kde3/share/icons/*/*/*/kate.*
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/kate
+%{_tde_bindir}/konsole*
+%{_tde_modulesdir}/konsole.*
+%{_tde_modulesdir}/kcm_konsole.*
+%{_tde_libdir}/libkdeinit_konsole.so
+%{_tde_applicationsdir}/kde/konsole.desktop
+%{_tde_applicationsdir}/kde/konsolesu.desktop
+%doc %lang(en) %{_tde_htmldir}/en/konsole
+%{_tde_applicationsdir}/kde/Home.desktop
+%{_tde_libdir}/libkdeinit_konqueror.so
+%{_tde_datadir}/konqueror/konq-simplebrowser.rc
+%{_tde_applicationsdir}/kde/konquerorsu.desktop
+%{_tde_appsdir}/konqueror.desktop
+%doc %lang(en) %{_tde_htmldir}/en/konqueror
+%{_tde_configdir}.kcfg/konqueror.kcfg
+%{_tde_bindir}/konqueror
+%{_tde_modulesdir}/konq*.so
+%{_tde_modulesdir}/konq*.la
+%dir %{_tde_datadir}/konqueror
+%{_tde_datadir}/konqueror/tiles
+%{_tde_datadir}/konqueror/about
+%{_tde_datadir}/konqueror/icons
+%{_tde_datadir}/konqueror/konqueror.rc
+%{_tde_datadir}/konqueror/p*
+%{_tde_datadir}/konqueror/servicemenus
+%{_tde_modulesdir}/konqueror.*
+%{_tde_datadir}/konqiconview
+%{_tde_datadir}/konqlistview
+%{_tde_datadir}/konqsidebartng
+%{_tde_modulesdir}/kded_konqy_preloader.*
+%{_tde_servicesdir}/kded/konqy_preloader.desktop
+%{_tde_applicationsdir}/kde/konqbrowser.desktop
+%{_tde_applicationsdir}/kde/konqfilemgr.desktop
+%{_tde_configdir}.kcfg/konq_listview.kcfg
+%config(noreplace) %{_tde_configdir}/konqsidebartng.rc
+%{_tde_bindir}/kfind
+%{_tde_modulesdir}/libkfindpart.*
+%{_tde_applicationsdir}/kde/Kfind.desktop
+%{_tde_datadir}/kfindpart
+%{_tde_iconsdir}/*/*/*/kfind.*
+%{_tde_servicesdir}/kfindpart.desktop
+%doc %lang(en) %{_tde_htmldir}/en/kfind
+%{_tde_bindir}/kwrite
+%{_tde_modulesdir}/kwrite.*
+%{_tde_libdir}/libkdeinit_kwrite.so
+%{_tde_applicationsdir}/kde/kwrite.desktop
+%{_tde_datadir}/kwrite
+%{_tde_iconsdir}/*/*/*/kwrite.*
+%doc %lang(en) %{_tde_htmldir}/en/kwrite
+%{_tde_bindir}/kate
+%{_tde_modulesdir}/kate.*
+%{_tde_libdir}/libkateinterfaces.so.*
+%{_tde_libdir}/libkateutils.so.*
+%{_tde_libdir}/libkdeinit_kate.so
+%{_tde_applicationsdir}/kde/kate.desktop
+%{_tde_datadir}/kate
+%{_tde_configdir}/katerc
+%{_tde_iconsdir}/*/*/*/kate.*
+%doc %lang(en) %{_tde_htmldir}/en/kate
%files workspace
%defattr(-,root,root)
-%exclude /usr/share/wallpapers/default_blue.*
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/kicker
-/usr/share/wallpapers
-/opt/kde3/bin/startkde
-/opt/kde3/bin/kdesktop
-/opt/kde3/bin/kdesktop_lock
-/opt/kde3/bin/ksmserver
-/opt/kde3/%_lib/libkdeinit_ksmserver.so
-/opt/kde3/bin/ksplash
-/opt/kde3/bin/ksplashsimple
-/opt/kde3/%_lib/kde3/kdesktop.*
-/opt/kde3/share/apps/kdesktop
-/opt/kde3/share/config.kcfg/kdesktop.kcfg
-%config(noreplace) /opt/kde3/share/config/kdesktop_custom_menu*
-/opt/kde3/bin/kicker
-/opt/kde3/%_lib/kde3/kicker*
-/opt/kde3/%_lib/kde3/kcm_kicker*
-/opt/kde3/%_lib/libkickermain.so.*
-/opt/kde3/share/applications/kde/kcmkicker.desktop
-/opt/kde3/share/apps/kicker
-/opt/kde3/share/config.kcfg/kickerSettings.kcfg
-/opt/kde3/share/icons/*/*/*/kcmkicker.*
-/opt/kde3/share/icons/*/*/*/kicker.*
-/opt/kde3/%_lib/kconf_update_bin/kicker-3.4-reverseLayout
-/opt/kde3/bin/kwin
-/opt/kde3/bin/kwin_killer_helper
-/opt/kde3/bin/kwin_rules_dialog
-/opt/kde3/%_lib/kde3/kwin_*
-/opt/kde3/share/apps/kwin
-/opt/kde3/%_lib/kde3/kwin.*
-/opt/kde3/%_lib/kde3/kwin3_*
-/opt/kde3/%_lib/kconf_update_bin/kwin_update_default_rules
-/opt/kde3/%_lib/kconf_update_bin/kwin_update_window_settings
-/opt/kde3/share/applications/kde/kwinrules.desktop
-/opt/kde3/share/applications/kde/kwindecoration.desktop
-/opt/kde3/share/applications/kde/kwinoptions.desktop
-/opt/kde3/share/config.kcfg/kwin.kcfg
-/opt/kde3/share/icons/*/*/*/kwin.*
+%exclude %{_datadir}/default_blue.*
+%doc %lang(en) %{_tde_htmldir}/en/kicker
+%{_datadir}/wallpapers
+%{_tde_bindir}/startkde
+%{_tde_bindir}/kdesktop
+%{_tde_bindir}/kdesktop_lock
+%{_tde_bindir}/ksmserver
+%{_tde_libdir}/libkdeinit_ksmserver.so
+%{_tde_bindir}/ksplash
+%{_tde_bindir}/ksplashsimple
+%{_tde_modulesdir}/kdesktop.*
+%{_tde_datadir}/kdesktop
+%{_tde_configdir}.kcfg/kdesktop.kcfg
+%config(noreplace) %{_tde_configdir}/kdesktop_custom_menu*
+%{_tde_bindir}/kicker
+%{_tde_modulesdir}/kicker*
+%{_tde_modulesdir}/kcm_kicker*
+%{_tde_libdir}/libkickermain.so.*
+%{_tde_applicationsdir}/kde/kcmkicker.desktop
+%{_tde_datadir}/kicker
+%{_tde_configdir}.kcfg/kickerSettings.kcfg
+%{_tde_iconsdir}/*/*/*/kcmkicker.*
+%{_tde_iconsdir}/*/*/*/kicker.*
+%{_tde_libdir}/kconf_update_bin/kicker-3.4-reverseLayout
+%{_tde_bindir}/kwin
+%{_tde_bindir}/kwin_killer_helper
+%{_tde_bindir}/kwin_rules_dialog
+%{_tde_modulesdir}/kwin_*
+%{_tde_datadir}/kwin
+%{_tde_modulesdir}/kwin.*
+%{_tde_modulesdir}/kwin3_*
+%{_tde_libdir}/kconf_update_bin/kwin_update_default_rules
+%{_tde_libdir}/kconf_update_bin/kwin_update_window_settings
+%{_tde_applicationsdir}/kde/kwinrules.desktop
+%{_tde_applicationsdir}/kde/kwindecoration.desktop
+%{_tde_applicationsdir}/kde/kwinoptions.desktop
+%{_tde_configdir}.kcfg/kwin.kcfg
+%{_tde_iconsdir}/*/*/*/kwin.*
/var/adm/fillup-templates/sysconfig.windowmanager-kdebase3
-/opt/kde3/share/apps/ksplash
-/opt/kde3/share/services/ksplash.desktop
-/opt/kde3/share/services/ksplashdefault.desktop
-/opt/kde3/share/services/ksplashredmond.desktop
-/opt/kde3/share/services/ksplashstandard.desktop
-/opt/kde3/share/servicetypes/ksplashplugins.desktop
-/opt/kde3/share/icons/*/*/*/ksplash.*
-/opt/kde3/%_lib/kde3/ksplash*
-/opt/kde3/%_lib/libksplashthemes.so.*
-/opt/kde3/share/icons/*/*/apps/kcmsmserver.*
-/opt/kde3/share/applications/kde/kcmsmserver.desktop
-/opt/kde3/%_lib/kde3/ksmserver.*
-/opt/kde3/share/apps/ksmserver
-/opt/kde3/%_lib/kde3/clock_panelapplet.*
-/opt/kde3/%_lib/kde3/dockbar_panelextension.*
-/opt/kde3/%_lib/kde3/kasbar_panelextension.*
-/opt/kde3/%_lib/kde3/menu_panelapplet.*
-/opt/kde3/%_lib/kde3/klipper_panelapplet.*
-/opt/kde3/%_lib/kde3/launcher_panelapplet.*
-/opt/kde3/%_lib/kde3/lockout_panelapplet.*
-/opt/kde3/%_lib/kde3/minipager_panelapplet.*
-/opt/kde3/%_lib/kde3/naughty_panelapplet.*
-/opt/kde3/%_lib/kde3/run_panelapplet.*
-/opt/kde3/%_lib/kde3/sidebar_panelextension.*
-/opt/kde3/share/applications/kde/panel.desktop
-/opt/kde3/share/applications/kde/panel_appearance.desktop
-/opt/kde3/%_lib/kde3/media_panelapplet.*
-/opt/kde3/%_lib/kde3/kcm_taskbar.*
-/opt/kde3/share/applications/kde/kcmtaskbar.desktop
-/opt/kde3/share/config.kcfg/taskbar.kcfg
-/opt/kde3/share/icons/*/*/apps/kcmtaskbar.*
-/opt/kde3/%_lib/kde3/kcm_screensaver.*
-/opt/kde3/share/applications/kde/screensaver.desktop
-/opt/kde3/share/applnk/System/ScreenSavers/KBlankscreen.desktop
-/opt/kde3/share/applnk/System/ScreenSavers/KRandom.desktop
-/opt/kde3/bin/kwebdesktop
-/opt/kde3/share/config.kcfg/kwebdesktop.kcfg
-/opt/kde3/share/applications/kde/background.desktop
-/opt/kde3/%_lib/kde3/kcm_background*
-/opt/kde3/bin/default_desktop_aligning
-/opt/kde3/share/applications/kde/desktop.desktop
-/opt/kde3/share/applications/kde/desktopbehavior.desktop
-/opt/kde3/share/applications/kde/ksplashthememgr.desktop
-/opt/kde3/share/icons/*/*/apps/kcmdesktop.*
-/opt/kde3/share/icons/*/*/apps/kcmdesktopbehavior.*
-/opt/kde3/%_lib/kde3/kcm_ksplashthemes.*
-/opt/kde3/%_lib/kde3/kcm_kwindecoration.*
-/opt/kde3/%_lib/kde3/kcm_kwinoptions.*
-/opt/kde3/%_lib/kde3/kcm_kwinrules.*
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/ksplashml
-/opt/kde3/shutdown
-%if %suse_version > 1010
-/opt/kde3/%_lib/libkickoffsearch_interfaces.so.*
-/opt/kde3/share/servicetypes/kickoffsearchplugin.desktop
-%endif
-/opt/kde3/share/autostart/*
-/opt/kde3/share/apps/naughtyapplet
-/opt/kde3/%_lib/libtask*.so.*
-/opt/kde3/bin/extensionproxy
-/opt/kde3/bin/appletproxy
-/opt/kde3/%_lib/kde3/appletproxy.*
-/opt/kde3/%_lib/kde3/extensionproxy.*
-/opt/kde3/%_lib/kde3/taskbar*
-/opt/kde3/%_lib/kde3/trash_panelapplet*
-/opt/kde3/%_lib/kde3/sys*
-/opt/kde3/share/apps/clockapplet
-/opt/kde3/bin/kasbar
-/opt/kde3/%_lib/libkasbar.so.*
-/opt/kde3/%_lib/libkdeinit_kicker.so
-/opt/kde3/%_lib/libkdeinit_appletproxy.so
-/opt/kde3/%_lib/libkdeinit_extensionproxy.so
-/opt/kde3/%_lib/libkdeinit_kdesktop.so
-/opt/kde3/%_lib/libkdeinit_kwin.so
-/opt/kde3/%_lib/libkdeinit_kwin_rules_dialog.so
-/opt/kde3/bin/ktip
-/opt/kde3/share/appl*/*/ktip.desktop
-/opt/kde3/share/icons/*/*/*/ktip.*
-/opt/kde3/bin/kpager
-/opt/kde3/share/appl*/*/kpager.desktop
-/opt/kde3/share/icons/*/*/*/kpager.*
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/kpager
-/opt/kde3/bin/klipper
-/opt/kde3/%_lib/kde3/klipper.*
-/opt/kde3/%_lib/libkdeinit_klipper.so
-/opt/kde3/share/applications/kde/klipper.desktop
-%config(noreplace) /opt/kde3/share/config/klipperrc
-/opt/kde3/share/icons/*/*/*/klipper.*
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/klipper
-/opt/kde3/share/applications/kde/kmenuedit.desktop
-/opt/kde3/share/apps/kmenuedit
-/opt/kde3/share/icons/*/*/*/kmenuedit.*
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/kmenuedit
-/opt/kde3/bin/kmenuedit
-/opt/kde3/%_lib/kde3/kmenuedit.*
-/opt/kde3/%_lib/libkdeinit_kmenuedit.so
-/opt/kde3/bin/kinfocenter
-/opt/kde3/share/applications/kde/kinfocenter.desktop
-/opt/kde3/share/apps/kinfocenter
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/kinfocenter
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/khelpcenter/userguide
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/khelpcenter/visualdict
-/opt/kde3/share/sounds/KDE_Close_Window*
-/opt/kde3/share/sounds/KDE_Dialog*
-/opt/kde3/share/sounds/KDE_Desktop*
-/opt/kde3/share/sounds/KDE_Logout*
-/opt/kde3/share/sounds/KDE_Startup*
-/opt/kde3/share/sounds/KDE_Window*
-/opt/kde3/%_lib/libkdeinit_khotkeys.so
-/opt/kde3/%_lib/kde3/kcm_khotkeys.*
-/opt/kde3/%_lib/kde3/kcm_khotkeys_init.*
-/opt/kde3/share/icons/*/*/*/khotkeys.*
-/opt/kde3/bin/khotkeys
-/opt/kde3/%_lib/kconf_update_bin/khotkeys_update
-/opt/kde3/%_lib/kde3/khotkeys.*
-/opt/kde3/%_lib/kde3/kded_khotkeys.*
-/opt/kde3/%_lib/libkhotkeys_shared.so.*
-/opt/kde3/share/applications/kde/khotkeys.desktop
-/opt/kde3/share/apps/khotkeys
-/opt/kde3/share/services/kded/khotkeys.desktop
-/opt/kde3/bin/ksysguard
-/opt/kde3/share/applications/kde/ksysguard.desktop
-/opt/kde3/share/apps/ksysguard
-/opt/kde3/share/icons/*/*/*/ksysguard.*
-/opt/kde3/share/mimelnk/application/x-ksysguard.desktop
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/ksysguard
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/kxkb
-/opt/kde3/%_lib/libksgrd.so.*
-/opt/kde3/bin/kompmgr
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/kompmgr
-%if 0%{?with_hal} == 0
-/opt/kde3/bin/devmon-automounter.sh
-%endif
+%{_tde_datadir}/ksplash
+%{_tde_servicesdir}/ksplash.desktop
+%{_tde_servicesdir}/ksplashdefault.desktop
+%{_tde_servicesdir}/ksplashredmond.desktop
+%{_tde_servicesdir}/ksplashstandard.desktop
+%{_tde_servicetypesdir}/ksplashplugins.desktop
+%{_tde_iconsdir}/*/*/*/ksplash.*
+%{_tde_modulesdir}/ksplash*
+%{_tde_libdir}/libksplashthemes.so.*
+%{_tde_iconsdir}/*/*/apps/kcmsmserver.*
+%{_tde_applicationsdir}/kde/kcmsmserver.desktop
+%{_tde_modulesdir}/ksmserver.*
+%{_tde_datadir}/ksmserver
+%{_tde_modulesdir}/clock_panelapplet.*
+%{_tde_modulesdir}/dockbar_panelextension.*
+%{_tde_modulesdir}/kasbar_panelextension.*
+%{_tde_modulesdir}/menu_panelapplet.*
+%{_tde_modulesdir}/klipper_panelapplet.*
+%{_tde_modulesdir}/launcher_panelapplet.*
+%{_tde_modulesdir}/lockout_panelapplet.*
+%{_tde_modulesdir}/minipager_panelapplet.*
+%{_tde_modulesdir}/naughty_panelapplet.*
+%{_tde_modulesdir}/run_panelapplet.*
+%{_tde_modulesdir}/sidebar_panelextension.*
+%{_tde_applicationsdir}/kde/panel.desktop
+%{_tde_applicationsdir}/kde/panel_appearance.desktop
+%{_tde_modulesdir}/media_panelapplet.*
+%{_tde_modulesdir}/kcm_taskbar.*
+%{_tde_applicationsdir}/kde/kcmtaskbar.desktop
+%{_tde_configdir}.kcfg/taskbar.kcfg
+%{_tde_iconsdir}/*/*/apps/kcmtaskbar.*
+%{_tde_modulesdir}/kcm_screensaver.*
+%{_tde_applicationsdir}/kde/screensaver.desktop
+%{_tde_appsdir}/System/ScreenSavers/KBlankscreen.desktop
+%{_tde_appsdir}/System/ScreenSavers/KRandom.desktop
+%{_tde_bindir}/kwebdesktop
+%{_tde_configdir}.kcfg/kwebdesktop.kcfg
+%{_tde_applicationsdir}/kde/background.desktop
+%{_tde_modulesdir}/kcm_background*
+%{_tde_bindir}/default_desktop_aligning
+%{_tde_applicationsdir}/kde/desktop.desktop
+%{_tde_applicationsdir}/kde/desktopbehavior.desktop
+%{_tde_applicationsdir}/kde/ksplashthememgr.desktop
+%{_tde_iconsdir}/*/*/apps/kcmdesktop.*
+%{_tde_iconsdir}/*/*/apps/kcmdesktopbehavior.*
+%{_tde_modulesdir}/kcm_ksplashthemes.*
+%{_tde_modulesdir}/kcm_kwindecoration.*
+%{_tde_modulesdir}/kcm_kwinoptions.*
+%{_tde_modulesdir}/kcm_kwinrules.*
+%doc %lang(en) %{_tde_htmldir}/en/ksplashml
+%{_tde_prefix}/shutdown
+%{_tde_libdir}/libkickoffsearch_interfaces.so.*
+%{_tde_servicetypesdir}/kickoffsearchplugin.desktop
+%{_tde_sharedir}/autostart/*
+%{_tde_datadir}/naughtyapplet
+%{_tde_libdir}/libtask*.so.*
+%{_tde_bindir}/extensionproxy
+%{_tde_bindir}/appletproxy
+%{_tde_modulesdir}/appletproxy.*
+%{_tde_modulesdir}/extensionproxy.*
+%{_tde_modulesdir}/taskbar*
+%{_tde_modulesdir}/trash_panelapplet*
+%{_tde_modulesdir}/sys*
+%{_tde_datadir}/clockapplet
+%{_tde_bindir}/kasbar
+%{_tde_libdir}/libkasbar.so.*
+%{_tde_libdir}/libkdeinit_kicker.so
+%{_tde_libdir}/libkdeinit_appletproxy.so
+%{_tde_libdir}/libkdeinit_extensionproxy.so
+%{_tde_libdir}/libkdeinit_kdesktop.so
+%{_tde_libdir}/libkdeinit_kwin.so
+%{_tde_libdir}/libkdeinit_kwin_rules_dialog.so
+%{_tde_bindir}/ktip
+%{_tde_sharedir}/appl*/*/ktip.desktop
+%{_tde_iconsdir}/*/*/*/ktip.*
+%{_tde_bindir}/kpager
+%{_tde_sharedir}/appl*/*/kpager.desktop
+%{_tde_iconsdir}/*/*/*/kpager.*
+%doc %lang(en) %{_tde_htmldir}/en/kpager
+%{_tde_bindir}/klipper
+%{_tde_modulesdir}/klipper.*
+%{_tde_libdir}/libkdeinit_klipper.so
+%{_tde_applicationsdir}/kde/klipper.desktop
+%config(noreplace) %{_tde_configdir}/klipperrc
+%{_tde_iconsdir}/*/*/*/klipper.*
+%doc %lang(en) %{_tde_htmldir}/en/klipper
+%{_tde_applicationsdir}/kde/kmenuedit.desktop
+%{_tde_datadir}/kmenuedit
+%{_tde_iconsdir}/*/*/*/kmenuedit.*
+%doc %lang(en) %{_tde_htmldir}/en/kmenuedit
+%{_tde_bindir}/kmenuedit
+%{_tde_modulesdir}/kmenuedit.*
+%{_tde_libdir}/libkdeinit_kmenuedit.so
+%{_tde_bindir}/kinfocenter
+%{_tde_applicationsdir}/kde/kinfocenter.desktop
+%{_tde_datadir}/kinfocenter
+%doc %lang(en) %{_tde_htmldir}/en/kinfocenter
+%doc %lang(en) %{_tde_htmldir}/en/khelpcenter/userguide
+%doc %lang(en) %{_tde_htmldir}/en/khelpcenter/visualdict
+%{_tde_sounddir}/KDE_Close_Window*
+%{_tde_sounddir}/KDE_Dialog*
+%{_tde_sounddir}/KDE_Desktop*
+%{_tde_sounddir}/KDE_Logout*
+%{_tde_sounddir}/KDE_Startup*
+%{_tde_sounddir}/KDE_Window*
+%{_tde_libdir}/libkdeinit_khotkeys.so
+%{_tde_modulesdir}/kcm_khotkeys.*
+%{_tde_modulesdir}/kcm_khotkeys_init.*
+%{_tde_iconsdir}/*/*/*/khotkeys.*
+%{_tde_bindir}/khotkeys
+%{_tde_libdir}/kconf_update_bin/khotkeys_update
+%{_tde_modulesdir}/khotkeys.*
+%{_tde_modulesdir}/kded_khotkeys.*
+%{_tde_libdir}/libkhotkeys_shared.so.*
+%{_tde_applicationsdir}/kde/khotkeys.desktop
+%{_tde_datadir}/khotkeys
+%{_tde_servicesdir}/kded/khotkeys.desktop
+%{_tde_bindir}/ksysguard
+%{_tde_applicationsdir}/kde/ksysguard.desktop
+%{_tde_datadir}/ksysguard
+%{_tde_iconsdir}/*/*/*/ksysguard.*
+%{_tde_mimedir}/application/x-ksysguard.desktop
+%doc %lang(en) %{_tde_htmldir}/en/ksysguard
+%doc %lang(en) %{_tde_htmldir}/en/kxkb
+%{_tde_libdir}/libksgrd.so.*
+%{_tde_bindir}/kompmgr
+%doc %lang(en) %{_tde_htmldir}/en/kompmgr
%files runtime
%defattr(-,root,root)
-%doc %lang(en) /opt/kde3/share/doc/HTML/en/kioslave
-%exclude /opt/kde3/%_lib/kde3/kio_smb.*
-%exclude /opt/kde3/share/services/smb.protocol
-/opt/kde3/bin/kde3
-/opt/kde3/bin/kreadconfig
-/opt/kde3/bin/kwriteconfig
-/opt/kde3/bin/kprinter
-/opt/kde3/%_lib/libkdeinit_kprinter.so
-/opt/kde3/bin/kdesu
-/opt/kde3/%_lib/kde3/kio_*
-/opt/kde3/%_lib/libkfontinst.so.*
-/opt/kde3/share/services/*.protocol
-/opt/kde3/%_lib/libkonq.so.*
-/opt/kde3/%_lib/libkonqsidebarplugin.so.*
-/opt/kde3/%_lib/kde3/kded_favicons.*
-/opt/kde3/share/services/kded/favicons.desktop
-/opt/kde3/%_lib/libkdecorations.so.*
-/opt/kde3/%_lib/kde3/kgreet_winbind.*
-/opt/kde3/%_lib/kde3/kgreet_classic.*
+%doc %lang(en) %{_tde_htmldir}/en/kioslave
+%exclude %{_tde_modulesdir}/kio_smb.*
+%exclude %{_tde_servicesdir}/smb.protocol
+%{_tde_bindir}/kde3
+%{_tde_bindir}/kreadconfig
+%{_tde_bindir}/kwriteconfig
+%{_tde_bindir}/kprinter
+%{_tde_libdir}/libkdeinit_kprinter.so
+%{_tde_bindir}/kdesu
+%{_tde_modulesdir}/kio_*
+%{_tde_libdir}/libkfontinst.so.*
+%{_tde_servicesdir}/*.protocol
+%{_tde_libdir}/libkonq.so.*
+%{_tde_libdir}/libkonqsidebarplugin.so.*
+%{_tde_modulesdir}/kded_favicons.*
+%{_tde_servicesdir}/kded/favicons.desktop
+%{_tde_libdir}/libkdecorations.so.*
+%{_tde_modulesdir}/kgreet_winbind.*
+%{_tde_modulesdir}/kgreet_classic.*
%config /etc/pam.d/kcheckpass
-%verify(not mode) %attr(4755,root,shadow) /opt/kde3/bin/kcheckpass
-/opt/kde3/share/icons/*/*/*/knotify.*
-/opt/kde3/share/icons/*/*/*/kscreensaver.*
-/opt/kde3/share/icons/*/*/*/style.*
-/opt/kde3/share/icons/*/*/*/looknfeel.*
-/opt/kde3/share/icons/*/*/*/iconthemes.*
-/opt/kde3/share/icons/*/*/*/keyboard.*
-/opt/kde3/share/icons/*/*/*/kcmsound.*
-/opt/kde3/share/icons/*/*/*/energy.*
-/opt/kde3/share/icons/*/*/*/kcmkwm.*
-/opt/kde3/share/icons/*/*/*/hwinfo.*
-/opt/kde3/share/icons/*/*/*/date.*
-/opt/kde3/share/icons/*/*/*/filetypes.*
-/opt/kde3/share/icons/*/*/*/kcmsystem.*
-/opt/kde3/share/icons/*/*/*/personal.*
+%verify(not mode) %attr(4755,root,shadow) %{_tde_bindir}/kcheckpass
+%{_tde_iconsdir}/*/*/*/knotify.*
+%{_tde_iconsdir}/*/*/*/kscreensaver.*
+%{_tde_iconsdir}/*/*/*/style.*
+%{_tde_iconsdir}/*/*/*/looknfeel.*
+%{_tde_iconsdir}/*/*/*/iconthemes.*
+%{_tde_iconsdir}/*/*/*/keyboard.*
+%{_tde_iconsdir}/*/*/*/kcmsound.*
+%{_tde_iconsdir}/*/*/*/energy.*
+%{_tde_iconsdir}/*/*/*/kcmkwm.*
+%{_tde_iconsdir}/*/*/*/hwinfo.*
+%{_tde_iconsdir}/*/*/*/date.*
+%{_tde_iconsdir}/*/*/*/filetypes.*
+%{_tde_iconsdir}/*/*/*/kcmsystem.*
+%{_tde_iconsdir}/*/*/*/personal.*
%changelog