# Generated by rust2rpm 28 %bcond check 0 %global debug_package %{nil} %global crate audrey Name: rust-audrey Version: 0.3.0 Release: %autorelease Summary: To simplify reading, writing and converting between a range of audio formats License: MIT OR Apache-2.0 URL: https://crates.io/crates/audrey Source: %{crates_source} # Manually created patch for downstream crate metadata changes Patch: audrey-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A crate to simplify reading, writing and converting between a range of audio formats.} %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}/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}+alac-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+alac-devel %{_description} This package contains library source intended for building other packages which use the "alac" feature of the "%{crate}" crate. %files -n %{name}+alac-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+caf-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+caf-devel %{_description} This package contains library source intended for building other packages which use the "caf" feature of the "%{crate}" crate. %files -n %{name}+caf-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+caf_alac-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+caf_alac-devel %{_description} This package contains library source intended for building other packages which use the "caf_alac" feature of the "%{crate}" crate. %files -n %{name}+caf_alac-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+claxon-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+claxon-devel %{_description} This package contains library source intended for building other packages which use the "claxon" feature of the "%{crate}" crate. %files -n %{name}+claxon-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+flac-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+flac-devel %{_description} This package contains library source intended for building other packages which use the "flac" feature of the "%{crate}" crate. %files -n %{name}+flac-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+hound-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+hound-devel %{_description} This package contains library source intended for building other packages which use the "hound" feature of the "%{crate}" crate. %files -n %{name}+hound-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lewton-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lewton-devel %{_description} This package contains library source intended for building other packages which use the "lewton" feature of the "%{crate}" crate. %files -n %{name}+lewton-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ogg_vorbis-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ogg_vorbis-devel %{_description} This package contains library source intended for building other packages which use the "ogg_vorbis" feature of the "%{crate}" crate. %files -n %{name}+ogg_vorbis-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wav-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wav-devel %{_description} This package contains library source intended for building other packages which use the "wav" feature of the "%{crate}" crate. %files -n %{name}+wav-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 %autochangelog