forked from pool/deutex
Accepting request 560959 from home:avindra
- update to 5.1.0 * General - The -overwrite option now works. - Levels are extracted/inserted in a way to preserve GL nodes. - Inserting pictures with a height of 1 pixel no longer causes a malloc error, and allows the operation of rebuilding a Doom 1 or 2 IWAD. - texture lump file names can now be overridden. * Graphics - DeuTex supports reading and writing sprite offsets based on PNG grab chunks in a manner compatible with SLADE and ZDoom. wadinfo.txt overrides these offsets unless -pngoffsets is used. - includes 5.0.0 * Removed features - DeuSF. - -man troff format generation. - WinTex options. - -fullsnd: now the only mode. - MS-DOS and OS/2 compatibility. - Incomplete (and conditioned out) Rise of the Triad support. * File format support - PNG support added, creating an optional dependency on libpng 1.6. If compiled in, it is the default extraction format, PPM otherwise. - Au and VOC sound formats removed. WAV is the only supported format for extraction and creation. - Full sound lumps from the WAD are always extracted. - MIDI files can be included just by being named *.mid, and are extracted to the same file name extension. * General - Log file support has been removed, in favor of the user doing a shell redirection (eg, with > or 2>) instead. - Arch-vile sprites are now extracted and inserted using literal names for sprites with the [ and ] characters in names (was illegal in DOS), and sprite names with \ are now altered to use ^ on-disk, matching the ZDoom PK3 standard. - Graphics with a height > 128 are now inserted into Doom WAD files correctly. - UDMF (Universal Doom Map Format) support. * Build systems, code standards - Real Autoconf+Automake build system to replace the barely-functioning imitation one. ./configure, make, and related environment variables work as should be expected. - MS-DOS and OS/2 batch files removed. - A malloc.h include was removed to allow compilation on MacOS, and is not needed by current Unix systems in general. - Major cleanup, linting and refactoring - C99-style cleanups to use (u)intN_t types, bool, true, false throughout the code, replacing old defines. - AsciiDoc now used for documentation - cleanup with spec-cleaner - remove patches obsoleted by upstream cleanup and refactoring * deutex-automake.diff * deutex-braces.diff * deutex-init-stdfp.diff - check_types removed (b76fafa6fee9a64929e7b1087ac36ea3ce39e27d) * deutex-soundbuf.diff - rebase deutex-proto.diff - rebase deutex-nolimit.diff - renumber patches OBS-URL: https://build.opensuse.org/request/show/560959 OBS-URL: https://build.opensuse.org/package/show/games:tools/deutex?expand=0&rev=3
This commit is contained in:
43
deutex.spec
43
deutex.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package deutex
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 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
|
||||
@@ -17,28 +17,22 @@
|
||||
|
||||
|
||||
Name: deutex
|
||||
Version: 4.4.902
|
||||
Version: 5.1.0
|
||||
Release: 0
|
||||
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/%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
|
||||
URL: http://www.teaser.fr/~amajorel/deutex/
|
||||
Source0: https://github.com/Doom-Utils/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
||||
Source1: https://github.com/Doom-Utils/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz.sig
|
||||
Patch1: deutex-proto.diff
|
||||
Patch2: deutex-nolimit.diff
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
Provides: deusf = %version
|
||||
BuildRequires: pkgconfig
|
||||
Provides: deusf = %{version}
|
||||
|
||||
%description
|
||||
DeuTex is a wad composer for Doom, Heretic, Hexen and Strife. It can
|
||||
@@ -53,24 +47,19 @@ such as merging wads, etc.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1 -P 2 -P 3 -P 4 -P 5 -P 6 -p1
|
||||
%patch -P 1 -P 2 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
autoreconf -fiv
|
||||
%configure
|
||||
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;
|
||||
make CFLAGS="%{optflags}" %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%_bindir/*
|
||||
%doc %_mandir/*/*
|
||||
%doc dtexman6.txt CHANGES COPYING COPYING.LIB FAQ
|
||||
%doc COPYING COPYING.LIB
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man6/%{name}.6%{ext_man}
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user