You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
405 lines
11 KiB
405 lines
11 KiB
# Generated by rust2rpm 26
|
|
%bcond_without check
|
|
%global debug_package %{nil}
|
|
|
|
%global crate schemars
|
|
|
|
Name: rust-schemars
|
|
Version: 0.8.19
|
|
Release: %autorelease
|
|
Summary: Generate JSON Schemas from Rust code
|
|
|
|
License: MIT
|
|
URL: https://crates.io/crates/schemars
|
|
Source: %{crates_source}
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
%global _description %{expand:
|
|
Generate JSON Schemas from Rust code.}
|
|
|
|
%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
|
|
%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}+arrayvec-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+arrayvec-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "arrayvec" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+arrayvec-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+arrayvec05-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+arrayvec05-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "arrayvec05" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+arrayvec05-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+arrayvec07-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+arrayvec07-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "arrayvec07" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+arrayvec07-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+bigdecimal-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+bigdecimal-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "bigdecimal" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+bigdecimal-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+bigdecimal03-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+bigdecimal03-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "bigdecimal03" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+bigdecimal03-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+bigdecimal04-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+bigdecimal04-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "bigdecimal04" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+bigdecimal04-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+bytes-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+bytes-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "bytes" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+bytes-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+chrono-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+chrono-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "chrono" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+chrono-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+derive-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+derive-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "derive" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+derive-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+derive_json_schema-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+derive_json_schema-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "derive_json_schema" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+derive_json_schema-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+either-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+either-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "either" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+either-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+enumset-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+enumset-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "enumset" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+enumset-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+impl_json_schema-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+impl_json_schema-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "impl_json_schema" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+impl_json_schema-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+indexmap-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+indexmap-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "indexmap" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+indexmap-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+indexmap1-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+indexmap1-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "indexmap1" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+indexmap1-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+indexmap2-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+indexmap2-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "indexmap2" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+indexmap2-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+preserve_order-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+preserve_order-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "preserve_order" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+preserve_order-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+raw_value-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+raw_value-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "raw_value" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+raw_value-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+rust_decimal-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+rust_decimal-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "rust_decimal" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+rust_decimal-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+schemars_derive-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+schemars_derive-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "schemars_derive" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+schemars_derive-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+semver-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+semver-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "semver" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+semver-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+smallvec-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+smallvec-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "smallvec" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+smallvec-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+smol_str-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+smol_str-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "smol_str" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+smol_str-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+ui_test-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+ui_test-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "ui_test" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+ui_test-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+url-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+url-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "url" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+url-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+uuid-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+uuid-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "uuid" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+uuid-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+uuid08-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+uuid08-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "uuid08" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+uuid08-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%package -n %{name}+uuid1-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+uuid1-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages which
|
|
use the "uuid1" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+uuid1-devel
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%prep
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
%cargo_prep
|
|
|
|
%generate_buildrequires
|
|
%cargo_generate_buildrequires
|
|
|
|
%build
|
|
%cargo_build
|
|
|
|
%install
|
|
%cargo_install
|
|
|
|
%if %{with check}
|
|
%check
|
|
%cargo_test
|
|
%endif
|
|
|
|
%changelog
|
|
%autochangelog
|