SHA256
1
0
forked from pool/yakuake
yakuake/yakuake.spec

74 lines
1.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package yakuake
#
# Copyright (c) 2011 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: yakuake
Version: 2.9.8
Release: 8
License: GPL-2.0+
Summary: Terminal for KDE
Url: http://kde-apps.org/content/show.php?content=29153
Group: System/GUI/KDE
Source: %{name}-%{version}.tar.bz2
BuildRequires: fdupes
BuildRequires: libkde4-devel
Requires: konsole
Provides: kde4-yakuake = %{version}
Obsoletes: kde4-yakuake < %{version}
Recommends: %{name}-lang = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
Yakuake is a retractable KDE Terminal Emulator.
%lang_package
%prep
%setup -q
%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 -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%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/
%files lang -f %{name}.lang
%changelog