File gnome-shell-extension-dash-to-dock.spec of Package gnome-shell-extension-dash-to-dock
%define extension_name dash-to-dock@micxgx.gmail.com
%define unpacked_name dash-to-dock
Name: gnome-shell-extension-dash-to-dock
Version: 87
Release: 0
Summary: A dock for the Gnome Shell
License: GPL-2.0+
Group: System/GUI/GNOME
Url: https://micheleg.github.io/dash-to-dock/
Source: %{unpacked_name}-%{version}.tar.xz
BuildRequires: sassc
BuildRequires: glib2-tools
BuildRequires: gnome-shell
Requires: gnome-shell
Recommends: %{name}-lang = %{version}
BuildArch: noarch
%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
%setup -q -n %{unpacked_name}-%{version}
%build
make
%install
%make_install VERSION=%{version}
%find_lang dashtodock
# Remove crap
%{__rm} -fr %{buildroot}/gnome-shell/extensions/%{extension_name}/locale/
%files
%doc README.md
%exclude %{_datadir}/gnome-shell/extensions/%{extension_name}/README.md
%license COPYING
%exclude %{_datadir}/gnome-shell/extensions/%{extension_name}/COPYING
%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.dash-to-dock.gschema.xml
%{_datadir}/gnome-shell/extensions/%{extension_name}/
%files lang
%{_datadir}/locale/*