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