1 Summary: Batalla Naval is a networked multiplayer battleship game
6 Group: X11/Applications/Games
7 Group(de): X11/Applikationen/Spiele
8 Group(pl): X11/Aplikacje/Gry
9 Source0: http://download.sourceforge.net/batnav/%{name}-%{version}.tar.gz
10 Patch0: %{name}-DESTDIR.patch
11 Patch1: %{name}-am_fixes.patch
12 URL: http://batnav.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake
16 BuildRequires: gettext-devel
17 BuildRequires: gtk+-devel >= 1.2.0
18 BuildRequires: gnome-libs-devel
19 BuildRequires: libtool
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define _prefix /usr/X11R6
25 Batallla Naval is a networked naval battleship game.
38 libtoolize --copy --force
39 gettextize --copy --force
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT \
51 Gamesdir=%{_applnkdir}/Games
53 gzip -9nf AUTHORS README README.IPv6 NEWS TODO ChangeLog
55 %find_lang %{name} --with-gnome
58 rm -rf $RPM_BUILD_ROOT
60 %files -f %{name}.lang
61 %defattr(644,root,root,755)
63 %attr(755,root,root) %{_bindir}/*