]> git.pld-linux.org Git - packages/csmash.git/blob - csmash.spec
- updated to 0.6.1,
[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.1
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 Requires:       OpenGL
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
19 %define         _prefix         /usr/X11R6
20
21 %description
22 CannonSmash is a 3D tabletennis game. The goal of this project is to
23 represent various strategy of tabletennis on computer game.
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,%{_pixmapsdir}}
39
40 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
41 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
42 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
43
44 gzip -9nf AUTHORS CREDITS ChangeLog NEWS README README.en TODO 
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc AUTHORS* CREDITS* ChangeLog* NEWS* TODO* README.en*
52 %lang(jp) %doc README.gz
53 %attr(755,root,root) %{_bindir}/*
54 %{_datadir}/csmash
55 %{_applnkdir}/Games/*
56 %{_pixmapsdir}/*
This page took 0.056177 seconds and 4 git commands to generate.