]>
Commit | Line | Data |
---|---|---|
a40e06ff | 1 | Summary: Foosball is an open source foosball (Table Football) game |
ae9b9307 | 2 | Summary(pl.UTF-8): Foosball jest grą w piłkarzyki |
a40e06ff | 3 | Name: foosball |
4 | Version: 0.92 | |
e5736f7b | 5 | Release: 3 |
a40e06ff | 6 | License: GPL |
7 | Group: X11/Applications/Games | |
8 | Source0: http://www.autismuk.freeserve.co.uk/%{name}-%{version}.tar.gz | |
9 | # Source0-md5: a7b1513216bf00b2c01e28c1621cac6f | |
10 | Source1: %{name}.desktop | |
11 | Source2: %{name}.png | |
12 | URL: http://freshmeat.net/projects/foosball/ | |
13 | BuildRequires: SDL-devel >= 1.2.0 | |
e5736f7b | 14 | BuildRequires: automake |
93b1fdcc | 15 | BuildRequires: libstdc++-devel |
a40e06ff | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | Foosball is an open source foosball (Table Football) game that uses | |
20 | SDL. It allows you to play against the computer, or to play against a | |
21 | friend. Various formations and game speeds are available. | |
22 | ||
f3f7fd25 JR |
23 | %description -l pl.UTF-8 |
24 | Foosball jest grą w piłkarzyki używającą biblioteki SDL. Można grać z | |
25 | komputerem lub z inną osobą. Dostępne są różne ustawienia i szybkości | |
a40e06ff | 26 | gry. |
27 | ||
28 | %prep | |
29 | %setup -q | |
30 | ||
31 | %build | |
e0246564 | 32 | cp -f /usr/share/automake/config.sub admin |
a40e06ff | 33 | %configure |
34 | %{__make} | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} | |
39 | ||
40 | %{__make} install \ | |
41 | DESTDIR=$RPM_BUILD_ROOT | |
42 | ||
43 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
44 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc AUTHORS README | |
52 | %attr(755,root,root) %{_bindir}/* | |
53 | %{_desktopdir}/*.desktop | |
54 | %{_pixmapsdir}/*.png |