]>
Commit | Line | Data |
---|---|---|
4c58eec3 JP |
1 | Summary: A terminal interface for exploring and arranging tabular data |
2 | Name: visidata | |
5a5d5720 | 3 | Version: 3.0.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 | |
5a5d5720 | 8 | # Source0-md5: 484e354eb87523997e809cf5cd78cc43 |
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 | ||
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 | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %py3_install | |
43 | ||
44 | %clean | |
45 | rm -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 |