26019daa95425bdabe44e04ab380436dedba1942
[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:        1
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 URL:            http://batnav.sourceforge.net/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  bison
14 BuildRequires:  gettext-devel
15 BuildRequires:  gtk+-devel >= 1.2.0
16 BuildRequires:  gnome-libs-devel
17 BuildRequires:  libtool
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _prefix         /usr/X11R6
21
22 %description
23 Batalla Naval is a networked naval battleship game.
24
25 %description -l pl
26 Batalla Naval to sieciowa gra wojenna.
27
28 %prep
29 %setup -q
30 %patch0 -p1
31
32 %build
33 rm -f missing
34 %{__libtoolize}
35 %{__gettextize}
36 %{__aclocal} -I macros
37 %{__autoconf}
38 %{__automake}
39 %configure
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT \
47         Gamesdir=%{_applnkdir}/Games
48
49 %find_lang %{name} --with-gnome
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files -f %{name}.lang
55 %defattr(644,root,root,755)
56 %doc AUTHORS README README.IPv6 NEWS TODO ChangeLog
57 %attr(755,root,root) %{_bindir}/*
58 %{_pixmapsdir}/*
59 %{_applnkdir}/Games/*
This page took 0.0306959999999999 seconds and 2 git commands to generate.