]> git.pld-linux.org Git - packages/csmash.git/blob - csmash.spec
- fixed build on 64-bit archs, new %%doc, release 3
[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:        3
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 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
21 Requires:       OpenGL
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
25 %define         _prefix         /usr/X11R6
26
27 %description
28 CannonSmash is a 3D tabletennis game. The goal of this project is to
29 represent various strategy of tabletennis on computer game.
30
31 %description -l pl
32 CannonSmash to trójwymiarowy tenis sto³owy. Celem tego projektu jest
33 przedstawienie ró¿nych strategii tenisa sto³owego w grze komputerowej.
34
35 %prep
36 %setup -q -n %{name}-0.6.4
37 %patch0 -p1
38
39 %build
40 rm -f acinclude.m4 missing
41 aclocal
42 %{__autoconf}
43 %{__automake} -i
44 %configure
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}}
50
51 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
53 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
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(ja) %doc README
64 %attr(755,root,root) %{_bindir}/*
65 %{_datadir}/games/csmash
66 %{_applnkdir}/Games/*
67 %{_pixmapsdir}/*
This page took 0.100118 seconds and 3 git commands to generate.