supertux.spec 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. Name: supertux
  2. Version: 0.1.1
  3. Release: 2zebar
  4. Group: Amusements/Games
  5. Summary: A free arcade game like Super Mario.
  6. Vendor: The SuperTux Developer Team
  7. Packager: Astakhov Peter
  8. License: GPL
  9. URL: http://supertux.lethargik.org/
  10. Source0: %{name}-%{version}.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. Prefix: /usr
  13. Requires: SDL, SDL_image, SDL_mixer
  14. BuildRequires: SDL-devel, SDL_mixer-devel, SDL_image-devel
  15. %description
  16. SuperTux is a jump'n run like game, with strong inspiration from the
  17. Super Mario Bros games for Nintendo.
  18. Run and jump through multiple worlds, fighting off enemies by jumping
  19. on them or bumping them from below. Grabbing power-ups and other stuff
  20. on the way.
  21. %prep
  22. #Unpack package
  23. %setup
  24. %build
  25. CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \
  26. ./configure --prefix=%{_prefix} --disable-opengl --disable-debug
  27. make
  28. %install
  29. #make DESTDIR=%{buildroot} install
  30. %makeinstall
  31. #Install application link for X-Windows
  32. install -d %{buildroot}/etc/X11/applnk/Games
  33. echo -e "[Desktop Entry]
  34. Name=SuperTux
  35. Comment=Arcade game
  36. Exec=supertux
  37. Icon=/usr/share/supertux/images/icon.xpm
  38. Terminal=0
  39. Type=Application" > %{buildroot}/etc/X11/applnk/Games/SuperTux.desktop
  40. %clean
  41. rm -rf %{buildroot}
  42. %files
  43. %defattr(-,root,root)
  44. %doc LICENSE README.md ChangeLog TODO
  45. #%doc doc/*
  46. /etc/X11/applnk/*
  47. %{_bindir}/*
  48. %{_prefix}/share/supertux/*
  49. %changelog
  50. * Wed Jun 23 2004 Astakhov Peter <astakhovp@mail.ru>
  51. - initial supertux specfile