1 |
Summary: Parody of Mortal Kombat |
2 |
Name: openmortal |
3 |
Version: 0.7.1 |
4 |
Release: %mkrel 8 |
5 |
Source0: %{name}-0.7.tar.bz2 |
6 |
Source1: laurence.zip |
7 |
Source2: ikari.zip |
8 |
Source11: %{name}-16x16.png |
9 |
Source12: %{name}-32x32.png |
10 |
Source13: %{name}-48x48.png |
11 |
#Patch0: %{name}-0.4-freetype2-compilefix.patch.bz2 |
12 |
Patch: %{name}-0.7-extra-qualification.patch |
13 |
License: GPL |
14 |
Group: Games/Arcade |
15 |
Url: http://openmortal.sourceforge.net/ |
16 |
BuildRequires: SDL_image-devel |
17 |
BuildRequires: SDL_mixer-devel |
18 |
BuildRequires: SDL_net-devel |
19 |
#BuildRequires: SDL_ttf-devel |
20 |
BuildRequires: freetype2-devel |
21 |
BuildRequires: perl-devel |
22 |
|
23 |
%description |
24 |
Mortal Szombat is a parody of the popular coin-up game, Mortal Kombat. |
25 |
|
26 |
It is currently playable (maybe even enjoyable), although it is still |
27 |
under development. Only two-player game is supported, single-player games |
28 |
against computer opponent is not planned yet. |
29 |
|
30 |
There are currently 9 playable characters, and 8 more in the making! |
31 |
|
32 |
%prep |
33 |
%setup -n %{name}-0.7 -q |
34 |
#%patch0 -p1 |
35 |
%patch -p0 |
36 |
|
37 |
unzip %{SOURCE1} -d data/gfx |
38 |
unzip %{SOURCE2} -d data/gfx |
39 |
|
40 |
perl -pi -e "s|level6.jpg|level6.jpg level12.desc level12_arena.png\ |
41 |
level12_background.png level12_left.png level12_right.png level13.desc\ |
42 |
level13_arena.png level13_background.png level13_plane2.png|"\ |
43 |
data/gfx/Makefile.in |
44 |
|
45 |
%build |
46 |
%configure --bindir=%{_gamesbindir} \ |
47 |
--datadir=%{_gamesdatadir} |
48 |
|
49 |
%make |
50 |
|
51 |
%install |
52 |
%makeinstall_std |
53 |
|
54 |
mkdir -p %{buildroot}%{_datadir}/applications |
55 |
cat > %{buildroot}%{_datadir}/applications/%{_real_vendor}-%{name}.desktop << EOF |
56 |
[Desktop Entry] |
57 |
Name=Mortal Szombat |
58 |
Comment=%{summary} |
59 |
Exec=%{_gamesbindir}/%{name} |
60 |
Icon=%{name} |
61 |
Terminal=false |
62 |
Type=Application |
63 |
StartupNotify=true |
64 |
Categories=Game;ArcadeGame; |
65 |
EOF |
66 |
|
67 |
#icons |
68 |
install %{SOURCE11} -D %{buildroot}%{_miconsdir}/%{name}.png |
69 |
install %{SOURCE12} -D %{buildroot}%{_iconsdir}/%{name}.png |
70 |
install %{SOURCE13} -D %{buildroot}%{_liconsdir}/%{name}.png |
71 |
|
72 |
%files |
73 |
%doc AUTHORS ChangeLog PACKAGERS README TODO |
74 |
%{_gamesbindir}/%{name} |
75 |
%{_gamesdatadir}/%{name}/ |
76 |
%{_miconsdir}/%{name}.png |
77 |
%{_iconsdir}/%{name}.png |
78 |
%{_liconsdir}/%{name}.png |
79 |
%{_datadir}/applications/%{_real_vendor}-%{name}.desktop |
80 |
|
81 |
|