xlogical-vl.spec 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. Summary: xlogical - parallel thinking puzzle game
  2. Summary(ja): xlogical - アクションパズルゲーム
  3. %define rel 7
  4. Name: xlogical
  5. Version: 1.0
  6. Release: %{rel}vl2
  7. License: GPL
  8. Group: Applications/Games
  9. Source: http://changeling.dynip.com/xlogical/downloads/%{name}-%{version}-%{rel}.tar.gz
  10. ## Vine Patch
  11. Patch10: %{name}-%{version}-scoredir.patch
  12. URL: http://changeling.dynip.com/xlogical/
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. Requires: SDL >= 1.1.0, SDL_image, SDL_mixer
  15. BuildRequires: SDL-devel, SDL_image-devel, SDL_mixer-devel
  16. BuildPrereq: automake14, gcc295-c++
  17. %description
  18. This is a puzzle game based on a game by Rainbow Arts called Logical! which
  19. was released on the Commodore Amiga in 1980's. It requires parallel thinking
  20. and quick reflexes.
  21. #'
  22. %description -l ja
  23. xlogical は Rainbow Arts の Logical! (元々 Commodore Amiga 用に
  24. 1980年代に作られたもの) を参考にしたパズルゲームです.
  25. 同時にかつ反射的に思考/操作することが要求されます.
  26. %prep
  27. %setup -q
  28. %patch10 -p1 -b .scoredir
  29. %build
  30. # Workaround for legacy auto* tools
  31. #[ -x /usr/bin/autoconf-2.13 ] && ln -s /usr/bin/autoconf-2.13 autoconf
  32. #[ -x /usr/bin/autoheader-2.13 ] && ln -s /usr/bin/autoheader-2.13 autoheader
  33. [ -x /usr/bin/aclocal-1.4 ] && ln -s /usr/bin/aclocal-1.4 aclocal
  34. [ -x /usr/bin/automake-1.4 ] && ln -s /usr/bin/automake-1.4 automake
  35. export PATH=`pwd`:$PATH
  36. # End workaround
  37. %configure --localstatedir=/var/lib/games
  38. make prefix=/usr localstatedir=/var/lib/games CXX=g++-2.95.3
  39. %install
  40. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  41. %makeinstall \
  42. localstatedir="$RPM_BUILD_ROOT/var/lib/games" \
  43. #make prefix="$RPM_BUILD_ROOT/usr" \
  44. # install-strip
  45. %clean
  46. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  47. %files
  48. %defattr(-,root,root)
  49. %doc README COPYING ChangeLog AUTHORS NEWS TODO LICENSE
  50. %attr(2755, root, root) %{_bindir}/xlogical
  51. %{_datadir}/xlogical
  52. /var/lib/games/xlogical.scores
  53. %changelog
  54. * Mon Sep 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0-7vl2
  55. - using autoconf-2.59
  56. - changed Group to Applications/Games
  57. * Mon Sep 13 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0-7vl1
  58. - based on 1.0-7 at xlogical offical web site
  59. - rebuild with new toolchains
  60. - added BuildPrereq: automake14, autoconf213, gcc295-c++
  61. - updated scoredir patch
  62. - used better macros
  63. - s/Copytright/License/
  64. - Changed Group: to Amusements/Games
  65. * Tue Nov 28 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  66. - 1.0-4vl1
  67. - based on 1.0-4 at xlogical offical web site
  68. - rebuild for Vine Linux
  69. - added Japanese summary and description
  70. - spec modified for rebuilding by non-root user
  71. - score file stored in /var/lib/games (same as many gnome-games apps)
  72. * Sat Nov 18 2000 Tom Warkentin <tom@changeling.dynip.com>
  73. - fixed infinite loop when calculating time bonus after finishing "DIMLIGHTS"
  74. level
  75. (reported by <wuff@writeme.com>
  76. - fixed disappearing ball bug when balls were bouncing back and forth between
  77. full spinners
  78. (reported by <wuff@writeme.com>
  79. - fixed compiler errors/warnings from RedHat 7.0 C++ compiler
  80. (reported by <Nat.Pryce@quokka.com>)
  81. - implemented and tested 'make uninstall'
  82. (reported by <Nat.Pryce@quokka.com>)
  83. - changed install target to install data files into ${prefix}/share/xlogical
  84. (reported by <Nat.Pryce@quokka.com>)
  85. - changed install target to install high score file into
  86. ${localstatedir}/var/xlogical
  87. (reported by <Nat.Pryce@quokka.com>)
  88. * Fri Oct 13 2000 Tom Warkentin <tom@changeling.dynip.com>
  89. - added usage information if invalid command line arguments are supplied
  90. (reported by <Daniel_Burrows@brown.edu>)
  91. - fixed core dump when no module info is available (only shows up with audio
  92. disabled)
  93. (reported by <Daniel_Burrows@brown.edu>)
  94. - changed generation of xlogical.properties file to be a build dependency
  95. instead of an install dependency. "make install prefix=/usr/foobar" will
  96. not modify any configuration files now - they are all generated as needed
  97. during the build.
  98. (reported by <Daniel_Burrows@brown.edu>)
  99. * Mon Oct 9 2000 Tom Warkentin <tom@changeling.dynip.com>
  100. - fixed a large memory leak in graphics routines that were called constantly
  101. - fix is in xlogical-1.0-2
  102. * Sat Oct 7 2000 Tom Warkentin <tom@changeling.dynip.com>
  103. - initial release