]>
Commit | Line | Data |
---|---|---|
d74d155a | 1 | Summary: ClanBomber, the cool game that uses ClanLib |
711a331f | 2 | Summary(pl.UTF-8): ClanBomber, super gierka wykorzystująca ClanLib |
7e8bb060 | 3 | Name: clanbomber |
c660cbb9 | 4 | Version: 1.02a |
2c26ffde | 5 | Release: 5 |
d74d155a | 6 | License: GPL |
29f0279e | 7 | Group: X11/Applications/Games |
93fb4a15 | 8 | Source0: http://dl.sourceforge.net/clanbomber/%{name}-%{version}.tar.gz |
74c63671 | 9 | # Source0-md5: 1f0347807ca70b7f9b48dd7972aea8d5 |
7fc534f2 | 10 | Source1: %{name}.desktop |
c660cbb9 | 11 | Source2: %{name}.png |
7fc534f2 JB |
12 | Patch1: %{name}-CXXFLAGS.patch |
13 | Patch2: %{name}-DESTDIR.patch | |
18c438eb | 14 | Patch3: %{name}-DESTDIR2.patch |
8b297cdc | 15 | Patch4: %{name}-hardcoded_paths.patch |
2c26ffde | 16 | Patch5: %{name}-assert.patch |
17 | Patch6: %{name}-gcc33.patch | |
c660cbb9 | 18 | URL: http://clanbomber.sourceforge.net/ |
c660cbb9 | 19 | BuildRequires: ClanLib-devel >= 0.5.0 |
0f54372a | 20 | BuildRequires: Hermes-devel |
7fc534f2 JB |
21 | BuildRequires: autoconf |
22 | BuildRequires: automake | |
93fb4a15 JB |
23 | BuildRequires: libstdc++-devel |
24 | BuildRequires: zlib-devel | |
b5906e9c | 25 | Requires: ClanLib >= 0.5.0 |
2e17aa43 | 26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
0f54372a | 27 | |
28 | %description | |
1cef4763 | 29 | ClanBomber is very nice and playable Bomberman/Dynablaster clone. It |
30 | has multiplayer support (8 players), but not yet network support. You | |
31 | must have try it! :-) | |
0f54372a | 32 | |
9e5817e6 JR |
33 | %description -l pl.UTF-8 |
34 | ClanBomber to bardzo fajna i wciągająca gierka, zbliżona do | |
35 | Bombermana/Dynablastera. Można grać w kilku (max. 8) graczy, ale | |
36 | niestety nie poprzez sieć (jeszcze!). Koniecznie musisz ją wypróbować! | |
0f54372a | 37 | |
38 | %prep | |
39 | %setup -q | |
c48f093d | 40 | %patch1 -p1 |
7b76b04d | 41 | %patch2 -p1 |
8b297cdc | 42 | %patch3 -p0 |
43 | %patch4 -p1 | |
2c26ffde | 44 | %patch5 -p1 |
45 | %patch6 -p1 | |
0f54372a | 46 | |
47 | %build | |
c660cbb9 | 48 | rm -f missing |
f77e7625 | 49 | %{__aclocal} |
2c3e86b6 | 50 | %{__autoconf} |
51 | %{__automake} | |
c660cbb9 | 52 | # note: RTTI is needed --- clanbomber uses exceptions! |
53 | CXXFLAGS="%{rpmcflags} -fno-implicit-templates" | |
b5906e9c PG |
54 | %configure \ |
55 | --datadir=/usr/share/games | |
3488d114 | 56 | %{__make} |
0f54372a | 57 | |
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
7a0b9cba | 60 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} \ |
8f5f2cdb | 61 | $RPM_BUILD_ROOT%{_datadir}/games/clanlib |
d74d155a | 62 | |
b5906e9c PG |
63 | %{__make} install \ |
64 | DESTDIR=$RPM_BUILD_ROOT | |
0f54372a | 65 | |
be327604 | 66 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
c660cbb9 | 67 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} |
8ff7c87c | 68 | |
0f54372a | 69 | %clean |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %files | |
73 | %defattr(644,root,root,755) | |
b92964aa | 74 | %doc AUTHORS ChangeLog QUOTES README TODO |
8bf0f4cd | 75 | %attr(755,root,root) %{_bindir}/clanbomber |
18c438eb | 76 | %{_datadir}/games/clanbomber |
be327604 | 77 | %{_desktopdir}/clanbomber.desktop |
c660cbb9 | 78 | %{_pixmapsdir}/* |