packages: freeciv/freeciv.spec - builds all supported clients (TODO)

lisu lisu at pld-linux.org
Tue Aug 30 11:40:02 CEST 2011


Author: lisu                         Date: Tue Aug 30 09:40:02 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- builds all supported clients (TODO)

---- Files affected:
packages/freeciv:
   freeciv.spec (1.147 -> 1.148) 

---- Diffs:

================================================================
Index: packages/freeciv/freeciv.spec
diff -u packages/freeciv/freeciv.spec:1.147 packages/freeciv/freeciv.spec:1.148
--- packages/freeciv/freeciv.spec:1.147	Tue Aug 30 11:32:59 2011
+++ packages/freeciv/freeciv.spec	Tue Aug 30 11:39:56 2011
@@ -1,7 +1,8 @@
 # $Revision$, $Date$
 #
+# TODO: try to create bconds for supported clients
+#
 # Conditional build:
-%bcond_without	gtk		# do not build gtk client
 %bcond_without  ggz_client	# build without ggz client
 %bcond_without  ggz_server	# build without ggz server
 #
@@ -27,7 +28,7 @@
 BuildRequires:	automake
 BuildRequires:	gettext-devel
 %{?with_ggz_client:BuildRequires:	ggz-gtk-client-devel}
-%{?with_gtk:BuildRequires:	gtk+2-devel}
+BuildRequires:	gtk+2-devel
 BuildRequires:	libggz-devel
 BuildRequires:	libpng-devel
 BuildRequires:	libtool
@@ -97,7 +98,7 @@
 %configure \
 	--with-ggzd-confdir=%{_sysconfdir}/ggzd \
 	--disable-silent-rules \
-	%{?with_gtk:--enable-client=gtk} \
+	--enable-client=all \
 	%{!?with_ggz_client:--without-ggz-client} \
 	%{!?with_ggz_server:--without-ggz-server}
 
@@ -122,7 +123,7 @@
 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/ggz.modules
 
-%{?with_gtk:cp -a data/gtk_menus.xml $RPM_BUILD_ROOT%{_datadir}/%{name}}
+cp -a data/gtk_menus.xml $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 %if %{with ggz_server}
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/ggzd/{games,rooms}
@@ -177,7 +178,7 @@
 %{_datadir}/%{name}/flags
 %{_datadir}/%{name}/freeciv.rc*
 #%%{_datadir}/%{name}/freeland
-%{?with_gtk:%{_datadir}/%{name}/gtk_menus.xml}
+%{_datadir}/%{name}/gtk_menus.xml
 %{_datadir}/%{name}/hex2t
 %{_datadir}/%{name}/isophex
 %{_datadir}/%{name}/isotrident
@@ -201,6 +202,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.148  2011/08/30 09:39:56  lisu
+- builds all supported clients (TODO)
+
 Revision 1.147  2011/08/30 09:32:59  lisu
 - verbose build
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/freeciv/freeciv.spec?r1=1.147&r2=1.148&f=u



More information about the pld-cvs-commit mailing list