]> git.pld-linux.org Git - packages/balloonchase.git/blob - balloonchase.spec
b95864fb5dc5306c1a66f21b097a82d334e8f8cd
[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_image-devel >= 1.2.0
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13
14 %description
15 Balloon Chase is a game where you fly a hot air balloon and try to
16 blow the other player out of the screen.
17
18 %description -l pl
19 Balloon Chase to gra, w której lata siê balonem wype³nionym ciep³ym
20 powietrzem, próbuj±c wypchn±æ drugiego gracza z ekranu.
21
22 %prep
23 %setup -q -n %{name}
24
25 %build
26 %{__make}
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}/images}
31
32 cp main $RPM_BUILD_ROOT/%{_datadir}/%{name}/%{name}
33 cp images/* $RPM_BUILD_ROOT/%{_datadir}/%{name}/images
34
35 cat > $RPM_BUILD_ROOT/%{_bindir}/%{name} <<EOF
36 #!/bin/sh
37 cd %{_datadir}/%{name}
38 ./%{name} \$@
39 EOF
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc VERSION README
47 %attr(755,root,root) %{_bindir}/%{name}
48 %dir %{_datadir}/%{name}
49 # hey, isn't it arch-dependent binary??? if so, it cannot be in %{_datadir}!
50 %attr(755,root,root) %{_datadir}/%{name}/%{name}
51 %dir %{_datadir}/%{name}/images
52 %{_datadir}/%{name}/images/*
This page took 0.070865 seconds and 2 git commands to generate.