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