- cosmetics.
[packages/gbatnav.git] / gbatnav.spec
CommitLineData
2820666b 1Summary: Batalla Naval is a networked multiplayer battleship game
bf8b12ed 2Name: gbatnav
3Version: 0.74.0
4Release: 1
5License: GPL
6Group: X11/Applications/Games
7Source0: http://download.sourceforge.net/batnav/%{name}-%{version}.tar.gz
8Patch0: %{name}-DESTDIR.patch
9URL: http://batnav.sourceforge.net/
10BuildRequires: automake
11BuildRequires: gettext-devel
12BuildRequires: gtk+-devel >= 1.2.0
13BuildRequires: gnome-libs-devel
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%define _prefix /usr/X11R6
a950067b 17
18%description
19Batallla Naval is a networked naval battleship game.
20
a950067b 21%prep
22%setup -q
bf8b12ed 23%patch -p1
a950067b 24
25%build
bf8b12ed 26gettextize --copy --force
27automake
28%configure
29%{__make}
a950067b 30
31%install
32rm -rf $RPM_BUILD_ROOT
33
bf8b12ed 34%{__make} install \
35 DESTDIR=$RPM_BUILD_ROOT \
36 Gamesdir=%{_applnkdir}/Games
37
38gzip -9nf AUTHORS README README.IPv6 NEWS TODO ChangeLog
39
40%find_lang %{name} --with-gnome
a950067b 41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
bf8b12ed 45%files -f %{name}.lang
46%defattr(644,root,root,755)
47%doc *.gz
48%attr(755,root,root) %{_bindir}/*
49%{_datadir}/pixmaps/*
50%{_applnkdir}/Games/*
This page took 0.206577 seconds and 4 git commands to generate.