]> git.pld-linux.org Git - packages/xbill.git/blob - xbill.spec
b42f82a4a7a39bb5daf994fc27db80104391a66a
[packages/xbill.git] / xbill.spec
1 Summary:        Stop Bill from loading his OS into all the computers.
2 Name:           xbill
3 Version:        2.0
4 Release:        6
5 Copyright:      MIT
6 Group:          Amusements/Games
7 Source:         ftp://ftp.x.org/contrib/games/%{name}-%{version}.tgz
8 Patch:          xbill-2.0-rh.patch
9 BuildRoot:      /tmp/%{name}-%{version}-root
10
11 %description
12 The xbill game tests your reflexes as you seek out and destroy all forms
13 of Bill, establish new operating systems and boldly go where no geek has
14 gone before.  Xbill has become an increasingly attractive option as the
15 Linux Age progresses, and it is very popular at Red Hat.
16
17 %prep
18 %setup -q
19 %patch -p1
20
21 %build
22 xmkmf
23 make
24
25 %install
26 rm -rf $RPM_BUILD_ROOT
27
28 make DESTDIR=$RPM_BUILD_ROOT install install.man
29
30 ( cd $RPM_BUILD_ROOT
31   mkdir -p ./usr/lib/xbill
32   for i in bitmaps pixmaps
33   do
34     mv ./var/lib/games/xbill/$i ./usr/lib/xbill/$i
35     ln -s ../../../../usr/lib/xbill/$i ./var/lib/games/xbill/$i
36   done
37
38   mkdir -p ./etc/X11/wmconfig
39   cat > ./etc/X11/wmconfig/xbill <<EOF
40 xbill name "xbill"
41 xbill description "Save the world"
42 xbill group Games/Video
43 xbill exec "xbill &"
44 EOF
45 )
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %attr(2755,root,games)  /usr/X11R6/bin/xbill
53 %attr(775,root,games)   %dir /var/state/games/xbill
54 %attr(664,root,games)   %config /var/state/games/xbill/scores
55 /var/state/games/xbill/bitmaps
56 /var/state/games/xbill/pixmaps
57 /usr/lib/xbill
58 %config /etc/X11/wmconfig/xbill
This page took 0.054542 seconds and 2 git commands to generate.