[packages/gnome-shell-extension-workspacebar] tar.xz deps; cosmetics

glen glen at pld-linux.org
Sun Oct 28 11:48:15 CET 2012


commit f9f960901a0cb74c69eaa100c94f99531878b78b
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Oct 28 12:48:11 2012 +0200

    tar.xz deps; cosmetics

 gnome-shell-extension-workspacebar.spec | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/gnome-shell-extension-workspacebar.spec b/gnome-shell-extension-workspacebar.spec
index 38b7f96..199747d 100644
--- a/gnome-shell-extension-workspacebar.spec
+++ b/gnome-shell-extension-workspacebar.spec
@@ -3,37 +3,36 @@ Summary:	A toolbar for your panel that allows you to switch workspaces
 Name:		gnome-shell-extension-%{extname}
 Version:	20121027
 Release:	1
+License:	GPL v2
 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:	tar >= 1:1.22
+BuildRequires:	xz
 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.
+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 at 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 at markbokil.com/
-install *.css $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/workspace-bar at markbokil.com/
+cp -p schemas/org.gnome.shell.extensions.workspacebar.gschema.xml $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
+cp -p *.js* $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/workspace-bar at markbokil.com
+cp -p *.css $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/workspace-bar at markbokil.com
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnome-shell-extension-workspacebar.git/commitdiff/f9f960901a0cb74c69eaa100c94f99531878b78b



More information about the pld-cvs-commit mailing list