File kdebase4-session.spec of Package kdebase4-session

# spec file for package kdebase4-session (Version MACRO)
# Copyright (c) 2009 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

Name:           kdebase4-session
License:        GPL v2 or later
Group:          System/GUI/KDE
Summary:        The KDE Session
Version:        %_kde_platform_version
Release:        7.<RELEASE1>
Source1:        kde4.desktop
Source2:        COPYING
Source3:        kde.desktop
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  kde4-filesystem
Requires:       kdebase4-workspace >= %_kde_platform_version
Provides:       kdebase3-session = 3.5.1
Obsoletes:      kdebase3-session <= 3.5.10

This package contains the startup scripts necessary to start a KDE
session from kdm.

    The KDE Team <>

mkdir -p $RPM_BUILD_ROOT/%name


install -m 0755 -d $RPM_BUILD_ROOT/usr/share/xsessions/
%if %suse_version > 1110
cp %{SOURCE3} $RPM_BUILD_ROOT/usr/share/xsessions/kde4.desktop
cp %{SOURCE1} $RPM_BUILD_ROOT/usr/share/xsessions/
install -D -m644 %{SOURCE2} $RPM_BUILD_ROOT/usr/share/doc/packages/kdebase4-session/COPYING

  rm -rf $RPM_BUILD_ROOT

%dir /usr/share/doc/packages/kdebase4-session

openSUSE Build Service is sponsored by