Init package

This commit is contained in:
dillon chen 2020-07-26 17:08:21 +08:00
parent 78f72c7d8d
commit 73cacf5a2e
2 changed files with 61 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,61 @@
Name: xfce4-whiskermenu-plugin
Version: 2.4.6
Release: 1
Summary: Alternate menu plugin for the Xfce
License: GPLv2+
#Group: Development/Libraries
URL: http://gottcode.org/xfce4-whiskermenu-plugin/
Source0: http://archive.xfce.org/src/panel-plugins/%{name}/2.4/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
BuildRequires: gcc-c++
BuildRequires: cmake
BuildRequires: gettext
BuildRequires: exo-devel
BuildRequires: garcon-devel
BuildRequires: libxfce4ui-devel
BuildRequires: libxfce4util-devel
BuildRequires: xfce4-panel-devel
Requires: xfce4-panel
Requires: hicolor-icon-theme
%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.
%prep
%setup -q
%build
mkdir build && pushd build
%cmake ..
%make_build
popd
%install
pushd build
%make_install
popd
%find_lang %{name}
%ldconfig_scriptlets
%files -f %{name}.lang
%license COPYING
%doc README NEWS
%{_bindir}/xfce4-popup-whiskermenu
%{_libdir}/xfce4/panel/plugins/libwhiskermenu.so
# Type=X-XFCE-PanelPlugin is a valid extension of freedesktop.org specs, but
# desktop-file-utils refuse to install or verify these files
%{_datadir}/xfce4/panel/plugins/whiskermenu.desktop
%{_datadir}/icons/hicolor/*/apps/xfce4-whiskermenu.*g
%{_mandir}/man1/xfce4-popup-whiskermenu.1*
%changelog
* Mon Jul 27 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 2.4.6-1
- Init package