File plasma5-session.spec of Package plasma5-session

#
# spec file for package plasma5-session
#
# Copyright (c) 2014 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:           plasma5-session
Version:        5.0.95
Release:        0
Summary:        The KDE Session
License:        GPL-2.0+
Group:          System/GUI/KDE
Url:            http://www.kde.org/
Source1:        plasma5.desktop
Source2:        COPYING
BuildRequires:  kf5-filesystem
Requires:       breeze
Requires:       breeze4-style
Requires:       khotkeys5
Requires:       kwin5
Requires:       libkscreen2-plugin
Requires:       oxygen5-decoration
Requires:       plasma-nm5
Requires:       plasma5-desktop
Requires:       plasma5-workspace
Requires:       polkit-kde-agent-5
Requires:       powerdevil5
Requires:       systemsettings5
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       update-desktop-files
Requires(pre):  /usr/bin/sed /usr/bin/grep /usr/bin/cut

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

%prep

%build

%install
install -m 0755 -d %{buildroot}%{_datadir}/xsessions/
cp %{SOURCE1} %{buildroot}%{_datadir}/xsessions/
install -D -m644 %{SOURCE2} %{buildroot}%{_datadir}/doc/packages/plasma5-session/COPYING

%files
%defattr(-,root,root)
%{_datadir}/xsessions/plasma5.desktop
%dir %{_datadir}/doc/packages/plasma5-session
%{_datadir}/doc/packages/plasma5-session/COPYING

%changelog
openSUSE Build Service is sponsored by