LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File konsole.spec of Package konsole4 (Project home:wolfi323:branches:KDE:Frameworks5)

#
# spec file for package konsole
#
# 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:           konsole
Version:        4.14.3
Release:        0
Summary:        KDE Terminal
License:        GPL-2.0+
Group:          System/X11/Terminals
Url:            http://www.kde.org/
Source0:        konsole-%{version}.tar.xz
Source4:        konsolesu.desktop
Source21:       utilities-terminal-su-16.png
Source22:       utilities-terminal-su-22.png
Source23:       utilities-terminal-su-32.png
Source24:       utilities-terminal-su-48.png
Source25:       utilities-terminal-su-64.png
Source26:       utilities-terminal-su-128.png
# PATCH-FIX-UPSTREAM
Patch:          Add-support-for-ECMA-48-REP.patch
BuildRequires:  fdupes
BuildRequires:  libkde4-devel
BuildRequires:  libkonq-devel >= %version
BuildRequires:  xz
BuildRequires:  pkgconfig(libxklavier)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Provides:       konsole-part = %{version}
Obsoletes:      konsole-part
Provides:       konsole4-part = %{version}
Obsoletes:      konsole4-part <= %{version}
%kde4_runtime_requires

%description
Konsole is a terminal emulator for the K Desktop Environment.

%prep
%setup -q -n konsole-%{version}
%patch -p1

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  pushd build
  %kde4_makeinstall
  popd
  install -D -m 0644 %{SOURCE4}  %{buildroot}%{_datadir}/applications/kde4/
  install -D -m 0644 %{SOURCE21} %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/utilities-terminal_su.png
  install -D -m 0644 %{SOURCE22} %{buildroot}%{_datadir}/icons/hicolor/22x22/apps/utilities-terminal_su.png
  install -D -m 0644 %{SOURCE23} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/utilities-terminal_su.png
  install -D -m 0644 %{SOURCE24} %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/utilities-terminal_su.png
  install -D -m 0644 %{SOURCE25} %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/utilities-terminal_su.png
  install -D -m 0644 %{SOURCE26} %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/utilities-terminal_su.png
  %suse_update_desktop_file konsole TerminalEmulator
  %fdupes -s %{buildroot} 
  %kde_post_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc COPYING README
%_kde4_applicationsdir/konsolesu.desktop
%_kde4_applicationsdir/konsole.desktop
%_kde4_iconsdir/hicolor/*/apps/utilities-terminal_su.png
%_kde4_appsdir/konsole/
%_kde4_servicesdir/*.desktop
%_kde4_servicesdir/ServiceMenus/*.desktop
%_kde4_servicetypes/*.desktop
%_kde4_libdir/*.so
%_kde4_modulesdir/*.so
%_kde4_bindir/konsole
%_kde4_bindir/konsoleprofile
%_kde4_htmldir/en/konsole/
%_kde4_appsdir/kconf_update/

%changelog