Patch1: %{name}-axp.patch
Patch2: %{name}-security.patch
Icon: cxhextris.xpm
-Prereq: /usr/X11R6/bin/mkfontdir
BuildRequires: XFree86-devel
+Prereq: /usr/X11R6/bin/mkfontdir
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
%description
CXHextris is a color version of the popular xhextris game, which is a
Tetris-like game that uses hexagon shapes instead of square shapes.
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{/usr/share/fonts/misc,%{_applnkdir}/Games/Arcade,%{_datadir}/pixmaps}
-%{__make} DESTDIR=$RPM_BUILD_ROOT install install.man
+%{__make} install install.man \
+ DESTDIR=$RPM_BUILD_ROOT
-%{__make} FONTDIR=$RPM_BUILD_ROOT%{_fontsdir} install.font
+%{__make} install.font \
+ FONTDIR=$RPM_BUILD_ROOT%{_fontsdir}
install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Arcade
install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps