1 Summary: An X Window System color version of xhextris
5 Copyright: distributable
8 Source0: ftp://sunsite.unc.edu/pub/Linux/games/arcade/tetris/%{name}.tar.z
9 Source1: cxhextris.wmconfig
10 Patch0: cxhextris-config.patch
11 Patch1: cxhextris-axp.patch
12 Patch2: cxhextris-security.patch
13 Prereq: /usr/X11R6/bin/mkfontdir
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _prefix /usr/X11R6
17 %define _mandir %{_prefix}/man
20 CXHextris is a color version of the popular xhextris game, which is a
21 Tetris-like game that uses hexagon shapes instead of square shapes.
22 CXHextris runs within the X Window System.
24 Install cxhextris if you enjoy playing Tetris or Tetris-like games and
25 you'd like to play one on your system. You'll need to have X installed
26 in order to play CXHextris.
29 CXHextris jest kolorow± wersj± popularnej gry xhextris, bêd±cej klonem
30 Tetrisa u¿ywaj±cym sze¶ciobocznych figur zamiast kwadratowych.
31 CXHextris uruchamia siê w ¶rodowisku X Window.
33 Nale¿y zainstalowaæ CXHextris je¶li lubi siê gry w rodzaju Tetris. Aby
34 móc graæ w CXHextris nale¿y mieæ zainstalowane X Window.
37 %setup -q -n cxhextris
47 rm -rf $RPM_BUILD_ROOT
49 %{__make} DESTDIR=$RPM_BUILD_ROOT install install.man
51 install -d $RPM_BUILD_ROOT%{_prefix}/X11R6/lib/X11/fonts/misc
52 %{__make} FONTDIR=$RPM_BUILD_ROOT%{_prefix}/X11R6/lib/X11/fonts install.font
55 install -d .%{_sysconfdir}/X11/wmconfig
56 install $RPM_SOURCE_DIR/cxhextris.wmconfig .%{_sysconfdir}/X11/wmconfig/cxhextris
60 rm -rf $RPM_BUILD_ROOT
63 (cd /usr/X11R6/lib/X11/fonts/misc; /usr/X11R6/bin/mkfontdir)
66 (cd /usr/X11R6/lib/X11/fonts/misc; /usr/X11R6/bin/mkfontdir)
69 %defattr(644,root,root,755)
70 %doc README README.Linux
71 %attr(4755,games,games) %{_bindir}/xhextris
72 %{_prefix}/X11R6/lib/X11/fonts/misc/hex20.pcf
73 %attr(-,games,games) /var/lib/games/xhextris-scores
74 %{_sysconfdir}/X11/wmconfig/cxhextris