Summary(pl): Batalla Naval - sieciowa gra wojenna dla wielu graczy
Name: gbatnav
Version: 1.0.4
-Release: 1
+Release: 4
License: GPL
Group: X11/Applications/Games
-Source0: http://download.sourceforge.net/batnav/%{name}-%{version}.tar.gz
+Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: 9975f2d4d0c481fd97a910958007b42d
Patch0: %{name}-DESTDIR.patch
+Patch1: %{name}-desktop.patch
URL: http://batnav.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
%description
Batalla Naval is a networked naval battleship game.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
rm -f missing
%{__libtoolize}
%{__gettextize}
-aclocal -I macros
+%{__aclocal} -I macros
%{__autoconf}
%{__automake}
%configure
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
- Gamesdir=%{_applnkdir}/Games
+ Gamesdir=%{_desktopdir}
%find_lang %{name} --with-gnome
%doc AUTHORS README README.IPv6 NEWS TODO ChangeLog
%attr(755,root,root) %{_bindir}/*
%{_pixmapsdir}/*
-%{_applnkdir}/Games/*
+%{_desktopdir}/*