]> git.pld-linux.org Git - packages/lgeneral.git/blob - lgeneral.spec
- fix doc
[packages/lgeneral.git] / lgeneral.spec
1 Summary:        LGeneral game
2 Summary(pl):    Gra Linux General
3 Name:           lgeneral
4 Version:        1.2beta
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:  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)
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 %{__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%{_desktopdir}
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{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.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
This page took 0.067492 seconds and 4 git commands to generate.