glqwcl.spec.sh 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #!/bin/sh
  2. # Generate qwcl.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 glqwcl
  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: glqwcl-%{version}.tar.gz
  18. Group: Games
  19. Copyright: Restricted
  20. Icon: quake.gif
  21. BuildRoot: /var/tmp/%{name}-%{version}
  22. Summary: OpenGL QuakeWorld Client
  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. %install
  31. %files
  32. %attr(644,root,root) ${3}/readme.glqwcl
  33. %attr(4755,root,root) ${3}/glqwcl
  34. %attr(4755,root,root) ${3}/glqwcl.glx
  35. %attr(755,root,root) ${3}/glqwcl.3dfxgl
  36. %attr(755,root,root) ${3}/lib3dfxgl.so
  37. EOF