Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. #!/bin/sh
  2. # Generate quake.spec
  3. # $1 is version
  4. # $2 is release
  5. # $3 is install dir (assumed to be in /var/tmp)
  6. cat <<EOF
  7. %define name quake
  8. %define version ${1}
  9. %define release ${2}
  10. %define builddir \$RPM_BUILD_DIR/%{name}-%{version}
  11. Name:           %{name}
  12. Version:        %{version}
  13. Release:        %{release}
  14. Vendor:         id Software
  15. Packager:       Dave "Zoid" Kirsch <zoid@idsoftware.com>
  16. URL:            http://www.idsoftware.com/
  17. Source:         quake-%{version}.tar.gz
  18. Group:          Games
  19. Copyright:      Restricted
  20. Icon:           quake.gif
  21. BuildRoot:      /var/tmp/%{name}-%{version}
  22. Summary:        Quake for Linux
  23.  
  24. %description
  25. "Quake is the biggest, baddest, and bloodiest 3-D action game ever
  26. conceived" - PC GAMER
  27.  
  28. "The most important PC game ever" - PC ZONE
  29.  
  30. ""Quake": Bloody Amazing" - USA TODAY
  31.  
  32. "The Vanguard of a terrifying new level of immersive interactivity" -
  33. COMPUTER GAMING WORLD
  34.  
  35. From the creators of DOOM and DOOM II comes the most intense, technologically
  36. advanced 3-D experience ever captured on CD ROM.  Features free and fluid
  37. motion, ambient sound and lighting, and unmatched multiplayer capabilities
  38. (play with up to 15 others).
  39.  
  40. Included in this archive are several different versions of Quake.
  41.  
  42. - SQuake for SVGALib Console Graphics
  43. - GLQuake for 3DFX and other glX based hardware OpenGL
  44. - Quake.X11 for running Quake under X11
  45.  
  46. %install
  47.  
  48. %files
  49. %attr(644,root,root) $3/README
  50. %attr(4755,root,root) $3/squake
  51. %attr(4755,root,root) $3/glquake
  52. %attr(4755,root,root) $3/glquake.glx
  53. %attr(4755,root,root) $3/glquake.3dfxgl
  54. %attr(755,root,root) $3/quake.x11
  55. %attr(755,root,root) /usr/lib/lib3dfxgl.so
  56. %attr(755,root,root) /usr/lib/libMesaGL.so.2.6
  57.  
  58. %post
  59. /sbin/ldconfig
  60. EOF
  61.  
  62.