1 %define extname workspaces-to-dock
2 Summary: Transform the workspaces of the overview mode into an intellihide dock
3 Name: gnome-shell-extension-%{extname}
6 Group: X11/Applications
7 # parts of code comes from gnome-shell-extensions which is GPLv2, assume GPL virality
8 # as there is no information about license
10 URL: https://extensions.gnome.org/extension/427/workspaces-to-dock/
11 # $ git clone git://github.com/passingthru67/workspaces-to-dock.git
12 # $ cd workspaces-to-dock/
13 # $ git archive --format=tar --prefix=%{name}-%{version}/ master | xz > ../%{name}-%{version}.tar.xz
14 Source0: %{extname}-%{version}.tar.xz
15 # Source0-md5: 233e9924159d3fc29d375a4f8c16f6af
16 BuildRequires: gnome-common
17 BuildRequires: intltool
18 BuildRequires: gnome-desktop-devel
19 BuildRequires: libgtop-devel
20 Requires: gnome-shell >= 3.6.0
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 A Gnome Shell extension that transforms the workspaces of the overview
26 mode into an intellihide dock. The dock is positioned and sized to
27 maintain tight integration with the Gnome Shell.
30 %setup -q -n %{extname}-%{version}
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas \
37 $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/workspaces-to-dock@passingthru67.gmail.com
39 install schemas/org.gnome.shell.extensions.workspaces-to-dock.gschema.xml $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/
40 install *.js* $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/workspaces-to-dock@passingthru67.gmail.com/
43 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.workspaces-to-dock.gschema.xml
54 %{_datadir}/gnome-shell/extensions/workspaces-to-dock*