commit 1deb5e792e0f595db9c3991146865e256ead8ca0 Author: Jvle Date: Fri Jan 16 15:54:07 2026 +0800 SPEC: init for bitarray Signed-off-by: Jvle diff --git a/python-bitarray.spec b/python-bitarray.spec new file mode 100644 index 0000000..1bb4d07 --- /dev/null +++ b/python-bitarray.spec @@ -0,0 +1,40 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# SPDX-FileContributor: Jvle +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global srcname bitarray + +Name: python-%{srcname} +Version: 3.8.0 +Release: %autorelease +Summary: Efficient arrays of booleans for Python +License: PSF-2.0 +URL: https://github.com/ilanschnell/bitarray +#!RemoteAsset +Source0: https://files.pythonhosted.org/packages/source/b/%{srcname}/%{srcname}-%{version}.tar.gz + +BuildSystem: pyproject + +BuildOption(install): -l %{srcname} + +BuildRequires: python3-devel +BuildRequires: pyproject-rpm-macros +BuildRequires: gcc + +Provides: python3-%{srcname} +%python_provide python3-%{srcname} + +%description +bitarray provides an object type which efficiently represents an array of booleans. + +%generate_buildrequires +%pyproject_buildrequires + +%files -f %{pyproject_files} +%license LICENSE +%doc README.rst + +%changelog +%{?autochangelog}