]> git.pld-linux.org Git - packages/xbill.git/blame - xbill.spec
desktop file, pixmap and package icon for xbill.
[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
8e3a7f29 4Release: 8
f5aa9312 5Copyright: MIT
8e3a7f29 6Group: X11/Applications/Games
4ffee726 7Group(de): X11/Aplikacje/Spiele
8e3a7f29 8Group(pl): X11/Aplikacje/Gry
368c1617 9Source0: ftp://ftp.x.org/contrib/games/%{name}-%{version}.tgz
8e3a7f29
JB
10Patch0: %{name}-c++.patch
11Patch1: %{name}-imake.patch
ba1c2a4b 12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
8e3a7f29
JB
13BuildRequires: XFree86-devel
14BuildRequires: libstdc++-devel
89813590 15
368c1617 16%define _prefix /usr/X11R6
17%define _mandir %{_prefix}/man
18
89813590 19%description
368c1617 20The xbill game tests your reflexes as you seek out and destroy all
21forms of Bill, establish new operating systems and boldly go where no
22geek has gone before. Xbill has become an increasingly attractive
23option as the Linux Age progresses, and it is very popular at Red Hat.
89813590
JR
24
25%prep
26%setup -q
8e3a7f29
JB
27%patch0 -p1
28%patch1 -p1
89813590
JR
29
30%build
31xmkmf
8e3a7f29
JB
32%{__make} \
33 CXXDEBUGFLAGS="%{?debug:-g -O}%{!?debug:$RPM_OPT_FLAGS} -fno-rtti -fno-exceptions -fno-implicit-templates"
89813590
JR
34
35%install
36rm -rf $RPM_BUILD_ROOT
37
8c991f1e 38%{__make} DESTDIR=$RPM_BUILD_ROOT install install.man
89813590
JR
39
40( cd $RPM_BUILD_ROOT
368c1617 41 install -d .%{_libdir}/xbill
89813590
JR
42 for i in bitmaps pixmaps
43 do
8e3a7f29 44 mv -f ./var/lib/games/xbill/$i .%{_libdir}/xbill/$i
368c1617 45 ln -s ../../../..%{_libdir}/xbill/$i ./var/lib/games/xbill/$i
89813590
JR
46 done
47
368c1617 48install -d .%{_sysconfdir}/X11/wmconfig
49cat > .%{_sysconfdir}/X11/wmconfig/xbill <<EOF
89813590
JR
50xbill name "xbill"
51xbill description "Save the world"
52xbill group Games/Video
53xbill exec "xbill &"
54EOF
55)
56
8e3a7f29
JB
57gzip -9nf README README.Ports ChangeLog
58
89813590
JR
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
f5aa9312 63%defattr(644,root,root,755)
4ffee726 64%attr(2755,root,games) %{_bindir}/xbill
7bdb56e4
JR
65%attr(775,root,games) %dir /var/lib/games/xbill
66%attr(664,root,games) %config /var/lib/games/xbill/scores
67/var/lib/games/xbill/bitmaps
68/var/lib/games/xbill/pixmaps
368c1617 69%{_libdir}/xbill
70%config %{_sysconfdir}/X11/wmconfig/xbill
8e3a7f29
JB
71%{_mandir}/man1/*
72%doc *.gz
This page took 0.055458 seconds and 4 git commands to generate.