]> git.pld-linux.org Git - packages/ttylog.git/blob - ttylog.spec
new
[packages/ttylog.git] / ttylog.spec
1 Summary:        Serial port logger
2 Name:           ttylog
3 Version:        0.31
4 Release:        1
5 License:        GPL v2
6 Group:          Applications
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)
14
15 %description
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.
19
20 %prep
21 %setup -q
22 %patch0 -p1
23
24 %build
25 %cmake -B build
26 %{__make} -C build
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30
31 %{__make} -C build install \
32         DESTDIR=$RPM_BUILD_ROOT
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %doc ChangeLog README.md TODO
40 %attr(755,root,root) %{_sbindir}/ttylog
41 %{_mandir}/man8/ttylog.8*
This page took 0.108188 seconds and 4 git commands to generate.