## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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-mcp Version: 1.13.0 Release: %autorelease Summary: Model Context Protocol SDK License: MIT URL: https://modelcontextprotocol.io Source: %{pypi_source mcp} BuildArch: noarch BuildRequires: python3-devel %global _description %{expand: The Model Context Protocol allows applications to provide context for LLMs in a standardized way, separating the concerns of providing context from the actual LLM ineraction. This Python SDK implements the full MCP specification, making it easy to: - BuildMCP clients that can connect to any MCP server - Create MCP servers that expose resources, prompts and tools - Use standard transports like stdio, SSE, and streamable HTTP - Handle all MCP protocol messages and lifecycle events} %description %_description %package -n python3-mcp Summary: %{summary} %description -n python3-mcp %_description %pyproject_extras_subpkg -n python3-mcp cli,rich,ws %prep %autosetup -p1 -n mcp-%{version} %generate_buildrequires %pyproject_buildrequires -x cli,rich,ws %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l mcp %check %pyproject_check_import -t %files -n python3-mcp -f %{pyproject_files} %{_bindir}/mcp %changelog ## START: Generated by rpmautospec * Sun Aug 24 2025 John Doe - 1.13.0-1 - Uncommitted changes ## END: Generated by rpmautospec