xscavenger-vl.spec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. %define name xscavenger
  2. %define version 1.4.4
  3. %define release 1%{?_dist_release}
  4. Summary: Scavenger is a cool arcade/thinking game very much like Lode Runner.
  5. Summary(ja): ロードランナー風のゲーム
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. Source0: http://www.xdr.com/dash/%{name}-%{version}.tgz
  10. License: GNU General Public License
  11. Group: Applications/Games
  12. URL: http://www.xdr.com/dash/scavenger.html
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. %description
  15. Scavenger is a cool arcade/thinking game very much like Lode Runner.
  16. You have got to run around and collect objects while avoiding enemies.
  17. Some objects are buried and you have got to dig down to get at them.
  18. It is an addictive game and some of the levels are devilishly (cruelly)
  19. complicated to solve.
  20. %prep
  21. rm -rf ${RPM_BUILD_ROOT}
  22. %setup -q -n %{name}-%{version}/src
  23. %build
  24. xmkmf -a
  25. make scavenger
  26. %install
  27. make DESTDIR=${RPM_BUILD_ROOT} install
  28. mkdir -p ${RPM_BUILD_ROOT}/usr/share/applications
  29. cat > ${RPM_BUILD_ROOT}/usr/share/applications/%{name}.desktop <<EOF
  30. [Desktop Entry]
  31. Name=Scavenger
  32. Comment=Scavenger is a cool arcade/thinking game very much like Lode Runner.
  33. TryExec=scavenger
  34. Exec=/usr/X11R6/bin/scavenger
  35. Icon=
  36. Terminal=0
  37. Type=Application
  38. Categories=GNOME;Application;Game
  39. EOF
  40. %clean
  41. rm -rf ${RPM_BUILD_ROOT}
  42. %files
  43. %defattr(-,root,root)
  44. %{_bindir}/scavenger
  45. %{_prefix}/lib/X11/scavenger
  46. /usr/share/applications/%{name}.desktop
  47. %changelog
  48. * Wed Oct 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.4.4-1vl5
  49. - applied new versioning policy, spec in utf-8
  50. * Sun Jun 3 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.4.4-0vl2
  51. - rebuild for VineSeed
  52. * Tue Mar 9 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 1.4.4-0vl1
  53. - initial build for Vine Linux
  54. # * Sun Jul 24 2005 1.4.4-0vl1
  55. # - initial build for Vine Linux
  56. # end of file