]> git.pld-linux.org Git - packages/xbill.git/blame_incremental - xbill.spec
- xbill Imakefile patch
[packages/xbill.git] / xbill.spec
... / ...
CommitLineData
1Summary: Stop Bill from loading his OS into all the computers
2Name: xbill
3Version: 2.0
4Release: 7
5Copyright: MIT
6Group: X11/Games
7Group(pl): X11/Gry
8Source0: ftp://ftp.x.org/contrib/games/%{name}-%{version}.tgz
9Patch0: xbill-2.0-rh.patch
10BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12%define _prefix /usr/X11R6
13%define _mandir %{_prefix}/man
14
15%description
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.
20
21%prep
22%setup -q
23%patch -p1
24
25%build
26xmkmf
27%{__make}
28
29%install
30rm -rf $RPM_BUILD_ROOT
31
32%{__make} DESTDIR=$RPM_BUILD_ROOT install install.man
33
34( cd $RPM_BUILD_ROOT
35 install -d .%{_libdir}/xbill
36 for i in bitmaps pixmaps
37 do
38 mv ./var/lib/games/xbill/$i .%{_libdir}/xbill/$i
39 ln -s ../../../..%{_libdir}/xbill/$i ./var/lib/games/xbill/$i
40 done
41
42install -d .%{_sysconfdir}/X11/wmconfig
43cat > .%{_sysconfdir}/X11/wmconfig/xbill <<EOF
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
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
61%{_libdir}/xbill
62%config %{_sysconfdir}/X11/wmconfig/xbill
This page took 0.030146 seconds and 4 git commands to generate.