From 8c6e7ce78fd38f4e94f63b810123c265e1fe091f Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 8 Apr 2023 22:15:16 +0200 Subject: [PATCH] Initial import (#2183661) --- .gitignore | 1 + README.md | 3 - rust-clap_builder.spec | 251 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 253 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 rust-clap_builder.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b9875b6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/clap_builder-4.2.1.crate diff --git a/README.md b/README.md deleted file mode 100644 index 6d2a07f..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-clap_builder - -The rust-clap_builder package diff --git a/rust-clap_builder.spec b/rust-clap_builder.spec new file mode 100644 index 0000000..53481e4 --- /dev/null +++ b/rust-clap_builder.spec @@ -0,0 +1,251 @@ +# Generated by rust2rpm 24 +# * test sources are not included in published crates +%bcond_with check +%global debug_package %{nil} + +%global crate clap_builder + +Name: rust-clap_builder +Version: 4.2.1 +Release: %autorelease +Summary: Simple to use, efficient, and full-featured Command Line Argument Parser + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/clap_builder +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A simple to use, efficient, and full-featured Command Line Argument +Parser.} + +%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-APACHE +%license %{crate_instdir}/LICENSE-MIT +%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}+cargo-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+cargo-devel %{_description} + +This package contains library source intended for building other packages which +use the "cargo" feature of the "%{crate}" crate. + +%files -n %{name}+cargo-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+color-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+color-devel %{_description} + +This package contains library source intended for building other packages which +use the "color" feature of the "%{crate}" crate. + +%files -n %{name}+color-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+debug-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+debug-devel %{_description} + +This package contains library source intended for building other packages which +use the "debug" feature of the "%{crate}" crate. + +%files -n %{name}+debug-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+deprecated-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+deprecated-devel %{_description} + +This package contains library source intended for building other packages which +use the "deprecated" feature of the "%{crate}" crate. + +%files -n %{name}+deprecated-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+env-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+env-devel %{_description} + +This package contains library source intended for building other packages which +use the "env" feature of the "%{crate}" crate. + +%files -n %{name}+env-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+error-context-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+error-context-devel %{_description} + +This package contains library source intended for building other packages which +use the "error-context" feature of the "%{crate}" crate. + +%files -n %{name}+error-context-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+help-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+help-devel %{_description} + +This package contains library source intended for building other packages which +use the "help" feature of the "%{crate}" crate. + +%files -n %{name}+help-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}+string-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+string-devel %{_description} + +This package contains library source intended for building other packages which +use the "string" feature of the "%{crate}" crate. + +%files -n %{name}+string-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+suggestions-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+suggestions-devel %{_description} + +This package contains library source intended for building other packages which +use the "suggestions" feature of the "%{crate}" crate. + +%files -n %{name}+suggestions-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unicode-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unicode-devel %{_description} + +This package contains library source intended for building other packages which +use the "unicode" feature of the "%{crate}" crate. + +%files -n %{name}+unicode-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unstable-doc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unstable-doc-devel %{_description} + +This package contains library source intended for building other packages which +use the "unstable-doc" feature of the "%{crate}" crate. + +%files -n %{name}+unstable-doc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+unstable-v5-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+unstable-v5-devel %{_description} + +This package contains library source intended for building other packages which +use the "unstable-v5" feature of the "%{crate}" crate. + +%files -n %{name}+unstable-v5-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+usage-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+usage-devel %{_description} + +This package contains library source intended for building other packages which +use the "usage" feature of the "%{crate}" crate. + +%files -n %{name}+usage-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+wrap_help-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+wrap_help-devel %{_description} + +This package contains library source intended for building other packages which +use the "wrap_help" feature of the "%{crate}" crate. + +%files -n %{name}+wrap_help-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 +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..bbdb0bc --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (clap_builder-4.2.1.crate) = e3282e0041d4c38105b643de6dd9561b1a4126fa45d1de2fd7cdb18ef9681f93adfe9f073b50272212e95cf906e31fc38734e254eea1fbf2b896a467b50216a8