Initial import (#2290389)

epel10
Fabio Valentini 9 months ago
parent 5bbc7f5381
commit feb5f41827
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/avif-parse-1.0.0.crate

@ -1,3 +0,0 @@
# rust-avif-parse
The rust-avif-parse package

@ -0,0 +1,82 @@
# Generated by rust2rpm 26
%bcond_without check
%global debug_package %{nil}
%global crate avif-parse
Name: rust-avif-parse
Version: 1.0.0
Release: %autorelease
Summary: Parser for AVIF image files
License: MPL-2.0
URL: https://crates.io/crates/avif-parse
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Parser for AVIF image files.}
%description %{_description}
%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
%doc %{crate_instdir}/README.md
%{crate_instdir}/
# https://github.com/kornelski/avif-parse/pull/1
%exclude %{crate_instdir}/av1-avif/
%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}+mp4parse_fallible-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+mp4parse_fallible-devel %{_description}
This package contains library source intended for building other packages which
use the "mp4parse_fallible" feature of the "%{crate}" crate.
%files -n %{name}+mp4parse_fallible-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (avif-parse-1.0.0.crate) = af2321514e7b12d7d51a4662e3c40e07a83f9c76d8db27590b5d46f9a6e43b3bbda739df0ce77615523ac6f9e4d8328f6c5188087eeae718bcbd8f0cf00556df
Loading…
Cancel
Save