]> git.pld-linux.org Git - packages/bzflag.git/blobdiff - bzflag.spec
- Re-added tlh translation.
[packages/bzflag.git] / bzflag.spec
index 317481bd5bacef785f2189218240c49d92335af6..2bd850c6ef7c19d765961d42af037b81c537a0c3 100644 (file)
@@ -1,24 +1,33 @@
+# TODO:
+#  - some python plugin can be built, but it's hardly disabled (why ?)
+#  - there's lot of stuff in misc directory, some of them interesting
+#    (to be compiled, moved to doc, or something else)
+#  - bzfsAPI.h and other is marked ad noinst_HEADER, maybe in future it will
+#    be installed too, to allow compiling plugins externall
+#
 Summary:       Multiplayer 3D tank battle game
-Summary(pl):   Gra 3D dla wielu graczy - czo³gi
+Summary(pl.UTF-8):     Gra 3D dla wielu graczy - czołgi
 Name:          bzflag
-Version:       2.0.0.20050117
-Release:       1
-License:       GPL
+Version:       2.0.8
+Release:       2
+License:       LGPL
 Group:         X11/Applications/Games
-Source0:       http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
-# Source0-md5: 16da32cfaac130bf68ca156d0dec2b2e
+Source0:       http://dl.sourceforge.net/bzflag/%{name}-%{version}.tar.bz2
+# Source0-md5: 7963cc1de7144e76a9426b6f23d7c2c8
 Source1:       %{name}.desktop
 Source2:       %{name}.png
 Patch0:                %{name}-etc_dir.patch
 Patch1:                %{name}-nolibs.patch
-Icon:          bzflag.xpm
 URL:           http://BZFlag.org/
 BuildRequires: OpenGL-devel
-BuildRequires: adns-devel
+BuildRequires: SDL-devel >= 1.2.5
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: c-ares-devel
+BuildRequires: curl-devel >= 7.9.5
+BuildRequires: libstdc++-devel
+BuildRequires: ncurses-devel
 Requires:      OpenGL
-Requires:      %{name}-server = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define        _noautoreqdep   libGL.so.1 libGLU.so.1
@@ -28,33 +37,47 @@ bzflag is a networked multiplayer 3D tank battle game, combining both
 fast action and strategy. Free-for-all and capture-the-flag styles are
 available.
 
-%description -l pl
-bzflag jest sieciow± gr± czo³gow± 3D, ³±cz±c± szybk± akcjê ze
-strategi±. Graæ mo¿na w wolnym stylu lub metod± "zdob±d¼ flagê".
+%description -l pl.UTF-8
+bzflag jest sieciową grą czołgową 3D, łączącą szybką akcję ze
+strategią. Grać można w wolnym stylu lub metodą "zdobądź flagę".
 
 %package server
 Summary:       bzflag server and console utilities
-Summary(pl):   Server bzflag i narzêdzia konsolowe
+Summary(pl.UTF-8):     Server bzflag i narzędzia konsolowe
 Group:         X11/Applications/Games
 Conflicts:     bzflag < 1.10.8.20041007-1
 
 %description server
 bzflag server and console utilities.
 
-%description server -l pl
-Server bzflag i narzêdzia konsolowe.
+%description server -l pl.UTF-8
+Server bzflag i narzędzia konsolowe.
 
 %prep
 %setup -q
 #%patch0 -p1
 %patch1 -p1
 
+:> m4/mkdirp.m4
+:> m4/sdl.m4
+
 %build
-%{__aclocal}
+CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
+CPPFLAGS="%{rpmcflags} -I/usr/include/ncurses"
+export CFLAGS CPPFLAGS
+%{__aclocal} -I m4
 %{__autoheader}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+       --enable-threads        \
+       --enable-plugins        \
+       --enable-bzadmin        \
+       --disable-timebomb      \
+       --disable-sdltest       \
+       --enable-client         \
+       --enable-robots         \
+       --enable-snapping
 
 %{__make}
 
@@ -74,7 +97,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README BUGS RELNOTES TODO ChangeLog
+%doc AUTHORS README README.Linux BUGS TODO ChangeLog
 %attr(755,root,root) %{_bindir}/bzflag
 %{_mandir}/man6/bzflag.6*
 %{_desktopdir}/*.desktop
@@ -97,14 +120,15 @@ rm -rf $RPM_BUILD_ROOT
 %lang(fr) %{_datadir}/%{name}/l10n/%{name}_fr.po
 %lang(it) %{_datadir}/%{name}/l10n/%{name}_it.po
 %lang(tlh) %{_datadir}/%{name}/l10n/%{name}_kg.po
+%lang(lt) %{_datadir}/%{name}/l10n/%{name}_lt.po
 %lang(nl) %{_datadir}/%{name}/l10n/%{name}_nl.po
 %lang(pt) %{_datadir}/%{name}/l10n/%{name}_pt.po
 %lang(sv) %{_datadir}/%{name}/l10n/%{name}_sv.po
+#%attr(755,root,root) %{_libdir}/*.so
 
 %files server
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/bzadmin
-#attr(755,root,root) %{_bindir}/bzfrelay
 %attr(755,root,root) %{_bindir}/bzfs
 %{_mandir}/man5/bzw.5*
 %{_mandir}/man6/bzadmin.6*
This page took 0.059684 seconds and 4 git commands to generate.