]> git.pld-linux.org Git - packages/gnome-shell-extension-workspacebar.git/blame - gnome-shell-extension-workspacebar.spec
tar.xz deps; cosmetics
[packages/gnome-shell-extension-workspacebar.git] / gnome-shell-extension-workspacebar.spec
CommitLineData
6cba9ec2
JR
1%define extname workspacebar
2Summary: A toolbar for your panel that allows you to switch workspaces
3Name: gnome-shell-extension-%{extname}
4Version: 20121027
5Release: 1
f9f96090 6License: GPL v2
6cba9ec2 7Group: X11/Applications
6cba9ec2
JR
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
11Source0: %{extname}-%{version}.tar.xz
12# Source0-md5: 17535842481ad8d699c977eff06345af
13URL: http://markbokil.com/downloads/extensions/
f9f96090
ER
14BuildRequires: tar >= 1:1.22
15BuildRequires: xz
6cba9ec2
JR
16Requires: gnome-shell >= 3.6.0
17BuildArch: noarch
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
f9f96090
ER
21A toolbar for your panel that allows you to switch workspaces. Latest
22update includes a panel position option of left, center, and right.
23Also there is an option to display the Overview on mouse entry.
6cba9ec2
JR
24
25%prep
26%setup -q -n %{extname}-%{version}
27
6cba9ec2
JR
28%install
29rm -rf $RPM_BUILD_ROOT
30install -d $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas \
31 $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/workspace-bar@markbokil.com
32
f9f96090
ER
33cp -p schemas/org.gnome.shell.extensions.workspacebar.gschema.xml $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
34cp -p *.js* $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/workspace-bar@markbokil.com
35cp -p *.css $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/workspace-bar@markbokil.com
6cba9ec2
JR
36
37%clean
38rm -rf $RPM_BUILD_ROOT
39
40%post
41%glib_compile_schemas
42
43%postun
44%glib_compile_schemas
45
46%files
47%defattr(644,root,root,755)
48%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.workspacebar.gschema.xml
49%{_datadir}/gnome-shell/extensions/workspace-bar*
This page took 0.09045 seconds and 4 git commands to generate.