# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate tide Name: rust-tide Version: 0.16.0 Release: %autorelease Summary: Minimal and pragmatic Rust web application framework built for rapid development License: MIT OR Apache-2.0 URL: https://crates.io/crates/tide Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: A minimal and pragmatic Rust web application framework built for rapid development.} %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 %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-MIT %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}+async-h1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-h1-devel %{_description} This package contains library source intended for building other packages which use the "async-h1" feature of the "%{crate}" crate. %files -n %{name}+async-h1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-session-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-session-devel %{_description} This package contains library source intended for building other packages which use the "async-session" feature of the "%{crate}" crate. %files -n %{name}+async-session-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+cookies-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cookies-devel %{_description} This package contains library source intended for building other packages which use the "cookies" feature of the "%{crate}" crate. %files -n %{name}+cookies-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+docs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+docs-devel %{_description} This package contains library source intended for building other packages which use the "docs" feature of the "%{crate}" crate. %files -n %{name}+docs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+femme-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+femme-devel %{_description} This package contains library source intended for building other packages which use the "femme" feature of the "%{crate}" crate. %files -n %{name}+femme-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+h1-server-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+h1-server-devel %{_description} This package contains library source intended for building other packages which use the "h1-server" feature of the "%{crate}" crate. %files -n %{name}+h1-server-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+logger-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+logger-devel %{_description} This package contains library source intended for building other packages which use the "logger" feature of the "%{crate}" crate. %files -n %{name}+logger-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sessions-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sessions-devel %{_description} This package contains library source intended for building other packages which use the "sessions" feature of the "%{crate}" crate. %files -n %{name}+sessions-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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog