SPECS: freeciv.spec - up to 2.1.6 - fixed install with ggz-server (it build...

pawelz pawelz at pld-linux.org
Sun Sep 14 21:20:28 CEST 2008


Author: pawelz                       Date: Sun Sep 14 19:20:28 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.1.6
- fixed install with ggz-server (it builds now)
- adapterized

---- Files affected:
SPECS:
   freeciv.spec (1.117 -> 1.118) 

---- Diffs:

================================================================
Index: SPECS/freeciv.spec
diff -u SPECS/freeciv.spec:1.117 SPECS/freeciv.spec:1.118
--- SPECS/freeciv.spec:1.117	Thu Jun 19 08:48:54 2008
+++ SPECS/freeciv.spec	Sun Sep 14 21:20:22 2008
@@ -10,12 +10,12 @@
 Summary(pl.UTF-8):	Niekomercyjny klon CIVilization
 Summary(pt_BR.UTF-8):	Clone do jogo Civilization
 Name:		freeciv
-Version:	2.1.5
+Version:	2.1.6
 Release:	1
 License:	GPL v2+
 Group:		X11/Applications/Games/Strategy
 Source0:	http://dl.sourceforge.net/freeciv/%{name}-%{version}.tar.bz2
-# Source0-md5:	1845f51077569e4033a7125910462184
+# Source0-md5:	377a44273cdd0c2cab4e1c0a457fc7c7
 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
@@ -28,9 +28,9 @@
 BuildRequires:	autoconf >= 2.52
 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}
+%{?with_gtk:BuildRequires:	gtk+2-devel}
 BuildRequires:	libggz-devel
 BuildRequires:	pkgconfig
 BuildRequires:	readline-devel
@@ -48,8 +48,8 @@
 %description -l pl.UTF-8
 Freeciv jest to niekomercyjny (GPL) klon gry Civilization Sida Meiera.
 Jest to gra strategiczna dla systemu X Window. Można grać w nią z
-innymi osobami poprzez sieć, a także przeciwko "graczom" zarządzanym
-przez komputer.
+innymi osobami poprzez sieć, a także przeciwko "graczom"
+zarządzanym przez komputer.
 
 %description -l pt_BR.UTF-8
 O FreeCiv é uma implementação do Civilization II para o Sistema X
@@ -119,6 +119,12 @@
 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/no
 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/ggz.modules
 
+%if %{with ggz_server}
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/ggzd/{games,rooms}
+install data/civserver.dsc $RPM_BUILD_ROOT%{_sysconfdir}/ggzd/games/civserver.dsc
+install data/civserver.room $RPM_BUILD_ROOT%{_sysconfdir}/ggzd/rooms/civserver.room
+%endif
+
 %find_lang %{name}
 
 %clean
@@ -142,8 +148,8 @@
 %{_datadir}/%{name}/scenario
 %{_datadir}/%{name}/*.serv
 %{_mandir}/man6/civserver.6*
-%{_sysconfdir}/ggzd/games/civserver.dsc
-%{_sysconfdir}/ggzd/rooms/civserver.room
+%{?with_ggz_server:%{_sysconfdir}/ggzd/games/civserver.dsc}
+%{?with_ggz_server:%{_sysconfdir}/ggzd/rooms/civserver.room}
 
 %files client
 %defattr(644,root,root,755)
@@ -173,6 +179,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.118  2008/09/14 19:20:22  pawelz
+- up to 2.1.6
+- fixed install with ggz-server (it builds now)
+- adapterized
+
 Revision 1.117  2008/06/19 06:48:54  adamg
 - updated to 2.1.5
 
@@ -547,6 +558,3 @@
 Revision 1.22  1999/07/12 23:05:56  kloczek
 - added using CVS keywords in %changelog (for automating them).
 
-* Mon May 31 1999 Tomasz Kłoczko <kloczek at rudy.mif.pg.gda.pl>
-  [1.8.0-2]
-- spec writed by PLD team (based on my old spec for freeciv).
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/freeciv.spec?r1=1.117&r2=1.118&f=u



More information about the pld-cvs-commit mailing list