fillets-ng-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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.0
  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 Dec 29 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.0-1
  71. - new upstream release
  72. - added BuildRequires:
  73. - fribidi-devel
  74. - smpeg-devel
  75. - libX11-devel
  76. * Mon Jul 19 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.3-1
  77. - new upstream release
  78. * Sun Nov 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.2-1
  79. - new upstream release
  80. * Sun Aug 02 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.1-1
  81. - new upstream release
  82. - added Summary(ja) tag
  83. - obsoleted fillets-ng-data < 0.9.0
  84. * Sun Jan 25 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.8.1-1
  85. - new upstream release
  86. * Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-1vl5
  87. - applied new versioning policy, spec in utf-8
  88. * Sun Jan 27 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-0vl4
  89. - rebuilt
  90. * Sun Jan 13 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-0vl3
  91. - added "--datadir=%%{_datadir}/games/fillets-ng" to configure
  92. * Mon Jan 07 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-0vl2
  93. - new upstream release
  94. - updated desktop file
  95. * Sun Aug 5 2007 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.7.4-0vl1
  96. - initial build for Vine Linux 4.1
  97. - new upstream release for Vine Linux 4.1
  98. - drop fillets-ng-0.7.4-lua-pkgconfig.patch
  99. * Fri Dec 16 2005 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.7.3-0vl1
  100. - update base system to 0.7.3 (but data version is 0.7.1)
  101. * Sat Jul 23 2005 Munehiro Yamamoto <myamamoto@g.math.s.chiba-u.ac.jp> 0.7.1-0vl1
  102. - initial build for Vine Linux 3.2
  103. # end of file