## 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 crate agent-client-protocol-schema Name: rust-agent-client-protocol-schema Version: 0.10.8 Release: %autorelease Summary: Protocol for standard communication for AI coding agents License: Apache-2.0 URL: https://crates.io/crates/agent-client-protocol-schema Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A protocol for standardizing communication between code editors and AI coding agents.} %description %{_description} %package -n %{crate} Summary: %{summary} # FIXME: paste output of %%cargo_license_summary here License: # FIXME # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license LICENSE.dependencies %doc README.md %{_bindir}/generate %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 %{crate_instdir}/LICENSE %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}+unstable-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-devel %{_description} This package contains library source intended for building other packages which use the "unstable" feature of the "%{crate}" crate. %files -n %{name}+unstable-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable_cancel_request-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable_cancel_request-devel %{_description} This package contains library source intended for building other packages which use the "unstable_cancel_request" feature of the "%{crate}" crate. %files -n %{name}+unstable_cancel_request-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable_session_fork-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable_session_fork-devel %{_description} This package contains library source intended for building other packages which use the "unstable_session_fork" feature of the "%{crate}" crate. %files -n %{name}+unstable_session_fork-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable_session_info_update-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable_session_info_update-devel %{_description} This package contains library source intended for building other packages which use the "unstable_session_info_update" feature of the "%{crate}" crate. %files -n %{name}+unstable_session_info_update-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable_session_list-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable_session_list-devel %{_description} This package contains library source intended for building other packages which use the "unstable_session_list" feature of the "%{crate}" crate. %files -n %{name}+unstable_session_list-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable_session_model-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable_session_model-devel %{_description} This package contains library source intended for building other packages which use the "unstable_session_model" feature of the "%{crate}" crate. %files -n %{name}+unstable_session_model-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable_session_resume-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable_session_resume-devel %{_description} This package contains library source intended for building other packages which use the "unstable_session_resume" feature of the "%{crate}" crate. %files -n %{name}+unstable_session_resume-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable_session_usage-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable_session_usage-devel %{_description} This package contains library source intended for building other packages which use the "unstable_session_usage" feature of the "%{crate}" crate. %files -n %{name}+unstable_session_usage-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Sat Feb 07 2026 John Doe - 0.10.8-1 - Uncommitted changes ## END: Generated by rpmautospec