[packages/visidata] up to 3.4

atler atler at pld-linux.org
Sat Aug 8 00:04:57 CEST 2026


commit 780528d5d128f89f5123a4175265b477007cfa30
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Aug 8 00:03:03 2026 +0200

    up to 3.4

 visidata.spec | 19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)
---
diff --git a/visidata.spec b/visidata.spec
index d91e212..d8f7133 100644
--- a/visidata.spec
+++ b/visidata.spec
@@ -1,12 +1,13 @@
 Summary:	A terminal interface for exploring and arranging tabular data
 Name:		visidata
-Version:	3.3
+Version:	3.4
 Release:	1
 License:	GPL v3+
 Group:		Applications
 Source0:	https://github.com/saulpw/visidata/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	3826d61eb6ff55fb715d71560055f171
+# Source0-md5:	ef093a45902b28620fee8c2d1da16cc1
 URL:		https://www.visidata.org/
+BuildRequires:	groff
 BuildRequires:	python3 >= 1:3.7
 BuildRequires:	python3-modules >= 1:3.7
 BuildRequires:	python3-setuptools
@@ -37,11 +38,23 @@ of rows with ease.
 %build
 %py3_build
 
+# based on dev/mkman.sh
+MANDIR="$(pwd)/visidata/man"
+PYTHONPATH="$(pwd)" %{__python3} "$MANDIR/parse_options.py" "$MANDIR/vd-cli.inc" "$MANDIR/vd-opts.inc"
+
+soelim -rt -I "$MANDIR" "$MANDIR/vd.inc" > "$MANDIR/vd-pre.1"
+preconv -r -e utf8 "$MANDIR/vd-pre.1" > "$MANDIR/vd.1"
+echo '.so man1/vd.1' > "$MANDIR/visidata.1"
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+
 %py3_install
 
+cp -p visidata/man/{vd,visidata}.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -55,3 +68,5 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/vd.1*
 %{_mandir}/man1/visidata.1*
 %{_desktopdir}/visidata.desktop
+%{_iconsdir}/hicolor/*x*/apps/visidata.png
+%{_datadir}/metainfo/org.visidata.VisiData.metainfo.xml
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/visidata.git/commitdiff/780528d5d128f89f5123a4175265b477007cfa30



More information about the pld-cvs-commit mailing list