]> git.pld-linux.org Git - packages/xbill.git/blame - xbill.spec
- release++
[packages/xbill.git] / xbill.spec
CommitLineData
f5aa9312
JR
1Summary: Stop Bill from loading his OS into all the computers.
2Name: xbill
3Version: 2.0
7bdb56e4 4Release: 7
f5aa9312
JR
5Copyright: MIT
6Group: Amusements/Games
7Source: ftp://ftp.x.org/contrib/games/%{name}-%{version}.tgz
8Patch: xbill-2.0-rh.patch
ba1c2a4b 9BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
89813590
JR
10
11%description
12The xbill game tests your reflexes as you seek out and destroy all forms
13of Bill, establish new operating systems and boldly go where no geek has
14gone before. Xbill has become an increasingly attractive option as the
15Linux Age progresses, and it is very popular at Red Hat.
16
17%prep
18%setup -q
f5aa9312 19%patch -p1
89813590
JR
20
21%build
22xmkmf
23make
24
25%install
26rm -rf $RPM_BUILD_ROOT
27
28make 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
40xbill name "xbill"
41xbill description "Save the world"
42xbill group Games/Video
43xbill exec "xbill &"
44EOF
45)
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
f5aa9312 51%defattr(644,root,root,755)
89813590 52%attr(2755,root,games) /usr/X11R6/bin/xbill
7bdb56e4
JR
53%attr(775,root,games) %dir /var/lib/games/xbill
54%attr(664,root,games) %config /var/lib/games/xbill/scores
55/var/lib/games/xbill/bitmaps
56/var/lib/games/xbill/pixmaps
89813590
JR
57/usr/lib/xbill
58%config /etc/X11/wmconfig/xbill
This page took 0.129432 seconds and 4 git commands to generate.