File konsole4-part.spec of Package konsole4-part

# spec file for package konsole4-part
# Copyright (c) 2015 SUSE LINUX 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:           konsole4-part
Version:        4.14.3
Release:        0
Summary:        KDE Terminal
License:        GPL-2.0+
Group:          System/X11/Terminals
Source0:        konsole-%{version}.tar.xz
BuildRequires:  fdupes
BuildRequires:  libkde4-devel
BuildRequires:  libkonq-devel >= %version
BuildRequires:  xz
BuildRequires:  pkgconfig(libxklavier)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Konsole is a terminal emulator for the K Desktop Environment.
This package provides KPart of the Konsole application.

%setup -q -n konsole-%{version}

  %cmake_kde4 -d build

  pushd build
  %fdupes -s %{buildroot} 
  rm %{buildroot}%_kde4_applicationsdir/konsole.desktop
  rm %{buildroot}%_kde4_bindir/konsole
  rm %{buildroot}%_kde4_bindir/konsoleprofile
  rm -rf %{buildroot}%_kde4_htmldir/en/konsole/

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig


openSUSE Build Service is sponsored by