]> git.pld-linux.org Git - packages/gcivserv.git/blob - gcivserv.spec
8a83f2728159d30ed24b06e0a7a1146e551fbc5c
[packages/gcivserv.git] / gcivserv.spec
1 Summary:        Graphical front-end for FREE CIVilization clone
2 Summary(es):    GTK front-end por Clon del juego Civilization
3 Summary(pl):    Graficzny frontend dla serwera freeciv
4 Name:           gcivserv
5 Version:        0.1b
6 Release:        1
7 License:        GPL
8 Group:          X11/Applications/Games/Strategy
9 Source0:        http://www.hoeyer.de/projects/gcivserv/src/gCivServ-%{version}.tgz
10 # Source0-md5:  8118a8dfb67efff5ef0ee7592f9ae41e
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 Patch0:         %{name}-pl_lang.patch
14 Patch1:         %{name}-enviroment.patch
15 URL:            http://www.freeciv.org/
16 BuildRequires:  gettext-devel
17 BuildRequires:  gtk+-devel > 1.2.1
18 Requires:       freeciv
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 GTK front-end for server of freeciv - clone of Sid Meiers
23 Civilization.
24
25 %description -l es
26 GTK front-end por Clon del juego Civilization.
27
28 %description -l pl
29 Graficzny frontend dla serwera freeciv - klonu Civilization Sida
30 Meiersa.
31
32 %prep
33 %setup -q -n gCivServ-%{version}
34 %patch0 -p1
35 %patch1 -p1
36
37 %build
38 %configure2_13 \
39         --with-gettext
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_libdir}/X11/app-defaults \
45         $RPM_BUILD_ROOT{%{_applnkdir}/Games/Strategy,%{_pixmapsdir}}
46
47 %{__make} install DESTDIR=$RPM_BUILD_ROOT
48
49 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy
50 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
51
52 %find_lang %{name}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files -f %{name}.lang
58 %defattr(644,root,root,755)
59 %doc AUTHORS README ChangeLog NEWS
60 %attr(755,root,root) %{_bindir}/*
61 %{_applnkdir}/Games/Strategy/*
62 %{_pixmapsdir}/*
This page took 0.065013 seconds and 2 git commands to generate.