|
|
@ -1,41 +1,33 @@
|
|
|
|
# Generated by rust2rpm 13
|
|
|
|
# Generated by rust2rpm 13
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Install all deps (without check), grab their licenses and make it simple
|
|
|
|
|
|
|
|
# * ASL 2.0
|
|
|
|
|
|
|
|
# * ASL 2.0 or MIT
|
|
|
|
|
|
|
|
# * BSD
|
|
|
|
|
|
|
|
# * ISC
|
|
|
|
|
|
|
|
# * MIT
|
|
|
|
|
|
|
|
# * MIT or ASL 2.0
|
|
|
|
|
|
|
|
# * (MIT or ASL 2.0) and BSD
|
|
|
|
|
|
|
|
# * Unlicense or MIT
|
|
|
|
|
|
|
|
# * zlib
|
|
|
|
|
|
|
|
%global binary_license BSD and ASL 2.0 and ISC and MIT and zlib
|
|
|
|
|
|
|
|
|
|
|
|
%global crate rav1e
|
|
|
|
%global crate rav1e
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.3.0
|
|
|
|
Version: 0.3.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Fastest and safest AV1 encoder
|
|
|
|
Summary: Fastest and safest AV1 encoder
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: BSD-2-Clause
|
|
|
|
# Upstream license specification: BSD-2-Clause
|
|
|
|
# Apache-2.0 AND BSD-2-Clause OR MIT (1): crossbeam-queue
|
|
|
|
# src/ext/x86/x86inc.asm is under ISC, https://github.com/xiph/rav1e/issues/2181
|
|
|
|
# Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT (1): wasi
|
|
|
|
License: BSD and ISC
|
|
|
|
# Apache-2.0 OR BSL-1.0 (1): ryu
|
|
|
|
|
|
|
|
# Apache-2.0 OR MIT (79): proc-macro-hack, num-integer, err-derive, num-traits,
|
|
|
|
|
|
|
|
# winapi, winapi-i686-pc-windows-gnu, regex-syntax, time, rustversion, cast,
|
|
|
|
|
|
|
|
# paste, itoa, nasm-rs, jobserver, arbitrary, serde_derive, syn-mid, scopeguard,
|
|
|
|
|
|
|
|
# cc, autocfg, regex, proc-macro2, criterion-plot, bstr, itertools, rustc_version,
|
|
|
|
|
|
|
|
# encode_unicode, vergen, rand, crossbeam-deque, signal-hook-registry, rand_core,
|
|
|
|
|
|
|
|
# paste-impl, bitstream-io, backtrace, hermit-abi, semver-parser, criterion,
|
|
|
|
|
|
|
|
# unicode-width, winapi-x86_64-pc-windows-gnu, c2-chacha, rand_xoshiro,
|
|
|
|
|
|
|
|
# unicode-xid, crossbeam-utils, rand_os, cfg-if, syn, log, pretty_assertions,
|
|
|
|
|
|
|
|
# proc-macro-error-attr, arc-swap, lazy_static, rand_chacha, rayon-core, serde,
|
|
|
|
|
|
|
|
# bitflags, tinytemplate, rayon, serde_json, num_cpus, ctor, signal-hook,
|
|
|
|
|
|
|
|
# ppv-lite86, either, thread_local, crossbeam-epoch, autocfg, getrandom, quote,
|
|
|
|
|
|
|
|
# arrayvec, rand_hc, backtrace-sys, num-derive, chrono, libc, proc-macro-error,
|
|
|
|
|
|
|
|
# better-panic, semver, rustc-demangle
|
|
|
|
|
|
|
|
# BSD-2-Clause (2): rav1e, ivf
|
|
|
|
|
|
|
|
# MIT (19): ansi_term, y4m, noop_proc_macro, atty, output_vt100, textwrap, clap,
|
|
|
|
|
|
|
|
# arg_enum_proc_macro, synstructure, memoffset, difference, simd_helpers,
|
|
|
|
|
|
|
|
# redox_syscall, console, clicolors-control, interpolate_name, termios, fern,
|
|
|
|
|
|
|
|
# scan_fmt
|
|
|
|
|
|
|
|
# MIT OR Unlicense (9): walkdir, same-file, csv, regex-automata, csv-core,
|
|
|
|
|
|
|
|
# winapi-util, memchr, byteorder, aho-corasick
|
|
|
|
|
|
|
|
# ISC: src/ext/x86/x86inc.asm
|
|
|
|
|
|
|
|
License: BSD and (ASL 2.0 or MIT and BSD) and (ASL 2.0 or Boost) and (ASL 2.0 or MIT) and MIT and (MIT or Unlicense) and ISC
|
|
|
|
|
|
|
|
URL: https://crates.io/crates/rav1e
|
|
|
|
URL: https://crates.io/crates/rav1e
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * Update image to 0.23, https://github.com/xiph/rav1e/pull/2178
|
|
|
|
|
|
|
|
Patch0: rav1e-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
@ -52,6 +44,7 @@ Fastest and safest AV1 encoder.}
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
%package -n %{crate}
|
|
|
|
%package -n %{crate}
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
License: %{binary_license}
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{crate} %{_description}
|
|
|
|
%description -n %{crate} %{_description}
|
|
|
|
|
|
|
|
|
|
|
@ -62,6 +55,7 @@ Summary: %{summary}
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{crate}-libs
|
|
|
|
%package -n %{crate}-libs
|
|
|
|
Summary: Library files for rav1e
|
|
|
|
Summary: Library files for rav1e
|
|
|
|
|
|
|
|
License: %{binary_license}
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{crate}-libs
|
|
|
|
%description -n %{crate}-libs
|
|
|
|
Library files for rav1e, the fastest and safest AV1 encoder.
|
|
|
|
Library files for rav1e, the fastest and safest AV1 encoder.
|
|
|
@ -78,7 +72,7 @@ Requires: %{crate}-libs%{?_isa} = %{version}-%{release}
|
|
|
|
Development files for rav1e, the fastest and safest AV1 encoder.
|
|
|
|
Development files for rav1e, the fastest and safest AV1 encoder.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{crate}-devel
|
|
|
|
%files -n %{crate}-devel
|
|
|
|
%{_includedir}/rav1e
|
|
|
|
%{_includedir}/rav1e/
|
|
|
|
%{_libdir}/librav1e.so
|
|
|
|
%{_libdir}/librav1e.so
|
|
|
|
%{_libdir}/pkgconfig/rav1e.pc
|
|
|
|
%{_libdir}/pkgconfig/rav1e.pc
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -514,7 +508,7 @@ cargo cinstall --release \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--libdir=%{_libdir} \
|
|
|
|
--includedir=%{_includedir} \
|
|
|
|
--includedir=%{_includedir} \
|
|
|
|
--pkgconfigdir=%{_libdir}/pkgconfig
|
|
|
|
--pkgconfigdir=%{_libdir}/pkgconfig
|
|
|
|
rm -f %{buildroot}%{_libdir}/librav1e.a
|
|
|
|
rm -v %{buildroot}%{_libdir}/librav1e.a
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
@ -522,5 +516,8 @@ rm -f %{buildroot}%{_libdir}/librav1e.a
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Feb 20 21:15:47 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.3.1-1
|
|
|
|
|
|
|
|
- Update to 0.3.1
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 11 01:28:07 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.3.0-1
|
|
|
|
* Tue Feb 11 01:28:07 CET 2020 Robert-André Mauchin <zebob.m@gmail.com> - 0.3.0-1
|
|
|
|
- Initial package
|
|
|
|
- Initial package
|
|
|
|