]> git.pld-linux.org Git - packages/csmash.git/blob - csmash.spec
- updated to 0.6.2,
[packages/csmash.git] / csmash.spec
1 Summary:        3D tabletennis game
2 Summary(pl):    Trójwymiarowy tenis sto³owy
3 Name:           csmash
4 Version:        0.6.2
5 Release:        1
6 License:        GPL
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
12 Source2:        %{name}.png
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
22 Requires:       OpenGL
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
26 %define         _prefix         /usr/X11R6
27
28 %description
29 CannonSmash is a 3D tabletennis game. The goal of this project is to
30 represent various strategy of tabletennis on computer game.
31
32 %description -l pl
33 CannonSmash to trójwymiarowy tenis sto³owy. Celem tego projektu jest
34 przedstawienie ró¿nych strategii tenisa sto³owego w grze komputerowej.
35
36 %prep
37 %setup -q
38
39 %build
40 rm -f acinclude.m4 mizzing
41 touch acinclude.m4
42 aclocal
43 autoconf
44 automake -a -c
45 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
46 %configure
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}}
52
53 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
55 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
56
57 gzip -9nf AUTHORS CREDITS ChangeLog NEWS README README.en
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
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}/*
67 %{_datadir}/csmash
68 %{_applnkdir}/Games/*
69 %{_pixmapsdir}/*
This page took 0.058425 seconds and 3 git commands to generate.