1 |
%define scummvmdir %{_datadir}/scummvm/ |
2 |
|
3 |
Name: beneath-a-steel-sky |
4 |
Summary: A adventure game using scummvm |
5 |
Version: 1.2 |
6 |
Release: %mkrel 2 |
7 |
Source0: http://prdownloads.sourceforge.net/scummvm/bass-cd-%version.tar.bz2 |
8 |
Source1: bass-48.png |
9 |
Source2: bass-32.png |
10 |
Source3: bass-16.png |
11 |
License: Freeware |
12 |
Url: http://scummvm.org |
13 |
Group: Games/Adventure |
14 |
BuildRequires: unzip |
15 |
Requires: scummvm |
16 |
BuildArch: noarch |
17 |
|
18 |
%description |
19 |
A science-fiction thriller set in a bleak post-apocalyptic vision |
20 |
of the future, Beneath a Steel Sky revolves around "Union City", |
21 |
where selfishness, rivalry, and corruption by its citizens |
22 |
seems to be all too common, those who can afford it live |
23 |
underground, away from the pollution and social problems |
24 |
which are plaguing the city. |
25 |
|
26 |
You take on the role of Robert Foster, an outcast of sorts |
27 |
from the city since a boy who was raised in a remote environment |
28 |
outside of Union City simply termed "the gap". Robert's mother |
29 |
took him away from Union City as a child on their way to "Hobart" |
30 |
but the helicopter crashed on its way, unfortunately Robert's |
31 |
mother dies, but he survives and is left to be raised by a |
32 |
local tribe from the gap. |
33 |
|
34 |
Years later, Union City security drops by and abducts |
35 |
Robert, killing his tribe in the process; upon reaching |
36 |
the city the helicopter taking him there crashes with |
37 |
him escaping, high upon a tower block in the middle of the |
38 |
city he sets out to discover the truth about his past, |
39 |
and to seek vengeance for the killing of his tribe. |
40 |
|
41 |
This game was released by Revolution studio to help the scummvm |
42 |
project. However, this is not a free game ( free as freespeech ), even |
43 |
if source code can be seen. That's why it belong to the nonfree repository. |
44 |
|
45 |
%prep |
46 |
%setup -q -n bass-cd-%version |
47 |
%build |
48 |
|
49 |
%install |
50 |
|
51 |
rm -rf %{buildroot} |
52 |
mkdir -p %{buildroot}/%{scummvmdir}/%{name} |
53 |
cp sky* %{buildroot}/%{scummvmdir}/%{name} |
54 |
|
55 |
mkdir -p %{buildroot}%{_menudir} |
56 |
|
57 |
mkdir -p %{buildroot}%{_datadir}/applications |
58 |
cat > %{buildroot}%{_datadir}/applications/%{_real_vendor}-%{name}.desktop << EOF |
59 |
[Desktop Entry] |
60 |
Encoding=UTF-8 |
61 |
Name=Beneath a steel sky |
62 |
Comment=%summary |
63 |
Exec=%_gamesbindir/scummvm -p%{scummvmdir}/%{name} sky |
64 |
Icon=%name |
65 |
Terminal=false |
66 |
Type=Application |
67 |
StartupNotify=true |
68 |
Categories=Game;AdventureGame; |
69 |
EOF |
70 |
install -m 644 -D %SOURCE1 %buildroot%_liconsdir/%{name}.png |
71 |
install -m 644 -D %SOURCE2 %buildroot%_iconsdir/%{name}.png |
72 |
install -m 644 -D %SOURCE3 %buildroot%_miconsdir/%{name}.png |
73 |
|
74 |
%clean |
75 |
rm -rf %{buildroot} |
76 |
|
77 |
%files |
78 |
%defattr(-,root,root) |
79 |
%doc readme.txt |
80 |
%{scummvmdir}/%{name} |
81 |
%_datadir/applications/%{_real_vendor}-* |
82 |
%_liconsdir/%name.png |
83 |
%_iconsdir/%name.png |
84 |
%_miconsdir/%name.png |
85 |
|
86 |
|