1 Summary: Turn-based strategy game
2 Summary(pl.UTF-8): Turowa gra strategiczna
7 Group: X11/Applications/Games/Strategy
8 Source0: http://dl.sourceforge.net/freelords/%{name}-%{version}.tar.bz2
9 # Source0-md5: e8b0047cd9410d0b33607a206e816c50
10 Source1: %{name}rc.conf
11 Patch0: %{name}-configure_in.patch
12 Patch1: %{name}-types.patch
13 Patch2: %{name}-undefined_macros.patch
14 Patch3: %{name}-desktop.patch
15 Patch4: %{name}-mkinstalldirs.patch
16 Patch5: %{name}-makefileam.patch
17 URL: http://freelords.sourceforge.net/
18 BuildRequires: SDL_image-devel >= 1.2.0
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: libsigc++12-devel >= 1.2.1
22 BuildRequires: libstdc++-devel
23 BuildRequires: libtool
24 BuildRequires: paragui-devel >= 1.1.8
25 BuildRequires: pkgconfig
26 BuildRequires: qt-devel >= 2.2.0
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 FreeLords is a turn-based strategy game. There can be various goals to
31 achieve like e.g.: destroying all enemies, gathering a specific amount
32 of money, occupying a certain city, ...
34 %description -l pl.UTF-8
35 FreeLords to turowa gra strategiczna wzorowana na klasycznej grze
36 Warlords. Cele gry mogą być różne np. zniszczenie wszystkich
37 przeciwników, zebranie określonej sumy pieniędzy, okupacja określonego
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_pixmapsdir}}
62 DESTDIR=$RPM_BUILD_ROOT
64 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/freelordsrc
65 install dat/various/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
70 rm -rf $RPM_BUILD_ROOT
72 %files -f %{name}.lang
73 %defattr(644,root,root,755)
74 %doc doc/* AUTHORS ChangeLog NEWS TODO
75 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/freelordsrc
76 %attr(755,root,root) %{_bindir}/freelords
77 %attr(755,root,root) %{_bindir}/freelords_editor
78 %attr(755,root,root) %{_bindir}/freelords_server
80 %{_desktopdir}/%{name}.desktop
81 %{_pixmapsdir}/%{name}.png