Patch1: %{name}-brokenasm.patch
Patch2: %{name}-ggi-fix.patch
Patch3: %{name}-svga-fix.patch
+Patch4: %{name}-info.patch
URL: http://xaos.theory.org/
BuildRequires: XFree86-devel
%{!?_without_aa:BuildRequires: aalib-devel}
BuildRequires: libpng-devel
%{!?_without_ncurses:BuildRequires: ncurses-devel}
%{!?_without_svga:BuildRequires: svgalib-devel}
+BuildRequires: texinfo
Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
cp -f /usr/share/automake/config.* .
%{__make}
+cd doc
+makeinfo --no-split xaos.texinfo
+makeinfo --no-split xaosdev.texinfo
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_infodir},%{_applnkdir},%{_pixmapsdir}} \