Name: ttyrec Version: 1.0.8 Release: %mkrel 3 Summary: A tty recorder Group: Text tools URL: http://namazu.org/~satoru/ttyrec/ Source: http://namazu.org/~satoru/ttyrec/%{name}-%{version}.tar.gz License: BSD Patch1: %{name}-1.0.8-deb-ttyrex-debian-patches-from-ttyrex.patch #BuildRequires: libbsd-devel %description ttyrec is a tty recorder that records your terminal sessions with microsecond accuracy. It can record emacs -nw, vi, lynx, or any programs running on tty. %prep %setup -q %patch1 -p1 %build %make %install rm -rf %{buildroot} install -d %{buildroot}%{_bindir} install -d %{buildroot}%{_mandir}/man1 install -m 644 *.1 %{buildroot}%{_mandir}/man1 install -m 755 ttyrec %{buildroot}%{_bindir} install -m 755 ttyplay %{buildroot}%{_bindir} install -m 755 ttytime %{buildroot}%{_bindir} %files %defattr(-,root,root) %{_bindir}/tty* %{_mandir}/man1/tty*.1* %changelog * Mon Jan 14 2013 umeabot <umeabot> 1.0.8-3.mga3 + Revision: 384838 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sat Jan 12 2013 solbu <solbu> 1.0.8-2.mga3 + Revision: 359571 - Replace our patch with Debian patches, from ttyrex - Drop unneded libbsd-devel BuildRequires * Wed Jun 06 2012 solbu <solbu> 1.0.8-1.mga3 + Revision: 256621 - Spec cleanup - imported package ttyrec