diff --git a/python-zstd.spec b/python-zstd.spec new file mode 100644 index 0000000..ac8664d --- /dev/null +++ b/python-zstd.spec @@ -0,0 +1,44 @@ +Name: python-zstd +Version: 1.4.8.1 +Release: 1 +Summary: ZSTD Bindings for Python +License: BSD +URL: https://github.com/sergey-dryabzhinsky/python-zstd +Source0: https://files.pythonhosted.org/packages/92/bc/6bc155c61db55d5b3111a8afc76aaec084372bde89a82ecd4f5fd96c639a/zstd-1.4.8.1.tar.gz + +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 +%autosetup -n zstd-1.4.8.1 + +%build +%py3_build + +%install +%py3_install +%check +%{__python3} setup.py test + +%files -n python3-zstd +%license LICENSE +%doc README.rst +%{python3_sitearch}/zstd-1.4.8.1-py%{python3_version}.egg-info +%{python3_sitearch}/zstd*.so + +%changelog +* Tue Feb 23 2021 wangxiyuan +- Package Spec Init + diff --git a/zstd-1.4.8.1.tar.gz b/zstd-1.4.8.1.tar.gz new file mode 100644 index 0000000..6c616f7 Binary files /dev/null and b/zstd-1.4.8.1.tar.gz differ