## START: Set by rpmautospec
## (rpmautospec version 0.7.3)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
    release_number = 5;
    base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
    print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec

Name:           python-lsprotocol
Version:        2023.0.0
Release:        %autorelease
Summary:        Python implementation of the Language Server Protocol

License:        MIT
URL:            https://pypi.org/project/lsprotocol/
Source:         %{pypi_source lsprotocol}

BuildArch:      noarch
BuildRequires:  python3-devel

%global _description %{expand:
lsprotocol is a python implementation of object types used in the Language
Server Protocol (LSP).}

%description %_description

%package -n     python3-lsprotocol
Summary:        %{summary}

%description -n python3-lsprotocol %_description

%prep
%autosetup -p1 -n lsprotocol-%{version}

%generate_buildrequires
%pyproject_buildrequires

%build
%pyproject_wheel

%install
%pyproject_install
%pyproject_save_files lsprotocol

%check
%pyproject_check_import

%files -n python3-lsprotocol -f %{pyproject_files}

%changelog
## START: Generated by rpmautospec
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2023.0.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

* Mon Jun 17 2024 Python Maint <python-maint@redhat.com> - 2023.0.0-4
- Rebuilt for Python 3.13

* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2023.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2023.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Sat Dec 30 2023 topazus <topazus@outlook.com> - 2023.0.0-1
- initial import; rhbz#2256186
## END: Generated by rpmautospec