Summary: GPL rendition of old Arcade Volleyball game
Name: gav
Version: 0.8.0
Release: alt4.qa3
URL: http://gav.sourceforge.net
Source: %name-%version.tar.gz
Patch: %name.patch
Patch1: %name-%version-fix.patch
Patch2: %name-%version-desktop.patch
Patch3: %name-%version-gcc4.patch
License: GPL
Group: Games/Sports
Summary(ru_RU.KOI8-R): \xe1\xd2\xcb\xc1\xc4\xce\xd9\xca \xd7\xcf\xcc\xc5\xca\xc2\xcf\xcc
# due to .desktop
Requires: /usr/bin/sound_wrapper
# Automatically added by buildreq on Mon Mar 06 2006
BuildRequires: esound gcc-c++ libSDL-devel libSDL_image-devel libSDL_net-devel libstdc++-devel
%description
An SDL-based rendition of an old favorite CGA game featuring
two characters playing a volleyball-like game. This "revamped"
version is supposed to support theming, multiplayer games,
different input devices and networking.
%description -l ru_RU.KOI8-R
SDL \xd7\xc5\xd2\xd3\xc9\xd1 \xd3\xd4\xc1\xd2\xcf\xca \xd0\xcf\xd0\xd5\xcc\xd1\xd2\xce\xcf\xca CGA \xc9\xc7\xd2\xd9, \xd7 \xcb\xcf\xd4\xcf\xd2\xcf\xca \xc4\xd7\xcf\xc5 \xc9\xc7\xd2\xc1\xc0\xd4
\xd7 \xce\xc5\xcb\xcf\xc5 \xd0\xcf\xc4\xcf\xc2\xc9\xc5 \xd7\xcf\xcc\xc5\xca\xc2\xcf\xcc\xc1. \xf4\xc5\xcb\xd5\xdd\xc1\xd1 \xd7\xc5\xd2\xd3\xc9\xd1 \xd0\xcf\xc4\xc4\xc5\xd2\xd6\xc9\xd7\xc1\xc5\xd4 \xd3\xcb\xc9\xce\xd9,
\xd3\xc5\xd4\xc5\xd7\xd5\xc0 \xc9\xc7\xd2\xd5, \xd2\xc1\xda\xcc\xc9\xde\xce\xd9\xc5 \xd5\xd3\xd4\xd2\xcf\xca\xd3\xd4\xd7\xc1 \xd5\xd0\xd2\xc1\xd7\xcc\xc5\xce\xc9\xd1.
%prep
%setup -q
%patch -p1
%patch1 -p1
%patch2 -p1
%patch3 -p0
%build
make depend
%make
%install
%__mkdir_p %buildroot{%_gamesbindir,%_gamesdatadir}
%makeinstall ROOT=%buildroot
# Icon
%__install -p -m644 -D package/%name.png %buildroot%_miconsdir/%name.png
# desktop-file
%__install -p -m644 -D package/%name.desktop %buildroot%_desktopdir/%name.desktop
%files
%_gamesbindir/*
%_gamesdatadir/*
%_desktopdir/%name.desktop
%_miconsdir/%name.png
%doc README CHANGELOG
%changelog
* Wed Feb 13 2019 Aleksei Nikiforov <darktemplar@altlinux.org> 0.8.0-alt4.qa3
- NMU: fixed build with gcc-8.
* Tue Apr 12 2011 Igor Vlasenko <viy@altlinux.ru> 0.8.0-alt4.qa2
- NMU: .desktop files should use /usr/bin/sound_wrapper
* Thu Nov 19 2009 Repocop Q. A. Robot <repocop@altlinux.org> 0.8.0-alt4.qa1
- NMU (by repocop): the following fixes applied:
* update_menus for gav
* postclean-05-filetriggers for spec file
* Fri May 19 2006 Eugene V. Horohorin <genix@altlinux.ru> 0.8.0-alt4
- gcc4 compatible
* Mon Mar 06 2006 Eugene V. Horohorin <genix@altlinux.ru> 0.8.0-alt3
- menu file changed with gav.desktop
- buildreq updated
- gav.desktop fix
* Mon Nov 28 2005 Eugene V. Horohorin <genix@altlinux.ru> 0.8.0-alt2
- patch of Alex Plehanov applyed (options a saved now, a lot of small fixes)
* Tue Jan 18 2005 ALT QA Team Robot <qa-robot@altlinux.org> 0.8.0-alt1.1
- Rebuilt with libstdc++.so.6.
* Tue Apr 27 2004 Eugene V. Horohorin <genix@altlinux.ru> 0.8.0-alt1
- updated to version 0.8.0
- updated russian descriptions
- thanks to Michael Shigorin:
+ menu file repair (use soundwrapper)
+ spec cleanups
* Thu Apr 01 2004 Eugene V. Horohorin <genix@altlinux.ru> 0.7.3-alt1
- implementation build