circuslinux-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. Summary(ja): ピエロを操って風船を割るゲーム
  2. Summary: Cute breakout-like game
  3. Name: circuslinux
  4. Version: 1.0.3
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: Applications/Games
  8. Source: circuslinux-%{version}.tar.bz2
  9. Source1: %{name}.desktop
  10. Source2: %{name}.6.gz
  11. Patch0: circuslinux-%{version}.dif
  12. Patch1: circuslinux-1.0.3-config.patch
  13. URL: http://www.newbreedsoftware.com/circus-linux/
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. Packager: OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp>
  16. BuildRequires: SDL-devel, SDL_mixer-devel, SDL_image-devel, automake, autoconf
  17. Requires: SDL, SDL_image, SDL_mixer, libpng, libjpeg
  18. Distribution: Vine Linux
  19. Vendor: Project Vine
  20. %description
  21. The object is to move a teeter-totter back and forth across the screen
  22. to bounce clowns into the air. When they reach the top, they pop rows
  23. of balloons, and then fall back down.
  24. %description -l ja
  25. 左右にシーソーを動かして、ピエロを跳ばして、風船を割りましょう。
  26. ブロック崩しに似たゲーム。
  27. %prep
  28. %setup
  29. %patch0
  30. %patch1 -p1 -b .config
  31. aclocal
  32. automake --foreign -a
  33. autoconf
  34. CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$CFLAGS" \
  35. ./configure --prefix=%{_prefix} --enable-joystick
  36. make
  37. %install
  38. rm -rf ${RPM_BUILD_ROOT}
  39. make DESTDIR=${RPM_BUILD_ROOT} install
  40. find ${RPM_BUILD_ROOT}/%{_prefix}/share/circuslinux -type f -exec chmod 644 {} \;
  41. rm -rf $RPM_BUILD_ROOT/%{_prefix}/share/doc/circuslinux-*
  42. # add desktop
  43. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications
  44. install -m0644 %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/applications/circuslinux.desktop
  45. # add desktop icon
  46. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/pixmaps
  47. install -p -m0644 data/images/circuslinux-icon.xpm $RPM_BUILD_ROOT/%{_datadir}/pixmaps/circuslinux.xpm
  48. # add man
  49. mkdir -p $RPM_BUILD_ROOT/%{_datadir}/man/man6/
  50. install -p -m0644 %{SOURCE2} $RPM_BUILD_ROOT/%{_mandir}/man6/circuslinux.6.gz
  51. %clean
  52. rm -rf ${RPM_BUILD_ROOT}
  53. %files
  54. %defattr(-,root,root)
  55. %{_prefix}/bin/*
  56. %{_prefix}/share/circuslinux
  57. %{_datadir}/pixmaps/*.xpm
  58. %{_datadir}/applications/circuslinux.desktop
  59. %{_mandir}/man6/*
  60. %doc AUTHORS.txt COPYING.txt INSTALL.txt README.txt CHANGES.txt
  61. %doc FAQ.txt README-SDL.txt
  62. %changelog
  63. * Sun Sep 21 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.3-1vl5
  64. - applied new versioning policy, spec in utf-8
  65. * Mon Feb 4 2008 Shu KONNO <owa@bg.wakwak.com> 1.0.3-0vl3
  66. - added circuslinux-1.0.3-config.patch
  67. * Fri Sep 29 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.3-0vl2
  68. - rebuilt for Vine Linux 4.0
  69. - changed Group to Applications/Games
  70. - s/Copyright/License/
  71. * Sun Jan 1 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp>
  72. - 1.0.3-0vl1
  73. - based on 1.0.3-1015 SUSE
  74. - add Japanese summary and description
  75. - add man
  76. * Sat Jan 10 2004 - adrian@suse.de
  77. - build as user
  78. * Sun Aug 10 2003 - sndirsch@suse.de
  79. - added desktop file
  80. * Tue May 27 2003 - ro@suse.de
  81. - remove unpackaged files from buildroot
  82. * Tue Feb 26 2002 - nadvornik@suse.cz
  83. - fixed file permissions in /usr/share/circuslinux
  84. * Fri Feb 01 2002 - ro@suse.de
  85. - changed neededforbuild <libpng> to <libpng-devel-packages>
  86. * Tue Jan 22 2002 - ro@suse.de
  87. - changed neededforbuild <kdelibs-artsd> to <kdelibs3-artsd>
  88. * Wed Nov 07 2001 - nadvornik@suse.cz
  89. - fixed to compile with new automake
  90. - fixed neededforbuild for sound
  91. * Wed Aug 08 2001 - ro@suse.de
  92. - changed neededforbuild <kdelibs kdelibs-devel> to <kdelibs-artsd>
  93. * Wed Aug 08 2001 - ro@suse.de
  94. - changed neededforbuild <sdl> to <SDL>
  95. - changed neededforbuild <sdl-devel> to <SDL-devel>
  96. * Fri Jul 27 2001 - nadvornik@suse.cz
  97. - update to 1.0.3
  98. * Wed Jun 20 2001 - nadvornik@suse.cz
  99. - added kdelibs and kdelibs-devel to neededforbuild
  100. * Mon Mar 26 2001 - ro@suse.de
  101. - changed neededforbuild <sdl> to <sdl sdl-devel>
  102. * Thu Mar 22 2001 - nadvornik@suse.cz
  103. - used suse_update_config
  104. * Fri Mar 09 2001 - ro@suse.de
  105. - neededforbuild sdlmixer -> SDL_mixer
  106. * Wed Feb 21 2001 - nadvornik@suse.cz
  107. - added alsa, alsa-devel to neededforbuild
  108. * Fri Dec 01 2000 - nadvornik@suse.cz
  109. - new packages