]> git.pld-linux.org Git - packages/xbill.git/blame - xbill.spec
- xbill Imakefile patch
[packages/xbill.git] / xbill.spec
CommitLineData
368c1617 1Summary: Stop Bill from loading his OS into all the computers
f5aa9312
JR
2Name: xbill
3Version: 2.0
7bdb56e4 4Release: 7
f5aa9312 5Copyright: MIT
368c1617 6Group: X11/Games
7Group(pl): X11/Gry
8Source0: ftp://ftp.x.org/contrib/games/%{name}-%{version}.tgz
9Patch0: xbill-2.0-rh.patch
ba1c2a4b 10BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
89813590 11
368c1617 12%define _prefix /usr/X11R6
13%define _mandir %{_prefix}/man
14
89813590 15%description
368c1617 16The xbill game tests your reflexes as you seek out and destroy all
17forms of Bill, establish new operating systems and boldly go where no
18geek has gone before. Xbill has become an increasingly attractive
19option as the Linux Age progresses, and it is very popular at Red Hat.
89813590
JR
20
21%prep
22%setup -q
f5aa9312 23%patch -p1
89813590
JR
24
25%build
26xmkmf
9945f428 27%{__make}
89813590
JR
28
29%install
30rm -rf $RPM_BUILD_ROOT
31
8c991f1e 32%{__make} DESTDIR=$RPM_BUILD_ROOT install install.man
89813590
JR
33
34( cd $RPM_BUILD_ROOT
368c1617 35 install -d .%{_libdir}/xbill
89813590
JR
36 for i in bitmaps pixmaps
37 do
368c1617 38 mv ./var/lib/games/xbill/$i .%{_libdir}/xbill/$i
39 ln -s ../../../..%{_libdir}/xbill/$i ./var/lib/games/xbill/$i
89813590
JR
40 done
41
368c1617 42install -d .%{_sysconfdir}/X11/wmconfig
43cat > .%{_sysconfdir}/X11/wmconfig/xbill <<EOF
89813590
JR
44xbill name "xbill"
45xbill description "Save the world"
46xbill group Games/Video
47xbill exec "xbill &"
48EOF
49)
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
f5aa9312 55%defattr(644,root,root,755)
368c1617 56%attr(2755,root,games) %{_prefix}/X11R6/bin/xbill
7bdb56e4
JR
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
368c1617 61%{_libdir}/xbill
62%config %{_sysconfdir}/X11/wmconfig/xbill
This page took 0.053103 seconds and 4 git commands to generate.