|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
|
|
|
|
|
Name: hardinfo
|
|
|
|
|
Version: 0.6
|
|
|
|
|
Release: 1.20230524git%{shorthash}%{?dist}.inferit.7
|
|
|
|
|
Release: 1.20230524git%{shorthash}%{?dist}.inferit.11
|
|
|
|
|
Summary: System Profiler and Benchmark
|
|
|
|
|
|
|
|
|
|
License: GPLv2
|
|
|
|
@ -15,6 +15,8 @@ Source3: org.freedesktop.pkexec.hardinfo.policy
|
|
|
|
|
Patch1: 0001-Remove-annoyng-window-about-loading-of-needed-librar.patch
|
|
|
|
|
Patch2: 0002-vendor.ids-Added-MSVSphere-OS.patch
|
|
|
|
|
Patch3: 0003-Fix-segfault-when-info-about-block-storage-is-absent.patch
|
|
|
|
|
Patch4: 0004-Drop-Vendor.patch
|
|
|
|
|
Patch5: 0005-Drop-Synchronize.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
@ -45,14 +47,17 @@ install -m644 %{SOURCE1} po/
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cmake \
|
|
|
|
|
-S "." \
|
|
|
|
|
-B msvsphere-linux-build \
|
|
|
|
|
-DHARDINFO_GTK3=on \
|
|
|
|
|
-DHARDINFO_NOSYNC=1 \
|
|
|
|
|
-DCMAKE_CACHE_FORCE=ON \
|
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
|
|
|
|
|
|
|
|
%cmake_build
|
|
|
|
|
cmake --build "./msvsphere-linux-build" --verbose
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%cmake_install
|
|
|
|
|
DESTDIR="%{buildroot}" cmake --install "./msvsphere-linux-build"
|
|
|
|
|
|
|
|
|
|
desktop-file-install --vendor="" --delete-original \
|
|
|
|
|
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
|
|
|
|
@ -78,6 +83,21 @@ install -m644 %{SOURCE3} \
|
|
|
|
|
%{_datadir}/polkit-1/actions/org.freedesktop.pkexec.hardinfo.policy
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Mar 28 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 0.6-1.20230524git45fa969.inferit.11
|
|
|
|
|
- Added translation of system policy file
|
|
|
|
|
- Spec file has been adapted for build for MSVSphere 8
|
|
|
|
|
- Rebuilt for MSVSphere 8.9
|
|
|
|
|
|
|
|
|
|
* Mon Feb 05 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.6-1.20230524git45fa969.inferit.10
|
|
|
|
|
- Drop Synchronize
|
|
|
|
|
|
|
|
|
|
* Tue Dec 26 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.6-2.20230524git45fa969.inferit.9
|
|
|
|
|
- Drop URLs for MSVSphere
|
|
|
|
|
|
|
|
|
|
* Fri Oct 27 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.6-2.20230524git45fa969.inferit.8
|
|
|
|
|
- Drop Vendor from OS info
|
|
|
|
|
- Fix site URL
|
|
|
|
|
|
|
|
|
|
* Fri Oct 13 2023 Alexey Berezhok <aberezhok@msvsphere-os.ru> - 0.6-2.20230524git45fa969.inferit.7
|
|
|
|
|
- Fix segfault when info about block storage is absent
|
|
|
|
|
|
|
|
|
|