3 %bcond_without gtk2 # build gtk1 client, not gtk2
5 Summary: FREE CIVilization clone
6 Summary(es): Clon del juego Civilization
7 Summary(pl): Niekomercyjny klon CIVilization
8 Summary(pt_BR): Clone do jogo Civilization
13 Group: X11/Applications/Games/Strategy
14 Source0: ftp://ftp.freeciv.org/freeciv/stable/%{name}-%{version}.tar.bz2
15 # Source0-md5: b1a2d0b493af74f40179ef78ed2b6070
16 Source1: ftp://ftp.freeciv.org/freeciv/contrib/sounds/sets/stdsounds3.tar.gz
17 # Source1-md5: 77215914712f2f351092918f5e41e39e
18 Source2: %{name}-client.desktop
19 Source3: %{name}-server.desktop
21 URL: http://www.freeciv.org/
22 BuildRequires: SDL_mixer-devel
23 BuildRequires: automake
24 BuildRequires: esound-devel
25 %{!?with_gtk2:BuildRequires: gtk+-devel > 1.2.1}
26 %{?with_gtk2:BuildRequires: gtk+2-devel}
27 %{!?with_gtk2:BuildRequires: imlib-devel >= 1.9.2}
28 BuildRequires: pkgconfig
29 BuildRequires: readline-devel
30 BuildRequires: zlib-devel
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Free clone of Sid Meier's Civilization. Free Civilization clone for
35 unix and X. This is multiplayer strategic game and you can also play
36 against computer-AI players.
39 Clon del juego Civilization.
42 Freeciv jest to niekomercyjny (GPL) klon gry Civilization Sida Meiera.
43 Jest to gra strategiczna dla systemu X Window. Mo¿na graæ w ni± z
44 innymi osobami poprzez sieæ, a tak¿e przeciwko "graczom" zarz±dzanym
48 O FreeCiv é uma implementação do Civilization II para o Sistema X
52 Summary: Freeciv game client
53 Summary(pl): Klient gry Freeciv
54 Group: X11/Applications/Games/Strategy
55 Requires: %{name} = %{version}-%{release}
58 %{!?with_gtk2:Requires: gtk+ > 1.2.1}
59 %{!?with_gtk2:Requires: imlib >= 1.9.2}
62 This package contains Freeciv game client.
64 %description client -l pl
65 Ten pakiet zawiera klienta gry Freeciv.
68 Summary: Freeciv game server
69 Summary(pl): Serwer gry Freeciv
70 Group: X11/Applications/Games/Strategy
71 Requires: %{name} = %{version}-%{release}
74 This package contans Freeciv game server.
76 %description server -l pl
77 Ten pakiet zawiera server gry Freeciv.
83 cp -f /usr/share/automake/config.sub bootstrap
85 %{!?with_gtk2: --enable-client=gtk} \
86 %{?with_gtk2: --enable-client=gtk2}
91 rm -rf $RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
95 DESTDIR=$RPM_BUILD_ROOT
97 install %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT%{_desktopdir}
98 install %{SOURCE4} $RPM_BUILD_ROOT%{_pixmapsdir}
100 cp -rf data/stdsounds{,.soundspec} $RPM_BUILD_ROOT%{_datadir}/%{name}
105 rm -rf $RPM_BUILD_ROOT
107 %files -f %{name}.lang
108 %defattr(644,root,root,755)
109 %doc AUTHORS README ChangeLog NEWS
111 %dir %{_datadir}/%{name}
112 %{_datadir}/%{name}/helpdata.txt
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_bindir}/civserver
117 %{_desktopdir}/%{name}-server.desktop
118 %{_datadir}/%{name}/civ1
119 %{_datadir}/%{name}/civ2
120 %{_datadir}/%{name}/default
121 %{_datadir}/%{name}/history
122 %{_datadir}/%{name}/nation
123 %{_datadir}/%{name}/scenario
124 %{_datadir}/%{name}/*.serv
125 %{_mandir}/man6/civserver.6*
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{_bindir}/civclient
130 %attr(755,root,root) %{_bindir}/civmanual
131 %{_desktopdir}/%{name}-client.desktop
132 %{_datadir}/%{name}/freeciv.rc*
133 %{_datadir}/%{name}/isotrident
134 %{_datadir}/%{name}/misc
135 %{_datadir}/%{name}/trident
136 %{_datadir}/%{name}/isophex
137 %{_datadir}/%{name}/flags
138 %{_datadir}/%{name}/*.*spec
139 %{_datadir}/%{name}/stdsounds
140 %{_mandir}/man6/civclient.6*