2 Commits

Author SHA256 Message Date
a4a2c607b7 Import openSUSE:Leap:16.0 modifications 2025-08-12 12:17:27 +02:00
64c06799f6 remove invalid imported files 2025-08-12 12:17:25 +02:00
4 changed files with 22 additions and 18 deletions

View File

@@ -1,4 +0,0 @@
mtime: 1730593864
commit: e1c40c23711bc496340d09084aeb4f3e2c7c878bad6aeb10d03b41783c907870
url: https://src.opensuse.org/jengelh/prboom-plus
revision: master

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8a47966fe44d23463a802c9c2bd4aec99f1fe6b0b53d28aec85a5fff3906616d
size 256

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Wed Jun 25 09:08:35 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Build with CFLAGS=-std=gnu11 to resolve FTBFS.
-------------------------------------------------------------------
Thu Mar 20 21:26:43 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Deactivate libpcre integration. This disables the command line
option `-auto`, which was used for for autoloading WADs according
to the LMP demo file name.
- Make build recipe POSIX sh compatible.
-------------------------------------------------------------------
Sun Nov 3 00:28:07 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package prboom-plus
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -32,17 +32,16 @@ Patch5: gcc14.diff
BuildRequires: Mesa-devel
BuildRequires: c++_compiler
BuildRequires: cmake
BuildRequires: fluidsynth-devel
BuildRequires: hicolor-icon-theme
BuildRequires: libpng-devel
BuildRequires: libvorbis-devel
BuildRequires: pcre-devel
BuildRequires: portmidi-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(SDL2_image)
BuildRequires: pkgconfig(SDL2_mixer)
BuildRequires: pkgconfig(SDL2_net)
BuildRequires: pkgconfig(fluidsynth)
BuildRequires: pkgconfig(portmidi)
BuildRequires: pkgconfig(sdl2)
BuildRequires: pkgconfig(vorbis)
Suggests: freedoom
Provides: prboom = 2.6um
Obsoletes: prboom <= 2.6
@@ -66,14 +65,14 @@ PrBoom+ is a conservative Doom source port. It features:
%autosetup -p0
%build
pushd prboom2/
cd prboom2/
export CFLAGS="%optflags -std=gnu11"
%cmake -DDOOMWADDIR="%_datadir/doom" -DPRBOOMDATADIR="%_datadir/doom"
%cmake_build
popd
%install
s="$PWD"
pushd prboom2/
cd prboom2/
%cmake_install
# convenience symlink
b="%buildroot"
@@ -81,10 +80,9 @@ ln -s prboom-plus "$b/%_bindir/prboom"
install -Dm0644 ICONS/prboom-plus.svg "$b/%_datadir/icons/hicolor/scalable/apps/prboom-plus.svg"
install -Dm0644 ICONS/prboom-plus.desktop "$b/%_datadir/applications/prboom-plus.desktop"
install -Dm0644 ICONS/prboom-plus.bash "$b/%_datadir/bash-completion/completions/prboom-plus.bash"
popd
# TW switched doc location in %%cmake
(cd "%buildroot"; find "./%_datadir/doc" -type d -name prboom-plus | cut -b2-) >"$s/doc.files"
ls -al "$s/doc.files"
cd "%buildroot"
find "./%_datadir/doc" -type d -name prboom-plus | cut -b2- >"$s/doc.files"
%if 0%{?suse_version} && 0%{?suse_version} < 1550
%post