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