]> git.pld-linux.org Git - packages/gbatnav.git/blame - gbatnav.spec
- updated to 1.0.1,
[packages/gbatnav.git] / gbatnav.spec
CommitLineData
2820666b 1Summary: Batalla Naval is a networked multiplayer battleship game
bf8b12ed 2Name: gbatnav
cecb8e14 3Version: 1.0.1
4Release: 1
bf8b12ed 5License: GPL
6Group: X11/Applications/Games
98c34bc0 7Group(de): X11/Applikationen/Spiele
8Group(pl): X11/Aplikacje/Gry
bf8b12ed 9Source0: http://download.sourceforge.net/batnav/%{name}-%{version}.tar.gz
10Patch0: %{name}-DESTDIR.patch
cecb8e14 11Patch1: %{name}-am_fixes.patch
bf8b12ed 12URL: http://batnav.sourceforge.net/
98c34bc0 13BuildRequires: autoconf
bf8b12ed 14BuildRequires: automake
15BuildRequires: gettext-devel
16BuildRequires: gtk+-devel >= 1.2.0
17BuildRequires: gnome-libs-devel
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%define _prefix /usr/X11R6
a950067b 21
22%description
23Batallla 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 31gettextize --copy --force
e59987c8 32aclocal -I macros
98c34bc0 33autoconf
34automake -a -c
bf8b12ed 35%configure
36%{__make}
a950067b 37
38%install
39rm -rf $RPM_BUILD_ROOT
40
bf8b12ed 41%{__make} install \
42 DESTDIR=$RPM_BUILD_ROOT \
43 Gamesdir=%{_applnkdir}/Games
44
45gzip -9nf AUTHORS README README.IPv6 NEWS TODO ChangeLog
46
47%find_lang %{name} --with-gnome
a950067b 48
49%clean
50rm -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/*
This page took 0.040472 seconds and 4 git commands to generate.