[packages/gnome-shell-extension-system-monitor] - new

baggins baggins at pld-linux.org
Sat Oct 27 23:57:18 CEST 2012


commit 8198be7f3c874a1153b004040f52fbe6efea1798
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Oct 27 23:57:04 2012 +0200

    - new

 gnome-shell-extension-system-monitor.spec | 58 +++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)
---
diff --git a/gnome-shell-extension-system-monitor.spec b/gnome-shell-extension-system-monitor.spec
new file mode 100644
index 0000000..4842e65
--- /dev/null
+++ b/gnome-shell-extension-system-monitor.spec
@@ -0,0 +1,58 @@
+%define		extname		system-monitor
+Summary:	Display system informations in gnome shell status bar
+Name:		gnome-shell-extension-%{extname}
+Version:	20121027
+Release:	1
+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:	gnome-common
+BuildRequires:	intltool
+BuildRequires:	gnome-desktop-devel
+Requires:	gnome-shell >= 3.6.0
+# This is no mistake, this extensions requires *.gir files from those packages
+Requires:	NetworkManager-devel
+Requires:	libgtop-devel
+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.
+
+%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 -a locale/* $RPM_BUILD_ROOT%{_datadir}/locale
+
+%find_lang %{extname}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%glib_compile_schemas
+
+%postun
+%glib_compile_schemas
+
+%files -f %{extname}.lang
+%defattr(644,root,root,755)
+%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.system-monitor.gschema.xml
+%{_datadir}/gnome-shell/extensions/system-monitor*
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list