# # spec file for package yakuake # # 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 http://bugs.opensuse.org/ # Name: yakuake Version: 2.9.9 Release: 0 Summary: Terminal for KDE License: GPL-2.0+ Group: System/GUI/KDE Url: https://yakuake.kde.org Source: http://download.kde.org/stable/yakuake/%{version}/src/%{name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM yakuake-2.9.9_no-close.patch kde#308850 peter@rmk2.org -- patch comes from upstream Patch0: yakuake-2.9.9_no-close.patch BuildRequires: fdupes BuildRequires: libkde4-devel BuildRequires: xz %if 0%{?suse_version} > 1320 || 0%{?is_opensuse} Requires: konsole4-part %else Requires: konsole %endif Requires(post): desktop-file-utils Requires(postun): desktop-file-utils Recommends: %{name}-lang = %{version} Provides: kde4-yakuake = %{version} Obsoletes: kde4-yakuake < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %{kde4_runtime_requires} %description Yakuake is a retractable KDE Terminal Emulator. %lang_package %prep %setup -q %patch0 -p1 %build %cmake_kde4 -d build %make_jobs %install cd build %make_install %suse_update_desktop_file -G "Terminal Program" yakuake System TerminalEmulator cd .. %find_lang %{name} %fdupes -s %{buildroot} %post /sbin/ldconfig %desktop_database_post %postun /sbin/ldconfig %desktop_database_postun %files %defattr(-,root,root) %doc README AUTHORS ChangeLog COPYING COPYING.DOC NEWS %{_kde4_applicationsdir}/yakuake.desktop %{_kde4_appsdir}/yakuake %{_kde4_bindir}/yakuake %{_kde4_iconsdir}/hicolor/ %{_kde4_appsdir}/kconf_update/ %{_kde4_configdir}/yakuake.knsrc %files lang -f %{name}.lang %defattr(-,root,root) %changelog