3 # _with_gtk2 build gtk2 client, not gtk
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: c506ec29b94ea516aaa02a107129cf10
16 Source1: %{name}-client.desktop
17 Source2: %{name}-server.desktop
19 Source4: ftp://ftp.freeciv.org/freeciv/contrib/sounds/sets/stdsounds1.tar.gz
20 # Source4-md5: 28a54fbe3ddb67a9b8fe85b8332415e1
21 Source5: ftp://ftp.freeciv.org/freeciv/contrib/sounds/sets/stdsounds.spec
22 # Source5-md5: 6e3e2bc551eb49ca87c4f0085991db15
23 URL: http://www.freeciv.org/
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: readline-devel
29 BuildRequires: zlib-devel
30 BuildRequires: SDL_mixer-devel
33 %{!?_with_gtk2:Requires: gtk+ > 1.2.1}
34 %{?_with_gtk2:Requires: gtk+2}
35 %{!?_with_gtk2:Requires: imlib >= 1.9.2}
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 Free clone of Sid Meiers Civilization. Free Civilization clone for
40 unix and X. This is multiplayer strategic game and you can also play
41 against computer-AI players.
44 Clon del juego Civilization.
47 Freeciv jest to niekomercyjny (GPL) klon gry Civilization Sid'a
48 Meiers'a. Jest to gra strategiczna pod X Window. Mo¿esz graæ w ni± z
49 innymi osobami poprzez sieæ, a tak¿e przeciwko "graczom" zarz±dzanym
53 O FreeCiv é uma implementação do Civilization II para o Sistema X
61 %{!?_with_gtk2: --enable-client=gtk} \
62 %{?_with_gtk2: --enable-client=gtk2}
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT%{_libdir}/X11/app-defaults \
68 $RPM_BUILD_ROOT{%{_applnkdir}/Games/Strategy,%{_pixmapsdir}}
71 DESTDIR=$RPM_BUILD_ROOT
73 rm $RPM_BUILD_ROOT%{_datadir}/freeciv/Freeciv
75 install %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy
76 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
77 install %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/freeciv/stdsounds.soundspec
78 cp -ar stdsounds $RPM_BUILD_ROOT%{_datadir}/freeciv
83 rm -rf $RPM_BUILD_ROOT
85 %files -f %{name}.lang
86 %defattr(644,root,root,755)
87 %doc AUTHORS README ChangeLog NEWS
88 %attr(755,root,root) %{_bindir}/*
90 %{_applnkdir}/Games/Strategy/*