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