# Generated by rust2rpm 26 %bcond_with check %global debug_package %{nil} %global crate rspotify Name: rust-rspotify Version: 0.13.3 Release: %autorelease Summary: Spotify API wrapper License: MIT URL: https://crates.io/crates/rspotify Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: rspotify-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Spotify API wrapper.} %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 %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+__async-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+__async-devel %{_description} This package contains library source intended for building other packages which use the "__async" feature of the "%{crate}" crate. %files -n %{name}+__async-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+__sync-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+__sync-devel %{_description} This package contains library source intended for building other packages which use the "__sync" feature of the "%{crate}" crate. %files -n %{name}+__sync-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-stream-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-stream-devel %{_description} This package contains library source intended for building other packages which use the "async-stream" feature of the "%{crate}" crate. %files -n %{name}+async-stream-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-trait-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-trait-devel %{_description} This package contains library source intended for building other packages which use the "async-trait" feature of the "%{crate}" crate. %files -n %{name}+async-trait-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+client-ureq-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+client-ureq-devel %{_description} This package contains library source intended for building other packages which use the "client-ureq" feature of the "%{crate}" crate. %files -n %{name}+client-ureq-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dotenvy-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dotenvy-devel %{_description} This package contains library source intended for building other packages which use the "dotenvy" feature of the "%{crate}" crate. %files -n %{name}+dotenvy-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+futures-devel %{_description} This package contains library source intended for building other packages which use the "futures" feature of the "%{crate}" crate. %files -n %{name}+futures-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ureq-native-tls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ureq-native-tls-devel %{_description} This package contains library source intended for building other packages which use the "ureq-native-tls" feature of the "%{crate}" crate. %files -n %{name}+ureq-native-tls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ureq-rustls-tls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ureq-rustls-tls-devel %{_description} This package contains library source intended for building other packages which use the "ureq-rustls-tls" feature of the "%{crate}" crate. %files -n %{name}+ureq-rustls-tls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ureq-rustls-tls-native-certs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ureq-rustls-tls-native-certs-devel %{_description} This package contains library source intended for building other packages which use the "ureq-rustls-tls-native-certs" feature of the "%{crate}" crate. %files -n %{name}+ureq-rustls-tls-native-certs-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -n -f client-ureq,ureq-native-tls,ureq-rustls-tls-native-certs,ureq-rustls-tls %build %cargo_build -n -f client-ureq,ureq-native-tls,ureq-rustls-tls-native-certs,ureq-rustls-tls %install %cargo_install -n -f client-ureq,ureq-native-tls,ureq-rustls-tls-native-certs,ureq-rustls-tls %if %{with check} %check %cargo_test %endif %changelog %autochangelog