]> git.pld-linux.org Git - packages/gnome-shell-extension-workspaces-to-dock.git/blob - gnome-shell-extension-workspaces-to-dock.spec
42f8ad1691fc1c53d9d826fa9edac7ac3e7abbaf
[packages/gnome-shell-extension-workspaces-to-dock.git] / gnome-shell-extension-workspaces-to-dock.spec
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}
4 Version:        20121027
5 Release:        1
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
9 License:        GPLv2
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
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
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.
28
29 %prep
30 %setup -q -n %{extname}-%{version}
31
32 %build
33
34 %install
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
38
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/
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %post
46 %glib_compile_schemas
47
48 %postun
49 %glib_compile_schemas
50
51 %files
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*
This page took 0.279344 seconds and 2 git commands to generate.