]> git.pld-linux.org Git - packages/gnome-shell-extension-workspacebar.git/commitdiff
- new
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 27 Oct 2012 21:56:39 +0000 (23:56 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 27 Oct 2012 21:56:39 +0000 (23:56 +0200)
gnome-shell-extension-workspacebar.spec [new file with mode: 0644]

diff --git a/gnome-shell-extension-workspacebar.spec b/gnome-shell-extension-workspacebar.spec
new file mode 100644 (file)
index 0000000..4681553
--- /dev/null
@@ -0,0 +1,54 @@
+%define                extname         workspacebar
+Summary:       A toolbar for your panel that allows you to switch workspaces
+Name:          gnome-shell-extension-%{extname}
+Version:       20121027
+Release:       1
+Group:         X11/Applications
+License:       GPLv2
+# $ git clone git://github.com/mbokil/workspacebar.git
+# $ cd workspacebar/
+# $ git archive --format=tar --prefix=%{name}-%{version}/ master | xz > ../%{name}-%{version}.tar.xz
+Source0:       %{extname}-%{version}.tar.xz
+# Source0-md5: 17535842481ad8d699c977eff06345af
+URL:           http://markbokil.com/downloads/extensions/
+BuildRequires: gnome-common
+BuildRequires: intltool
+BuildRequires: gnome-desktop-devel
+BuildRequires: libgtop-devel
+Requires:      gnome-shell >= 3.6.0
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A toolbar for your panel that allows you to switch workspaces.
+Latest update includes a panel position option of left, center,
+and right. Also there is an option to display the Overview on mouse
+entry.
+
+%prep
+%setup -q -n %{extname}-%{version}
+
+%build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas \
+       $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/workspace-bar@markbokil.com
+
+install schemas/org.gnome.shell.extensions.workspacebar.gschema.xml $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/
+install *.js* $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/workspace-bar@markbokil.com/
+install *.css $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/workspace-bar@markbokil.com/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%glib_compile_schemas
+
+%postun
+%glib_compile_schemas
+
+%files
+%defattr(644,root,root,755)
+%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.workspacebar.gschema.xml
+%{_datadir}/gnome-shell/extensions/workspace-bar*
This page took 0.066818 seconds and 4 git commands to generate.