quake-shareware.spec.sh 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. #!/bin/sh
  2. # Generate quake-shareware.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}-shareware
  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. %description
  24. "Quake is the biggest, baddest, and bloodiest 3-D action game ever
  25. conceived" - PC GAMER
  26. "The most important PC game ever" - PC ZONE
  27. ""Quake": Bloody Amazing" - USA TODAY
  28. "The Vanguard of a terrifying new level of immersive interactivity" -
  29. COMPUTER GAMING WORLD
  30. From the creators of DOOM and DOOM II comes the most intense, technologically
  31. advanced 3-D experience ever captured on CD ROM. Features free and fluid
  32. motion, ambient sound and lighting, and unmatched multiplayer capabilities
  33. (play with up to 15 others).
  34. Included in this archive are several different versions of Quake.
  35. - SQuake for SVGALib Console Graphics
  36. - GLQuake for 3DFX and other glX based hardware OpenGL
  37. - Quake.X11 for running Quake under X11
  38. %install
  39. %files
  40. %attr(644,root,root) $3/README
  41. %attr(4755,root,root) $3/squake
  42. %attr(4755,root,root) $3/glquake
  43. %attr(4755,root,root) $3/glquake.glx
  44. %attr(4755,root,root) $3/glquake.3dfxgl
  45. %attr(755,root,root) $3/quake.x11
  46. %attr(644,root,root) $3/help.txt
  47. %attr(644,root,root) $3/licinfo.txt
  48. %attr(644,root,root) $3/manual.txt
  49. %attr(644,root,root) $3/readme.txt
  50. %attr(644,root,root) $3/slicnse.txt
  51. %attr(644,root,root) $3/techinfo.txt
  52. %attr(644,root,root) $3/id1/pak0.pak
  53. %attr(755,root,root) /usr/lib/lib3dfxgl.so
  54. %attr(755,root,root) /usr/lib/libMesaGL.so.2.6
  55. %post
  56. /sbin/ldconfig
  57. EOF