## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 28 %bcond check 1 %global crate gst-plugin-fallbackswitch Name: rust-gst-plugin-fallbackswitch Version: 0.15.0 Release: %autorelease Summary: GStreamer Fallback Switcher and Source Plugin License: MPL-2.0 URL: https://crates.io/crates/gst-plugin-fallbackswitch Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 BuildRequires: cargo-c >= 0.9.21 %global _description %{expand: GStreamer Fallback Switcher and Source Plugin.} %description %{_description} %package -n gstreamer1-plugin-fallbackswitch Summary: %{summary} # Apache-2.0 OR MIT # MIT # MIT OR Apache-2.0 # MPL-2.0 # Unlicense OR MIT License: %{shrink: MIT AND MPL-2.0 AND (Apache-2.0 OR MIT) AND (Unlicense OR MIT) } # LICENSE.dependencies contains a full license breakdown # additionally provide the upstream name Provides: %{crate} = %{version}-%{release} %description -n gstreamer1-plugin-fallbackswitch %{_description} %files -n gstreamer1-plugin-fallbackswitch %license LICENSE-MPL-2.0 %license LICENSE.dependencies %{_libdir}/gstreamer-1.0/libgstfallbackswitch.so %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-MPL-2.0 %{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}+capi-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+capi-devel %{_description} This package contains library source intended for building other packages which use the "capi" feature of the "%{crate}" crate. %files -n %{name}+capi-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+doc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+doc-devel %{_description} This package contains library source intended for building other packages which use the "doc" feature of the "%{crate}" crate. %files -n %{name}+doc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+static-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+static-devel %{_description} This package contains library source intended for building other packages which use the "static" feature of the "%{crate}" crate. %files -n %{name}+static-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v1_20-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v1_20-devel %{_description} This package contains library source intended for building other packages which use the "v1_20" feature of the "%{crate}" crate. %files -n %{name}+v1_20-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %cargo_cbuild %install %cargo_install %cargo_cinstall # remove statically linked library rm -v %{buildroot}/%{_libdir}/gstreamer-1.0/libgstfallbackswitch.a # remove unnecessary pkgconfig file rm -v %{buildroot}/%{_libdir}/pkgconfig/gstfallbackswitch.pc %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Wed Mar 11 2026 Fabio Valentini - 0.15.0-1 - Update to version 0.15.0; Fixes RHBZ#2441646 * Sat Jan 17 2026 Fedora Release Engineering - 0.14.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Mon Nov 03 2025 Fabio Valentini - 0.14.3-1 - Update to version 0.14.3; Fixes RHBZ#2408832 * Fri Sep 19 2025 Fabio Valentini - 0.14.2-1 - Update to version 0.14.2; Fixes RHBZ#2396440 * Thu Aug 07 2025 Fabio Valentini - 0.14.0-1 - Update to version 0.14.0; Fixes RHBZ#2380858 * Fri Jul 25 2025 Fedora Release Engineering - 0.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Wed Feb 05 2025 Yaakov Selkowitz - 0.13.0-1 - Initial import (rhbz#2342460) ## END: Generated by rpmautospec