1 Summary: 3D tabletennis game
2 Summary(pl): Trójwymiarowy tenis sto³owy
7 Group: X11/Applications/Games
8 Source0: http://prdownloads.sourceforge.net/cannonsmash/%{name}-%{version}.tar.gz
9 Source1: %{name}.desktop
11 Patch0: %{name}-types.patch
12 URL: http://CannonSmash.Sourceforge.net/
13 BuildRequires: OpenGL-devel
14 BuildRequires: SDL-devel
15 BuildRequires: SDL_mixer-devel
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: gtk+-devel
19 BuildRequires: libjpeg-devel
20 BuildRequires: libstdc++-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define _noautoreqdep libGL.so.1 libGLU.so.1
25 %define _prefix /usr/X11R6
28 CannonSmash is a 3D tabletennis game. The goal of this project is to
29 represent various strategy of tabletennis on computer game.
32 CannonSmash to trójwymiarowy tenis sto³owy. Celem tego projektu jest
33 przedstawienie ró¿nych strategii tenisa sto³owego w grze komputerowej.
36 %setup -q -n %{name}-0.6.4
40 rm -f acinclude.m4 missing
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}}
51 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
53 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
58 rm -rf $RPM_BUILD_ROOT
60 %files -f %{name}.lang
61 %defattr(644,root,root,755)
62 %doc AUTHORS CREDITS ChangeLog NEWS README.en
64 %attr(755,root,root) %{_bindir}/*
65 %{_datadir}/games/csmash