+python-pgzip, +gitignore
This commit is contained in:
parent
5e86013d7f
commit
1121ae7307
3 changed files with 52 additions and 0 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
results_*
|
||||
*.src.rpm
|
BIN
python-pgzip/pgzip-0.3.4.tar.gz
Normal file
BIN
python-pgzip/pgzip-0.3.4.tar.gz
Normal file
Binary file not shown.
50
python-pgzip/python-pgzip.spec
Normal file
50
python-pgzip/python-pgzip.spec
Normal 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.
|
Loading…
Reference in a new issue