]> git.pld-linux.org Git - packages/freeciv.git/blob - freeciv.spec
- updatd to stable 1.13.0,
[packages/freeciv.git] / freeciv.spec
1 Summary:        FREE CIVilization clone
2 Summary(es):    Clon del juego Civilization
3 Summary(pl):    Niekomercyjny klon CIVilization
4 Summary(pt_BR): Clone do jogo Civilization
5 Name:           freeciv
6 Version:        1.13.0
7 Release:        1
8 License:        GPL
9 Group:          X11/Applications/Games/Strategy
10 Source0:        ftp://ftp.freeciv.org/freeciv/stable/%{name}-%{version}.tar.bz2
11 Source1:        %{name}-client.desktop
12 Source2:        %{name}-server.desktop
13 Source3:        %{name}.png
14 Source4:        ftp://ftp.freeciv.org/freeciv/contrib/sounds/sets/stdsounds1.tar.gz
15 Source5:        ftp://ftp.freeciv.org/freeciv/contrib/sounds/sets/stdsounds.spec
16 URL:            http://www.freeciv.org/
17 BuildRequires:  gtk+-devel > 1.2.1
18 BuildRequires:  imlib-devel >= 1.9.2
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _prefix         /usr/X11R6
22
23 %description
24 Free clone of Sid Meiers Civilization. Free Civilization clone for
25 unix and X. This is multiplayer strategic game and you can also play
26 against computer-AI players.
27
28 %description -l es
29 Clon del juego Civilization.
30
31 %description -l pl
32 Freeciv jest to niekomercyjny (GPL) klon gry Civilization Sid'a
33 Meiers'a. Jest to gra strategiczna pod X Window. Mo¿esz graæ w ni± z
34 innymi osobami poprzez sieæ, a tak¿e przeciwko "graczom" zarz±dzanym
35 przez komputer.
36
37 %description -l pt_BR
38 O FreeCiv é uma implementação do Civilization II para o Sistema X
39 Window.
40
41 %prep
42 %setup -q -a 4
43
44 %build
45 %configure2_13 \
46         --with-gtk
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT%{_libdir}/X11/app-defaults \
52         $RPM_BUILD_ROOT{%{_applnkdir}/Games/Strategy,%{_pixmapsdir}}
53
54 %{__make} install DESTDIR=$RPM_BUILD_ROOT
55
56 rm $RPM_BUILD_ROOT%{_datadir}/freeciv/Freeciv
57
58 install %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy
59 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
60 install %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/freeciv
61 cp -ar stdsounds $RPM_BUILD_ROOT%{_datadir}/freeciv
62
63 %find_lang %{name}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files -f %{name}.lang
69 %defattr(644,root,root,755)
70 %doc AUTHORS README ChangeLog NEWS
71 %attr(755,root,root) %{_bindir}/*
72 %{_datadir}/freeciv
73 %{_applnkdir}/Games/Strategy/*
74 %{_pixmapsdir}/*
This page took 0.062739 seconds and 4 git commands to generate.