Author: arvenil Date: Sun Nov 9 13:53:49 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - BR: gmp-devel (for server) - added server subpackage - switch bcond to build server by default - release 1
---- Files affected: SPECS: hedgewars.spec (1.5 -> 1.6) ---- Diffs: ================================================================ Index: SPECS/hedgewars.spec diff -u SPECS/hedgewars.spec:1.5 SPECS/hedgewars.spec:1.6 --- SPECS/hedgewars.spec:1.5 Sun Nov 9 13:58:15 2008 +++ SPECS/hedgewars.spec Sun Nov 9 14:53:44 2008 @@ -1,15 +1,13 @@ # $Revision$, $Date$ # -# TODO: -# - test build with server -%bcond_with server # build with local server - +%bcond_without server # build without local server +# Summary: hedgewars - free Worms-like turn based strategy game Summary(hu.UTF-8): hedgewars - ingyenes Worms-szerű körökre osztott stratégiai játék Summary(pl.UTF-8): hedgewars - strategia czasu rzeczywistego podobna do Worms Name: hedgewars Version: 0.9.7 -Release: 0.5 +Release: 1 License: GPL v2 + Public Domain fonts Group: X11/Applications/Games Source0: http://hedgewars.org/download/%{name}-src-%{version}.tar.bz2 @@ -27,6 +25,7 @@ BuildRequires: desktop-file-utils BuildRequires: fpc >= 2.2.0 %{?with_server:BuildRequires: ghc} +%{?with_server:BuildRequires: gmp-devel} BuildRequires: openssl-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -40,6 +39,17 @@ Hedgewars jest wolnodostępną strategią czasu rzeczywistego podobną do Worms. +%package server +Summary: Network server for hedgewars +Summary(pl.UTF-8): Sieciowy serwer dla hedgewars +Group: X11/Applications/Games + +%description server +Server for playing networked games of hedgewars. + +%description server -l pl.UTF-8 +Serwer do prowadzenia sieciowych gier hedgewars. + %prep %setup -q -n %{name}-src-%{version} mkdir build @@ -75,12 +85,24 @@ %{_pixmapsdir}/%{name}.png %{_desktopdir}/%{name}.desktop +%if %{with server} +%files server +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/hedgewars-server +%endif + %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <[EMAIL PROTECTED]> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.6 2008/11/09 13:53:44 arvenil +- BR: gmp-devel (for server) +- added server subpackage +- switch bcond to build server by default +- release 1 + Revision 1.5 2008/11/09 12:58:15 arvenil - use make's -C option for dir change @@ -95,4 +117,3 @@ Revision 1.1 2008/11/08 23:13:16 cactus - initial - ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/hedgewars.spec?r1=1.5&r2=1.6&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
