]> git.pld-linux.org Git - packages/clanbomber.git/blob - clanbomber.spec
- more %%{__make} macros.
[packages/clanbomber.git] / clanbomber.spec
1 Summary:        ClanBomber, the cool game that uses ClanLib
2 Summary(pl):    ClanBomber, super gierka wykorzystuj±ca ClanLib
3 Name:           clanbomber 
4 Version:        1.01
5 Release:        1
6 License:        GPL
7 Group:          Games
8 Group(pl):      Gry
9 Source0:        http://www.clanbomber.de/files/%{name}-%{version}.tar.gz
10 Source1:        clanbomber.desktop
11 Patch1:         clanbomber-CXXFLAGS.patch
12 Patch2:         clanbomber-DESTDIR.patch
13 URL:            http://www.clanbomber.de/
14 Requires:       ClanLib >= 0.4.3
15 BuildRequires:  ClanLib-devel >= 0.4.3
16 BuildRequires:  Hermes-devel
17 BuildRequires:  libstdc++-devel
18 BuildRequires:  zlib-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 ClanBomber is very nice and playable Bomberman/Dynablaster clone. It
23 has multiplayer support (8 players), but not yet network support. You
24 must have try it! :-)
25
26 %description -l pl
27 ClanBomber to bardzo fajna i wci±gaj±ca gierka, zbli¿ona do
28 Bombermana/Dynablastera. Mo¿na graæ w kilku (max. 8) graczy, ale
29 niestety nie poprzez sieæ (jeszcze!). Koniecznie musisz j± wypróbowaæ!
30
31 %prep
32 %setup -q
33 %patch1 -p1
34 %patch2 -p1
35
36 %build
37 aclocal
38 automake
39 autoconf
40 CXXFLAGS="$RPM_OPT_FLAGS -fno-implicit-templates" # note: RTTI is needed --- clanbomber uses exceptions!
41 LDFLAGS="-s"
42 export CXXFLAGS LDFLAGS
43 %configure 
44 %{__make}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_applnkdir}/Games
49
50 %{__make} install DESTDIR=$RPM_BUILD_ROOT
51
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
53
54 gzip -9nf AUTHORS ChangeLog QUOTES README TODO
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc *.gz
62 %attr(755,root,root) %{_bindir}/clanbomber
63 %{_datadir}/clanbomber
64 %{_applnkdir}/Games/clanbomber.desktop
This page took 0.082597 seconds and 3 git commands to generate.