]> git.pld-linux.org Git - packages/gnome-shell-extension-workspacebar.git/blob - gnome-shell-extension-workspacebar.spec
46815537376a9518b613e9f6ab28a1a3526b6a83
[packages/gnome-shell-extension-workspacebar.git] / gnome-shell-extension-workspacebar.spec
1 %define         extname         workspacebar
2 Summary:        A toolbar for your panel that allows you to switch workspaces
3 Name:           gnome-shell-extension-%{extname}
4 Version:        20121027
5 Release:        1
6 Group:          X11/Applications
7 License:        GPLv2
8 # $ git clone git://github.com/mbokil/workspacebar.git
9 # $ cd workspacebar/
10 # $ git archive --format=tar --prefix=%{name}-%{version}/ master | xz > ../%{name}-%{version}.tar.xz
11 Source0:        %{extname}-%{version}.tar.xz
12 # Source0-md5:  17535842481ad8d699c977eff06345af
13 URL:            http://markbokil.com/downloads/extensions/
14 BuildRequires:  gnome-common
15 BuildRequires:  intltool
16 BuildRequires:  gnome-desktop-devel
17 BuildRequires:  libgtop-devel
18 Requires:       gnome-shell >= 3.6.0
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 A toolbar for your panel that allows you to switch workspaces.
24 Latest update includes a panel position option of left, center,
25 and right. Also there is an option to display the Overview on mouse
26 entry.
27
28 %prep
29 %setup -q -n %{extname}-%{version}
30
31 %build
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas \
36         $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/workspace-bar@markbokil.com
37
38 install schemas/org.gnome.shell.extensions.workspacebar.gschema.xml $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/
39 install *.js* $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/workspace-bar@markbokil.com/
40 install *.css $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/workspace-bar@markbokil.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.workspacebar.gschema.xml
54 %{_datadir}/gnome-shell/extensions/workspace-bar*
This page took 0.084959 seconds and 2 git commands to generate.