Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. #!/bin/sh
  2. # Generate quake-data.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-data
  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-data-%{version}.tar.gz
  18. BuildArchitectures: noarch
  19. Group:          Games
  20. Copyright:      Restricted
  21. Icon:           quake.gif
  22. BuildRoot:      /var/tmp/%{name}-%{version}
  23. Summary:        Quake for Linux
  24.  
  25. %description
  26. "Quake is the biggest, baddest, and bloodiest 3-D action game ever
  27. conceived" - PC GAMER
  28.  
  29. "The most important PC game ever" - PC ZONE
  30.  
  31. ""Quake": Bloody Amazing" - USA TODAY
  32.  
  33. "The Vanguard of a terrifying new level of immersive interactivity" -
  34. COMPUTER GAMING WORLD
  35.  
  36. From the creators of DOOM and DOOM II comes the most intense, technologically
  37. advanced 3-D experience ever captured on CD ROM.  Features free and fluid
  38. motion, ambient sound and lighting, and unmatched multiplayer capabilities
  39. (play with up to 15 others).
  40.  
  41. This package contians the Quake data files needed to play the game.
  42.  
  43. %install
  44.  
  45. %files
  46. %attr(644,root,root) $3/comexp.txt
  47. %attr(644,root,root) $3/help.txt
  48. %attr(644,root,root) $3/licinfo.txt
  49. %attr(644,root,root) $3/manual.txt
  50. %attr(644,root,root) $3/readme.txt
  51. %attr(644,root,root) $3/rlicnse.txt
  52. %attr(644,root,root) $3/techinfo.txt
  53. %attr(644,root,root) $3/id1/pak0.pak
  54. %attr(644,root,root) $3/id1/pak1.pak
  55.  
  56. %post
  57. /sbin/ldconfig
  58.  
  59. EOF
  60.  
  61.