From 4e968870171cd45d486b11c2a9625af309a678d1 Mon Sep 17 00:00:00 2001 From: Sergey Cherevko Date: Thu, 28 Mar 2024 19:23:59 +0300 Subject: [PATCH] Spec file has been adapted for build for MSVSphere 8 Added translation of system policy file --- SOURCES/org.freedesktop.pkexec.hardinfo.policy | 2 ++ SPECS/hardinfo.spec | 14 +++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/SOURCES/org.freedesktop.pkexec.hardinfo.policy b/SOURCES/org.freedesktop.pkexec.hardinfo.policy index 04884c7..03aa776 100644 --- a/SOURCES/org.freedesktop.pkexec.hardinfo.policy +++ b/SOURCES/org.freedesktop.pkexec.hardinfo.policy @@ -5,7 +5,9 @@ Run Hardinfo program + Запуск Hardinfo Authentication is required to run the Hardinfo + Для запуска Hardinfo требуется авторизация accessories-text-editor auth_admin diff --git a/SPECS/hardinfo.spec b/SPECS/hardinfo.spec index aa20764..fee09f9 100644 --- a/SPECS/hardinfo.spec +++ b/SPECS/hardinfo.spec @@ -3,7 +3,7 @@ Name: hardinfo Version: 0.6 -Release: 1.20230524git%{shorthash}%{?dist}.inferit.10 +Release: 1.20230524git%{shorthash}%{?dist}.inferit.11 Summary: System Profiler and Benchmark License: GPLv2 @@ -47,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 \ @@ -80,6 +83,11 @@ install -m644 %{SOURCE3} \ %{_datadir}/polkit-1/actions/org.freedesktop.pkexec.hardinfo.policy %changelog +* Thu Mar 28 2024 Sergey Cherevko - 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 - 0.6-1.20230524git45fa969.inferit.10 - Drop Synchronize