neverball-vl.spec 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. Name: neverball
  2. Version: 1.5.4
  3. Release: 1%{?_dist_release}
  4. Summary: Roll a ball through an obstacle course
  5. Summary(ja): 障害物のあるコース内でボールを転がすゲーム
  6. Group: Applications/Games
  7. License: GPLv2+
  8. URL: http://neverball.org
  9. Source0: http://neverball.org/neverball-%{version}.tar.gz
  10. Source1: neverball.desktop
  11. Source2: neverputt.desktop
  12. Patch0: neverball-1.5.4-dso.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  14. BuildRequires: SDL_image-devel, SDL_ttf-devel, SDL_mixer-devel
  15. BuildRequires: freetype2-devel, desktop-file-utils, zlib-devel
  16. BuildRequires: libGL-devel, libjpeg-devel, libpng-devel, physfs-devel
  17. BuildRequires: libvorbis-devel
  18. BuildRequires: gettext
  19. %description
  20. Tilt the floor to roll a ball through an obstacle course within the
  21. given time. If the ball falls or time expires, a ball is lost.
  22. Collect 100 coins to save your progress and earn an extra ball. Red
  23. coins are worth 5. Blue coins are worth 10.
  24. %description -l ja
  25. 障害物のあるコースの床を傾けて、ボールを制限時間内にゴールまで
  26. 運ぶゲームです。ボールが落下するか時間切れになると、ボールが1つ
  27. 減らされます。
  28. コインを100枚集めるとゲームを保存できてボールも1つ増えます。
  29. 赤いコインは1枚で5枚分、青いコインは1枚で10枚分になります。
  30. %prep
  31. %setup -q
  32. %patch0 -p0
  33. %build
  34. %{__make} CFLAGS="$RPM_OPT_FLAGS -ansi `sdl-config --cflags`" DATADIR=%{_datadir}/%{name} %{?_smp_mflags}
  35. %install
  36. %{__rm} -rf $RPM_BUILD_ROOT
  37. %{__install} -p -D -m0755 neverball $RPM_BUILD_ROOT/%{_bindir}/neverball
  38. %{__install} -p -D -m0755 neverputt $RPM_BUILD_ROOT/%{_bindir}/neverputt
  39. %{__install} -p -d -m0755 $RPM_BUILD_ROOT/%{_datadir}/%{name}/
  40. %{__install} -p -D -m0644 data/icon/neverball.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/neverball.png
  41. %{__install} -p -D -m0644 data/icon/neverputt.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/neverputt.png
  42. %{__cp} -ap data/* $RPM_BUILD_ROOT/%{_datadir}/%{name}/
  43. desktop-file-install --vendor vine \
  44. --dir $RPM_BUILD_ROOT/%{_datadir}/applications \
  45. %{SOURCE1}
  46. desktop-file-install --vendor vine \
  47. --dir $RPM_BUILD_ROOT/%{_datadir}/applications \
  48. %{SOURCE2}
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %files
  52. %defattr(0644,root,root,0755)
  53. %doc CHANGES COPYING README
  54. %attr(0755,root,root) %{_bindir}/*
  55. %{_datadir}/%{name}/
  56. %{_datadir}/pixmaps/*
  57. %{_datadir}/applications/*
  58. %changelog
  59. * Sat Dec 25 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 1.5.4-1
  60. - initial build for Vine Linux based on fedora development
  61. * Mon Apr 19 2010 Wart <wart@kobold.org> - 1.5.4-3
  62. - Add explicit link against -lX11 -lm to remove implicit library
  63. linkage (#565203)
  64. * Sun Jan 10 2010 Wart <wart@kobold.org> - 1.5.4-2
  65. - Set DATADIR so that neverball and neverputt can find their data (#538210)
  66. * Thu Oct 8 2009 Wart <wart@kobold.org> - 1.5.4-1
  67. - Update to 1.5.4
  68. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-17
  69. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  70. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-16
  71. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  72. * Thu Jan 29 2009 Wart <wart@kobold.org> - 1.4.0-15
  73. - Change from bitstream-vera font to equivalent dejavu font.
  74. * Fri Jan 16 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 1.4.0-14
  75. - Fix font Requires bitstream-vera-fonts-sans ->
  76. bitstream-vera-sans-fonts (another font naming convention change).
  77. * Thu Jan 1 2009 Wart <wart@kobold.org> - 1.4.0-13
  78. - Fix font package name for F11
  79. * Tue Dec 23 2008 Wart <wart@kobold.org> - 1.4.0-12
  80. - Replace bundled font with a symlink to an identical system font (BZ #477432)
  81. * Fri Feb 8 2008 Wart <wart@kobold.org> - 1.4.0-11
  82. - Rebuild for gcc 4.3
  83. * Sat Sep 29 2007 Wart <wart@kobold.org> - 1.4.0-10
  84. - Add wrapper for detecting DRI when launching game (BZ #304811)
  85. * Mon Aug 20 2007 Wart <wart@kobold.org> - 1.4.0-9
  86. - License tag clarification
  87. * Fri Mar 9 2007 Wart <wart@kobold.org> - 1.4.0-8
  88. - Updated desktop file categories
  89. * Sat Sep 2 2006 Wart <wart@kobold.org> - 1.4.0-7
  90. - Change BR: for opengl
  91. - Rebuild for Fedora Extras
  92. * Thu Mar 2 2006 Wart <wart@kobold.org> - 1.4.0-6
  93. - Add dist tag now that spec files are different between releases
  94. * Mon Feb 27 2006 Wart <wart@kobold.org> - 1.4.0-5
  95. - Added BR: mesa-libGL-devel for modular xorg
  96. - Added smp_mflags to compile line to speed up build on smp machines
  97. * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.4.0-4
  98. - rebuild on all arches
  99. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  100. - rebuilt
  101. * Thu Nov 11 2004 Matthias Saou <http://freshrpms.net/> 1.4.0-2
  102. - Bump release to provide Extras upgrade path.
  103. - Fix tabs/spaces mixture.
  104. - Make the changelog breathe a little, and be readable.
  105. * Sat Oct 16 2004 Nils O. Selåsdal <NOS@Utel.no>- 0:1.4.0-0.fdr.1
  106. - Update to 1.4.0
  107. - Remove libGLU BuildRequires, it seems to be gone with an xorg errata,
  108. xorg-x11-devel should be all thats needed now though.
  109. - Add neverputt .desktop file
  110. * Fri Aug 13 2004 Nils O. Selåsdal <NOS@Utel.no>- 0:1.3.7-0.fdr.1
  111. - Update to 1.3.7, which fixes a corruption in Neverputt level 16
  112. * Tue Aug 03 2004 Nils O. Selåsdal <NOS@Utel.no>- 0:1.3.6-0.fdr.1
  113. - Update to 1.3.6
  114. * Thu Jul 08 2004 Nils O. Selåsdal <NOS@Utel.no>- 0:1.3.1-0.fdr.1
  115. - Update to 1.3.1
  116. - Add icon to .desktop file
  117. - Really include neverputt binary
  118. * Thu Jun 03 2004 Nils O. Selåsdal <NOS@Utel.no>- 0:1.2.5-0.fdr.2
  119. - Sign the src.rpm
  120. * Tue Jun 01 2004 Nils O. Selåsdal <NOS@Utel.no>- 0:1.2.5-0.fdr.1
  121. - 1.2.5 and updated to work on FC2
  122. - Include new neverputt binary.
  123. - Use CFLAGS for pullingin RPM_OPT_FLAGS
  124. * Fri Mar 19 2004 Nils O. Selåsdal <NOS@Utel.no>- 0:1.1.0-0.fdr.1
  125. - 1.1.0
  126. * Fri Nov 21 2003 Nils O. Selåsdal <NOS@Utel.no>- 0:1.0.0-0.fdr.2
  127. - Add missing BuildRequires.
  128. * Fri May 03 2003 Nils O. Selåsdal <NOS@Utel.no> - 0:1.0.0-0.fdr.1
  129. - Initial RPM release.