Group :: Games/Other
RPM: pmars
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Group: Games/Other
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: pmars
Version: 0.9.2
Release: alt2_31
Summary: Portable corewar system with ICWS'94 extensions
License: GPL-2.0-or-later
URL: http://www.koth.org/pmars/
Source0: http://downloads.sourceforge.net/corewar/%{name}-%{version}.tar.gz
# Patch to disable stripping of binary in spec file
Patch0: pmars-0.9.2-nostrip.patch
#Show compiler commands
Patch1: pmars-0.9.2-CCat.patch
Patch2: pmars-sfprintf-format.patch
BuildRequires: gcc
BuildRequires: libX11-devel
Requires: fonts-bitmap-75dpi
Source44: import.info
%description
pMARS is a Memory Array Redcode Simulator (MARS) for corewar.
* portable, run it on your Mac at home or VAX at work
* free and comes with source
* core displays for DOS, Mac and UNIX
* implements a new redcode dialect, ICWS'94, while remaining compatible
with ICWS'88
* powerful redcode extensions: multi-line EQUates, FOR/ROF text repetition
* one of the fastest simulators written in a high level language
* full-featured, programmable debugger
* runs the automated tournament "KotH" at http://www.koth.org and
http://www.ecst.csuchico.edu/~pizza/koth/ and the annual ICWS tournaments
%prep
%setup -q
%patch0 -p0 -b .nostrip
%patch1 -p0 -b .CCat
%patch2 -p0 -b .printf
# Make temporary doc dir
mkdir doc_install
cp -a doc doc_install
rm doc_install/doc/pmars.6
%build
%global build_type_safety_c 0
make -C src CFLAGS="%{optflags} -DEXT94 -DXWINGRAPHX -DPERMUTATE"
%install
install -D -p -m 755 src/pmars %{buildroot}%{_bindir}/pmars
install -D -p -m 644 doc/pmars.6 %{buildroot}%{_mandir}/man6/pmars.6
%files
%doc AUTHORS ChangeLog CONTRIB COPYING README config/ doc_install/doc/ warriors/
%{_bindir}/pmars
%{_mandir}/man6/pmars.6*
%changelog
…
Full changelog you can see here
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: pmars
Version: 0.9.2
Release: alt2_31
Summary: Portable corewar system with ICWS'94 extensions
License: GPL-2.0-or-later
URL: http://www.koth.org/pmars/
Source0: http://downloads.sourceforge.net/corewar/%{name}-%{version}.tar.gz
# Patch to disable stripping of binary in spec file
Patch0: pmars-0.9.2-nostrip.patch
#Show compiler commands
Patch1: pmars-0.9.2-CCat.patch
Patch2: pmars-sfprintf-format.patch
BuildRequires: gcc
BuildRequires: libX11-devel
Requires: fonts-bitmap-75dpi
Source44: import.info
%description
pMARS is a Memory Array Redcode Simulator (MARS) for corewar.
* portable, run it on your Mac at home or VAX at work
* free and comes with source
* core displays for DOS, Mac and UNIX
* implements a new redcode dialect, ICWS'94, while remaining compatible
with ICWS'88
* powerful redcode extensions: multi-line EQUates, FOR/ROF text repetition
* one of the fastest simulators written in a high level language
* full-featured, programmable debugger
* runs the automated tournament "KotH" at http://www.koth.org and
http://www.ecst.csuchico.edu/~pizza/koth/ and the annual ICWS tournaments
%prep
%setup -q
%patch0 -p0 -b .nostrip
%patch1 -p0 -b .CCat
%patch2 -p0 -b .printf
# Make temporary doc dir
mkdir doc_install
cp -a doc doc_install
rm doc_install/doc/pmars.6
%build
%global build_type_safety_c 0
make -C src CFLAGS="%{optflags} -DEXT94 -DXWINGRAPHX -DPERMUTATE"
%install
install -D -p -m 755 src/pmars %{buildroot}%{_bindir}/pmars
install -D -p -m 644 doc/pmars.6 %{buildroot}%{_mandir}/man6/pmars.6
%files
%doc AUTHORS ChangeLog CONTRIB COPYING README config/ doc_install/doc/ warriors/
%{_bindir}/pmars
%{_mandir}/man6/pmars.6*
%changelog
…
Full changelog you can see here