Init package with version 1.1.0.0

This commit is contained in:
desert-sailor 2023-10-31 17:48:47 +08:00
parent 0af965508c
commit bd583f0bf0
2 changed files with 62 additions and 0 deletions

BIN
brotlicffi-1.1.0.0.tar.gz Normal file

Binary file not shown.

62
python-brotlicffi.spec Normal file
View File

@ -0,0 +1,62 @@
%global _empty_manifest_terminate_build 0
Name: python-brotlicffi
Version: 1.1.0.0
Release: 1
Summary: Python CFFI bindings to the Brotli library.
License: MIT
URL: https://github.com/python-hyper/brotlicffi
Source0: https://files.pythonhosted.org/packages/95/9d/70caa61192f570fcf0352766331b735afa931b4c6bc9a348a0925cc13288/brotlicffi-1.1.0.0.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%description
Python CFFI bindings to the Brotli library.
%package -n python3-brotlicffi
Summary: Python CFFI bindings to the Brotli library.
Provides: python-brotlicffi
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-hatchling
%description -n python3-brotlicffi
Python CFFI bindings to the Brotli library.
%package help
Summary: Development documents and examples for brotlicffi
Provides: python3-brotlicffi-doc
%description help
Development documents and examples for brotlicffi.
%prep
%autosetup -n brotlicffi-%{version}
%build
%pyproject_build
%install
%pyproject_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
%files -n python3-brotlicffi
%doc README.rst HISTORY.rst
%license LICENSE
%{python3_sitelib}/brotlicffi
%{python3_sitearch}/brotlicffi*.dist-info/
%files help
%{_docdir}/*
%changelog
* Tue Oct 31 2023 Dongxing Wang <dxwangk@isoftstone.com> - 1.1.0.0-1
- Init package.