]> git.pld-linux.org Git - packages/lgeneral.git/blob - lgeneral.spec
43172e33fc4f1636635307f6849e08e9ae94fdf7
[packages/lgeneral.git] / lgeneral.spec
1 Summary:        LGeneral game
2 Summary(pl):    Gra Linux General
3 Name:           lgeneral
4 Version:        1.1
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games
8 Source0:        http://dl.sourceforge.net/lgeneral/%{name}-%{version}.tar.gz
9 Source1:        %{name}.desktop
10 Patch0:         %{name}-inst_dir.patch
11 Patch1:         %{name}-configure_fix.patch
12 URL:            http://lgames.sourceforge.net/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  SDL_mixer-devel >= 1.1.4
16 Requires:       %{name}-data >= 1.1
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 LGeneral is a turn-based strategy engine heavily inspired by Panzer
21 General. You play single scenarios or whole campaigns turn by turn
22 against a human player or the AI. Entrenchment, rugged defense,
23 defensive fire, surprise contacts, surrender, unit supply, weather
24 influence, reinforcements and other implementations contribute to the
25 tactical and strategic depth of the game.
26
27 %description -l pl
28 LGeneral jest turow± gr± strategiczn± zainspirowan± o Panzer General.
29 Mo¿na graæ scenariusze albo kampanie, przeciwko drugiemu graczowi albo
30 komputerowi. Gra posiada du¿o zaawansowanych opcji tj. wp³yw pogody na
31 warunki walki.
32
33 %prep
34 %setup -q
35 %patch0 -p1
36 %patch1 -p1
37
38 %build
39 rm -f missing
40 %{__aclocal}
41 %{__automake}
42 %{__autoconf}
43 %configure
44
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy
50
51 %{__make} DESTDIR=$RPM_BUILD_ROOT install
52
53 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy/%{name}.desktop
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc AUTHORS ChangeLog README TODO
61 %attr(755,root,root) %{_bindir}/*
62 %dir %{_datadir}/%{name}/ai_modules
63 %dir %{_datadir}/%{name}/campaigns
64 %dir %{_datadir}/%{name}/gfx
65 %dir %{_datadir}/%{name}/gfx/flags
66 %dir %{_datadir}/%{name}/gfx/terrain
67 %dir %{_datadir}/%{name}/gfx/units
68 %{_datadir}/%{name}/gfx/*.bmp
69 %dir %{_datadir}/%{name}/maps
70 %dir %{_datadir}/%{name}/music
71 %dir %{_datadir}/%{name}/nations
72 %dir %{_datadir}/%{name}/scenarios
73 %dir %{_datadir}/%{name}/sounds
74 %dir %{_datadir}/%{name}/themes
75 %{_datadir}/%{name}/themes/*
76 %dir %{_datadir}/%{name}/units
77 %{_applnkdir}/Games/Strategy/%{name}.desktop
This page took 0.054247 seconds and 3 git commands to generate.