2 # TODO: - fix auto tools
4 Summary: A button football simulation
5 Summary(hu.UTF-8): Gombfoci szimuláció
6 Summary(pl.UTF-8): Symulator piłki nożnej
11 Group: X11/Applications/Games
12 Source0: http://downloads.sourceforge.net/digenv/%{name}-%{version}.tar.bz2
13 # Source0-md5: 407d9f543ec533f85358c9166ff27a5c
14 Source1: %{name}.desktop
15 Patch0: %{name}-makefile.patch
16 Patch1: %{name}-link.patch
17 Patch2: %{name}-datadir.patch
18 URL: http://xut.dnteam.org
19 BuildRequires: OpenAL-devel
20 BuildRequires: OpenGL-GLU-devel
21 BuildRequires: OpenGL-devel
22 BuildRequires: SDL_gfx-devel
23 BuildRequires: SDL_image-devel
24 BuildRequires: SDL_ttf-devel
25 #BuildRequires: autoconf >= 2.61
26 #BuildRequires: automake
27 BuildRequires: cal3d-devel
28 BuildRequires: libogg-devel
29 BuildRequires: libvorbis-devel
30 BuildRequires: rpmbuild(macros) >= 1.268
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 XUT is a project to make a button football game simulation.
36 %description -l hu.UTF-8
37 XUT egy project, amelynek a célja egy gombfoci szimulátor létrehozása.
39 %description -l pl.UTF-8
40 XUT jest projektem "guzikowego" symulatora piłki nożnej.
56 rm -rf $RPM_BUILD_ROOT
57 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
60 DESTDIR=$RPM_BUILD_ROOT
62 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
63 install data/xut-icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/xut.png
65 %find_lang %{name} --all-name
68 rm -rf $RPM_BUILD_ROOT
70 %files -f %{name}.lang
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_bindir}/xut
73 %{_datadir}/games/%{name}
74 %{_desktopdir}/xut.desktop
75 %{_pixmapsdir}/xut.png