You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
606 lines
17 KiB
606 lines
17 KiB
2 years ago
|
# Generated by rust2rpm 24
|
||
3 years ago
|
%bcond_without check
|
||
5 years ago
|
|
||
3 years ago
|
# Apache-2.0 OR MIT
|
||
2 years ago
|
# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
|
||
3 years ago
|
# BSD-2-Clause
|
||
|
# BSD-2-Clause AND ISC
|
||
|
# MIT
|
||
|
# MIT OR Apache-2.0
|
||
2 years ago
|
# Unlicense OR MIT
|
||
|
%global binary_license BSD-2-Clause AND ISC AND MIT AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
|
||
|
# LICENSE.dependencies contains a full license breakdown
|
||
5 years ago
|
|
||
5 years ago
|
%global crate rav1e
|
||
|
|
||
3 years ago
|
Name: rust-rav1e
|
||
2 years ago
|
Version: 0.6.6
|
||
3 years ago
|
Release: %autorelease
|
||
5 years ago
|
Summary: Fastest and safest AV1 encoder
|
||
|
|
||
2 years ago
|
# rav1e is published under the terms of the BSD-2-Clause license,
|
||
|
# with the exception of one file: "src/ext/x86/x86inc.asm" (ISC license)
|
||
3 years ago
|
License: BSD-2-Clause AND ISC
|
||
5 years ago
|
URL: https://crates.io/crates/rav1e
|
||
|
Source: %{crates_source}
|
||
3 years ago
|
# Automatically generated patch to strip foreign dependencies
|
||
|
Patch: rav1e-fix-metadata-auto.diff
|
||
|
# Manually created patch for downstream crate metadata changes
|
||
2 years ago
|
# * update license expression in crate metadata
|
||
|
# * drop references to benchmarks
|
||
|
# * relax stricter-than-SemVer version requirements
|
||
|
# * drop unused, no-op rust_hawktracer dependency and tracing feature
|
||
|
# * drop unused and outdated optional clap_lex dependency
|
||
|
# * drop WASM-specific wasm-bindgen dependency and wasm feature
|
||
|
# * drop unused, benchmark-only criterion dev-dependency
|
||
3 years ago
|
Patch: rav1e-fix-metadata.diff
|
||
2 years ago
|
Patch: 0001-remove-references-to-removed-built-and-rust_hawktrac.patch
|
||
5 years ago
|
|
||
2 years ago
|
BuildRequires: rust-packaging >= 23
|
||
5 years ago
|
|
||
|
%global _description %{expand:
|
||
2 years ago
|
The fastest and safest AV1 encoder.}
|
||
5 years ago
|
|
||
|
%description %{_description}
|
||
|
|
||
|
%package -n %{crate}
|
||
|
Summary: %{summary}
|
||
3 years ago
|
License: %{binary_license}
|
||
5 years ago
|
|
||
|
%description -n %{crate} %{_description}
|
||
|
|
||
|
%files -n %{crate}
|
||
3 years ago
|
%license LICENSE
|
||
2 years ago
|
%license LICENSE.dependencies
|
||
3 years ago
|
%license PATENTS
|
||
5 years ago
|
%doc README.md
|
||
|
%{_bindir}/rav1e
|
||
2 years ago
|
%{_bindir}/rav1e-ch
|
||
5 years ago
|
|
||
|
%package -n %{crate}-libs
|
||
|
Summary: Library files for rav1e
|
||
5 years ago
|
License: %{binary_license}
|
||
5 years ago
|
|
||
|
%description -n %{crate}-libs
|
||
|
Library files for rav1e, the fastest and safest AV1 encoder.
|
||
|
|
||
|
%files -n %{crate}-libs
|
||
3 years ago
|
%license LICENSE
|
||
2 years ago
|
%license LICENSE.dependencies
|
||
3 years ago
|
%license PATENTS
|
||
|
%doc README.md
|
||
5 years ago
|
%{_libdir}/librav1e.so.0*
|
||
|
|
||
3 years ago
|
%package -n %{crate}-devel
|
||
5 years ago
|
Summary: %{summary}
|
||
3 years ago
|
License: %{binary_license}
|
||
3 years ago
|
Requires: %{crate}-libs%{?_isa} = %{version}-%{release}
|
||
5 years ago
|
|
||
3 years ago
|
%description -n %{crate}-devel %{_description}
|
||
5 years ago
|
|
||
3 years ago
|
%files -n %{crate}-devel
|
||
|
%{_includedir}/rav1e/
|
||
|
%{_libdir}/librav1e.so
|
||
|
%{_libdir}/pkgconfig/rav1e.pc
|
||
|
|
||
|
%package devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "%{crate}" crate.
|
||
5 years ago
|
|
||
3 years ago
|
%files devel
|
||
3 years ago
|
%license %{crate_instdir}/LICENSE
|
||
|
%license %{crate_instdir}/PATENTS
|
||
|
%doc %{crate_instdir}/README.md
|
||
|
%{crate_instdir}/
|
||
5 years ago
|
|
||
|
%package -n %{name}+default-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+default-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "default" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+default-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+aom-sys-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+aom-sys-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "aom-sys" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+aom-sys-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+asm-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+asm-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "asm" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+asm-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
4 years ago
|
%package -n %{name}+av-metrics-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+av-metrics-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "av-metrics" feature of the "%{crate}" crate.
|
||
4 years ago
|
|
||
|
%files -n %{name}+av-metrics-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
4 years ago
|
|
||
5 years ago
|
%package -n %{name}+backtrace-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+backtrace-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "backtrace" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+backtrace-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+binaries-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+binaries-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "binaries" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+binaries-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+byteorder-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+byteorder-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "byteorder" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+byteorder-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+capi-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+capi-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "capi" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+capi-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+cc-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+cc-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "cc" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+cc-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
4 years ago
|
%package -n %{name}+channel-api-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+channel-api-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "channel-api" feature of the "%{crate}" crate.
|
||
4 years ago
|
|
||
|
%files -n %{name}+channel-api-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
4 years ago
|
|
||
5 years ago
|
%package -n %{name}+check_asm-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+check_asm-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "check_asm" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+check_asm-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+clap-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+clap-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "clap" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+clap-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
2 years ago
|
%package -n %{name}+clap_complete-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+clap_complete-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "clap_complete" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+clap_complete-devel
|
||
|
%ghost %{crate_instdir}/Cargo.toml
|
||
|
|
||
5 years ago
|
%package -n %{name}+console-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+console-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "console" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+console-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
4 years ago
|
%package -n %{name}+crossbeam-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+crossbeam-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "crossbeam" feature of the "%{crate}" crate.
|
||
4 years ago
|
|
||
|
%files -n %{name}+crossbeam-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
4 years ago
|
|
||
5 years ago
|
%package -n %{name}+dav1d-sys-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+dav1d-sys-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "dav1d-sys" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+dav1d-sys-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+decode_test-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+decode_test-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "decode_test" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+decode_test-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+decode_test_dav1d-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+decode_test_dav1d-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "decode_test_dav1d" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+decode_test_dav1d-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+desync_finder-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+desync_finder-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "desync_finder" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+desync_finder-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+dump_ivf-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+dump_ivf-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "dump_ivf" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+dump_ivf-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+dump_lookahead_data-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+dump_lookahead_data-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "dump_lookahead_data" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+dump_lookahead_data-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+fern-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+fern-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "fern" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+fern-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+image-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+image-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "image" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+image-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+ivf-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+ivf-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "ivf" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+ivf-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+nasm-rs-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+nasm-rs-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "nasm-rs" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+nasm-rs-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
2 years ago
|
%package -n %{name}+nom-devel
|
||
5 years ago
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
2 years ago
|
%description -n %{name}+nom-devel %{_description}
|
||
5 years ago
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
2 years ago
|
use the "nom" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
2 years ago
|
%files -n %{name}+nom-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
2 years ago
|
%package -n %{name}+quick_test-devel
|
||
4 years ago
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
2 years ago
|
%description -n %{name}+quick_test-devel %{_description}
|
||
4 years ago
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
2 years ago
|
use the "quick_test" feature of the "%{crate}" crate.
|
||
4 years ago
|
|
||
2 years ago
|
%files -n %{name}+quick_test-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
4 years ago
|
|
||
4 years ago
|
%package -n %{name}+scan_fmt-devel
|
||
5 years ago
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
4 years ago
|
%description -n %{name}+scan_fmt-devel %{_description}
|
||
5 years ago
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "scan_fmt" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
4 years ago
|
%files -n %{name}+scan_fmt-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
4 years ago
|
%package -n %{name}+scenechange-devel
|
||
5 years ago
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
4 years ago
|
%description -n %{name}+scenechange-devel %{_description}
|
||
5 years ago
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "scenechange" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
4 years ago
|
%files -n %{name}+scenechange-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+serde-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+serde-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "serde" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+serde-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
2 years ago
|
%package -n %{name}+serde-big-array-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+serde-big-array-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "serde-big-array" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+serde-big-array-devel
|
||
|
%ghost %{crate_instdir}/Cargo.toml
|
||
|
|
||
5 years ago
|
%package -n %{name}+serialize-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+serialize-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "serialize" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+serialize-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+signal-hook-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+signal-hook-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "signal-hook" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+signal-hook-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%package -n %{name}+signal_support-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+signal_support-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "signal_support" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+signal_support-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
2 years ago
|
%package -n %{name}+threading-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+threading-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "threading" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+threading-devel
|
||
|
%ghost %{crate_instdir}/Cargo.toml
|
||
|
|
||
5 years ago
|
%package -n %{name}+toml-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+toml-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "toml" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+toml-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
4 years ago
|
%package -n %{name}+unstable-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+unstable-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "unstable" feature of the "%{crate}" crate.
|
||
4 years ago
|
|
||
|
%files -n %{name}+unstable-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
4 years ago
|
|
||
2 years ago
|
%package -n %{name}+winnow-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+winnow-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages which
|
||
|
use the "winnow" feature of the "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+winnow-devel
|
||
|
%ghost %{crate_instdir}/Cargo.toml
|
||
|
|
||
5 years ago
|
%package -n %{name}+y4m-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+y4m-devel %{_description}
|
||
|
|
||
3 years ago
|
This package contains library source intended for building other packages which
|
||
|
use the "y4m" feature of the "%{crate}" crate.
|
||
5 years ago
|
|
||
|
%files -n %{name}+y4m-devel
|
||
3 years ago
|
%ghost %{crate_instdir}/Cargo.toml
|
||
5 years ago
|
|
||
|
%prep
|
||
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
||
|
%cargo_prep
|
||
|
|
||
|
%generate_buildrequires
|
||
2 years ago
|
# cargo-c requires all optional dependencies to be available
|
||
5 years ago
|
%cargo_generate_buildrequires -a
|
||
|
echo "cargo-c"
|
||
|
|
||
|
%build
|
||
2 years ago
|
%cargo_build -f binaries,channel-api,unstable
|
||
2 years ago
|
%__cargo cbuild --release \
|
||
5 years ago
|
--destdir=%{buildroot} \
|
||
|
--prefix=%{_prefix} \
|
||
|
--libdir=%{_libdir} \
|
||
|
--includedir=%{_includedir} \
|
||
|
--pkgconfigdir=%{_libdir}/pkgconfig
|
||
2 years ago
|
%cargo_license_summary -f binaries,channel-api,unstable
|
||
|
%{cargo_license -f binaries,channel-api,unstable} > LICENSE.dependencies
|
||
5 years ago
|
|
||
|
%install
|
||
2 years ago
|
%cargo_install -f binaries,channel-api,unstable
|
||
2 years ago
|
%__cargo cinstall --release \
|
||
5 years ago
|
--destdir=%{buildroot} \
|
||
|
--prefix=%{_prefix} \
|
||
|
--libdir=%{_libdir} \
|
||
|
--includedir=%{_includedir} \
|
||
|
--pkgconfigdir=%{_libdir}/pkgconfig
|
||
5 years ago
|
rm -v %{buildroot}%{_libdir}/librav1e.a
|
||
5 years ago
|
|
||
|
%if %{with check}
|
||
|
%check
|
||
2 years ago
|
%cargo_test -f binaries,channel-api,unstable
|
||
5 years ago
|
%endif
|
||
|
|
||
|
%changelog
|
||
3 years ago
|
%autochangelog
|