]> git.pld-linux.org Git - packages/csmash.git/blob - csmash.spec
- removed all Group fields translations (oure rpm now can handle translating
[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.3
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
36
37 %build
38 rm -f acinclude.m4 missing
39 aclocal
40 autoconf
41 automake -a -c -i
42 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
43 %configure
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}}
49
50 %{__make} install DESTDIR="$RPM_BUILD_ROOT"
51 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
52 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
53
54 gzip -9nf AUTHORS CREDITS ChangeLog NEWS README README.en
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc AUTHORS* CREDITS* ChangeLog* NEWS* README.en*
62 %lang(jp) %doc README.gz
63 %attr(755,root,root) %{_bindir}/*
64 %{_datadir}/csmash
65 %{_applnkdir}/Games/*
66 %{_pixmapsdir}/*
This page took 0.074332 seconds and 4 git commands to generate.