summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordon Messmer <gmessmer@redhat.com>2026-01-23 05:38:44 +0000
committerGordon Messmer <gmessmer@redhat.com>2026-01-23 05:38:44 +0000
commit48d664e3a1f1abc345a2dc8f26dcebcd20af4f07 (patch)
tree46ab8424a6e9b15bd2eae2a2bf860cb23b8f2984
parent8a49a7abf0aec800d6aa865752e36dbb09e3060f (diff)
downloadrust-dialoguer-release-0.5.tar.gz
rust-dialoguer-release-0.5.tar.xz
rust-dialoguer-release-0.5.zip
Add rust2rpm output for version 0.5.1release-0.5
-rw-r--r--rust-dialoguer.spec68
1 files changed, 68 insertions, 0 deletions
diff --git a/rust-dialoguer.spec b/rust-dialoguer.spec
new file mode 100644
index 0000000..6029a32
--- /dev/null
+++ b/rust-dialoguer.spec
@@ -0,0 +1,68 @@
+# Generated by rust2rpm 27
+%bcond check 1
+%global debug_package %{nil}
+
+%global crate dialoguer
+
+Name: rust-dialoguer
+Version: 0.5.1
+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}/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
+
+%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