Summary: 3D tabletennis game Summary(pl): Trójwymiarowy tenis stołowy Name: csmash Version: 0.6.4.2 Release: 1 License: GPL Group: X11/Applications/Games Source0: http://prdownloads.sourceforge.net/cannonsmash/%{name}-%{version}.tar.gz Source1: %{name}.desktop Source2: %{name}.png URL: http://CannonSmash.Sourceforge.net/ BuildRequires: OpenGL-devel BuildRequires: SDL-devel BuildRequires: SDL_mixer-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: gtk+-devel BuildRequires: libjpeg-devel BuildRequires: libstdc++-devel Requires: OpenGL BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _noautoreqdep libGL.so.1 libGLU.so.1 %define _prefix /usr/X11R6 %description CannonSmash is a 3D tabletennis game. The goal of this project is to represent various strategy of tabletennis on computer game. %description -l pl CannonSmash to trójwymiarowy tenis stołowy. Celem tego projektu jest przedstawienie różnych strategii tenisa stołowego w grze komputerowej. %prep %setup -q -n %{name}-0.6.4 %build rm -f acinclude.m4 missing aclocal autoconf automake -a -c -f -i %configure %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}} %{__make} install DESTDIR="$RPM_BUILD_ROOT" install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} gzip -9nf AUTHORS CREDITS ChangeLog NEWS README README.en %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS* CREDITS* ChangeLog* NEWS* README.en* %lang(jp) %doc README.gz %attr(755,root,root) %{_bindir}/* %{_datadir}/games/csmash %{_applnkdir}/Games/* %{_pixmapsdir}/*