#
# Conditional build:
%bcond_without gtk # do not build gtk client
+%bcond_without ggz_client # do not build ggz client
+%bcond_without ggz_server # do not build ggz server
#
Summary: FREE CIVilization clone
Summary(es.UTF-8): Clon del juego Civilization
Summary(pl.UTF-8): Niekomercyjny klon CIVilization
Summary(pt_BR.UTF-8): Clone do jogo Civilization
Name: freeciv
-Version: 2.1.2
+Version: 2.1.3
Release: 0.1
License: GPL v2+
Group: X11/Applications/Games/Strategy
Source0: http://dl.sourceforge.net/freeciv/%{name}-%{version}.tar.bz2
-# Source0-md5: 358d140f545c4ac9e05c4e2b13de7a55
+# Source0-md5: 2b5e96c6464212273150f8d3ec0bf7f7
Source1: ftp://ftp.freeciv.org/pub/freeciv/contrib/audio/soundsets/stdsounds3.tar.gz
# Source1-md5: 77215914712f2f351092918f5e41e39e
Source2: ftp://ftp.freeciv.org/pub/freeciv/contrib/tilesets/freeland/freeland-normal-2.0.0.tar.gz
BuildRequires: automake
BuildRequires: esound-devel
%{?with_gtk:BuildRequires: gtk+2-devel}
+%{?with_ggz_client:BuildRequires: ggz-gtk-client-devel}
+%{?with_ggz_server:BuildRequires: ggz-server-devel}
+BuildRequires: libggz-devel
BuildRequires: pkgconfig
BuildRequires: readline-devel
BuildRequires: zlib-devel
%{__automake}
%configure \
%{?with_gtk: --enable-client=gtk}
+%{!?with_ggz_client: --without-ggz-client}
+%{!?with_ggz_server: --without-ggz-server}
%{__make}