1 Summary: 3D tabletennis game
2 Summary(pl): Trójwymiarowy tenis sto³owy
7 Group: X11/Applications/Games
8 Group(de): X11/Applikationen/Spiele
9 Group(pl): X11/Aplikacje/Gry
10 Source0: http://prdownloads.SourceForge.net/CannonSmash/%{name}-%{version}.tar.gz
11 Source1: %{name}.desktop
13 URL: http://CannonSmash.Sourceforge.net/
14 BuildRequires: OpenGL-devel
15 BuildRequires: SDL-devel
16 BuildRequires: SDL_mixer-devel
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: gtk+-devel
20 BuildRequires: libjpeg-devel
21 BuildRequires: libstdc++-devel
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 %define _noautoreqdep libGL.so.1 libGLU.so.1
26 %define _prefix /usr/X11R6
29 CannonSmash is a 3D tabletennis game. The goal of this project is to
30 represent various strategy of tabletennis on computer game.
33 CannonSmash to trójwymiarowy tenis sto³owy. Celem tego projektu jest
34 przedstawienie ró¿nych strategii tenisa sto³owego w grze komputerowej.
40 rm -f acinclude.m4 missing
45 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}}
53 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
55 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
57 gzip -9nf AUTHORS CREDITS ChangeLog NEWS README README.en
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
64 %doc AUTHORS* CREDITS* ChangeLog* NEWS* README.en*
65 %lang(jp) %doc README.gz
66 %attr(755,root,root) %{_bindir}/*