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

#
# spec file for package xfce4-whiskermenu-plugin
#
# Copyright (c) 2024 Graeme Gott <graeme@gottcode.org>
#
# 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.

Name:           xfce4-whiskermenu-plugin
Summary:        Alternate Xfce menu
Version:        2.8.3
Release:        1
URL:            https://gottcode.org/%{name}/
Source:         %{name}-%{version}.tar.bz2

#--------------------------------------------------------------------
# Red Hat
#--------------------------------------------------------------------
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?scientificlinux_version}
License:        GPLv2+
Group:          Graphical desktop/Xfce

BuildRequires:  gettext
%endif
#--------------------------------------------------------------------
# Mageia
#--------------------------------------------------------------------
%if 0%{?mgaversion}
License:        GPLv2+
Group:          Graphical desktop/Xfce

BuildRequires:  gettext
%endif
#--------------------------------------------------------------------
# SUSE
#--------------------------------------------------------------------
%if 0%{?suse_version}
License:        GPL-2.0-or-later
Group:          System/GUI/XFCE

BuildRequires:  pkgconfig
%endif
#--------------------------------------------------------------------
# All
#--------------------------------------------------------------------
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  pkgconfig(accountsservice) >= 0.6.45
BuildRequires:  pkgconfig(exo-2) >= 0.11
BuildRequires:  pkgconfig(garcon-1)
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.22
BuildRequires:  pkgconfig(gtk-layer-shell-0) >= 0.7
BuildRequires:  pkgconfig(libxfce4panel-2.0) >= 4.11
BuildRequires:  pkgconfig(libxfce4ui-2) >= 4.11
BuildRequires:  pkgconfig(libxfce4util-1.0) >= 4.11
#--------------------------------------------------------------------

%description
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

#--------------------------------------------------------------------
# Red Hat
#--------------------------------------------------------------------
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?scientificlinux_version}
%build
%cmake
%cmake_build

%install
%cmake_install

%find_lang %{name}
%endif
#--------------------------------------------------------------------
# Mageia
#--------------------------------------------------------------------
%if 0%{?mgaversion}
%build
%cmake
%make_build

%install
%make_install -C build

%find_lang %{name}
%endif
#--------------------------------------------------------------------
# SUSE
#--------------------------------------------------------------------
%if 0%{?suse_version}
%build
%cmake
%make_jobs

%install
%cmake_install

%find_lang %{name}
%endif
#--------------------------------------------------------------------

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

%changelog
* Tue Jan 16 2024 Graeme Gott <graeme@gottcode.org> - 2.8.3-1
- Update to 2.8.3

* Sun Nov 26 2023 Graeme Gott <graeme@gottcode.org> - 2.8.2-1
- Update to 2.8.2

* Thu Nov 09 2023 Graeme Gott <graeme@gottcode.org> - 2.8.1-1
- Update to 2.8.1

* Tue Aug 29 2023 Graeme Gott <graeme@gottcode.org> - 2.8.0-2
- Add missing dependency

* Tue Aug 29 2023 Graeme Gott <graeme@gottcode.org> - 2.8.0-1
- Update to 2.8.0

* Wed Apr 26 2023 Graeme Gott <graeme@gottcode.org> - 2.7.3-1
- Update to 2.7.3

* Tue Jan 17 2023 Graeme Gott <graeme@gottcode.org> - 2.7.2-1
- Update to 2.7.2

* Sat Dec 11 2021 Graeme Gott <graeme@gottcode.org> - 2.7.1-1
- Update to 2.7.1

* Sat Nov 20 2021 Graeme Gott <graeme@gottcode.org> - 2.7.0-2
- Fix icon names

* Sat Nov 20 2021 Graeme Gott <graeme@gottcode.org> - 2.7.0-1
- Update to 2.7.0

* Sat Nov 13 2021 Graeme Gott <graeme@gottcode.org> - 2.6.2-1
- Update to 2.6.2

* Wed Oct 13 2021 Graeme Gott <graeme@gottcode.org> - 2.6.1-1
- Update to 2.6.1

* Sun Sep 19 2021 Graeme Gott <graeme@gottcode.org> - 2.6.0-1
- Update to 2.6.0

* Sun Jan 24 2021 Graeme Gott <graeme@gottcode.org> - 2.5.3-1
- Update to 2.5.3

* Sat Jan 16 2021 Graeme Gott <graeme@gottcode.org> - 2.5.2-2
- Fix Fedora build failure

* Fri Jan 15 2021 Graeme Gott <graeme@gottcode.org> - 2.5.2-1
- Update to 2.5.2

* Sat Jan 02 2021 Graeme Gott <graeme@gottcode.org> - 2.5.1-1
- Update to 2.5.1

* Thu Dec 24 2020 Graeme Gott <graeme@gottcode.org> - 2.5.0-1
- Update to 2.5.0

* Thu Jul 23 2020 Graeme Gott <graeme@gottcode.org> - 2.4.6-1
- Update to 2.4.6

* Tue Jul 21 2020 Graeme Gott <graeme@gottcode.org> - 2.4.5-1
- Update to 2.4.5

* Wed Apr 22 2020 Graeme Gott <graeme@gottcode.org> - 2.4.4-1
- Update to 2.4.4

* Wed Mar 11 2020 Graeme Gott <graeme@gottcode.org> - 2.4.3-1
- Update to 2.4.3

* Sat Feb 15 2020 Graeme Gott <graeme@gottcode.org> - 2.4.2-1
- Update to 2.4.2

* Wed Feb 12 2020 Graeme Gott <graeme@gottcode.org> - 2.4.1-1
- Update to 2.4.1

* Mon Feb 10 2020 Graeme Gott <graeme@gottcode.org> - 2.4.0-1
- Update to 2.4.0

* Sat Jan 18 2020 Graeme Gott <graeme@gottcode.org> - 2.3.5-1
- Update to 2.3.5

* Tue Nov 05 2019 Graeme Gott <graeme@gottcode.org> - 2.3.4-1
- Update to 2.3.4

* Wed Aug 07 2019 Graeme Gott <graeme@gottcode.org> - 2.3.3-1
- Update to 2.3.3

* Tue Mar 26 2019 Graeme Gott <graeme@gottcode.org> - 2.3.2-1
- Update to 2.3.2

* Sat Jan 19 2019 Graeme Gott <graeme@gottcode.org> - 2.3.1-1
- Update to 2.3.1

* Sun Sep 30 2018 Graeme Gott <graeme@gottcode.org> - 2.3.0-1
- Update to 2.3.0

* Fri Jul 13 2018 Graeme Gott <graeme@gottcode.org> - 2.2.1-1
- Update to 2.2.1

* Mon May 21 2018 Graeme Gott <graeme@gottcode.org> - 2.2.0-1
- Update to 2.2.0

* Sun Apr 22 2018 Graeme Gott <graeme@gottcode.org> - 2.1.7-1
- Update to 2.1.7

* Sun Apr 08 2018 Graeme Gott <graeme@gottcode.org> - 2.1.6-1
- Update to 2.1.6

* Mon Apr 02 2018 Graeme Gott <graeme@gottcode.org> - 2.1.5-3
- Fix openSUSE build failure

* Sun Apr 01 2018 Graeme Gott <graeme@gottcode.org> - 2.1.5-2
- Use pkgconfig for openSUSE

* Sun Apr 01 2018 Graeme Gott <graeme@gottcode.org> - 2.1.5-1
- Update to 2.1.5

* Thu Dec 28 2017 Graeme Gott <graeme@gottcode.org> - 1.7.5-1
- Update to 1.7.5

* Mon Nov 13 2017 Graeme Gott <graeme@gottcode.org> - 1.7.4-1
- Update to 1.7.4

* Sat Aug 05 2017 Graeme Gott <graeme@gottcode.org> - 1.7.3-1
- Update to 1.7.3

* Tue Apr 04 2017 Graeme Gott <graeme@gottcode.org> - 1.7.2-1
- Update to 1.7.2

* Wed Mar 01 2017 Graeme Gott <graeme@gottcode.org> - 1.7.1-1
- Update to 1.7.1

* Wed Feb 01 2017 Graeme Gott <graeme@gottcode.org> - 1.7.0-1
- Update to 1.7.0

* Sat Dec 10 2016 Graeme Gott <graeme@gottcode.org> - 1.6.2-1
- Update to 1.6.2

* Mon Oct 17 2016 Graeme Gott <graeme@gottcode.org> - 1.6.1-1
- Update to 1.6.1

* Sat Aug 20 2016 Graeme Gott <graeme@gottcode.org> - 1.6.0-1
- Update to 1.6.0

* Sat Apr 16 2016 Graeme Gott <graeme@gottcode.org> - 1.5.3-1
- Update to 1.5.3

* Tue Dec 29 2015 Graeme Gott <graeme@gottcode.org> - 1.5.2-1
- Update to 1.5.2

* Mon Sep 21 2015 Graeme Gott <graeme@gottcode.org> - 1.5.1-1
- Update to 1.5.1

* Wed Feb 18 2015 Graeme Gott <graeme@gottcode.org> - 1.5.0-1
- Update to 1.5.0

* Sat Feb 14 2015 Graeme Gott <graeme@gottcode.org> - 1.4.3-1
- Update to 1.4.3

* Sun Dec 21 2014 Graeme Gott <graeme@gottcode.org> - 1.4.2-1
- Update to 1.4.2

* Fri Dec 05 2014 Graeme Gott <graeme@gottcode.org> - 1.4.1-1
- Update to 1.4.1

* Wed Jun 25 2014 Graeme Gott <graeme@gottcode.org> - 1.4.0-1
- Update to 1.4.0

* Tue Mar 18 2014 Graeme Gott <graeme@gottcode.org> - 1.3.2-1
- Update to 1.3.2

* Mon Jan 06 2014 Graeme Gott <graeme@gottcode.org> - 1.3.1-1
- Update to 1.3.1

* Sun Dec 29 2013 Graeme Gott <graeme@gottcode.org> - 1.3.0-2
- Replace CREDITS file with AUTHORS file.

* Sun Dec 29 2013 Graeme Gott <graeme@gottcode.org> - 1.3.0-1
- Update to 1.3.0

* Tue Dec 03 2013 Graeme Gott <graeme@gottcode.org> - 1.2.2-1
- Update to 1.2.2

* Tue Nov 19 2013 Graeme Gott <graeme@gottcode.org> - 1.2.1-1
- Update to 1.2.1

* Tue Oct 29 2013 Graeme Gott <graeme@gottcode.org> - 1.2.0-5
- Attempt to add ownership of manpage.

* Tue Oct 29 2013 Graeme Gott <graeme@gottcode.org> - 1.2.0-4
- Use hardcoded path for manpage.

* Tue Oct 29 2013 Graeme Gott <graeme@gottcode.org> - 1.2.0-3
- Fix path for ownership of installed files.

* Tue Oct 29 2013 Graeme Gott <graeme@gottcode.org> - 1.2.0-2
- Add ownership of installed files.

* Tue Oct 29 2013 Graeme Gott <graeme@gottcode.org> - 1.2.0-1
- Update to 1.2.0

* Thu Aug 08 2013 Graeme Gott <graeme@gottcode.org> - 1.1.1-1
- Update to 1.1.1

* Wed Jul 24 2013 Graeme Gott <graeme@gottcode.org> - 1.1.0-2
- Add ownership of installed files.

* Wed Jul 24 2013 Graeme Gott <graeme@gottcode.org> - 1.1.0-1
- Update to 1.1.0

* Fri Jul 05 2013 Graeme Gott <graeme@gottcode.org> - 1.0.3-1
- Update to 1.0.3

* Mon Jul 01 2013 Graeme Gott <graeme@gottcode.org> - 1.0.2-1
- Update to 1.0.2

* Thu Jun 27 2013 Graeme Gott <graeme@gottcode.org> - 1.0.1-1
- Update to 1.0.1

* Thu Jun 20 2013 Graeme Gott <graeme@gottcode.org> - 1.0.0-1
- Initial package.
openSUSE Build Service is sponsored by