2 Summary(pl): Gra Linux General
7 Group: X11/Applications/Games
8 Source0: http://dl.sourceforge.net/lgeneral/%{name}-%{version}.tar.gz
9 # Source0-md5: d89f6b574e0f182f04cd9b069225fc30
10 Source1: %{name}.desktop
11 Patch0: %{name}-inst_dir.patch
12 Patch1: %{name}-configure_fix.patch
13 URL: http://lgames.sourceforge.net/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: SDL_mixer-devel >= 1.1.4
17 Requires: lgeneral-data >= 1.1
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 LGeneral is a turn-based strategy engine heavily inspired by Panzer
22 General. You play single scenarios or whole campaigns turn by turn
23 against a human player or the AI. Entrenchment, rugged defense,
24 defensive fire, surprise contacts, surrender, unit supply, weather
25 influence, reinforcements and other implementations contribute to the
26 tactical and strategic depth of the game.
29 LGeneral jest turow± gr± strategiczn± zainspirowan± o Panzer General.
30 Mo¿na graæ scenariusze albo kampanie, przeciwko drugiemu graczowi albo
31 komputerowi. Gra posiada du¿o zaawansowanych opcji tj. wp³yw pogody na
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_desktopdir}
52 DESTDIR=$RPM_BUILD_ROOT
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog README.lgeneral TODO
62 %attr(755,root,root) %{_bindir}/*
63 %dir %{_datadir}/%{name}
64 %dir %{_datadir}/%{name}/ai_modules
65 %dir %{_datadir}/%{name}/campaigns
66 %dir %{_datadir}/%{name}/gfx
67 %dir %{_datadir}/%{name}/gfx/flags
68 %dir %{_datadir}/%{name}/gfx/terrain
69 %dir %{_datadir}/%{name}/gfx/units
70 %{_datadir}/%{name}/gfx/*.bmp
71 %dir %{_datadir}/%{name}/maps
72 %dir %{_datadir}/%{name}/music
73 %dir %{_datadir}/%{name}/nations
74 %dir %{_datadir}/%{name}/scenarios
75 %dir %{_datadir}/%{name}/sounds
76 %dir %{_datadir}/%{name}/themes
77 %{_datadir}/%{name}/themes/*
78 %dir %{_datadir}/%{name}/units
79 %{_desktopdir}/%{name}.desktop