rpms/frotz/devel frotz-2.43-Makefile.patch, NONE, 1.1 frotz-2.43-conf.patch, NONE, 1.1 frotz.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Christopher Grau (cgrau)
fedora-extras-commits at redhat.com
Fri Aug 5 05:42:00 UTC 2005
Author: cgrau
Update of /cvs/extras/rpms/frotz/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11000/devel
Modified Files:
.cvsignore sources
Added Files:
frotz-2.43-Makefile.patch frotz-2.43-conf.patch frotz.spec
Log Message:
auto-import frotz-2.43-3.fc4.cdg on branch devel from frotz-2.43-3.fc4.cdg.src.rpm
frotz-2.43-Makefile.patch:
--- NEW FILE frotz-2.43-Makefile.patch ---
--- ./Makefile 2002-10-27 17:21:52.000000000 -0800
+++ ./Makefile.fedora 2005-07-19 06:46:20.000000000 -0700
@@ -7,25 +7,25 @@
# Define your optimization flags. Most compilers understand -O and -O2,
# Standard (note: Solaris on UltraSparc using gcc 2.8.x might not like this.)
#
-OPTS = -O2
+OPTS = @@OPTS@@
# Pentium with gcc 2.7.0 or better
#OPTS = -O2 -fomit-frame-pointer -malign-functions=2 -malign-loops=2 \
#-malign-jumps=2
# Define where you want Frotz installed. Usually this is /usr/local
-PREFIX = /usr/local
+PREFIX = /usr
MAN_PREFIX = $(PREFIX)
#MAN_PREFIX = /usr/local/share
-CONFIG_DIR = $(PREFIX)/etc
-#CONFIG_DIR = /etc
+#CONFIG_DIR = $(PREFIX)/etc
+CONFIG_DIR = /etc
# Define where you want Frotz to look for frotz.conf.
#
-CONFIG_DIR = /usr/local/etc
-#CONFIG_DIR = /etc
+#CONFIG_DIR = /usr/local/etc
+CONFIG_DIR = /etc
#CONFIG_DIR = /usr/pkg/etc
#CONFIG_DIR =
@@ -73,15 +73,15 @@
# curses library won't work, comment out the first option and uncomment
# the second.
#
-CURSES = -lcurses
-#CURSES = -lncurses
+#CURSES = -lcurses
+CURSES = -lncurses
# Uncomment this if your need to use ncurses instead of the
# vendor-supplied curses library. This just tells the compile process
# which header to include, so don't worry if ncurses is all you have
# (like on Linux). You'll be fine.
#
-#CURSES_DEF = -DUSE_NCURSES_H
+CURSES_DEF = -DUSE_NCURSES_H
# Uncomment this if you're compiling Unix Frotz on a machine that lacks
# the memmove(3) system call. If you don't know what this means, leave it
frotz-2.43-conf.patch:
--- NEW FILE frotz-2.43-conf.patch ---
Set up this example configuration file to be used as the default configuration
in /etc.
--- ./doc/frotz.conf-big 2000-10-28 10:43:07.000000000 -0700
+++ ./doc/frotz.conf-big.conf 2005-07-19 06:41:39.000000000 -0700
@@ -10,47 +10,47 @@
# These options control some basic characteristics of Frotz.
# Use color text (default "yes" if supported)
-color yes
+#color yes
# Set foreground color (default "white" if in color mode)
-foreground white
+#foreground white
# Set background color (default "blue" if in color mode)
-background blue
+#background blue
# Set error-reporting mode (default "once")
-errormode once
+#errormode once
# Set path to search for game files (no default)
-zcode_path /usr/local/games/zcode
+#zcode_path /usr/local/games/zcode
# Use plain ASCII only (default "no")
-ascii no
+#ascii no
# Turn sound on or off (default "on")
-sound on
+#sound on
############################################
# These are some less-commonly used options.
# Set random number seed (default comes from the Unix epoch)
-randseed 1234
+#randseed 1234
# Set number of undo slots (default 500)
-undo_slots 500
+#undo_slots 500
# Set Tandy bit (default "no")
-tandy no
+#tandy no
# Alter piracy opcode (default "no")
-piracy no
+#piracy no
# Use Quetzal save format (default "yes")
-quetzal yes
+#quetzal yes
# Expand abbreviations (default "no")
-expand_abb no
+#expand_abb no
#########################################################################
@@ -60,38 +60,38 @@
# Force color mode (default "no")
# Useful for use with supposedly current flavors of Unix that still don't
# understand what the "xterm-color" terminal type is.
-force_color no
+#force_color no
# Set screen height (default is detected height)
-screen_height 24
+#screen_height 24
# Set screen width (default is detected screen width)
-screen_width 80
+#screen_width 80
# Set script width (default is screen width)
-script_width 80
+#script_width 80
# Set context lines (default "0")
-context_lines 0
+#context_lines 0
# Set left margin (default "0")
-left_margin 0
+#left_margin 0
# Set right margin (default "0")
-right_margin 0
+#right_margin 0
#############################################################
# These options are mainly useful for debugging and cheating.
# Watch attribute setting (default "no")
-attrib_set no
+#attrib_set no
# Watch attribute testing (default "no")
-attrib_test no
+#attrib_test no
# Watch object movement (default "no")
-obj_move no
+#obj_move no
# Watch object locating (default "no")
-obj_loc no
+#obj_loc no
--- NEW FILE frotz.spec ---
Name: frotz
Version: 2.43
Release: 3%{?dist}
Summary: Interpreter for Infocom and other Z-machine games
Group: Amusements/Games
License: GPL
URL: http://www.cs.csubak.edu/~dgriffi/proj/frotz/
Source0: http://www.cs.csubak.edu/~dgriffi/proj/frotz/files/frotz-2.43.tar.gz
Patch1: frotz-2.43-Makefile.patch
Patch2: frotz-2.43-conf.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ncurses-devel
%description
Frotz is an interpreter for Infocom games and other Z-machine games. It
complies with standard 1.0 of Graham Nelson's specification.
Free Z-machine game file downloads, as well as more information about
Infocom, Z-machine games, and interactive fiction can be found at the
Interactive Fiction Archive, http://mirror.ifarchive.org/.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%build
sed -i -e "s/@@OPTS@@/$RPM_OPT_FLAGS/" Makefile
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
install -d -m0755 $RPM_BUILD_ROOT/%{_bindir}
install -d -m0755 $RPM_BUILD_ROOT/%{_sysconfdir}
install -d -m0755 $RPM_BUILD_ROOT/%{_mandir}/man6
install -m0755 frotz $RPM_BUILD_ROOT/%{_bindir}
install -m0644 doc/frotz.6 $RPM_BUILD_ROOT/%{_mandir}/man6
install -m0644 doc/frotz.conf-big $RPM_BUILD_ROOT/%{_sysconfdir}/frotz.conf
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-,root,root,-)
%doc AUTHORS BUGS ChangeLog COPYING DUMB HOW_TO_PLAY README SPEECH TODO
%doc doc/frotz.conf*
%{_bindir}/frotz
%{_mandir}/man6/frotz.6*
%config(noreplace) %{_sysconfdir}/frotz.conf
%changelog
* Tue Jul 19 2005 Chris Grau <chris at chrisgrau.com> 2.43-3
- Changed sed command to edit Makefile in place (Michael Schwendt).
- Removed compression of the man page (Michael Schwendt).
* Tue Jul 19 2005 Chris Grau <chris at chrisgrau.com> 2.43-2
- Split up patch files.
- Added a pointer to the IF archive to the %%description.
* Thu Jul 07 2005 Chris Grau <chris at chrisgrau.com> 2.43-1
- Initial build.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/frotz/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 5 Aug 2005 05:41:33 -0000 1.1
+++ .cvsignore 5 Aug 2005 05:41:58 -0000 1.2
@@ -0,0 +1 @@
+frotz-2.43.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/frotz/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 5 Aug 2005 05:41:33 -0000 1.1
+++ sources 5 Aug 2005 05:41:58 -0000 1.2
@@ -0,0 +1 @@
+efe51879e012b92bb8d5f4a82e982677 frotz-2.43.tar.gz
More information about the fedora-extras-commits
mailing list