Timothy Pearson 13 years ago
commit 46b27ed1c0

@ -106,10 +106,10 @@ CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -DNDEBUG" CFLAGS="$CXXFLAGS" %cmake_tde -d=bu
# broken automake ? # broken automake ?
#make %{?jobs:-j%jobs} #make %{?jobs:-j%jobs}
%make_jobs %make_tde -d=build
%install %install
%tde_makeinstall %makeinstall_tde -d=build
%ifarch x86_64 %ifarch x86_64
mkdir -p $RPM_BUILD_ROOT/%{_tde_libdir} mkdir -p $RPM_BUILD_ROOT/%{_tde_libdir}
ln -sf ../lib64/mcop $RPM_BUILD_ROOT/%{_tde_libdir}/mcop ln -sf ../lib64/mcop $RPM_BUILD_ROOT/%{_tde_libdir}/mcop

@ -104,7 +104,11 @@ Authors:
   
   
%prep %prep
%setup -q %if %{with_qt3}
%setup -qn tqtinterface-qt3-%{version}
%else
%setup -qn tqtinterface-qt4-%{version}
%endif
%build %build
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ;

@ -1,6 +1,7 @@
# #
# Disclaimer: this was taken from macros.kde4. Some items # Disclaimer: this was taken from macros.kde4. Some items
# are not applicable to Trinity, but are still here. # are not applicable to Trinity, but are still here.
# NEW: this obsoletes common_options from kdelibs3
%_tde_prefix /opt/tde %_tde_prefix /opt/tde
%_tde_bindir %{_tde_prefix}/bin %_tde_bindir %{_tde_prefix}/bin
@ -10,18 +11,25 @@
%_tde_sysconfdir %{_sysconfdir} %_tde_sysconfdir %{_sysconfdir}
%_tde_iconsdir %{_tde_prefix}/share/icons %_tde_iconsdir %{_tde_prefix}/share/icons
%_tde_sbindir %{_tde_prefix}/sbin %_tde_sbindir %{_tde_prefix}/sbin
%_tde_applicationsdir %{_tde_prefix}/share/applications/tde %_tde_sharedir %{_tde_prefix}/share
%_tde_mandir %{_tde_prefix}/share/man %_tde_datadir %{_tde_sharedir}/apps
%_tde_sharedir %{_tde_prefix}/share/tde %_tde_appdir %{_tde_datadir}
%_tde_appsdir %{_tde_sharedir}/apps %_tde_applicationsdir %{_tde_sharedir}/applications
%_tde_appsdir %{_tde_sharedir}/applnk
%_tde_configdir %{_tde_sharedir}/config %_tde_configdir %{_tde_sharedir}/config
%_tde_configkcfgdir %{_tde_sharedir}/config.kcfg %_tde_configkcfgdir %{_tde_sharedir}/config.kcfg
%_tde_servicesdir %{_tde_sharedir}/services %_tde_servicesdir %{_tde_sharedir}/services
%_tde_servicetypesdir %{_tde_sharedir}/servicetypes %_tde_servicetypesdir %{_tde_sharedir}/servicetypes
%_tde_includedir %{_tde_prefix}/include %_tde_includedir %{_tde_prefix}/include
%_tde_docdir %{_tde_prefix}/share/doc/kde %_tde_docdir %{_tde_sharedir}/doc/
%_tde_htmldir %{_tde_prefix}/share/doc/kde/HTML %_tde_htmldir %{_tde_sharedir}/doc/HTML
%_tde_wallpapersdir %{_tde_prefix}/share/wallpapers %_tde_wallpapersdir %{_tde_sharedir}/wallpapers
%_tde_icondir %{_tde_sharedir}/icons
%_tde_sounddir %{_tde_sharedir}/sounds
%_tde_locale %{_tde_sharedir}/locale
%_tde_mimedir %{_tde_sharedir}/mimelnk
%_tde_styledir %{_tde_libdir}/tde/plugins/styles
%_tde_widgetdir %{_tde_libdir}/tde/plugins/designer
# these are for backwards compatibility # these are for backwards compatibility
%_kde3_prefix %{_tde_prefix} %_kde3_prefix %{_tde_prefix}
@ -38,8 +46,6 @@
%_tde_build_type release %_tde_build_type release
%tde_makeinstall make DESTDIR=%{?buildroot:%{buildroot}} install
%cmake_tde(d:) \ %cmake_tde(d:) \
export CFLAGS=$RPM_OPT_FLAGS \ export CFLAGS=$RPM_OPT_FLAGS \
export CXXFLAGS=$RPM_OPT_FLAGS \ export CXXFLAGS=$RPM_OPT_FLAGS \
@ -64,26 +70,81 @@
      -DQT_INCLUDE_DIRS=/usr/lib/qt3/include \\\       -DQT_INCLUDE_DIRS=/usr/lib/qt3/include \\\
-DPKGCONFIG_INSTALL_DIR=%{_libdir}/pkgconfig \\\ -DPKGCONFIG_INSTALL_DIR=%{_libdir}/pkgconfig \\\
-DMAN_INSTALL_DIR=%{_mandir} \\\ -DMAN_INSTALL_DIR=%{_mandir} \\\
-DINFO_INSTALL_DIR=%{_infodir} \\\
$bdir %* \ $bdir %* \
if [ "$bdir" == ".." ]; then \
cd .. \
fi \
%{nil}
%make_tde(d:) \
bdir=. \
%{-d:dir=%{-d*} \
cd $dir \
bdir=.. } \
make %{?_smp_mflags} VERBOSE=1 \
if [ "$bdir" == ".." ]; then \
cd .. \
fi \
%{nil}
%makeinstall_tde(d:) \
bdir=. \
%{-d:dir=%{-d*} \
cd $dir \
bdir=.. } \
make DESTDIR=%{?buildroot:%{buildroot}} install VERBOSE=1 \
if [ "$bdir" == ".." ]; then \
cd .. \
fi \
%{nil} %{nil}
%tde_post_install \ %tde_post_install \
if test -e /usr/lib/rpm/suse_update_desktop_file.sh; then \ # remove not needed development files
find $RPM_BUILD_ROOT/opt/tde/share \\\ rm -f $RPM_BUILD_ROOT/%{_tde_libdir}/libkdeinit_*.la \
-name '*.desktop' -o -name '*.directory' 2> /dev/null | while read file; do \ # not worth the hassle
test -r "$file" || continue \ rm -rf $RPM_BUILD_ROOT/%{_tde_icondir}/locolor \
grep -q "^X-SuSE-translate=" "$file" && continue \ # move icons in one theme - prefering hicolor
case "$file" in \ d="$RPM_BUILD_ROOT/%{_tde_icondir}/crystalsvg" \
*/.hidden/*) \ if [ -d "$d" -a ! -e "$d/index.theme" ]; then \
%suse_update_desktop_file -n "$file" \ find "$d" -type f | while read src; do \
;; \ dest="${src/\/crystalsvg\///hicolor/}" \
*) \ dir="${dest%/*}" \
%suse_update_desktop_file "$file" \ mkdir -p "$dir" \
;; \ mv "$src" "$dest" \
esac \ done \
done \ fi \
# we do this 3 times as there is a 3 fold hierarchy
if [ -d $RPM_BUILD_ROOT/%{_tde_icondir} ]; then \
for i in `seq 1 3`; do \
find $RPM_BUILD_ROOT/%{_tde_icondir} -type d -exec rmdir -v --ignore-fail-on-non-empty -- {} \; || true \
done \
fi \
if [ -d $RPM_BUILD_ROOT/%{_tde_locale}/sr@Latn ]; then \
mv $RPM_BUILD_ROOT/%{_tde_locale}/sr@Latn $RPM_BUILD_ROOT/%{_tde_locale}/sr@latin \
fi \ fi \
if test -e /usr/lib/rpm/suse_update_desktop_file.sh; then \
distribution='' \
if test -f $HOME/.rpmmacros && test -d /usr/src/packages/SRPMS; then \
distribution=`grep ^%distribution $HOME/.rpmmacros | cut '-d ' -f2` \
fi \
find $RPM_BUILD_ROOT/opt/kde3/share \\\
-name '*.desktop' 2> /dev/null | while read file; do \
test -r "$file" || continue \
grep -q "^X-SuSE-translate=" "$file" && continue \
case "$file" in \
*/.hidden/*) \
/usr/lib/rpm/suse_update_desktop_file.sh -n "$file" \
;; \
*) \
if test -n "$distribution"; then \
/usr/lib/rpm/suse_update_desktop_file.sh --project "$distribution" --basedir /usr/src/packages/SRPMS "$file" \
else \
/usr/lib/rpm/suse_update_desktop_file.sh "$file" \
fi \
;; \
esac \
done \
fi \
%{nil} %{nil}
%make_jobs \
%{__make} %{?_smp_mflags} VERBOSE=1

@ -8,10 +8,10 @@ Index: kdecore/kconfigbackend.cpp
#else #else
- QString etc_kderc = QString::fromLatin1("/etc/kderc"); - QString etc_kderc = QString::fromLatin1("/etc/kderc");
+ QString etc_kderc; + QString etc_kderc;
+ if (checkAccess(QString::fromLatin1("/etc/kde3rc"), R_OK)) + if (checkAccess(QString::fromLatin1("/etc/tderc"), R_OK))
+ etc_kderc = QString::fromLatin1("/etc/kde3rc"); + etc_kderc = QString::fromLatin1("/etc/tderc");
+ else + else
+ etc_kderc = QString::fromLatin1("/etc/kderc"); + etc_kderc = QString::fromLatin1("/etc/kde3rc");
#endif #endif
if (checkAccess(etc_kderc, R_OK)) if (checkAccess(etc_kderc, R_OK))

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Aug 13 21:19:53 UTC 2011 - rxu@lincomlinux.org
- initial conversion to Trinity
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jun 17 09:55:54 UTC 2011 - aj@suse.de Fri Jun 17 09:55:54 UTC 2011 - aj@suse.de

@ -1,7 +1,7 @@
# #
# spec file for package kdelibs3 # spec file for package tdelibs
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 the Trinity Project (opensuse).
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -11,59 +11,39 @@
# case the license is the MIT License). An "Open Source License" is a # case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.trinitydesktop.org/
# #
# norootforbuild # norootforbuild
Name: kdelibs3 Name: tdelibs
BuildRequires: OpenEXR-devel arts-devel aspell-devel cups-devel fam-devel flac-devel krb5-devel BuildRequires: OpenEXR-devel arts-devel aspell-devel cups-devel fam-devel flac-devel krb5-devel
BuildRequires: libart_lgpl-devel libidn-devel libsndfile libtiff-devel BuildRequires: libart_lgpl-devel libidn-devel libsndfile libtiff-devel
BuildRequires: libxslt-devel openldap2-devel pcre-devel qt3-devel sgml-skel BuildRequires: libxslt-devel openldap2-devel pcre-devel libtqt4-devel sgml-skel
BuildRequires: db-devel libacl-devel libattr-devel unsermake update-desktop-files utempter BuildRequires: db-devel libacl-devel libattr-devel unsermake update-desktop-files utempter
BuildRequires: unzip BuildRequires: unzip
%if %suse_version > 1020
BuildRequires: avahi-compat-mDNSResponder-devel fdupes libbz2-devel libjasper-devel BuildRequires: avahi-compat-mDNSResponder-devel fdupes libbz2-devel libjasper-devel
%else BuildRequires: libdrm-devel tde-filesystem
BuildRequires: libjasper mDNSResponder-devel URL: http://www.trinitydesktop.org
%endif
%if %suse_version > 1000
BuildRequires: libdrm-devel
%endif
Url: http://www.kde.org
License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+ License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+
Group: System/GUI/KDE Group: System/GUI/TDE
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: KDE Base Libraries Summary: Trinity Base Libraries
Version: 3.5.10 Version: 3.5.12.99
Release: 47 Release: 1
Obsoletes: kde3-i18n kups keramik kdelibs3-cups kdelibs3-33addons kdepim3-networkstatus Provides: kups keramik tdelibs-cups tdelibs-33addons tdepim-networkstatus
Provides: kups keramik kdelibs3-cups kdelibs3-33addons kdepim3-networkstatus
Provides: kdelibs3_base = 3.3 Provides: kdelibs3_base = 3.3
# bug437293 Requires: libtqt4 >= %( echo `rpm -q --queryformat '%{VERSION}' libtqt4`)
%ifarch ppc64 Requires: openssl tdelibs-default-style
Obsoletes: kdelibs3-64bit
%endif
#
Requires: qt3 >= %( echo `rpm -q --queryformat '%{VERSION}' qt3`)
Requires: openssl kdelibs3-default-style
%if %suse_version > 1020
Requires: hicolor-icon-theme Requires: hicolor-icon-theme
%endif
%if %suse_version > 1000
Recommends: ispell enscript Recommends: ispell enscript
%endif
%if %suse_version > 1010
Requires: sudo Requires: sudo
%endif
Source0: kdelibs-%{version}.tar.bz2 Source0: kdelibs-%{version}.tar.bz2
Source2: do_make
Source3: baselibs.conf Source3: baselibs.conf
Source4: api_docu_description Source4: api_docu_description
Source6: kde3rc Source6: tderc
Source7: common_options
# svn export svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin # svn export svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin
Source8: admin.tar.bz2 Source8: admin.tar.bz2
Source9: cr16-filesys-file_broken.png Source9: cr16-filesys-file_broken.png
@ -168,26 +148,19 @@ Patch211: oom_score_adj.patch
Patch212: kcontrol_crash_patch.diff Patch212: kcontrol_crash_patch.diff
%description %description
This package contains kdelibs, one of the basic packages of the K This package contains tdelibs, one of the basic packages of the Trinity
Desktop Environment. It contains the necessary libraries for the KDE Desktop Environment. It contains the necessary libraries for the Trinity
desktop. desktop.
This package is absolutely necessary for using KDE. This package is absolutely necessary for using TDE.
%package arts %package arts
License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+ License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+
Summary: KDE aRts support Summary: TDE aRts support
Group: System/GUI/KDE Group: System/GUI/TDE
Provides: kdelibs3:/opt/kde3/bin/artsmessage Provides: tdelibs:/opt/tde/bin/artsmessage
# bug437293
%ifarch ppc64
Obsoletes: kdelibs3-arts-64bit
%endif
#
Requires: arts >= %( echo `rpm -q --queryformat '%{VERSION}' arts`) Requires: arts >= %( echo `rpm -q --queryformat '%{VERSION}' arts`)
%if %suse_version > 1000 Recommends: tdemultimedia-arts
Recommends: kdemultimedia3-arts
%endif
%description arts %description arts
This package contains bindings and gui elements for using aRts sound This package contains bindings and gui elements for using aRts sound
@ -195,49 +168,41 @@ daemon.
%package default-style %package default-style
License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+ License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+
Summary: The default KDE style Summary: The default TDE style
Group: System/GUI/KDE Group: System/GUI/TDE
Provides: kdelibs3:/opt/kde3/%_lib/libkdefx.so.4 Provides: tdelibs:/opt/tde/%_lib/libkdefx.so.4
%description default-style %description default-style
This package contains the Plastik widget style and libkdefx. It only This package contains the Plastik widget style and libkdefx. It only
depends on Qt, not the KDE libraries. depends on TQt, not the KDE libraries.
%package doc %package doc
License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+ License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+
Summary: Documentation for KDE Base Libraries Summary: Documentation for TDE Base Libraries
Group: System/GUI/KDE Group: System/GUI/TDE
Provides: kdelibs3:/opt/kde3/share/apps/ksgmltools2 Provides: tdelibs:/opt/tde/share/apps/ksgmltools2
Provides: kdelibs3_doc Provides: tdelibs_doc
Requires: sgml-skel libxml2 Requires: sgml-skel libxml2
%define regcat /usr/bin/sgml-register-catalog %define regcat /usr/bin/sgml-register-catalog
PreReq: %{regcat} /usr/bin/xmlcatalog /usr/bin/edit-xml-catalog PreReq: %{regcat} /usr/bin/xmlcatalog /usr/bin/edit-xml-catalog
PreReq: sed grep awk PreReq: sed grep awk
%description doc %description doc
This package contains the core environment and templates for the KDE This package contains the core environment and templates for the Trinity
help system. help system.
%package devel %package devel
License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+ License: BSD3c(or similar) ; GPLv2+ ; LGPLv2.1+
# usefiles /opt/kde3/bin/dcopidl /opt/kde3/bin/dcopidl2cpp /opt/kde3/bin/kdb2html /opt/kde3/bin/preparetips # usefiles /opt/tde/bin/dcopidl /opt/tde/bin/dcopidl2cpp /opt/tde/bin/kdb2html /opt/tde/bin/preparetips
Requires: qt3-devel libvorbis-devel kdelibs3 = %version autoconf automake libxslt-devel libxml2-devel libart_lgpl-devel libjpeg-devel Requires: libtqt4-devel libvorbis-devel tdelibs = %version autoconf automake libxslt-devel libxml2-devel libart_lgpl-devel libjpeg-devel tde-filesystem
# next line from kde3-devel-packages macro # next line from tde-devel-packages macro
Requires: kdelibs3-doc libtiff-devel openssl-devel update-desktop-files Requires: tdelibs-doc libtiff-devel openssl-devel update-desktop-files
%if %suse_version > 1000 # FIXME dbus-1-qt3-devel to what?
Requires: libdrm-devel dbus-1-qt3-devel Requires: libdrm-devel dbus-1-qt3-devel
%else
Requires: dbus-1-qt
%endif
Requires: libattr-devel libacl-devel Requires: libattr-devel libacl-devel
%if %suse_version > 1020 Requires: tdelibs-arts
Requires: avahi-compat-mDNSResponder-devel libbz2-devel Summary: Trinity Base Package: Build Environment
%else Group: System/GUI/TDE
Requires: mDNSResponder-devel
%endif
Requires: kdelibs3-arts
Summary: KDE Base Package: Build Environment
Group: System/GUI/KDE
Requires: fam-devel pcre-devel libidn-devel arts-devel Requires: fam-devel pcre-devel libidn-devel arts-devel
%description devel %description devel
@ -375,44 +340,17 @@ sed 's,#define KDE_VERSION_STRING "\(.*\)",#define KDE_VERSION_STRING "\1 \\"rel
# #
# create build enviroment # create build enviroment
# #
UNSERMAKE=yes make -f admin/Makefile.common cvs #UNSERMAKE=yes make -f admin/Makefile.common cvs
%build %build
export PATH=$PWD/admin/:$PATH export PATH=$PWD/admin/:$PATH
FINAL="--enable-final" FINAL="--enable-final"
CFLAGS="$CFLAGS -fno-strict-aliasing" CFLAGS="$CFLAGS -fno-strict-aliasing"
CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
%ifarch armv4l
FINAL="" # common_options and do_make have been obsoleted by tde-filesystem
CXXFLAGS="$CXXFLAGS -O0"
%endif export path_sudo=/usr/bin/sudo
FLAGS="$FLAGS --with-pcsc-dir=/usr "
FLAGS="$FLAGS --disable-rpath"
OPTIONS="$FLAGS $FINAL \
--prefix=/opt/kde3 \
--with-qt-dir=/usr/lib/qt3 \
--enable-threading \
--enable-mt \
--with-xinerama \
--with-ssl-dir=/usr/ssl \
--mandir=%_mandir \
--sysconfdir=%_sysconfdir \
--enable-new-ldflags"
#
# common_options
#
sed -e 's,@_lib@,%_lib,g' -e "s,@configkde@,$OPTIONS,g" \
%{SOURCE7} > ../common_options
. ../common_options
rm -rf $RPM_BUILD_ROOT
export PATH=/opt/kde3/bin:$PATH
if [ %_lib = lib64 ]; then
EXTRA_OPTIONS="--enable-libsuffix=64"
fi
%if %is_plus
EXTRA_OPTIONS="$EXTRA_OPTIONS --enable-dnotify"
%endif
export path_sudo=/usr/bin/sudo
# #
# define the distribution exactly # define the distribution exactly
# #
@ -428,10 +366,19 @@ export path_sudo=/usr/bin/sudo
# find MIT kerberos # find MIT kerberos
export PATH=/usr/lib/mit/bin:$PATH export PATH=/usr/lib/mit/bin:$PATH
# fast-malloc is not needed anymore # fast-malloc is not needed anymore
./configure $configkde $EXTRA_OPTIONS \
--enable-fast-malloc=no \ %cmake_tde -d=build \
--with-distribution="$DISTRI" -DKDE_MALLOC_FULL=OFF \
do_make %{?jobs:-j %jobs} -DKDE_MALLOC=OFF \
-DKDE_DISTRIBUTION="$DISTRI" \
-DSSL_INSTALL_DIR=/usr/ssl \
-DPCSC_INSTALL_DIR=/usr \
%if %is_plus
-DENABLE_DNOFIFY=ON \
%endif
%make_tde -d=build
# #
xmlcatbin=/usr/bin/xmlcatalog xmlcatbin=/usr/bin/xmlcatalog
# CATALOG=docbook-simple.xml # CATALOG=docbook-simple.xml
@ -443,7 +390,7 @@ xmlcatbin=/usr/bin/xmlcatalog
# "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook.dtd" \ # "http://www.oasis-open.org/docbook/xml/simple/1.0/sdocbook.dtd" \
# "file://%{xml_mod_dtd_dir}/sdocbook.dtd" $CATALOG # "file://%{xml_mod_dtd_dir}/sdocbook.dtd" $CATALOG
%define FOR_ROOT_CAT for-catalog-%{name}-%{version}.xml %define FOR_ROOT_CAT for-catalog-%{name}-%{version}.xml
CATALOG=/opt/kde3/share/apps/ksgmltools2/customization/catalog.xml CATALOG=%{_tde_prefix}/share/apps/ksgmltools2/customization/catalog.xml
rm -f %{FOR_ROOT_CAT}.tmp rm -f %{FOR_ROOT_CAT}.tmp
$xmlcatbin --noout --create %{FOR_ROOT_CAT}.tmp $xmlcatbin --noout --create %{FOR_ROOT_CAT}.tmp
# $xmlcatbin --noout --add "delegateSystem" \ # $xmlcatbin --noout --add "delegateSystem" \
@ -466,114 +413,103 @@ sed '/<catalog/a\
%{FOR_ROOT_CAT}.tmp > %{FOR_ROOT_CAT} %{FOR_ROOT_CAT}.tmp > %{FOR_ROOT_CAT}
%install %install
. ../common_options %makeinstall -d=build
mkdir -p $RPM_BUILD_ROOT/etc/opt/kde3/ mkdir -p $RPM_BUILD_ROOT/%{_tde_configkcfgdir}
install -m 0644 ../common_options \ install -D %SOURCE9 $RPM_BUILD_ROOT/%{_tde_icondir}/crystalsvg/16x16/filesystems/file_broken.png
$RPM_BUILD_ROOT/etc/opt/kde3/common_options
export PATH=$PWD/admin/:$PATH
do_make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/config.kcfg
install -D %SOURCE9 $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/16x16/filesystems/file_broken.png
mv $RPM_BUILD_ROOT/etc/xdg/menus/applications.menu \ mv $RPM_BUILD_ROOT/etc/xdg/menus/applications.menu \
$RPM_BUILD_ROOT/etc/xdg/menus/applications.menu.kde $RPM_BUILD_ROOT/etc/xdg/menus/applications.menu.kde
# #
# lib64 compatibility symlink # lib64 compatibility symlink
# #
%ifarch x86_64 ppc64 s390x mips64 sparc64 %ifarch x86_64 ppc64 s390x mips64 sparc64
mkdir -p $RPM_BUILD_ROOT/opt/kde3/lib/kde3/ mkdir -p $RPM_BUILD_ROOT/%{_tde_prefix}/lib/kde3/
ln -sf ../../lib64/kde3/plugins \ ln -sf ../../lib64/kde3/plugins \
$RPM_BUILD_ROOT/opt/kde3/lib/kde3/plugins-lib64 $RPM_BUILD_ROOT/%{_tde_prefix}/lib/kde3/plugins-lib64
%endif %endif
# #
# add missing directories # add missing directories
# #
for i in Applications Development Editors Edutainment Games Graphics Internet Multimedia Office Settings System Toys Utilities WordProcessing; do for i in Applications Development Editors Edutainment Games Graphics Internet Multimedia Office Settings System Toys Utilities WordProcessing; do
install -d -m 0755 $RPM_BUILD_ROOT/opt/kde3/share/applnk/$i install -d -m 0755 $RPM_BUILD_ROOT/%{_tde_appsdir}/$i
done done
rm -f locale.list rm -f locale.list
for i in $(find /usr/share/locale -mindepth 1 -maxdepth 1 -type d | sed 's:/usr/share/locale/::'); do for i in $(find /usr/share/locale -mindepth 1 -maxdepth 1 -type d | sed 's:/usr/share/locale/::'); do
install -d -m 755 $RPM_BUILD_ROOT/opt/kde3/share/locale/$i install -d -m 755 $RPM_BUILD_ROOT/%{_tde_locale}/$i
install -d -m 755 $RPM_BUILD_ROOT/opt/kde3/share/locale/$i/LC_MESSAGES install -d -m 755 $RPM_BUILD_ROOT/%{_tde_locale}/$i/LC_MESSAGES
install -d -m 755 $RPM_BUILD_ROOT/opt/kde3/share/doc/HTML/$i install -d -m 755 $RPM_BUILD_ROOT/%{_tde_htmldir}/$i
echo "%lang($i) %doc /opt/kde3/share/locale/$i" >> locale.list echo "%lang($i) %doc %{_tde_locale}/$i" >> locale.list
done done
%suse_update_desktop_file kresources X-KDE-settings-desktop %suse_update_desktop_file kresources X-KDE-settings-desktop
# unlike with other modules, kde_post_install shouldn't # unlike with other modules, tde_post_install shouldn't
# be put at the end of %install # be put at the end of %install
kde_post_install %tde_post_install
# now create a filesystem layer # now create a filesystem layer
for theme in hicolor locolor; do for theme in hicolor locolor; do
for j in actions apps filesystems mimetypes; do for j in actions apps filesystems mimetypes; do
for i in 16 22 32 48 64 128; do for i in 16 22 32 48 64 128; do
install -d -m 0755 $RPM_BUILD_ROOT/opt/kde3/share/icons/${theme}/${i}x${i}/${j} install -d -m 0755 $RPM_BUILD_ROOT/%{_tde_icondir}/${theme}/${i}x${i}/${j}
done done
install -d -m 0755 $RPM_BUILD_ROOT/opt/kde3/share/icons/${theme}/scalable/${j} install -d -m 0755 $RPM_BUILD_ROOT/%{_tde_icondir}/${theme}/scalable/${j}
done done
done done
install -d -m 0755 $RPM_BUILD_ROOT/etc/opt/kde3/%_lib install -d -m 0755 $RPM_BUILD_ROOT/etc/%{_tde_libdir}
install -d -m 0755 $RPM_BUILD_ROOT/etc/opt/kde3/share/config install -d -m 0755 $RPM_BUILD_ROOT/etc/%{_tde_configdir}
install -d -m 0755 $RPM_BUILD_ROOT/opt/kde3/share/apps/kdelibs/ install -d -m 0755 $RPM_BUILD_ROOT/%{_tde_datadir}/kdelibs/
install -m 0644 %SOURCE6 $RPM_BUILD_ROOT/etc/ install -m 0644 %SOURCE6 $RPM_BUILD_ROOT/etc/
rm -f $RPM_BUILD_ROOT/opt/kde3/%_lib/libkdeinit_*.la rm -f $RPM_BUILD_ROOT/%{_tde_libdir}/libkdeinit_*.la
# #
# add additional icon path # add additional icon path (not needed anymore? we use cmake)
# #
mkdir -p ${RPM_BUILD_ROOT}/opt/kde3/share/apps/kdelibs #mkdir -p ${RPM_BUILD_ROOT}/%{_tde_datadir}/kdelibs
rm -f admin/*.orig #rm -f admin/*.orig
cp -a admin ${RPM_BUILD_ROOT}/opt/kde3/share/apps/kdelibs/ #cp -a admin ${RPM_BUILD_ROOT}/%{_tde_datadir}/kdelibs/
# This is not needed on SUSE Linux! - Marcus Meissner <meissner@suse.de> # This is not needed on SUSE Linux! - Marcus Meissner <meissner@suse.de>
rm $RPM_BUILD_ROOT/opt/kde3/bin/kgrantpty rm $RPM_BUILD_ROOT/%{_tde_bindir}/kgrantpty
# #
# our version is in kdebase3 # our version is in kdebase3
# #
rm -f $RPM_BUILD_ROOT/opt/kde3/bin/fileshare* rm -f $RPM_BUILD_ROOT/%{_tde_bindir}/fileshare*
# #
# no sources for man pages # no sources for man pages
# #
rm -f $RPM_BUILD_ROOT/opt/kde3/share/doc/HTML/en/kdelibs/man-* rm -f $RPM_BUILD_ROOT/%{_tde_htmldir}/en/kdelibs/man-*
# #
# install BitTorrent icons # install BitTorrent icons
# #
tar xfvz %SOURCE11 tar xfvz %SOURCE11
for i in 16x16 22x22 32x32 48x48 64x64 128x128 ; do for i in 16x16 22x22 32x32 48x48 64x64 128x128 ; do
install -m 0644 bt/$i/mimetypes/bt.png \ install -m 0644 bt/$i/mimetypes/bt.png \
$RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/$i/mimetypes/torrent.png $RPM_BUILD_ROOT/%{_tde_icondir}/crystalsvg/$i/mimetypes/torrent.png
done done
cp CATALOG.%{name} catalog.xml ${RPM_BUILD_ROOT}/opt/kde3/share/apps/ksgmltools2/customization/ cp CATALOG.%{name} catalog.xml ${RPM_BUILD_ROOT}/%{_tde_datadir}/ksgmltools2/customization/
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/xml mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/xml
cp %{FOR_ROOT_CAT} ${RPM_BUILD_ROOT}%{_sysconfdir}/xml cp %{FOR_ROOT_CAT} ${RPM_BUILD_ROOT}%{_sysconfdir}/xml
# rm -f $RPM_BUILD_ROOT/opt/kde3/%_lib/libkdefakes.la # rm -f $RPM_BUILD_ROOT/%{_tde_libdir}/libkdefakes.la
# rm -f $RPM_BUILD_ROOT/opt/kde3/%_lib/libkjava.la # rm -f $RPM_BUILD_ROOT/%{_tde_libdir}/libkjava.la
%if %suse_version > 1020 rm -f $RPM_BUILD_ROOT/%{_tde_icondir}/hicolor/index.theme
rm -f $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/index.theme
%endif
# .desktop files in kdeaccessibility3 require the kttsd icon # .desktop files in kdeaccessibility3 require the kttsd icon
for i in {16x16,22x22,32x32,48x48,64x64,128x128,scalable}; do mv $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/$i/apps/kttsd.* $RPM_BUILD_ROOT/opt/kde3/share/icons/hicolor/$i/apps/;done for i in {16x16,22x22,32x32,48x48,64x64,128x128,scalable}; do mv $RPM_BUILD_ROOT/%{_tde_icondir}/crystalsvg/$i/apps/kttsd.* $RPM_BUILD_ROOT/%{_tde_icondir}/hicolor/$i/apps/;done
install -m 0644 %SOURCE14 $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/ install -m 0644 %SOURCE14 $RPM_BUILD_ROOT/%{_tde_mimedir}/application/
install -m 0644 %SOURCE15 $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/ install -m 0644 %SOURCE15 $RPM_BUILD_ROOT/%{_tde_mimedir}/application/
install -m 0644 %SOURCE16 $RPM_BUILD_ROOT/opt/kde3/share/mimelnk/application/ install -m 0644 %SOURCE16 $RPM_BUILD_ROOT/%{_tde_mimedir}/application/
# fix bnc#396153 # fix bnc#396153
for i in 16x16 22x22 32x32 48x48 64x64 128x128; do for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
ln -s /opt/kde3/share/icons/crystalsvg/$i/filesystems/network.png $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/$i/filesystems/preferences-system-network.png ln -s %{_tde_icondir}/crystalsvg/$i/filesystems/network.png $RPM_BUILD_ROOT/%{_tde_icondir}/crystalsvg/$i/filesystems/preferences-system-network.png
ln -s /opt/kde3/share/icons/crystalsvg/$i/filesystems/desktop.png $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/$i/filesystems/preferences-desktop.png ln -s %{_tde_icondir}/crystalsvg/$i/filesystems/desktop.png $RPM_BUILD_ROOT/%{_tde_icondir}/crystalsvg/$i/filesystems/preferences-desktop.png
done done
chmod a-x $RPM_BUILD_ROOT/opt/kde3/share/icons/crystalsvg/16x16/filesystems/file_broken.png chmod a-x $RPM_BUILD_ROOT/%{_tde_icondir}/crystalsvg/16x16/filesystems/file_broken.png
%if %suse_version > 1020
%fdupes -s $RPM_BUILD_ROOT %fdupes -s $RPM_BUILD_ROOT
%endif mkdir -p $RPM_BUILD_ROOT/etc/%{_tde_applicationsdir}
%if %suse_version > 1110 touch $RPM_BUILD_ROOT/etc/%{_tde_applicationsdir}/mimeinfo.cache
mkdir -p $RPM_BUILD_ROOT/etc/opt/kde3/share/applications mkdir -p $RPM_BUILD_ROOT/%{_tde_applicationsdir}
touch $RPM_BUILD_ROOT/etc/opt/kde3/share/applications/mimeinfo.cache touch $RPM_BUILD_ROOT/%{_tde_applicationsdir}/mimeinfo.cache
mkdir -p $RPM_BUILD_ROOT/opt/kde3/share/applications
touch $RPM_BUILD_ROOT/opt/kde3/share/applications/mimeinfo.cache
%endif
# Create /etc/ld.so.conf.d/kdelibs3.conf # Create /etc/ld.so.conf.d/kdelibs3.conf
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
cat > $RPM_BUILD_ROOT/etc/ld.so.conf.d/kdelibs3.conf <<EOF cat > $RPM_BUILD_ROOT/etc/ld.so.conf.d/tdelibs.conf <<EOF
%ifarch s390x sparc64 x86_64 ppc64 %ifarch s390x sparc64 x86_64 ppc64
/opt/kde3/lib64 /opt/tde/lib64
%endif %endif
/opt/kde3/lib /opt/tde/lib
EOF EOF
%post %post
@ -598,7 +534,7 @@ EOF
%post doc %post doc
if [ -x %{regcat} ]; then if [ -x %{regcat} ]; then
%{regcat} -a /opt/kde3/share/apps/ksgmltools2/customization/CATALOG.%{name} >/dev/null 2>&1 %{regcat} -a %{_tde_datadir}/ksgmltools2/customization/CATALOG.%{name} >/dev/null 2>&1
fi fi
if [ -x /usr/bin/edit-xml-catalog ]; then if [ -x /usr/bin/edit-xml-catalog ]; then
edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \ edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
@ -607,7 +543,7 @@ EOF
%postun doc %postun doc
if [ "$1" = "0" -a -x %{regcat} ]; then if [ "$1" = "0" -a -x %{regcat} ]; then
%{regcat} -r /opt/kde3/share/apps/ksgmltools2/customization/CATALOG.%{name} >/dev/null 2>&1 %{regcat} -r %{_tde_datadir}/ksgmltools2/customization/CATALOG.%{name} >/dev/null 2>&1
fi fi
# remove entries only on removal of file # remove entries only on removal of file
if [ ! -f %{xml_sysconf_dir}/%{FOR_ROOT_CAT} -a -x /usr/bin/edit-xml-catalog ] ; then if [ ! -f %{xml_sysconf_dir}/%{FOR_ROOT_CAT} -a -x /usr/bin/edit-xml-catalog ] ; then
@ -622,271 +558,269 @@ EOF
%files default-style %files default-style
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING COPYING.BSD COPYING.LIB NAMING README %doc AUTHORS COPYING COPYING.BSD COPYING.LIB NAMING README
/opt/kde3/%_lib/libkdefx.so.* %{_tde_libdir}/libkdefx.so.*
/opt/kde3/%_lib/kde3/plugins/styles/plastik.* %{_tde_libdir}/kde3/plugins/styles/plastik.*
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING COPYING.BSD COPYING.LIB NAMING README %doc AUTHORS COPYING COPYING.BSD COPYING.LIB NAMING README
/etc/ld.so.conf.d/kdelibs3.conf /etc/ld.so.conf.d/tdelibs.conf
%dir /etc/opt/kde3 %dir /etc/%{_tde_prefix}
%dir /opt/kde3 %dir %{_tde_prefix}
%dir /opt/kde3/bin %dir %{_tde_bindir}
%dir /opt/kde3/include %dir %{_tde_includedir}
%dir /opt/kde3/share %dir %{_tde_sharedir}
%dir /opt/kde3/share/config.kcfg %dir %{_tde_configkcfgdir}
%_mandir/man*/* %_mandir/man*/*
/opt/kde3/bin/checkXML %{_tde_bindir}/checkXML
/opt/kde3/bin/dcop %{_tde_bindir}/dcop
/opt/kde3/bin/dcopclient %{_tde_bindir}/dcopclient
/opt/kde3/bin/dcopfind %{_tde_bindir}/dcopfind
/opt/kde3/bin/dcopobject %{_tde_bindir}/dcopobject
/opt/kde3/bin/dcopref %{_tde_bindir}/dcopref
/opt/kde3/bin/dcops* %{_tde_bindir}/dcops*
/opt/kde3/bin/dcopquit %{_tde_bindir}/dcopquit
/opt/kde3/bin/imagetops %{_tde_bindir}/imagetops
/opt/kde3/bin/ka* %{_tde_bindir}/ka*
/opt/kde3/bin/kbuildsycoca %{_tde_bindir}/kbuildsycoca
/opt/kde3/bin/kco* %{_tde_bindir}/kco*
/opt/kde3/bin/kcmshell %{_tde_bindir}/kcmshell
/opt/kde3/bin/kded %{_tde_bindir}/kded
/opt/kde3/bin/kdeinit* %{_tde_bindir}/kdeinit*
/opt/kde3/bin/start_kdeinit %{_tde_bindir}/start_kdeinit
/opt/kde3/bin/start_kdeinit_wrapper %{_tde_bindir}/start_kdeinit_wrapper
/opt/kde3/bin/kde-config %{_tde_bindir}/kde-config
/opt/kde3/bin/kde-menu %{_tde_bindir}/kde-menu
/opt/kde3/bin/kdesu_stub %{_tde_bindir}/kdesu_stub
/opt/kde3/bin/kdontchangethehostname %{_tde_bindir}/kdontchangethehostname
/opt/kde3/bin/kfile %{_tde_bindir}/kfile
/opt/kde3/bin/ki* %{_tde_bindir}/ki*
/opt/kde3/bin/kfmexec %{_tde_bindir}/kfmexec
/opt/kde3/bin/klauncher %{_tde_bindir}/klauncher
/opt/kde3/bin/kmailservice %{_tde_bindir}/kmailservice
/opt/kde3/bin/ktradertest %{_tde_bindir}/ktradertest
/opt/kde3/bin/knotify %{_tde_bindir}/knotify
/opt/kde3/bin/kstartupconfig %{_tde_bindir}/kstartupconfig
/opt/kde3/bin/kdostartupconfig %{_tde_bindir}/kdostartupconfig
%verify(not mode) /opt/kde3/bin/kpac_dhcp_helper %verify(not mode) %{_tde_bindir}/kpac_dhcp_helper
/opt/kde3/bin/ksendbugmail %{_tde_bindir}/ksendbugmail
/opt/kde3/bin/kshell %{_tde_bindir}/kshell
/opt/kde3/bin/ktelnetservice %{_tde_bindir}/ktelnetservice
/opt/kde3/bin/kwrapper %{_tde_bindir}/kwrapper
/opt/kde3/bin/lnusertemp %{_tde_bindir}/lnusertemp
/opt/kde3/bin/make_driver_db_lpr %{_tde_bindir}/make_driver_db_lpr
/opt/kde3/bin/khotnewstuff %{_tde_bindir}/khotnewstuff
/opt/kde3/bin/makekdewidgets %{_tde_bindir}/makekdewidgets
%dir /opt/kde3/%_lib %dir %{_tde_libdir}
%dir /opt/kde3/%_lib/kde3 %dir %{_tde_libdir}/kde3
/opt/kde3/%_lib/kde3/dcopserver.* %{_tde_libdir}/kde3/dcopserver.*
/opt/kde3/%_lib/kde3/kaddprinterwizard.* %{_tde_libdir}/kde3/kaddprinterwizard.*
/opt/kde3/%_lib/kde3/kbuildsycoca.* %{_tde_libdir}/kde3/kbuildsycoca.*
/opt/kde3/%_lib/kde3/kcmshell.* %{_tde_libdir}/kde3/kcmshell.*
/opt/kde3/%_lib/kde3/kcm_kresources.* %{_tde_libdir}/kde3/kcm_kresources.*
/opt/kde3/%_lib/kde3/kconf_update.* %{_tde_libdir}/kde3/kconf_update.*
/opt/kde3/%_lib/kde3/kcookiejar.* %{_tde_libdir}/kde3/kcookiejar.*
/opt/kde3/%_lib/kde3/kded.* %{_tde_libdir}/kde3/kded.*
/opt/kde3/%_lib/kde3/kded_proxyscout.* %{_tde_libdir}/kde3/kded_proxyscout.*
/opt/kde3/%_lib/kde3/kfileaudiopreview.* %{_tde_libdir}/kde3/kfileaudiopreview.*
/opt/kde3/%_lib/kde3/klauncher.* %{_tde_libdir}/kde3/klauncher.*
/opt/kde3/%_lib/kde3/knotify.* %{_tde_libdir}/kde3/knotify.*
/opt/kde3/%_lib/kde3/kabc* %{_tde_libdir}/kde3/kabc*
/opt/kde3/%_lib/kde3/kbzip2filter.* %{_tde_libdir}/kde3/kbzip2filter.*
/opt/kde3/%_lib/kde3/kded_k* %{_tde_libdir}/kde3/kded_k*
/opt/kde3/%_lib/kde3/kdeprint_ext.* %{_tde_libdir}/kde3/kdeprint_ext.*
/opt/kde3/%_lib/kde3/kdeprint_lp* %{_tde_libdir}/kde3/kdeprint_lp*
/opt/kde3/%_lib/kde3/kdeprint_rlpr.* %{_tde_libdir}/kde3/kdeprint_rlpr.*
/opt/kde3/%_lib/kde3/kdeprint_tool_escputil.* %{_tde_libdir}/kde3/kdeprint_tool_escputil.*
/opt/kde3/%_lib/kde3/kgzipfilter.* %{_tde_libdir}/kde3/kgzipfilter.*
/opt/kde3/%_lib/kde3/khtmlimagepart.* %{_tde_libdir}/kde3/khtmlimagepart.*
/opt/kde3/%_lib/kde3/ki* %{_tde_libdir}/kde3/ki*
/opt/kde3/%_lib/kde3/kjavaappletviewer.* %{_tde_libdir}/kde3/kjavaappletviewer.*
/opt/kde3/%_lib/kde3/ktexteditor_* %{_tde_libdir}/kde3/ktexteditor_*
/opt/kde3/%_lib/kde3/libk* %{_tde_libdir}/kde3/libk*
/opt/kde3/%_lib/kde3/kspell_* %{_tde_libdir}/kde3/kspell_*
/opt/kde3/%_lib/kde3/kstyle_plastik_config.* %{_tde_libdir}/kde3/kstyle_plastik_config.*
/opt/kde3/%_lib/kde3/kstyle_highcontrast_config.* %{_tde_libdir}/kde3/kstyle_highcontrast_config.*
/opt/kde3/%_lib/kde3/libshellscript.* %{_tde_libdir}/kde3/libshellscript.*
%exclude /opt/kde3/%_lib/kde3/plugins/styles/plastik.* %exclude %{_tde_libdir}/kde3/plugins/styles/plastik.*
/opt/kde3/%_lib/kde3/plugins %{_tde_libdir}/kde3/plugins
/opt/kde3/%_lib/libDCOP.so.* %{_tde_libdir}/libDCOP.so.*
%exclude /opt/kde3/%_lib/libkdefx.so.* %exclude %{_tde_libdir}/libkdefx.so.*
/opt/kde3/%_lib/libk*.so.* %{_tde_libdir}/libk*.so.*
/opt/kde3/%_lib/libvcard.so.* %{_tde_libdir}/libvcard.so.*
/opt/kde3/%_lib/libkdeinit*.so %{_tde_libdir}/libkdeinit*.so
/opt/kde3/%_lib/libnetworkstatus.so.* %{_tde_libdir}/libnetworkstatus.so.*
/opt/kde3/%_lib/libconnectionmanager.so.* %{_tde_libdir}/libconnectionmanager.so.*
/opt/kde3/%_lib/kde3/kded_networkstatus.* %{_tde_libdir}/kde3/kded_networkstatus.*
/opt/kde3/share/applnk %{_tde_appsdir}
%dir /opt/kde3/share/apps %dir %{_tde_datadir}
/opt/kde3/share/apps/LICENSES %{_tde_datadir}/LICENSES
/opt/kde3/share/apps/ka* %{_tde_datadir}/ka*
/opt/kde3/share/apps/kc* %{_tde_datadir}/kc*
%dir /opt/kde3/share/apps/kdeprint %dir %{_tde_datadir}/kdeprint
/opt/kde3/share/apps/kdeprint/apsdriver* %{_tde_datadir}/kdeprint/apsdriver*
/opt/kde3/share/apps/kdeprint/filters %{_tde_datadir}/kdeprint/filters
/opt/kde3/share/apps/kdeprint/icons %{_tde_datadir}/kdeprint/icons
/opt/kde3/share/apps/kdeprint/lprngtooldriver1 %{_tde_datadir}/kdeprint/lprngtooldriver1
/opt/kde3/share/apps/kdeprint/pics %{_tde_datadir}/kdeprint/pics
%dir /opt/kde3/share/apps/kdeprint/plugins %dir %{_tde_datadir}/kdeprint/plugins
/opt/kde3/share/apps/kdeprint/plugins/ext.print %{_tde_datadir}/kdeprint/plugins/ext.print
/opt/kde3/share/apps/kdeprint/plugins/lp*.print %{_tde_datadir}/kdeprint/plugins/lp*.print
/opt/kde3/share/apps/kdeprint/plugins/rlpr.print %{_tde_datadir}/kdeprint/plugins/rlpr.print
/opt/kde3/share/apps/kdeprint/s* %{_tde_datadir}/kdeprint/s*
/opt/kde3/share/apps/kdeprint/t* %{_tde_datadir}/kdeprint/t*
/opt/kde3/share/apps/kdeui %{_tde_datadir}/kdeui
/opt/kde3/share/apps/kdewidgets %{_tde_datadir}/kdewidgets
/opt/kde3/share/apps/khtml %{_tde_datadir}/khtml
/opt/kde3/share/apps/kio_uiserver %{_tde_datadir}/kio_uiserver
/opt/kde3/share/apps/kjava %{_tde_datadir}/kjava
/opt/kde3/share/apps/knotify %{_tde_datadir}/knotify
/opt/kde3/share/apps/kssl %{_tde_datadir}/kssl
/opt/kde3/share/apps/kstyle %{_tde_datadir}/kstyle
/opt/kde3/share/apps/ktexteditor_* %{_tde_datadir}/ktexteditor_*
/opt/kde3/share/apps/proxyscout %{_tde_datadir}/proxyscout
/opt/kde3/share/apps/knewstuff %{_tde_datadir}/knewstuff
/opt/kde3/share/autostart %{_tde_sharedir}/autostart
/opt/kde3/share/config %{_tde_configdir}
/opt/kde3/share/emoticons %{_tde_sharedir}/emoticons
/opt/kde3/share/icons %{_tde_icondir}/icons
/opt/kde3/share/locale %{_tde_locale}/locale
/opt/kde3/share/mimelnk %{_tde_mimedir}/mimelnk
/opt/kde3/share/service* %{_tde_sharedir}/service*
%config /etc/kde3rc %config /etc/tderc
/opt/kde3/share/applications %{_tde_applicationsdir}
/opt/kde3/bin/cupsd* %{_tde_bindir}/cupsd*
/opt/kde3/bin/make_driver_db_cups %{_tde_bindir}/make_driver_db_cups
/opt/kde3/%_lib/kde3/kdeprint_cups.* %{_tde_libdir}/kde3/kdeprint_cups.*
/opt/kde3/%_lib/kde3/cupsdconf.* %{_tde_libdir}/kde3/cupsdconf.*
/opt/kde3/share/apps/kdeprint/cups* %{_tde_datadir}/kdeprint/cups*
/opt/kde3/share/apps/kdeprint/kde_logo.png %{_tde_datadir}/kdeprint/kde_logo.png
/opt/kde3/share/apps/kdeprint/plugins/cups.print %{_tde_datadir}/kdeprint/plugins/cups.print
/opt/kde3/share/apps/kdeprint/preview* %{_tde_datadir}/kdeprint/preview*
%ifarch x86_64 ppc64 s390x mips64 sparc64 %ifarch x86_64 ppc64 s390x mips64 sparc64
%dir /opt/kde3/lib %dir %{_tde_prefix}/lib
%dir /opt/kde3/lib/kde3 %dir %{_tde_prefix}/lib/kde3
/opt/kde3/lib/kde3/plugins-lib64 %{_tde_prefix}/lib/kde3/plugins-lib64
%endif %endif
/etc/xdg/menus /etc/xdg/menus
%if %suse_version > 1110 %dir /etc/%{_tde_prefix}
%dir /etc/opt/kde3 %dir /etc/%{_tde_sharedir}
%dir /etc/opt/kde3/share %dir /etc/%{_tde_applicationsdir}
%dir /etc/opt/kde3/share/applications %ghost /etc/%{_tde_applicationsdir}/mimeinfo.cache
%ghost /etc/opt/kde3/share/applications/mimeinfo.cache %dir %{_tde_prefix}
%dir /opt/kde3 %dir %{_tde_sharedir}
%dir /opt/kde3/share %dir %{_tde_applicationsdir}
%dir /opt/kde3/share/applications %ghost %{_tde_applicationsdir}/mimeinfo.cache
%ghost /opt/kde3/share/applications/mimeinfo.cache
%endif
%files arts %files arts
%defattr(-,root,root) %defattr(-,root,root)
/opt/kde3/bin/artsmessage %{_tde_bindir}/artsmessage
/opt/kde3/%_lib/libartskde.so.* %{_tde_libdir}/libartskde.so.*
%files doc %files doc
%defattr(-,root,root) %defattr(-,root,root)
%doc /opt/kde3/share/doc %doc %{_tde_docdir}
/opt/kde3/bin/meinproc %{_tde_bindir}/meinproc
/opt/kde3/share/apps/ksgmltools2 %{_tde_datadir}/ksgmltools2
%config %{_sysconfdir}/xml/%{FOR_ROOT_CAT} %config %{_sysconfdir}/xml/%{FOR_ROOT_CAT}
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%dir /opt/kde3/share/apps/kdelibs %dir %{_tde_datadir}/kdelibs
%config /etc/opt/kde3/common_options %{_tde_bindir}/dcopidl*
/opt/kde3/bin/dcopidl* %{_tde_bindir}/kmimelist
/opt/kde3/bin/kmimelist %{_tde_bindir}/preparetips
/opt/kde3/bin/preparetips %{_tde_bindir}/ksvgtopng
/opt/kde3/bin/ksvgtopng %{_tde_bindir}/kunittestmodrunner
/opt/kde3/bin/kunittestmodrunner #%{_tde_bindir}/MISC
#/opt/kde3/bin/MISC %{_tde_includedir}/*
/opt/kde3/include/* %{_tde_datadir}/dcopidlng
/opt/kde3/share/apps/dcopidlng %{_tde_datadir}/kdelibs/admin
/opt/kde3/share/apps/kdelibs/admin %{_tde_libdir}/libartskde.la
/opt/kde3/%_lib/libartskde.la %{_tde_libdir}/libkunittest.la
/opt/kde3/%_lib/libkunittest.la %{_tde_libdir}/libkunittest.so
/opt/kde3/%_lib/libkunittest.so %{_tde_libdir}/libartskde.so
/opt/kde3/%_lib/libartskde.so %{_tde_libdir}/libDCOP.so
/opt/kde3/%_lib/libDCOP.so %{_tde_libdir}/libvcard.so
/opt/kde3/%_lib/libvcard.so %{_tde_libdir}/libvcard.la
/opt/kde3/%_lib/libvcard.la %{_tde_libdir}/libDCOP.la
/opt/kde3/%_lib/libDCOP.la %{_tde_libdir}/lib*.a
/opt/kde3/%_lib/lib*.a %{_tde_libdir}/libkabc_dir.la
/opt/kde3/%_lib/libkabc_dir.la %{_tde_libdir}/libkabc_dir.so
/opt/kde3/%_lib/libkabc_dir.so %{_tde_libdir}/libkabc_file.la
/opt/kde3/%_lib/libkabc_file.la %{_tde_libdir}/libkabc_file.so
/opt/kde3/%_lib/libkabc_file.so %{_tde_libdir}/libkabc.la
/opt/kde3/%_lib/libkabc.la %{_tde_libdir}/libkabc_ldapkio.la
/opt/kde3/%_lib/libkabc_ldapkio.la %{_tde_libdir}/libkabc_ldapkio.so
/opt/kde3/%_lib/libkabc_ldapkio.so %{_tde_libdir}/libkabc.so
/opt/kde3/%_lib/libkabc.so %{_tde_libdir}/libkatepartinterfaces.la
/opt/kde3/%_lib/libkatepartinterfaces.la %{_tde_libdir}/libkatepartinterfaces.so
/opt/kde3/%_lib/libkatepartinterfaces.so %{_tde_libdir}/libkdecore.la
/opt/kde3/%_lib/libkdecore.la %{_tde_libdir}/libkdecore.so
/opt/kde3/%_lib/libkdecore.so %{_tde_libdir}/libkdefakes.la
/opt/kde3/%_lib/libkdefakes.la %{_tde_libdir}/libkdefakes.so
/opt/kde3/%_lib/libkdefakes.so %{_tde_libdir}/libkdefx.la
/opt/kde3/%_lib/libkdefx.la %{_tde_libdir}/libkdefx.so
/opt/kde3/%_lib/libkdefx.so %{_tde_libdir}/libkdemm.la
/opt/kde3/%_lib/libkdemm.la %{_tde_libdir}/libkdemm.so
/opt/kde3/%_lib/libkdemm.so %{_tde_libdir}/libkdeprint.la
/opt/kde3/%_lib/libkdeprint.la %{_tde_libdir}/libkdeprint_management.la
/opt/kde3/%_lib/libkdeprint_management.la %{_tde_libdir}/libkdeprint_management.so
/opt/kde3/%_lib/libkdeprint_management.so %{_tde_libdir}/libkdeprint.so
/opt/kde3/%_lib/libkdeprint.so %{_tde_libdir}/libkdesasl.la
/opt/kde3/%_lib/libkdesasl.la %{_tde_libdir}/libkdesasl.so
/opt/kde3/%_lib/libkdesasl.so %{_tde_libdir}/libkdesu.la
/opt/kde3/%_lib/libkdesu.la %{_tde_libdir}/libkdesu.so
/opt/kde3/%_lib/libkdesu.so %{_tde_libdir}/libkdeui.la
/opt/kde3/%_lib/libkdeui.la %{_tde_libdir}/libkdeui.so
/opt/kde3/%_lib/libkdeui.so %{_tde_libdir}/libkdnssd.la
/opt/kde3/%_lib/libkdnssd.la %{_tde_libdir}/libkdnssd.so
/opt/kde3/%_lib/libkdnssd.so %{_tde_libdir}/libkhtml.la
/opt/kde3/%_lib/libkhtml.la %{_tde_libdir}/libkhtml.so
/opt/kde3/%_lib/libkhtml.so %{_tde_libdir}/libkimproxy.la
/opt/kde3/%_lib/libkimproxy.la %{_tde_libdir}/libkimproxy.so
/opt/kde3/%_lib/libkimproxy.so %{_tde_libdir}/libkio.la
/opt/kde3/%_lib/libkio.la %{_tde_libdir}/libkio.so
/opt/kde3/%_lib/libkio.so %{_tde_libdir}/libkjava.la
/opt/kde3/%_lib/libkjava.la %{_tde_libdir}/libkjava.so
/opt/kde3/%_lib/libkjava.so %{_tde_libdir}/libkjs.la
/opt/kde3/%_lib/libkjs.la %{_tde_libdir}/libkjs.so
/opt/kde3/%_lib/libkjs.so %{_tde_libdir}/libkmdi2.la
/opt/kde3/%_lib/libkmdi2.la %{_tde_libdir}/libkmdi2.so
/opt/kde3/%_lib/libkmdi2.so %{_tde_libdir}/libkmdi.la
/opt/kde3/%_lib/libkmdi.la %{_tde_libdir}/libkmdi.so
/opt/kde3/%_lib/libkmdi.so %{_tde_libdir}/libkmediaplayer.la
/opt/kde3/%_lib/libkmediaplayer.la %{_tde_libdir}/libkmediaplayer.so
/opt/kde3/%_lib/libkmediaplayer.so %{_tde_libdir}/libkmid.la
/opt/kde3/%_lib/libkmid.la %{_tde_libdir}/libkmid.so
/opt/kde3/%_lib/libkmid.so %{_tde_libdir}/libknewstuff.la
/opt/kde3/%_lib/libknewstuff.la %{_tde_libdir}/libknewstuff.so
/opt/kde3/%_lib/libknewstuff.so %{_tde_libdir}/libkntlm.la
/opt/kde3/%_lib/libkntlm.la %{_tde_libdir}/libkntlm.so
/opt/kde3/%_lib/libkntlm.so %{_tde_libdir}/libkparts.la
/opt/kde3/%_lib/libkparts.la %{_tde_libdir}/libkparts.so
/opt/kde3/%_lib/libkparts.so %{_tde_libdir}/libkresources.la
/opt/kde3/%_lib/libkresources.la %{_tde_libdir}/libkresources.so
/opt/kde3/%_lib/libkresources.so %{_tde_libdir}/libkscreensaver.la
/opt/kde3/%_lib/libkscreensaver.la %{_tde_libdir}/libkscreensaver.so
/opt/kde3/%_lib/libkscreensaver.so %{_tde_libdir}/libkscript.la
/opt/kde3/%_lib/libkscript.la %{_tde_libdir}/libkscript.so
/opt/kde3/%_lib/libkscript.so %{_tde_libdir}/libkspell2.la
/opt/kde3/%_lib/libkspell2.la %{_tde_libdir}/libkspell2.so
/opt/kde3/%_lib/libkspell2.so %{_tde_libdir}/libkspell.la
/opt/kde3/%_lib/libkspell.la %{_tde_libdir}/libkspell.so
/opt/kde3/%_lib/libkspell.so %{_tde_libdir}/libktexteditor.la
/opt/kde3/%_lib/libktexteditor.la %{_tde_libdir}/libktexteditor.so
/opt/kde3/%_lib/libktexteditor.so %{_tde_libdir}/libkutils.la
/opt/kde3/%_lib/libkutils.la %{_tde_libdir}/libkutils.so
/opt/kde3/%_lib/libkutils.so %{_tde_libdir}/libkwalletbackend.la
/opt/kde3/%_lib/libkwalletbackend.la %{_tde_libdir}/libkwalletbackend.so
/opt/kde3/%_lib/libkwalletbackend.so %{_tde_libdir}/libkwalletclient.la
/opt/kde3/%_lib/libkwalletclient.la %{_tde_libdir}/libkwalletclient.so
/opt/kde3/%_lib/libkwalletclient.so %{_tde_libdir}/libnetworkstatus.la
/opt/kde3/%_lib/libnetworkstatus.la %{_tde_libdir}/libnetworkstatus.so
/opt/kde3/%_lib/libnetworkstatus.so %{_tde_libdir}/libconnectionmanager.la
/opt/kde3/%_lib/libconnectionmanager.la %{_tde_libdir}/libconnectionmanager.so
/opt/kde3/%_lib/libconnectionmanager.so
%changelog %changelog

@ -1,5 +1,5 @@
[Directories] [Directories]
prefixes=/etc/opt/kde3/ prefixes=/etc/opt/tde/
userProfileMapFile=/etc/kde-user-profile userProfileMapFile=/etc/kde-user-profile
profileDirsPrefix=/var/lib/kde-profiles/ profileDirsPrefix=/var/lib/kde-profiles/
dir_wallpaper=/usr/share/wallpapers dir_wallpaper=/usr/share/wallpapers
Loading…
Cancel
Save