File rust-iroh-quinn-0.13.spec of Package rust-iroh-quinn-0.13
# Generated by rust2rpm 27
%bcond check 1
%global debug_package %{nil}
%global crate iroh-quinn
Name: rust-%{crate}-0.13
Version: 0.13.0
Release: 1%{?dist}
Summary: Versatile QUIC transport protocol implementation
License: MIT OR Apache-2.0
URL: https://crates.io/crates/iroh-quinn
Source: https://crates.io/api/v1/crates/%crate/%version/download#/%crate-%version.crate
# Automatically generated patch to strip dependencies and normalize metadata
Patch: iroh-quinn-fix-metadata-auto.diff
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Versatile QUIC transport protocol implementation.}
%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-executor-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+async-executor-devel %{_description}
This package contains library source intended for building other packages which
use the "async-executor" feature of the "%{crate}" crate.
%files -n %{name}+async-executor-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+async-fs-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+async-fs-devel %{_description}
This package contains library source intended for building other packages which
use the "async-fs" feature of the "%{crate}" crate.
%files -n %{name}+async-fs-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+async-global-executor-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+async-global-executor-devel %{_description}
This package contains library source intended for building other packages which
use the "async-global-executor" feature of the "%{crate}" crate.
%files -n %{name}+async-global-executor-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+async-io-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+async-io-devel %{_description}
This package contains library source intended for building other packages which
use the "async-io" feature of the "%{crate}" crate.
%files -n %{name}+async-io-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+async-std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+async-std-devel %{_description}
This package contains library source intended for building other packages which
use the "async-std" feature of the "%{crate}" crate.
%files -n %{name}+async-std-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+aws-lc-rs-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+aws-lc-rs-devel %{_description}
This package contains library source intended for building other packages which
use the "aws-lc-rs" feature of the "%{crate}" crate.
%files -n %{name}+aws-lc-rs-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+aws-lc-rs-fips-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+aws-lc-rs-fips-devel %{_description}
This package contains library source intended for building other packages which
use the "aws-lc-rs-fips" feature of the "%{crate}" crate.
%files -n %{name}+aws-lc-rs-fips-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+futures-io-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+futures-io-devel %{_description}
This package contains library source intended for building other packages which
use the "futures-io" feature of the "%{crate}" crate.
%files -n %{name}+futures-io-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+lock_tracking-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+lock_tracking-devel %{_description}
This package contains library source intended for building other packages which
use the "lock_tracking" feature of the "%{crate}" crate.
%files -n %{name}+lock_tracking-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+log-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+log-devel %{_description}
This package contains library source intended for building other packages which
use the "log" feature of the "%{crate}" crate.
%files -n %{name}+log-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+platform-verifier-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+platform-verifier-devel %{_description}
This package contains library source intended for building other packages which
use the "platform-verifier" feature of the "%{crate}" crate.
%files -n %{name}+platform-verifier-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+ring-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+ring-devel %{_description}
This package contains library source intended for building other packages which
use the "ring" feature of the "%{crate}" crate.
%files -n %{name}+ring-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+runtime-async-std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+runtime-async-std-devel %{_description}
This package contains library source intended for building other packages which
use the "runtime-async-std" feature of the "%{crate}" crate.
%files -n %{name}+runtime-async-std-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+runtime-smol-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+runtime-smol-devel %{_description}
This package contains library source intended for building other packages which
use the "runtime-smol" feature of the "%{crate}" crate.
%files -n %{name}+runtime-smol-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+runtime-tokio-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+runtime-tokio-devel %{_description}
This package contains library source intended for building other packages which
use the "runtime-tokio" feature of the "%{crate}" crate.
%files -n %{name}+runtime-tokio-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rustls-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rustls-devel %{_description}
This package contains library source intended for building other packages which
use the "rustls" feature of the "%{crate}" crate.
%files -n %{name}+rustls-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rustls-aws-lc-rs-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rustls-aws-lc-rs-devel %{_description}
This package contains library source intended for building other packages which
use the "rustls-aws-lc-rs" feature of the "%{crate}" crate.
%files -n %{name}+rustls-aws-lc-rs-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rustls-aws-lc-rs-fips-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rustls-aws-lc-rs-fips-devel %{_description}
This package contains library source intended for building other packages which
use the "rustls-aws-lc-rs-fips" feature of the "%{crate}" crate.
%files -n %{name}+rustls-aws-lc-rs-fips-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rustls-log-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rustls-log-devel %{_description}
This package contains library source intended for building other packages which
use the "rustls-log" feature of the "%{crate}" crate.
%files -n %{name}+rustls-log-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rustls-ring-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rustls-ring-devel %{_description}
This package contains library source intended for building other packages which
use the "rustls-ring" feature of the "%{crate}" crate.
%files -n %{name}+rustls-ring-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+smol-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+smol-devel %{_description}
This package contains library source intended for building other packages which
use the "smol" feature of the "%{crate}" crate.
%files -n %{name}+smol-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
chmod a-x src/*.rs
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif