1 Summary: Stop Bill from loading his OS into all the computers
8 Source0: ftp://ftp.x.org/contrib/games/%{name}-%{version}.tgz
9 Patch0: xbill-2.0-rh.patch
10 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12 %define _prefix /usr/X11R6
13 %define _mandir %{_prefix}/man
16 The xbill game tests your reflexes as you seek out and destroy all
17 forms of Bill, establish new operating systems and boldly go where no
18 geek has gone before. Xbill has become an increasingly attractive
19 option as the Linux Age progresses, and it is very popular at Red Hat.
30 rm -rf $RPM_BUILD_ROOT
32 %{__make} DESTDIR=$RPM_BUILD_ROOT install install.man
35 install -d .%{_libdir}/xbill
36 for i in bitmaps pixmaps
38 mv ./var/lib/games/xbill/$i .%{_libdir}/xbill/$i
39 ln -s ../../../..%{_libdir}/xbill/$i ./var/lib/games/xbill/$i
42 install -d .%{_sysconfdir}/X11/wmconfig
43 cat > .%{_sysconfdir}/X11/wmconfig/xbill <<EOF
45 xbill description "Save the world"
46 xbill group Games/Video
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
56 %attr(2755,root,games) %{_prefix}/X11R6/bin/xbill
57 %attr(775,root,games) %dir /var/lib/games/xbill
58 %attr(664,root,games) %config /var/lib/games/xbill/scores
59 /var/lib/games/xbill/bitmaps
60 /var/lib/games/xbill/pixmaps
62 %config %{_sysconfdir}/X11/wmconfig/xbill