SHA256
1
0
forked from pool/deutex
deutex/deutex.spec
Jan Engelhardt 5fb04e6c8f 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
2018-01-01 18:58:32 +00:00

66 lines
2.2 KiB
RPMSpec

#
# spec file for package deutex
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: deutex
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/
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
BuildRequires: pkgconfig
Provides: deusf = %{version}
%description
DeuTex is a wad composer for Doom, Heretic, Hexen and Strife. It can
be used to extract the lumps of a wad and save them as individual
files. Conversely, it can also build a wad from separate files. When
extracting a lump to a file, it does not just copy the raw data, it
converts it to an appropriate format (such as PPM for graphics, Sun
audio for samples, etc.). Conversely, when it reads files for
inclusion in pwads, it does the necessary conversions (for example,
from PPM to Doom picture format). In addition, DeuTex has functions
such as merging wads, etc.
%prep
%setup -q
%patch -P 1 -P 2 -p1
%build
autoreconf -fiv
%configure
make CFLAGS="%{optflags}" %{?_smp_mflags}
%install
%make_install
%files
%doc COPYING COPYING.LIB
%{_bindir}/%{name}
%{_mandir}/man6/%{name}.6%{ext_man}
%changelog