]>
Commit | Line | Data |
---|---|---|
2820666b | 1 | Summary: Batalla Naval is a networked multiplayer battleship game |
bf8b12ed | 2 | Name: gbatnav |
bc6a644f | 3 | Version: 1.0.2 |
3aecb705 | 4 | Release: 2 |
bf8b12ed | 5 | License: GPL |
6 | Group: X11/Applications/Games | |
98c34bc0 | 7 | Group(de): X11/Applikationen/Spiele |
8 | Group(pl): X11/Aplikacje/Gry | |
bf8b12ed | 9 | Source0: http://download.sourceforge.net/batnav/%{name}-%{version}.tar.gz |
10 | Patch0: %{name}-DESTDIR.patch | |
cecb8e14 | 11 | Patch1: %{name}-am_fixes.patch |
bf8b12ed | 12 | URL: http://batnav.sourceforge.net/ |
98c34bc0 | 13 | BuildRequires: autoconf |
bf8b12ed | 14 | BuildRequires: automake |
bc6a644f | 15 | BuildRequires: bison |
bf8b12ed | 16 | BuildRequires: gettext-devel |
17 | BuildRequires: gtk+-devel >= 1.2.0 | |
18 | BuildRequires: gnome-libs-devel | |
bc6a644f | 19 | BuildRequires: libtool |
bf8b12ed | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %define _prefix /usr/X11R6 | |
a950067b | 23 | |
24 | %description | |
25 | Batallla Naval is a networked naval battleship game. | |
26 | ||
a950067b | 27 | %prep |
28 | %setup -q | |
cecb8e14 | 29 | %patch0 -p1 |
30 | %patch1 -p1 | |
a950067b | 31 | |
32 | %build | |
3aecb705 PG |
33 | cd ggz |
34 | aclocal | |
35 | autoconf | |
36 | cd .. | |
37 | rm -f missing | |
bc6a644f | 38 | libtoolize --copy --force |
bf8b12ed | 39 | gettextize --copy --force |
e59987c8 | 40 | aclocal -I macros |
98c34bc0 | 41 | autoconf |
42 | automake -a -c | |
bf8b12ed | 43 | %configure |
44 | %{__make} | |
a950067b | 45 | |
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
bf8b12ed | 49 | %{__make} install \ |
50 | DESTDIR=$RPM_BUILD_ROOT \ | |
51 | Gamesdir=%{_applnkdir}/Games | |
52 | ||
53 | gzip -9nf AUTHORS README README.IPv6 NEWS TODO ChangeLog | |
54 | ||
55 | %find_lang %{name} --with-gnome | |
a950067b | 56 | |
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
bf8b12ed | 60 | %files -f %{name}.lang |
61 | %defattr(644,root,root,755) | |
62 | %doc *.gz | |
63 | %attr(755,root,root) %{_bindir}/* | |
ad3876fe | 64 | %{_pixmapsdir}/* |
bf8b12ed | 65 | %{_applnkdir}/Games/* |