Sophie

Sophie

distrib > Mageia > cauldron > i586 > media > core-release-src > by-pkgid > 544f39d274f49b194665c080df134e70 > files > 2

rust-miniz_oxide-0.7.1-3.mga10.src.rpm

# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}

%global crate miniz_oxide

Name:           rust-miniz_oxide
Version:        0.7.1
Release:        %mkrel 3
Summary:        DEFLATE compression and decompression library rewritten in Rust based on miniz
Group:          Development/Other
BuildArch:      noarch

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}+simd-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+simd-devel %{_description}

This package contains library source intended for building other packages which
use the "simd" feature of the "%{crate}" crate.

%files       -n %{name}+simd-devel
%ghost %{crate_instdir}/Cargo.toml

%package     -n %{name}+simd-adler32-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+simd-adler32-devel %{_description}

This package contains library source intended for building other packages which
use the "simd-adler32" feature of the "%{crate}" crate.

%files       -n %{name}+simd-adler32-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
* Tue Oct 17 2023 tv <tv> 0.7.1-3.mga10
+ Revision: 1997953
- Re-enable simd-adler32

* Sun Feb 12 2023 wally <wally> 0.7.1-2.mga9
+ Revision: 1940867
- disable alloc, compiler_builtins, core, rustc-dep-of-std and simd-adler32

* Sat Feb 11 2023 wally <wally> 0.7.1-1.mga9
+ Revision: 1940205
- new version 0.7.1

* Tue Feb 07 2023 guillomovitch <guillomovitch> 0.5.3-1.mga9
+ Revision: 1939161
- imported package rust-miniz_oxide