- removed two lines with define
[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
21 %description
22 Batalla Naval is a networked naval battleship game.
23
24 %description -l pl
25 Batalla Naval to sieciowa gra wojenna.
26
27 %prep
28 %setup -q
29 %patch0 -p1
30
31 %build
32 rm -f missing
33 %{__libtoolize}
34 %{__gettextize}
35 %{__aclocal} -I macros
36 %{__autoconf}
37 %{__automake}
38 %configure
39 %{__make}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT \
46         Gamesdir=%{_applnkdir}/Games
47
48 %find_lang %{name} --with-gnome
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files -f %{name}.lang
54 %defattr(644,root,root,755)
55 %doc AUTHORS README README.IPv6 NEWS TODO ChangeLog
56 %attr(755,root,root) %{_bindir}/*
57 %{_pixmapsdir}/*
58 %{_applnkdir}/Games/*
This page took 0.069647 seconds and 3 git commands to generate.