Spec file has been adapted for build for MSVSphere 8

Added translation of system policy file
i8 changed/i8/hardinfo-0.6-1.20230524git45fa969.el8.inferit.11
Sergey Cherevko 9 months ago
parent 4a1510b916
commit 4e96887017
Signed by: scherevko
GPG Key ID: D87CBBC16D2E4A72

@ -5,7 +5,9 @@
<policyconfig> <policyconfig>
<action id="org.freedesktop.pkexec.hardinfo"> <action id="org.freedesktop.pkexec.hardinfo">
<description>Run Hardinfo program</description> <description>Run Hardinfo program</description>
<description xml:lang="ru">Запуск Hardinfo</description>
<message>Authentication is required to run the Hardinfo</message> <message>Authentication is required to run the Hardinfo</message>
<message xml:lang="ru">Для запуска Hardinfo требуется авторизация</message>
<icon_name>accessories-text-editor</icon_name> <icon_name>accessories-text-editor</icon_name>
<defaults> <defaults>
<allow_any>auth_admin</allow_any> <allow_any>auth_admin</allow_any>

@ -3,7 +3,7 @@
Name: hardinfo Name: hardinfo
Version: 0.6 Version: 0.6
Release: 1.20230524git%{shorthash}%{?dist}.inferit.10 Release: 1.20230524git%{shorthash}%{?dist}.inferit.11
Summary: System Profiler and Benchmark Summary: System Profiler and Benchmark
License: GPLv2 License: GPLv2
@ -47,14 +47,17 @@ install -m644 %{SOURCE1} po/
%build %build
%cmake \ %cmake \
-S "." \
-B msvsphere-linux-build \
-DHARDINFO_GTK3=on \ -DHARDINFO_GTK3=on \
-DHARDINFO_NOSYNC=1 \ -DHARDINFO_NOSYNC=1 \
-DCMAKE_CACHE_FORCE=ON \
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_PREFIX=/usr
%cmake_build cmake --build "./msvsphere-linux-build" --verbose
%install %install
%cmake_install DESTDIR="%{buildroot}" cmake --install "./msvsphere-linux-build"
desktop-file-install --vendor="" --delete-original \ desktop-file-install --vendor="" --delete-original \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
@ -80,6 +83,11 @@ install -m644 %{SOURCE3} \
%{_datadir}/polkit-1/actions/org.freedesktop.pkexec.hardinfo.policy %{_datadir}/polkit-1/actions/org.freedesktop.pkexec.hardinfo.policy
%changelog %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 * Mon Feb 05 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.6-1.20230524git45fa969.inferit.10
- Drop Synchronize - Drop Synchronize

Loading…
Cancel
Save