File zarch.spec of Package zarch

# spec file for package zarch (Version 0.92)
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           zarch
BuildRequires:  xdelta xorg-x11-devel
Group:          Amusements/Games/Action/Shoot
AutoReqProv:    on
Version:        0.92
Release:        921
Summary:        A Game Known as "Virus" on the Commodore Amiga
Source:         %{name}-%{version}.tar.bz2
Patch0:         %{name}-gl-%{version}.delta
ExclusiveArch:  %ix86
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Zarch is the classic Zarch for the Acorn Archimedes. It was maybe
better known as "Virus" on the Commodore Amiga. Linux Zarch is one of
the very few freely available 3D graphics games for UNIX/Linux that
offer very decent performance without needing 3D hardware support.

Game play is still rather simple: fly around a randomly created world
and shoot the alien ships without destroying your homeworld. Your
armament includes a powerful cannon and heat seeking missiles.

    Thom van Os <>

xdelta patch %{P:0}
mv glzarch

cat ><<EOF
cd %{_libdir}/zarch
exec ./zarch.x11
cat ><<EOF
cd %{_libdir}/zarch
exec ./

install -d $RPM_BUILD_ROOT/usr/games/
install -d $RPM_BUILD_ROOT%{_libdir}/zarch
install  xzarch  $RPM_BUILD_ROOT%{_libdir}/zarch/zarch.x11
#install -s glzarch  $RPM_BUILD_ROOT%{_libdir}/zarch/
install -m 644 *.raw $RPM_BUILD_ROOT%{_libdir}/zarch
install  world.obj $RPM_BUILD_ROOT%{_libdir}/zarch
install  sndsrv $RPM_BUILD_ROOT%{_libdir}/zarch
install  $RPM_BUILD_ROOT/usr/games/xzarch
#install -s  $RPM_BUILD_ROOT/usr/games/glzarch

rm -rf $BUILD_ROOT

%doc  Changes.txt README.txt

openSUSE Build Service is sponsored by