1 Star 0 Fork 10

丈青山/gnome-system-monitor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
gnome-system-monitor.spec 2.33 KB
一键复制 编辑 原始数据 按行查看 历史
丈青山 提交于 2022-06-25 08:03 . update to 42.0
%global libgtop2_version 2.37.2
%global libhandy_version 1.5.0
Name: gnome-system-monitor
Version: 42.0
Release: 1
Summary: A process and system monitor for the GNOME desktop
License: GPLv2+
URL: https://wiki.gnome.org/Apps/SystemMonitor
Source0: https://download.gnome.org/sources/%{name}/42/%{name}-%{version}.tar.xz
BuildRequires: gcc gcc-c++ meson itstool polkit-devel gettext desktop-file-utils gtk4
BuildRequires: pkgconfig(gtk+-3.0) pkgconfig(gtkmm-3.0) pkgconfig(libsystemd)
BuildRequires: pkgconfig(librsvg-2.0) pkgconfig(libxml-2.0) pkgconfig(libhandy-1) >= %{libhandy_version}
BuildRequires: pkgconfig(libgtop-2.0) >= %{libgtop2_version}
Requires: hicolor-icon-theme
Requires: libgtop2%{?_isa} >= %{libgtop2_version}
Requires: libhandy%{?_isa} >= %{libhandy_version}
%description
gnome-system-monitor is a system and process monitor for the GNOME
desktop. It shows running processses and available resources on
the system.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name} --with-gnome
%check
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gnome-system-monitor.desktop
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gnome-system-monitor-kde.desktop
%files -f %{name}.lang
%license COPYING
%doc AUTHORS NEWS README.md
%{_bindir}/gnome-system-monitor
%{_datadir}/applications/gnome-system-monitor.desktop
%{_datadir}/applications/gnome-system-monitor-kde.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.gnome-system-monitor.enums.xml
%{_datadir}/glib-2.0/schemas/org.gnome.gnome-system-monitor.gschema.xml
%{_datadir}/gnome-system-monitor/
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.SystemMonitor*.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.SystemMonitor-symbolic.svg
%{_datadir}/icons/hicolor/symbolic/apps/speedometer-symbolic.svg
%{_datadir}/metainfo/gnome-system-monitor.appdata.xml
%{_datadir}/polkit-1/actions/org.gnome.gnome-system-monitor.policy
%{_libexecdir}/gnome-system-monitor/
%changelog
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.0-1
- Upgrade to 42.0
* Fri Nov 15 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.28.2-2
- Delete unused buildrequires
* Thu Nov 14 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.28.2-1
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhang__3125/gnome-system-monitor.git
git@gitee.com:zhang__3125/gnome-system-monitor.git
zhang__3125
gnome-system-monitor
gnome-system-monitor
master

搜索帮助