Michael Thomas d7aa209
%define waddir  %{_datadir}/doom
Michael Thomas d7aa209
Michael Thomas f2bf47b
Name:           deutex
c5255c8
Version:        5.1.1
c5255c8
Release:        1%{?dist}
Michael Thomas f2bf47b
Summary:        DOOM wad file manipulator
Michael Thomas f2bf47b
Michael Thomas 13f60cf
# All files LGPLv2+ or GPLv2+ except ./src/lzw.c which is MIT
Michael Thomas 13f60cf
License:        GPLv2+ and MIT
5cf3a42
URL:            https://github.com/Doom-Utils/deutex
5cf3a42
Source0:        %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
5cf3a42
Patch0:         deutex-5.1.0-waddir.patch
5cf3a42
BuildRequires:	gcc, autoconf, automake, asciidoc
Michael Thomas f2bf47b
Michael Thomas f2bf47b
%description
Michael Thomas f2bf47b
DeuTex is a wad composer for Doom, Heretic, Hexen and Strife. It can be
Michael Thomas f2bf47b
used to extract the lumps of a wad and save them as individual files.
Michael Thomas f2bf47b
Conversely, it can also build a wad from separate files. When extracting
Michael Thomas f2bf47b
a lump to a file, it does not just copy the raw data, it converts it to
Michael Thomas f2bf47b
an appropriate format (such as PPM for graphics, Sun audio for samples,
Michael Thomas f2bf47b
etc.). Conversely, when it reads files for inclusion in pwads, it does
Michael Thomas f2bf47b
the necessary conversions (for example, from PPM to Doom picture
Michael Thomas f2bf47b
format). In addition, DeuTex has functions such as merging wads, etc. If
Michael Thomas f2bf47b
you're doing any wad hacking beyond level editing, DeuTex is a must.
Michael Thomas f2bf47b
Michael Thomas f2bf47b
Michael Thomas f2bf47b
%prep
Michael Thomas f2bf47b
%setup -q
5cf3a42
%patch0 -p0
Michael Thomas f2bf47b
Michael Thomas f2bf47b
Michael Thomas f2bf47b
%build
5cf3a42
autoreconf -if
5cf3a42
%configure
Michael Thomas d7aa209
make CFLAGS="$RPM_OPT_FLAGS -DDOOMDIR=\"\\\"%{waddir}\\\"\"" %{?_smp_mflags}
Michael Thomas f2bf47b
Michael Thomas f2bf47b
%install
Michael Thomas f2bf47b
make install DESTDIR=$RPM_BUILD_ROOT
Michael Thomas f2bf47b
Michael Thomas f2bf47b
%files
Michael Thomas f2bf47b
%{_bindir}/deutex
Michael Thomas f2bf47b
%{_mandir}/man6/*
5cf3a42
%license LICENSE
5cf3a42
%doc COPYING COPYING.LIB AUTHORS README.adoc NEWS.adoc
Michael Thomas f2bf47b
Michael Thomas f2bf47b
Michael Thomas f2bf47b
%changelog
c5255c8
* Thu Feb 08 2018 Gwyn Ciesla <limburgher@gmail.com> - 5.1.1-1
c5255c8
- 5.1.1.
c5255c8
fc15a6e
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.0-2
fc15a6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
fc15a6e
5cf3a42
* Fri Oct 27 2017 Gwyn Ciesla <limburgher@gmail.com> - 5.1.0-1
5cf3a42
- 5.1.0, new upstream location.
5cf3a42
cfb20a2
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-20
cfb20a2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
cfb20a2
2c560a1
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-19
2c560a1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2c560a1
15e3c14
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-18
15e3c14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
15e3c14
41811eb
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-17
41811eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
41811eb
e54bd98
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-16
e54bd98
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e54bd98
c09357f
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-15
c09357f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c09357f
3188f69
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-14
3188f69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3188f69
05db889
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-13
05db889
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
05db889
c39c0c6
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-12
c39c0c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c39c0c6
bf9e470
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-11
bf9e470
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
bf9e470
669d8ac
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-10
669d8ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
669d8ac
d1875a9
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-9
d1875a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d1875a9
c900bd6
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-8
c900bd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c900bd6
1f62228
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.0-7
1f62228
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1f62228
Michael Thomas e0a9245
* Fri Feb 8 2008 Wart <wart at kobold.org> 4.4.0-6
Michael Thomas e0a9245
- Rebuild for gcc 3.4
Michael Thomas e0a9245
Michael Thomas 13f60cf
* Sun Aug 19 2007 Wart <wart at kobold.org> 4.4.0-5
Michael Thomas 13f60cf
- License tag clarification
Michael Thomas 13f60cf
Michael Thomas d7aa209
* Wed Apr 11 2007 Wart <wart at kobold.org> 4.4.0-4
Michael Thomas d7aa209
- Set default wad directory to the fedora default
Michael Thomas d7aa209
Michael Thomas 13c21b4
* Sun Aug 27 2006 Wart <wart at kobold.org> 4.4.0-3
Michael Thomas 13c21b4
- Rebuild for FC-6
Michael Thomas 13c21b4
5cf3a42
* Thu Apr 20 2006 Wart <wart at kobold.org> 4.4.0-2
Michael Thomas 75e842d
- Add freedoom to the list of known iwads.
Michael Thomas 75e842d
Michael Thomas f2bf47b
* Sun Mar 19 2006 Wart <wart at kobold.org> 4.4.0-1
Michael Thomas f2bf47b
- Initial spec file.