# topdir: multipart-1.2.0 %global pypi_name multipart Name: python-%{pypi_name} Version: 1.2.0 Release: 1%{?dist} Summary: Parser for multipart/form-data License: MIT URL: https://github.com/defnull/multipart Source0: https://github.com/defnull/multipart/archive/refs/tags/v%{version}/%{pypi_name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip BuildRequires: python3-flit-core %description Parser for multipart/form-data. This module provides a fast incremental non-blocking parser for multipart/form-data, as well as blocking alternatives for easier use in WSGI or CGI applications. %package -n python3-%{pypi_name} Summary: %{summary} Provides: python3-%{pypi_name} = %{version}-%{release} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} Parser for multipart/form-data. This module provides a fast incremental non-blocking parser for multipart/form-data, as well as blocking alternatives for easier use in WSGI or CGI applications. %package help Summary: Development documents and examples for %{pypi_name} BuildArch: noarch %description help Documentation and examples for %{pypi_name}. %prep %autosetup -n %{pypi_name}-%{version} %build %pyproject_build %install %pyproject_install %files -n python3-%{pypi_name} %license LICENSE %doc README.rst CHANGELOG.rst %{python3_sitelib}/multipart.py %{python3_sitelib}/__pycache__/multipart.*.pyc %{python3_sitelib}/%{pypi_name}-%{version}*.dist-info/ %files help %doc README.rst CHANGELOG.rst %changelog * Fri Oct 23 2026 Python_Bot - 1.2.0-1 - Initial package