+python-pgzip, +gitignore

This commit is contained in:
Josh Lay 2023-03-12 18:10:17 -05:00
parent 5e86013d7f
commit 1121ae7307
Signed by: jlay
GPG key ID: B265E45CACAD108A
3 changed files with 52 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
results_*
*.src.rpm

Binary file not shown.

View file

@ -0,0 +1,50 @@
%global pypi_name pgzip
%global pypi_version 0.3.4
Name: python-%{pypi_name}
Version: %{pypi_version}
Release: 1%{?dist}
Summary: A multi-threading implementation of Python gzip module
License: MIT
URL: https://github.com/pgzip/pgzip
Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(setuptools)
%description
pgzip is a multi-threaded gzip implementation for python that increases the compression
and decompression performance.
%package -n python3-%{pypi_name}
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
%description -n python3-%{pypi_name}
pgzip is a multi-threaded gzip implementation for python that increases the compression
and decompression performance.
%prep
%autosetup -n %{pypi_name}-%{pypi_version}
# Remove bundled egg-info
rm -rf %{pypi_name}.egg-info
%build
%py3_build
%install
%py3_install
%files -n python3-%{pypi_name}
%license LICENSE
%doc README.md
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info
%changelog
* Sun Mar 12 2023 Josh Lay <me+fedora@jlay.io> - 0.3.4-1
- Initial package.