]> git.pld-linux.org Git - packages/black-box.git/blob - black-box.spec
- fix previous log message
[packages/black-box.git] / black-box.spec
1 #
2 # Conditional build:
3 %bcond_without  SDL_mixer       # build without SDL_mixer
4 #
5 Summary:        Simple logical game
6 Summary(pl.UTF-8):      Prosta gra logiczna
7 Name:           black-box
8 Version:        1.4.8
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
13 # Source0-md5:  f0cf19c54a3d2c34c221d67baf78add5
14 URL:            http://www.linux-games.com/black-box/
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
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.
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}
This page took 0.085616 seconds and 3 git commands to generate.