ukui-system-monitor/ukui-system-monitor.spec

137 lines
4.0 KiB
RPMSpec
Raw Permalink Normal View History

2023-05-23 09:54:28 +08:00
Name: ukui-system-monitor
Version: 3.1.2
Release: 3
Summary: Monitor for UKUI desktop environment
License: GPL-3+ and GPL-2+
URL: http://www.ukui.org
Source0: %{name}-%{version}.tar.gz
Patch01: 0001-modify-version-is-pull.patch
Patch02: 0001-fix-compile-error-of-ukui-system-monitor.patch
2020-07-23 11:25:29 +08:00
BuildRequires: qt5-qtbase-devel >= 5.1
BuildRequires: qt5-qtsvg-devel
BuildRequires: qt5-qtscript-devel
BuildRequires: qt5-qttools-devel
BuildRequires: pkgconf
BuildRequires: glib2-devel >= 2.46.0
BuildRequires: libgtop2-devel
2023-05-23 09:54:28 +08:00
BuildRequires: kf5-kwindowsystem-devel
2020-07-23 11:25:29 +08:00
BuildRequires: systemd-devel >= 209
BuildRequires: gsettings-qt-devel
BuildRequires: qt5-qtx11extras-devel
2020-11-03 14:22:48 +08:00
BuildRequires: libpcap-devel
2023-05-23 09:54:28 +08:00
BuildRequires: ukui-interface
2022-02-24 17:55:41 +08:00
BuildRequires: qt5-qtcharts-devel
BuildRequires: qt5-qtcharts
2020-07-23 11:25:29 +08:00
2023-05-23 09:54:28 +08:00
Requires: libcap-devel
Requires: glib2-devel
2020-07-23 11:25:29 +08:00
%description
2023-05-23 09:54:28 +08:00
UKUI system monitor allows you to graphically view and manipulate the
running processes, It also provides an overview of the resources (such
as CPU and memory) and File Systems on your system.
2020-07-23 11:25:29 +08:00
%prep
%setup -q
2022-04-07 10:05:35 +08:00
%patch1 -p1
2023-05-23 09:54:28 +08:00
%patch2 -p1
2020-07-23 11:25:29 +08:00
%build
2020-11-03 14:22:48 +08:00
export PATH=%{_qt5_bindir}:$PATH
mkdir qmake-build
pushd qmake-build
2020-12-16 16:45:10 +08:00
%{qmake_qt5} ..
2023-05-23 09:54:28 +08:00
%{make_build} -j4
2020-11-03 14:22:48 +08:00
popd
2020-07-23 11:25:29 +08:00
%install
2020-11-03 14:22:48 +08:00
pushd qmake-build
%{make_install} INSTALL_ROOT=%{buildroot}
popd
2020-07-23 11:25:29 +08:00
2020-11-03 14:22:48 +08:00
%post
2022-04-19 14:02:08 +08:00
setcap "cap_net_admin,cap_net_raw+ep" /usr/bin/ukui-system-monitor &> /dev/null || :
set -e &> /dev/null || :
glib-compile-schemas /usr/share/glib-2.0/schemas/ &> /dev/null || :
2020-07-23 11:25:29 +08:00
%clean
rm -rf $RPM_BUILD_ROOT
%files
2022-03-01 14:41:35 +08:00
%doc debian/changelog debian/copyright
2020-07-23 11:25:29 +08:00
%{_bindir}/ukui-system-monitor
%{_datadir}/applications/ukui-system-monitor.desktop
2022-03-01 14:41:35 +08:00
%{_datadir}/icons/hicolor/*
2020-11-03 14:22:48 +08:00
%{_datadir}/glib-2.0/schemas/org.ukui.system-monitor.menu.gschema.xml
2022-02-24 17:55:41 +08:00
%{_datadir}/ukui/ukui-system-monitor.conf
2022-03-01 14:41:35 +08:00
%{_datadir}/kylin-user-guide/data/*
%{_datadir}/ukui-system-monitor/translations/*
2020-07-23 11:25:29 +08:00
%changelog
2023-05-23 09:54:28 +08:00
* Thu Mar 02 2023 peijiankang <peijiankang@kylinos.cn> - 3.1.2-3
- add file kylin-system-monitor for kylin-user-guide
* Tue Feb 07 2023 tanyulong <tanyulong@kylinos.cn> - 3.1.2-2
- Enable debuginfo for fix strip
* Mon Dec 5 2022 peijiankang <peijiankang@kylinos.cn> - 3.1.2-1
- update version to 3.1.2
* Fri Jul 29 2022 tanyulong<tanyulong@kylinos.cn> - 1.0.1-18
- Modify the Chinese translation of the Nice field
* Fri Jul 29 2022 tanyulong<tanyulong@kylinos.cn> - 1.0.1-17
- Adapt QT5.15 to add a fractional scaling property
* Wed Jun 29 2022 tanyulong<tanyulong@kylinos.cn> - 1.0.1-16
- add support Tibetan translation
* Wed Jun 29 2022 tanyulong<tanyulong@kylinos.cn> - 1.0.1-15
- desktop add Tibetan name and introduction
* Wed May 25 2022 tanyulong<tanyulong@kylinos.cn> - 1.0.1-14
- Improve the project according to the requirements of compliance improvement
* Tue Apr 19 2022 douyan <douyan@kylimos.cn> - 1.0.1-13
2022-04-19 14:02:08 +08:00
- fix first install post script issue
2023-05-23 09:54:28 +08:00
* Wed Dec 22 2021 pei-jiankang <peijiankang@kylimos.cn> - 1.0.1-12
- Update changelog
* Tue Dec 21 2021 pei-jiankang <peijiankang@kylimos.cn> - 1.0.1-11
- Fix the segmentfault without org.ukui.style
* Thu Dec 09 2021 douyan <douyan@kylimos.cn> - 1.0.1-10
- fix the bug about process and filesystem
* Tue Dec 07 2021 tanyulong <tanyulong@kylimos.cn> - 1.0.1-9
- Update modification record in changelog
* Tue Nov 09 2021 tanyulong <tanyulong@kylimos.cn> - 1.0.1-8
- Remove LICENSE which is same with COPYING
* Fri Nov 05 2021 tanyulong <tanyulong@kylimos.cn> - 1.0.1-7
- Update README.md
* Fri Nov 05 2021 tanyulong <tanyulong@kylimos.cn> - 1.0.1-6
- Add libglib2.0 bin to Depends
2022-04-07 10:05:35 +08:00
2023-05-23 09:54:28 +08:00
* Tue Nov 02 2021 tanyulong <tanyulong@kylinos.cn> - 1.0.1-5
- Fix the wrong maintainer and update changelog
2022-03-01 14:41:35 +08:00
2023-05-23 09:54:28 +08:00
* Thu Oct 28 2021 tanyulong <tanyulong@kylinos.cn> - 1.0.1-4
- add storage check
2022-02-24 17:55:41 +08:00
2021-09-01 10:59:00 +08:00
* Wed Sep 1 2021 douyan <douyan@kylinos.cn> - 1.0.1-3
- hide idle rate
2020-12-16 16:45:10 +08:00
* Wed Dec 16 2020 lvhan <lvhan@kylinos.cn> - 1.0.1-2
- removes transparency
2020-11-03 14:22:48 +08:00
* Mon Oct 26 2020 douyan <douyan@kylinos.cn> - 1.0.1-1
- update to upstream version 1.0.0-1+1027
2020-07-23 11:25:29 +08:00
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 0.1.1-1
2020-12-16 16:45:10 +08:00
- Init package for openEuler