File gnome-shell-extension-appindicator.spec of Package gnome-shell-extension-appindicator

#
# spec file for package gnome-shell-extension-appindicator
#
# Copyright (c) 2020-2021 heipa
#
# 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/
# 

%define extension_name    appindicatorsupport@rgcjonas.gmail.com
%define extension_basedir /usr/share/gnome-shell/extensions
%define extension_dir     %{extension_basedir}/%{extension_name}

Name:           gnome-shell-extension-appindicator
Version:        0
Release:        0
Summary:        AppIndicator/KStatusNotifierItem support for GNOME Shell
License:        GPL-2.0-only
Group:          System/GUI/GNOME
Url:            https://github.com/ubuntu/gnome-shell-extension-appindicator
Source:         %{name}-%{version}.tar.xz
BuildRequires:  gnome-shell
Requires:       gnome-shell
BuildArch:      noarch

%description
This extension integrates Ubuntu AppIndicators and KStatusNotifierItems (KDE's
blessed successor of the systray) into GNOME Shell.

To activate run in terminal:

  gnome-extensions enable %extension_name

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

%build

%install
install -D -d -m 0755 %{buildroot}%{extension_dir}
cp -a * %{buildroot}%{extension_dir}
glib-compile-schemas %{buildroot}%{extension_dir}/schemas

%files
%doc README.md
%exclude %{extension_dir}/README.md
%license LICENSE
%exclude %{extension_dir}/LICENSE
%{extension_dir}

%changelog
openSUSE Build Service is sponsored by