- rel. 4: more fixes in -desktop patch
[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.4
5 Release:        4
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
9 # Source0-md5:  9975f2d4d0c481fd97a910958007b42d
10 Patch0:         %{name}-DESTDIR.patch
11 Patch1:         %{name}-desktop.patch
12 URL:            http://batnav.sourceforge.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  bison
16 BuildRequires:  gettext-devel
17 BuildRequires:  gtk+-devel >= 1.2.0
18 BuildRequires:  gnome-libs-devel
19 BuildRequires:  libtool
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
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 rm -f missing
36 %{__libtoolize}
37 %{__gettextize}
38 %{__aclocal} -I macros
39 %{__autoconf}
40 %{__automake}
41 %configure
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} install \
48         DESTDIR=$RPM_BUILD_ROOT \
49         Gamesdir=%{_desktopdir}
50
51 %find_lang %{name} --with-gnome
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files -f %{name}.lang
57 %defattr(644,root,root,755)
58 %doc AUTHORS README README.IPv6 NEWS TODO ChangeLog
59 %attr(755,root,root) %{_bindir}/*
60 %{_pixmapsdir}/*
61 %{_desktopdir}/*
This page took 0.034187 seconds and 3 git commands to generate.