]> git.pld-linux.org Git - packages/gcivserv.git/blame - gcivserv.spec
Added environment patch from Wieslaw Kierbedz
[packages/gcivserv.git] / gcivserv.spec
CommitLineData
9c54cf8d
JR
1Summary: Graphical front-end for FREE CIVilization clone
2Summary(es): GTK front-end por Clon del juego Civilization
3bf62b20 3Summary(pl): Graficzny frontend dla serwera freeciv
9c54cf8d
JR
4Name: gcivserv
5Version: 0.1b
6Release: 1
7License: GPL
8Group: X11/Applications/Games/Strategy
9Source0: http://www.hoeyer.de/projects/gcivserv/src/gCivServ-%{version}.tgz
10Source1: %{name}.desktop
11Source2: %{name}.png
12Patch0: %{name}-pl_lang.patch
f63f30de 13Patch1: %{name}-enviroment.patch
9c54cf8d 14URL: http://www.freeciv.org/
3bf62b20 15BuildRequires: gettext-devel
9c54cf8d 16BuildRequires: gtk+-devel > 1.2.1
9c54cf8d 17Requires: freeciv
3bf62b20 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
9c54cf8d
JR
19
20%description
3bf62b20
JB
21GTK front-end for server of freeciv - clone of Sid Meiers
22Civilization.
9c54cf8d
JR
23
24%description -l es
25GTK front-end por Clon del juego Civilization.
26
27%description -l pl
3bf62b20
JB
28Graficzny frontend dla serwera freeciv - klonu Civilization Sida
29Meiersa.
9c54cf8d
JR
30
31%prep
32%setup -q -n gCivServ-%{version}
33%patch0 -p1
f63f30de 34%patch1 -p1
9c54cf8d
JR
35
36%build
37%configure2_13 \
38 --with-gettext
39%{__make}
40
41%install
42rm -rf $RPM_BUILD_ROOT
43install -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
9c54cf8d
JR
48install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy
49install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
50
51%find_lang %{name}
52
53%clean
54rm -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.079419 seconds and 4 git commands to generate.