]> git.pld-linux.org Git - packages/csmash.git/blob - csmash.spec
- updated to 0.6.4.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.4.2
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://prdownloads.sourceforge.net/cannonsmash/%{name}-%{version}.tar.gz
9 Source1:        %{name}.desktop
10 Source2:        %{name}.png
11 URL:            http://CannonSmash.Sourceforge.net/
12 BuildRequires:  OpenGL-devel
13 BuildRequires:  SDL-devel
14 BuildRequires:  SDL_mixer-devel
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gtk+-devel
18 BuildRequires:  libjpeg-devel
19 BuildRequires:  libstdc++-devel
20 Requires:       OpenGL
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
24 %define         _prefix         /usr/X11R6
25
26 %description
27 CannonSmash is a 3D tabletennis game. The goal of this project is to
28 represent various strategy of tabletennis on computer game.
29
30 %description -l pl
31 CannonSmash to trójwymiarowy tenis sto³owy. Celem tego projektu jest
32 przedstawienie ró¿nych strategii tenisa sto³owego w grze komputerowej.
33
34 %prep
35 %setup -q -n %{name}-0.6.4
36
37 %build
38 rm -f acinclude.m4 missing
39 aclocal
40 autoconf
41 automake -a -c -f -i
42 %configure
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}}
48
49 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
50 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
51 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
52
53 gzip -9nf AUTHORS CREDITS ChangeLog NEWS README README.en
54
55 %find_lang %{name}
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files -f %{name}.lang
61 %defattr(644,root,root,755)
62 %doc AUTHORS* CREDITS* ChangeLog* NEWS* README.en*
63 %lang(jp) %doc README.gz
64 %attr(755,root,root) %{_bindir}/*
65 %{_datadir}/games/csmash
66 %{_applnkdir}/Games/*
67 %{_pixmapsdir}/*
This page took 0.090329 seconds and 4 git commands to generate.