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