3e2a226
# Generated by rust2rpm 24
4df8954
%bcond_without check
4df8954
4df8954
%global crate dutree
4df8954
3e2a226
Name:           rust-dutree
c76469f
Version:        0.2.18
16054b6
Release:        %autorelease
4df8954
Summary:        Command line tool to analyze disk usage
4df8954
3e2a226
License:        GPL-3.0
4df8954
URL:            https://crates.io/crates/dutree
4df8954
Source:         %{crates_source}
4df8954
3e2a226
BuildRequires:  rust-packaging >= 23
4df8954
4df8954
%global _description %{expand:
4df8954
Command line tool to analyze disk usage.}
4df8954
4df8954
%description %{_description}
4df8954
4df8954
%package     -n %{crate}
4df8954
Summary:        %{summary}
3e2a226
# (MIT OR Apache-2.0) AND Unicode-DFS-2016
3e2a226
# Apache-2.0 OR MIT
3e2a226
# GPL-3.0
3e2a226
# MIT OR Apache-2.0
3e2a226
# Unlicense OR MIT
3e2a226
License:        GPL-3.0 AND Unicode-DFS-2016 AND (Apache-2.0 OR MIT) AND (Unlicense OR MIT)
3e2a226
# LICENSE.dependencies contains a full license breakdown
4df8954
4df8954
%description -n %{crate} %{_description}
4df8954
4df8954
%files       -n %{crate}
4df8954
%license LICENSE
3e2a226
%license LICENSE.dependencies
4df8954
%doc README.md
4df8954
%{_bindir}/dutree
4df8954
4df8954
%package        devel
4df8954
Summary:        %{summary}
4df8954
BuildArch:      noarch
4df8954
4df8954
%description    devel %{_description}
4df8954
3e2a226
This package contains library source intended for building other packages which
3e2a226
use the "%{crate}" crate.
4df8954
4df8954
%files          devel
3e2a226
%license %{crate_instdir}/LICENSE
3e2a226
%doc %{crate_instdir}/README.md
3e2a226
%{crate_instdir}/
4df8954
4df8954
%package     -n %{name}+default-devel
4df8954
Summary:        %{summary}
4df8954
BuildArch:      noarch
4df8954
4df8954
%description -n %{name}+default-devel %{_description}
4df8954
3e2a226
This package contains library source intended for building other packages which
3e2a226
use the "default" feature of the "%{crate}" crate.
4df8954
4df8954
%files       -n %{name}+default-devel
3e2a226
%ghost %{crate_instdir}/Cargo.toml
4df8954
4df8954
%prep
4df8954
%autosetup -n %{crate}-%{version_no_tilde} -p1
4df8954
%cargo_prep
4df8954
4df8954
%generate_buildrequires
4df8954
%cargo_generate_buildrequires
4df8954
4df8954
%build
4df8954
%cargo_build
3e2a226
%cargo_license_summary
3e2a226
%{cargo_license} > LICENSE.dependencies
4df8954
4df8954
%install
4df8954
%cargo_install
4df8954
4df8954
%if %{with check}
4df8954
%check
4df8954
%cargo_test
4df8954
%endif
4df8954
4df8954
%changelog
16054b6
%autochangelog