python-zstd/python-zstd.spec

48 lines
1.2 KiB
RPMSpec
Raw Normal View History

2021-02-23 09:59:12 +00:00
Name: python-zstd
2022-10-20 16:04:56 +08:00
Version: 1.5.1.0
2021-02-23 09:59:12 +00:00
Release: 1
Summary: ZSTD Bindings for Python
2022-10-20 16:04:56 +08:00
License: BSD-2-Clause
2021-02-23 09:59:12 +00:00
URL: https://github.com/sergey-dryabzhinsky/python-zstd
2022-10-20 16:04:56 +08:00
Source0: https://files.pythonhosted.org/packages/3d/bc/189c72d298fea928efabef9a5cb9a7b55adff71f27eadad62890c1e4b32f/zstd-1.5.1.0.tar.gz
2021-02-23 09:59:12 +00:00
BuildRequires: gcc
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%description
Simple Python bindings for the Zstd compression library.
%package -n python3-zstd
Summary: %{summary}
Provides: python3-zstd
# The library does not do symbol versioning to fully match automatically on
%description -n python3-zstd
Simple Python bindings for the Zstd compression library.
%prep
2022-10-20 16:04:56 +08:00
%autosetup -n zstd-%{version} -p1
2021-02-23 09:59:12 +00:00
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-zstd
%license LICENSE
%doc README.rst
2022-10-20 16:04:56 +08:00
%{python3_sitearch}/zstd-%{version}-py%{python3_version}.egg-info
2021-02-23 09:59:12 +00:00
%{python3_sitearch}/zstd*.so
%changelog
2022-10-20 16:04:56 +08:00
* Thu Oct 20 2022 caodongxia <caodongxia@h-partners.com> - 1.5.1.0-1
- Upgrade python3-zstd to version 1.5.1.0
2021-02-23 09:59:12 +00:00
* Tue Feb 23 2021 wangxiyuan <wangxiyuan1007@gmail.com>
- Package Spec Init