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 Source5: ftp://ftp.freeciv.org/freeciv/contrib/sounds/sets/stdsounds.spec
21 URL: http://www.freeciv.org/
22 BuildRequires: esound-devel
23 %{!?_with_gtk2:BuildRequires: gtk+-devel > 1.2.1}
24 %{?_with_gtk2:BuildRequires: gtk+2-devel}
25 %{!?_with_gtk2:BuildRequires: imlib-devel >= 1.9.2}
26 BuildRequires: readline-devel
27 BuildRequires: zlib-devel
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 Free clone of Sid Meiers Civilization. Free Civilization clone for
33 unix and X. This is multiplayer strategic game and you can also play
34 against computer-AI players.
37 Clon del juego Civilization.
40 Freeciv jest to niekomercyjny (GPL) klon gry Civilization Sid'a
41 Meiers'a. Jest to gra strategiczna pod X Window. Mo¿esz graæ w ni± z
42 innymi osobami poprzez sieæ, a tak¿e przeciwko "graczom" zarz±dzanym
46 O FreeCiv é uma implementação do Civilization II para o Sistema X
54 %{!?_with_gtk2: --enable-client=gtk} \
55 %{?_with_gtk2: --enable-client=gtk2}
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{_libdir}/X11/app-defaults \
61 $RPM_BUILD_ROOT{%{_applnkdir}/Games/Strategy,%{_pixmapsdir}}
63 %{__make} install DESTDIR=$RPM_BUILD_ROOT
65 rm $RPM_BUILD_ROOT%{_datadir}/freeciv/Freeciv
67 install %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy
68 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
69 install %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/freeciv
70 cp -ar stdsounds $RPM_BUILD_ROOT%{_datadir}/freeciv
75 rm -rf $RPM_BUILD_ROOT
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 %doc AUTHORS README ChangeLog NEWS
80 %attr(755,root,root) %{_bindir}/*
82 %{_applnkdir}/Games/Strategy/*