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

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

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

revision 95341 by tv, Fri May 6 06:40:05 2011 UTC revision 95342 by tv, Fri May 6 06:42:00 2011 UTC
# Line 1  Line 1 
1  Summary:        Multiplayer retro sci-fi deathmatch game  Summary:        Multiplayer retro sci-fi deathmatch game
2  Name:           alienarena  Name:           alienarena
3  Version:        7.50  Version:        7.51
4  Release:        %mkrel 4  Release:        %mkrel 1
5  License:        GPLv2+  License:        GPLv2+
6  Group:          Games/Arcade  Group:          Games/Arcade
7  # Subversion:  https://svn.icculus.org/alienarena/trunk/?sortby=date  # Subversion:  https://svn.icculus.org/alienarena/trunk/?sortby=date
8  # Upstream seems too inept to provide a simple source only tarball, so we use svn.  # Upstream seems too inept to provide a simple source only tarball, so we use svn.
9  #   svn export svn://svn.icculus.org/alienarena/tags/7.50/ alienarena-7.50/  #   svn export svn://svn.icculus.org/alienarena/tags/7.51/ alienarena-7.51/
10  # These windows files are useless to us.  # These windows files are useless to us.
11  #   rm -rf alienarena-7.50/*.exe alienarena-7.50/*.dll alienarena-7.50/Tools/aaradiant.exe  #   rm -rf alienarena-7.51/*.exe alienarena-7.51/*.dll alienarena-7.51/Tools/aaradiant.exe
12  # These bundled zips are also pretty useless.  # These bundled zips are also pretty useless.
13  #   rm -rf alienarena-7.50/lib_zipfiles/  #   rm -rf alienarena-7.51/lib_zipfiles/
14    # We don't want the bundled ode code.
15    #   rm -rf alienarena-7.51/source/unix/ode/
16  # arena/ botinfo/ data1/ live in the alienarena-data package  # arena/ botinfo/ data1/ live in the alienarena-data package
17  #   mkdir alienarena-data-20101216  #   mkdir alienarena-data-20110323
18  #   mv alienarena-7.50/arena/ alienarena-7.50/botinfo/ alienarena-7.50/data1/ alienarena-data-20101216/  #   mv alienarena-7.51/arena/ alienarena-7.51/botinfo/ alienarena-7.51/data1/ alienarena-data-20110323/
19  #   rm -f alienarena-data-20101216/{arena,data1}/game.so  #   rm -f alienarena-data-20110323/{arena,data1}/game.so
20  # This data tarball is used for the alienarena-data package  # This data tarball is used for the alienarena-data package
21  #   tar -cvJf alienarena-data-20101216.tar.xz alienarena-data-20101216  #   tar -cvJf alienarena-data-20110323.tar.xz alienarena-data-20101216
22  # This source tarball is used for the alienarena package  # This source tarball is used for the alienarena package
23  #   tar -cvjf alienarena-7.50.tar.bz2 alienarena-7.50  #   tar -cvjf alienarena-7.51.tar.bz2 alienarena-7.51
24  Source0:        alienarena-%{version}.tar.bz2  Source0:        alienarena-%{version}.tar.bz2
25  Source1:        alienarena.desktop  Source1:        alienarena.desktop
26  Source2:        GPL.acebot.txt  Source2:        GPL.acebot.txt
27  Source3:        alienarena.png  Source3:        alienarena.png
28  Patch3:         alienarena-7.45-no-qglBlitFramebufferEXT.patch  Patch3:         alienarena-7.45-no-qglBlitFramebufferEXT.patch
29  Patch4:         alienarena-7.50-nodata.patch  Patch4:         alienarena-7.51-nodata.patch
30  # Ragdolls: added a NaN check which seems to solve the ODE assertion error problem  # Ragdolls: added a NaN check which seems to solve the ODE assertion error problem
31  # http://svn.icculus.org/alienarena?view=rev&revision=2286  # http://svn.icculus.org/alienarena?view=rev&revision=2286
 Patch5:         alienarena-7.50-NAN.patch  
32  URL:            http://red.planetarena.org/  URL:            http://red.planetarena.org/
33  BuildRequires:  libxext-devel  BuildRequires:  libxext-devel
 BuildRequires:  libxxf86dga-devel  
34  BuildRequires:  libxxf86vm-devel  BuildRequires:  libxxf86vm-devel
35  BuildRequires:  libjpeg-devel  BuildRequires:  libjpeg-devel
36  BuildRequires:  GL-devel  BuildRequires:  GL-devel
# Line 42  BuildRequires: openal-soft-devel Line 42  BuildRequires: openal-soft-devel
42  BuildRequires:  ode-devel  BuildRequires:  ode-devel
43  BuildRequires:  freetype2-devel  BuildRequires:  freetype2-devel
44  BuildRequires:  desktop-file-utils  BuildRequires:  desktop-file-utils
45  Requires:       alienarena-data = 20101216  Requires:       alienarena-data = 20110323
46  Requires:       desktop-file-utils >= 0.9, glxinfo  Requires:       desktop-file-utils >= 0.9, glxinfo
47  Requires:       openal%{?_isa}  Requires:       openal%{?_isa}
48    
# Line 55  of play, loads of mutators, built-in bot Line 55  of play, loads of mutators, built-in bot
55  %package server  %package server
56  Group: Games/Arcade  Group: Games/Arcade
57  Summary: Dedicated server for alienarena, the FPS game  Summary: Dedicated server for alienarena, the FPS game
58  Requires: alienarena-data = 20101216  Requires: alienarena-data = 20110323
59    
60    
61  %description server  %description server
# Line 71  This is the dedicated server. Line 71  This is the dedicated server.
71    
72  %patch3 -p1 -b .no-qglBlitFramebufferEXT  %patch3 -p1 -b .no-qglBlitFramebufferEXT
73  %patch4 -p1 -b .nodata  %patch4 -p1 -b .nodata
 %patch5 -p1 -b .NAN  
74    
75  # Copy license clarification for acebot  # Copy license clarification for acebot
76  cp -p %{SOURCE2} .  cp -p %{SOURCE2} .
# Line 90  sed -i "s|\"libopenal.so\"|\"$LIBOPENAL\ Line 89  sed -i "s|\"libopenal.so\"|\"$LIBOPENAL\
89  %build  %build
90  export PTHREAD_LIBS="-lpthread"  export PTHREAD_LIBS="-lpthread"
91  export PTHREAD_CFLAGS="-pthread"  export PTHREAD_CFLAGS="-pthread"
92  %configure2_5x  %configure2_5x --with-system-libode --without-xf86dga
93  %make  %make
94    
95  %install  %install
# Line 121  rm -fr %{buildroot} Line 120  rm -fr %{buildroot}
120  %{_bindir}/%{name}-wrapper  %{_bindir}/%{name}-wrapper
121  %{_datadir}/applications/*.desktop  %{_datadir}/applications/*.desktop
122  %{_datadir}/icons/hicolor/32x32/apps/%{name}.png  %{_datadir}/icons/hicolor/32x32/apps/%{name}.png
123  %{_defaultdocdir}/%{name}/  %{_iconsdir}/alienarena.png
124    
125  %files server  %files server
126  %defattr(-,root,root,-)  %defattr(-,root,root,-)

Legend:
Removed from v.95341  
changed lines
  Added in v.95342

  ViewVC Help
Powered by ViewVC 1.1.28