]> git.pld-linux.org Git - packages/csmash.git/blob - csmash.spec
- massive change ( validate errors warrings from desktop-file-validate)
[packages/csmash.git] / csmash.spec
1 Summary:        3D tabletennis game
2 Summary(pl.UTF-8):      Trójwymiarowy tenis stołowy
3 Name:           csmash
4 Version:        0.6.6
5 Release:        3
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://dl.sourceforge.net/cannonsmash/%{name}-%{version}.tar.gz
9 # Source0-md5:  bcf2eddd0f04d58e5dac6d767f41d9af
10 Source1:        %{name}.desktop
11 Source2:        %{name}.png
12 Patch0:         %{name}-types.patch
13 URL:            http://CannonSmash.Sourceforge.net/
14 BuildRequires:  OpenGL-devel
15 BuildRequires:  SDL-devel >= 1.2.0
16 BuildRequires:  SDL_image-devel
17 BuildRequires:  SDL_mixer-devel
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  gettext-devel
21 BuildRequires:  gtk+-devel >= 1.2.0
22 BuildRequires:  libjpeg-devel
23 BuildRequires:  libstdc++-devel
24 Requires:       OpenGL
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
28
29 %description
30 CannonSmash is a 3D tabletennis game. The goal of this project is to
31 represent various strategy of tabletennis on computer game.
32
33 %description -l pl.UTF-8
34 CannonSmash to trójwymiarowy tenis stołowy. Celem tego projektu jest
35 przedstawienie różnych strategii tenisa stołowego w grze komputerowej.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40
41 %build
42 rm -f acinclude.m4
43 %{__gettextize}
44 %{__aclocal}
45 %{__autoconf}
46 %{__automake} -i
47 %configure
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
58 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
59
60 %find_lang %{name}
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 %doc AUTHORS CREDITS ChangeLog NEWS README.en
68 %lang(ja) %doc README
69 %attr(755,root,root) %{_bindir}/*
70 %{_datadir}/games/csmash
71 %{_desktopdir}/*.desktop
72 %{_pixmapsdir}/*
This page took 0.530278 seconds and 3 git commands to generate.