]> git.pld-linux.org Git - packages/tio.git/blame - tio.spec
up to 2.6
[packages/tio.git] / tio.spec
CommitLineData
882a89ba
AM
1Summary: A simple serial device I/O tool
2Name: tio
cbe711a4 3Version: 2.6
882a89ba
AM
4Release: 1
5License: GPL v2+
6Group: Applications/Communications
7Source0: https://github.com/tio/tio/releases/download/v%{version}/%{name}-%{version}.tar.xz
cbe711a4 8# Source0-md5: 04520aa71f20a5ffd5ba98b4e1d4d94f
882a89ba 9URL: https://github.com/tio/tio
b81b57dc
JP
10BuildRequires: inih-devel
11BuildRequires: linux-libc-headers >= 7:2.6.20
12BuildRequires: meson >= 0.53.2
882a89ba 13BuildRequires: ninja
8d91463b 14BuildRequires: pkgconfig
3278ae14 15BuildRequires: rpm-build >= 4.6
f2204d0a 16BuildRequires: rpmbuild(macros) >= 1.736
b81b57dc
JP
17BuildRequires: tar >= 1:1.22
18BuildRequires: xz
882a89ba
AM
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22tio is a simple serial device tool which features a straightforward
23command-line and configuration file interface to easily connect to
24serial TTY devices for basic I/O operations.
25
3278ae14
JP
26%package -n bash-completion-tio
27Summary: bash-completion for tio
28Group: Applications/Shells
29Requires: %{name} = %{version}-%{release}
30Requires: bash-completion >= 1:2.0
31BuildArch: noarch
32
33%description -n bash-completion-tio
34bash-completion for tio.
35
882a89ba
AM
36%prep
37%setup -q
38
39%build
40%meson build \
e68adb29 41 -Dbashcompletiondir=%{bash_compdir}
882a89ba
AM
42
43%ninja_build -C build
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48%ninja_install -C build
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
55%doc AUTHORS NEWS README.md TODO
56%attr(755,root,root) %{_bindir}/tio
57%{_mandir}/man1/tio.1*
3278ae14
JP
58
59%files -n bash-completion-tio
60%defattr(644,root,root,755)
61%{bash_compdir}/tio
This page took 0.156568 seconds and 4 git commands to generate.