Blob Blame History Raw
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}

%global crate pipewire

Name:           rust-pipewire
Version:        0.8.0
Release:        %autorelease
Summary:        Rust bindings for PipeWire

License:        MIT
URL:            https://crates.io/crates/pipewire
Source:         %{crates_source}

BuildRequires:  cargo-rpm-macros >= 24

%global _description %{expand:
Rust bindings for PipeWire.}

%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}/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}+v0_3_32-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+v0_3_32-devel %{_description}

This package contains library source intended for building other packages which
use the "v0_3_32" feature of the "%{crate}" crate.

%files       -n %{name}+v0_3_32-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+v0_3_33-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+v0_3_33-devel %{_description}

This package contains library source intended for building other packages which
use the "v0_3_33" feature of the "%{crate}" crate.

%files       -n %{name}+v0_3_33-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+v0_3_34-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+v0_3_34-devel %{_description}

This package contains library source intended for building other packages which
use the "v0_3_34" feature of the "%{crate}" crate.

%files       -n %{name}+v0_3_34-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+v0_3_39-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+v0_3_39-devel %{_description}

This package contains library source intended for building other packages which
use the "v0_3_39" feature of the "%{crate}" crate.

%files       -n %{name}+v0_3_39-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+v0_3_40-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+v0_3_40-devel %{_description}

This package contains library source intended for building other packages which
use the "v0_3_40" feature of the "%{crate}" crate.

%files       -n %{name}+v0_3_40-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+v0_3_41-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+v0_3_41-devel %{_description}

This package contains library source intended for building other packages which
use the "v0_3_41" feature of the "%{crate}" crate.

%files       -n %{name}+v0_3_41-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+v0_3_43-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+v0_3_43-devel %{_description}

This package contains library source intended for building other packages which
use the "v0_3_43" feature of the "%{crate}" crate.

%files       -n %{name}+v0_3_43-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+v0_3_44-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+v0_3_44-devel %{_description}

This package contains library source intended for building other packages which
use the "v0_3_44" feature of the "%{crate}" crate.

%files       -n %{name}+v0_3_44-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+v0_3_45-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+v0_3_45-devel %{_description}

This package contains library source intended for building other packages which
use the "v0_3_45" feature of the "%{crate}" crate.

%files       -n %{name}+v0_3_45-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+v0_3_49-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+v0_3_49-devel %{_description}

This package contains library source intended for building other packages which
use the "v0_3_49" feature of the "%{crate}" crate.

%files       -n %{name}+v0_3_49-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+v0_3_53-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+v0_3_53-devel %{_description}

This package contains library source intended for building other packages which
use the "v0_3_53" feature of the "%{crate}" crate.

%files       -n %{name}+v0_3_53-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+v0_3_57-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+v0_3_57-devel %{_description}

This package contains library source intended for building other packages which
use the "v0_3_57" feature of the "%{crate}" crate.

%files       -n %{name}+v0_3_57-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+v0_3_64-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+v0_3_64-devel %{_description}

This package contains library source intended for building other packages which
use the "v0_3_64" feature of the "%{crate}" crate.

%files       -n %{name}+v0_3_64-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+v0_3_65-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+v0_3_65-devel %{_description}

This package contains library source intended for building other packages which
use the "v0_3_65" feature of the "%{crate}" crate.

%files       -n %{name}+v0_3_65-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+v0_3_77-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+v0_3_77-devel %{_description}

This package contains library source intended for building other packages which
use the "v0_3_77" feature of the "%{crate}" crate.

%files       -n %{name}+v0_3_77-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