]>
Commit | Line | Data |
---|---|---|
36b5ead6 | 1 | # |
2 | # TODO: - fix auto tools | |
36b5ead6 | 3 | # |
d7959d75 ZU |
4 | Summary: A button football simulation |
5 | Summary(hu.UTF-8): Gombfoci szimuláció | |
fd23038f | 6 | Summary(pl.UTF-8): Symulator piłki nożnej |
d7959d75 | 7 | Name: xut |
92df454d | 8 | Version: 0.2.1 |
d7959d75 | 9 | Release: 0.1 |
36b5ead6 | 10 | License: GPL v3+ |
d7959d75 | 11 | Group: X11/Applications/Games |
92df454d | 12 | Source0: http://downloads.sourceforge.net/digenv/%{name}-%{version}.tar.bz2 |
13 | # Source0-md5: 407d9f543ec533f85358c9166ff27a5c | |
14 | Source1: %{name}.desktop | |
36b5ead6 | 15 | Patch0: %{name}-makefile.patch |
7f95ae7c | 16 | Patch1: %{name}-link.patch |
92df454d | 17 | Patch2: %{name}-datadir.patch |
d7959d75 ZU |
18 | URL: http://xut.dnteam.org |
19 | BuildRequires: OpenAL-devel | |
36b5ead6 | 20 | BuildRequires: OpenGL-GLU-devel |
21 | BuildRequires: OpenGL-devel | |
d7959d75 ZU |
22 | BuildRequires: SDL_gfx-devel |
23 | BuildRequires: SDL_image-devel | |
24 | BuildRequires: SDL_ttf-devel | |
36b5ead6 | 25 | #BuildRequires: autoconf >= 2.61 |
26 | #BuildRequires: automake | |
d7959d75 ZU |
27 | BuildRequires: cal3d-devel |
28 | BuildRequires: libogg-devel | |
29 | BuildRequires: libvorbis-devel | |
36b5ead6 | 30 | BuildRequires: rpmbuild(macros) >= 1.268 |
d7959d75 ZU |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %description | |
34 | XUT is a project to make a button football game simulation. | |
35 | ||
36 | %description -l hu.UTF-8 | |
37 | XUT egy project, amelynek a célja egy gombfoci szimulátor létrehozása. | |
38 | ||
fd23038f | 39 | %description -l pl.UTF-8 |
40 | XUT jest projektem "guzikowego" symulatora piłki nożnej. | |
41 | ||
d7959d75 ZU |
42 | %prep |
43 | %setup -q -n %{name} | |
36b5ead6 | 44 | %patch0 -p1 |
7f95ae7c | 45 | %patch1 -p1 |
92df454d | 46 | %patch2 -p1 |
fd23038f | 47 | |
d7959d75 | 48 | %build |
36b5ead6 | 49 | #%%{__aclocal} |
50 | #%%{__autoconf} | |
51 | #%%{__automake} | |
d7959d75 ZU |
52 | %configure |
53 | %{__make} | |
54 | ||
55 | %install | |
56 | rm -rf $RPM_BUILD_ROOT | |
92df454d | 57 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}} |
36b5ead6 | 58 | |
59 | %{__make} install \ | |
60 | DESTDIR=$RPM_BUILD_ROOT | |
61 | ||
92df454d | 62 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
63 | install data/xut-icon.png $RPM_BUILD_ROOT%{_pixmapsdir}/xut.png | |
64 | ||
36b5ead6 | 65 | %find_lang %{name} --all-name |
d7959d75 ZU |
66 | |
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
36b5ead6 | 70 | %files -f %{name}.lang |
d7959d75 | 71 | %defattr(644,root,root,755) |
36b5ead6 | 72 | %attr(755,root,root) %{_bindir}/xut |
92df454d | 73 | %{_datadir}/games/%{name} |
74 | %{_desktopdir}/xut.desktop | |
75 | %{_pixmapsdir}/xut.png |