]> git.pld-linux.org Git - packages/black-box.git/blob - black-box.spec
- pl fix
[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):    Prosta gra logiczna
7 Name:           black-box
8 Version:        1.4.7
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:  e17d7a0ff13adb690c6eaced99ee4d00
14 URL:            http://www.linux-games.com/
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
28 Strzelaj±c do czarnego pude³ka, gracz mo¿e obserwowaæ, w którym miejscu
29 pociski z niego wylatuj±. W pude³ku s± ukryte kryszta³y, które odbijaj±
30 strza³y. Zadaniem gracza jest odnalezienie miejsca ukrycia ka¿dego
31 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.060531 seconds and 3 git commands to generate.