diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..acae0df --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +results_* +*.src.rpm diff --git a/python-pgzip/pgzip-0.3.4.tar.gz b/python-pgzip/pgzip-0.3.4.tar.gz new file mode 100644 index 0000000..b25f6a8 Binary files /dev/null and b/python-pgzip/pgzip-0.3.4.tar.gz differ diff --git a/python-pgzip/python-pgzip.spec b/python-pgzip/python-pgzip.spec new file mode 100644 index 0000000..22364e4 --- /dev/null +++ b/python-pgzip/python-pgzip.spec @@ -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 - 0.3.4-1 +- Initial package.