56ef8f4
# Generated by rust2rpm 24
8088a0c
%bcond_without check
8088a0c
%global debug_package %{nil}
8088a0c
8088a0c
%global crate multer
8088a0c
58728d1
Name:           rust-multer
56ef8f4
Version:        2.1.0
8088a0c
Release:        %autorelease
56ef8f4
Summary:        Async parser for multipart/form-data content-type in Rust
8088a0c
8088a0c
License:        MIT
8088a0c
URL:            https://crates.io/crates/multer
8088a0c
Source:         %{crates_source}
8088a0c
8088a0c
BuildRequires:  rust-packaging >= 21
8088a0c
8088a0c
%global _description %{expand:
56ef8f4
An async parser for `multipart/form-data` content-type in Rust.}
8088a0c
8088a0c
%description %{_description}
8088a0c
8088a0c
%package        devel
8088a0c
Summary:        %{summary}
8088a0c
BuildArch:      noarch
8088a0c
8088a0c
%description    devel %{_description}
8088a0c
8088a0c
This package contains library source intended for building other packages which
8088a0c
use the "%{crate}" crate.
8088a0c
8088a0c
%files          devel
8088a0c
%license %{crate_instdir}/LICENSE
8088a0c
%doc %{crate_instdir}/README.md
8088a0c
%{crate_instdir}/
8088a0c
8088a0c
%package     -n %{name}+default-devel
8088a0c
Summary:        %{summary}
8088a0c
BuildArch:      noarch
8088a0c
8088a0c
%description -n %{name}+default-devel %{_description}
8088a0c
8088a0c
This package contains library source intended for building other packages which
8088a0c
use the "default" feature of the "%{crate}" crate.
8088a0c
8088a0c
%files       -n %{name}+default-devel
8088a0c
%ghost %{crate_instdir}/Cargo.toml
8088a0c
8088a0c
%package     -n %{name}+all-devel
8088a0c
Summary:        %{summary}
8088a0c
BuildArch:      noarch
8088a0c
8088a0c
%description -n %{name}+all-devel %{_description}
8088a0c
8088a0c
This package contains library source intended for building other packages which
8088a0c
use the "all" feature of the "%{crate}" crate.
8088a0c
8088a0c
%files       -n %{name}+all-devel
8088a0c
%ghost %{crate_instdir}/Cargo.toml
8088a0c
8088a0c
%package     -n %{name}+json-devel
8088a0c
Summary:        %{summary}
8088a0c
BuildArch:      noarch
8088a0c
8088a0c
%description -n %{name}+json-devel %{_description}
8088a0c
8088a0c
This package contains library source intended for building other packages which
8088a0c
use the "json" feature of the "%{crate}" crate.
8088a0c
8088a0c
%files       -n %{name}+json-devel
8088a0c
%ghost %{crate_instdir}/Cargo.toml
8088a0c
8088a0c
%package     -n %{name}+serde-devel
8088a0c
Summary:        %{summary}
8088a0c
BuildArch:      noarch
8088a0c
8088a0c
%description -n %{name}+serde-devel %{_description}
8088a0c
8088a0c
This package contains library source intended for building other packages which
8088a0c
use the "serde" feature of the "%{crate}" crate.
8088a0c
8088a0c
%files       -n %{name}+serde-devel
8088a0c
%ghost %{crate_instdir}/Cargo.toml
8088a0c
8088a0c
%package     -n %{name}+serde_json-devel
8088a0c
Summary:        %{summary}
8088a0c
BuildArch:      noarch
8088a0c
8088a0c
%description -n %{name}+serde_json-devel %{_description}
8088a0c
8088a0c
This package contains library source intended for building other packages which
8088a0c
use the "serde_json" feature of the "%{crate}" crate.
8088a0c
8088a0c
%files       -n %{name}+serde_json-devel
8088a0c
%ghost %{crate_instdir}/Cargo.toml
8088a0c
8088a0c
%package     -n %{name}+tokio-devel
8088a0c
Summary:        %{summary}
8088a0c
BuildArch:      noarch
8088a0c
8088a0c
%description -n %{name}+tokio-devel %{_description}
8088a0c
8088a0c
This package contains library source intended for building other packages which
8088a0c
use the "tokio" feature of the "%{crate}" crate.
8088a0c
8088a0c
%files       -n %{name}+tokio-devel
8088a0c
%ghost %{crate_instdir}/Cargo.toml
8088a0c
8088a0c
%package     -n %{name}+tokio-io-devel
8088a0c
Summary:        %{summary}
8088a0c
BuildArch:      noarch
8088a0c
8088a0c
%description -n %{name}+tokio-io-devel %{_description}
8088a0c
8088a0c
This package contains library source intended for building other packages which
8088a0c
use the "tokio-io" feature of the "%{crate}" crate.
8088a0c
8088a0c
%files       -n %{name}+tokio-io-devel
8088a0c
%ghost %{crate_instdir}/Cargo.toml
8088a0c
8088a0c
%package     -n %{name}+tokio-util-devel
8088a0c
Summary:        %{summary}
8088a0c
BuildArch:      noarch
8088a0c
8088a0c
%description -n %{name}+tokio-util-devel %{_description}
8088a0c
8088a0c
This package contains library source intended for building other packages which
8088a0c
use the "tokio-util" feature of the "%{crate}" crate.
8088a0c
8088a0c
%files       -n %{name}+tokio-util-devel
8088a0c
%ghost %{crate_instdir}/Cargo.toml
8088a0c
8088a0c
%prep
8088a0c
%autosetup -n %{crate}-%{version_no_tilde} -p1
8088a0c
%cargo_prep
8088a0c
8088a0c
%generate_buildrequires
8088a0c
%cargo_generate_buildrequires
8088a0c
8088a0c
%build
8088a0c
%cargo_build
8088a0c
8088a0c
%install
8088a0c
%cargo_install
8088a0c
8088a0c
%if %{with check}
8088a0c
%check
8088a0c
%cargo_test
8088a0c
%endif
8088a0c
8088a0c
%changelog
8088a0c
%autochangelog