Blame rust-gstreamer-video.spec

57b4b1d
# Generated by rust2rpm 26
57b4b1d
# * missing dev-dependency: gstreamer-check ^0.22
57b4b1d
%bcond_with check
2ac887f
%global debug_package %{nil}
2ac887f
2ac887f
%global crate gstreamer-video
2ac887f
00c4b46
Name:           rust-gstreamer-video
24a975b
Version:        0.22.6
fb868c8
Release:        %autorelease
5e5f944
Summary:        Rust bindings for GStreamer Video library
2ac887f
00c4b46
License:        MIT OR Apache-2.0
2ac887f
URL:            https://crates.io/crates/gstreamer-video
2ac887f
Source:         %{crates_source}
2ac887f
c521acd
BuildRequires:  cargo-rpm-macros >= 24
d475b0d
d475b0d
%global _description %{expand:
48b0dff
Rust bindings for GStreamer Video library.}
2ac887f
2ac887f
%description %{_description}
2ac887f
2ac887f
%package        devel
2ac887f
Summary:        %{summary}
2ac887f
BuildArch:      noarch
2ac887f
2ac887f
%description    devel %{_description}
2ac887f
38aeda0
This package contains library source intended for building other packages which
38aeda0
use the "%{crate}" crate.
2ac887f
2ac887f
%files          devel
00c4b46
%license %{crate_instdir}/COPYRIGHT
00c4b46
%license %{crate_instdir}/LICENSE-APACHE
00c4b46
%license %{crate_instdir}/LICENSE-MIT
00c4b46
%doc %{crate_instdir}/CHANGELOG.md
00c4b46
%doc %{crate_instdir}/README.md
00c4b46
%{crate_instdir}/
2ac887f
2ac887f
%package     -n %{name}+default-devel
2ac887f
Summary:        %{summary}
2ac887f
BuildArch:      noarch
2ac887f
2ac887f
%description -n %{name}+default-devel %{_description}
2ac887f
38aeda0
This package contains library source intended for building other packages which
38aeda0
use the "default" feature of the "%{crate}" crate.
2ac887f
2ac887f
%files       -n %{name}+default-devel
00c4b46
%ghost %{crate_instdir}/Cargo.toml
2ac887f
38aeda0
%package     -n %{name}+serde-devel
38aeda0
Summary:        %{summary}
38aeda0
BuildArch:      noarch
38aeda0
38aeda0
%description -n %{name}+serde-devel %{_description}
38aeda0
38aeda0
This package contains library source intended for building other packages which
38aeda0
use the "serde" feature of the "%{crate}" crate.
38aeda0
38aeda0
%files       -n %{name}+serde-devel
00c4b46
%ghost %{crate_instdir}/Cargo.toml
38aeda0
d475b0d
%package     -n %{name}+v1_16-devel
d475b0d
Summary:        %{summary}
d475b0d
BuildArch:      noarch
d475b0d
d475b0d
%description -n %{name}+v1_16-devel %{_description}
d475b0d
38aeda0
This package contains library source intended for building other packages which
38aeda0
use the "v1_16" feature of the "%{crate}" crate.
d475b0d
d475b0d
%files       -n %{name}+v1_16-devel
00c4b46
%ghost %{crate_instdir}/Cargo.toml
d475b0d
f2dfdd6
%package     -n %{name}+v1_18-devel
f2dfdd6
Summary:        %{summary}
f2dfdd6
BuildArch:      noarch
f2dfdd6
f2dfdd6
%description -n %{name}+v1_18-devel %{_description}
f2dfdd6
38aeda0
This package contains library source intended for building other packages which
38aeda0
use the "v1_18" feature of the "%{crate}" crate.
f2dfdd6
f2dfdd6
%files       -n %{name}+v1_18-devel
00c4b46
%ghost %{crate_instdir}/Cargo.toml
f2dfdd6
84d503a
%package     -n %{name}+v1_20-devel
84d503a
Summary:        %{summary}
84d503a
BuildArch:      noarch
84d503a
84d503a
%description -n %{name}+v1_20-devel %{_description}
84d503a
38aeda0
This package contains library source intended for building other packages which
38aeda0
use the "v1_20" feature of the "%{crate}" crate.
84d503a
84d503a
%files       -n %{name}+v1_20-devel
00c4b46
%ghost %{crate_instdir}/Cargo.toml
84d503a
c521acd
%package     -n %{name}+v1_22-devel
c521acd
Summary:        %{summary}
c521acd
BuildArch:      noarch
c521acd
c521acd
%description -n %{name}+v1_22-devel %{_description}
c521acd
c521acd
This package contains library source intended for building other packages which
c521acd
use the "v1_22" feature of the "%{crate}" crate.
c521acd
c521acd
%files       -n %{name}+v1_22-devel
c521acd
%ghost %{crate_instdir}/Cargo.toml
c521acd
57b4b1d
%package     -n %{name}+v1_24-devel
57b4b1d
Summary:        %{summary}
57b4b1d
BuildArch:      noarch
57b4b1d
57b4b1d
%description -n %{name}+v1_24-devel %{_description}
57b4b1d
57b4b1d
This package contains library source intended for building other packages which
57b4b1d
use the "v1_24" feature of the "%{crate}" crate.
57b4b1d
57b4b1d
%files       -n %{name}+v1_24-devel
57b4b1d
%ghost %{crate_instdir}/Cargo.toml
57b4b1d
2ac887f
%prep
3c7fd65
%autosetup -n %{crate}-%{version} -p1
2ac887f
%cargo_prep
2ac887f
d475b0d
%generate_buildrequires
d475b0d
%cargo_generate_buildrequires
d475b0d
2ac887f
%build
2ac887f
%cargo_build
2ac887f
2ac887f
%install
2ac887f
%cargo_install
2ac887f
2ac887f
%if %{with check}
2ac887f
%check
57b4b1d
%cargo_test
2ac887f
%endif
2ac887f
2ac887f
%changelog
fb868c8
%autochangelog