]> git.pld-linux.org Git - packages/balloonchase.git/blob - balloonchase.spec
- pl description
[packages/balloonchase.git] / balloonchase.spec
1 Summary:        Balloon Chase game
2 Summary(pl):    Gra Balloon Chase
3 Name:           balloonchase
4 Version:        0.9.2
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://koti.mbnet.fi/makegho/c/bchase/%{name}-%{version}.tar.bz2
9 URL:            http://koti.mbnet.fi/makegho/c/bchase/
10 BuildRequires:  SDL-devel >= 1.2.0
11 BuildRequires:  SDL_image-devel >= 1.2.0
12 Requires:       SDL >= 1.2.0
13 Requires:       SDL_image >= 1.2.0
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _prefix         /usr/X11R6
17
18 %description
19 Balloon Chase is a game where you fly a hot air balloon and try to
20 blow the other player out of the screen.
21
22 %description -l pl
23 Balloon Chase to gra, w której lata siê balonem wype³nionym ciep³ym
24 powietrzem, próbuj±c wypchn±æ drugiego gracza z ekranu.
25
26 %prep
27 %setup -q -n %{name}
28
29 %build
30 %{__make}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/images}
35
36 cp main $RPM_BUILD_ROOT/%{_datadir}/%{name}/%{name}
37 cp images/* $RPM_BUILD_ROOT/%{_datadir}/%{name}/images
38
39 cat > $RPM_BUILD_ROOT/%{_bindir}/%{name} <<EOF
40 #!/bin/sh
41 cd %{_datadir}/%{name}
42 ./%{name} \$@
43 EOF
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc VERSION README COPYING
51 %attr(755,root,root) %{_bindir}/%{name}
52 %dir %{_datadir}/%{name}
53 # hey, isn't it arch-dependent binary??? if so, it cannot be in %{_datadir}!
54 %attr(755,root,root) %{_datadir}/%{name}/%{name}
55 %dir %{_datadir}/%{name}/images
56 %{_datadir}/%{name}/images/*
This page took 0.102131 seconds and 4 git commands to generate.