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

glen glen at pld-linux.org
Sun Oct 28 11:52:34 CET 2012


commit 67b23dfbe93b782175bb00b4af8379bbadde1de2
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Oct 28 12:52:31 2012 +0200

    tar.xz deps; cosmetics

 gnome-shell-extension-mylauncher.spec | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/gnome-shell-extension-mylauncher.spec b/gnome-shell-extension-mylauncher.spec
index 527e098..6c3d36c 100644
--- a/gnome-shell-extension-mylauncher.spec
+++ b/gnome-shell-extension-mylauncher.spec
@@ -3,14 +3,16 @@ Summary:	Customizable menu for gnome shell/panel
 Name:		gnome-shell-extension-%{extname}
 Version:	20121027
 Release:	0.1
+License:	GPL v2
 Group:		X11/Applications
-License:	GPLv2
 # $ git clone git://github.com/mbokil/mylauncher-extension.git
 # $ cd mylauncher-extension/
 # $ git archive --format=tar --prefix=%{extname}-%{version}/ master | xz > ../%{extname}-%{version}.tar.xz
 Source0:	%{extname}-%{version}.tar.xz
 # Source0-md5:	2b1e69daf0d39d1a4b478fd6eaa9e83b
 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)
@@ -25,17 +27,15 @@ as [RG] for restart shell, [TD] for toggle desktop, etc.
 %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/mylauncher at markbokil.com
 
-install schemas/org.gnome.shell.extensions.mylauncher.gschema.xml $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/
-install *.js* $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher at markbokil.com/
-install *.css $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher at markbokil.com/
-install *.svg $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher at markbokil.com/
+cp -p schemas/org.gnome.shell.extensions.mylauncher.gschema.xml $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
+cp -p *.js* $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher at markbokil.com
+cp -p *.css $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher at markbokil.com
+cp -p *.svg $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/mylauncher at markbokil.com
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnome-shell-extension-mylauncher.git/commitdiff/67b23dfbe93b782175bb00b4af8379bbadde1de2



More information about the pld-cvs-commit mailing list