[packages/tio] up to 2.3

atler atler at pld-linux.org
Wed Nov 9 00:19:03 CET 2022


commit 3278ae1461e3af7b12c991737db97563e4f430e6
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Nov 9 00:18:26 2022 +0100

    up to 2.3
    
    - package bash-completion

 tio.spec | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)
---
diff --git a/tio.spec b/tio.spec
index c0c4a94..8051cb7 100644
--- a/tio.spec
+++ b/tio.spec
@@ -1,16 +1,17 @@
 Summary:	A simple serial device I/O tool
 Name:		tio
-Version:	1.47
+Version:	2.3
 Release:	1
 License:	GPL v2+
 Group:		Applications/Communications
 Source0:	https://github.com/tio/tio/releases/download/v%{version}/%{name}-%{version}.tar.xz
-# Source0-md5:	406869cf7b5a18ab4f4a845c961b2225
+# Source0-md5:	bfb5cf76a94f759889328c32ffbade34
 URL:		https://github.com/tio/tio
 BuildRequires:	inih-devel
 BuildRequires:	linux-libc-headers >= 7:2.6.20
 BuildRequires:	meson >= 0.53.2
 BuildRequires:	ninja
+BuildRequires:	rpm-build >= 4.6
 BuildRequires:	rpmbuild(macros) >= 1.736
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
@@ -21,6 +22,16 @@ 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.
 
+%package -n bash-completion-tio
+Summary:	bash-completion for tio
+Group:		Applications/Shells
+Requires:	%{name} = %{version}-%{release}
+Requires:	bash-completion >= 1:2.0
+BuildArch:	noarch
+
+%description -n bash-completion-tio
+bash-completion for tio.
+
 %prep
 %setup -q
 
@@ -43,4 +54,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS NEWS README.md TODO
 %attr(755,root,root) %{_bindir}/tio
 %{_mandir}/man1/tio.1*
-# %{bash_compdir}/%{name}
+
+%files -n bash-completion-tio
+%defattr(644,root,root,755)
+%{bash_compdir}/tio
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tio.git/commitdiff/3278ae1461e3af7b12c991737db97563e4f430e6



More information about the pld-cvs-commit mailing list