]> git.pld-linux.org Git - packages/freeciv.git/commitdiff
- updated to 1.14.0 STABLE freeciv-1_14_0-1
authortrojan <trojan@pld-linux.org>
Mon, 20 Jan 2003 08:23:33 +0000 (08:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added bcond _with_gtk2

Changed files:
    freeciv.spec -> 1.58

freeciv.spec

index 58860da40fce3a4d73b9b799d28df58f5e4c1c83..8a3be6a63b1d07f2d7210f0ff61ee50e9aea6578 100644 (file)
@@ -1,9 +1,13 @@
+#
+# Conditional build:
+#  _with_gtk2          build gtk2 client, not gtk
+#
 Summary:       FREE CIVilization clone
 Summary(es):   Clon del juego Civilization
 Summary(pl):   Niekomercyjny klon CIVilization
 Summary(pt_BR):        Clone do jogo Civilization
 Name:          freeciv
-Version:       1.13.0
+Version:       1.14.0
 Release:       1
 License:       GPL
 Group:         X11/Applications/Games/Strategy
@@ -15,8 +19,9 @@ Source4:      ftp://ftp.freeciv.org/freeciv/contrib/sounds/sets/stdsounds1.tar.gz
 Source5:       ftp://ftp.freeciv.org/freeciv/contrib/sounds/sets/stdsounds.spec
 URL:           http://www.freeciv.org/
 BuildRequires: esound-devel
-BuildRequires: gtk+-devel > 1.2.1
-BuildRequires: imlib-devel >= 1.9.2
+%{!?_with_gtk2:BuildRequires:  gtk+-devel > 1.2.1}
+%{?_with_gtk2:BuildRequires:   gtk+2-devel}
+%{!?_with_gtk2:BuildRequires:  imlib-devel >= 1.9.2}
 BuildRequires: readline-devel
 BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -45,7 +50,8 @@ Window.
 
 %build
 %configure2_13 \
-       --with-gtk
+%{!?_with_gtk2:        --enable-client=gtk} \
+%{?_with_gtk2: --enable-client=gtk2}
 %{__make}
 
 %install
This page took 0.031213 seconds and 4 git commands to generate.