]> git.pld-linux.org Git - packages/visidata.git/blame - visidata.spec
up to 3.0.2
[packages/visidata.git] / visidata.spec
CommitLineData
4c58eec3
JP
1Summary: A terminal interface for exploring and arranging tabular data
2Name: visidata
5a5d5720 3Version: 3.0.2
6fe1c048 4Release: 1
4c58eec3
JP
5License: GPL v3+
6Group: Applications
7Source0: https://github.com/saulpw/visidata/archive/v%{version}/%{name}-%{version}.tar.gz
5a5d5720 8# Source0-md5: 484e354eb87523997e809cf5cd78cc43
4c58eec3 9URL: https://www.visidata.org/
4caa3f43
JP
10BuildRequires: python3 >= 1:3.7
11BuildRequires: python3-modules >= 1:3.7
4c58eec3 12BuildRequires: python3-setuptools
0a73091c 13BuildRequires: rpmbuild(macros) >= 1.714
4caa3f43
JP
14Requires: python3 >= 1:3.7
15Requires: python3-modules >= 1:3.7
b422ee7d
JP
16Suggests: python3-lxml
17Suggests: python3-odfpy
18Suggests: python3-openpyxl
19Suggests: python3-tabulate
20Suggests: python3-xlrd
21Suggests: python3-xlwt
4c58eec3
JP
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26VisiData is an interactive multitool for tabular data. It combines the
27clarity of a spreadsheet, the efficiency of the terminal, and the
28power of Python, into a lightweight utility which can handle millions
29of rows with ease.
30
31%prep
32%setup -q
33
49a5005d
JP
34%{__sed} -i -e '1 s,#!.*env.* vd ,#!%{_bindir}/vd ,' bin/vd2to3.vdx
35
4c58eec3
JP
36%build
37%py3_build
38
39%install
40rm -rf $RPM_BUILD_ROOT
41
42%py3_install
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%files
48%defattr(644,root,root,755)
49%attr(755,root,root) %{_bindir}/vd
49a5005d 50%attr(755,root,root) %{_bindir}/vd2to3.vdx
4c58eec3
JP
51%attr(755,root,root) %{_bindir}/visidata
52%{py3_sitescriptdir}/visidata
53%{py3_sitescriptdir}/visidata-%{version}-py*.egg-info
54%{_mandir}/man1/vd.1*
55%{_mandir}/man1/visidata.1*
49a5005d 56%{_desktopdir}/visidata.desktop
This page took 0.31341 seconds and 4 git commands to generate.