fillets-ng-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. %define dataversion 0.9.2
  2. Summary: a Linux port of wonderful puzzle game Fish Fillets
  3. Summary(ja): 海をモチーフにした倉庫番形式のパズルゲーム
  4. Name: fillets-ng
  5. Version: 0.9.2
  6. Release: 1%{?_dist_release}
  7. Source0: %{name}-%{version}.tar.gz
  8. Source1: %{name}-data-%{dataversion}.tar.gz
  9. License: GNU GENERAL PUBLIC LICENSE Version 2
  10. Group: Applications/Games
  11. URL: http://fillets.sourceforge.net/
  12. Requires: SDL SDL_mixer SDL_image SDL_ttf
  13. Requires: lua
  14. BuildRequires: SDL-devel SDL_mixer-devel SDL_image-devel SDL_ttf-devel
  15. BuildRequires: lua-devel
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. Obsoletes: fillets-ng-data < 0.9.0
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: munepi
  21. %description
  22. Fish Fillets NG is a Linux port of wonderful puzzle game Fish Fillets from ALTAR interactive.
  23. %description -l ja
  24. Fish Fillets NG は,ALTAR interactive による不可思議なパズルゲーム
  25. Fish Fillets の Linux port です.
  26. %prep
  27. %__rm -rf ${RPM_BUILD_ROOT}
  28. %setup -q
  29. %build
  30. %configure --datadir=%{_datadir}/games/fillets-ng
  31. %{__make} %{?_smp_mflags}
  32. %install
  33. %__rm -rf ${RPM_BUILD_ROOT}
  34. %makeinstall
  35. # dataファイルのインストール
  36. %__install -d ${RPM_BUILD_ROOT}/%{_datadir}/games
  37. tar zxf %{SOURCE1} -C ${RPM_BUILD_ROOT}/%{_datadir}/games
  38. %__mv ${RPM_BUILD_ROOT}/%{_datadir}/games/%{name}-data-%{dataversion} \
  39. ${RPM_BUILD_ROOT}/%{_datadir}/games/%{name}
  40. %__install -d ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps
  41. %__install -m 644 ${RPM_BUILD_ROOT}/%{_datadir}/games/%{name}/images/icon.png \
  42. ${RPM_BUILD_ROOT}/%{_datadir}/pixmaps/fillets.png
  43. %__install -d ${RPM_BUILD_ROOT}/%{_datadir}/applications
  44. cat > ${RPM_BUILD_ROOT}/%{_datadir}/applications/%{name}.desktop <<EOF
  45. [Desktop Entry]
  46. Name=Fish Fillets - Next Generation
  47. Comment=Fish Fillets is strictly a puzzle game.
  48. TryExec=fillets
  49. Exec=/usr/bin/fillets systemdir="%{_datadir}/games/fillets-ng"
  50. Icon=fillets.png
  51. Terminal=false
  52. Type=Application
  53. Categories=GNOME;Application;Game
  54. EOF
  55. %clean
  56. %__rm -rf ${RPM_BUILD_ROOT}
  57. %files
  58. %defattr(-,root,root)
  59. %{_bindir}/fillets
  60. %{_datadir}/pixmaps/fillets.png
  61. %{_datadir}/applications/%{name}.desktop
  62. %{_mandir}/man6/fillets.6.gz
  63. %{_datadir}/games/%{name}/
  64. %changelog
  65. * Sun Nov 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.2-1
  66. - new upstream release
  67. * Sun Aug 02 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.1-1
  68. - new upstream release
  69. - added Summary(ja) tag
  70. - obsoleted fillets-ng-data < 0.9.0
  71. * Sun Jan 25 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.8.1-1
  72. - new upstream release
  73. * Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-1vl5
  74. - applied new versioning policy, spec in utf-8
  75. * Sun Jan 27 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-0vl4
  76. - rebuilt
  77. * Sun Jan 13 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-0vl3
  78. - added "--datadir=%%{_datadir}/games/fillets-ng" to configure
  79. * Mon Jan 07 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-0vl2
  80. - new upstream release
  81. - updated desktop file
  82. * Sun Aug 5 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.7.4-0vl1
  83. - initial build for Vine Linux 4.1
  84. - new upstream release for Vine Linux 4.1
  85. - drop fillets-ng-0.7.4-lua-pkgconfig.patch
  86. * Fri Dec 16 2005 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.7.3-0vl1
  87. - update base system to 0.7.3 (but data version is 0.7.1)
  88. * Sat Jul 23 2005 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.7.1-0vl1
  89. - initial build for Vine Linux 3.2
  90. # end of file