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