]>
Commit | Line | Data |
---|---|---|
2820666b | 1 | Summary: Batalla Naval is a networked multiplayer battleship game |
bf8b12ed | 2 | Name: gbatnav |
bc6a644f | 3 | Version: 1.0.2 |
cecb8e14 | 4 | Release: 1 |
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 | |
bc6a644f | 33 | libtoolize --copy --force |
bf8b12ed | 34 | gettextize --copy --force |
e59987c8 | 35 | aclocal -I macros |
98c34bc0 | 36 | autoconf |
37 | automake -a -c | |
bf8b12ed | 38 | %configure |
39 | %{__make} | |
a950067b | 40 | |
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
bf8b12ed | 44 | %{__make} install \ |
45 | DESTDIR=$RPM_BUILD_ROOT \ | |
46 | Gamesdir=%{_applnkdir}/Games | |
47 | ||
48 | gzip -9nf AUTHORS README README.IPv6 NEWS TODO ChangeLog | |
49 | ||
50 | %find_lang %{name} --with-gnome | |
a950067b | 51 | |
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
bf8b12ed | 55 | %files -f %{name}.lang |
56 | %defattr(644,root,root,755) | |
57 | %doc *.gz | |
58 | %attr(755,root,root) %{_bindir}/* | |
ad3876fe | 59 | %{_pixmapsdir}/* |
bf8b12ed | 60 | %{_applnkdir}/Games/* |