File gnome-shell-extension-tray-icons-reloaded.spec of Package gnome-shell-extension-tray-icons-reloaded

#
# spec file for package gnome-shell-extension-topicons-plus
#
# Copyright (c) 2019 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/
#

%define extension_basedir /usr/share/gnome-shell/extensions
%define extension_name    trayIconsReloaded@selfmade.pl
%define extension_dir     %{extension_basedir}/%{extension_name}

%global gnome_shell_min_version 45

Name:           gnome-shell-extension-tray-icons-reloaded
Version:        0
Release:        0
%define pkg_name Tray-Icons-Reloaded
Summary:        Gnome Shell Extension to add back tray icons
License:        GPL-2.0
Group:          System/GUI/GNOME
Url:            https://github.com/MartinPL/Tray-Icons-Reloaded
Source:         %{pkg_name}-%{version}.tar.xz
BuildRequires:  gnome-shell >= %{gnome_shell_min_version}
Requires:       gnome-shell >= %{gnome_shell_min_version}
BuildArch:      noarch
%description
Gnome Shell Extension to add back tray icons.

%prep
%autosetup -p1 -n %{pkg_name}-%{version}

%build
make _build

%install
install -D -d -m 0755 %{buildroot}%{extension_dir}
cp -av _build/* %{buildroot}%{extension_dir}


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

%changelog

openSUSE Build Service is sponsored by