File kdebase4-runtime.spec of Package kdebase4-runtime

#
# spec file for package kdebase4-runtime
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           kdebase4-runtime
Version:        4.8.4
Release:        0
Summary:        The KDE Runtime Components
License:        GPL-2.0+
Group:          System/GUI/KDE
Url:            http://www.kde.org/
Source0:        kde-runtime-%{version}.tar.xz
Source1:        kde4-essential.menu
Source2:        kde-settings.menu
Source3:        kde-settings.directory
Source4:        KDE-Sys-Log-Out.ogg
Source99:       nepomuk.png
Patch0:         4_7_BRANCH.diff
Patch3:         hotplug-kde3.diff
Patch4:         kde4-wrapper.diff
Patch5:         kdesu-remember-keep-password.diff
Patch7:         simple-ccsm-kde.diff
Patch10:        khelpcenter-gnome-support.patch
Patch11:        khelpcenter-use-susehelp.patch
Patch13:        ksuseinstall.diff
Patch15:        kdesu-symbol-lookup-workaround.diff
Patch16:        phonon-always-forget.diff
Patch17:        desktop-files.diff
BuildRequires:  NetworkManager-devel
BuildRequires:  QtZeitgeist-devel
BuildRequires:  bluez-devel
BuildRequires:  fdupes
BuildRequires:  libcanberra-devel
BuildRequires:  libexiv2-devel
BuildRequires:  libkde4-devel >= %{version}
#!BuildIgnore:  kdebase4-runtime
BuildRequires:  libksuseinstall-devel
BuildRequires:  libpulse-devel
BuildRequires:  libqca2-devel
BuildRequires:  libqimageblitz-devel
BuildRequires:  libsmbclient-devel
BuildRequires:  libssh-devel
BuildRequires:  libusb-devel
BuildRequires:  lzma-devel
BuildRequires:  openslp-devel
BuildRequires:  soprano-backend-virtuoso
BuildRequires:  xine-devel
BuildRequires:  xz
BuildRequires:  pkgconfig(libxklavier)
PreReq:         permissions
Requires:       dbus-1-x11
Requires:       kdelibs4 >= %{version}
Requires:       oxygen-icon-theme >= 4.6.40
Requires:       phonon
Requires:       soprano-backend-redland
Recommends:     enscript
#htdig is needed by khelpcenter for indexing help files
Recommends:     htdig
Recommends:     ispell
Recommends:     kdialog
Suggests:       cagibi
Provides:       suse_help_viewer
%define debug_package_requires %{name} = %{version}-%{release} kdelibs4-debuginfo
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires(post):     shared-mime-info
Requires(postun):   shared-mime-info
%if 0%{?suse_version} == 1130
Requires:       %{name}-branding = 11.3
%endif
%if 0%{?suse_version} == 1140
Requires:       %{name}-branding = 11.4
%endif
%if 0%{?suse_version} == 1210
Requires:       %{name}-branding = 12.1
%endif
%if 0%{?suse_version} > 1210
Requires:       %{name}-branding = 12.2
%endif
Provides:       plasma-theme-air = 4.2.90
Obsoletes:      plasma-theme-air < 4.2.90
# packages older than 4.4.x had too strict kdebase4-runtime requirement
Provides:       kdebase4-runtime = 4.0.10
Provides:       kdebase4-runtime = 4.1.10
Provides:       kdebase4-runtime = 4.2.10
Provides:       kdebase4-runtime = 4.3.10
%kde4_runtime_requires

%description
This package contains all run-time dependencies of KDE applications.

%package branding-upstream
Summary:        The KDE Runtime Components
Group:          System/GUI/KDE
#BRAND: FIXME
%if 0%{?suse_version} == 1130
Provides:       %{name}-branding = 11.3
%endif
%if 0%{?suse_version} == 1140
Provides:       %{name}-branding = 11.4
%endif
%if 0%{?suse_version} == 1210
Provides:       %{name}-branding = 12.1
%endif
%if 0%{?suse_version} > 1210
Provides:       %{name}-branding = 12.2
%endif
Supplements:    packageand(kdebase4-runtime:branding-upstream)
Conflicts:      otherproviders(%{name}-branding)

%description branding-upstream
This package contains all run-time dependencies of KDE applications.

%package -n plasma-theme-oxygen
Summary:        The Oxygen Plasma Theme
Group:          System/GUI/KDE
Provides:       kdebase4-runtime:/usr/share/kde4/apps/desktoptheme/oxygen/metadata.desktop

%description -n plasma-theme-oxygen
This package contains the Plasma theme Oxygen.

%package xine
Summary:        The KDE Runtime Components
Group:          System/GUI/KDE
Supplements:    packageand(kdebase4-runtime:phonon-backend-xine)
%kde4_runtime_requires

%description xine
This package contains run-time dependencies of KDE applications
when using the Xine Phonon backend.

%package devel
Summary:        Development files for %{name}
Group:          Development/Libraries/KDE
Requires:       %{name} = %{version}

%description devel
This package contains development files and headers needed to
build software using %{name}

%prep
%setup -q -n kde-runtime-%{version}
cp %{SOURCE4} $RPM_BUILD_DIR/kde-runtime-%{version}/knotify/sounds/
%patch0 -p1
%patch3
%patch4
%patch5
%patch7
%patch10
%patch11
%patch13 -p1
%patch15
%patch16
%patch17

%build
  %cmake_kde4 -d build -- -DKDE4_ENABLE_FPIE=1
  %make_jobs

%install
  cd build
  %make_install
  rm -rf %{buildroot}%{_kde4_datadir}/wallpapers
  rm -rf %{buildroot}%{_kde4_iconsdir}/hicolor/index.theme
  rm -rf %{buildroot}%{_kde4_iconsdir}/oxygen
  mkdir -p %{buildroot}%{_kde4_sysconfdir}/xdg/menus
  mv %{buildroot}%{_kde4_sysconfdir}/xdg/menus/kde-information.menu %{buildroot}%{_kde4_sysconfdir}/xdg/menus/kde4-information.menu
  mkdir -p %{buildroot}%{_kde4_sysconfdir}/xdg/menus/applications-merged
  install -m 644 %{SOURCE1} %{buildroot}%{_kde4_sysconfdir}/xdg/menus/applications-merged/kde4-essential.menu
  install -m 644 %{SOURCE2} %{buildroot}%{_kde4_sysconfdir}/xdg/menus/kde4-settings.menu
  install -m 644 %{SOURCE3} %{buildroot}%{_kde4_datadir}/desktop-directories/
  mkdir -p %{buildroot}%{_kde4_prefix}/bin
  ln -s %{_kde4_libexecdir}/kdesu %{buildroot}%{_kde4_bindir}/kdesu
  rm -rf %{buildroot}%{_includedir}/KDE
  mkdir -p %{buildroot}%{_kde4_datadir}/pixmaps
  install $RPM_SOURCE_DIR/nepomuk.png %{buildroot}%{_kde4_datadir}/pixmaps/
  %suse_update_desktop_file -r knetattach    System Network
  %suse_update_desktop_file    Help          Documentation Viewer
  %fdupes -s %{buildroot}
  %kde_post_install

%post
/sbin/ldconfig
%{_kde4_bindir}/update-mime-database %{_kde4_datadir}/mime &> /dev/null || :
%if 0%{?suse_version} > 1130
%set_permissions %{_kde4_libexecdir}/kdesud
%endif

%postun
/sbin/ldconfig
%{_kde4_bindir}/update-mime-database %{_kde4_datadir}/mime &> /dev/null || :

%verifyscript
%verify_permissions -e %{_kde4_bindir}/kcheckpass
%verify_permissions -e %{_kde4_bindir}/kdesud
%verify_permissions -e %{_kde4_libexecdir}/kdesud

%clean
rm -rf %{buildroot}

%files branding-upstream
%defattr(-,root,root)
%doc COPYING

%files -n plasma-theme-oxygen
%defattr(-,root,root)
%doc COPYING
%{_kde4_appsdir}/desktoptheme/oxygen

%files xine
%defattr(-,root,root)
%{_kde4_modulesdir}/kcm_phononxine.so
%{_kde4_servicesdir}/kcm_phononxine.desktop

%files devel
%defattr(-,root,root)
%{_includedir}/knotify_export*
%{_includedir}/knotifyconfig.h
%{_includedir}/knotifyplugin.h
%{_includedir}/nepomuk

%files
%defattr(-,root,root)
%doc COPYING COPYING.LIB

# --- knewstuff sources ---
%config %{_kde_config_dir}/emoticons.knsrc
%config %{_kde_config_dir}/icons.knsrc
%config %{_kde_config_dir}/khotnewstuff.knsrc
%config %{_kde_config_dir}/khotnewstuff_upload.knsrc

# --- menus ---
%config %{_kde4_sysconfdir}/xdg/menus/applications-merged
%config %{_kde4_sysconfdir}/xdg/menus/kde4-information.menu
%config %{_kde4_sysconfdir}/xdg/menus/kde4-settings.menu

# --- dbus configuraton ---
%config %{_kde4_sysconfdir}/dbus-1/system.d/org.kde.kcontrol.kcmremotewidgets.conf

# --- default configurations ---
%config %{_kde4_configkcfgdir}/khelpcenter.kcfg
%config %{_kde4_configkcfgdir}/jpegcreatorsettings.kcfg

# --- misc configuration ---
%config %{_kde_config_dir}/kshorturifilterrc

# --- man file manuals ---
%doc %{_kde4_mandir}/man1/kdesu.1*
%doc %{_kde4_mandir}/man8/nepomukserver.8.gz
%doc %{_kde4_mandir}/man8/nepomukservicestub.8.gz

# --- html manuals  ---
%doc %lang(en) %{_kde4_htmldir}/en/kcontrol
%doc %lang(en) %{_kde4_htmldir}/en/kdebugdialog
%doc %lang(en) %{_kde4_htmldir}/en/kdesu
%doc %lang(en) %{_kde4_htmldir}/en/khelpcenter
%doc %lang(en) %{_kde4_htmldir}/en/kioslave
%doc %lang(en) %{_kde4_htmldir}/en/knetattach
%doc %lang(en) %{_kde4_htmldir}/en/network
%doc %lang(en) %{_kde4_htmldir}/en/onlinehelp

# --- thumbnail generators ---
%{_kde4_modulesdir}/comicbookthumbnail.so
%{_kde4_modulesdir}/cursorthumbnail.so
%{_kde4_modulesdir}/djvuthumbnail.so
%{_kde4_modulesdir}/exrthumbnail.so
%{_kde4_modulesdir}/fixhosturifilter.so
%{_kde4_modulesdir}/htmlthumbnail.so
%{_kde4_modulesdir}/imagethumbnail.so
%{_kde4_modulesdir}/jpegthumbnail.so
%{_kde4_modulesdir}/svgthumbnail.so
%{_kde4_modulesdir}/textthumbnail.so
%{_kde4_modulesdir}/windowsexethumbnail.so
%{_kde4_modulesdir}/windowsimagethumbnail.so

# --- kcm modules ---
%{_kde4_modulesdir}/kcm_attica.so
%{_kde4_modulesdir}/kcm_cgi.so
%{_kde4_modulesdir}/kcm_componentchooser.so
%{_kde4_modulesdir}/kcm_device_automounter.so
%{_kde4_modulesdir}/kcm_emoticons.so
%{_kde4_modulesdir}/kcm_filetypes.so
%{_kde4_modulesdir}/kcm_icons.so
%{_kde4_modulesdir}/kcm_kded.so
%{_kde4_modulesdir}/kcm_kdnssd.so
%{_kde4_modulesdir}/kcm_knotify.so
%{_kde4_modulesdir}/kcm_locale.so
%{_kde4_modulesdir}/kcm_nepomuk.so
%{_kde4_modulesdir}/kcm_phonon.so
%{_kde4_modulesdir}/kcmspellchecking.so
%{_kde4_modulesdir}/kcm_trash.so

# --- kded modules ---
%{_kde4_modulesdir}/kded_desktopnotifier.so
%{_kde4_modulesdir}/kded_device_automounter.so
%{_kde4_modulesdir}/kded_kpasswdserver.so
%{_kde4_modulesdir}/kded_ktimezoned.so
%{_kde4_modulesdir}/kded_nepomuksearchmodule.so
%{_kde4_modulesdir}/kded_networkstatus.so
%{_kde4_modulesdir}/kded_networkwatcher.so
%{_kde4_modulesdir}/kded_phononserver.so
%{_kde4_modulesdir}/kded_remotedirnotify.so
%{_kde4_modulesdir}/kded_solidautoeject.so
%{_kde4_modulesdir}/kded_soliduiserver.so

# --- kdeinit modules ---
%{_kde4_libdir}/libkdeinit4_kcmshell4.so
%{_kde4_libdir}/libkdeinit4_kglobalaccel.so
%{_kde4_libdir}/libkdeinit4_khelpcenter.so
%{_kde4_libdir}/libkdeinit4_kuiserver.so
%{_kde4_libdir}/libkdeinit4_kwalletd.so
%{_kde4_libdir}/libkdeinit4_nepomukserver.so

# --- kio slaves ---
%{_kde4_modulesdir}/kio_about.so
%{_kde4_modulesdir}/kio_applications.so
%{_kde4_modulesdir}/kio_archive.so
%{_kde4_modulesdir}/kio_bookmarks.so
%{_kde4_modulesdir}/kio_cgi.so
%{_kde4_modulesdir}/kio_desktop.so
%{_kde4_modulesdir}/kio_filter.so
%{_kde4_modulesdir}/kio_finger.so
%{_kde4_modulesdir}/kio_fish.so
%{_kde4_modulesdir}/kio_floppy.so
%{_kde4_modulesdir}/kio_info.so
%{_kde4_modulesdir}/kio_man.so
%{_kde4_modulesdir}/kio_nepomuk.so
%{_kde4_modulesdir}/kio_nepomuksearch.so
%{_kde4_modulesdir}/kio_network.so
%{_kde4_modulesdir}/kio_nfs.so
%{_kde4_modulesdir}/kio_remote.so
%{_kde4_modulesdir}/kio_settings.so
%if %{suse_version} > 1130
%{_kde4_modulesdir}/kio_sftp.so
%endif
%{_kde4_modulesdir}/kio_smb.so
%{_kde4_modulesdir}/kio_thumbnail.so
%{_kde4_modulesdir}/kio_timeline.so
%{_kde4_modulesdir}/kio_trash.so

# --- uri filters ---
%{_kde4_modulesdir}/kshorturifilter.so
%{_kde4_modulesdir}/kuriikwsfilter.so
%{_kde4_modulesdir}/kurisearchfilter.so
%{_kde4_modulesdir}/localdomainurifilter.so

# --- rename plugins ---
%{_kde4_modulesdir}/librenaudioplugin.so
%{_kde4_modulesdir}/librenimageplugin.so

# --- kparts ---
%{_kde4_modulesdir}/libkmanpart.so

# --- nepomuk services ---
%{_kde4_modulesdir}/nepomukqueryservice.so

# --- nepomuk misc ---
%{_kde4_modulesdir}/nepomukbackupsync.so
%{_kde4_modulesdir}/nepomukfileindexer.so
%{_kde4_modulesdir}/nepomukfilewatch.so
%{_kde4_modulesdir}/nepomukstorage.so
%{_kde4_libdir}/libnepomukcommon.so
%{_kde4_libdir}/libnepomukdatamanagement.so
%{_kde4_libdir}/libnepomukdatamanagement.so.4*
%{_kde4_libdir}/libnepomuksync.so

# --- plasma ---
%{_kde4_modulesdir}/plasma_appletscript_declarative.so
%{_kde4_modulesdir}/plasma_appletscript_simple_javascript.so
%{_kde4_modulesdir}/plasma_containment_newspaper.so
%{_kde4_modulesdir}/plasma_dataenginescript_javascript.so
%{_kde4_modulesdir}/plasma-kpart.so
%{_kde4_modulesdir}/plasma_packagestructure_javascriptaddon.so
%{_kde4_modulesdir}/plasma_runnerscript_javascript.so

# --- other ---
%{_kde4_libdir}/attica_kde.so
%{_kde4_libdir}/libknotifyplugin.so
%{_kde4_libdir}/libkwalletbackend.so
%{_kde4_libdir}/libmolletnetwork.so
%{_kde4_modulesdir}/imports/
%{_kde4_modulesdir}/plugins/phonon_platform

# --- libexec ---
%verify(not mode) %attr(2755,root,nogroup) %{_kde4_libexecdir}/kdesud
%{_kde4_libexecdir}/drkonqi
%{_kde4_libexecdir}/kcmremotewidgetshelper
%{_kde4_libexecdir}/kdeeject
%{_kde4_libexecdir}/kdesu
%{_kde4_libexecdir}/kdontchangethehostname
%{_kde4_libexecdir}/khc_docbookdig.pl
%{_kde4_libexecdir}/khc_htdig.pl
%{_kde4_libexecdir}/khc_htsearch.pl
%{_kde4_libexecdir}/khc_indexbuilder
%{_kde4_libexecdir}/khc_mansearch.pl
%{_kde4_libexecdir}/kioexec
%{_kde4_libexecdir}/knetattach

# --- apps directories ---
%dir %{_kde4_appsdir}/fileindexerservice
%dir %{_kde4_appsdir}/hardwarenotifications
%dir %{_kde4_appsdir}/kde
%dir %{_kde4_appsdir}/konqueror
%dir %{_kde4_appsdir}/konqueror/dirtree
%dir %{_kde4_appsdir}/konqueror/dirtree/remote

# --- apps ---
%exclude %{_kde4_appsdir}/desktoptheme/oxygen
%{_kde4_appsdir}/cmake
%{_kde4_appsdir}/desktoptheme
%{_kde4_appsdir}/drkonqi
%{_kde4_appsdir}/fileindexerservice/nepomukfileindexer.notifyrc
%{_kde4_appsdir}/hardwarenotifications/hardwarenotifications.notifyrc
%{_kde4_appsdir}/kcm_componentchooser
%{_kde4_appsdir}/kcmlocale
%{_kde4_appsdir}/kcm_phonon
%{_kde4_appsdir}/kconf_update/devicepreference.upd
%{_kde4_appsdir}/kconf_update/kuriikwsfilter.upd
%{_kde4_appsdir}/kconf_update/nepomukstrigiservice-migrate.upd
%{_kde4_appsdir}/kde/kde.notifyrc
%{_kde4_appsdir}/kglobalaccel
%{_kde4_appsdir}/khelpcenter
%{_kde4_appsdir}/kio_bookmarks
%{_kde4_appsdir}/kio_desktop
%{_kde4_appsdir}/kio_docfilter
%{_kde4_appsdir}/kio_finger
%{_kde4_appsdir}/kio_info
%{_kde4_appsdir}/konqsidebartng
%{_kde4_appsdir}/konqueror/dirtree/remote/smb-network.desktop
%{_kde4_appsdir}/ksmserver
%{_kde4_appsdir}/kwalletd
%{_kde4_appsdir}/libphonon
%{_kde4_appsdir}/nepomukfilewatch
%{_kde4_appsdir}/nepomukstorage
%{_kde4_appsdir}/phonon
%{_kde4_appsdir}/remoteview

# --- protocols ---
%{_kde4_servicesdir}/about.protocol
%{_kde4_servicesdir}/applications.protocol
%{_kde4_servicesdir}/ar.protocol
%{_kde4_servicesdir}/bookmarks.protocol
%{_kde4_servicesdir}/bzip.protocol
%{_kde4_servicesdir}/bzip2.protocol
%{_kde4_servicesdir}/cgi.protocol
%{_kde4_servicesdir}/desktop.protocol
%{_kde4_servicesdir}/finger.protocol
%{_kde4_servicesdir}/fish.protocol
%{_kde4_servicesdir}/floppy.protocol
%{_kde4_servicesdir}/gzip.protocol
%{_kde4_servicesdir}/info.protocol
%{_kde4_servicesdir}/man.protocol
%{_kde4_servicesdir}/nepomuk.protocol
%{_kde4_servicesdir}/nepomuksearch.protocol
%{_kde4_servicesdir}/network.protocol
%{_kde4_servicesdir}/nfs.protocol
%{_kde4_servicesdir}/programs.protocol
%{_kde4_servicesdir}/remote.protocol
%{_kde4_servicesdir}/settings.protocol
%{_kde4_servicesdir}/smb.protocol
%{_kde4_servicesdir}/tar.protocol
%{_kde4_servicesdir}/thumbnail.protocol
%{_kde4_servicesdir}/timeline.protocol
%{_kde4_servicesdir}/trash.protocol
%{_kde4_servicesdir}/zip.protocol
%if %{suse_version} > 1130
%{_kde4_servicesdir}/lzma.protocol
%{_kde4_servicesdir}/xz.protocol
%{_kde4_servicesdir}/sftp.protocol
%endif

# --- services ---
%{_kde4_servicesdir}/comicbookthumbnail.desktop
%{_kde4_servicesdir}/componentchooser.desktop
%{_kde4_servicesdir}/cursorthumbnail.desktop
%{_kde4_servicesdir}/desktopthumbnail.desktop
%{_kde4_servicesdir}/device_automounter_kcm.desktop
%{_kde4_servicesdir}/directorythumbnail.desktop
%{_kde4_servicesdir}/djvuthumbnail.desktop
%{_kde4_servicesdir}/emoticons.desktop
%{_kde4_servicesdir}/exrthumbnail.desktop
%{_kde4_servicesdir}/filetypes.desktop
%{_kde4_servicesdir}/fixhosturifilter.desktop
%{_kde4_servicesdir}/htmlthumbnail.desktop
%{_kde4_servicesdir}/icons.desktop
%{_kde4_servicesdir}/imagethumbnail.desktop
%{_kde4_servicesdir}/jpegthumbnail.desktop
%{_kde4_servicesdir}/kcm_attica.desktop
%{_kde4_servicesdir}/kcmcgi.desktop
%{_kde4_servicesdir}/kcmkded.desktop
%{_kde4_servicesdir}/kcm_kdnssd.desktop
%{_kde4_servicesdir}/kcm_nepomuk.desktop
%{_kde4_servicesdir}/kcmnotify.desktop
%{_kde4_servicesdir}/kcm_phonon.desktop
%{_kde4_servicesdir}/kcmtrash.desktop
%{_kde4_servicesdir}/kglobalaccel.desktop
%{_kde4_servicesdir}/khelpcenter.desktop
%{_kde4_servicesdir}/kmanpart.desktop
%{_kde4_servicesdir}/knotify4.desktop
%{_kde4_servicesdir}/kshorturifilter.desktop
%{_kde4_servicesdir}/kuiserver.desktop
%{_kde4_servicesdir}/kuriikwsfilter.desktop
%{_kde4_servicesdir}/kurisearchfilter.desktop
%{_kde4_servicesdir}/kwalletd.desktop
%{_kde4_servicesdir}/language.desktop
%{_kde4_servicesdir}/localdomainurifilter.desktop
%{_kde4_servicesdir}/nepomukactivitiesservice.desktop
%{_kde4_servicesdir}/nepomukbackupsync.desktop
%{_kde4_servicesdir}/nepomukfileindexer.desktop
%{_kde4_servicesdir}/nepomukfilewatch.desktop
%{_kde4_servicesdir}/nepomukontologyloader.desktop
%{_kde4_servicesdir}/nepomukqueryservice.desktop
%{_kde4_servicesdir}/nepomukremovablestorageservice.desktop
%{_kde4_servicesdir}/nepomukstorage.desktop
%{_kde4_servicesdir}/nepomukstrigiservice.desktop
%{_kde4_servicesdir}/plasma-containment-newspaper.desktop
%{_kde4_servicesdir}/plasma-kpart.desktop
%{_kde4_servicesdir}/plasma-packagestructure-javascript-addon.desktop
%{_kde4_servicesdir}/plasma-scriptengine-applet-declarative.desktop
%{_kde4_servicesdir}/plasma-scriptengine-applet-simple-javascript.desktop
%{_kde4_servicesdir}/plasma-scriptengine-dataengine-javascript.desktop
%{_kde4_servicesdir}/plasma-scriptengine-runner-javascript.desktop
%{_kde4_servicesdir}/renaudiodlg.desktop
%{_kde4_servicesdir}/renimagedlg.desktop
%{_kde4_servicesdir}/searchproviders
%{_kde4_servicesdir}/spellchecking.desktop
%{_kde4_servicesdir}/svgthumbnail.desktop
%{_kde4_servicesdir}/textthumbnail.desktop
%{_kde4_servicesdir}/windowsimagethumbnail.desktop
%{_kde4_servicesdir}/windowsexethumbnail.desktop

# --- kded services ---
%{_kde4_servicesdir}/kded/desktopnotifier.desktop
%{_kde4_servicesdir}/kded/device_automounter.desktop
%{_kde4_servicesdir}/kded/kpasswdserver.desktop
%{_kde4_servicesdir}/kded/ktimezoned.desktop
%{_kde4_servicesdir}/kded/nepomuksearchmodule.desktop
%{_kde4_servicesdir}/kded/networkstatus.desktop
%{_kde4_servicesdir}/kded/networkwatcher.desktop
%{_kde4_servicesdir}/kded/phononserver.desktop
%{_kde4_servicesdir}/kded/remotedirnotify.desktop
%{_kde4_servicesdir}/kded/solidautoeject.desktop
%{_kde4_servicesdir}/kded/soliduiserver.desktop

# --- service types ---
%{_kde4_servicetypes}/knotifynotifymethod.desktop
%{_kde4_servicetypes}/nepomukservice.desktop
%{_kde4_servicetypes}/phononbackend.desktop
%{_kde4_servicetypes}/plasma-javascriptaddon.desktop
%{_kde4_servicetypes}/searchprovider.desktop
%{_kde4_servicetypes}/thumbcreator.desktop

# --- applications ---
%{_kde4_applicationsdir}/Help.desktop
%{_kde4_applicationsdir}/knetattach.desktop
%{_kde4_applicationsdir}/nepomukbackup.desktop
%{_kde4_applicationsdir}/nepomukcontroller.desktop

# --- autostart ---
%{_kde4_datadir}/autostart/nepomukcontroller.desktop
%{_kde4_datadir}/autostart/nepomukserver.desktop

# --- libraries---
%{_kde4_libdir}/libkwalletbackend.so.*
%{_kde4_libdir}/libmolletnetwork.so.*
%{_kde4_libdir}/libnepomuksync.so.*

# --- kconf update---
%{_kde4_libdir}/kconf_update_bin/phonon_devicepreference_update
%{_kde4_libdir}/kconf_update_bin/phonon_deviceuids_update

# --- executables ---
%{_kde4_bindir}/kcmshell4
%{_kde4_bindir}/kde4
%{_kde4_bindir}/kde4-menu
%{_kde4_bindir}/kdebugdialog
%{_kde4_bindir}/kde-cp
%{_kde4_bindir}/kde-mv
%{_kde4_bindir}/kde-open
%{_kde4_bindir}/kdesu
%{_kde4_bindir}/keditfiletype
%{_kde4_bindir}/kfile4
%{_kde4_bindir}/kglobalaccel
%{_kde4_bindir}/khelpcenter
%{_kde4_bindir}/khotnewstuff4
%{_kde4_bindir}/khotnewstuff-upload
%{_kde4_bindir}/kiconfinder
%{_kde4_bindir}/kioclient
%{_kde4_bindir}/kmimetypefinder
%{_kde4_bindir}/knotify4
%{_kde4_bindir}/kquitapp
%{_kde4_bindir}/kreadconfig
%{_kde4_bindir}/kstart
%{_kde4_bindir}/ksvgtopng
%{_kde4_bindir}/ktraderclient
%{_kde4_bindir}/ktrash
%{_kde4_bindir}/kuiserver
%{_kde4_bindir}/kwalletd
%{_kde4_bindir}/kwriteconfig
%{_kde4_bindir}/nepomukbackup
%{_kde4_bindir}/nepomukcontroller
%{_kde4_bindir}/nepomukindexer
%{_kde4_bindir}/nepomukserver
%{_kde4_bindir}/nepomukservicestub
%{_kde4_bindir}/nepomuk-simpleresource-rcgen
%{_kde4_bindir}/plasmapkg
%{_kde4_bindir}/plasma-remote-helper
%{_kde4_bindir}/solid-hardware

# --- dbus interfaces---
%{_kde4_datadir}/dbus-1/interfaces/org.kde.khelpcenter.kcmhelpcenter.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.KTimeZoned.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.NepomukServer.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.nepomuk.BackupSync.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.nepomuk.DataManagement.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.nepomuk.FileIndexer.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.nepomuk.OntologyManager.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.nepomuk.QueryService.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.nepomuk.Query.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.nepomuk.ResourceWatcher.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.nepomuk.ResourceWatcherConnection.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.nepomuk.services.nepomukbackupsync.backupmanager.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.nepomuk.services.nepomukbackupsync.syncmanager.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.nepomuk.ServiceControl.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.nepomuk.ServiceManager.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.nepomuk.Storage.xml
%{_kde4_datadir}/dbus-1/interfaces/org.kde.network.kioslavenotifier.xml

# --- dbus services ---
%{_kde4_datadir}/dbus-1/services/org.kde.knotify.service
%{_kde4_datadir}/dbus-1/services/org.kde.kuiserver.service
%if %suse_version > 1130
%{_kde4_datadir}/dbus-1/system-services/org.kde.kcontrol.kcmremotewidgets.service
%endif

# --- theme-related files ---
%{_kde4_datadir}/emoticons/
%{_kde4_iconsdir}/default.kde4
%{_kde4_datadir}/pixmaps/nepomuk.png
%{_kde4_datadir}/sounds/*.ogg
%{_kde4_iconsdir}/hicolor/*/apps/knetattach.*

# --- imports from platforms ---
%dir %{_kde4_modulesdir}/platformimports/
%{_kde4_modulesdir}/platformimports/touch/

# --- other ---
%{_kde4_datadir}/desktop-directories
%{_kde4_datadir}/locale/*
%{_kde4_datadir}/mime/packages/network.xml
%{_kde4_datadir}/ontology/kde/
%{_kde4_datadir}/polkit-1/actions/org.kde.kcontrol.kcmremotewidgets.policy

%changelog