forked from pool/deutex
- Add 0001-increase-array-size-for-char-tname-variable-51.patch,
0001-Fix-strict-aliasing-violations.patch OBS-URL: https://build.opensuse.org/package/show/games:tools/deutex?expand=0&rev=4
This commit is contained in:
44
deutex.spec
44
deutex.spec
@@ -22,44 +22,46 @@ 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
|
||||
#Historic-Url: http://www.teaser.fr/~amajorel/deutex/
|
||||
URL: https://github.com/Doom-Utils/deutex
|
||||
|
||||
Source: https://github.com/Doom-Utils/deutex/releases/download/v%version/%name-%version.tar.xz
|
||||
Source2: https://github.com/Doom-Utils/deutex/releases/download/v%version/%name-%version.tar.xz.sig
|
||||
Patch1: 0001-increase-array-size-for-char-tname-variable-51.patch
|
||||
Patch2: 0001-Fix-strict-aliasing-violations.patch
|
||||
Patch3: deutex-proto.diff
|
||||
Patch4: deutex-nolimit.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
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.
|
||||
DeuTex is a .wad file 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 PNG for
|
||||
graphics, WAVE for audio 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.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 1 -P 2 -p1
|
||||
%patch -P 1 -P 2 -P 3 -P 4 -p1
|
||||
|
||||
%build
|
||||
autoreconf -fiv
|
||||
%configure
|
||||
make CFLAGS="%{optflags}" %{?_smp_mflags}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%files
|
||||
%_bindir/*
|
||||
%_mandir/man6/%name.6%ext_man
|
||||
%doc COPYING COPYING.LIB
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man6/%{name}.6%{ext_man}
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user