From 7189f937fceb422d1eab83f249f04cd689fd064e Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 03:36:26 +0100 Subject: [PATCH] update to 1.2beta.14 [release 1.2beta.14-1mamba;Sun May 30 2010] --- README.md | 3 ++ lgeneral.png | Bin 0 -> 585 bytes lgeneral.spec | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 100 insertions(+) create mode 100644 lgeneral.png create mode 100644 lgeneral.spec diff --git a/README.md b/README.md index 8920e11..0b8201a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # lgeneral +LGeneral is a turn-based strategy engine heavily inspired by Panzer General. You play single scenarios or whole campaigns turn by turn against a human player or the AI. Entrenchment, rugged defense, defensive fire, surprise contacts, surrender, unit supply, weather influence, reinforcements and other implementations contribute to the tactical and strategic depth of the game. +The engine itself has no playable data but there is a converter for Panzer General (DOS version). If you do not own this game, download the package pg-data.tar.gz, which I provide in the sense of abandon ware. + diff --git a/lgeneral.png b/lgeneral.png new file mode 100644 index 0000000000000000000000000000000000000000..17a23b2e8dfa2ef8ef37b2d5021d3f139469c316 GIT binary patch literal 585 zcmV-P0=E5$P)jO=}ZT6g~I7`A8b3 zle%y;h)p4>A+DN0T4@66UWKCFtAD_a{w8rDS!Z8xS3gRqAQ4ieSTji`nKU0W?_C$E zwl#>J#pT|^x%V#4AzTIlbYWzGFAL=2!v8`D0f30+b>1xEj3pu=gb;$6Nsv;CNH8-I zRIDy87{AXOhEXn;@7}*hM2$vce}A7fGcSA~As;+?c-8ZEo;-FOryB&FZr63)IF9S} zdf4wHQnqQ%W-}|5Y#+6a(q`qwtC!a^nWxX6RcqCQ=Aqx|ET_|7TdlO~ZdNM2&X2dR z-^9~MgM}oSUC)J+@%w|1g<{c4Bqq}-3E?=7=XupyO$)k_z4@(uw&z{5EjtXuwY4?h_w$8Yv5vkRG!H*~A_f7JSzR@3YZ^tT;m}Sk%_7A_ z#7shHt(~-+G!2eatN9ts0Ax0oTS}!S +URL: http://lgames.sourceforge.net/index.php?project=LGeneral +Source0: http://kent.dl.sourceforge.net/sourceforge/lgeneral/lgeneral-%{majver}-%{minver}.tar.gz +Source1: lgeneral.png +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root +Requires: lgeneral-data +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: lgeneral-data +BuildRequires: libSDL-devel +BuildRequires: libSDL_mixer-devel +## AUTOBUILDREQ-END + +%description +LGeneral is a turn-based strategy engine heavily inspired by Panzer General. You play single scenarios or whole campaigns turn by turn against a human player or the AI. Entrenchment, rugged defense, defensive fire, surprise contacts, surrender, unit supply, weather influence, reinforcements and other implementations contribute to the tactical and strategic depth of the game. +The engine itself has no playable data but there is a converter for Panzer General (DOS version). If you do not own this game, download the package pg-data.tar.gz, which I provide in the sense of abandon ware. + +%prep +%setup -q -n %{name}-%{majver}-%{minver} + +%build +%configure ./lgeneral-redit/configure \ + --prefix=%{_prefix} \ + --mandir=%{_mandir} + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%makeinstall + +mkdir -p %{buildroot}%{_datadir}/pixmaps +install -D -m644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/%{name}.png + +# Create the system menu entry +mkdir -p %{buildroot}%{_datadir}/applications +cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF +[Desktop Entry] +Encoding=UTF-8 +Name=%{name} +GenericName=turn-based strategy engine +GenericName[it]=simulatore di battaglie +Comment=LGeneral is a turn-based strategy engine +Comment[it]=LGeneral รจ un gioco di simulazione di battaglie e campagne militari della Seconda Guerra Mondiale +Exec=lgeneral +Icon=lgeneral.png +Terminal=false +Type=Application +Categories=Game;StrategyGame; +X-KDE-StartupNotify=false +EOF + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc AUTHORS COPYING ChangeLog README.lgc-pg README.lgeneral README.redit TODO +%{_bindir}/* +%dir %{_datadir}/games/lgeneral +%{_datadir}/games/lgeneral/* +%{_datadir}/applications/lgeneral.desktop +%{_datadir}/icons/lgeneral48.png +%{_datadir}/pixmaps/lgeneral.png +%{_mandir}/man1/lgc-pg.1.gz +%{_mandir}/man6/lgeneral.6.gz +%{_datadir}/locale/*/LC_MESSAGES/lgeneral.mo +%{_datadir}/locale/*/LC_MESSAGES/pg.mo + +%changelog +* Sun May 30 2010 Automatic Build System 1.2beta.14-1mamba +- update to 1.2beta.14 + +* Fri Dec 12 2008 Silvan Calarco 1.2beta.13-1mamba +- update to 1.2beta.13 + +* Tue Jun 24 2008 Tiziana Ferro 1.2-3mamba +- update to beta13 +- update system menu entry +- update Vendor, Distribution, mantainer + +* Mon Aug 29 2005 Massimo Pintore 1.2-2qilnx +- Added lgeneral-data as requirement + +* Wed Jul 13 2005 Alessandro Ramazzina 1.2-1qilnx +- package created by autospec