]> git.pld-linux.org Git - packages/visidata.git/blob - visidata.spec
up to 3.0.2
[packages/visidata.git] / visidata.spec
1 Summary:        A terminal interface for exploring and arranging tabular data
2 Name:           visidata
3 Version:        3.0.2
4 Release:        1
5 License:        GPL v3+
6 Group:          Applications
7 Source0:        https://github.com/saulpw/visidata/archive/v%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5:  484e354eb87523997e809cf5cd78cc43
9 URL:            https://www.visidata.org/
10 BuildRequires:  python3 >= 1:3.7
11 BuildRequires:  python3-modules >= 1:3.7
12 BuildRequires:  python3-setuptools
13 BuildRequires:  rpmbuild(macros) >= 1.714
14 Requires:       python3 >= 1:3.7
15 Requires:       python3-modules >= 1:3.7
16 Suggests:       python3-lxml
17 Suggests:       python3-odfpy
18 Suggests:       python3-openpyxl
19 Suggests:       python3-tabulate
20 Suggests:       python3-xlrd
21 Suggests:       python3-xlwt
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 %{__sed} -i -e '1 s,#!.*env.* vd ,#!%{_bindir}/vd ,' bin/vd2to3.vdx
35
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
50 %attr(755,root,root) %{_bindir}/vd2to3.vdx
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*
56 %{_desktopdir}/visidata.desktop
This page took 0.124475 seconds and 4 git commands to generate.