1 Summary: Serial port logger
7 Source0: https://downloads.sourceforge.net/ttylog/%{name}-%{version}.tar.gz
8 # Source0-md5: 00721be52a9f61c951065f932c41f16a
9 Patch0: %{name}-more_bauds.patch
10 URL: https://ttylog.sourceforge.net/
11 BuildRequires: cmake >= 2.8
12 BuildRequires: rpmbuild(macros) >= 1.605
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Print everything that comes from a serial device to stdout. The device
17 as well as the baud rate can be specified and a timeout can be set
18 instead of just killing the process in order to stop it.
29 rm -rf $RPM_BUILD_ROOT
31 %{__make} -C build install \
32 DESTDIR=$RPM_BUILD_ROOT
35 rm -rf $RPM_BUILD_ROOT
38 %defattr(644,root,root,755)
39 %doc ChangeLog README.md TODO
40 %attr(755,root,root) %{_sbindir}/ttylog
41 %{_mandir}/man8/ttylog.8*