summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rust/rust-indenter.spec85
-rw-r--r--rust/rust-miette-derive.spec71
-rw-r--r--rust/rust-miette.spec186
3 files changed, 342 insertions, 0 deletions
diff --git a/rust/rust-indenter.spec b/rust/rust-indenter.spec
new file mode 100644
index 0000000..610fbe4
--- /dev/null
+++ b/rust/rust-indenter.spec
@@ -0,0 +1,85 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate indenter
+
+Name: rust-%{crate}
+Version: 0.3.3
+Release: 1%{?dist}
+Summary: Formatter wrapper that indents the text, designed for error display impls
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL: https://crates.io/crates/indenter
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Formatter wrapper that indents the text, designed for error display impls.}
+
+%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
+# FIXME: no license files detected
+%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}+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
+
+%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
+* Sat Mar 26 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.3.3-1
+- Initial package
diff --git a/rust/rust-miette-derive.spec b/rust/rust-miette-derive.spec
new file mode 100644
index 0000000..5f1b81f
--- /dev/null
+++ b/rust/rust-miette-derive.spec
@@ -0,0 +1,71 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate miette-derive
+
+Name: rust-%{crate}
+Version: 4.2.1
+Release: 1%{?dist}
+Summary: Derive macros for miette
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0
+URL: https://crates.io/crates/miette-derive
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Derive macros for miette. Like `thiserror` for Diagnostics.}
+
+%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
+%{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_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Sat Mar 26 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 4.2.1-1
+- Initial package
diff --git a/rust/rust-miette.spec b/rust/rust-miette.spec
new file mode 100644
index 0000000..68eb42a
--- /dev/null
+++ b/rust/rust-miette.spec
@@ -0,0 +1,186 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate miette
+
+Name: rust-%{crate}
+Version: 4.2.1
+Release: 1%{?dist}
+Summary: Fancy diagnostic reporting library and protocol for us mere mortals who aren't compiler hackers
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0
+URL: https://crates.io/crates/miette
+Source: %{crates_source}
+# fix https://github.com/zkat/miette/issues/88
+Patch: %{crate}-fix-handleropts-test.patch
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Fancy diagnostic reporting library and protocol for us mere mortals who aren't
+compiler hackers.}
+
+%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}/CODE_OF_CONDUCT.md
+%doc %{crate_instdir}/CONTRIBUTING.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}+atty-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+atty-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "atty" feature of the "%{crate}" crate.
+
+%files -n %{name}+atty-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+backtrace-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+backtrace-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "backtrace" feature of the "%{crate}" crate.
+
+%files -n %{name}+backtrace-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+fancy-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+fancy-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "fancy" feature of the "%{crate}" crate.
+
+%files -n %{name}+fancy-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+owo-colors-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+owo-colors-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "owo-colors" feature of the "%{crate}" crate.
+
+%files -n %{name}+owo-colors-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+supports-color-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+supports-color-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "supports-color" feature of the "%{crate}" crate.
+
+%files -n %{name}+supports-color-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+supports-hyperlinks-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+supports-hyperlinks-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "supports-hyperlinks" feature of the "%{crate}" crate.
+
+%files -n %{name}+supports-hyperlinks-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+supports-unicode-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+supports-unicode-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "supports-unicode" feature of the "%{crate}" crate.
+
+%files -n %{name}+supports-unicode-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+terminal_size-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+terminal_size-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "terminal_size" feature of the "%{crate}" crate.
+
+%files -n %{name}+terminal_size-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+textwrap-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+textwrap-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "textwrap" feature of the "%{crate}" crate.
+
+%files -n %{name}+textwrap-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
+* Sat Mar 26 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 4.2.1-1
+- Initial package