60 lines
1.8 KiB
RPMSpec
60 lines
1.8 KiB
RPMSpec
# Created by pyp2rpm-3.3.8
|
|
%global pypi_name indexedtar
|
|
%global pypi_version 1.0.1
|
|
%global git_source https://github.com/colon3ltocard/pyindexedtar/archive/refs/tags/%{pypi_version}.tar.gz
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: %{pypi_version}
|
|
Release: 1%{?dist}
|
|
Summary: build/search/extract_from uncompressed indexed tar archives for fast random access
|
|
|
|
License: MIT
|
|
URL: https://github.com/colon3ltocard/pyindexedtar
|
|
Source0: %{git_source}
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3dist(setuptools)
|
|
|
|
%description
|
|
![example workflow]( indexedtarAn indexed Tar for big data archives featuring
|
|
fast random access with an index bundled inside the tarfile.The use case is to
|
|
retrieve members of a "many members" tar archive without seeking from one
|
|
member to the next.* [Goals]( * [Installation]( * [Usage of the itar cli]( *
|
|
[Usage of the IndexedTar class](
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
Requires: python3dist(setuptools)
|
|
%description -n python3-%{pypi_name}
|
|
![example workflow]( indexedtarAn indexed Tar for big data archives featuring
|
|
fast random access with an index bundled inside the tarfile.The use case is to
|
|
retrieve members of a "many members" tar archive without seeking from one
|
|
member to the next.* [Goals]( * [Installation]( * [Usage of the itar cli]( *
|
|
[Usage of the IndexedTar class](
|
|
|
|
|
|
%prep
|
|
%autosetup -n py%{pypi_name}-%{pypi_version}
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
%install
|
|
%py3_install
|
|
|
|
%check
|
|
%{__python3} setup.py test
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_bindir}/itar
|
|
%{python3_sitelib}/%{pypi_name}
|
|
%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info
|
|
|
|
%changelog
|
|
* Wed Nov 30 2022 Josh Lay - 1.0.1-1
|
|
- Initial package.
|