File xfce4-panel-plugin-whiskermenu.spec of Package xfce4-panel-plugin-whiskermenu

#
# spec file for package xfce4-panel-plugin-whiskermenu
#
# 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:           xfce4-panel-plugin-whiskermenu
Version:        1.5.0
Release:        0
Summary:        Alternate Xfce Menu
License:        GPL-2.0+
Group:          System/GUI/XFCE
Url:            http://gottcode.org/xfce4-whiskermenu-plugin/
Source0:        http://gottcode.org/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-%{version}-src.tar.bz2
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig(exo-1)
BuildRequires:  pkgconfig(garcon-1)
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  pkgconfig(libxfce4panel-1.0)
BuildRequires:  pkgconfig(libxfce4ui-1)
BuildRequires:  pkgconfig(libxfce4util-1.0)
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Whisker Menu is an alternate application launcher for Xfce. When you
open it you are shown a list of applications you have marked as
favorites. You can browse through all of your installed applications by
clicking on the category buttons on the side. Top level categories make
browsing fast, and simple to switch between. Additionally, Whisker Menu
keeps a list of the last ten applications that you’ve launched from it.

%lang_package

%prep
%setup -qn xfce4-whiskermenu-plugin-%{version}

%build
%cmake
make %{?_smp_mflags} VERBOSE=1

%install
%cmake_install
%find_lang xfce4-whiskermenu-plugin %{?no_lang_C}

%post
%icon_theme_cache_post

%postun
%icon_theme_cache_postun

%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%{_bindir}/xfce4-popup-whiskermenu
%{_libdir}/xfce4/panel/plugins/libwhiskermenu.so
%{_datadir}/icons/hicolor/*/*/xfce4-whiskermenu.*
%{_datadir}/xfce4/panel/plugins/whiskermenu.desktop
%doc %{_mandir}/man?/xfce4-popup-whiskermenu.*

%files lang -f xfce4-whiskermenu-plugin.lang

%changelog
openSUSE Build Service is sponsored by