]>
Commit | Line | Data |
---|---|---|
22fc5554 JB |
1 | Summary: View information about use of system resources, like memory and disk space |
2 | Summary(pl.UTF-8): Widok informacji o użyciu zasobów systemowych, takich jak pamięć czy miejsce na dysku | |
3 | Name: gnome-usage | |
3646348e JB |
4 | Version: 3.38.0 |
5 | Release: 1 | |
22fc5554 JB |
6 | License: GPL v3+ |
7 | Group: Applications/System | |
3646348e JB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-usage/3.38/%{name}-%{version}.tar.xz |
9 | # Source0-md5: a331e1b6d8f588c02440be1972097c62 | |
22fc5554 JB |
10 | URL: https://wiki.gnome.org/Apps/Usage |
11 | BuildRequires: gettext-tools | |
12 | BuildRequires: glib2-devel >= 1:2.38 | |
13 | BuildRequires: gtk+3-devel >= 3.20.10 | |
14 | BuildRequires: libdazzle-devel >= 3.30 | |
15 | BuildRequires: libgtop-devel >= 1:2.34.0 | |
3646348e JB |
16 | BuildRequires: libhandy1-devel >= 1.0.0 |
17 | BuildRequires: meson >= 0.50.0 | |
22fc5554 JB |
18 | BuildRequires: ninja >= 1.5 |
19 | BuildRequires: pkgconfig | |
20 | BuildRequires: rpmbuild(macros) >= 1.736 | |
21 | BuildRequires: tar >= 1:1.22 | |
3646348e | 22 | BuildRequires: tracker3-devel >= 3.0 |
22fc5554 | 23 | BuildRequires: vala |
3646348e JB |
24 | BuildRequires: vala-libhandy1 >= 1.0.0 |
25 | BuildRequires: vala-tracker3 >= 3.0 | |
22fc5554 JB |
26 | BuildRequires: xz |
27 | Requires(post,postun): glib2 >= 1:2.38 | |
dae19e10 | 28 | Requires(post,postun): gtk-update-icon-cache |
22fc5554 JB |
29 | Requires: glib2 >= 1:2.38 |
30 | Requires: gtk+3 >= 3.20.10 | |
31 | Requires: hicolor-icon-theme | |
32 | Requires: libdazzle >= 3.30 | |
33 | Requires: libgtop >= 1:2.34.0 | |
3646348e JB |
34 | Requires: libhandy1 >= 1.0.0 |
35 | Requires: tracker3 >= 3.0 | |
22fc5554 JB |
36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
37 | ||
38 | %description | |
39 | A nice way to view information about use of system resources, like | |
40 | memory and disk space. | |
41 | ||
42 | Notable features: | |
43 | - Monitor processor, memory, disk and network usage. | |
44 | - Finding what application is using all your CPU. | |
45 | - Allow the user to forcefully close applications. | |
46 | ||
47 | %description -l pl.UTF-8 | |
48 | Ładny widok informacji o wykorzystaniu zasobów systemowych, takich jak | |
49 | pamięć czy miejsce na dysku. | |
50 | ||
51 | Główne możliwości: | |
52 | - monitorowanie wykorzystania procesora, pamięci, dysku i sieci, | |
53 | - znajdowanie aplikacji wykorzystujących całą moc procesora, | |
54 | - wymuszenie zamknięcia aplikacji przez użytkownika. | |
55 | ||
56 | %prep | |
57 | %setup -q | |
58 | ||
59 | %build | |
60 | %meson build | |
61 | ||
62 | %ninja_build -C build | |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %ninja_install -C build | |
68 | ||
69 | %find_lang %{name} | |
70 | ||
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %post | |
75 | %update_icon_cache hicolor | |
76 | %glib_compile_schemas | |
77 | ||
78 | %postun | |
79 | %update_icon_cache hicolor | |
80 | %glib_compile_schemas | |
81 | ||
82 | %files -f %{name}.lang | |
83 | %defattr(644,root,root,755) | |
84 | %doc AUTHORS NEWS README.md | |
85 | %attr(755,root,root) %{_bindir}/gnome-usage | |
86 | %{_datadir}/glib-2.0/schemas/org.gnome.Usage.gschema.xml | |
87 | %{_datadir}/metainfo/org.gnome.Usage.appdata.xml | |
88 | %{_desktopdir}/org.gnome.Usage.desktop | |
89 | %{_iconsdir}/hicolor/scalable/apps/org.gnome.Usage.svg |