/[packages]/cauldron/lgeneral/current/SPECS/lgeneral.spec
ViewVC logotype

Contents of /cauldron/lgeneral/current/SPECS/lgeneral.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1244354 - (show annotations) (download)
Thu Jul 19 17:04:18 2018 UTC (5 years, 9 months ago) by wally
File size: 1339 byte(s)
- fix build on aarch64
  - run autoreconf (SILENT)
1 Name: lgeneral
2 Version: 1.4.3
3 Release: %mkrel 3
4 Summary: A Panzer General clone
5 URL: http://lgames.sourceforge.net/LGeneral/
6 Source0: http://prdownloads.sourceforge.net/lgeneral/%{name}-%{version}.tar.gz
7 License: GPLv2+
8 Group: Games/Strategy
9 BuildRequires: SDL_mixer-devel
10 BuildRequires: SDL-devel
11 BuildRequires: gettext-devel
12 BuildRequires: desktop-file-utils
13 Recommends: kukgen-data
14
15 %description
16 LGeneral is a turn-based strategy engine heavily inspired by Panzer General.
17 You play single scenarios or whole campaigns turn by turn against a human
18 player or the AI. Entrenchment, rugged defense, defensive fire, surprise
19 contacts, surrender, unit supply, weather influence, reinforcements and other
20 implementations contribute to the tactical and strategic depth of the game.
21
22 %prep
23 %setup -q
24
25 #Desktop file is not valid UTF-8
26 iconv lgeneral.desktop -f ISO-8859-15 -t UTF-8 > lgeneral-utf8.desktop
27 mv lgeneral-utf8.desktop lgeneral.desktop
28
29
30 %build
31 # fix build on aarch64
32 autoreconf -vfi
33
34 %configure2_5x --bindir=%{_gamesbindir} --datadir=%{_datadir}
35 %make_build
36
37 %install
38 %make_install
39
40 %find_lang lgeneral pg %{name}.lang
41
42
43 %files -f %{name}.lang
44 %doc AUTHORS ChangeLog NEWS README* TODO
45 %{_datadir}/%{name}
46 %{_iconsdir}/hicolor/48x48/apps/%{name}.png
47 %{_datadir}/applications/%{name}.desktop
48 %{_mandir}/man[16]/*
49 %{_gamesbindir}/*
50

  ViewVC Help
Powered by ViewVC 1.1.30