File xfce4-indicator-plugin.spec of Package xfce4-indicator-plugin
#
# spec file for package xfce4-indicator-plugin
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define plugin indicator
Name: xfce4-indicator-plugin
Version: 2.4.3
Release: 0
Summary: Plugin to display information from applications in the Xfce panel
License: GPL-2.0-or-later
Group: System/GUI/Other
URL: https://docs.xfce.org/panel-plugins/xfce4-indicator-plugin
Source: https://archive.xfce.org/src/panel-plugins/%{name}/2.4/%{name}-%{version}.tar.bz2
BuildRequires: gettext >= 0.19.8
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: pkgconfig(glib-2.0) >= 2.50.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0
BuildRequires: pkgconfig(ayatana-indicator3-0.4) >= 0.5.0
BuildRequires: pkgconfig(libayatana-ido3-0.4) >= 0.4.0
BuildRequires: pkgconfig(libxfce4panel-2.0) >= 4.16.0
BuildRequires: pkgconfig(libxfce4ui-2) >= 4.16.0
BuildRequires: pkgconfig(libxfce4util-1.0) >= 4.16.0
BuildRequires: pkgconfig(libxfconf-0) >= 4.16.0
Requires: xfce4-panel >= 4.16.0
Provides: ayatana-indicator-renderer
# Package renamed to match upstream naming scheme
Provides: xfce4-panel-plugin-%{plugin} = %{version}-%{release}
Obsoletes: xfce4-panel-plugin-%{plugin} < %{version}-%{release}
Obsoletes: xfce4-panel-plugin-%{plugin}-debuginfo
%description
A small plugin to display information from various applications
consistently in the Xfce panel as described in
Ubuntu's MessagingMenu design specification.
%package lang
Summary: Translations for package %{name}
Group: System/Localization
Requires: %{name} = %{version}
Supplements: %{name}
Provides: %{name}-lang-all = %{version}
# Package renamed to match upstream naming scheme
Obsoletes: xfce4-panel-plugin-%{plugin}-lang < %{version}-%{release}
Provides: xfce4-panel-plugin-%{plugin}-lang = %{version}-%{release}
BuildArch: noarch
%description lang
Provides translations for the "%{name}" package.
%prep
%autosetup -p1
%build
%configure --disable-static
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%find_lang %{name}
%files
%license COPYING*
%doc AUTHORS NEWS README.md
%{_libdir}/xfce4/panel/plugins/libindicator-plugin.so
%{_datadir}/xfce4/panel/plugins/indicator.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%files lang -f %{name}.lang
%changelog