]> git.pld-linux.org Git - packages/gnome-shell-extension-system-monitor.git/blame - gnome-shell-extension-system-monitor.spec
tar.xz deps; cosmetics
[packages/gnome-shell-extension-system-monitor.git] / gnome-shell-extension-system-monitor.spec
CommitLineData
8198be7f
JR
1%define extname system-monitor
2Summary: Display system informations in gnome shell status bar
3Name: gnome-shell-extension-%{extname}
4Version: 20121027
dde58d92 5Release: 2
20a96414 6License: GPL v3
8198be7f 7Group: X11/Applications
8198be7f
JR
8# $ git clone git://github.com/paradoxxxzero/gnome-shell-system-monitor-applet.git
9# $ cd gnome-shell-system-monitor-applet/system-monitor@paradoxxx.zero.gmail.com/
10# $ git archive --format=tar --prefix=%{extname}-%{version}/ master | xz > ../../%{extname}-%{version}.tar.xz
11Source0: %{extname}-%{version}.tar.xz
12# Source0-md5: 246e68ef905a9bfa4fd924040f6e271d
13URL: https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/
20a96414
ER
14BuildRequires: tar >= 1:1.22
15BuildRequires: xz
8198be7f
JR
16Requires: gnome-shell >= 3.6.0
17# This is no mistake, this extensions requires *.gir files from those packages
18Requires: NetworkManager-devel
19Requires: libgtop-devel
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
20a96414
ER
24Display system informations in gnome shell status bar, such as memory
25usage, cpu usage, network rates.
8198be7f
JR
26
27%prep
28%setup -q -n %{extname}-%{version}
29
8198be7f
JR
30%install
31rm -rf $RPM_BUILD_ROOT
32install -d $RPM_BUILD_ROOT%{_datadir}/{glib-2.0/schemas,locale} \
33 $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/system-monitor@paradoxxx.zero.gmail.com
34
20a96414
ER
35cp -p schemas/org.gnome.shell.extensions.system-monitor.gschema.xml $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas
36cp -p *.js* $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/system-monitor@paradoxxx.zero.gmail.com
37cp -p *.css $RPM_BUILD_ROOT%{_datadir}/gnome-shell/extensions/system-monitor@paradoxxx.zero.gmail.com
8198be7f 38
20a96414
ER
39cp -a locale/* $RPM_BUILD_ROOT%{_localedir}
40%{__mv} $RPM_BUILD_ROOT%{_localedir}/es{_ES,}
8198be7f
JR
41
42%find_lang %{extname}
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%post
48%glib_compile_schemas
49
50%postun
51%glib_compile_schemas
52
53%files -f %{extname}.lang
54%defattr(644,root,root,755)
55%{_datadir}/glib-2.0/schemas/org.gnome.shell.extensions.system-monitor.gschema.xml
56%{_datadir}/gnome-shell/extensions/system-monitor*
This page took 0.065562 seconds and 4 git commands to generate.