bump epoch [release 1.2.4-2mamba;Fri Jan 02 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 03:36:26 +01:00
parent 7189f937fc
commit 6b0061f570

View File

@ -1,35 +1,36 @@
%define majver %(echo %version | cut -d. -f 1-2) %define majver %(echo %version | cut -d. -f 1-2)
%define minver %(echo %version | cut -d. -f 3) %define minver %(echo %version | cut -d. -f 3)
Name: lgeneral Name: lgeneral
Version: 1.2beta.14 Epoch: 1
Release: 1mamba Version: 1.2.4
Summary: LGeneral is a turn-based strategy engine Release: 2mamba
Summary: A turn-based strategy engine
Group: Graphical Desktop/Applications/Educational Group: Graphical Desktop/Applications/Educational
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Tiziana Ferro <tiziana.ferro@email.it> Packager: Tiziana Ferro <tiziana.ferro@email.it>
URL: http://lgames.sourceforge.net/index.php?project=LGeneral URL: http://lgames.sourceforge.net/index.php?project=LGeneral
Source0: http://kent.dl.sourceforge.net/sourceforge/lgeneral/lgeneral-%{majver}-%{minver}.tar.gz Source0: http://downloads.sourceforge.net/sourceforge/lgeneral/lgeneral-%{version}.tar.gz
Source1: lgeneral.png Source1: lgeneral.png
License: GPL License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires: lgeneral-data Requires: lgeneral-data
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: lgeneral-data
BuildRequires: libSDL-devel BuildRequires: libSDL-devel
BuildRequires: libSDL_mixer-devel BuildRequires: libSDL_mixer-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: lgeneral-data
%description %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. 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. 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 %prep
%setup -q -n %{name}-%{majver}-%{minver} %setup -q
%build %build
%configure ./lgeneral-redit/configure \ %configure \
--prefix=%{_prefix} \ --prefix=%{_prefix} \
--mandir=%{_mandir} --mandir=%{_mandir}
@ -61,24 +62,45 @@ Categories=Game;StrategyGame;
X-KDE-StartupNotify=false X-KDE-StartupNotify=false
EOF EOF
%find_lang %{name}
%find_lang pg
cat pg.lang >> %{name}.lang
%clean %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README.lgc-pg README.lgeneral README.redit TODO %{_bindir}/lgc-pg
%{_bindir}/* %{_bindir}/lged
%dir %{_datadir}/games/lgeneral %{_bindir}/lgeneral
%{_datadir}/games/lgeneral/* %{_bindir}/ltrextract
%{_bindir}/shptool
%dir %{_datadir}/lgeneral
%dir %{_datadir}/lgeneral/campaigns
%{_datadir}/lgeneral/campaigns/PG
%dir %{_datadir}/lgeneral/convdata
%{_datadir}/lgeneral/convdata/*
%dir %{_datadir}/lgeneral/gfx
%{_datadir}/lgeneral/gfx/*
%dir %{_datadir}/lgeneral/themes
%dir %{_datadir}/lgeneral/themes/default
%{_datadir}/lgeneral/themes/default/*
%{_datadir}/applications/lgeneral.desktop %{_datadir}/applications/lgeneral.desktop
%{_datadir}/icons/lgeneral48.png %{_datadir}/icons/lgeneral48.png
%{_datadir}/pixmaps/lgeneral.png %{_datadir}/pixmaps/lgeneral.png
%{_mandir}/man1/lgc-pg.1.gz %{_mandir}/man1/lgc-pg.1*
%{_mandir}/man6/lgeneral.6.gz %{_mandir}/man6/lgeneral.6*
%{_datadir}/locale/*/LC_MESSAGES/lgeneral.mo %doc AUTHORS COPYING
%{_datadir}/locale/*/LC_MESSAGES/pg.mo #ChangeLog README.lgc-pg README.lgeneral README.redit TODO
%changelog %changelog
* Fri Jan 02 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.4-2mamba
- bump epoch
* Thu Nov 06 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.4-1mamba
- update to 1.2.4
* Sun May 30 2010 Automatic Build System <autodist@mambasoft.it> 1.2beta.14-1mamba * Sun May 30 2010 Automatic Build System <autodist@mambasoft.it> 1.2beta.14-1mamba
- update to 1.2beta.14 - update to 1.2beta.14