#
# Conditional build:
%bcond_with static # linked statically
+%bcond_with linux26 # /proc/net/ipx/* patch
#
Summary: A DOS emulator
Summary(de): DOS-Emulator
Summary(tr): DOS öykünümcüsü
Name: dosemu
Version: 1.3.0
-Release: 0.1
+Release: 0.2
License: GPL v2
Group: Applications/Emulators
Source0: http://dl.sourceforge.net/dosemu/%{name}-1.3.0.tgz
Patch2: %{name}-%{name}_conf.patch
Patch3: %{name}-doSgmlTools.patch
Patch4: %{name}-makehtml.patch
+Patch5: %{name}-linux26-ipx.patch
URL: http://www.dosemu.org/
BuildRequires: XFree86-devel
%{?with_static:BuildRequires: XFree86-static}
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%{?with_linux26:%patch5 -p1}
%build
OPTFLAGS="%{rpmcflags}"; export OPTFLAGS