]> git.pld-linux.org Git - packages/lgeneral.git/blob - lgeneral.spec
- massive attack: source-md5
[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 # Source0-md5:  ba7fc938425a1832c2751e8ea4ed6cf7
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:       %{name}-data >= 1.1
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
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.
27
28 %description -l pl
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
32 warunki walki.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37 %patch1 -p1
38
39 %build
40 rm -f missing
41 %{__aclocal}
42 %{__automake}
43 %{__autoconf}
44 %configure
45
46 %{__make}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy
51
52 %{__make} DESTDIR=$RPM_BUILD_ROOT install
53
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy/%{name}.desktop
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc AUTHORS ChangeLog README TODO
62 %attr(755,root,root) %{_bindir}/*
63 %dir %{_datadir}/%{name}/ai_modules
64 %dir %{_datadir}/%{name}/campaigns
65 %dir %{_datadir}/%{name}/gfx
66 %dir %{_datadir}/%{name}/gfx/flags
67 %dir %{_datadir}/%{name}/gfx/terrain
68 %dir %{_datadir}/%{name}/gfx/units
69 %{_datadir}/%{name}/gfx/*.bmp
70 %dir %{_datadir}/%{name}/maps
71 %dir %{_datadir}/%{name}/music
72 %dir %{_datadir}/%{name}/nations
73 %dir %{_datadir}/%{name}/scenarios
74 %dir %{_datadir}/%{name}/sounds
75 %dir %{_datadir}/%{name}/themes
76 %{_datadir}/%{name}/themes/*
77 %dir %{_datadir}/%{name}/units
78 %{_applnkdir}/Games/Strategy/%{name}.desktop
This page took 0.123198 seconds and 4 git commands to generate.