commit openomf for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package openomf for openSUSE:Factory checked in at 2024-11-03 07:17:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openomf (Old) and /work/SRC/openSUSE:Factory/.openomf.new.2020 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "openomf" Sun Nov 3 07:17:34 2024 rev:5 rq:1220296 version:0.6.5+git20241030 Changes: -------- --- /work/SRC/openSUSE:Factory/openomf/openomf.changes 2024-03-01 23:40:01.647053304 +0100 +++ /work/SRC/openSUSE:Factory/.openomf.new.2020/openomf.changes 2024-11-03 07:17:54.656702459 +0100 @@ -1,0 +2,9 @@ +Tue Oct 29 22:49:52 UTC 2024 - Martin Hauke <mardnh@gmx.de> + +- Update to version 0.6.5+git20241030 +- Specfile cleanup +- Drop not longer needed patches: + * libshadowdive-soversion.patch + * openomf-set-cflags.patch + +------------------------------------------------------------------- Old: ---- libshadowdive-soversion.patch openomf-0.6.5+git.20190205.tar.xz openomf-set-cflags.patch New: ---- openomf-0.6.5+git20241030.tar.xz BETA DEBUG BEGIN: Old:- Drop not longer needed patches: * libshadowdive-soversion.patch * openomf-set-cflags.patch Old: * libshadowdive-soversion.patch * openomf-set-cflags.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openomf.spec ++++++ --- /var/tmp/diff_new_pack.OrDRey/_old 2024-11-03 07:17:55.348731380 +0100 +++ /var/tmp/diff_new_pack.OrDRey/_new 2024-11-03 07:17:55.348731380 +0100 @@ -1,8 +1,8 @@ # # spec file for package openomf # -# Copyright (c) 2020 SUSE LLC -# Copyright (c) 2019, Martin Hauke <mardnh@gmx.de> +# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2019-2024, Martin Hauke <mardnh@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,19 +17,16 @@ # -%define sover 0_0_0-suse Name: openomf -Version: 0.6.5+git.20190205 +Version: 0.6.5+git20241030 Release: 0 Summary: Open Source remake of "One Must Fall 2097" License: MIT Group: Amusements/Games/Action/Arcade -URL: http://www.openomf.org +URL: https://www.openomf.org #Git-Clone: https://github.com/omf2097/openomf.git Source: %{name}-%{version}.tar.xz Source2: %{name}.README.SUSE -Patch0: libshadowdive-soversion.patch -Patch1: openomf-set-cflags.patch BuildRequires: ImageMagick BuildRequires: cmake BuildRequires: enet-devel @@ -38,13 +35,13 @@ BuildRequires: libpng16-compat-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files +BuildRequires: pkgconfig(SDL2_mixer) BuildRequires: pkgconfig(argtable2) BuildRequires: pkgconfig(cunit) +BuildRequires: pkgconfig(epoxy) BuildRequires: pkgconfig(libconfuse) BuildRequires: pkgconfig(libxmp) -BuildRequires: pkgconfig(openal) BuildRequires: pkgconfig(sdl2) -BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(zlib) %description @@ -55,74 +52,32 @@ for play, along with five arenas and four tournaments. The pilots vary in strength, speed and endurance. -%package -n libshadowdive%{sover} -Summary: A library for reading and writing One Must Fall 2097 datafiles -Group: System/Libraries - -%description -n libshadowdive%{sover} -libShadowDive is a library for reading and writing One Must Fall 2097 datafiles. -The library can deal with the following files: - - * HAR Data files (*.AF) - * Arena/background data files (*.BK) - * Language files (ENGLISH.DAT,GERMAN.DAT) - * Sound data file (SOUNDS.DAT) - * Characters for both big and small fonts (GRAPHCHR.DAT, CHARSMAL.DAT) - * Score file (SCORES.DAT) - * Pilot image files (*.PIC) - * Tournament data files (*.TRN) - * Character save files (*.CHR) - * Match record files (*.REC) - * Alternate palette file (ALTPALS.DAT) - -%package -n shadowdive-devel -Summary: Header files for libShadowDive -Group: Development/Libraries/C and C++ -Requires: libpng16-compat-devel -Requires: libshadowdive%{sover} = %{version} - -%description -n shadowdive-devel -Development and header files for libShadowDive. +NOTE: +To play One Must Fall 2097 with openomf you need the original game +files. See /usr/share/doc/packages/openomf/README.SUSE %prep %autosetup -p1 %build %cmake \ - -DUSE_OGGVORBIS=ON \ - -DUSE_XMP=ON \ - -DUSE_OPENAL=ON \ - -DUSE_PNG=ON \ -DUSE_TESTS=ON -make %{?_smp_mflags} +%cmake_build %install %cmake_install + # Install icons and desktop file for size in 256 128 96 64 48 32 16; do mkdir -p %{buildroot}%{_datadir}/icons/hicolor/$size"x$size/apps" - convert -strip resources/openomf_icon.png -resize "$size"x"$size" %{buildroot}%{_datadir}/icons/hicolor/$size"x$size/apps/%{name}.png" + magick convert -strip resources/icons/openomf.png -resize "$size"x"$size" %{buildroot}%{_datadir}/icons/hicolor/$size"x$size/apps/%{name}.png" done %suse_update_desktop_file -c %{name} 'Remake of "One Must Fall 2097"' "A fighting video game" %{name} %{name} Game ArcadeGame -install -m0644 %{SOURCE2} README.SUSE -%if 0%{?suse_version} < 1330 -%post -%desktop_database_post -%icon_theme_cache_post - -%postun -%desktop_database_postun -%icon_theme_cache_postun -%endif +install -m0644 %{SOURCE2} README.SUSE %check -export LD_LIBRARY_PATH=$(pwd)/build/external/libShadowDive -cd build/ -./openomf_test_main - -%post -n libshadowdive%{sover} -p /sbin/ldconfig -%postun -n libshadowdive%{sover} -p /sbin/ldconfig +./build/openomf_test_main %files %doc README.md README.SUSE @@ -132,15 +87,9 @@ %{_datadir}/applications/%{name}.desktop %dir %{_datadir}/games/%{name} %{_datadir}/games/%{name}/openomf.bk -%{_datadir}/games/%{name}/openomf_icon.png - -%files -n libshadowdive%{sover} -%doc external/libShadowDive/README.md -%license external/libShadowDive/LICENSE -%{_libdir}/libshadowdive.so.0* - -%files -n shadowdive-devel -%dir %{_includedir}/shadowdive -%{_includedir}/shadowdive/*.h -%{_libdir}/libshadowdive.so +%{_datadir}/games/openomf/gamecontrollerdb.txt +%{_datadir}/games/openomf/openomf.png +%dir %{_datadir}/games/openomf/shaders +%{_datadir}/games/openomf/shaders/palette.* +%{_datadir}/games/openomf/shaders/rgba.* ++++++ _service ++++++ --- /var/tmp/diff_new_pack.OrDRey/_old 2024-11-03 07:17:55.388733051 +0100 +++ /var/tmp/diff_new_pack.OrDRey/_new 2024-11-03 07:17:55.392733218 +0100 @@ -1,17 +1,17 @@ <services> - <service mode="disabled" name="tar_scm"> + <service mode="manual" name="tar_scm"> <param name="url">https://github.com/omf2097/openomf.git</param> <param name="revision">master</param> <param name="scm">git</param> <param name="changesgenerate">enable</param> - <param name="versionformat">@PARENT_TAG@+git.%cd</param> + <param name="versionformat">0.6.5+git%cd</param> <param name="package-meta">yes</param> </service> - <service mode="disabled" name="recompress"> + <service mode="manual" name="recompress"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> - <service mode="disabled" name="set_version"/> + <service mode="manual" name="set_version"/> </services> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.OrDRey/_old 2024-11-03 07:17:55.416734221 +0100 +++ /var/tmp/diff_new_pack.OrDRey/_new 2024-11-03 07:17:55.420734389 +0100 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/omf2097/openomf.git</param> - <param name="changesrevision">8719dc9deacdde2793a76bd62e591aa1c4e3ff7d</param></service></servicedata> + <param name="changesrevision">ae6955931b5b617f6bd4ab226e111f2218f69454</param></service></servicedata> (No newline at EOF) ++++++ openomf-0.6.5+git.20190205.tar.xz -> openomf-0.6.5+git20241030.tar.xz ++++++ ++++ 88961 lines of diff (skipped)
participants (1)
-
Source-Sync