/[packages]/cauldron/openmortal/current/SPECS/openmortal.spec
ViewVC logotype

Diff of /cauldron/openmortal/current/SPECS/openmortal.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.672698  
changed lines
  Added in v.672699

  ViewVC Help
Powered by ViewVC 1.1.28