Ana Guerrero 2025-02-10 16:28:58 +00:00 committed by Git OBS Bridge
commit 10f28b84bc
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Feb 9 09:37:07 UTC 2025 - Dmitry Roshchin <dmitry_r@opensuse.org>
- Fix app notification font
-------------------------------------------------------------------
Thu Feb 6 10:50:53 UTC 2025 - Andreas Schneider <asn@cryptomilk.org>

View File

@ -68,6 +68,7 @@ BuildRequires: libexpat-devel
BuildRequires: libjpeg-devel
BuildRequires: memory-constraints
BuildRequires: nlopt-devel
BuildRequires: noto-sans-fonts
BuildRequires: occt-devel
BuildRequires: openexr-devel
BuildRequires: openssl-devel
@ -133,7 +134,8 @@ export CC=gcc-%gcc_ver CXX=g++-%gcc_ver
%cmake_install
#remove stray font file
rm -rf %{buildroot}%{_datadir}/%{name}/fonts
rm -rf %{buildroot}%{_datadir}/%{name}/fonts/*
ln -s %{_datadir}/fonts/truetype/NotoSans-Regular.ttf %{buildroot}%{_datadir}/%{name}/fonts/NotoSans-Regular.ttf
# Copied and adapted from Fedora package:
# https://src.fedoraproject.org/rpms/prusa-slicer
@ -175,7 +177,7 @@ find %{buildroot}%{_datadir}/%{name}/localization -type d | sed '
%{_bindir}/prusa-gcodeviewer
%{_libdir}/OCCTWrapper.so
%dir %{_datadir}/%{name}/
%{_datadir}/%{name}/{icons,models,profiles,shaders,udev,data,shapes,web}/
%{_datadir}/%{name}/{fonts,icons,models,profiles,shaders,udev,data,shapes,web}/
%{_datadir}/icons/hicolor/*/apps/%{name}*.png
%{_datadir}/applications/PrusaSlicer.desktop
%{_datadir}/applications/PrusaGcodeviewer.desktop