Sophie

Sophie

distrib > Arklinux > devel > x86_64 > media > main-src > by-pkgid > 6a44d1fbd760f372619eb5a19928d5e8 > files > 3

xbill-2.1-8ark.src.rpm

Summary: Stop Bill from loading his OS into all the computers.
Name: xbill
Version: 2.1
Release: 8ark
License: MIT
Group: Applications/Games
Source: xbill-2.1.tar.bz2
Patch: xbill-2.1-no-xaw3d.patch
BuildRoot: %{_tmppath}/%{name}-root

%description
The xbill game tests your reflexes as you seek out and destroy all
forms of Bill, establish a new operating system throughout the
universe, and boldly go where no geek has gone before. Xbill has
become an increasingly attractive option as the Linux Age progresses.

%prep
%setup -q
%patch -p1 -b .noxaw3d~
autoconf

%configure --localstatedir=/var/lib/games --disable-motif --disable-gtk

%build
make

%install
rm -rf $RPM_BUILD_ROOT

make DESTDIR=$RPM_BUILD_ROOT install 

mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
cat > $RPM_BUILD_ROOT%{_datadir}/applications/xbill.desktop <<EOF
[Desktop Entry]
Name=XBill
GenericName=Arcade Game
Icon=/usr/share/pixmaps/xbill.xpm
Type=Application
Description=Save the world
Exec=xbill
Category=Game;ArcadeGame;X-ARK-ActionGame;
EOF

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%_bindir/xbill
%dir %_localstatedir/lib/games/xbill
%config(noreplace) %_localstatedir/lib/games/xbill/scores
/usr/share/xbill
%_datadir/applications/xbill.desktop
%_mandir/man6/*

%changelog
* Fri Jan  2 2009 Bernhard Rosenkraenzer <bero@arklinux.org> 2.1-8ark
- Own /var/lib/games/xbill

* Sun Nov 30 2008 Bernhard Rosenkraenzer <bero@arklinux.org> 2.1-7ark
- Rebuild after libXaw.so.8 removal

* Mon Mar  7 2005 Bernhard Rosenkraenzer <bero@arklinux.org> 2.1-6ark
- Rebuild against libXaw.so.8 instead of .so.7

* Thu Jul  8 2004 Zackary Deems	<zdeems@arklinux.org> 2.1-5ark
- Moved to Applications/Games

* Sat Sep 13 2003 Bernhard Rosenkraenzer <bero@arklinux.org> 2.1-4ark
- Force regeneration of configure

* Sat Sep 13 2003 Bernhard Rosenkraenzer <bero@arklinux.org> 2.1-3ark
- Don't require Xaw3d either

* Sat Sep 13 2003 Bernhard Rosenkraenzer <bero@arklinux.org> 2.1-2ark
- Don't require legacy crap

* Sat Sep 13 2003 Tio Hiap Ho <deux@arklinux.org> 2.1-1ark
- 2.1
- Moves .desktop to a new KMenu structure

* Mon Aug 26 2002 Ark Linux Team <arklinux@arklinux.org> 2.0-18ark
- automated rebuild

* Sun Aug 18 2002 David Sainty <saint@arklinux.org> 2.0-17ark
- Fix desktop icon in KDE