diff options
| author | Gordon Messmer <gmessmer@redhat.com> | 2026-01-23 05:38:41 +0000 |
|---|---|---|
| committer | Gordon Messmer <gmessmer@redhat.com> | 2026-01-23 05:38:41 +0000 |
| commit | 234f09a7d3c6d246e373c9e6390b0acb642fe2f3 (patch) | |
| tree | 44e126b86733dad9c0900f8eba49a5b4747cdd10 | |
| parent | 8a49a7abf0aec800d6aa865752e36dbb09e3060f (diff) | |
| download | rust-dialoguer-release-0.11.tar.gz rust-dialoguer-release-0.11.tar.xz rust-dialoguer-release-0.11.zip | |
Add rust2rpm output for version 0.11.0release-0.11
| -rw-r--r-- | rust-dialoguer.spec | 165 |
1 files changed, 165 insertions, 0 deletions
diff --git a/rust-dialoguer.spec b/rust-dialoguer.spec new file mode 100644 index 0000000..a29b0a1 --- /dev/null +++ b/rust-dialoguer.spec @@ -0,0 +1,165 @@ +# Generated by rust2rpm 27 +%bcond check 1 +%global debug_package %{nil} + +%global crate dialoguer + +Name: rust-dialoguer +Version: 0.11.0 +Release: %autorelease +Summary: Command line prompting library + +License: MIT +URL: https://crates.io/crates/dialoguer +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A command line prompting library.} + +%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}/CHANGELOG.md +%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}+completion-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+completion-devel %{_description} + +This package contains library source intended for building other packages which +use the "completion" feature of the "%{crate}" crate. + +%files -n %{name}+completion-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+editor-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+editor-devel %{_description} + +This package contains library source intended for building other packages which +use the "editor" feature of the "%{crate}" crate. + +%files -n %{name}+editor-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+fuzzy-matcher-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+fuzzy-matcher-devel %{_description} + +This package contains library source intended for building other packages which +use the "fuzzy-matcher" feature of the "%{crate}" crate. + +%files -n %{name}+fuzzy-matcher-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+fuzzy-select-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+fuzzy-select-devel %{_description} + +This package contains library source intended for building other packages which +use the "fuzzy-select" feature of the "%{crate}" crate. + +%files -n %{name}+fuzzy-select-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+history-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+history-devel %{_description} + +This package contains library source intended for building other packages which +use the "history" feature of the "%{crate}" crate. + +%files -n %{name}+history-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+password-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+password-devel %{_description} + +This package contains library source intended for building other packages which +use the "password" feature of the "%{crate}" crate. + +%files -n %{name}+password-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tempfile-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tempfile-devel %{_description} + +This package contains library source intended for building other packages which +use the "tempfile" feature of the "%{crate}" crate. + +%files -n %{name}+tempfile-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+zeroize-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+zeroize-devel %{_description} + +This package contains library source intended for building other packages which +use the "zeroize" feature of the "%{crate}" crate. + +%files -n %{name}+zeroize-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 |
