Initial import (miniz_oxide 0.5 compat package)

epel9 imports/e9/rust-miniz_oxide0.5-0.5.4-1.el9
Fabio Valentini 2 years ago
parent fa2d936044
commit 708e237a2c
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/miniz_oxide-0.5.4.crate

@ -1,3 +0,0 @@
# rust-miniz_oxide0.5
The rust-miniz_oxide0.5 package

@ -0,0 +1,72 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate miniz_oxide
Name: rust-miniz_oxide0.5
Version: 0.5.4
Release: %autorelease
Summary: DEFLATE compression and decompression library rewritten in Rust based on miniz
License: MIT OR Zlib OR Apache-2.0
URL: https://crates.io/crates/miniz_oxide
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
DEFLATE compression and decompression library rewritten in Rust based on
miniz.}
%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
%license %{crate_instdir}/LICENSE-APACHE.md
%license %{crate_instdir}/LICENSE-MIT.md
%license %{crate_instdir}/LICENSE-ZLIB.md
%doc %{crate_instdir}/Readme.md
%{crate_instdir}/
%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
%prep
%autosetup -n %{crate}-%{version_no_tilde} -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,8 @@
[DEFAULT]
unwanted-features =
alloc
compiler_builtins
core
simd-adler32
rustc-dep-of-std
simd

@ -0,0 +1 @@
SHA512 (miniz_oxide-0.5.4.crate) = 589dac16ca9c2f94e6fa92b68bcf51d140f46562cbb3a1b791b75c59feae51da5ec16042604bbd6bcb7d7f0c7f75e98ea1af8cf42d177133a5eaa86429cf3114
Loading…
Cancel
Save