LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kdebase4-workspace.spec of Package kdebase4-workspace (Project KDE:Distro:Factory)

#
# spec file for package kdebase4-workspace
#
# 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/
#


%if 0%{?suse_version} > 1220
%define with_systemd 1
%else
%define with_systemd 0
%endif

Name:           kdebase4-workspace
Version:        4.9.3
Release:        0
Summary:        The KDE Workspace Components
License:        GPL-2.0+
Group:          System/GUI/KDE
Url:            http://www.kde.org/
%if !%{with_systemd}
BuildRequires:  ConsoleKit-devel
%endif
%if 0%{?suse_version} > 1140
BuildRequires:  NetworkManager-devel > 0.8.997
%else
BuildRequires:  NetworkManager-devel < 0.8.5
%endif
BuildRequires:  audit-devel
BuildRequires:  bluez-devel
BuildRequires:  fdupes
BuildRequires:  gpsd-devel
BuildRequires:  libQtWebKit-devel
BuildRequires:  libdbusmenu-qt-devel
BuildRequires:  libkactivities-devel
BuildRequires:  libkde4-devel >= %{version}
BuildRequires:  libkdepimlibs4-devel >= %{version}
BuildRequires:  liblazy-devel
%if %suse_version > 1110
BuildRequires:  libpolkit-qt-1-devel
%endif
BuildRequires:  libprison-devel
BuildRequires:  libqalculate-devel
BuildRequires:  libqimageblitz-devel
BuildRequires:  libraw1394-devel
BuildRequires:  libsmbclient-devel
BuildRequires:  libusb-devel
BuildRequires:  pam-devel
BuildRequires:  pciutils-devel
BuildRequires:  xz
BuildRequires:  pkgconfig(libxklavier)
%ifnarch s390 s390x
BuildRequires:  libsensors4-devel
%endif
BuildRequires:  python-devel
Source0:        kde-workspace-%{version}.tar.xz
Source1:        rcksysguardd
Source2:        titlebar_decor.png
Source3:        kwin-cubecap.png
Source4:        sysconfig.displaymanager-kdm
Source5:        kdm
Source6:        kdm-logrotate
Source91:       %{name}-rpmlintrc
Patch0:         4_7_BRANCH.diff
Patch8:         kwin-suse.diff
Patch18:        startkde.diff
Patch60:        kdm-audit-log.diff
Patch62:        kdm-cope-with-new-grub.diff
Patch63:        kdm-relaxed-auth.diff
Patch64:        kdm-suspend-hal.diff
%if %suse_version > 1210
Patch65:        kdm-sysconfig-values.diff
%endif
Patch66:        kdm-wordbreak.diff
Patch67:        kdm-remove-duplicated-sessions.diff
Patch68:        kdm-make_it_cool.diff
Patch69:        kdm-all-users-nopass.diff
Patch70:        same-pam-generic-classic.diff
Patch71:        kdm-kdmconf.diff
Patch77:        systemsettings-desktop.diff
Patch82:        rotate-wacom-pointers.diff
Patch88:        kde4-migrate.diff
Patch94:        systemsettings-root-kcm.diff
Patch98:        kdm-dont-grab-mouse.diff
#Subject: Increase the time KDM waits for X to start up
#From: Lubos Lunak
#Patch-upstream: no
#Bug: bnc#462478
Patch99:        kdm-long-xserver-timeout.diff
Patch104:       plasma-branding-defaults-applets.diff
Patch106:       plasma-dashboard-leave.diff
Patch107:       plasma-kickoff-newly-collapsing.diff
Patch108:       plasma-panel-resize-hint.diff
Patch123:       kdm-fix-generic-greeter.diff
Patch124:       kdm-fix-labelcolors.diff
Patch125:       pam-translate.diff
Patch126:       dont-install-solid-netbackends.diff
Patch201:       plasma-notifications-kill-timer.diff
Patch202:       plasma-disable-networkmanager.diff
# PATCH-FIX-OPENSUSE kdm_systemd_shutdown.patch Avoid the situation where systemd would kill KDM 
# which prevents reboot/shutdown (Fedora Patch)
Patch213:       kdm_systemd_shutdown.patch
%if %{with_systemd}
# PATCH-FIX-OPENSUSE workspace_systemd_initial_support.patch
# This patch rewrites the reboot/shutdown code within workspace so that it works with systemd. 
# Downside is that ConsoleKit is no longer supported and requires that NetworkManager and PolKit
# are also both build with systemd support. Not activated at the moment due to sysvinit fallback!!
Patch214:       workspace_systemd_initial_support.patch
%endif
# Patch from Fedora to enable plymouth support in KDM. 
# Patch is based on the changes within GDM to detect running plymouth 
# and issue a quit to the plymouth daemon
Patch400:       kdm_plymouth.patch
# PATCH-FIX-OPENSUSE opensuse-homepage.diff
Patch401:       opensuse-homepage.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if %suse_version > 1200
Requires:       %{name}-branding = %{version}
%else
Requires:       %{name}-branding
%endif
Requires:       %{name}-ksysguardd = %{version}
Recommends:     %{name}-ksysguard = %{version}
Requires:       %{name}-liboxygenstyle = %{version}
# Requires /etc/xdg/menus/applications.menu (bnc#754104)
Requires:       desktop-data-openSUSE
Requires:       kactivities4 >= %{version}
Requires:       kde4-kgreeter-plugins = %{version}
%if %suse_version > 1110
Requires:       polkit-kde-agent-1
Requires:       polkit-kde-kcmmodules-1
%endif
Requires:       windowmanager
%if %suse_version > 1210
# patch kdm-sysconfig-values.diff requires /var/lib/xdm/authdir/authfiles (bnc#784212)
Requires:       xdm
%endif
%if %suse_version > 1220
Requires:       xmessage
Requires:       xprop
%endif
Requires:       kdebase4-artwork
Recommends:     kdebase4-SuSE
Recommends:     kwin
Recommends:     plasma-addons
Recommends:     plasmoid-quickaccess
Recommends:     python-kdebase4
Suggests:       kdebase4-wallpapers
Suggests:       kdm
Requires(pre):  permissions
%define debug_package_requires %{name} = %{version}-%{release} kdelibs4-debuginfo
Provides:       kdebase3:/opt/kde3/bin/kicker
Provides:       powerdevil = 1.4.1
Obsoletes:      powerdevil < 1.4.1
Provides:       powerdevil-lang = 1.4.1
Obsoletes:      powerdevil-lang < 1.4.1
Provides:       kpowersave = 0.7.3_svn3167
Obsoletes:      kpowersave < 0.7.3_svn3167
Provides:       kpowersave-lang = 0.7.3_svn3167
Obsoletes:      kpowersave-lang < 0.7.3_svn3167
Provides:       kde4-plasmoid-quicklauncher = 0.4
Obsoletes:      kde4-plasmoid-quicklauncher < 0.4
Provides:       PolicyKit-kde = 0.2.0
Obsoletes:      PolicyKit-kde < 0.2.0
Provides:       PolicyKit-kde-lang = 11.2
Obsoletes:      PolicyKit-kde-lang < 11.2
# kdeaccessibility package used to contain Zion
# color scheme which is now in -workspace
Provides:       kdeaccessibility = %{version}
Obsoletes:      kdeaccessibility < %{version}
%kde4_runtime_requires
%define _dminitdir %{_kde4_prefix}/lib/X11/displaymanagers

%description
This package contains the basic packages for a K Desktop Environment
workspace.

%package branding-upstream
Summary:        The KDE Workspace Components
Group:          System/GUI/KDE
Provides:       %{name}-branding = %{version}
Supplements:    packageand(%{name}:branding-upstream)
Conflicts:      otherproviders(%{name}-branding)

%description branding-upstream
This package contains the basic packages for a K Desktop Environment
workspace.

%package -n kdm-branding-upstream
Summary:        KDE login and display manager - upstream branding
Group:          System/GUI/KDE
Provides:       kdm-branding = %{version}
Requires(pre):  %fillup_prereq
Supplements:    packageand(kdm:branding-upstream)
Provides:       kde4-kdm-branding-upstream = 4.3.0
Obsoletes:      kde4-kdm-branding-upstream < 4.3.0
Conflicts:      otherproviders(kdm-branding)

%description -n kdm-branding-upstream
This package contains the upstream branding for KDE's display manager
kdm.

%package ksysguardd
Summary:        KDE base package: ksysguard daemon
Group:          System/GUI/KDE
Requires(pre):  %insserv_prereq

%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 enable monitoring them remotely with ksysguard.

%package ksysguard
Summary:        KDE base package: ksysguard Application
Group:          System/GUI/KDE
%kde4_runtime_requires

%description ksysguard
This package contains the ksysguard application.

%package -n kwin
Summary:        KDE Window Manager
Group:          System/GUI/KDE
Provides:       windowmanager
%kde4_runtime_requires
%if %suse_version > 1200
Requires:       %{name}-branding = %{version}
%else
Requires:       %{name}-branding
%endif
Provides:       kde4-kwin = 4.3.0
Provides:       kdebase3:/opt/kde3/bin/kwin
Obsoletes:      kde4-kwin < 4.3.0

%description -n kwin
KWin is the window manager of the K desktop environment.

%package -n kde4-kgreeter-plugins
Summary:        The KDE Greeter Plugin Components
Group:          System/GUI/KDE
Provides:       windowmanager
%kde4_runtime_requires

%description -n kde4-kgreeter-plugins
This package contains the Greeter Plugins that are needed by KDM and
Screensaver unlocking

%package devel
Summary:        The KDE Workspace Components
Group:          Development/Libraries/KDE
Requires:       %{name} = %{version}
Requires:       kwin = %{version}
Requires:       libQtWebKit-devel
Requires:       libkde4-devel >= %{version}
Provides:       plasma-devel = %{version}
%kde4_runtime_requires

%description devel
This package contains the basic packages for a K Desktop Environment
workspace.

%package -n kdm
Summary:        KDE login and display manager
Group:          System/GUI/KDE
%if %suse_version > 1200
Requires:       kdm-branding = %{version}
%else
Requires:       kdm-branding
%endif
%if !%{with_systemd}
Requires:       ConsoleKit-x11
%endif
Requires:       kde4-kgreeter-plugins = %{version}
Requires:       pam-config
Requires:       xorg-x11-server
Provides:       kdebase3-kdm = 3.5.1
Obsoletes:      kdebase3-kdm < 3.5.1
Provides:       kde4-kdm = 4.3.0
Obsoletes:      kde4-kdm < 4.3.0
%kde4_runtime_requires

%description -n kdm
This package contains kdm, the login and session manager for KDE.

%package liboxygenstyle
Summary:        The Libraries of the oxygen-style
Group:          System/GUI/KDE
Requires:       %{name} = %{version}
%kde4_runtime_requires

%description liboxygenstyle
This package contains the libraries of the oxygen style.

%package plasma-engine-akonadi
Summary:        The Akonadi Plasma engine
Group:          System/GUI/KDE
Supplements:    packageand(akonadi-runtime:kdebase4-workspace)
Provides:       kdebase4-workspace:%_libdir/kde4/plasma_engine_akonadi.so
Requires:       %{name} = %{version}
%kde4_akonadi_requires
%kde4_pimlibs_requires
%kde4_runtime_requires

%description plasma-engine-akonadi
This packages contains the Akonadi Plasma engine.

%package plasma-calendar
Summary:        The calendar Plasma engine and applet
Group:          System/GUI/KDE
Provides:       kdebase4-workspace:%_libdir/kde4/plasma_engine_calendar.so
Supplements:    packageand(akonadi-runtime:kdebase4-workspace)
Requires:       %{name} = %{version}
Recommends:     akonadi-runtime

%description plasma-calendar
This packages contains the calendar Plasma engine and applet, which are based on Akonadi.

%package -n python-kdebase4
Summary:        Python bindings for KDE 4 desktop shell
Group:          System/GUI/KDE
Requires:       python-kde4 = %{version}

%description -n python-kdebase4
Python bindings for Plasma, the KDE 4 desktop shell.  These bindings
allow Plasmoids written in Python

%prep
%setup -q -n kde-workspace-%{version}
%patch0 -p1
###KDE47: rewrite!
#%%patch8
%patch18
#%%patch60
%patch62
%patch63
%patch64
%if %suse_version > 1210
%patch65
%endif
%patch66
%patch67
%patch68
%patch69
%patch70 -p0
%patch71
%patch77
%patch82
%patch88
### Remove when KDM KCM configuration bugs are fixed
###KDE47: rediff!
#%%patch94
%patch98
%patch99
%patch104
%patch106
%patch107
%patch108
%patch123
%patch124 -p1
###KDE47: rediff
#%%patch125
%patch126 -p1
%patch201 -p1
%patch202 -p1
%patch213 -p1
%if %{with_systemd}
%patch214 -p1
%endif
%patch400 -p0
%patch401 -p1
cp %{SOURCE3} kwin/effects/cube/data/cubecap.png

%build
### TODO: -DKDE4_ENABLE_FINAL=1
  EXTRA_FLAGS="-DKDE4_COMMON_PAM_SERVICE=xdm \
      -DKDE4_KCHECKPASS_PAM_SERVICE=xdm \
      -DSYSCONF_INSTALL_DIR=/etc \
%if %{with_systemd}
      -DKWORKSPACE_USE_SYSTEMD=1 \
%endif
      -DKDE4_ENABLE_FPIE=1"
  %cmake_kde4 -d build -- $EXTRA_FLAGS
  %make_jobs

%install
  cd build
  %make_install
  install -m 644 %{SOURCE2} %{buildroot}%{_kde4_appsdir}/kwin/
  mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates/
  install -m 644 %{SOURCE4} %{buildroot}%{_localstatedir}/adm/fillup-templates/
  %create_subdir_filelist -d kdm       -v devel
  %create_subdir_filelist -d kwin      -v devel
  %create_subdir_filelist -d ksysguard -v devel
  cd ..
  sed -ri "s,.*%{_kde4_configdir}/kdm/backgroundrc,," filelists/kdm
  sed -ri "s,.*%{_kde4_configdir}/kdm/README,," filelists/kdm
  sed -ri "s,.*(%{_kde4_configdir}/kdm/kdmrc),%config(noreplace) \1," filelists/kdm
  rm -f %{buildroot}/%{_kde4_configdir}/kdm/README
  sed -ri "s,.*%{_kde4_appsdir}/kdm/themes/oxygen.*,," filelists/kdm
  sed -ri "s,.*%{_kde4_appsdir}/kdm/pics.*,," filelists/kdm
  ls -1 %{buildroot}%{_kde4_wallpapersdir}/ | while read wallpaper; \
    do test "$wallpaper" = "Horos" -o ! -d "%{buildroot}%{_kde4_wallpapersdir}/$wallpaper" \
	|| rm -r "%{buildroot}%{_kde4_wallpapersdir}/$wallpaper"; done
  mkdir -p %{buildroot}/etc
  rm -rf %{buildroot}%{_kde4_htmldir}/en/kicker
  pushd $RPM_BUILD_DIR/%buildsubdir/
  cat filelists/devel filelists/kdm filelists/kwin | while read line; do echo "%exclude $line";done >filelists/exclude
  popd
  %suse_update_desktop_file    systemsettings X-SuSE-core
  %suse_update_desktop_file    ksysguard      System Monitor
  %suse_update_desktop_file    kmenuedit      Core-Configuration
  %suse_update_desktop_file -r klipper        System TrayIcon
  %suse_update_desktop_file -r krandrtray     System TrayIcon
  mkdir -p %{buildroot}%{_kde4_sysconfdir}/init.d
  install -m 755 %{SOURCE1} %{buildroot}%{_initddir}/ksysguardd
  mkdir -p  %{buildroot}%{_kde4_sbindir}
  ln -sf ../../etc/init.d/ksysguardd %{buildroot}%{_kde4_sbindir}/rcksysguardd
  ln -sf rcxdm %{buildroot}%{_kde4_sbindir}/rckdm
  mkdir -p %{buildroot}%{_kde4_sysconfdir}/logrotate.d/
  install -m 644 %{SOURCE6} %{buildroot}%{_kde4_sysconfdir}/logrotate.d/kdm
  # Make it constant so build-compare doesn't complains. If commented postinstall
  # will generate a new one through genkdmconf.
  sed -i 's/^ForgingSeed=[0-9]\+/#ForgingSeed=1111122222/' %{buildroot}%{_kde4_configdir}/kdm/kdmrc
  mkdir -p %{buildroot}%{_dminitdir}/
  cp %{SOURCE5} %{buildroot}%{_dminitdir}/

  # Fix python-bytecode-inconsistent-mtime
  for path in "%{buildroot}%{python_sitearch}" "%{buildroot}%_kde_share_dir/apps/plasma_scriptengine_python"; do
    pushd "$path"
    %py_compile .
    popd
  done

  %fdupes -s %{buildroot}
  %kde_post_install

%clean
  rm -rf %{buildroot}
  rm -rf filelists

%if 0%{?suse_version} >= 1140
%verifyscript
%verify_permissions -e %{_kde4_libexecdir}/kcheckpass
%verify_permissions -e %{_kde4_libexecdir}/kdesud
%endif

%post
/sbin/ldconfig
%if 0%{?suse_version} >= 1140
%set_permissions %{_kde4_libexecdir}/kcheckpass
%set_permissions %{_kde4_libexecdir}/kdesud
%endif

%postun -p /sbin/ldconfig

%post -n kdm
%{_kde4_bindir}/genkdmconf
%{remove_and_set -n displaymanager KDM_SHUTDOWN}
if test -n "$KDM_SHUTDOWlibsystemsettingsview.soN" -a "$KDM_SHUTDOWN" != "no"; then
  if test "$KDM_SHUTDOWN" = "local" ; then
    KDM_SHUTDOWN=all
  fi
  case "$KDM_SHUTDOWN" in
  "auto" | "none" | "root")
    sed -i -e "s/^DISPLAYMANAGER_SHUTDOWN=.*/DISPLAYMANAGER_SHUTDOWN=\"$KDM_SHUTDOWN\"/" %{_kde4_sysconfdir}/sysconfig/displaymanager
    ;;
  esac
fi
/sbin/ldconfig

%postun -n kdm -p /sbin/ldconfig

%post -n kdm-branding-upstream
%{fillup_only -n displaymanager -s kdm}

%preun ksysguardd
%stop_on_removal ksysguardd

%post ksysguardd
/sbin/ldconfig
%{fillup_and_insserv -f ksysguardd}

%postun ksysguardd
/sbin/ldconfig
%restart_on_update ksysguardd
%insserv_cleanup
exit 0

%post   -n kwin -p /sbin/ldconfig

%postun -n kwin -p /sbin/ldconfig

%post   liboxygenstyle -p /sbin/ldconfig

%postun liboxygenstyle -p /sbin/ldconfig

%files branding-upstream
%defattr(-,root,root)
%doc COPYING
%{_kde4_appsdir}/kwin/cubecap.png
%{_kde4_appsdir}/kwin/titlebar_decor.png
%dir %{_kde4_wallpapersdir}
%if 0%{?suse_version} > 1140
%{_kde4_appsdir}/plasma-desktop/init
%{_kde4_appsdir}/plasma-netbook/init
%{_kde4_appsdir}/plasma/layout-templates
%endif

%files -n kde4-kgreeter-plugins
%defattr(-,root,root)
%{_kde4_modulesdir}/kgreet_*.so

%files -n kdm -f filelists/kdm
%defattr(-,root,root)
%doc COPYING COPYING.DOC README
%config %{_kde4_sysconfdir}/logrotate.d/kdm
%lang(en) %{_kde4_htmldir}/en/kdm
%dir %{_kde4_configdir}/kdm
%config %{_kde4_configdir}/kdm.knsrc
%dir %{_kde4_appsdir}/doc
%dir %{_kde4_appsdir}/doc/kdm
%dir %{_kde4_appsdir}/kdm
%{_kde4_sbindir}/rckdm
%dir %{_kde4_wallpapersdir}
%dir %{_dminitdir}
%{_dminitdir}/kdm
%config %{_kde4_sysconfdir}/dbus-1/system.d/org.kde.kcontrol.kcmkdm.conf

%files -n kdm-branding-upstream
%defattr(-,root,root)
%doc COPYING
%config(noreplace) %{_kde4_configdir}/kdm/backgroundrc
%{_kde4_appsdir}/kdm/pics
%{_localstatedir}/adm/fillup-templates/sysconfig.displaymanager-kdm

%files ksysguardd -f filelists/ksysguard
%defattr(-,root,root)
%doc COPYING COPYING.DOC README
%config %{_kde4_sysconfdir}/init.d/ksysguardd
%{_kde4_sbindir}/rcksysguardd
%config(noreplace) %{_kde4_sysconfdir}/ksysguarddrc
%exclude %{_kde4_appsdir}/ksysguard/
%exclude %{_kde4_configdir}/ksysguard.knsrc

%files ksysguard
%defattr(-,root,root)
%doc COPYING COPYING.DOC README
%{_kde4_appsdir}/ksysguard/
%config %{_kde4_configdir}/ksysguard.knsrc

%files -n kwin -f filelists/kwin
%defattr(-,root,root)
%doc COPYING COPYING.DOC README kwin/clients/aurorae/theme-description
%dir %{_kde4_servicesdir}/kwin
%exclude %{_kde4_appsdir}/kwin/cubecap.png
%exclude %{_kde4_appsdir}/kwin/titlebar_decor.png
%{_kde4_appsdir}/kwin/default_rules/plasma_desktop_containment.kwinrules

%files liboxygenstyle
%defattr(-,root,root)
%doc COPYING COPYING.DOC README
%{_kde4_libdir}/liboxygenstyle.*
%dir %{_kde4_modulesdir}/plugins/styles
%{_kde4_modulesdir}/plugins/styles/oxygen.so

%files plasma-engine-akonadi
%defattr(-,root,root)
%{_kde4_modulesdir}/plasma_engine_akonadi.so
%{_kde4_servicesdir}/plasma-engine-akonadi.desktop

%files plasma-calendar
%defattr(-,root,root)
%{_kde4_modulesdir}/plasma_*_calendar.so
%{_kde4_servicesdir}/plasma-*-calendar.desktop

%files devel -f filelists/devel
%defattr(-,root,root)
%doc COPYING COPYING.DOC README
%{_includedir}/*
%{_kde4_appsdir}/cmake
%{_kde4_libdir}/liblsofui.so
%{_kde4_modulesdir}/plugins/designer/ksysguardlsofwidgets.so
%{_kde4_libdir}/libsolidcontrolifaces.so
%{_kde4_libdir}/libsolidcontrol.so
%{_kde4_libdir}/libkworkspace.so
%{_kde4_libdir}/libkscreensaver.so
%{_kde4_libdir}/libprocesscore.so
%{_kde4_libdir}/libprocessui.so
%{_kde4_libdir}/libksgrd.so
%{_kde4_libdir}/libtaskmanager.so
%{_kde4_libdir}/libksignalplotter.so
%{_kde4_libdir}/libweather_ion.so
%{_kde4_libdir}/libkfontinst.so
%{_kde4_libdir}/libkfontinstui.so
%{_kde4_libdir}/libplasmaclock.so
%{_kde4_libdir}/libkephal.so
%{_kde4_libdir}/libplasma_applet-system-monitor.so
%{_kde4_libdir}/libplasma-geolocation-interface.so
%{_kde4_libdir}/libplasmagenericshell.so
%{_kde4_libdir}/libsystemsettingsview.so
%{_kde4_libdir}/cmake/KDE4Workspace/

%files -n python-kdebase4
%defattr(-,root,root)
%doc COPYING README
%py_sitedir/PyKDE4
%_kde_share_dir/apps/plasma_scriptengine_python
%_kde4_servicesdir/plasma-scriptengine-applet-python.desktop
%_kde4_servicesdir/plasma-scriptengine-dataengine-python.desktop
%_kde4_servicesdir/plasma-scriptengine-runner-python.desktop
%_kde4_servicesdir/plasma-scriptengine-wallpaper-python.desktop

%files -f filelists/exclude
%defattr(-,root,root)
#positives
%doc COPYING COPYING.DOC README
%doc %lang(en) %{_kde4_htmldir}/en/
%{_kde4_applicationsdir}/
%{_kde4_appsdir}/
%{_kde4_bindir}/*
%config %{_kde4_configdir}/
%config %{_kde4_configkcfgdir}/
%{_kde4_datadir}/autostart/
%{_kde4_datadir}/dbus-1/
%if %suse_version > 1110
%{_kde4_datadir}/polkit-1/
%endif
%{_kde4_iconsdir}/Oxygen*
%{_kde4_iconsdir}/hicolor/*/*/*
%{_kde4_iconsdir}/oxygen/*/*
%{_kde4_libdir}/kconf_update_bin/
%dir %{_kde4_libdir}/strigi
%{_kde4_libdir}/strigi/strigita_font.so
%{_kde4_libdir}/*.so
%{_kde4_libdir}/*.so.*
%attr(-, root, shadow) %{_kde4_libexecdir}/kcheckpass
%{_kde4_mandir}/man1/plasmapkg.1.gz
%{_kde4_mandir}/man1/plasmaengineexplorer.1.gz
%{_kde4_mandir}/man1/plasmoidviewer.1.gz
%{_kde4_modulesdir}/
%{_kde4_sharedir}/services/
%{_kde4_sharedir}/servicetypes/
%config %{_kde4_sysconfdir}/dbus-1/system.d/org.kde.*

#blacklist
%exclude %{_kde_share_dir}/apps/plasma_scriptengine_python
%exclude %{_kde4_applicationsdir}/ksysguard.desktop
%exclude %{_kde4_appsdir}/kwin/default_rules/plasma_desktop_containment.kwinrules
%exclude %{_kde4_appsdir}/cmake
%exclude %{_kde4_appsdir}/doc
%exclude %{_kde4_appsdir}/doc/kdm
%exclude %{_kde4_appsdir}/kdm
%exclude %{_kde4_appsdir}/ksysguard
%exclude %{_kde4_appsdir}/kwin/cubecap.png
%exclude %{_kde4_appsdir}/kwin/titlebar_decor.png
%exclude %{_kde4_bindir}/ksysguard
%exclude %{_kde4_bindir}/ksysguardd
%exclude %{_kde4_configdir}/kdm
%exclude %{_kde4_configdir}/kdm/backgroundrc
%exclude %{_kde4_configdir}/ksysguard.knsrc
%exclude %{_kde4_htmldir}/en/kdm
%exclude %{_kde4_htmldir}/en/ksysguard
%exclude %{_kde4_iconsdir}/oxygen/16x16/apps/daemon.png
%exclude %{_kde4_iconsdir}/oxygen/16x16/apps/ksysguardd.png
%exclude %{_kde4_iconsdir}/oxygen/16x16/apps/waiting.png
%exclude %{_kde4_iconsdir}/oxygen/16x16/apps/kernel.png
%exclude %{_kde4_iconsdir}/oxygen/16x16/apps/computer.png
%exclude %{_kde4_iconsdir}/oxygen/16x16/apps/running.png
%exclude %{_kde4_iconsdir}/oxygen/16x16/apps/unknownapp.png
%exclude %{_kde4_iconsdir}/oxygen/16x16/apps/kdeapp.png
%exclude %{_kde4_iconsdir}/oxygen/16x16/apps/shell.png
%exclude %{_kde4_libdir}/libkdeinit4_ksysguard.so
%exclude %{_kde4_libdir}/libkephal.so
%exclude %{_kde4_libdir}/libkfontinst.so
%exclude %{_kde4_libdir}/libkfontinstui.so
%exclude %{_kde4_libdir}/libkscreensaver.so
%exclude %{_kde4_libdir}/libksignalplotter.so
%exclude %{_kde4_libdir}/libksgrd.so
%exclude %{_kde4_libdir}/libkworkspace.so
%exclude %{_kde4_libdir}/liblsofui.so
%exclude %{_kde4_libdir}/liboxygenstyle.*
%exclude %{_kde4_libdir}/libplasmaclock.so
%exclude %{_kde4_libdir}/libplasmagenericshell.so
%exclude %{_kde4_libdir}/libplasma_applet-system-monitor.so
%exclude %{_kde4_libdir}/libplasma-geolocation-interface.so
%exclude %{_kde4_libdir}/libprocesscore.so
%exclude %{_kde4_libdir}/libprocessui.so
%exclude %{_kde4_libdir}/libsolidcontrol.so
%exclude %{_kde4_libdir}/libsolidcontrolifaces.so
%exclude %{_kde4_libdir}/libsystemsettingsview.so
%exclude %{_kde4_libdir}/libtaskmanager.so
%exclude %{_kde4_libdir}/libweather_ion.so
%exclude %{_kde4_modulesdir}/kcm_kdm.so
%exclude %{_kde4_modulesdir}/kgreet_*.so
%exclude %{_kde4_modulesdir}/plasma_*_calendar.so
%exclude %{_kde4_modulesdir}/plasma_engine_akonadi.so
%exclude %{_kde4_modulesdir}/plugins/designer/ksysguardlsofwidgets.so
%exclude %{_kde4_modulesdir}/plugins/styles
%exclude %{_kde4_modulesdir}/plugins/styles/oxygen.so
%exclude %{_kde4_servicesdir}/kwin
%exclude %{_kde4_servicesdir}/plasma-*-calendar.desktop
%exclude %{_kde4_servicesdir}/plasma-engine-akonadi.desktop
%exclude %{_kde4_sysconfdir}/dbus-1/system.d/org.kde.kcontrol.kcmkdm.conf
%exclude %{_localstatedir}/adm/fillup-templates/sysconfig.displaymanager-kdm
%exclude %{_kde4_servicesdir}/plasma-scriptengine-applet-python.desktop
%exclude %{_kde4_servicesdir}/plasma-scriptengine-dataengine-python.desktop
%exclude %{_kde4_servicesdir}/plasma-scriptengine-runner-python.desktop
%exclude %{_kde4_servicesdir}/plasma-scriptengine-wallpaper-python.desktop
%if 0%{?suse_version} > 1140
%exclude %{_kde4_appsdir}/plasma-desktop/init
%exclude %{_kde4_appsdir}/plasma-netbook/init
%exclude %{_kde4_appsdir}/plasma/layout-templates
%endif

%changelog