]> git.pld-linux.org Git - packages/freeciv.git/blobdiff - freeciv.spec
- remove R: esound from client
[packages/freeciv.git] / freeciv.spec
index 30ec2b709f2e03a2f59c909626d7b544771745e0..06db626001eb7cf399a3f3e61ca7118df2949d37 100644 (file)
@@ -24,6 +24,7 @@ Source2:      ftp://ftp.freeciv.org/pub/freeciv/contrib/tilesets/freeland/freeland-no
 # Source2-md5: c9f061fca82aa50a19fbbc89c06ff81d
 Patch0:                %{name}-link.patch
 Patch1:                %{name}-desktop.patch
+Patch2:                %{name}-ggz.patch
 URL:           http://www.freeciv.org/
 BuildRequires: SDL_mixer-devel
 BuildRequires: autoconf >= 2.52
@@ -63,7 +64,6 @@ Group:                X11/Applications/Games/Strategy
 Requires:      %{name} = %{version}-%{release}
 Requires:      %{name}-server = %{version}-%{release}
 Requires:      SDL_mixer
-Requires:      esound
 Suggests:      %{name} = %{version}-%{release}
 
 %description client
@@ -88,16 +88,19 @@ Ten pakiet zawiera server gry Freeciv.
 %setup -q -a1 -a2
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
-%{__aclocal}
+rm acinclude.m4
+%{__aclocal} -I m4
 %{__autoconf}
 %{__autoheader}
 %{__automake}
 %configure \
-%{?with_gtk:   --enable-client=gtk}
-%{!?with_ggz_client:   --without-ggz-client}
-%{!?with_ggz_server:   --without-ggz-server}
+       --with-ggzd-confdir=%{_sysconfdir}/ggzd \
+       %{?with_gtk:    --enable-client=gtk} \
+       %{!?with_ggz_client:    --without-ggz-client} \
+       %{!?with_ggz_server:    --without-ggz-server}
 
 %{__make}
 
This page took 0.028881 seconds and 4 git commands to generate.