SHA256
1
0
forked from pool/deutex

Accepting request 508842 from games:tools

- Add deutex-nolimit.diff: raise limit for WAD directory reading

OBS-URL: https://build.opensuse.org/request/show/508842
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/deutex?expand=0&rev=6
This commit is contained in:
2017-07-08 10:35:17 +00:00
committed by Git OBS Bridge
parent f167b49a8e
commit 3da299538e
5 changed files with 43 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package deutex
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -14,28 +14,30 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: deutex
Version: 4.4.902
Release: 0
Group: Development/Tools/Other
Summary: WAD composer for Doom and related games
License: GPL-2.0+
Group: Development/Tools/Other
Url: http://www.teaser.fr/~amajorel/deutex/
# This prerelease tarball is unfortunately not linked from the homepage,
# but referenced from
# http://doom-editing.gamehourz.com/DeuTex-release-candidate-ftopict85808.html
#Source: http://www.teaser.fr/~amajorel/deutex/fungus/deutex-4.4.902.tar.gz
Source: %name-%version.tar.xz
Source: http://www.teaser.fr/~amajorel/deutex/fungus/%name-%version.tar.gz
Patch1: deutex-automake.diff
Patch2: deutex-braces.diff
Patch3: deutex-proto.diff
Patch4: deutex-init-stdfp.diff
Patch5: deutex-soundbuf.diff
Patch6: deutex-nolimit.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: xz
BuildRequires: autoconf automake libtool
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
Provides: deusf = %version
%description
@@ -51,19 +53,19 @@ such as merging wads, etc.
%prep
%setup -q
%patch -P 1 -P 2 -P 3 -P 4 -P 5 -p1
%patch -P 1 -P 2 -P 3 -P 4 -P 5 -P 6 -p1
%build
autoreconf -fi;
autoreconf -fi
%configure
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags};
make CFLAGS="%optflags" %{?_smp_mflags}
iconv -f iso8859-1 -t utf-8 <deutex.6 >deutex.6.new;
iconv -f iso8859-1 -t utf-8 <dtexman6.txt >dtexman6.txt.new;
mv deutex.6.new deutex.6;
mv dtexman6.txt.new dtexman6.txt;
%install
make install DESTDIR="%buildroot";
%make_install
%files
%defattr(-,root,root)