airstrike-vl.spec 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. Name: airstrike
  2. Version: 1.0
  3. Release: 2.pre6%{?_dist_release}
  4. Summary: 2D Air combat
  5. Summary(ja): 複葉機による二次元対戦ゲーム
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. URL: http://icculus.org/airstrike/
  9. Source0: %{name}-pre6a-src.tar.gz
  10. Source1: %{name}48x48.png
  11. Source2: %{name}.desktop
  12. Source3: %{name}
  13. Patch0: airstrikerc.patch
  14. License: GPL
  15. Group: Applications/Games
  16. BuildRequires: SDL-devel SDL_image-devel SDL_mixer-devel
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. Prefix: /usr
  19. %description
  20. Airstrike is a 2d biplane dogfight game in the tradition of the
  21. Intellivision and Amiga games 'Biplanes' and 'BIP'. It features a
  22. robust physics engine and several other extensions of the original
  23. games.
  24. %description -l ja
  25. IntellivisionとAmigaのゲーム、'Biplanes'と'BIP'に似た、2Dの複葉機対戦
  26. ゲームです。元になったゲームに比べ、強健な物理エンジンと新たに追加された
  27. 拡張機能が特徴です。
  28. %prep
  29. rm -rf $RPM_BUILD_ROOT
  30. %setup -q -n %{name}-pre6a-src
  31. %patch0 -p1
  32. %build
  33. make airstrike-sound
  34. %install
  35. mkdir -p $RPM_BUILD_ROOT%{_bindir}
  36. mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
  37. mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/data
  38. mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}/data/sound
  39. mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
  40. mkdir -p $RPM_BUILD_ROOT%{_mandir}/man6/
  41. install -p -m 755 %{name} $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}
  42. install -p -m 644 airstrikerc $RPM_BUILD_ROOT%{_datadir}/%{name}/
  43. install -p -m 644 data/*.png $RPM_BUILD_ROOT%{_datadir}/%{name}/data
  44. install -p -m 644 data/*.txt $RPM_BUILD_ROOT%{_datadir}/%{name}/data
  45. install -p -m 644 data/sound/* $RPM_BUILD_ROOT%{_datadir}/%{name}/data/sound
  46. install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/pixmaps
  47. install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/applications
  48. install -p -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/%{name}
  49. install -p -m 644 doc/airstrike.6 $RPM_BUILD_ROOT%{_mandir}/man6/airstrike.6
  50. %clean
  51. rm -rf $RPM_BUILD_ROOT
  52. %files
  53. %defattr(-,root,root)
  54. %doc COPYING LICENSE INSTALL README ChangeLog
  55. %{_bindir}/%{name}
  56. %{_datadir}/pixmaps/%{name}*
  57. %{_datadir}/%{name}/*
  58. %{_datadir}/applications/%{name}*
  59. %{_mandir}/man6/*
  60. %changelog
  61. * Sat Jun 18 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 1.0-2.pre6
  62. - rebuild for Vine Linux 6
  63. * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 1.0-1.pre6vl5
  64. - applied new versioning policy, spec in utf-8
  65. * Mon Oct 9 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0-0vl1.pre6
  66. - rebuilt for Vine Linux 4.0
  67. - changed Group to Applications/Games
  68. * Sat Feb 5 2005 OOI Keita <ooik.ovwqlsjxcqwg4dc@privango.jp> - 1.0-0vl0.pre6
  69. - add man
  70. - add jp summary and description
  71. - sound enable
  72. - airstrikerc.patch
  73. * Fri Feb 7 2003 Michal Ambroz <rebus@seznam.cz>
  74. - pre6 version
  75. * Wed Oct 26 2002 Michal Ambroz <rebus@seznam.cz>
  76. - initial spec file