File ifm.spec of Package ifm
%if 0%{?ubuntu}
Packager: %_project
%endif
Name: ifm
Version: 0
Release: 0
Summary: Interactive Fiction Mapper
License: GPLv2
URL: https://github.com/mlewissmith/ifm
Source0: %{name}-%{version}.tar.xz
BuildRequires: help2man
BuildRequires: tk
Recommends: graphviz
%description
IFM is a language and a program for keeping track of your progress through
an Interactive Fiction game. You can record each room you visit and its
relation to other rooms, the initial locations of useful items you find,
and the tasks you need to perform in order to solve the game.
%package doc
Summary: Interactive Fiction Mapper
Requires: %{name} = %{version}-%{release}
%description doc
Documentation for ifm
%package -n ifm2html
Summary: Interactive Fiction Mapper
Requires: %{name} = %{version}-%{release}
Requires: transfig
Requires: graphviz
%description -n ifm2html
Convert IFM files to HTML walkthru
%prep
%autosetup -p1 -v
%build
autoreconf -iv
%configure
%{make_build}
%install
%{make_install}
%{__install} -m0755 _ifm2html/ifm2html.pl %{buildroot}/%{_bindir}/ifm2html
%files
%{_bindir}/ifm
%{_bindir}/tkifm
%{_bindir}/scr2ifm
%{_bindir}/ifm2tex
%{_bindir}/ifm2web
%{_bindir}/ifm2dev
%{_datadir}/ifm
%doc %{_mandir}/man1/*
%files doc
%doc %{_pkgdocdir}
%files -n ifm2html
%{_bindir}/ifm2html
%changelog