quake-data.spec.sh 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. %description
  25. "Quake is the biggest, baddest, and bloodiest 3-D action game ever
  26. conceived" - PC GAMER
  27. "The most important PC game ever" - PC ZONE
  28. ""Quake": Bloody Amazing" - USA TODAY
  29. "The Vanguard of a terrifying new level of immersive interactivity" -
  30. COMPUTER GAMING WORLD
  31. From the creators of DOOM and DOOM II comes the most intense, technologically
  32. advanced 3-D experience ever captured on CD ROM. Features free and fluid
  33. motion, ambient sound and lighting, and unmatched multiplayer capabilities
  34. (play with up to 15 others).
  35. This package contians the Quake data files needed to play the game.
  36. %install
  37. %files
  38. %attr(644,root,root) $3/comexp.txt
  39. %attr(644,root,root) $3/help.txt
  40. %attr(644,root,root) $3/licinfo.txt
  41. %attr(644,root,root) $3/manual.txt
  42. %attr(644,root,root) $3/readme.txt
  43. %attr(644,root,root) $3/rlicnse.txt
  44. %attr(644,root,root) $3/techinfo.txt
  45. %attr(644,root,root) $3/id1/pak0.pak
  46. %attr(644,root,root) $3/id1/pak1.pak
  47. %post
  48. /sbin/ldconfig
  49. EOF