Name: tuxfootball Version: 0.3.1 Release: 1mamba Summary: is a 2D football game Group: Applications/Games Vendor: openmamba Distribution: openmamba Packager: Automatic Build System URL: http://tuxfootball.sourceforge.net/ Source0: http://downloads.sourceforge.net/tuxfootball/tuxfootball-%{version}.tar.gz Source1: tuxfootball_16.png Source2: tuxfootball_24.png Source3: tuxfootball_32.png Source4: tuxfootball_48.png Source5: tuxfootball_128.png Source6: tuxfootball.png Source7: tuxfootball.gif Source8: tuxfootball2.gif Patch0: tuxfootball-0.1.1-docdir.patch Patch1: tuxfootball-0.1.1-gettext_include.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libaudio-devel BuildRequires: libdirectfb-devel BuildRequires: libgcc BuildRequires: libICE-devel BuildRequires: libSDL-devel BuildRequires: libSDL_image-devel BuildRequires: libSDL_mixer-devel BuildRequires: libSM-devel BuildRequires: libstdc++6-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libxcb-devel BuildRequires: libXdmcp-devel BuildRequires: libXt-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Tux Football is a great 2D football game for Windows and Linux! Bringing old style gameplay back to the desktop with up to date graphics! For those people who remember and miss old classics such as Amco's Kick Off and Sensible Software's Sensible Soccer. Game play is designed to be quick, responsive and fun. You are always in control of the player closest to the ball. The ball is controled via two kick buttons - one for pass, and one for shoot. Aftertouch can be applied to shots by quickly pressing and holding the direction you want the ball to bend towards. Pushing in the opposite direction to what you kicked the ball makes it raise into the air, pushing in the same direction as the ball makes it dip towards the ground. %prep %setup -q #%patch0 -p1 #%patch1 -p1 %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall tuxfootballdocdir=%{_docdir}/tuxfootball #mkdir -p %{buildroot}%{_datadir}/applications #mkdir -p %{buildroot}%{_datadir}/icons/hicolor/16x16/apps #mkdir -p %{buildroot}%{_datadir}/icons/hicolor/24x24/apps #mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps #mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps #mkdir -p %{buildroot}%{_datadir}/icons/hicolor/128x128/apps #install -m 644 %{S:1} %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/tuxfootball.png #install -m 644 %{S:2} %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/tuxfootball.png #install -m 644 %{S:3} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/tuxfootball.png #install -m 644 %{S:4} %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/tuxfootball.png #install -m 644 %{S:5} %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/tuxfootball.png #cat > %{buildroot}%{_datadir}/applications/tuxfootball.desktop << EOF #[Desktop Entry] #Encoding=UTF-8 #Name=Tux Football #Comment= is a great 2D football game #Exec=/usr/bin/tuxfootball #Icon=/usr/share/icons/hicolor/48x48/apps/tuxfootball.png #Terminal=false #Type=Application #Categories=Game;ArcadeGame; #EOF %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/tuxfootball %dir %{_datadir}/tuxfootball %dir %{_datadir}/tuxfootball/graphics %{_datadir}/tuxfootball/graphics/* %dir %{_datadir}/tuxfootball/sound %{_datadir}/tuxfootball/sound/*.wav %{_datadir}/tuxfootball/sound/*.ogg %{_datadir}/applications/tuxfootball.desktop %{_datadir}/icons/hicolor/*/apps/tuxfootball.png %dir %{_docdir}/tuxfootball %{_docdir}/tuxfootball/* %changelog * Mon Jan 21 2013 Automatic Build System 0.3.1-1mamba - automatic version update by autodist * Fri Dec 31 2010 Automatic Build System 0.3.0-1mamba - automatic update by autodist * Sun Aug 22 2010 Automatic Build System 0.1.1-4mamba - automatic rebuild by autodist * Mon Jun 29 2009 Automatic Build System 0.1.1-3mamba - automatic rebuild by autodist * Wed Jun 03 2009 Automatic Build System 0.1.1-2mamba - automatic rebuild by autodist * Sat Sep 20 2008 gil 0.1.1-1mamba - added desktop file