Initial import (miniz_oxide 0.6 compat package)

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

1
.gitignore vendored

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

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

@ -0,0 +1,96 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate miniz_oxide
Name: rust-miniz_oxide0.6
Version: 0.6.2
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
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+with-alloc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+with-alloc-devel %{_description}
This package contains library source intended for building other packages which
use the "with-alloc" feature of the "%{crate}" crate.
%files -n %{name}+with-alloc-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.6.2.crate) = 250782e214572acdd11df87c2788cd5f78e8388d9b285d0a850918219678e262e8b9905cc88728f5b70d13920ef9d19c43d243dad8fbcc18f8c8462662ce1419
Loading…
Cancel
Save