airstrike-vl.spec 3.0 KB

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