File yakuake.spec of Package yakuake

#
# spec file for package yakuake (Version 2.9.6)
#
# Copyright (c) 2009 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/
#

# norootforbuild


Name:           yakuake
BuildRequires:  kdebase4-workspace-devel
License:        GPL v2 or later
Url:            http://kde-apps.org/content/show.php?content=29153
Group:          System/GUI/KDE
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        yakuake is a terminal for KDE
Version:        2.9.6
Release:        2
Source:         yakuake-%{version}.tar.bz2
Requires:       konsole
Provides:       kde4-yakuake = 2.9.4
Obsoletes:      kde4-yakuake <= 2.9.4

%description
Yakuake is a retractable KDE Terminal Emulator.



Authors:
--------
    Eike Hein <hein@kde.org> (current maintainer)
    Francois Chazal <neptune3k@free.fr> (inactive; original author)

%prep
%setup -n yakuake-%{version} -q

%build
  %cmake_kde4 -d build
  %make_jobs

%install
  cd build
  %makeinstall
  %suse_update_desktop_file -G "Terminal Program" yakuake System TerminalEmulator
  %find_lang yakuake

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files -f build/yakuake.lang
%defattr(-,root,root)
%doc README AUTHORS ChangeLog COPYING COPYING.DOC NEWS
/usr/bin/yakuake
/usr/share/applications/kde4/yakuake.desktop
/usr/share/icons/hicolor/*/apps/yakuake.*
/usr/share/kde4/apps/yakuake
%if %suse_version < 1120
%dir /usr/share/locale/hne
%dir /usr/share/locale/hne/LC_MESSAGES
%endif

%changelog
openSUSE Build Service is sponsored by