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