diff --git a/.gitignore b/.gitignore index 2d1d621..11ab77c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /gstreamer-editing-services-0.13.0.crate +/gstreamer-editing-services-0.14.0.crate diff --git a/rust-gstreamer-editing-services.spec b/rust-gstreamer-editing-services.spec index 39308f7..46fb544 100644 --- a/rust-gstreamer-editing-services.spec +++ b/rust-gstreamer-editing-services.spec @@ -1,50 +1,37 @@ -# Generated by rust2rpm-9-1.fc31 +# Generated by rust2rpm 11 %bcond_with check %global debug_package %{nil} %global crate gstreamer-editing-services Name: rust-%{crate} -Version: 0.13.0 -Release: 2%{?dist} +Version: 0.14.0 +Release: 1%{?dist} Summary: Rust bindings for GStreamer Editing Services # Upstream license specification: MIT/Apache-2.0 -# https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/merge_requests/255 License: MIT or ASL 2.0 URL: https://crates.io/crates/gstreamer-editing-services Source: %{crates_source} ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif BuildRequires: rust-packaging -BuildRequires: (crate(bitflags/default) >= 1.0.0 with crate(bitflags/default) < 2.0.0) -BuildRequires: (crate(gio-sys/default) >= 0.8.0 with crate(gio-sys/default) < 0.9.0) -BuildRequires: (crate(gio/default) >= 0.6.0 with crate(gio/default) < 0.7.0) -BuildRequires: (crate(glib-sys/default) >= 0.8.0 with crate(glib-sys/default) < 0.9.0) -BuildRequires: (crate(glib/default) >= 0.7.0 with crate(glib/default) < 0.8.0) -BuildRequires: (crate(gobject-sys/default) >= 0.8.0 with crate(gobject-sys/default) < 0.9.0) -BuildRequires: (crate(gstreamer-base-sys/default) >= 0.7.0 with crate(gstreamer-base-sys/default) < 0.8.0) -BuildRequires: (crate(gstreamer-base/default) >= 0.13.0 with crate(gstreamer-base/default) < 0.14.0) -BuildRequires: (crate(gstreamer-editing-services-sys/default) >= 0.7.0 with crate(gstreamer-editing-services-sys/default) < 0.8.0) -BuildRequires: (crate(gstreamer-editing-services-sys/v1_8) >= 0.7.0 with crate(gstreamer-editing-services-sys/v1_8) < 0.8.0) -BuildRequires: (crate(gstreamer-pbutils-sys/default) >= 0.7.0 with crate(gstreamer-pbutils-sys/default) < 0.8.0) -BuildRequires: (crate(gstreamer-pbutils/default) >= 0.13.0 with crate(gstreamer-pbutils/default) < 0.14.0) -BuildRequires: (crate(gstreamer-sys/default) >= 0.7.0 with crate(gstreamer-sys/default) < 0.8.0) -BuildRequires: (crate(gstreamer/default) >= 0.13.0 with crate(gstreamer/default) < 0.14.0) -BuildRequires: (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0) - -%global _description \ -NOTE: The GStreamer Editing Services API is not Thread Safe and before the 1.16\ -release this was not properly expressed in the code, leading to possible data\ -unsafety even in the rust bindings. We strongly encourage you to run with\ -GES >= 1.16.\ -\ -These bindings are providing a safe API that can be used to interface with\ -GStreamer, e.g. for writing GStreamer-based applications and GStreamer plugins.\ -\ -The bindings are mostly autogenerated with gir based on the\ -GObject-Introspection API metadata provided by the GStreamer project. + +%global _description %{expand: +NOTE: The GStreamer Editing Services API is not Thread Safe and before the 1.16 +release this was not properly expressed in the code, leading to possible data +unsafety even in the rust bindings. We strongly encourage you to run with +GES >= 1.16. + +These bindings are providing a safe API that can be used to interface with +GStreamer, e.g. for writing GStreamer-based applications and GStreamer plugins. + +The bindings are mostly autogenerated with gir based on the +GObject-Introspection API metadata provided by the GStreamer project.} %description %{_description} @@ -59,6 +46,7 @@ which use "%{crate}" crate. %files devel %doc README.md +%license LICENSE-MIT LICENSE-APACHE %{cargo_registry}/%{crate}-%{version}/ %package -n %{name}+default-devel @@ -185,6 +173,9 @@ which use "v1_8" feature of "%{crate}" crate. %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +%generate_buildrequires +%cargo_generate_buildrequires + %build %cargo_build @@ -197,6 +188,9 @@ which use "v1_8" feature of "%{crate}" crate. %endif %changelog +* Tue Dec 10 2019 Josh Stone - 0.14.0-1 +- Update to 0.14.0 + * Fri Jul 26 2019 Fedora Release Engineering - 0.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 7822337..cda4400 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gstreamer-editing-services-0.13.0.crate) = 1bba2abc42cd25c3d30e7b301829fff894d58ae368bf12f588436a6f7e85078051ef0e6bb214d35968ff18b57bd78998b42192456cb2254c45b3a652a9158b3a +SHA512 (gstreamer-editing-services-0.14.0.crate) = 7a429bd585e63dd735dbcf71079ad90d61f46a5a97207c2d61806e65e15cc9e5b631ad973b39e3b5d4c9627fc72f430e9cf7de9515dd4cb7d5954ba011d36575