Blame visidata.spec

a75fccf
%global srcname visidata
a75fccf
a75fccf
Name:           %{srcname}
e8b173d
Version:        2.1
30ef3a8
Release:        1%{?dist}
30ef3a8
Summary:        Terminal interface for exploring and arranging tabular data
a75fccf
a75fccf
License:        GPLv3
a75fccf
URL:            https://visidata.org
a75fccf
Source0:        %pypi_source
205c953
# https://github.com/saulpw/visidata/pull/269
30ef3a8
Patch0001:      0001-Remove-extra-copy-of-man-page.patch
a75fccf
a75fccf
BuildArch:      noarch
a75fccf
a75fccf
BuildRequires:  python3-devel
a75fccf
BuildRequires:  python3dist(setuptools)
a75fccf
a75fccf
Requires:       python3-%{srcname} = %{version}-%{release}
a75fccf
a75fccf
%description
a75fccf
VisiData is an interactive multitool for tabular data. It combines the clarity
a75fccf
of a spreadsheet, the efficiency of the terminal, and the power of Python, into
a75fccf
a lightweight utility which can handle millions of rows with ease.
a75fccf
a75fccf
a75fccf
%package -n     python3-%{srcname}
a75fccf
Summary:        %{summary}
a75fccf
%{?python_provide:%python_provide python3-%{srcname}}
a75fccf
a75fccf
# Optional dependencies
a75fccf
Recommends: python3dist(PyYAML)
30ef3a8
Recommends: python3dist(datapackage)
a75fccf
Recommends: python3dist(dnslib)
a75fccf
Recommends: python3dist(dpkt)
a75fccf
Recommends: python3dist(fonttools)
a75fccf
Recommends: python3dist(h5py)
a75fccf
Recommends: python3dist(lxml)
a75fccf
Recommends: python3dist(mapbox-vector-tile)
a75fccf
Recommends: python3dist(namestand)
30ef3a8
Recommends: python3dist(numpy)
a75fccf
Recommends: python3dist(openpyxl)
a75fccf
Recommends: python3dist(pandas) >= 0.19.2
30ef3a8
Recommends: python3dist(pdfminer.six)
a75fccf
Recommends: python3dist(psycopg2)
a75fccf
Recommends: python3dist(pypng)
a75fccf
Recommends: python3dist(pyshp)
a75fccf
Recommends: python3dist(requests)
a75fccf
Recommends: python3dist(sas7bdat)
a75fccf
Recommends: python3dist(savReaderWriter)
30ef3a8
Recommends: python3dist(tabulate)
30ef3a8
Recommends: python3dist(vobject)
30ef3a8
Recommends: python3dist(wcwidth)
a75fccf
Recommends: python3dist(xlrd)
a75fccf
Recommends: python3dist(xport)
a75fccf
a75fccf
%description -n python3-%{srcname}
a75fccf
VisiData is an interactive multitool for tabular data. It combines the clarity
a75fccf
of a spreadsheet, the efficiency of the terminal, and the power of Python, into
a75fccf
a lightweight utility which can handle millions of rows with ease.
a75fccf
a75fccf
a75fccf
%prep
205c953
%autosetup -n %{srcname}-%{version} -p1
a75fccf
a75fccf
# Remove bundled egg-info
a75fccf
rm -rf %{srcname}.egg-info
a75fccf
a75fccf
a75fccf
%build
a75fccf
%py3_build
a75fccf
a75fccf
a75fccf
%install
a75fccf
%py3_install
a75fccf
a75fccf
a75fccf
%files
30ef3a8
%{_bindir}/visidata
a75fccf
%{_bindir}/vd
a75fccf
%{_mandir}/man1/vd.1*
a75fccf
a75fccf
%files -n python3-%{srcname}
a75fccf
%doc README.md
a75fccf
%license LICENSE.gpl3
a75fccf
%{python3_sitelib}/%{srcname}
ee18af4
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info
a75fccf
a75fccf
a75fccf
%changelog
e8b173d
* Sat Dec 12 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1-1
e8b173d
- Update to latest version (#1904920)
e8b173d
30ef3a8
* Mon Oct 12 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.1-1
30ef3a8
- Update to latest version (#1887632)
30ef3a8
c234491
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-8
c234491
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c234491
bd3909c
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.5.2-7
bd3909c
- Rebuilt for Python 3.9
bd3909c
0763637
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-6
0763637
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
0763637
a2bf54f
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.2-5
a2bf54f
- Rebuilt for Python 3.8.0rc1 (#1748018)
a2bf54f
7497ac1
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.2-4
7497ac1
- Rebuilt for Python 3.8
7497ac1
a51beac
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.2-3
a51beac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a51beac
205c953
* Wed Mar 27 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.2-2
205c953
- Fix issues from review
205c953
a75fccf
* Tue Mar 26 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.2-1
a75fccf
- Initial package.