# Spec file for cxxfilt - Python interface to C++ name demangling %global pypi_name cxxfilt Name: python-%{pypi_name} Version: 0.3.0 Release: %autorelease Summary: Python interface to c++filt / abi::__cxa_demangle License: BSD-2-Clause URL: https://github.com/afq984/python-cxxfilt Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel %description cxxfilt is a Python interface to the C++ name demangling facility abi::__cxa_demangle. It provides a simple way to demangle C++ symbols in Python programs. %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} cxxfilt is a Python interface to the C++ name demangling facility abi::__cxa_demangle. It provides a simple way to demangle C++ symbols in Python programs. %prep %autosetup -n %{pypi_name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files '*' %check # Basic import test %pyproject_check_import %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.rst %changelog %autochangelog