# vim: set sw=4 ts=4 et nu: Name: ipbt Version: 9275 Release: 0 Summary: High-Tech ttyrec Player ## svn://svn.tartarus.org/sgt/ipbt Source: ipbt-%{version}.tar.bz2 # don't even try to build the man page, requires some weird dependencies: Patch1: ipbt-do_not_build_man_page.patch Patch2: ipbt-fix_printf.patch URL: http://www.chiark.greenend.org.uk/~sgtatham/ipbt/ Group: Productivity/Text/Utilities License: MIT/X License BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: ncurses-devel BuildRequires: gcc make glibc-devel pkgconfig BuildRequires: autoconf automake libtool %description ttyrec is a program for recording a Unix terminal session. It works much like script, but its output file contains timestamp information in addition to the terminal data, so that the session can be played back later in real time. A common use for this program is to record games of NetHack for other people to watch; alt.org, for example, does this routinely. %prep %setup -q -n ipbt %patch1 %patch2 %__sed -i 's/\[rXXXX\]/[r%{version}]/g' configure.ac %build ./mkauto.sh %configure %__make %install %makeinstall %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files %defattr(-,root,root) %doc LICENCE README TODO %{_bindir}/ipbt