prboom.spec.in 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. %define doomname @PACKAGE@
  2. Name: %{doomname}
  3. Summary: Doom - classic 3D shoot-em-up game
  4. Version: @VERSION@
  5. Release: 1
  6. Source: ftp://prdownloads.sourceforge.net/prboom/@PACKAGE@-@VERSION@.tar.gz
  7. URL: http://prboom.sourceforge.net/
  8. Group: Amusements/Games
  9. BuildRoot: /var/tmp/%{doomname}-buildroot
  10. License: GPL
  11. Packager: Colin Phipps <cph@moria.org.uk>
  12. Prefix: %{_prefix}
  13. Autoreq: 0
  14. Requires: libSDL-1.2.so.0, libSDL_mixer-1.2.so.0, libSDL_net-1.2.so.0, libm.so.6, libc.so.6
  15. %description
  16. Doom is the classic 3D shoot-em-up game. It must have been one of the best
  17. selling games ever; it totally outclassed any 3D world games that preceded
  18. it, with amazing speed, flexibility, and outstanding gameplay. The specs to
  19. the game were released, and thousands of extra levels were written by fans of
  20. the game; even today new levels are written for Doom faster then any one person
  21. could play them.
  22. %prep
  23. rm -rf $RPM_BUILD_ROOT
  24. %setup -q
  25. %build
  26. %configure --disable-cpu-opt
  27. make
  28. %install
  29. make %{?buildroot:DESTDIR=%{buildroot}} install
  30. %clean
  31. rm -rf $RPM_BUILD_ROOT
  32. %files
  33. %docdir %{_docdir}
  34. %{_docdir}
  35. /usr/games
  36. %{_datadir}/games/doom/%{doomname}.wad