## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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 # Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate rmcp Name: rust-rmcp Version: 0.14.0 Release: %autorelease Summary: Rust SDK for Model Context Protocol License: Apache-2.0 URL: https://crates.io/crates/rmcp Source: %{crates_source} Source1: https://raw.githubusercontent.com/modelcontextprotocol/rust-sdk/refs/tags/rmcp-v%{version}/LICENSE # Automatically generated patch to strip dependencies and normalize metadata Patch: rmcp-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Rust SDK for Model Context Protocol.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license LICENSE # FIXME: no license files detected %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+__reqwest-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+__reqwest-devel %{_description} This package contains library source intended for building other packages which use the "__reqwest" feature of the "%{crate}" crate. %files -n %{name}+__reqwest-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+auth-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+auth-devel %{_description} This package contains library source intended for building other packages which use the "auth" feature of the "%{crate}" crate. %files -n %{name}+auth-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+base64-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+base64-devel %{_description} This package contains library source intended for building other packages which use the "base64" feature of the "%{crate}" crate. %files -n %{name}+base64-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+client-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+client-devel %{_description} This package contains library source intended for building other packages which use the "client" feature of the "%{crate}" crate. %files -n %{name}+client-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+client-side-sse-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+client-side-sse-devel %{_description} This package contains library source intended for building other packages which use the "client-side-sse" feature of the "%{crate}" crate. %files -n %{name}+client-side-sse-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+elicitation-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+elicitation-devel %{_description} This package contains library source intended for building other packages which use the "elicitation" feature of the "%{crate}" crate. %files -n %{name}+elicitation-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+macros-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+macros-devel %{_description} This package contains library source intended for building other packages which use the "macros" feature of the "%{crate}" crate. %files -n %{name}+macros-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+reqwest-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+reqwest-devel %{_description} This package contains library source intended for building other packages which use the "reqwest" feature of the "%{crate}" crate. %files -n %{name}+reqwest-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+reqwest-tls-no-provider-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+reqwest-tls-no-provider-devel %{_description} This package contains library source intended for building other packages which use the "reqwest-tls-no-provider" feature of the "%{crate}" crate. %files -n %{name}+reqwest-tls-no-provider-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+schemars-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+schemars-devel %{_description} This package contains library source intended for building other packages which use the "schemars" feature of the "%{crate}" crate. %files -n %{name}+schemars-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+server-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+server-devel %{_description} This package contains library source intended for building other packages which use the "server" feature of the "%{crate}" crate. %files -n %{name}+server-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+server-side-http-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+server-side-http-devel %{_description} This package contains library source intended for building other packages which use the "server-side-http" feature of the "%{crate}" crate. %files -n %{name}+server-side-http-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tower-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tower-devel %{_description} This package contains library source intended for building other packages which use the "tower" feature of the "%{crate}" crate. %files -n %{name}+tower-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+transport-async-rw-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+transport-async-rw-devel %{_description} This package contains library source intended for building other packages which use the "transport-async-rw" feature of the "%{crate}" crate. %files -n %{name}+transport-async-rw-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+transport-child-process-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+transport-child-process-devel %{_description} This package contains library source intended for building other packages which use the "transport-child-process" feature of the "%{crate}" crate. %files -n %{name}+transport-child-process-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+transport-io-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+transport-io-devel %{_description} This package contains library source intended for building other packages which use the "transport-io" feature of the "%{crate}" crate. %files -n %{name}+transport-io-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+transport-streamable-http-client-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+transport-streamable-http-client-devel %{_description} This package contains library source intended for building other packages which use the "transport-streamable-http-client" feature of the "%{crate}" crate. %files -n %{name}+transport-streamable-http-client-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+transport-streamable-http-client-reqwest-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+transport-streamable-http-client-reqwest-devel %{_description} This package contains library source intended for building other packages which use the "transport-streamable-http-client-reqwest" feature of the "%{crate}" crate. %files -n %{name}+transport-streamable-http-client-reqwest-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+transport-streamable-http-server-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+transport-streamable-http-server-devel %{_description} This package contains library source intended for building other packages which use the "transport-streamable-http-server" feature of the "%{crate}" crate. %files -n %{name}+transport-streamable-http-server-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+transport-streamable-http-server-session-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+transport-streamable-http-server-session-devel %{_description} This package contains library source intended for building other packages which use the "transport-streamable-http-server-session" feature of the "%{crate}" crate. %files -n %{name}+transport-streamable-http-server-session-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+transport-worker-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+transport-worker-devel %{_description} This package contains library source intended for building other packages which use the "transport-worker" feature of the "%{crate}" crate. %files -n %{name}+transport-worker-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+uuid-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+uuid-devel %{_description} This package contains library source intended for building other packages which use the "uuid" feature of the "%{crate}" crate. %files -n %{name}+uuid-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Tue Jan 27 2026 John Doe - 0.14.0-1 - Uncommitted changes ## END: Generated by rpmautospec