File BASS.spec of Package BASS

#
# spec file for package BASS
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#


Name:           BASS
BuildRequires:  unzip
BuildRequires:  update-desktop-files
URL:            http://www.scummvm.org/downloads.php
Requires:       scummvm
Recommends:     xmessage
Version:        20030801
Release:        0
Summary:        Beneath a Steel Sky (Adventure Game)
License:        SUSE-Freeware
Group:          Amusements/Games/Other
Source:         bass-cd-1.2.zip
Source1:        BASS
Source2:        %name.desktop
Source3:        info
Source4:        %name.png
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Beneath a Steel Sky is a 2D, point-and-click science fiction thriller
set in a bleak future. It was originally published for DOS and the
Amiga. You are Robert Foster, an innocent outsider stranded in a vast
city where oppressed civilians live and work in soaring tower blocks
while the corrupt, covetous, and rich live underground, safe from all
pollution. Alone, save for a robot circuit board, Foster must fight for
survival - and discover the sinister truth behind both his own past and
the city he has found himself trapped in.



Authors:
--------
    Revolution Software: http://revolution.co.uk/
    Tony Warriner (Revolution)
    David Sykes (Revolution)
    Dave Cummins (Revolution)
    Dave Gibbons (Revolution)
    Robert Goeffringmann (ScummVM)
    Oliver Kiehl (ScummVM)
    Joost Peters (ScummVM)
    Ludvig Strigeus (ScummVM)
    Max Horn (ScummVM)

%prep
unzip $RPM_SOURCE_DIR/bass-cd-1.2.zip

%build

%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/share/BASS
mkdir -p $RPM_BUILD_ROOT/usr/share/doc/packages/BASS
install -m 644 bass-cd-1.2/sky.* $RPM_BUILD_ROOT/usr/share/BASS
install -m 644 $RPM_SOURCE_DIR/info $RPM_BUILD_ROOT/usr/share/BASS
install -m 755 $RPM_SOURCE_DIR/BASS $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps/
install -m 644 $RPM_SOURCE_DIR/%name.png $RPM_BUILD_ROOT/usr/share/pixmaps
%suse_update_desktop_file -i %name Game X-SuSE-AdventureGame
rm -f $RPM_BUILD_ROOT/usr/share/pixmaps/%name

%files
%defattr(-,root,root)
%doc bass-cd-1.2/readme.txt
/usr/bin/BASS
/usr/share/BASS/
/usr/share/applications/%name.desktop
/usr/share/pixmaps/%name.png

%changelog
openSUSE Build Service is sponsored by