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