fix(gaphor.spec): conflicts and icons size
Some checks failed
Update Gvsbuild / update-version (push) Has been skipped
Scorecard supply-chain security / Scorecard analysis (push) Failing after 19s
Pre-commit updater / Update (push) Failing after 19s
Update Gvsbuild / check-version (push) Failing after 17s
Hypothesis Tests / hypothesis (push) Failing after 23s

This commit is contained in:
Константин Козориз 2024-10-24 14:59:34 +03:00
parent 857efd98ae
commit 4d01ccc7d6

View File

@ -35,7 +35,7 @@ BuildRequires: python3-module-better-exceptions
BuildRequires: python3-module-gaphas >= 4.0
BuildRequires: python3-module-generic
Conflicts: python3-module-gaphas < 5.0
Conflicts: python3-module-gaphas >= 5.0
%description
Gaphor is a UML and SysML modeling application written in Python.
@ -58,13 +58,13 @@ highly complex models.
install -Dm0644 %SOURCE1 %buildroot/%_desktopdir/%mod_name.desktop
# Icon
for size in 24 48 64 128 256; do
install -Dm644 "_packaging/macos/%mod_name.iconset/icon_${size}x${size}.png" \
"%buildroot/%_iconsdir/hicolor/${size}x${size}/apps/%mod_name.png"
for size in 128 256 512; do
install -Dm644 "_packaging/macos/%mod_name.iconset/icon_${size}x${size}.png" \
"%buildroot/%_iconsdir/hicolor/${size}x${size}/apps/%mod_name.png"
done
for size in 16 32; do
install -Dm644 "_packaging/macos/%mod_name.iconset/icon_${size}x${size}.png" \
"%buildroot/%_iconsdir/hicolor/${size}x${size}/apps/%mod_name.png"
install -Dm644 "_packaging/macos/%mod_name.iconset/icon_${size}x${size}.png" \
"%buildroot/%_iconsdir/hicolor/${size}x${size}/apps/%mod_name.png"
done
%files
@ -72,10 +72,11 @@ done
%python3_sitelibdir/%{pyproject_distinfo %mod_name}/
%_bindir/*
%_desktopdir/%mod_name.desktop
%_iconsdir/hicolor/512x512/apps/%mod_name.png
%doc README.md
%_iconsdir/hicolor/*/apps/*.png
%doc README.md
%changelog
* Thu Oct 17 2024 Konstantin Kozoriz <kozorizki@basealt.ru> 2.27.0-alt1
- Initial build