]>
Commit | Line | Data |
---|---|---|
f990ca06 | 1 | # |
2 | # Conditional build: | |
3 | %bcond_without SDL_mixer # build without SDL_mixer | |
4 | # | |
5 | Summary: Simple logical game | |
dd3361f3 | 6 | Summary(pl.UTF-8): Prosta gra logiczna |
f990ca06 | 7 | Name: black-box |
027816b9 | 8 | Version: 1.4.8 |
f990ca06 | 9 | Release: 1 |
10 | License: GPL v2+ | |
11 | Group: X11/Applications/Games | |
12 | Source0: http://user.cs.tu-berlin.de/~karlb/black-box/%{name}-%{version}.tar.gz | |
027816b9 | 13 | # Source0-md5: f0cf19c54a3d2c34c221d67baf78add5 |
55f8154e | 14 | URL: http://www.linux-games.com/black-box/ |
f990ca06 | 15 | BuildRequires: SDL-devel >= 1.2.0 |
16 | BuildRequires: SDL_image-devel >= 1.2.0 | |
17 | %{?with_SDL_mixer:BuildRequires: SDL_mixer-devel >= 1.2.0} | |
18 | BuildRequires: autoconf | |
19 | BuildRequires: automake | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | You shoot into the black box and you can look where your shots go out | |
24 | of it. In the box crystals are reflecting your shots. You have to | |
25 | guess where the are hidden. | |
26 | ||
d5c4e66f JR |
27 | %description -l pl.UTF-8 |
28 | Strzelając do czarnego pudełka, gracz może obserwować, w którym | |
29 | miejscu pociski z niego wylatują. W pudełku są ukryte kryształy, które | |
30 | odbijają strzały. Zadaniem gracza jest odnalezienie miejsca ukrycia | |
31 | każdego kryształu. | |
f990ca06 | 32 | |
33 | %prep | |
34 | %setup -q | |
35 | ||
36 | %build | |
37 | %{__aclocal} | |
38 | %{__autoconf} | |
39 | %{__automake} | |
40 | %configure | |
41 | %{__make} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc AUTHORS ChangeLog NEWS README | |
55 | %attr(755,root,root) %{_bindir}/* | |
56 | %{_datadir}/%{name} |