diff --git a/.packit.yaml b/.packit.yaml index 0e2fc0b..6eb2006 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -13,6 +13,190 @@ packages: - sh -c 'echo v${PACKIT_PROJECT_VERSION}.tar.gz' get-current-version: - rpmspec -q --qf "%{Version}" --srpm atuin/atuin.spec + # Other dependencies to package: + rust-axum-server: + # https://github.com/programatik29/axum-server + specfile_path: rust-axum-server/rust-axum-server.spec + files_to_sync: + - rust-axum-server/rust-axum-server.spec + - rust-axum-server/rust2rpm.toml + upstream_package_name: axum-server + downstream_package_name: rust-axum-server + actions: + create-archive: + - spectool -g -s0 rust-axum-server/rust-axum-server.spec + - sh -c 'echo axum-server-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-axum-server/rust-axum-server.spec + rust-cli-clipboard: + # https://github.com/actuallyallie/cli-clipboard + specfile_path: rust-cli-clipboard/rust-cli-clipboard.spec + files_to_sync: + - rust-cli-clipboard/rust-cli-clipboard.spec + - rust-cli-clipboard/rust2rpm.toml + upstream_package_name: cli-clipboard + downstream_package_name: rust-cli-clipboard + actions: + create-archive: + - spectool -g -s0 rust-cli-clipboard/rust-cli-clipboard.spec + - sh -c 'echo cli-clipboard-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-cli-clipboard/rust-cli-clipboard.spec + rust-interim: + # https://github.com/conradludgate/interim + specfile_path: rust-interim/rust-interim.spec + files_to_sync: + - rust-interim/rust-interim.spec + - rust-interim/rust2rpm.toml + upstream_package_name: interim + downstream_package_name: rust-interim + actions: + create-archive: + - spectool -g -s0 rust-interim/rust-interim.spec + - sh -c 'echo interim-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-interim/rust-interim.spec + rust-metrics-exporter-prometheus: + # https://github.com/metrics-rs/metrics + specfile_path: rust-metrics-exporter-prometheus/rust-metrics-exporter-prometheus.spec + files_to_sync: + - rust-metrics-exporter-prometheus/rust-metrics-exporter-prometheus.spec + - rust-metrics-exporter-prometheus/rust2rpm.toml + upstream_package_name: metrics-exporter-prometheus + downstream_package_name: rust-metrics-exporter-prometheus + actions: + create-archive: + - spectool -g -s0 rust-metrics-exporter-prometheus/rust-metrics-exporter-prometheus.spec + - sh -c 'echo metrics-exporter-prometheus-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-metrics-exporter-prometheus/rust-metrics-exporter-prometheus.spec + rust-metrics: + # https://github.com/metrics-rs/metrics + specfile_path: rust-metrics/rust-metrics.spec + files_to_sync: + - rust-metrics/rust-metrics.spec + - rust-metrics/rust2rpm.toml + upstream_package_name: metrics + downstream_package_name: rust-metrics + actions: + create-archive: + - spectool -g -s0 rust-metrics/rust-metrics.spec + - sh -c 'echo metrics-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-metrics/rust-metrics.spec + rust-minspan: + # ??? + # Note: Badly packaged: No license file + specfile_path: rust-minspan/rust-minspan.spec + files_to_sync: + - rust-minspan/rust-minspan.spec + - rust-minspan/rust2rpm.toml + upstream_package_name: minspan + downstream_package_name: rust-minspan + actions: + create-archive: + - spectool -g -s0 rust-minspan/rust-minspan.spec + - sh -c 'echo minspan-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-minspan/rust-minspan.spec + rust-parse_duration: + # https://github.com/zeta12ti/parse_duration/ + specfile_path: rust-parse_duration/rust-parse_duration.spec + files_to_sync: + - rust-parse_duration/rust-parse_duration.spec + - rust-parse_duration/rust2rpm.toml + upstream_package_name: parse_duration + downstream_package_name: rust-parse_duration + actions: + create-archive: + - spectool -g -s0 rust-parse_duration/rust-parse_duration.spec + - sh -c 'echo parse_duration-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-parse_duration/rust-parse_duration.spec + rust-rusty_paserk: + # https://github.com/conradludgate/rusty-paserk + specfile_path: rust-rusty_paserk/rust-rusty_paserk.spec + files_to_sync: + - rust-rusty_paserk/rust-rusty_paserk.spec + - rust-rusty_paserk/rust2rpm.toml + upstream_package_name: rusty_paserk + downstream_package_name: rust-rusty_paserk + actions: + create-archive: + - spectool -g -s0 rust-rusty_paserk/rust-rusty_paserk.spec + - sh -c 'echo rusty_paserk-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-rusty_paserk/rust-rusty_paserk.spec + rust-rusty_paseto: + # https://github.com/rrrodzilla/rusty_paseto + specfile_path: rust-rusty_paseto/rust-rusty_paseto.spec + files_to_sync: + - rust-rusty_paseto/rust-rusty_paseto.spec + - rust-rusty_paseto/rust2rpm.toml + upstream_package_name: rusty_paseto + downstream_package_name: rust-rusty_paseto + actions: + create-archive: + - spectool -g -s0 rust-rusty_paseto/rust-rusty_paseto.spec + - sh -c 'echo rusty_paseto-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-rusty_paseto/rust-rusty_paseto.spec + rust-sql-builder: + # https://github.com/perdumonocle/sql-builder.git + specfile_path: rust-sql-builder/rust-sql-builder.spec + files_to_sync: + - rust-sql-builder/rust-sql-builder.spec + - rust-sql-builder/rust2rpm.toml + upstream_package_name: sql-builder + downstream_package_name: rust-sql-builder + actions: + create-archive: + - spectool -g -s0 rust-sql-builder/rust-sql-builder.spec + - sh -c 'echo sql-builder-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-sql-builder/rust-sql-builder.spec + rust-sqlx: + # https://github.com/launchbadge/sqlx + specfile_path: rust-sqlx/rust-sqlx.spec + files_to_sync: + - rust-sqlx/rust-sqlx.spec + - rust-sqlx/rust2rpm.toml + upstream_package_name: sqlx + downstream_package_name: rust-sqlx + actions: + create-archive: + - spectool -g -s0 rust-sqlx/rust-sqlx.spec + - sh -c 'echo sqlx-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-sqlx/rust-sqlx.spec + rust-tiny-bip39: + # https://github.com/maciejhirsz/tiny-bip39/ + specfile_path: rust-tiny-bip39/rust-tiny-bip39.spec + files_to_sync: + - rust-tiny-bip39/rust-tiny-bip39.spec + - rust-tiny-bip39/rust2rpm.toml + upstream_package_name: tiny-bip39 + downstream_package_name: rust-tiny-bip39 + actions: + create-archive: + - spectool -g -s0 rust-tiny-bip39/rust-tiny-bip39.spec + - sh -c 'echo tiny-bip39-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-tiny-bip39/rust-tiny-bip39.spec + rust-tracing-tree: + # https://github.com/davidbarsky/tracing-tree + specfile_path: rust-tracing-tree/rust-tracing-tree.spec + files_to_sync: + - rust-tracing-tree/rust-tracing-tree.spec + - rust-tracing-tree/rust2rpm.toml + upstream_package_name: tracing-tree + downstream_package_name: rust-tracing-tree + actions: + create-archive: + - spectool -g -s0 rust-tracing-tree/rust-tracing-tree.spec + - sh -c 'echo tracing-tree-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-tracing-tree/rust-tracing-tree.spec # Upstream is working on it: rust-argon2: # https://bugzilla.redhat.com/show_bug.cgi?id=2258880 diff --git a/rust-axum-server/rust-axum-server.spec b/rust-axum-server/rust-axum-server.spec new file mode 100644 index 0000000..f3b1bc8 --- /dev/null +++ b/rust-axum-server/rust-axum-server.spec @@ -0,0 +1,165 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate axum-server + +Name: rust-axum-server +Version: 0.6.0 +Release: %autorelease +Summary: High level server designed to be used with axum framework + +License: MIT +URL: https://crates.io/crates/axum-server +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +High level server designed to be used with axum framework.} + +%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}+arc-swap-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+arc-swap-devel %{_description} + +This package contains library source intended for building other packages which +use the "arc-swap" feature of the "%{crate}" crate. + +%files -n %{name}+arc-swap-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+openssl-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+openssl-devel %{_description} + +This package contains library source intended for building other packages which +use the "openssl" feature of the "%{crate}" crate. + +%files -n %{name}+openssl-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rustls-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rustls-devel %{_description} + +This package contains library source intended for building other packages which +use the "rustls" feature of the "%{crate}" crate. + +%files -n %{name}+rustls-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rustls-pemfile-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rustls-pemfile-devel %{_description} + +This package contains library source intended for building other packages which +use the "rustls-pemfile" feature of the "%{crate}" crate. + +%files -n %{name}+rustls-pemfile-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tls-openssl-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tls-openssl-devel %{_description} + +This package contains library source intended for building other packages which +use the "tls-openssl" feature of the "%{crate}" crate. + +%files -n %{name}+tls-openssl-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tls-rustls-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tls-rustls-devel %{_description} + +This package contains library source intended for building other packages which +use the "tls-rustls" feature of the "%{crate}" crate. + +%files -n %{name}+tls-rustls-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tokio-openssl-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-openssl-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio-openssl" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-openssl-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tokio-rustls-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-rustls-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio-rustls" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-rustls-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 diff --git a/rust-axum-server/rust2rpm.toml b/rust-axum-server/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-cli-clipboard/cli-clipboard-fix-metadata-auto.diff b/rust-cli-clipboard/cli-clipboard-fix-metadata-auto.diff new file mode 100644 index 0000000..9555a0c --- /dev/null +++ b/rust-cli-clipboard/cli-clipboard-fix-metadata-auto.diff @@ -0,0 +1,18 @@ +--- cli-clipboard-0.4.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ cli-clipboard-0.4.0/Cargo.toml 2024-03-28T12:16:15.459776+00:00 +@@ -26,15 +26,3 @@ + [target."cfg(all(unix, not(any(target_os=\"macos\", target_os=\"android\", target_os=\"emscripten\"))))".dependencies.x11-clipboard] + version = "0.7" + +-[target."cfg(target_os = \"macos\")".dependencies.objc] +-version = "0.2" +- +-[target."cfg(target_os = \"macos\")".dependencies.objc-foundation] +-version = "0.1" +- +-[target."cfg(target_os = \"macos\")".dependencies.objc_id] +-version = "0.1" +- +-[target."cfg(windows)".dependencies.clipboard-win] +-version = "4.4" +-features = ["std"] diff --git a/rust-cli-clipboard/rust-cli-clipboard.spec b/rust-cli-clipboard/rust-cli-clipboard.spec new file mode 100644 index 0000000..60c50b2 --- /dev/null +++ b/rust-cli-clipboard/rust-cli-clipboard.spec @@ -0,0 +1,73 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate cli-clipboard + +Name: rust-cli-clipboard +Version: 0.4.0 +Release: %autorelease +Summary: Cross-platform library for getting and setting the contents of the OS-level clipboard + +# Upstream license specification: MIT / Apache-2.0 +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/cli-clipboard +Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: cli-clipboard-fix-metadata-auto.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Cli-clipboard is a cross-platform library for getting and setting the +contents of the OS-level clipboard.} + +%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.apache2 +%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 + +%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 diff --git a/rust-cli-clipboard/rust2rpm.toml b/rust-cli-clipboard/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-interim/rust-interim.spec b/rust-interim/rust-interim.spec new file mode 100644 index 0000000..375305a --- /dev/null +++ b/rust-interim/rust-interim.spec @@ -0,0 +1,106 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate interim + +Name: rust-interim +Version: 0.1.1 +Release: %autorelease +Summary: Parses simple English dates, inspired by Linux date command, and forked from chrono-english + +License: MIT +URL: https://crates.io/crates/interim +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Parses simple English dates, inspired by Linux date command, and forked +from chrono-english.} + +%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.txt +%doc %{crate_instdir}/README.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}+chrono-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+chrono-devel %{_description} + +This package contains library source intended for building other packages which +use the "chrono" feature of the "%{crate}" crate. + +%files -n %{name}+chrono-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}+time-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+time-devel %{_description} + +This package contains library source intended for building other packages which +use the "time" feature of the "%{crate}" crate. + +%files -n %{name}+time-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 diff --git a/rust-interim/rust2rpm.toml b/rust-interim/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-metrics-exporter-prometheus/rust-metrics-exporter-prometheus.spec b/rust-metrics-exporter-prometheus/rust-metrics-exporter-prometheus.spec new file mode 100644 index 0000000..efdb57f --- /dev/null +++ b/rust-metrics-exporter-prometheus/rust-metrics-exporter-prometheus.spec @@ -0,0 +1,213 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate metrics-exporter-prometheus + +Name: rust-metrics-exporter-prometheus +Version: 0.14.0 +Release: %autorelease +Summary: Metrics-compatible exporter for sending metrics to Prometheus + +License: MIT +URL: https://crates.io/crates/metrics-exporter-prometheus +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A metrics-compatible exporter for sending metrics to Prometheus.} + +%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}+_hyper-client-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+_hyper-client-devel %{_description} + +This package contains library source intended for building other packages which +use the "_hyper-client" feature of the "%{crate}" crate. + +%files -n %{name}+_hyper-client-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+_hyper-server-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+_hyper-server-devel %{_description} + +This package contains library source intended for building other packages which +use the "_hyper-server" feature of the "%{crate}" crate. + +%files -n %{name}+_hyper-server-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+async-runtime-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+async-runtime-devel %{_description} + +This package contains library source intended for building other packages which +use the "async-runtime" feature of the "%{crate}" crate. + +%files -n %{name}+async-runtime-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+http-body-util-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+http-body-util-devel %{_description} + +This package contains library source intended for building other packages which +use the "http-body-util" feature of the "%{crate}" crate. + +%files -n %{name}+http-body-util-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+http-listener-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+http-listener-devel %{_description} + +This package contains library source intended for building other packages which +use the "http-listener" feature of the "%{crate}" crate. + +%files -n %{name}+http-listener-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+hyper-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hyper-devel %{_description} + +This package contains library source intended for building other packages which +use the "hyper" feature of the "%{crate}" crate. + +%files -n %{name}+hyper-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+hyper-tls-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hyper-tls-devel %{_description} + +This package contains library source intended for building other packages which +use the "hyper-tls" feature of the "%{crate}" crate. + +%files -n %{name}+hyper-tls-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+hyper-util-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hyper-util-devel %{_description} + +This package contains library source intended for building other packages which +use the "hyper-util" feature of the "%{crate}" crate. + +%files -n %{name}+hyper-util-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+ipnet-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+ipnet-devel %{_description} + +This package contains library source intended for building other packages which +use the "ipnet" feature of the "%{crate}" crate. + +%files -n %{name}+ipnet-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+push-gateway-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+push-gateway-devel %{_description} + +This package contains library source intended for building other packages which +use the "push-gateway" feature of the "%{crate}" crate. + +%files -n %{name}+push-gateway-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tokio-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tracing-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tracing-devel %{_description} + +This package contains library source intended for building other packages which +use the "tracing" feature of the "%{crate}" crate. + +%files -n %{name}+tracing-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 diff --git a/rust-metrics-exporter-prometheus/rust2rpm.toml b/rust-metrics-exporter-prometheus/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-metrics/rust-metrics.spec b/rust-metrics/rust-metrics.spec new file mode 100644 index 0000000..b0aa838 --- /dev/null +++ b/rust-metrics/rust-metrics.spec @@ -0,0 +1,70 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate metrics + +Name: rust-metrics +Version: 0.22.3 +Release: %autorelease +Summary: Lightweight metrics facade + +License: MIT +URL: https://crates.io/crates/metrics +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A lightweight metrics facade.} + +%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 +%doc %{crate_instdir}/RELEASES.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 diff --git a/rust-metrics/rust2rpm.toml b/rust-metrics/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-minspan/rust-minspan.spec b/rust-minspan/rust-minspan.spec new file mode 100644 index 0000000..b13d9d0 --- /dev/null +++ b/rust-minspan/rust-minspan.spec @@ -0,0 +1,68 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate minspan + +Name: rust-minspan +Version: 0.1.1 +Release: %autorelease +Summary: Package for determining the minimum span of one vector within another + +License: MIT +URL: https://crates.io/crates/minspan +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A package for determining the minimum span of one vector within another.} + +%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}/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 diff --git a/rust-minspan/rust2rpm.toml b/rust-minspan/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-parse_duration/rust-parse_duration.spec b/rust-parse_duration/rust-parse_duration.spec new file mode 100644 index 0000000..28a4793 --- /dev/null +++ b/rust-parse_duration/rust-parse_duration.spec @@ -0,0 +1,69 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate parse_duration + +Name: rust-parse_duration +Version: 2.1.1 +Release: %autorelease +Summary: Parses a duration from a string + +License: MIT +URL: https://crates.io/crates/parse_duration +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Parses a duration from a string.} + +%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 + +%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 diff --git a/rust-parse_duration/rust2rpm.toml b/rust-parse_duration/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-rusty_paserk/rust-rusty_paserk.spec b/rust-rusty_paserk/rust-rusty_paserk.spec new file mode 100644 index 0000000..9907dfd --- /dev/null +++ b/rust-rusty_paserk/rust-rusty_paserk.spec @@ -0,0 +1,250 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate rusty_paserk + +Name: rust-rusty_paserk +Version: 0.3.0 +Release: %autorelease +Summary: Platform Agnostic Serializable Keys + +License: MIT +URL: https://crates.io/crates/rusty_paserk +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Platform Agnostic Serializable Keys (PASERK) is an extension on PASETO +for key management.} + +%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.md +%doc %{crate_instdir}/README.md +%doc %{crate_instdir}/SECURITY.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}+aes-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+aes-devel %{_description} + +This package contains library source intended for building other packages which +use the "aes" feature of the "%{crate}" crate. + +%files -n %{name}+aes-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+arbitrary-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+arbitrary-devel %{_description} + +This package contains library source intended for building other packages which +use the "arbitrary" feature of the "%{crate}" crate. + +%files -n %{name}+arbitrary-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+argon2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+argon2-devel %{_description} + +This package contains library source intended for building other packages which +use the "argon2" feature of the "%{crate}" crate. + +%files -n %{name}+argon2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+blake2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+blake2-devel %{_description} + +This package contains library source intended for building other packages which +use the "blake2" feature of the "%{crate}" crate. + +%files -n %{name}+blake2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+chacha20-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+chacha20-devel %{_description} + +This package contains library source intended for building other packages which +use the "chacha20" feature of the "%{crate}" crate. + +%files -n %{name}+chacha20-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+ctr-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+ctr-devel %{_description} + +This package contains library source intended for building other packages which +use the "ctr" feature of the "%{crate}" crate. + +%files -n %{name}+ctr-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+curve25519-dalek-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+curve25519-dalek-devel %{_description} + +This package contains library source intended for building other packages which +use the "curve25519-dalek" feature of the "%{crate}" crate. + +%files -n %{name}+curve25519-dalek-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+ed25519-dalek-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+ed25519-dalek-devel %{_description} + +This package contains library source intended for building other packages which +use the "ed25519-dalek" feature of the "%{crate}" crate. + +%files -n %{name}+ed25519-dalek-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+hmac-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hmac-devel %{_description} + +This package contains library source intended for building other packages which +use the "hmac" feature of the "%{crate}" crate. + +%files -n %{name}+hmac-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+p384-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+p384-devel %{_description} + +This package contains library source intended for building other packages which +use the "p384" feature of the "%{crate}" crate. + +%files -n %{name}+p384-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+pbkdf2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+pbkdf2-devel %{_description} + +This package contains library source intended for building other packages which +use the "pbkdf2" feature of the "%{crate}" crate. + +%files -n %{name}+pbkdf2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. + +%files -n %{name}+serde-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+sha2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+sha2-devel %{_description} + +This package contains library source intended for building other packages which +use the "sha2" feature of the "%{crate}" crate. + +%files -n %{name}+sha2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+v3-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+v3-devel %{_description} + +This package contains library source intended for building other packages which +use the "v3" feature of the "%{crate}" crate. + +%files -n %{name}+v3-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+v4-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+v4-devel %{_description} + +This package contains library source intended for building other packages which +use the "v4" feature of the "%{crate}" crate. + +%files -n %{name}+v4-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 diff --git a/rust-rusty_paserk/rust2rpm.toml b/rust-rusty_paserk/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-rusty_paseto/rust-rusty_paseto.spec b/rust-rusty_paseto/rust-rusty_paseto.spec new file mode 100644 index 0000000..32528fe --- /dev/null +++ b/rust-rusty_paseto/rust-rusty_paseto.spec @@ -0,0 +1,410 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate rusty_paseto + +Name: rust-rusty_paseto +Version: 0.6.1 +Release: %autorelease +Summary: Type-driven, ergonomic alternative to JWT for secure stateless PASETO tokens + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/rusty_paseto +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A type-driven, ergonomic alternative to JWT for secure stateless PASETO +tokens.} + +%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.md +%doc %{crate_instdir}/CODE_OF_CONDUCT.md +%doc %{crate_instdir}/CONTRIBUTING.md +%doc %{crate_instdir}/Changelog.md +%doc %{crate_instdir}/SECURITY.md +%doc %{crate_instdir}/readme.md +%doc %{crate_instdir}/readme_crates_io.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}+aes-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+aes-devel %{_description} + +This package contains library source intended for building other packages which +use the "aes" feature of the "%{crate}" crate. + +%files -n %{name}+aes-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+batteries_included-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+batteries_included-devel %{_description} + +This package contains library source intended for building other packages which +use the "batteries_included" feature of the "%{crate}" crate. + +%files -n %{name}+batteries_included-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+blake2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+blake2-devel %{_description} + +This package contains library source intended for building other packages which +use the "blake2" feature of the "%{crate}" crate. + +%files -n %{name}+blake2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+chacha20-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+chacha20-devel %{_description} + +This package contains library source intended for building other packages which +use the "chacha20" feature of the "%{crate}" crate. + +%files -n %{name}+chacha20-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+chacha20poly1305-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+chacha20poly1305-devel %{_description} + +This package contains library source intended for building other packages which +use the "chacha20poly1305" feature of the "%{crate}" crate. + +%files -n %{name}+chacha20poly1305-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+core-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+core-devel %{_description} + +This package contains library source intended for building other packages which +use the "core" feature of the "%{crate}" crate. + +%files -n %{name}+core-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+ed25519-dalek-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+ed25519-dalek-devel %{_description} + +This package contains library source intended for building other packages which +use the "ed25519-dalek" feature of the "%{crate}" crate. + +%files -n %{name}+ed25519-dalek-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+erased-serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+erased-serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "erased-serde" feature of the "%{crate}" crate. + +%files -n %{name}+erased-serde-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+generic-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+generic-devel %{_description} + +This package contains library source intended for building other packages which +use the "generic" feature of the "%{crate}" crate. + +%files -n %{name}+generic-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+hmac-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hmac-devel %{_description} + +This package contains library source intended for building other packages which +use the "hmac" feature of the "%{crate}" crate. + +%files -n %{name}+hmac-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+local-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+local-devel %{_description} + +This package contains library source intended for building other packages which +use the "local" feature of the "%{crate}" crate. + +%files -n %{name}+local-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+p384-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+p384-devel %{_description} + +This package contains library source intended for building other packages which +use the "p384" feature of the "%{crate}" crate. + +%files -n %{name}+p384-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+public-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+public-devel %{_description} + +This package contains library source intended for building other packages which +use the "public" feature of the "%{crate}" crate. + +%files -n %{name}+public-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. + +%files -n %{name}+serde-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+serde_json-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde_json-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde_json" feature of the "%{crate}" crate. + +%files -n %{name}+serde_json-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+sha2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+sha2-devel %{_description} + +This package contains library source intended for building other packages which +use the "sha2" feature of the "%{crate}" crate. + +%files -n %{name}+sha2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+v1-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+v1-devel %{_description} + +This package contains library source intended for building other packages which +use the "v1" feature of the "%{crate}" crate. + +%files -n %{name}+v1-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+v1_local-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+v1_local-devel %{_description} + +This package contains library source intended for building other packages which +use the "v1_local" feature of the "%{crate}" crate. + +%files -n %{name}+v1_local-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+v1_public-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+v1_public-devel %{_description} + +This package contains library source intended for building other packages which +use the "v1_public" feature of the "%{crate}" crate. + +%files -n %{name}+v1_public-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+v2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+v2-devel %{_description} + +This package contains library source intended for building other packages which +use the "v2" feature of the "%{crate}" crate. + +%files -n %{name}+v2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+v2_local-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+v2_local-devel %{_description} + +This package contains library source intended for building other packages which +use the "v2_local" feature of the "%{crate}" crate. + +%files -n %{name}+v2_local-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+v2_public-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+v2_public-devel %{_description} + +This package contains library source intended for building other packages which +use the "v2_public" feature of the "%{crate}" crate. + +%files -n %{name}+v2_public-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+v3-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+v3-devel %{_description} + +This package contains library source intended for building other packages which +use the "v3" feature of the "%{crate}" crate. + +%files -n %{name}+v3-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+v3_local-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+v3_local-devel %{_description} + +This package contains library source intended for building other packages which +use the "v3_local" feature of the "%{crate}" crate. + +%files -n %{name}+v3_local-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+v3_public-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+v3_public-devel %{_description} + +This package contains library source intended for building other packages which +use the "v3_public" feature of the "%{crate}" crate. + +%files -n %{name}+v3_public-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+v4-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+v4-devel %{_description} + +This package contains library source intended for building other packages which +use the "v4" feature of the "%{crate}" crate. + +%files -n %{name}+v4-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+v4_local-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+v4_local-devel %{_description} + +This package contains library source intended for building other packages which +use the "v4_local" feature of the "%{crate}" crate. + +%files -n %{name}+v4_local-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+v4_public-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+v4_public-devel %{_description} + +This package contains library source intended for building other packages which +use the "v4_public" feature of the "%{crate}" crate. + +%files -n %{name}+v4_public-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 diff --git a/rust-rusty_paseto/rust2rpm.toml b/rust-rusty_paseto/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-serde_yaml/rust-serde_yaml.spec b/rust-serde_yaml/rust-serde_yaml.spec new file mode 100644 index 0000000..c550ad7 --- /dev/null +++ b/rust-serde_yaml/rust-serde_yaml.spec @@ -0,0 +1,69 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate serde_yaml + +Name: rust-serde_yaml +Version: 0.9.33 +Release: %autorelease +Summary: YAML data format for Serde + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/serde_yaml +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +YAML data format for Serde.} + +%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 + +%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 diff --git a/rust-serde_yaml/rust2rpm.toml b/rust-serde_yaml/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-sql-builder/rust-sql-builder.spec b/rust-sql-builder/rust-sql-builder.spec new file mode 100644 index 0000000..774e014 --- /dev/null +++ b/rust-sql-builder/rust-sql-builder.spec @@ -0,0 +1,68 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate sql-builder + +Name: rust-sql-builder +Version: 3.1.1 +Release: %autorelease +Summary: Simple SQL code generator + +License: MIT +URL: https://crates.io/crates/sql-builder +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Simple SQL code generator.} + +%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 diff --git a/rust-sql-builder/rust2rpm.toml b/rust-sql-builder/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-sqlx/rust-sqlx.spec b/rust-sqlx/rust-sqlx.spec new file mode 100644 index 0000000..c4d1a17 --- /dev/null +++ b/rust-sqlx/rust-sqlx.spec @@ -0,0 +1,472 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate sqlx + +Name: rust-sqlx +Version: 0.7.4 +Release: %autorelease +Summary: 🧰 The Rust SQL Toolkit + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/sqlx +Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: sqlx-fix-metadata-auto.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile- +time checked queries without a DSL. Supports PostgreSQL, MySQL, and +SQLite.} + +%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}/CHANGELOG.md +%doc %{crate_instdir}/CONTRIBUTING.md +%doc %{crate_instdir}/FAQ.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}+_rt-async-std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+_rt-async-std-devel %{_description} + +This package contains library source intended for building other packages which +use the "_rt-async-std" feature of the "%{crate}" crate. + +%files -n %{name}+_rt-async-std-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+_rt-tokio-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+_rt-tokio-devel %{_description} + +This package contains library source intended for building other packages which +use the "_rt-tokio" feature of the "%{crate}" crate. + +%files -n %{name}+_rt-tokio-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+_unstable-all-types-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+_unstable-all-types-devel %{_description} + +This package contains library source intended for building other packages which +use the "_unstable-all-types" feature of the "%{crate}" crate. + +%files -n %{name}+_unstable-all-types-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+all-databases-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+all-databases-devel %{_description} + +This package contains library source intended for building other packages which +use the "all-databases" feature of the "%{crate}" crate. + +%files -n %{name}+all-databases-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+any-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+any-devel %{_description} + +This package contains library source intended for building other packages which +use the "any" feature of the "%{crate}" crate. + +%files -n %{name}+any-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+bigdecimal-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+bigdecimal-devel %{_description} + +This package contains library source intended for building other packages which +use the "bigdecimal" feature of the "%{crate}" crate. + +%files -n %{name}+bigdecimal-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+bit-vec-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+bit-vec-devel %{_description} + +This package contains library source intended for building other packages which +use the "bit-vec" feature of the "%{crate}" crate. + +%files -n %{name}+bit-vec-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+chrono-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+chrono-devel %{_description} + +This package contains library source intended for building other packages which +use the "chrono" feature of the "%{crate}" crate. + +%files -n %{name}+chrono-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+ipnetwork-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+ipnetwork-devel %{_description} + +This package contains library source intended for building other packages which +use the "ipnetwork" feature of the "%{crate}" crate. + +%files -n %{name}+ipnetwork-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+json-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+json-devel %{_description} + +This package contains library source intended for building other packages which +use the "json" feature of the "%{crate}" crate. + +%files -n %{name}+json-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+mac_address-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+mac_address-devel %{_description} + +This package contains library source intended for building other packages which +use the "mac_address" feature of the "%{crate}" crate. + +%files -n %{name}+mac_address-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+macros-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+macros-devel %{_description} + +This package contains library source intended for building other packages which +use the "macros" feature of the "%{crate}" crate. + +%files -n %{name}+macros-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+migrate-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+migrate-devel %{_description} + +This package contains library source intended for building other packages which +use the "migrate" feature of the "%{crate}" crate. + +%files -n %{name}+migrate-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+mysql-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+mysql-devel %{_description} + +This package contains library source intended for building other packages which +use the "mysql" feature of the "%{crate}" crate. + +%files -n %{name}+mysql-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+postgres-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+postgres-devel %{_description} + +This package contains library source intended for building other packages which +use the "postgres" feature of the "%{crate}" crate. + +%files -n %{name}+postgres-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+regexp-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+regexp-devel %{_description} + +This package contains library source intended for building other packages which +use the "regexp" feature of the "%{crate}" crate. + +%files -n %{name}+regexp-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+runtime-async-std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+runtime-async-std-devel %{_description} + +This package contains library source intended for building other packages which +use the "runtime-async-std" feature of the "%{crate}" crate. + +%files -n %{name}+runtime-async-std-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+runtime-async-std-native-tls-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+runtime-async-std-native-tls-devel %{_description} + +This package contains library source intended for building other packages which +use the "runtime-async-std-native-tls" feature of the "%{crate}" crate. + +%files -n %{name}+runtime-async-std-native-tls-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+runtime-async-std-rustls-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+runtime-async-std-rustls-devel %{_description} + +This package contains library source intended for building other packages which +use the "runtime-async-std-rustls" feature of the "%{crate}" crate. + +%files -n %{name}+runtime-async-std-rustls-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+runtime-tokio-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+runtime-tokio-devel %{_description} + +This package contains library source intended for building other packages which +use the "runtime-tokio" feature of the "%{crate}" crate. + +%files -n %{name}+runtime-tokio-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+runtime-tokio-native-tls-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+runtime-tokio-native-tls-devel %{_description} + +This package contains library source intended for building other packages which +use the "runtime-tokio-native-tls" feature of the "%{crate}" crate. + +%files -n %{name}+runtime-tokio-native-tls-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+runtime-tokio-rustls-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+runtime-tokio-rustls-devel %{_description} + +This package contains library source intended for building other packages which +use the "runtime-tokio-rustls" feature of the "%{crate}" crate. + +%files -n %{name}+runtime-tokio-rustls-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rust_decimal-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rust_decimal-devel %{_description} + +This package contains library source intended for building other packages which +use the "rust_decimal" feature of the "%{crate}" crate. + +%files -n %{name}+rust_decimal-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+sqlite-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+sqlite-devel %{_description} + +This package contains library source intended for building other packages which +use the "sqlite" feature of the "%{crate}" crate. + +%files -n %{name}+sqlite-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+sqlx-macros-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+sqlx-macros-devel %{_description} + +This package contains library source intended for building other packages which +use the "sqlx-macros" feature of the "%{crate}" crate. + +%files -n %{name}+sqlx-macros-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+sqlx-mysql-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+sqlx-mysql-devel %{_description} + +This package contains library source intended for building other packages which +use the "sqlx-mysql" feature of the "%{crate}" crate. + +%files -n %{name}+sqlx-mysql-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+sqlx-postgres-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+sqlx-postgres-devel %{_description} + +This package contains library source intended for building other packages which +use the "sqlx-postgres" feature of the "%{crate}" crate. + +%files -n %{name}+sqlx-postgres-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+sqlx-sqlite-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+sqlx-sqlite-devel %{_description} + +This package contains library source intended for building other packages which +use the "sqlx-sqlite" feature of the "%{crate}" crate. + +%files -n %{name}+sqlx-sqlite-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+time-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+time-devel %{_description} + +This package contains library source intended for building other packages which +use the "time" feature of the "%{crate}" crate. + +%files -n %{name}+time-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tls-native-tls-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tls-native-tls-devel %{_description} + +This package contains library source intended for building other packages which +use the "tls-native-tls" feature of the "%{crate}" crate. + +%files -n %{name}+tls-native-tls-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tls-none-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tls-none-devel %{_description} + +This package contains library source intended for building other packages which +use the "tls-none" feature of the "%{crate}" crate. + +%files -n %{name}+tls-none-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tls-rustls-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tls-rustls-devel %{_description} + +This package contains library source intended for building other packages which +use the "tls-rustls" feature of the "%{crate}" crate. + +%files -n %{name}+tls-rustls-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+uuid-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+uuid-devel %{_description} + +This package contains library source intended for building other packages which +use the "uuid" feature of the "%{crate}" crate. + +%files -n %{name}+uuid-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 diff --git a/rust-sqlx/rust2rpm.toml b/rust-sqlx/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-sqlx/sqlx-fix-metadata-auto.diff b/rust-sqlx/sqlx-fix-metadata-auto.diff new file mode 100644 index 0000000..4b757c2 --- /dev/null +++ b/rust-sqlx/sqlx-fix-metadata-auto.diff @@ -0,0 +1,9 @@ +--- sqlx-0.7.4/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ sqlx-0.7.4/Cargo.toml 2024-03-28T13:19:28.925560+00:00 +@@ -445,6 +445,3 @@ + "sqlx-sqlite?/uuid", + ] + +-[target."cfg(sqlite_test_sqlcipher)".dev-dependencies.libsqlite3-sys] +-version = "0.27" +-features = ["bundled-sqlcipher"] diff --git a/rust-tiny-bip39/rust-tiny-bip39.spec b/rust-tiny-bip39/rust-tiny-bip39.spec new file mode 100644 index 0000000..87aa9fa --- /dev/null +++ b/rust-tiny-bip39/rust-tiny-bip39.spec @@ -0,0 +1,157 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate tiny-bip39 + +Name: rust-tiny-bip39 +Version: 1.0.0 +Release: %autorelease +Summary: Fork of the bip39 crate with fixes to v0.6 + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/tiny-bip39 +Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: tiny-bip39-fix-metadata-auto.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A fork of the bip39 crate with fixes to v0.6. Rust implementation of +BIP-0039.} + +%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}/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}+chinese-simplified-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+chinese-simplified-devel %{_description} + +This package contains library source intended for building other packages which +use the "chinese-simplified" feature of the "%{crate}" crate. + +%files -n %{name}+chinese-simplified-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+chinese-traditional-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+chinese-traditional-devel %{_description} + +This package contains library source intended for building other packages which +use the "chinese-traditional" feature of the "%{crate}" crate. + +%files -n %{name}+chinese-traditional-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+french-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+french-devel %{_description} + +This package contains library source intended for building other packages which +use the "french" feature of the "%{crate}" crate. + +%files -n %{name}+french-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+italian-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+italian-devel %{_description} + +This package contains library source intended for building other packages which +use the "italian" feature of the "%{crate}" crate. + +%files -n %{name}+italian-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+japanese-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+japanese-devel %{_description} + +This package contains library source intended for building other packages which +use the "japanese" feature of the "%{crate}" crate. + +%files -n %{name}+japanese-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+korean-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+korean-devel %{_description} + +This package contains library source intended for building other packages which +use the "korean" feature of the "%{crate}" crate. + +%files -n %{name}+korean-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+spanish-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+spanish-devel %{_description} + +This package contains library source intended for building other packages which +use the "spanish" feature of the "%{crate}" crate. + +%files -n %{name}+spanish-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 diff --git a/rust-tiny-bip39/rust2rpm.toml b/rust-tiny-bip39/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-tiny-bip39/tiny-bip39-fix-metadata-auto.diff b/rust-tiny-bip39/tiny-bip39-fix-metadata-auto.diff new file mode 100644 index 0000000..dca34cc --- /dev/null +++ b/rust-tiny-bip39/tiny-bip39-fix-metadata-auto.diff @@ -0,0 +1,11 @@ +--- tiny-bip39-1.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ tiny-bip39-1.0.0/Cargo.toml 2024-03-28T13:25:25.862071+00:00 +@@ -86,8 +86,3 @@ + korean = [] + spanish = [] + +-[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] +-version = "0.2" +- +-[target."cfg(target_arch = \"wasm32\")".dev-dependencies.wasm-bindgen-test] +-version = "0.3" diff --git a/rust-tracing-tree/rust-tracing-tree.spec b/rust-tracing-tree/rust-tracing-tree.spec new file mode 100644 index 0000000..5d2ed15 --- /dev/null +++ b/rust-tracing-tree/rust-tracing-tree.spec @@ -0,0 +1,93 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate tracing-tree + +Name: rust-tracing-tree +Version: 0.3.0 +Release: %autorelease +Summary: Tracing Layer which prints a tree of spans and events + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/tracing-tree +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A Tracing Layer which prints a tree of spans and events.} + +%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}+time-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+time-devel %{_description} + +This package contains library source intended for building other packages which +use the "time" feature of the "%{crate}" crate. + +%files -n %{name}+time-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tracing-log-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tracing-log-devel %{_description} + +This package contains library source intended for building other packages which +use the "tracing-log" feature of the "%{crate}" crate. + +%files -n %{name}+tracing-log-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 diff --git a/rust-tracing-tree/rust2rpm.toml b/rust-tracing-tree/rust2rpm.toml new file mode 100644 index 0000000..e69de29