[packages/tio] Initial.

arekm arekm at pld-linux.org
Wed Jul 13 15:25:02 CEST 2022


commit 882a89ba6f434de78a8f33302aa50012c4a928a5
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Wed Jul 13 15:24:22 2022 +0200

    Initial.

 tio.spec | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
---
diff --git a/tio.spec b/tio.spec
new file mode 100644
index 0000000..f2c9489
--- /dev/null
+++ b/tio.spec
@@ -0,0 +1,42 @@
+Summary:	A simple serial device I/O tool
+Name:		tio
+Version:	1.43
+Release:	1
+License:	GPL v2+
+Group:		Applications/Communications
+Source0:	https://github.com/tio/tio/releases/download/v%{version}/%{name}-%{version}.tar.xz
+# Source0-md5:	3945990ddbd7d7b46bf47a7be0af84ae
+URL:		https://github.com/tio/tio
+BuildRequires:	meson
+BuildRequires:	ninja
+BuildRequires:	rpmbuild(macros) >= 1.726
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+tio is a simple serial device tool which features a straightforward
+command-line and configuration file interface to easily connect to
+serial TTY devices for basic I/O operations.
+
+%prep
+%setup -q
+
+%build
+%meson build \
+    -Dbashcompletiondir=%{bash_compdir}
+
+%ninja_build -C build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%ninja_install -C build
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README.md TODO
+%attr(755,root,root) %{_bindir}/tio
+%{_mandir}/man1/tio.1*
+# %{bash_compdir}/%{name}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tio.git/commitdiff/882a89ba6f434de78a8f33302aa50012c4a928a5



More information about the pld-cvs-commit mailing list