fillets-ng-vl.spec 3.8 KB

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