## START: Set by rpmautospec ## (rpmautospec version 0.7.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 26 %bcond_without check %global crate gst-plugin-gtk4 Name: rust-gst-plugin-gtk4 Version: 0.13.3 Release: %autorelease Summary: GStreamer GTK 4 sink element License: MPL-2.0 URL: https://crates.io/crates/gst-plugin-gtk4 Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: gst-plugin-gtk4-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * drop Windows-specific "winegl" feature Patch: gst-plugin-gtk4-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 BuildRequires: cargo-c >= 0.9.21 %global _description %{expand: GStreamer GTK 4 sink element.} %description %{_description} %package -n gstreamer1-plugin-gtk4 Summary: %{summary} # Apache-2.0 OR MIT # MIT # MIT OR Apache-2.0 # MPL-2.0 # Unlicense OR MIT License: MPL-2.0 AND MIT 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-gtk4 %{_description} %files -n gstreamer1-plugin-gtk4 %license LICENSE-MPL-2.0 %license LICENSE.dependencies %doc README.md %{_libdir}/gstreamer-1.0/libgstgtk4.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 %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}+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}+dmabuf-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dmabuf-devel %{_description} This package contains library source intended for building other packages which use the "dmabuf" feature of the "%{crate}" crate. %files -n %{name}+dmabuf-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}+gdk-wayland-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gdk-wayland-devel %{_description} This package contains library source intended for building other packages which use the "gdk-wayland" feature of the "%{crate}" crate. %files -n %{name}+gdk-wayland-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gdk-x11-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gdk-x11-devel %{_description} This package contains library source intended for building other packages which use the "gdk-x11" feature of the "%{crate}" crate. %files -n %{name}+gdk-x11-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gst-allocators-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gst-allocators-devel %{_description} This package contains library source intended for building other packages which use the "gst-allocators" feature of the "%{crate}" crate. %files -n %{name}+gst-allocators-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gst-gl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gst-gl-devel %{_description} This package contains library source intended for building other packages which use the "gst-gl" feature of the "%{crate}" crate. %files -n %{name}+gst-gl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gst-gl-egl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gst-gl-egl-devel %{_description} This package contains library source intended for building other packages which use the "gst-gl-egl" feature of the "%{crate}" crate. %files -n %{name}+gst-gl-egl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gst-gl-wayland-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gst-gl-wayland-devel %{_description} This package contains library source intended for building other packages which use the "gst-gl-wayland" feature of the "%{crate}" crate. %files -n %{name}+gst-gl-wayland-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gst-gl-x11-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gst-gl-x11-devel %{_description} This package contains library source intended for building other packages which use the "gst-gl-x11" feature of the "%{crate}" crate. %files -n %{name}+gst-gl-x11-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gtk_v4_10-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gtk_v4_10-devel %{_description} This package contains library source intended for building other packages which use the "gtk_v4_10" feature of the "%{crate}" crate. %files -n %{name}+gtk_v4_10-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gtk_v4_12-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gtk_v4_12-devel %{_description} This package contains library source intended for building other packages which use the "gtk_v4_12" feature of the "%{crate}" crate. %files -n %{name}+gtk_v4_12-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gtk_v4_14-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gtk_v4_14-devel %{_description} This package contains library source intended for building other packages which use the "gtk_v4_14" feature of the "%{crate}" crate. %files -n %{name}+gtk_v4_14-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gtk_v4_16-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gtk_v4_16-devel %{_description} This package contains library source intended for building other packages which use the "gtk_v4_16" feature of the "%{crate}" crate. %files -n %{name}+gtk_v4_16-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}+wayland-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wayland-devel %{_description} This package contains library source intended for building other packages which use the "wayland" feature of the "%{crate}" crate. %files -n %{name}+wayland-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+waylandegl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+waylandegl-devel %{_description} This package contains library source intended for building other packages which use the "waylandegl" feature of the "%{crate}" crate. %files -n %{name}+waylandegl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+x11egl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+x11egl-devel %{_description} This package contains library source intended for building other packages which use the "x11egl" feature of the "%{crate}" crate. %files -n %{name}+x11egl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+x11glx-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+x11glx-devel %{_description} This package contains library source intended for building other packages which use the "x11glx" feature of the "%{crate}" crate. %files -n %{name}+x11glx-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -f dmabuf,wayland,x11egl,x11glx %build %cargo_build -f dmabuf,wayland,x11egl,x11glx %{cargo_license_summary -f dmabuf,wayland,x11egl,x11glx} %{cargo_license -f dmabuf,wayland,x11egl,x11glx} > LICENSE.dependencies %cargo_cbuild -f dmabuf,wayland,x11egl,x11glx %install %cargo_install -f dmabuf,wayland,x11egl,x11glx %cargo_cinstall -f dmabuf,wayland,x11egl,x11glx # remove statically linked library rm -v %{buildroot}/%{_libdir}/gstreamer-1.0/libgstgtk4.a # remove unnecessary pkgconfig file rm -v %{buildroot}/%{_libdir}/pkgconfig/gstgtk4.pc %if %{with check} %check %cargo_test -f dmabuf,wayland,x11egl,x11glx %endif %changelog ## START: Generated by rpmautospec * Wed Nov 06 2024 Fabio Valentini - 0.13.3-1 - Update to version 0.13.3; Fixes RHBZ#2323358 * Wed Sep 18 2024 Fabio Valentini - 0.13.1-1 - Update to version 0.13.1; Fixes RHBZ#2298233 * Fri Jul 19 2024 Fedora Release Engineering - 0.12.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 21 2024 Fabio Valentini - 0.12.7-1 - Update to version 0.12.7; Fixes RHBZ#2283017 * Sun May 26 2024 Fabio Valentini - 0.12.5-3 - Build GStreamer plugin with DMA-BUF support * Thu May 23 2024 Fabio Valentini - 0.12.5-2 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Wed May 08 2024 Fabio Valentini - 0.12.5-1 - Update to version 0.12.5; Fixes RHBZ#2277752 * Wed Mar 27 2024 Fabio Valentini - 0.12.3-1 - Update to version 0.12.3; Fixes RHBZ#2263422 * Fri Jan 26 2024 Fedora Release Engineering - 0.11.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 13 2024 Fabio Valentini - 0.11.3-1 - Update to version 0.11.3; Fixes RHBZ#2249264 * Sat Oct 21 2023 Fabio Valentini - 0.11.1-1 - Update to version 0.11.1; Fixes RHBZ#2245481 * Sat Sep 30 2023 Kalev Lember - 0.11.0-2 - Package review fixes (#2241245) - Fix source package license to only contain the license of the project itself - Add virtual provides for gst-plugin-gtk4 to gstreamer1-plugin-gtk4 subpackage - Use cargo_cbuild and cargo_cinstall macros - Explicitly enable wayland, x11egl, and x11glx features * Sat Sep 30 2023 Kalev Lember - 0.11.0-1 - Update to 0.11.0 - Downgrade cargo-c dep to the version available in Fedora * Sat Sep 30 2023 Kalev Lember - 0.10.10-1 - Initial Fedora packaging (#2241245) ## END: Generated by rpmautospec