diff --git a/Commander-Genius-v2.7.7.tar.bz2 b/Commander-Genius-v2.7.7.tar.bz2 deleted file mode 100644 index 73edbdd..0000000 --- a/Commander-Genius-v2.7.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5ee56effcb36b64ad85bc5a32aab1ae0178d14a9d7641e516c7a140974aa18ba -size 55337535 diff --git a/Commander-Genius-v2.7.9.tar.bz2 b/Commander-Genius-v2.7.9.tar.bz2 new file mode 100644 index 0000000..4fe4cce --- /dev/null +++ b/Commander-Genius-v2.7.9.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:310bdd4d79df98fe2d696157610c048d731bb850ca067bda21a572bd99b289a4 +size 55456574 diff --git a/commandergenius.changes b/commandergenius.changes index 6004255..51f5c4c 100644 --- a/commandergenius.changes +++ b/commandergenius.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Tue Apr 6 19:44:54 UTC 2021 - Martin Hauke + +- Add patch: + * fix icons + +------------------------------------------------------------------- +Tue Apr 6 09:26:14 UTC 2021 - Martin Hauke + +- Update to version 2.7.9 + * Add appdata + +------------------------------------------------------------------- +Sun Mar 28 13:38:51 UTC 2021 - Martin Hauke + +- Update to version 2.7.8 + * More logging. Code cleanups + ------------------------------------------------------------------- Sun Feb 14 15:36:36 UTC 2021 - Martin Hauke diff --git a/commandergenius.spec b/commandergenius.spec index a814b19..d963410 100644 --- a/commandergenius.spec +++ b/commandergenius.spec @@ -17,7 +17,7 @@ Name: commandergenius -Version: 2.7.7 +Version: 2.7.9 Release: 0 Summary: An open clone of the Commander Keen engines License: GPL-2.0-only @@ -25,6 +25,7 @@ Group: Amusements/Games/Action/Arcade URL: http://clonekeenplus.sf.net/ #Git-Clone: https://gitlab.com/Dringgstein/Commander-Genius.git Source: https://gitlab.com/Dringgstein/Commander-Genius/-/archive/v%version/Commander-Genius-v%version.tar.bz2 +Patch0: fix-icons.patch BuildRequires: boost-devel BuildRequires: cmake >= 2.8 BuildRequires: fdupes @@ -46,6 +47,7 @@ It has 4-player cooperative mode and six difficulty modes. %prep %setup -q -n Commander-Genius-v%version +%patch0 -p1 %build %cmake \ @@ -57,12 +59,14 @@ It has 4-player cooperative mode and six difficulty modes. %install %cmake_install +install -D -m0644 share/cg.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/cg.svg %fdupes %buildroot%_datadir %files %license COPYRIGHT %_bindir/CGeniusExe %_datadir/applications/cgenius.desktop +%_datadir/metainfo/io.sourceforge.clonekeenplus.appdata.xml %_datadir/icons/hicolor/ %_datadir/games/%name/ diff --git a/fix-icons.patch b/fix-icons.patch new file mode 100644 index 0000000..d7e2995 --- /dev/null +++ b/fix-icons.patch @@ -0,0 +1,13 @@ +diff --git a/src/install.cmake b/src/install.cmake +index 2e6daeb..5783f8b 100644 +--- a/src/install.cmake ++++ b/src/install.cmake +@@ -11,7 +11,7 @@ ELSE(WIN32) + # Install desktop icon and file + foreach(X IN ITEMS 16 32 48 64 128 256 512) + INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../share/cg.${X}.png +- DESTINATION "${ICONDIR}/${X}x${X}/apps") ++ DESTINATION "${ICONDIR}/${X}x${X}/apps/" RENAME cg.png) + endforeach() + + INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../share/cgenius.desktop