neverball-vl.spec 6.1 KB

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