frozen-bubble-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. %define name frozen-bubble
  2. %define version 2.1.0
  3. %define release 1%{?_dist_release}
  4. Summary: Game that arranges and erases the same color bubble
  5. Summary(ja): 同じ色の泡を揃えて消していくゲーム
  6. Name: %{name}
  7. Version: %{version}
  8. Release: %{release}
  9. Source0: http://www.frozen-bubble.org/data/%{name}-%{version}.tar.bz2
  10. Source1: frozen-bubble.desktop
  11. License: GPL
  12. Group: Applications/Games
  13. URL: http://www.frozen-bubble.org/home/
  14. Requires: perl
  15. BuildRequires: SDL-devel, SDL_mixer-devel
  16. BuildRequires: SDL_perl, SDL_Pango-devel
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. %description
  19. Frozen-bubble is a puzzle-bobble like puzzle game.
  20. Colorful 3D rendered penguin animations, 100 levels of 1p game,
  21. hours and hours of 2p game, nights and nights of 2p/3p/4p/5p
  22. game over LAN or Internet, a level-editor, 3 professional quality
  23. digital soundtracks, 15 stereo sound effects, 8 unique graphical
  24. transition effects, 8 unique logo eye-candies.
  25. %description -l ja
  26. Frozen-bubble はパズルボブルに似たパズルゲームです。
  27. カラフルな 3D ペンギンのアニメーションや、1人プレイ用の100レベル
  28. のステージ、2人プレイによる対戦、2人から5人までの LAN やインター
  29. ネット経由のネットワーク対戦、レベルエディタ、3曲の高品質なサウン
  30. ドトラック、15種類のステレオサウンドエフェクト、8種類のユニークな
  31. 画面エフェクト、8つのロゴアニメーションが楽しめます。
  32. %prep
  33. %setup -q
  34. %build
  35. %{__make} OPTIMIZE="$RPM_OPT_FLAGS" \
  36. CFLAGS="$RPM_OPT_FLAGS `pkg-config glib-2.0 --cflags`" \
  37. LIBS="`pkg-config glib-2.0 --libs`" \
  38. LIBDIR=%{_libdir} \
  39. DATADIR=%{_datadir} \
  40. INSTALLDIRS=vendor
  41. %install
  42. %{__rm} -rf ${RPM_BUILD_ROOT}
  43. %{__make} install DESTDIR=$RPM_BUILD_ROOT \
  44. LIBDIR=%{_libdir} \
  45. DATADIR=%{_datadir} \
  46. BINDIR=%{_bindir} \
  47. MANDIR=%{_mandir} \
  48. LOCALEDIR=%{_datadir}/locale
  49. # install icon & desktop files
  50. %{__install} -m 644 -D icons/frozen-bubble-icon-48x48.png ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/%{name}.png
  51. %{__install} -m 644 -D %{SOURCE1} ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
  52. # Remove unnecessary files.
  53. %{__rm} -rf ${RPM_BUILD_ROOT}/%{perl_vendorarch}/auto/fb_c_stuff/.packlist
  54. %{__rm} -rf ${RPM_BUILD_ROOT}/%{perl_archlib}/perllocal.pod
  55. %find_lang %{name}
  56. %clean
  57. %{__rm} -rf ${RPM_BUILD_ROOT}
  58. %files -f %{name}.lang
  59. %defattr(-,root,root)
  60. %doc AUTHORS COPYING INSTALL NEWS README TIPS
  61. %{_bindir}/frozen-bubble
  62. %{_bindir}/frozen-bubble-editor
  63. %{_libdir}/frozen-bubble/fb-server
  64. %{perl_vendorarch}/FBLE.pm
  65. %{perl_vendorarch}/auto/fb_c_stuff/fb_c_stuff*
  66. %{perl_vendorarch}/fb_c_stuff.pm
  67. %{perl_vendorarch}/fb_net.pm
  68. %{perl_vendorarch}/fb_stuff.pm
  69. %{perl_vendorarch}/fbsyms.pm
  70. %{_datadir}/frozen-bubble/*
  71. %{_datadir}/pixmaps/frozen-bubble.png
  72. %{_datadir}/applications/frozen-bubble.desktop
  73. %{_mandir}/man6/frozen-bubble*
  74. %changelog
  75. * Sun Sep 07 2008 Shu KONNO <owa@bg.wakwak.com> 2.1.0-1vl5
  76. - applied new versioning policy, spec in utf-8
  77. * Mon Mar 26 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 2.1.0-0vl1
  78. - initial build for Vine Linux