Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package dunelegacy for openSUSE:Factory checked in at 2026-04-07 16:35:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dunelegacy (Old) and /work/SRC/openSUSE:Factory/.dunelegacy.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dunelegacy" Tue Apr 7 16:35:11 2026 rev:6 rq:1343696 version:0.99.5 Changes: -------- --- /work/SRC/openSUSE:Factory/dunelegacy/dunelegacy.changes 2024-03-07 22:02:37.983245378 +0100 +++ /work/SRC/openSUSE:Factory/.dunelegacy.new.21863/dunelegacy.changes 2026-04-07 16:52:07.708544105 +0200 @@ -1,0 +2,12 @@ +Sun Mar 22 13:38:00 UTC 2026 - Martin Hauke <[email protected]> + +- Update to version 0.99.5 + * Too many changes to list. See release_notes/RELEASE_NOTES.md + for the details. +- Drop patch + * fix-build-with-SDL_mixer-2.0.2.patch +- Add patch: + * dunelegacy-fix-cmake.patch +- Use tar_scm to generate the tarball + +------------------------------------------------------------------- Old: ---- dunelegacy-0.96.4-src.tar.bz2 fix-build-with-SDL_mixer-2.0.2.patch New: ---- _service dunelegacy-0.99.5.obscpio dunelegacy-0.99.5.tar.xz dunelegacy-fix-cmake.patch dunelegacy.obsinfo ----------(Old B)---------- Old:- Drop patch * fix-build-with-SDL_mixer-2.0.2.patch - Add patch: ----------(Old E)---------- ----------(New B)---------- New:- Add patch: * dunelegacy-fix-cmake.patch - Use tar_scm to generate the tarball ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dunelegacy.spec ++++++ --- /var/tmp/diff_new_pack.k1tXZz/_old 2026-04-07 16:52:08.380572241 +0200 +++ /var/tmp/diff_new_pack.k1tXZz/_new 2026-04-07 16:52:08.384572409 +0200 @@ -1,7 +1,7 @@ # # spec file for package dunelegacy # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,28 +17,28 @@ Name: dunelegacy -Version: 0.96.4 +Version: 0.99.5 Release: 0 Summary: A modern Dune II reimplementation License: GPL-2.0-or-later Group: Amusements/Games/Strategy/Real Time -URL: http://dunelegacy.sourceforge.net/ -Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-src.tar.bz2 +URL: https://dunelegacy.sourceforge.net/ +Source: %{name}-%{version}.tar.xz # PATCH-FEATURE-UPSTREAM https://sourceforge.net/p/dunelegacy/patches/8/ Source8: %{name}.appdata.xml # PATCH-FEATURE-UPSTREAM https://sourceforge.net/p/dunelegacy/patches/7/ Source9: %{name}.6 -# PATCH-FIX-OPENSUSE fix-build-with-SDL_mixer-2.0.2.patch [email protected] -- fix build with SDL2_mixer 2.0.2 where MIX_INIT_FLUIDSYNTH has been renamed to MIX_INIT_MID -Patch0: fix-build-with-SDL_mixer-2.0.2.patch -BuildRequires: cppunit-devel -BuildRequires: dos2unix +Patch0: dunelegacy-fix-cmake.patch +BuildRequires: cmake +BuildRequires: discord-rpc-devel BuildRequires: gcc-c++ -BuildRequires: libstdc++-devel +BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig -BuildRequires: update-desktop-files BuildRequires: pkgconfig(SDL2_mixer) +BuildRequires: pkgconfig(SDL2_ttf) +BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(miniupnpc) BuildRequires: pkgconfig(sdl2) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Lead one of three interplanetary houses, Atreides, Harkonnen or Ordos, @@ -58,38 +58,23 @@ %prep %autosetup -p1 -dos2unix ToDo.txt - %build -%configure -make V=1 %{?_smp_mflags} - -%check -make V=1 %{?_smp_mflags} distclean -./runUnitTests.sh +%cmake +%cmake_build %install -%make_install V=1 - -# Install .desktop file and icon -%suse_update_desktop_file -i %{name} -install -D -p -m 0644 %{name}-128x128.png %{buildroot}%{_datadir}/pixmaps/%{name}.png - -# https://en.opensuse.org/openSUSE:AppStore -mkdir -p %{buildroot}%{_datadir}/appdata -cp %{SOURCE8} %{buildroot}%{_datadir}/appdata - -# Install man page -mkdir -p %{buildroot}%{_mandir}/man6 -cp %{SOURCE9} %{buildroot}%{_mandir}/man6 +%cmake_install +install -Dpm 0644 %{SOURCE8} %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml +install -Dpm 0644 %{SOURCE9} %{buildroot}%{_mandir}/man6/%{name}.6 +rm %{buildroot}/usr/share/doc/packages/dunelegacy/{AUTHORS,COPYING,NEWS,Release_Notes.md} %files -%defattr(644,root,root,755) -%doc README ToDo.txt NEWS COPYING AUTHORS ChangeLog -%attr(755,root,root) %{_bindir}/%{name} -%{_mandir}/man?/%{name}.?.* -%{_datadir}/%{name}/ -%attr(755,root,root) %{_datadir}/applications/%{name}.desktop -%{_datadir}/pixmaps/%{name}.png +%license COPYING +%doc AUTHORS NEWS README ChangeLog release_notes/RELEASE_NOTES.md +%{_bindir}/dunelegacy +%{_mandir}/man6/%{name}.6%{?ext_man} +%{_datadir}/applications/%{name}.desktop +%{_datadir}/DuneLegacy +%{_datadir}/icons/hicolor/*/apps/%{name}.??g %{_datadir}/appdata/%{name}.appdata.xml ++++++ _service ++++++ <services> <service name="tar_scm" mode="manual"> <param name="url">https://git.code.sf.net/p/dunelegacy/code</param> <param name="scm">git</param> <param name="filename">dunelegacy</param> <param name="revision">v0.99.5</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">disable</param> </service> <service name="set_version" mode="manual"> <param name="basename">dunelegacy</param> </service> <service name="tar" mode="buildtime" /> <service name="recompress" mode="manual"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> </services> ++++++ dunelegacy-fix-cmake.patch ++++++ diff --git a/CMakeLists.txt b/CMakeLists.txt index c552896..b6f9197 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -340,7 +340,7 @@ else() set(CPACK_PACKAGE_FILE_NAME "DuneLegacy-${PROJECT_VERSION}-Linux-x64") # Add custom target for Linux packages - add_custom_target(package + add_custom_target(mypackage COMMAND ${CMAKE_COMMAND} -E echo "Cleaning CPack cache and install directory..." COMMAND ${CMAKE_COMMAND} -E remove_directory ${CMAKE_BINARY_DIR}/_CPack_Packages COMMAND ${CMAKE_COMMAND} -E remove ${CMAKE_BINARY_DIR}/*.deb ${CMAKE_BINARY_DIR}/*.rpm ${CMAKE_BINARY_DIR}/*.tar.gz ++++++ dunelegacy.obsinfo ++++++ name: dunelegacy version: 0.99.5 mtime: 1766291089 commit: a3810102bd00a03c618bb7414d353a337c732fc6
