File gnome-shell-extension-dash-to-dock.spec of Package gnome-shell-extension-dash-to-dock
# https://docs.fedoraproject.org/en-US/packaging-guidelines/SourceURL/#_git_hosting_services
# From GitHub, version 84 tag
%global gittag extensions.gnome.org-v84
%define gnome_shell_version %(gnome-shell --version | cut -d ' ' -f 3)
Name: gnome-shell-extension-dash-to-dock
Version: %{gnome_shell_version}
Release: 0
Summary: GNOME Shell Extension -- Dash to Dock
License: GPL-2.0+
Group: System/GUI/GNOME
Url: https://micheleg.github.io/dash-to-dock/
Source: https://github.com/micheleg/dash-to-dock/archive/%{gittag}/dash-to-dock-%{gittag}.tar.gz
BuildRequires: glib2-tools
# Needed for directory ownership
BuildRequires: gnome-shell
BuildRequires: sassc
BuildArch: noarch
Requires: gnome-shell
Recommends: %{name}-lang = %{version}
%description
A dock for the Gnome Shell. This extension moves the dash out of the overview
transforming it in a dock for an easier launching of applications and a faster
switching between windows and desktops. Side and bottom placement options are
available.
%lang_package
%prep
%autosetup -n dash-to-dock-%{gittag}
%build
make
%install
DESTDIR=%{buildroot} VERSION=%{version} make install
%find_lang dashtodock
%files
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.dash-to-dock.gschema.xml
%{_datadir}/gnome-shell/extensions/dash-to-dock*
%files lang -f dashtodock.lang
%changelog