1 |
%define name nfrotz |
2 |
%define version 0.3.3 |
3 |
%define release %mkrel 1 |
4 |
|
5 |
Name: %{name} |
6 |
Summary: Z-machine interpreter for Interactive Fiction games, with support for unicode |
7 |
Version: %{version} |
8 |
Release: %{release} |
9 |
Source0: http://mirror.ifarchive.org/if-archive/infocom/interpreters/frotz/%{name}-%{version}.tgz |
10 |
URL: http://www.stanford.edu/~mcmartin/if/ |
11 |
License: GPLv2 |
12 |
|
13 |
Group: Games/Other |
14 |
BuildRequires: libncursesw-devel |
15 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
16 |
|
17 |
%description |
18 |
NFrotz is a Z-Machine interpreter. The Z-machine is a virtual machine |
19 |
designed by Infocom to run all of their text adventures. It went |
20 |
through multiple revisions during the lifetime of the company, and two |
21 |
further revisions (V7 and V8) were created by Graham Nelson after the |
22 |
company's demise. The specification is now quite well documented; this |
23 |
version of Frotz supports version 1.1. |
24 |
|
25 |
This version of Frotz fully supports all these versions of the Z-Machine |
26 |
except for version 6. Version 6 is semi-supported by displaying the |
27 |
outlines of V6 graphics with the picture number in the bottom-right corner. |
28 |
|
29 |
NFrotz is a merged port of the original Unix Frotz, incorporating |
30 |
extensions made by the WinFrotz port. |
31 |
The primary visible difference between NFrotz and ordinary Frotz is |
32 |
support for UTF-8 terminals and some awareness of iFiction-based metadata |
33 |
if present. |
34 |
|
35 |
%prep |
36 |
%setup -q -n %{name}-%{version} |
37 |
|
38 |
perl -pi -e "s|/lib/|/%_lib/|" configure |
39 |
|
40 |
%build |
41 |
|
42 |
%configure |
43 |
%make |
44 |
|
45 |
%install |
46 |
rm -rf %{buildroot} |
47 |
make PREFIX=%{buildroot}/usr MAN_PREFIX=%{buildroot}/usr/share install |
48 |
|
49 |
%clean |
50 |
rm -rf %{buildroot} |
51 |
|
52 |
%files |
53 |
%defattr(-,root,root,0755) |
54 |
%doc AUTHORS ChangeLog COPYING HOW_TO_PLAY README |
55 |
%{_mandir}/*/* |
56 |
%{_bindir}/* |
57 |
|
58 |
|
59 |
|