Blame rust-crc32fast.spec

3e91d38
# Generated by rust2rpm 25
67718b5
%bcond_without check
2329931
%global debug_package %{nil}
2329931
2329931
%global crate crc32fast
2329931
330e7b3
Name:           rust-crc32fast
3e91d38
Version:        1.4.0
d1895dc
Release:        %autorelease
2329931
Summary:        Fast, SIMD-accelerated CRC32 (IEEE) checksum computation
2329931
330e7b3
License:        MIT OR Apache-2.0
2329931
URL:            https://crates.io/crates/crc32fast
dc05388
Source:         %{crates_source}
2329931
3e91d38
BuildRequires:  cargo-rpm-macros >= 24
2329931
67718b5
%global _description %{expand:
67718b5
Fast, SIMD-accelerated CRC32 (IEEE) checksum computation.}
2329931
2329931
%description %{_description}
2329931
2329931
%package        devel
2329931
Summary:        %{summary}
2329931
BuildArch:      noarch
2329931
2329931
%description    devel %{_description}
2329931
d7db67f
This package contains library source intended for building other packages which
d7db67f
use the "%{crate}" crate.
2329931
2329931
%files          devel
330e7b3
%license %{crate_instdir}/LICENSE-APACHE
330e7b3
%license %{crate_instdir}/LICENSE-MIT
330e7b3
%doc %{crate_instdir}/README.md
330e7b3
%{crate_instdir}/
2329931
2329931
%package     -n %{name}+default-devel
2329931
Summary:        %{summary}
2329931
BuildArch:      noarch
2329931
2329931
%description -n %{name}+default-devel %{_description}
2329931
d7db67f
This package contains library source intended for building other packages which
d7db67f
use the "default" feature of the "%{crate}" crate.
2329931
2329931
%files       -n %{name}+default-devel
330e7b3
%ghost %{crate_instdir}/Cargo.toml
2329931
67718b5
%package     -n %{name}+nightly-devel
67718b5
Summary:        %{summary}
67718b5
BuildArch:      noarch
67718b5
67718b5
%description -n %{name}+nightly-devel %{_description}
67718b5
d7db67f
This package contains library source intended for building other packages which
d7db67f
use the "nightly" feature of the "%{crate}" crate.
67718b5
67718b5
%files       -n %{name}+nightly-devel
330e7b3
%ghost %{crate_instdir}/Cargo.toml
67718b5
dc05388
%package     -n %{name}+std-devel
dc05388
Summary:        %{summary}
dc05388
BuildArch:      noarch
dc05388
dc05388
%description -n %{name}+std-devel %{_description}
dc05388
d7db67f
This package contains library source intended for building other packages which
d7db67f
use the "std" feature of the "%{crate}" crate.
dc05388
dc05388
%files       -n %{name}+std-devel
330e7b3
%ghost %{crate_instdir}/Cargo.toml
dc05388
2329931
%prep
3e91d38
%autosetup -n %{crate}-%{version} -p1
2329931
%cargo_prep
2329931
67718b5
%generate_buildrequires
67718b5
%cargo_generate_buildrequires
67718b5
2329931
%build
2329931
%cargo_build
2329931
2329931
%install
2329931
%cargo_install
2329931
2329931
%if %{with check}
2329931
%check
2329931
%cargo_test
2329931
%endif
2329931
2329931
%changelog
d1895dc
%autochangelog