]>
Commit | Line | Data |
---|---|---|
9c54cf8d JR |
1 | Summary: Graphical front-end for FREE CIVilization clone |
2 | Summary(es): GTK front-end por Clon del juego Civilization | |
3 | Summary(pl): Graficzny front-end 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 | URL: http://www.freeciv.org/ | |
14 | BuildRequires: gtk+-devel > 1.2.1 | |
15 | BuildRequires: gettext | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | Requires: freeciv | |
18 | ||
19 | %define _prefix /usr/X11R6 | |
20 | ||
21 | ||
22 | %description | |
23 | GTK front-end for server of freeciv - clone of Sid Meiers Civilization. | |
24 | ||
25 | %description -l es | |
26 | GTK front-end por Clon del juego Civilization. | |
27 | ||
28 | %description -l pl | |
29 | Graficzny front-end dla serwera freeciv. | |
30 | ||
31 | %prep | |
32 | %setup -q -n gCivServ-%{version} | |
33 | %patch0 -p1 | |
34 | ||
35 | %build | |
36 | %configure2_13 \ | |
37 | --with-gettext | |
38 | %{__make} | |
39 | ||
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | install -d $RPM_BUILD_ROOT%{_libdir}/X11/app-defaults \ | |
43 | $RPM_BUILD_ROOT{%{_applnkdir}/Games/Strategy,%{_pixmapsdir}} | |
44 | ||
45 | %{__make} install DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
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}/* |