]> git.pld-linux.org Git - packages/freeciv.git/blob - freeciv.spec
- updated to 1.11.8.
[packages/freeciv.git] / freeciv.spec
1 Summary:        FREE CIVilization clone
2 Summary(pl):    Niekomercyjny klon CIVilization
3 Name:           freeciv
4 Version:        1.11.8
5 Release:        1
6 License:        GPL
7 Group:          X11/Games/Strategy
8 Group(pl):      X11/Gry/Strategiczne
9 Source0:        ftp://ftp.freeciv.org/freeciv/beta/%{name}-%{version}.tar.bz2
10 Source1:        freeciv-client.desktop
11 Source2:        freeciv-server.desktop
12 Patch0:         freeciv-gettext.patch
13 URL:            http://www.freeciv.org/
14 Icon:           freeciv.gif
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gtk+-devel > 1.2.1
18 BuildRequires:  imlib-devel >= 1.9.2
19 BuildRequires:  gettext-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _prefix         /usr/X11R6
23
24 %description
25 Free clone of Sid Meiers Civilization. Free Civilization clone for
26 unix and X. This is multiplayer strategic game and you can also play
27 against computer-AI players.
28
29 %description -l pl
30 Freeciv jest to niekomercyjny (GPL) klon gry Civilization Sid'a
31 Meiers'a. Jest to gra strategiczna pod X Window. Mo¿esz graæ w ni± z
32 innymi osobami poprzez sieæ, a tak¿e przeciwko "graczom" zarz±dzanym
33 przez komputer.
34
35 %prep
36 %setup  -q
37 %patch0 -p1
38
39 %build
40 gettextize --copy --force
41 aclocal
42 autoconf
43 automake -a -c
44 %configure \
45         --with-gtk
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_libdir}/X11/app-defaults \
51         $RPM_BUILD_ROOT{%{_applnkdir}/Games/Strategy,%{_datadir}/pixmaps}
52
53 %{__make} install DESTDIR=$RPM_BUILD_ROOT
54
55 rm $RPM_BUILD_ROOT%{_datadir}/freeciv/Freeciv
56
57 install %{SOURCE1} %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy
58 install $RPM_SOURCE_DIR/%{icon} $RPM_BUILD_ROOT%{_datadir}/pixmaps
59
60 gzip -9nf AUTHORS README freeciv_hackers_guide.txt HOWTOPLAY NEWS
61
62 %find_lang %{name}
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files -f %{name}.lang
68 %defattr(644,root,root,755)
69 %doc *.gz
70 %attr(755,root,root) %{_bindir}/*
71 %{_datadir}/freeciv
72 %{_applnkdir}/Games/Strategy/*
73 %{_pixmapsdir}/*
This page took 0.048827 seconds and 4 git commands to generate.