File gargoyle.spec of Package gargoyle
# Copyright (c) 2008 SuSE Linux Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://www.suse.de/feedback/
#
# norootforbuild
Name: gargoyle
License: GPL, HUGO, LUXI, TADS
Group: unsorted
Autoreqprov: on
Version: 20060917
Release: 0
Summary: Multi-format interactive fiction player with excellent readability
Source: gargoyle-2006-09-17-source.zip
Patch: gargoyle.dif
Patch1: gargoyle-level9update41.patch
Patch2: gargoyle-gitupdate120.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: SDL_mixer-devel gtk-devel jam unzip libpng-devel libjpeg-devel gcc-c++
%description
Gargoyle is an IF player that supports all the major interactive fiction
formats.
Most interactive fiction is distributed as portable game files. These
portable game files come in many formats. In the past, you used to have to
download a separate player (interpreter) for each format of IF you wanted to
play.
Gargoyle is based on the standard interpreters for the formats it supports:
* AdvSys
* Agility 1.1.1 (AGT)
* Alan 2.8.6 and 3.0a1 (Alan)
* Frotz 2.43 (Z-code)
* Git 1.2.0 (Glulx, updated from 1.1)
* Glulxe 0.3.5 (Glulx)
* Hugo 3.1 (Hugo)
* Level 9 4.1 (A-code, updated from 4.0)
* Magnetic 2.2 (Magnetic Scrolls format)
* Scare 1.3.3 (ADRIFT)
* Tads 2.5.10 and 3.0.12 (TADS)
Gargoyle cares about typography! In this computer age of typographical
poverty, where horrible fonts, dazzling colors, and inadequate white space
is God, Gargoyle dares to rebel!
* Subpixel font rendering for LCD screens.
* Unhinted anti-aliased fonts: beautiful, the way they were designed.
* Adjustable gamma correction: tune the rendering for your screen.
* Floating point text layout for even spacing.
* Kerning for even more even spacing.
* Smart quotes and other punctuation formatting.
* Ligatures for 'fi' and 'fl'.
* Plenty o' margins.
* Plenty o' line spacing.
* Integrated scrollback.
The default font for Gargoyle is Bitstream Charter and Luxi Mono. Two vastly
underrated fonts that I find just perfect for screen reading. They are
included, so there is no need to install anything on your system.
Gargoyle does not use any operating system functions for drawing text, so it
can use any TrueType, OpenType or Postscript font file you specify in the
configuration file.
%prep
%setup -n %name
%patch
%patch1
%patch2
%build
export RPM_OPT_FLAGS
jam
%install
jam install
install -d -m 755 $RPM_BUILD_ROOT%_libdir/%name
install -m 755 build/dist/* $RPM_BUILD_ROOT%_libdir/%name/
install -d -m 755 $RPM_BUILD_ROOT%_bindir
ln -s %_libdir/%name/gargoyle $RPM_BUILD_ROOT%_bindir
install -D -m 644 garglk/garglk.ini $RPM_BUILD_ROOT/etc/garglk.ini
%files
%defattr(-,root,root)
%doc INSTALL licenses License.txt
%_bindir/gargoyle
%_libdir/%name
%config /etc/garglk.ini