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