## 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 # * missing dev-dependency: gstreamer-check ^0.22 %bcond_with check %global crate gst-plugin-gif Name: rust-gst-plugin-gif Version: 0.13.0 Release: %autorelease Summary: GStreamer GIF plugin License: MIT OR Apache-2.0 URL: https://crates.io/crates/gst-plugin-gif Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 BuildRequires: cargo-c >= 0.9.21 %global _description %{expand: GStreamer GIF plugin.} %description %{_description} %package -n gstreamer1-plugin-gif Summary: %{summary} # Apache-2.0 OR MIT # MIT # MIT OR Apache-2.0 # Unlicense OR MIT License: 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-gif %{_description} %files -n gstreamer1-plugin-gif %license LICENSE-APACHE %license LICENSE-MIT %license LICENSE.dependencies %{_libdir}/gstreamer-1.0/libgstgif.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-APACHE %license %{crate_instdir}/LICENSE-MIT %{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 %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/libgstgif.a # remove unnecessary pkgconfig file rm -v %{buildroot}/%{_libdir}/pkgconfig/gstgif.pc %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Wed Sep 18 2024 Fabio Valentini - 0.13.0-1 - Update to version 0.13.0; Fixes RHBZ#2298234 * 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#2293542 * Thu May 23 2024 Fabio Valentini - 0.12.0-2 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Wed Mar 27 2024 Fabio Valentini - 0.12.0-1 - Update to version 0.12.0; Fixes RHBZ#2263421 * Fri Jan 26 2024 Fedora Release Engineering - 0.11.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Oct 22 2023 Fabio Valentini - 0.11.1-1 - Update to version 0.11.1 * Sun Oct 22 2023 Fabio Valentini - 0.11.0-1 - Initial import (#2245476) ## END: Generated by rpmautospec