rpms/pmars/F-12 pmars-0.9.2-CCat.patch, NONE, 1.1 pmars-0.9.2-nostrip.patch, NONE, 1.1 pmars.spec, NONE, 1.1 sources, 1.1, 1.2
Jon Ciesla
limb at fedoraproject.org
Mon May 10 14:02:56 UTC 2010
- Previous message: rpms/pmars/devel import.log, NONE, 1.1 pmars-0.9.2-CCat.patch, NONE, 1.1 pmars-0.9.2-nostrip.patch, NONE, 1.1 pmars.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/pmars/F-13 pmars-0.9.2-CCat.patch, NONE, 1.1 pmars-0.9.2-nostrip.patch, NONE, 1.1 pmars.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: limb
Update of /cvs/pkgs/rpms/pmars/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv4572/F-12
Modified Files:
sources
Added Files:
pmars-0.9.2-CCat.patch pmars-0.9.2-nostrip.patch pmars.spec
Log Message:
Initial import.
pmars-0.9.2-CCat.patch:
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE pmars-0.9.2-CCat.patch ---
--- src/Makefile~ 2010-05-06 09:27:32.000000000 -0500
+++ src/Makefile 2010-05-06 09:28:47.867409952 -0500
@@ -37,7 +37,7 @@
$(MAINFILE): $(OBJ1) $(OBJ2) $(OBJ3)
@echo Linking $(MAINFILE)
- @$(CC) -o $(MAINFILE) $(OBJ1) $(OBJ2) $(OBJ3) $(LIB)
+ $(CC) -o $(MAINFILE) $(OBJ1) $(OBJ2) $(OBJ3) $(LIB)
# @strip $(MAINFILE)
@echo done
@@ -55,7 +55,7 @@
.c.o:
@echo Compiling $*.o
- @$(CC) $(CFLAGS) -c $*.c
+ $(CC) $(CFLAGS) -c $*.c
clean:
pmars-0.9.2-nostrip.patch:
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE pmars-0.9.2-nostrip.patch ---
--- src/Makefile~ 2000-12-24 06:53:39.000000000 -0600
+++ src/Makefile 2010-04-29 06:59:58.366502382 -0500
@@ -16,7 +16,7 @@
# (6) -DXWINGRAPHX 1 X-Windows graphics (UNIX)
# (7) -DPERMUTATE enables -P switch
-CFLAGS = -O -DEXT94 -DXWINGRAPHX -DPERMUTATE
+#CFLAGS = -O -DEXT94 -DXWINGRAPHX -DPERMUTATE
LFLAGS = -x
# LIB = -lcurses -ltermlib # enable this one for curses display
# LIB = -lvgagl -lvga # enable this one for Linux/SVGA
@@ -38,7 +38,7 @@
$(MAINFILE): $(OBJ1) $(OBJ2) $(OBJ3)
@echo Linking $(MAINFILE)
@$(CC) -o $(MAINFILE) $(OBJ1) $(OBJ2) $(OBJ3) $(LIB)
- @strip $(MAINFILE)
+# @strip $(MAINFILE)
@echo done
token.o asm.o disasm.o: asm.h
--- NEW FILE pmars.spec ---
Name: pmars
Version: 0.9.2
Release: 4%{?dist}
Summary: Portable corewar system with ICWS'94 extensions
Group: Amusements/Games
License: GPLv2+
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
BuildRequires: libX11-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: xorg-x11-fonts-75dpi
%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
# Make temporary doc dir
mkdir doc_install
cp -a doc doc_install
rm doc_install/doc/pmars.6
%build
make -C src CFLAGS="%{optflags} -DEXT94 -DXWINGRAPHX -DPERMUTATE"
%install
rm -rf %{buildroot}
install -D -p -m 755 src/pmars %{buildroot}%{_bindir}/pmars
install -D -p -m 644 doc/pmars.6 %{buildroot}%{_mandir}/man6/pmars.6
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog CONTRIB COPYING README config/ doc_install/doc/ warriors/
%{_bindir}/pmars
%{_mandir}/man6/pmars.6.*
%changelog
* Thu May 06 2010 Jon Ciesla <limb at jcomserv.net> - 0.9.2-3
- Moved doc manipulation to after patch application.
* Thu May 06 2010 Jon Ciesla <limb at jcomserv.net> - 0.9.2-3
- Fixed typos, macros, build and installation.
* Fri Apr 30 2010 Jon Ciesla <limb at jcomserv.net> - 0.9.2-2
- Added dep on xorg-x11-fonts-75dpi.
- Culled duplicate man page.
* Thu Apr 29 2010 Jon Ciesla <limb at jcomserv.net> - 0.9.2-1
- First build.
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pmars/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 9 May 2010 02:12:28 -0000 1.1
+++ sources 10 May 2010 14:02:56 -0000 1.2
@@ -0,0 +1 @@
+a73943a34e9de8f0d3028fc4566cd558 pmars-0.9.2.tar.gz
- Previous message: rpms/pmars/devel import.log, NONE, 1.1 pmars-0.9.2-CCat.patch, NONE, 1.1 pmars-0.9.2-nostrip.patch, NONE, 1.1 pmars.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/pmars/F-13 pmars-0.9.2-CCat.patch, NONE, 1.1 pmars-0.9.2-nostrip.patch, NONE, 1.1 pmars.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list