]>
Commit | Line | Data |
---|---|---|
2820666b | 1 | Summary: Batalla Naval is a networked multiplayer battleship game |
bf8b12ed | 2 | Name: gbatnav |
cecb8e14 | 3 | Version: 1.0.1 |
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 |
15 | BuildRequires: gettext-devel | |
16 | BuildRequires: gtk+-devel >= 1.2.0 | |
17 | BuildRequires: gnome-libs-devel | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %define _prefix /usr/X11R6 | |
a950067b | 21 | |
22 | %description | |
23 | Batallla Naval is a networked naval battleship game. | |
24 | ||
a950067b | 25 | %prep |
26 | %setup -q | |
cecb8e14 | 27 | %patch0 -p1 |
28 | %patch1 -p1 | |
a950067b | 29 | |
30 | %build | |
bf8b12ed | 31 | gettextize --copy --force |
e59987c8 | 32 | aclocal -I macros |
98c34bc0 | 33 | autoconf |
34 | automake -a -c | |
bf8b12ed | 35 | %configure |
36 | %{__make} | |
a950067b | 37 | |
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
bf8b12ed | 41 | %{__make} install \ |
42 | DESTDIR=$RPM_BUILD_ROOT \ | |
43 | Gamesdir=%{_applnkdir}/Games | |
44 | ||
45 | gzip -9nf AUTHORS README README.IPv6 NEWS TODO ChangeLog | |
46 | ||
47 | %find_lang %{name} --with-gnome | |
a950067b | 48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
bf8b12ed | 52 | %files -f %{name}.lang |
53 | %defattr(644,root,root,755) | |
54 | %doc *.gz | |
55 | %attr(755,root,root) %{_bindir}/* | |
ad3876fe | 56 | %{_pixmapsdir}/* |
bf8b12ed | 57 | %{_applnkdir}/Games/* |