summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordon Messmer <gmessmer@redhat.com>2026-01-23 05:38:40 +0000
committerGordon Messmer <gmessmer@redhat.com>2026-01-23 05:38:40 +0000
commitb0d2305cced14bbc4044de1d8a0ed346265a4262 (patch)
tree8f036f007f67c56200816c842363298cded9af7b
parent8a49a7abf0aec800d6aa865752e36dbb09e3060f (diff)
downloadrust-dialoguer-release-0.1.tar.gz
rust-dialoguer-release-0.1.tar.xz
rust-dialoguer-release-0.1.zip
Add rust2rpm output for version 0.1.0release-0.1
-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..aceb19d
--- /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.1.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}/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