- removed all Group fields translations (oure rpm now can handle translating
[packages/gbatnav.git] / gbatnav.spec
1 Summary:        Batalla Naval is a networked multiplayer battleship game
2 Summary(pl):    Batalla Naval - sieciowa gra wojenna dla wielu graczy
3 Name:           gbatnav
4 Version:        1.0.2
5 Release:        2
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://download.sourceforge.net/batnav/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-DESTDIR.patch
10 Patch1:         %{name}-am_fixes.patch
11 URL:            http://batnav.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  bison
15 BuildRequires:  gettext-devel
16 BuildRequires:  gtk+-devel >= 1.2.0
17 BuildRequires:  gnome-libs-devel
18 BuildRequires:  libtool
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _prefix         /usr/X11R6
22
23 %description
24 Batalla Naval is a networked naval battleship game.
25
26 %description -l pl
27 Batalla Naval to sieciowa gra wojenna.
28
29 %prep
30 %setup -q
31 %patch0 -p1
32 %patch1 -p1
33
34 %build
35 cd ggz
36         aclocal
37         autoconf
38 cd ..
39 rm -f missing
40 libtoolize --copy --force
41 gettextize --copy --force
42 aclocal -I macros
43 autoconf
44 automake -a -c
45 %configure
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT \
53         Gamesdir=%{_applnkdir}/Games
54
55 gzip -9nf AUTHORS README README.IPv6 NEWS TODO ChangeLog
56
57 %find_lang %{name} --with-gnome
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files -f %{name}.lang
63 %defattr(644,root,root,755)
64 %doc *.gz
65 %attr(755,root,root) %{_bindir}/*
66 %{_pixmapsdir}/*
67 %{_applnkdir}/Games/*
This page took 0.032402 seconds and 3 git commands to generate.