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