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

glen glen at pld-linux.org
Sun Oct 28 11:49:45 CET 2012


commit 20a96414011acfb40d2f4d3e0b03c3c32685ecd2
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Oct 28 12:49:41 2012 +0200

    tar.xz deps; cosmetics

 gnome-shell-extension-system-monitor.spec | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/gnome-shell-extension-system-monitor.spec b/gnome-shell-extension-system-monitor.spec
index 748db85..ccf8fed 100644
--- a/gnome-shell-extension-system-monitor.spec
+++ b/gnome-shell-extension-system-monitor.spec
@@ -3,14 +3,16 @@ Summary:	Display system informations in gnome shell status bar
 Name:		gnome-shell-extension-%{extname}
 Version:	20121027
 Release:	2
+License:	GPL v3
 Group:		X11/Applications
-License:	GPLv3
 # $ git clone git://github.com/paradoxxxzero/gnome-shell-system-monitor-applet.git
 # $ cd gnome-shell-system-monitor-applet/system-monitor at paradoxxx.zero.gmail.com/
 # $ git archive --format=tar --prefix=%{extname}-%{version}/ master | xz > ../../%{extname}-%{version}.tar.xz
 Source0:	%{extname}-%{version}.tar.xz
 # Source0-md5:	246e68ef905a9bfa4fd924040f6e271d
 URL:		https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
 Requires:	gnome-shell >= 3.6.0
 # This is no mistake, this extensions requires *.gir files from those packages
 Requires:	NetworkManager-devel
@@ -19,25 +21,23 @@ BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Display system informations in gnome shell status bar, such as
-memory usage, cpu usage, network rates.
+Display system informations in gnome shell status bar, such as memory
+usage, cpu usage, network rates.
 
 %prep
 %setup -q -n %{extname}-%{version}
 
-%build
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_datadir}/{glib-2.0/schemas,locale} \
 	$RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/system-monitor at paradoxxx.zero.gmail.com
 
-install schemas/org.gnome.shell.extensions.system-monitor.gschema.xml $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas/
-install *.js* $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/system-monitor at paradoxxx.zero.gmail.com
-install *.css $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/system-monitor at paradoxxx.zero.gmail.com
+cp -p schemas/org.gnome.shell.extensions.system-monitor.gschema.xml $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
+cp -p *.js* $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/system-monitor at paradoxxx.zero.gmail.com
+cp -p *.css $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/system-monitor at paradoxxx.zero.gmail.com
 
-cp -a locale/* $RPM_BUILD_ROOT%{_datadir}/locale
-%{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/es{_ES,}
+cp -a locale/* $RPM_BUILD_ROOT%{_localedir}
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/es{_ES,}
 
 %find_lang %{extname}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnome-shell-extension-system-monitor.git/commitdiff/20a96414011acfb40d2f4d3e0b03c3c32685ecd2



More information about the pld-cvs-commit mailing list