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