bugsquish-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Name: bugsquish
  2. Version: 0.0.6
  3. Release: 2%{?_dist_release}
  4. Summary: Bugs are trying to suck blood out of your arm!
  5. Summary(ja): 虫たちがあなたの腕から血を吸おうとしています!
  6. License: GPL
  7. URL: http://newbreedsoftware.com/bugsquish
  8. Group: Applications/Games
  9. Source0: ftp://ftp.sonic.net/pub/users/nbs/unix/x/bugsquish/bugsquish-%{version}.tar.bz2
  10. #Source1: %{name}.6
  11. Source2: %{name}.desktop
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: SDL-devel SDL_image-devel SDL_mixer-devel
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. Packager: OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp>
  17. %description
  18. "Bug Squish" is an action game not unlike light gun arcade games, but
  19. played with a mouse. It's loosely based on a MacOS game whose name I
  20. can't recall.
  21. Bugs are trying to suck blood out of your arm! Squish them with with
  22. your fly swatter before you run out of blood.
  23. %description -l ja
  24. "Bug Squish" は、光線銃の代わりにマウスを使ってプレイする
  25. アクションゲームです。
  26. 名前は忘れましたが、MacOS 用のゲームを大まかなベースとしています。
  27. 虫たちがあなたの腕から血を吸おうとしています! その前にハエ叩きで奴らを
  28. 潰してください。
  29. %prep
  30. %setup -q
  31. %build
  32. make DATA_PREFIX=%_datadir/%name/ BIN_PREFIX=%{_bindir}
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. # install bin
  36. install -D %name $RPM_BUILD_ROOT/%_bindir/%name
  37. #install data
  38. install -d $RPM_BUILD_ROOT%_datadir/%name
  39. cp -a data/{images,sounds,music} $RPM_BUILD_ROOT%_datadir/%name/
  40. #install icon
  41. mkdir -p $RPM_BUILD_ROOT%_datadir/pixmaps
  42. install -D -pm644 data/images/bugsquish-icon.xpm $RPM_BUILD_ROOT%_datadir/pixmaps/%{name}.xpm
  43. #install man
  44. #mkdir -p $RPM_BUILD_ROOT%_mandir/man6/
  45. #install -D -pm644 %{SOURCE1} $RPM_BUILD_ROOT%_mandir/man6/%{name}.6
  46. #install desktop
  47. mkdir -p $RPM_BUILD_ROOT%_datadir/applications
  48. install -D -pm644 %{SOURCE2} $RPM_BUILD_ROOT%_datadir/applications/%{name}.desktop
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %files
  52. %doc AUTHORS.txt CHANGES.txt README.txt
  53. %{_bindir}/%{name}
  54. %{_datadir}/%{name}/*
  55. %{_datadir}/pixmaps/*.xpm
  56. #%_mandir/man6/*
  57. %{_datadir}/applications/*.desktop
  58. %changelog
  59. * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.6-2vl5
  60. - applied new versioning policy, spec in utf-8
  61. * Mon Oct 9 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.0.6-1vl2
  62. - rebuilt for Vine Linux 4.0
  63. - changed Group to Applications/Games
  64. * Wed Feb 9 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> - 0.0.6-1vl1
  65. - first spec for vine
  66. - ja summary and description from deb
  67. - add desktop