diff --git a/.packit.yaml b/.packit.yaml index 6eb2006..a5ee212 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -169,6 +169,62 @@ packages: - sh -c 'echo sqlx-${PACKIT_PROJECT_VERSION}.crate' get-current-version: - rpmspec -q --qf "%{Version}" --srpm rust-sqlx/rust-sqlx.spec + rust-sqlx-core: + # https://github.com/launchbadge/sqlx + specfile_path: rust-sqlx-core/rust-sqlx-core.spec + files_to_sync: + - rust-sqlx-core/rust-sqlx-core.spec + - rust-sqlx-core/rust2rpm.toml + upstream_package_name: sqlx-core + downstream_package_name: rust-sqlx-core + actions: + create-archive: + - spectool -g -s0 rust-sqlx-core/rust-sqlx-core.spec + - sh -c 'echo sqlx-core-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-sqlx-core/rust-sqlx-core.spec + rust-sqlx-macros: + # https://github.com/launchbadge/sqlx + specfile_path: rust-sqlx-macros/rust-sqlx-macros.spec + files_to_sync: + - rust-sqlx-macros/rust-sqlx-macros.spec + - rust-sqlx-macros/rust2rpm.toml + upstream_package_name: sqlx-macros + downstream_package_name: rust-sqlx-macros + actions: + create-archive: + - spectool -g -s0 rust-sqlx-macros/rust-sqlx-macros.spec + - sh -c 'echo sqlx-macros-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-sqlx-macros/rust-sqlx-macros.spec + rust-sqlx-mysql: + # https://github.com/launchbadge/sqlx + specfile_path: rust-sqlx-mysql/rust-sqlx-mysql.spec + files_to_sync: + - rust-sqlx-mysql/rust-sqlx-mysql.spec + - rust-sqlx-mysql/rust2rpm.toml + upstream_package_name: sqlx-mysql + downstream_package_name: rust-sqlx-mysql + actions: + create-archive: + - spectool -g -s0 rust-sqlx-mysql/rust-sqlx-mysql.spec + - sh -c 'echo sqlx-mysql-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-sqlx-mysql/rust-sqlx-mysql.spec + rust-sqlx-sqlite: + # https://github.com/launchbadge/sqlx + specfile_path: rust-sqlx-sqlite/rust-sqlx-sqlite.spec + files_to_sync: + - rust-sqlx-sqlite/rust-sqlx-sqlite.spec + - rust-sqlx-sqlite/rust2rpm.toml + upstream_package_name: sqlx-sqlite + downstream_package_name: rust-sqlx-sqlite + actions: + create-archive: + - spectool -g -s0 rust-sqlx-sqlite/rust-sqlx-sqlite.spec + - sh -c 'echo sqlx-sqlite-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-sqlx-sqlite/rust-sqlx-sqlite.spec rust-tiny-bip39: # https://github.com/maciejhirsz/tiny-bip39/ specfile_path: rust-tiny-bip39/rust-tiny-bip39.spec @@ -197,6 +253,131 @@ packages: - sh -c 'echo tracing-tree-${PACKIT_PROJECT_VERSION}.crate' get-current-version: - rpmspec -q --qf "%{Version}" --srpm rust-tracing-tree/rust-tracing-tree.spec + rust-criterion: + # https://github.com/bheisler/criterion.rs + specfile_path: rust-criterion/rust-criterion.spec + files_to_sync: + - rust-criterion/rust-criterion.spec + - rust-criterion/rust2rpm.toml + upstream_package_name: criterion + downstream_package_name: rust-criterion + actions: + create-archive: + - spectool -g -s0 rust-criterion/rust-criterion.spec + - sh -c 'echo criterion-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-criterion/rust-criterion.spec + rust-http-body-util: + # https://github.com/hyperium/http-body + specfile_path: rust-http-body-util/rust-http-body-util.spec + files_to_sync: + - rust-http-body-util/rust-http-body-util.spec + - rust-http-body-util/rust2rpm.toml + upstream_package_name: http-body-util + downstream_package_name: rust-http-body-util + actions: + create-archive: + - spectool -g -s0 rust-http-body-util/rust-http-body-util.spec + - sh -c 'echo http-body-util-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-http-body-util/rust-http-body-util.spec + rust-typed-builder-macro: + specfile_path: rust-typed-builder-macro/rust-typed-builder-macro.spec + files_to_sync: + - rust-typed-builder-macro/rust-typed-builder-macro.spec + - rust-typed-builder-macro/rust2rpm.toml + upstream_package_name: typed-builder-macro + downstream_package_name: rust-typed-builder-macro + actions: + create-archive: + - spectool -g -s0 rust-typed-builder-macro/rust-typed-builder-macro.spec + - sh -c 'echo typed-builder-macro-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-typed-builder-macro/rust-typed-builder-macro.spec + rust-rustls-pki-types: + # https://github.com/rustls/pki-types + specfile_path: rust-rustls-pki-types/rust-rustls-pki-types.spec + files_to_sync: + - rust-rustls-pki-types/rust-rustls-pki-types.spec + - rust-rustls-pki-types/rust2rpm.toml + upstream_package_name: rustls-pki-types + downstream_package_name: rust-rustls-pki-types + actions: + create-archive: + - spectool -g -s0 rust-rustls-pki-types/rust-rustls-pki-types.spec + - sh -c 'echo rustls-pki-types-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-rustls-pki-types/rust-rustls-pki-types.spec + rust-chacha20: + # https://github.com/RustCrypto/stream-ciphers + specfile_path: rust-chacha20/rust-chacha20.spec + files_to_sync: + - rust-chacha20/rust-chacha20.spec + - rust-chacha20/rust2rpm.toml + upstream_package_name: chacha20 + downstream_package_name: rust-chacha20 + actions: + create-archive: + - spectool -g -s0 rust-chacha20/rust-chacha20.spec + - sh -c 'echo chacha20-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-chacha20/rust-chacha20.spec + rust-ed25519-dalek: + # https://github.com/dalek-cryptography/curve25519-dalek + specfile_path: rust-ed25519-dalek/rust-ed25519-dalek.spec + files_to_sync: + - rust-ed25519-dalek/rust-ed25519-dalek.spec + - rust-ed25519-dalek/rust2rpm.toml + upstream_package_name: ed25519-dalek + downstream_package_name: rust-ed25519-dalek + actions: + create-archive: + - spectool -g -s0 rust-ed25519-dalek/rust-ed25519-dalek.spec + - sh -c 'echo ed25519-dalek-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-ed25519-dalek/rust-ed25519-dalek.spec + rust-actix-identity: + # https://github.com/actix/actix-extras + specfile_path: rust-actix-identity/rust-actix-identity.spec + files_to_sync: + - rust-actix-identity/rust-actix-identity.spec + - rust-actix-identity/rust2rpm.toml + upstream_package_name: actix-identity + downstream_package_name: rust-actix-identity + actions: + create-archive: + - spectool -g -s0 rust-actix-identity/rust-actix-identity.spec + - sh -c 'echo actix-identity-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-actix-identity/rust-actix-identity.spec + rust-primes: + # https://github.com/wackywendell/primes + specfile_path: rust-primes/rust-primes.spec + files_to_sync: + - rust-primes/rust-primes.spec + - rust-primes/rust2rpm.toml + upstream_package_name: primes + downstream_package_name: rust-primes + actions: + create-archive: + - spectool -g -s0 rust-primes/rust-primes.spec + - sh -c 'echo primes-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-primes/rust-primes.spec + rust-quanta: + # https://github.com/metrics-rs/quanta + specfile_path: rust-quanta/rust-quanta.spec + files_to_sync: + - rust-quanta/rust-quanta.spec + - rust-quanta/rust2rpm.toml + upstream_package_name: quanta + downstream_package_name: rust-quanta + actions: + create-archive: + - spectool -g -s0 rust-quanta/rust-quanta.spec + - sh -c 'echo quanta-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-quanta/rust-quanta.spec # Upstream is working on it: rust-argon2: # https://bugzilla.redhat.com/show_bug.cgi?id=2258880 @@ -261,6 +442,149 @@ packages: - sh -c 'echo typed-builder-${PACKIT_PROJECT_VERSION}.crate' get-current-version: - rpmspec -q --qf "%{Version}" --srpm rust-typed-builder/rust-typed-builder.spec + rust-num: + specfile_path: rust-num/rust-num.spec + files_to_sync: + - rust-num/rust-num.spec + - rust-num/rust2rpm.toml + actions: + create-archive: + - spectool -g -s0 rust-num/rust-num.spec + - sh -c 'echo num-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-num/rust-num.spec + rust-tokio-tungstenite: + specfile_path: rust-tokio-tungstenite/rust-tokio-tungstenite.spec + files_to_sync: + - rust-tokio-tungstenite/rust-tokio-tungstenite.spec + - rust-tokio-tungstenite/rust2rpm.toml + actions: + create-archive: + - spectool -g -s0 rust-tokio-tungstenite/rust-tokio-tungstenite.spec + - sh -c 'echo tokio-tungstenite-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-tokio-tungstenite/rust-tokio-tungstenite.spec + rust-sync_wrapper: + specfile_path: rust-sync_wrapper/rust-sync_wrapper.spec + files_to_sync: + - rust-sync_wrapper/rust-sync_wrapper.spec + - rust-sync_wrapper/rust2rpm.toml + actions: + create-archive: + - spectool -g -s0 rust-sync_wrapper/rust-sync_wrapper.spec + - sh -c 'echo sync_wrapper-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-sync_wrapper/rust-sync_wrapper.spec + rust-multer: + specfile_path: rust-multer/rust-multer.spec + files_to_sync: + - rust-multer/rust-multer.spec + - rust-multer/rust2rpm.toml + actions: + create-archive: + - spectool -g -s0 rust-multer/rust-multer.spec + - sh -c 'echo multer-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-multer/rust-multer.spec + rust-hyper: + specfile_path: rust-hyper/rust-hyper.spec + files_to_sync: + - rust-hyper/rust-hyper.spec + - rust-hyper/rust2rpm.toml + actions: + create-archive: + - spectool -g -s0 rust-hyper/rust-hyper.spec + - sh -c 'echo hyper-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-hyper/rust-hyper.spec + rust-axum-macros: + specfile_path: rust-axum-macros/rust-axum-macros.spec + files_to_sync: + - rust-axum-macros/rust-axum-macros.spec + - rust-axum-macros/rust2rpm.toml + actions: + create-archive: + - spectool -g -s0 rust-axum-macros/rust-axum-macros.spec + - sh -c 'echo axum-macros-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-axum-macros/rust-axum-macros.spec + rust-axum-core: + specfile_path: rust-axum-core/rust-axum-core.spec + files_to_sync: + - rust-axum-core/rust-axum-core.spec + - rust-axum-core/rust2rpm.toml + actions: + create-archive: + - spectool -g -s0 rust-axum-core/rust-axum-core.spec + - sh -c 'echo axum-core-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-axum-core/rust-axum-core.spec + rust-http-body: + specfile_path: rust-http-body/rust-http-body.spec + files_to_sync: + - rust-http-body/rust-http-body.spec + - rust-http-body/rust2rpm.toml + actions: + create-archive: + - spectool -g -s0 rust-http-body/rust-http-body.spec + - sh -c 'echo http-body-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-http-body/rust-http-body.spec + rust-wl-clipboard-rs: + specfile_path: rust-wl-clipboard-rs/rust-wl-clipboard-rs.spec + files_to_sync: + - rust-wl-clipboard-rs/rust-wl-clipboard-rs.spec + - rust-wl-clipboard-rs/rust2rpm.toml + actions: + create-archive: + - spectool -g -s0 rust-wl-clipboard-rs/rust-wl-clipboard-rs.spec + - sh -c 'echo wl-clipboard-rs-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-wl-clipboard-rs/rust-wl-clipboard-rs.spec + rust-x11-clipboard: + specfile_path: rust-x11-clipboard/rust-x11-clipboard.spec + files_to_sync: + - rust-x11-clipboard/rust-x11-clipboard.spec + - rust-x11-clipboard/rust2rpm.toml + actions: + create-archive: + - spectool -g -s0 rust-x11-clipboard/rust-x11-clipboard.spec + - sh -c 'echo x11-clipboard-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-x11-clipboard/rust-x11-clipboard.spec + rust-base64: + specfile_path: rust-base64/rust-base64.spec + files_to_sync: + - rust-base64/rust-base64.spec + - rust-base64/rust2rpm.toml + actions: + create-archive: + - spectool -g -s0 rust-base64/rust-base64.spec + - sh -c 'echo base64-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-base64/rust-base64.spec + rust-curve25519-dalek: + specfile_path: rust-curve25519-dalek/rust-curve25519-dalek.spec + files_to_sync: + - rust-curve25519-dalek/rust-curve25519-dalek.spec + - rust-curve25519-dalek/rust2rpm.toml + actions: + create-archive: + - spectool -g -s0 rust-curve25519-dalek/rust-curve25519-dalek.spec + - sh -c 'echo curve25519-dalek-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-curve25519-dalek/rust-curve25519-dalek.spec + rust-hyper-tls: + specfile_path: rust-hyper-tls/rust-hyper-tls.spec + files_to_sync: + - rust-hyper-tls/rust-hyper-tls.spec + - rust-hyper-tls/rust2rpm.toml + actions: + create-archive: + - spectool -g -s0 rust-hyper-tls/rust-hyper-tls.spec + - sh -c 'echo hyper-tls-${PACKIT_PROJECT_VERSION}.crate' + get-current-version: + - rpmspec -q --qf "%{Version}" --srpm rust-hyper-tls/rust-hyper-tls.spec jobs: - job: copr_build diff --git a/rust-actix-identity/rust-actix-identity.spec b/rust-actix-identity/rust-actix-identity.spec new file mode 100644 index 0000000..31e136f --- /dev/null +++ b/rust-actix-identity/rust-actix-identity.spec @@ -0,0 +1,70 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate actix-identity + +Name: rust-actix-identity +Version: 0.7.1 +Release: %autorelease +Summary: Identity management for Actix Web + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/actix-identity +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Identity management for Actix Web.} + +%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}/CHANGES.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-actix-identity/rust2rpm.toml b/rust-actix-identity/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-axum-core/rust-axum-core.spec b/rust-axum-core/rust-axum-core.spec new file mode 100644 index 0000000..86d3a62 --- /dev/null +++ b/rust-axum-core/rust-axum-core.spec @@ -0,0 +1,93 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate axum-core + +Name: rust-axum-core +Version: 0.4.3 +Release: %autorelease +Summary: Core types and traits for axum + +License: MIT +URL: https://crates.io/crates/axum-core +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Core types and traits for axum.} + +%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}+__private_docs-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+__private_docs-devel %{_description} + +This package contains library source intended for building other packages which +use the "__private_docs" feature of the "%{crate}" crate. + +%files -n %{name}+__private_docs-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-axum-core/rust2rpm.toml b/rust-axum-core/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-axum-macros/rust-axum-macros.spec b/rust-axum-macros/rust-axum-macros.spec new file mode 100644 index 0000000..b4a47d2 --- /dev/null +++ b/rust-axum-macros/rust-axum-macros.spec @@ -0,0 +1,81 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate axum-macros + +Name: rust-axum-macros +Version: 0.4.1 +Release: %autorelease +Summary: Macros for axum + +License: MIT +URL: https://crates.io/crates/axum-macros +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Macros for axum.} + +%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}+__private-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+__private-devel %{_description} + +This package contains library source intended for building other packages which +use the "__private" feature of the "%{crate}" crate. + +%files -n %{name}+__private-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-macros/rust2rpm.toml b/rust-axum-macros/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-base64/rust-base64.spec b/rust-base64/rust-base64.spec new file mode 100644 index 0000000..40e9a21 --- /dev/null +++ b/rust-base64/rust-base64.spec @@ -0,0 +1,95 @@ +# Generated by rust2rpm 26 +# * missing / outdated dev-dependencies: rstest ^0.13, rstest_reuse ^0.6 +%bcond_with check +%global debug_package %{nil} + +%global crate base64 + +Name: rust-base64 +Version: 0.22.0 +Release: %autorelease +Summary: Encodes and decodes base64 as bytes or utf8 + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/base64 +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Encodes and decodes base64 as bytes or utf8.} + +%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 +%doc %{crate_instdir}/RELEASE-NOTES.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}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-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} -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-base64/rust2rpm.toml b/rust-base64/rust2rpm.toml new file mode 100644 index 0000000..a608837 --- /dev/null +++ b/rust-base64/rust2rpm.toml @@ -0,0 +1,3 @@ +[tests] +run = ["none"] +comments = ["missing / outdated dev-dependencies: rstest ^0.13, rstest_reuse ^0.6"] diff --git a/rust-blake2/rust-blake2.spec b/rust-blake2/rust-blake2.spec new file mode 100644 index 0000000..050dcac --- /dev/null +++ b/rust-blake2/rust-blake2.spec @@ -0,0 +1,142 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate blake2 + +Name: rust-blake2 +Version: 0.10.6 +Release: %autorelease +Summary: Hash functions + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/blake2 +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +BLAKE2 hash functions.} + +%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}+reset-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+reset-devel %{_description} + +This package contains library source intended for building other packages which +use the "reset" feature of the "%{crate}" crate. + +%files -n %{name}+reset-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+simd-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+simd-devel %{_description} + +This package contains library source intended for building other packages which +use the "simd" feature of the "%{crate}" crate. + +%files -n %{name}+simd-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+simd_asm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+simd_asm-devel %{_description} + +This package contains library source intended for building other packages which +use the "simd_asm" feature of the "%{crate}" crate. + +%files -n %{name}+simd_asm-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+simd_opt-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+simd_opt-devel %{_description} + +This package contains library source intended for building other packages which +use the "simd_opt" feature of the "%{crate}" crate. + +%files -n %{name}+simd_opt-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+size_opt-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+size_opt-devel %{_description} + +This package contains library source intended for building other packages which +use the "size_opt" feature of the "%{crate}" crate. + +%files -n %{name}+size_opt-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} -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-blake2/rust2rpm.toml b/rust-blake2/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-chacha20/rust-chacha20.spec b/rust-chacha20/rust-chacha20.spec new file mode 100644 index 0000000..3773547 --- /dev/null +++ b/rust-chacha20/rust-chacha20.spec @@ -0,0 +1,98 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate chacha20 + +Name: rust-chacha20 +Version: 0.9.1 +Release: %autorelease +Summary: ChaCha20 stream cipher + +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/chacha20 +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +The ChaCha20 stream cipher (RFC 8439) implemented in pure Rust using +traits from the RustCrypto `cipher` crate, with optional architecture- +specific hardware acceleration (AVX2, SSE2). Additionally provides the +ChaCha8, ChaCha12, XChaCha20, XChaCha12 and XChaCha8 stream ciphers, and +also optional rand_core-compatible RNGs based on those ciphers.} + +%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}+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}+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 diff --git a/rust-chacha20/rust2rpm.toml b/rust-chacha20/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-criterion/rust-criterion.spec b/rust-criterion/rust-criterion.spec new file mode 100644 index 0000000..7391ebf --- /dev/null +++ b/rust-criterion/rust-criterion.spec @@ -0,0 +1,275 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate criterion + +Name: rust-criterion +Version: 0.5.1 +Release: %autorelease +Summary: Statistics-driven micro-benchmarking library + +License: Apache-2.0 OR MIT +URL: https://crates.io/crates/criterion +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Statistics-driven micro-benchmarking 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-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.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}+async-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+async-devel %{_description} + +This package contains library source intended for building other packages which +use the "async" feature of the "%{crate}" crate. + +%files -n %{name}+async-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+async-std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+async-std-devel %{_description} + +This package contains library source intended for building other packages which +use the "async-std" feature of the "%{crate}" crate. + +%files -n %{name}+async-std-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+async_futures-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+async_futures-devel %{_description} + +This package contains library source intended for building other packages which +use the "async_futures" feature of the "%{crate}" crate. + +%files -n %{name}+async_futures-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+async_smol-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+async_smol-devel %{_description} + +This package contains library source intended for building other packages which +use the "async_smol" feature of the "%{crate}" crate. + +%files -n %{name}+async_smol-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+async_std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+async_std-devel %{_description} + +This package contains library source intended for building other packages which +use the "async_std" feature of the "%{crate}" crate. + +%files -n %{name}+async_std-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+async_tokio-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+async_tokio-devel %{_description} + +This package contains library source intended for building other packages which +use the "async_tokio" feature of the "%{crate}" crate. + +%files -n %{name}+async_tokio-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+cargo_bench_support-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+cargo_bench_support-devel %{_description} + +This package contains library source intended for building other packages which +use the "cargo_bench_support" feature of the "%{crate}" crate. + +%files -n %{name}+cargo_bench_support-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+csv-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+csv-devel %{_description} + +This package contains library source intended for building other packages which +use the "csv" feature of the "%{crate}" crate. + +%files -n %{name}+csv-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+csv_output-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+csv_output-devel %{_description} + +This package contains library source intended for building other packages which +use the "csv_output" feature of the "%{crate}" crate. + +%files -n %{name}+csv_output-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+futures-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+futures-devel %{_description} + +This package contains library source intended for building other packages which +use the "futures" feature of the "%{crate}" crate. + +%files -n %{name}+futures-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+html_reports-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+html_reports-devel %{_description} + +This package contains library source intended for building other packages which +use the "html_reports" feature of the "%{crate}" crate. + +%files -n %{name}+html_reports-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+plotters-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+plotters-devel %{_description} + +This package contains library source intended for building other packages which +use the "plotters" feature of the "%{crate}" crate. + +%files -n %{name}+plotters-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rayon-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rayon-devel %{_description} + +This package contains library source intended for building other packages which +use the "rayon" feature of the "%{crate}" crate. + +%files -n %{name}+rayon-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+real_blackbox-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+real_blackbox-devel %{_description} + +This package contains library source intended for building other packages which +use the "real_blackbox" feature of the "%{crate}" crate. + +%files -n %{name}+real_blackbox-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+smol-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+smol-devel %{_description} + +This package contains library source intended for building other packages which +use the "smol" feature of the "%{crate}" crate. + +%files -n %{name}+smol-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+stable-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+stable-devel %{_description} + +This package contains library source intended for building other packages which +use the "stable" feature of the "%{crate}" crate. + +%files -n %{name}+stable-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 + +%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-criterion/rust2rpm.toml b/rust-criterion/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-curve25519-dalek/curve25519-dalek-fix-metadata-auto.diff b/rust-curve25519-dalek/curve25519-dalek-fix-metadata-auto.diff new file mode 100644 index 0000000..9ca751b --- /dev/null +++ b/rust-curve25519-dalek/curve25519-dalek-fix-metadata-auto.diff @@ -0,0 +1,13 @@ +--- curve25519-dalek-4.1.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ curve25519-dalek-4.1.2/Cargo.toml 2024-03-28T14:52:11.541957+00:00 +@@ -150,9 +150,6 @@ + [target."cfg(all(not(curve25519_dalek_backend = \"fiat\"), not(curve25519_dalek_backend = \"serial\"), target_arch = \"x86_64\"))".dependencies.curve25519-dalek-derive] + version = "0.1" + +-[target."cfg(curve25519_dalek_backend = \"fiat\")".dependencies.fiat-crypto] +-version = "0.2.1" +-default-features = false +- + [target."cfg(target_arch = \"x86_64\")".dependencies.cpufeatures] + version = "0.2.6" ++ diff --git a/rust-curve25519-dalek/rust-curve25519-dalek.spec b/rust-curve25519-dalek/rust-curve25519-dalek.spec new file mode 100644 index 0000000..1afc9a3 --- /dev/null +++ b/rust-curve25519-dalek/rust-curve25519-dalek.spec @@ -0,0 +1,192 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate curve25519-dalek + +Name: rust-curve25519-dalek +Version: 4.1.2 +Release: %autorelease +Summary: Pure-Rust implementation of group operations on ristretto255 and Curve25519 + +License: BSD-3-Clause +URL: https://crates.io/crates/curve25519-dalek +Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: curve25519-dalek-fix-metadata-auto.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A pure-Rust implementation of group operations on ristretto255 and +Curve25519.} + +%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}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+digest-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+digest-devel %{_description} + +This package contains library source intended for building other packages which +use the "digest" feature of the "%{crate}" crate. + +%files -n %{name}+digest-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+ff-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+ff-devel %{_description} + +This package contains library source intended for building other packages which +use the "ff" feature of the "%{crate}" crate. + +%files -n %{name}+ff-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+group-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+group-devel %{_description} + +This package contains library source intended for building other packages which +use the "group" feature of the "%{crate}" crate. + +%files -n %{name}+group-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+group-bits-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+group-bits-devel %{_description} + +This package contains library source intended for building other packages which +use the "group-bits" feature of the "%{crate}" crate. + +%files -n %{name}+group-bits-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+legacy_compatibility-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+legacy_compatibility-devel %{_description} + +This package contains library source intended for building other packages which +use the "legacy_compatibility" feature of the "%{crate}" crate. + +%files -n %{name}+legacy_compatibility-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+precomputed-tables-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+precomputed-tables-devel %{_description} + +This package contains library source intended for building other packages which +use the "precomputed-tables" feature of the "%{crate}" crate. + +%files -n %{name}+precomputed-tables-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rand_core-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rand_core-devel %{_description} + +This package contains library source intended for building other packages which +use the "rand_core" feature of the "%{crate}" crate. + +%files -n %{name}+rand_core-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}+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 diff --git a/rust-curve25519-dalek/rust2rpm.toml b/rust-curve25519-dalek/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-ed25519-dalek/rust-ed25519-dalek.spec b/rust-ed25519-dalek/rust-ed25519-dalek.spec new file mode 100644 index 0000000..46da888 --- /dev/null +++ b/rust-ed25519-dalek/rust-ed25519-dalek.spec @@ -0,0 +1,250 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate ed25519-dalek + +Name: rust-ed25519-dalek +Version: 2.1.1 +Release: %autorelease +Summary: Fast and efficient ed25519 EdDSA key generations, signing, and verification in pure Rust + +License: BSD-3-Clause +URL: https://crates.io/crates/ed25519-dalek +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Fast and efficient ed25519 EdDSA key generations, signing, and +verification in pure Rust.} + +%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}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+asm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+asm-devel %{_description} + +This package contains library source intended for building other packages which +use the "asm" feature of the "%{crate}" crate. + +%files -n %{name}+asm-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+batch-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+batch-devel %{_description} + +This package contains library source intended for building other packages which +use the "batch" feature of the "%{crate}" crate. + +%files -n %{name}+batch-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+digest-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+digest-devel %{_description} + +This package contains library source intended for building other packages which +use the "digest" feature of the "%{crate}" crate. + +%files -n %{name}+digest-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+fast-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+fast-devel %{_description} + +This package contains library source intended for building other packages which +use the "fast" feature of the "%{crate}" crate. + +%files -n %{name}+fast-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+hazmat-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hazmat-devel %{_description} + +This package contains library source intended for building other packages which +use the "hazmat" feature of the "%{crate}" crate. + +%files -n %{name}+hazmat-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+legacy_compatibility-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+legacy_compatibility-devel %{_description} + +This package contains library source intended for building other packages which +use the "legacy_compatibility" feature of the "%{crate}" crate. + +%files -n %{name}+legacy_compatibility-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+merlin-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+merlin-devel %{_description} + +This package contains library source intended for building other packages which +use the "merlin" feature of the "%{crate}" crate. + +%files -n %{name}+merlin-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+pem-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+pem-devel %{_description} + +This package contains library source intended for building other packages which +use the "pem" feature of the "%{crate}" crate. + +%files -n %{name}+pem-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+pkcs8-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+pkcs8-devel %{_description} + +This package contains library source intended for building other packages which +use the "pkcs8" feature of the "%{crate}" crate. + +%files -n %{name}+pkcs8-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rand_core-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rand_core-devel %{_description} + +This package contains library source intended for building other packages which +use the "rand_core" feature of the "%{crate}" crate. + +%files -n %{name}+rand_core-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}+signature-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+signature-devel %{_description} + +This package contains library source intended for building other packages which +use the "signature" feature of the "%{crate}" crate. + +%files -n %{name}+signature-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}+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 diff --git a/rust-ed25519-dalek/rust2rpm.toml b/rust-ed25519-dalek/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-http-body-util/rust-http-body-util.spec b/rust-http-body-util/rust-http-body-util.spec new file mode 100644 index 0000000..104a4f0 --- /dev/null +++ b/rust-http-body-util/rust-http-body-util.spec @@ -0,0 +1,69 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate http-body-util + +Name: rust-http-body-util +Version: 0.1.1 +Release: %autorelease +Summary: Combinators and adapters for HTTP request or response bodies + +License: MIT +URL: https://crates.io/crates/http-body-util +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Combinators and adapters for HTTP request or response bodies.} + +%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 + +%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-http-body-util/rust2rpm.toml b/rust-http-body-util/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-http-body/rust-http-body.spec b/rust-http-body/rust-http-body.spec new file mode 100644 index 0000000..fb2e813 --- /dev/null +++ b/rust-http-body/rust-http-body.spec @@ -0,0 +1,70 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate http-body + +Name: rust-http-body +Version: 1.0.0 +Release: %autorelease +Summary: Trait representing an asynchronous, streaming, HTTP request or response body + +License: MIT +URL: https://crates.io/crates/http-body +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Trait representing an asynchronous, streaming, HTTP request or response +body.} + +%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 + +%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-http-body/rust2rpm.toml b/rust-http-body/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-hyper-tls/rust-hyper-tls.spec b/rust-hyper-tls/rust-hyper-tls.spec new file mode 100644 index 0000000..fd58c7b --- /dev/null +++ b/rust-hyper-tls/rust-hyper-tls.spec @@ -0,0 +1,73 @@ +# Generated by rust2rpm 24 +%bcond_without check +%global debug_package %{nil} + +%global crate hyper-tls + +Name: rust-hyper-tls +Version: 0.5.0 +Release: %autorelease +Summary: Default TLS implementation for use with hyper + +# Upstream license specification: MIT/Apache-2.0 +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/hyper-tls +Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * drop feature for using a vendored TLS backend +Patch: hyper-tls-fix-metadata.diff + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Default TLS implementation for use with hyper.} + +%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_no_tilde} -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-hyper-tls/rust2rpm.toml b/rust-hyper-tls/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-hyper-util/rust-hyper-util.spec b/rust-hyper-util/rust-hyper-util.spec new file mode 100644 index 0000000..f814e1f --- /dev/null +++ b/rust-hyper-util/rust-hyper-util.spec @@ -0,0 +1,189 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate hyper-util + +Name: rust-hyper-util +Version: 0.1.3 +Release: %autorelease +Summary: Hyper utilities + +License: MIT +URL: https://crates.io/crates/hyper-util +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Hyper utilities.} + +%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}+__internal_happy_eyeballs_tests-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+__internal_happy_eyeballs_tests-devel %{_description} + +This package contains library source intended for building other packages which +use the "__internal_happy_eyeballs_tests" feature of the "%{crate}" crate. + +%files -n %{name}+__internal_happy_eyeballs_tests-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+client-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+client-devel %{_description} + +This package contains library source intended for building other packages which +use the "client" feature of the "%{crate}" crate. + +%files -n %{name}+client-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+client-legacy-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+client-legacy-devel %{_description} + +This package contains library source intended for building other packages which +use the "client-legacy" feature of the "%{crate}" crate. + +%files -n %{name}+client-legacy-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+full-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+full-devel %{_description} + +This package contains library source intended for building other packages which +use the "full" feature of the "%{crate}" crate. + +%files -n %{name}+full-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+http1-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+http1-devel %{_description} + +This package contains library source intended for building other packages which +use the "http1" feature of the "%{crate}" crate. + +%files -n %{name}+http1-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+http2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+http2-devel %{_description} + +This package contains library source intended for building other packages which +use the "http2" feature of the "%{crate}" crate. + +%files -n %{name}+http2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+server-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+server-devel %{_description} + +This package contains library source intended for building other packages which +use the "server" feature of the "%{crate}" crate. + +%files -n %{name}+server-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+server-auto-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+server-auto-devel %{_description} + +This package contains library source intended for building other packages which +use the "server-auto" feature of the "%{crate}" crate. + +%files -n %{name}+server-auto-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+service-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+service-devel %{_description} + +This package contains library source intended for building other packages which +use the "service" feature of the "%{crate}" crate. + +%files -n %{name}+service-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 + +%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-hyper-util/rust2rpm.toml b/rust-hyper-util/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-hyper/rust-hyper.spec b/rust-hyper/rust-hyper.spec new file mode 100644 index 0000000..aa36041 --- /dev/null +++ b/rust-hyper/rust-hyper.spec @@ -0,0 +1,238 @@ +# Generated by rust2rpm 25 +# * examples and integration tests are not included in published crates +# * tower dev-dependency is not packaged +%bcond_with check +%global debug_package %{nil} + +%global crate hyper + +Name: rust-hyper +Version: 0.14.28 +Release: %autorelease +Summary: Fast and correct HTTP library + +License: MIT +URL: https://crates.io/crates/hyper +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A fast and correct HTTP 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 + +%package -n %{name}+backports-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+backports-devel %{_description} + +This package contains library source intended for building other packages which +use the "backports" feature of the "%{crate}" crate. + +%files -n %{name}+backports-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+client-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+client-devel %{_description} + +This package contains library source intended for building other packages which +use the "client" feature of the "%{crate}" crate. + +%files -n %{name}+client-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+deprecated-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+deprecated-devel %{_description} + +This package contains library source intended for building other packages which +use the "deprecated" feature of the "%{crate}" crate. + +%files -n %{name}+deprecated-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+ffi-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+ffi-devel %{_description} + +This package contains library source intended for building other packages which +use the "ffi" feature of the "%{crate}" crate. + +%files -n %{name}+ffi-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+full-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+full-devel %{_description} + +This package contains library source intended for building other packages which +use the "full" feature of the "%{crate}" crate. + +%files -n %{name}+full-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+h2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+h2-devel %{_description} + +This package contains library source intended for building other packages which +use the "h2" feature of the "%{crate}" crate. + +%files -n %{name}+h2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+http1-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+http1-devel %{_description} + +This package contains library source intended for building other packages which +use the "http1" feature of the "%{crate}" crate. + +%files -n %{name}+http1-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+http2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+http2-devel %{_description} + +This package contains library source intended for building other packages which +use the "http2" feature of the "%{crate}" crate. + +%files -n %{name}+http2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+libc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+libc-devel %{_description} + +This package contains library source intended for building other packages which +use the "libc" feature of the "%{crate}" crate. + +%files -n %{name}+libc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+runtime-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+runtime-devel %{_description} + +This package contains library source intended for building other packages which +use the "runtime" feature of the "%{crate}" crate. + +%files -n %{name}+runtime-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+server-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+server-devel %{_description} + +This package contains library source intended for building other packages which +use the "server" feature of the "%{crate}" crate. + +%files -n %{name}+server-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+socket2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+socket2-devel %{_description} + +This package contains library source intended for building other packages which +use the "socket2" feature of the "%{crate}" crate. + +%files -n %{name}+socket2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+stream-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+stream-devel %{_description} + +This package contains library source intended for building other packages which +use the "stream" feature of the "%{crate}" crate. + +%files -n %{name}+stream-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tcp-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tcp-devel %{_description} + +This package contains library source intended for building other packages which +use the "tcp" feature of the "%{crate}" crate. + +%files -n %{name}+tcp-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-hyper/rust2rpm.toml b/rust-hyper/rust2rpm.toml new file mode 100644 index 0000000..01eaf88 --- /dev/null +++ b/rust-hyper/rust2rpm.toml @@ -0,0 +1,12 @@ +[features] +hide = [ + "__internal_happy_eyeballs_tests", + "nightly", +] + +[tests] +run = ["none"] +comments = [ + "examples and integration tests are not included in published crates", + "tower dev-dependency is not packaged", +] diff --git a/rust-multer/rust-multer.spec b/rust-multer/rust-multer.spec new file mode 100644 index 0000000..ce3114b --- /dev/null +++ b/rust-multer/rust-multer.spec @@ -0,0 +1,152 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate multer + +Name: rust-multer +Version: 3.0.0 +Release: %autorelease +Summary: Async parser for multipart/form-data content-type in Rust + +License: MIT +URL: https://crates.io/crates/multer +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +An async parser for `multipart/form-data` content-type in Rust.} + +%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 + +%package -n %{name}+all-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+all-devel %{_description} + +This package contains library source intended for building other packages which +use the "all" feature of the "%{crate}" crate. + +%files -n %{name}+all-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}+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}+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}+tokio-io-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-io-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio-io" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-io-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tokio-util-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-util-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio-util" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-util-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-multer/rust2rpm.toml b/rust-multer/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-num/rust-num.spec b/rust-num/rust-num.spec new file mode 100644 index 0000000..b18849c --- /dev/null +++ b/rust-num/rust-num.spec @@ -0,0 +1,143 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate num + +Name: rust-num +Version: 0.4.1 +Release: %autorelease +Summary: Collection of numeric types and traits for Rust + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/num +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A collection of numeric types and traits for Rust, including bigint, +complex, rational, range iterators, generic integers, and more!.} + +%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 +%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 + +%package -n %{name}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+libm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+libm-devel %{_description} + +This package contains library source intended for building other packages which +use the "libm" feature of the "%{crate}" crate. + +%files -n %{name}+libm-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+num-bigint-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+num-bigint-devel %{_description} + +This package contains library source intended for building other packages which +use the "num-bigint" feature of the "%{crate}" crate. + +%files -n %{name}+num-bigint-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rand-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rand-devel %{_description} + +This package contains library source intended for building other packages which +use the "rand" feature of the "%{crate}" crate. + +%files -n %{name}+rand-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}+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} -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-num/rust2rpm.toml b/rust-num/rust2rpm.toml new file mode 100644 index 0000000..eb98cc4 --- /dev/null +++ b/rust-num/rust2rpm.toml @@ -0,0 +1,2 @@ +[package] +summary = "Collection of numeric types and traits for Rust" diff --git a/rust-primes/rust-primes.spec b/rust-primes/rust-primes.spec new file mode 100644 index 0000000..39e33c0 --- /dev/null +++ b/rust-primes/rust-primes.spec @@ -0,0 +1,70 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate primes + +Name: rust-primes +Version: 0.3.0 +Release: %autorelease +Summary: Package for calculating primes using the Sieve of Eratosthenes, and using that to check if a number is prime and calculating factors + +License: BSD-3-Clause +URL: https://crates.io/crates/primes +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A package for calculating primes using the Sieve of Eratosthenes, and +using that to check if a number is prime and calculating factors. +Includes an iterator over all primes.} + +%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-primes/rust2rpm.toml b/rust-primes/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-quanta/quanta-fix-metadata-auto.diff b/rust-quanta/quanta-fix-metadata-auto.diff new file mode 100644 index 0000000..4b08d29 --- /dev/null +++ b/rust-quanta/quanta-fix-metadata-auto.diff @@ -0,0 +1,29 @@ +--- quanta-0.12.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ quanta-0.12.2/Cargo.toml 2024-03-28T15:02:13.791895+00:00 +@@ -63,19 +63,6 @@ + flaky_tests = [] + prost = ["prost-types"] + +-[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dependencies.web-sys] +-version = "0.3" +-features = [ +- "Window", +- "Performance", +-] +- +-[target."cfg(all(target_arch = \"wasm32\", target_os = \"unknown\"))".dev-dependencies.wasm-bindgen-test] +-version = "0.3" +- +-[target."cfg(all(target_arch = \"wasm32\", target_os = \"wasi\"))".dependencies.wasi] +-version = "0.11" +- + [target."cfg(not(any(target_os = \"windows\", target_arch = \"wasm32\")))".dependencies.libc] + version = "0.2" + +@@ -85,6 +72,3 @@ + [target."cfg(target_arch = \"x86_64\")".dependencies.raw-cpuid] + version = "11.0" + +-[target."cfg(target_os = \"windows\")".dependencies.winapi] +-version = "0.3" +-features = ["profileapi"] diff --git a/rust-quanta/rust-quanta.spec b/rust-quanta/rust-quanta.spec new file mode 100644 index 0000000..01f584b --- /dev/null +++ b/rust-quanta/rust-quanta.spec @@ -0,0 +1,108 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate quanta + +Name: rust-quanta +Version: 0.12.2 +Release: %autorelease +Summary: High-speed timing library + +License: MIT +URL: https://crates.io/crates/quanta +Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: quanta-fix-metadata-auto.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +High-speed timing 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}/CODE_OF_CONDUCT.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}+flaky_tests-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+flaky_tests-devel %{_description} + +This package contains library source intended for building other packages which +use the "flaky_tests" feature of the "%{crate}" crate. + +%files -n %{name}+flaky_tests-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+prost-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+prost-devel %{_description} + +This package contains library source intended for building other packages which +use the "prost" feature of the "%{crate}" crate. + +%files -n %{name}+prost-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+prost-types-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+prost-types-devel %{_description} + +This package contains library source intended for building other packages which +use the "prost-types" feature of the "%{crate}" crate. + +%files -n %{name}+prost-types-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-quanta/rust2rpm.toml b/rust-quanta/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-rustls-pki-types/rust-rustls-pki-types.spec b/rust-rustls-pki-types/rust-rustls-pki-types.spec new file mode 100644 index 0000000..e6b27a7 --- /dev/null +++ b/rust-rustls-pki-types/rust-rustls-pki-types.spec @@ -0,0 +1,107 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate rustls-pki-types + +Name: rust-rustls-pki-types +Version: 1.4.1 +Release: %autorelease +Summary: Shared types for the rustls PKI ecosystem + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/rustls-pki-types +Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: rustls-pki-types-fix-metadata-auto.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Shared types for the rustls PKI ecosystem.} + +%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}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-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}+web-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+web-devel %{_description} + +This package contains library source intended for building other packages which +use the "web" feature of the "%{crate}" crate. + +%files -n %{name}+web-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-rustls-pki-types/rust2rpm.toml b/rust-rustls-pki-types/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-rustls-pki-types/rustls-pki-types-fix-metadata-auto.diff b/rust-rustls-pki-types/rustls-pki-types-fix-metadata-auto.diff new file mode 100644 index 0000000..dfd0629 --- /dev/null +++ b/rust-rustls-pki-types/rustls-pki-types-fix-metadata-auto.diff @@ -0,0 +1,12 @@ +--- rustls-pki-types-1.4.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ rustls-pki-types-1.4.1/Cargo.toml 2024-03-28T14:36:34.618501+00:00 +@@ -37,8 +37,5 @@ + alloc = [] + default = ["alloc"] + std = ["alloc"] +-web = ["web-time"] ++web = [] + +-[target."cfg(all(target_family = \"wasm\", target_os = \"unknown\"))".dependencies.web-time] +-version = "1" +-optional = true diff --git a/rust-sqlx-core/rust-sqlx-core.spec b/rust-sqlx-core/rust-sqlx-core.spec new file mode 100644 index 0000000..224f519 --- /dev/null +++ b/rust-sqlx-core/rust-sqlx-core.spec @@ -0,0 +1,487 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate sqlx-core + +Name: rust-sqlx-core +Version: 0.7.4 +Release: %autorelease +Summary: Core of SQLx, the rust SQL toolkit. Not intended to be used directly + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/sqlx-core +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Core of SQLx, the rust SQL toolkit. Not intended to be used directly.} + +%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 +%{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}+_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}+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}+async-io-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+async-io-devel %{_description} + +This package contains library source intended for building other packages which +use the "async-io" feature of the "%{crate}" crate. + +%files -n %{name}+async-io-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+async-std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+async-std-devel %{_description} + +This package contains library source intended for building other packages which +use the "async-std" feature of the "%{crate}" crate. + +%files -n %{name}+async-std-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}+bstr-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+bstr-devel %{_description} + +This package contains library source intended for building other packages which +use the "bstr" feature of the "%{crate}" crate. + +%files -n %{name}+bstr-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}+crc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+crc-devel %{_description} + +This package contains library source intended for building other packages which +use the "crc" feature of the "%{crate}" crate. + +%files -n %{name}+crc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+digest-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+digest-devel %{_description} + +This package contains library source intended for building other packages which +use the "digest" feature of the "%{crate}" crate. + +%files -n %{name}+digest-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+encoding_rs-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+encoding_rs-devel %{_description} + +This package contains library source intended for building other packages which +use the "encoding_rs" feature of the "%{crate}" crate. + +%files -n %{name}+encoding_rs-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}+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}+native-tls-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+native-tls-devel %{_description} + +This package contains library source intended for building other packages which +use the "native-tls" feature of the "%{crate}" crate. + +%files -n %{name}+native-tls-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+num-bigint-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+num-bigint-devel %{_description} + +This package contains library source intended for building other packages which +use the "num-bigint" feature of the "%{crate}" crate. + +%files -n %{name}+num-bigint-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+offline-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+offline-devel %{_description} + +This package contains library source intended for building other packages which +use the "offline" feature of the "%{crate}" crate. + +%files -n %{name}+offline-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+regex-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+regex-devel %{_description} + +This package contains library source intended for building other packages which +use the "regex" feature of the "%{crate}" crate. + +%files -n %{name}+regex-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}+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}+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}+sha1-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+sha1-devel %{_description} + +This package contains library source intended for building other packages which +use the "sha1" feature of the "%{crate}" crate. + +%files -n %{name}+sha1-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}+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}+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}+tokio-stream-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-stream-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio-stream" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-stream-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 + +%package -n %{name}+webpki-roots-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+webpki-roots-devel %{_description} + +This package contains library source intended for building other packages which +use the "webpki-roots" feature of the "%{crate}" crate. + +%files -n %{name}+webpki-roots-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-core/rust2rpm.toml b/rust-sqlx-core/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-sqlx-macros/rust-sqlx-macros.spec b/rust-sqlx-macros/rust-sqlx-macros.spec new file mode 100644 index 0000000..3fd9ce0 --- /dev/null +++ b/rust-sqlx-macros/rust-sqlx-macros.spec @@ -0,0 +1,271 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate sqlx-macros + +Name: rust-sqlx-macros +Version: 0.7.4 +Release: %autorelease +Summary: Macros for SQLx, the rust SQL toolkit. Not intended to be used directly + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/sqlx-macros +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Macros for SQLx, the rust SQL toolkit. Not intended to be used directly.} + +%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 +%{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}+_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-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}+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}+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}+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}+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}+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-macros/rust2rpm.toml b/rust-sqlx-macros/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-sqlx-mysql/rust-sqlx-mysql.spec b/rust-sqlx-mysql/rust-sqlx-mysql.spec new file mode 100644 index 0000000..8f67a46 --- /dev/null +++ b/rust-sqlx-mysql/rust-sqlx-mysql.spec @@ -0,0 +1,188 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate sqlx-mysql + +Name: rust-sqlx-mysql +Version: 0.7.4 +Release: %autorelease +Summary: MySQL driver implementation for SQLx + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/sqlx-mysql +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +MySQL driver implementation for SQLx. Not for direct use; see the `sqlx` +crate for details.} + +%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 +%{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}+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}+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}+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}+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}+offline-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+offline-devel %{_description} + +This package contains library source intended for building other packages which +use the "offline" feature of the "%{crate}" crate. + +%files -n %{name}+offline-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}+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}+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}+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-mysql/rust2rpm.toml b/rust-sqlx-mysql/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-sqlx-postgres/rust-sqlx-postgres.spec b/rust-sqlx-postgres/rust-sqlx-postgres.spec new file mode 100644 index 0000000..d9e063d --- /dev/null +++ b/rust-sqlx-postgres/rust-sqlx-postgres.spec @@ -0,0 +1,214 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate sqlx-postgres + +Name: rust-sqlx-postgres +Version: 0.7.4 +Release: %autorelease +Summary: PostgreSQL driver implementation for SQLx + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/sqlx-postgres +Source: %{crates_source} +# Automatically generated patch to strip dependencies and normalize metadata +Patch: sqlx-postgres-fix-metadata-auto.diff + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +PostgreSQL driver implementation for SQLx. Not for direct use; see the +`sqlx` crate for details.} + +%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 +%{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}+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}+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}+offline-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+offline-devel %{_description} + +This package contains library source intended for building other packages which +use the "offline" feature of the "%{crate}" crate. + +%files -n %{name}+offline-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}+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}+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-postgres/rust2rpm.toml b/rust-sqlx-postgres/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-sqlx-postgres/sqlx-postgres-fix-metadata-auto.diff b/rust-sqlx-postgres/sqlx-postgres-fix-metadata-auto.diff new file mode 100644 index 0000000..2ad1c7c --- /dev/null +++ b/rust-sqlx-postgres/sqlx-postgres-fix-metadata-auto.diff @@ -0,0 +1,8 @@ +--- sqlx-postgres-0.7.4/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ sqlx-postgres-0.7.4/Cargo.toml 2024-03-28T14:01:48.758311+00:00 +@@ -201,5 +201,3 @@ + "rust_decimal/maths", + ] + +-[target."cfg(target_os = \"windows\")".dependencies.etcetera] +-version = "0.8.0" diff --git a/rust-sqlx-sqlite/rust-sqlx-sqlite.spec b/rust-sqlx-sqlite/rust-sqlx-sqlite.spec new file mode 100644 index 0000000..da06e2e --- /dev/null +++ b/rust-sqlx-sqlite/rust-sqlx-sqlite.spec @@ -0,0 +1,176 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate sqlx-sqlite + +Name: rust-sqlx-sqlite +Version: 0.7.4 +Release: %autorelease +Summary: SQLite driver implementation for SQLx + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/sqlx-sqlite +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +SQLite driver implementation for SQLx. Not for direct use; see the +`sqlx` crate for details.} + +%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 +%{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}+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}+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}+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}+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}+offline-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+offline-devel %{_description} + +This package contains library source intended for building other packages which +use the "offline" feature of the "%{crate}" crate. + +%files -n %{name}+offline-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}+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}+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}+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-sqlite/rust2rpm.toml b/rust-sqlx-sqlite/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-sync_wrapper/rust-sync_wrapper.spec b/rust-sync_wrapper/rust-sync_wrapper.spec new file mode 100644 index 0000000..e12151d --- /dev/null +++ b/rust-sync_wrapper/rust-sync_wrapper.spec @@ -0,0 +1,93 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate sync_wrapper + +Name: rust-sync_wrapper +Version: 1.0.0 +Release: %autorelease +Summary: Tool for enlisting the compiler's help in proving the absence of concurrency + +License: Apache-2.0 +URL: https://crates.io/crates/sync_wrapper +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +A tool for enlisting the compiler's help in proving the absence of +concurrency.} + +%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 + +%package -n %{name}+futures-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+futures-devel %{_description} + +This package contains library source intended for building other packages which +use the "futures" feature of the "%{crate}" crate. + +%files -n %{name}+futures-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+futures-core-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+futures-core-devel %{_description} + +This package contains library source intended for building other packages which +use the "futures-core" feature of the "%{crate}" crate. + +%files -n %{name}+futures-core-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-sync_wrapper/rust2rpm.toml b/rust-sync_wrapper/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-tokio-tungstenite/rust-tokio-tungstenite.spec b/rust-tokio-tungstenite/rust-tokio-tungstenite.spec new file mode 100644 index 0000000..533da67 --- /dev/null +++ b/rust-tokio-tungstenite/rust-tokio-tungstenite.spec @@ -0,0 +1,238 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate tokio-tungstenite + +Name: rust-tokio-tungstenite +Version: 0.21.0 +Release: %autorelease +Summary: Tokio binding for Tungstenite + +License: MIT +URL: https://crates.io/crates/tokio-tungstenite +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Tokio binding for Tungstenite, the Lightweight stream-based WebSocket +implementation.} + +%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}+__rustls-tls-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+__rustls-tls-devel %{_description} + +This package contains library source intended for building other packages which +use the "__rustls-tls" feature of the "%{crate}" crate. + +%files -n %{name}+__rustls-tls-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+connect-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+connect-devel %{_description} + +This package contains library source intended for building other packages which +use the "connect" feature of the "%{crate}" crate. + +%files -n %{name}+connect-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+handshake-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+handshake-devel %{_description} + +This package contains library source intended for building other packages which +use the "handshake" feature of the "%{crate}" crate. + +%files -n %{name}+handshake-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+native-tls-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+native-tls-devel %{_description} + +This package contains library source intended for building other packages which +use the "native-tls" feature of the "%{crate}" crate. + +%files -n %{name}+native-tls-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+native-tls-crate-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+native-tls-crate-devel %{_description} + +This package contains library source intended for building other packages which +use the "native-tls-crate" feature of the "%{crate}" crate. + +%files -n %{name}+native-tls-crate-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-native-certs-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rustls-native-certs-devel %{_description} + +This package contains library source intended for building other packages which +use the "rustls-native-certs" feature of the "%{crate}" crate. + +%files -n %{name}+rustls-native-certs-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rustls-pki-types-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rustls-pki-types-devel %{_description} + +This package contains library source intended for building other packages which +use the "rustls-pki-types" feature of the "%{crate}" crate. + +%files -n %{name}+rustls-pki-types-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rustls-tls-native-roots-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rustls-tls-native-roots-devel %{_description} + +This package contains library source intended for building other packages which +use the "rustls-tls-native-roots" feature of the "%{crate}" crate. + +%files -n %{name}+rustls-tls-native-roots-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rustls-tls-webpki-roots-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rustls-tls-webpki-roots-devel %{_description} + +This package contains library source intended for building other packages which +use the "rustls-tls-webpki-roots" feature of the "%{crate}" crate. + +%files -n %{name}+rustls-tls-webpki-roots-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+stream-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+stream-devel %{_description} + +This package contains library source intended for building other packages which +use the "stream" feature of the "%{crate}" crate. + +%files -n %{name}+stream-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tokio-native-tls-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-native-tls-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio-native-tls" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-native-tls-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 + +%package -n %{name}+webpki-roots-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+webpki-roots-devel %{_description} + +This package contains library source intended for building other packages which +use the "webpki-roots" feature of the "%{crate}" crate. + +%files -n %{name}+webpki-roots-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-tokio-tungstenite/rust2rpm.toml b/rust-tokio-tungstenite/rust2rpm.toml new file mode 100644 index 0000000..1185ed8 --- /dev/null +++ b/rust-tokio-tungstenite/rust2rpm.toml @@ -0,0 +1,5 @@ +[package] +summary = "Tokio binding for Tungstenite" + +[features] +hide = ["native-tls-vendored"] diff --git a/rust-typed-builder-macro/rust-typed-builder-macro.spec b/rust-typed-builder-macro/rust-typed-builder-macro.spec new file mode 100644 index 0000000..ac7baf9 --- /dev/null +++ b/rust-typed-builder-macro/rust-typed-builder-macro.spec @@ -0,0 +1,68 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate typed-builder-macro + +Name: rust-typed-builder-macro +Version: 0.18.1 +Release: %autorelease +Summary: Compile-time type-checked builder derive + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/typed-builder-macro +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Compile-time type-checked builder derive.} + +%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-typed-builder-macro/rust2rpm.toml b/rust-typed-builder-macro/rust2rpm.toml new file mode 100644 index 0000000..e69de29 diff --git a/rust-wl-clipboard-rs/rust-wl-clipboard-rs.spec b/rust-wl-clipboard-rs/rust-wl-clipboard-rs.spec new file mode 100644 index 0000000..b01da83 --- /dev/null +++ b/rust-wl-clipboard-rs/rust-wl-clipboard-rs.spec @@ -0,0 +1,97 @@ +# Generated by rust2rpm 26 +%bcond_without check +%global debug_package %{nil} + +%global crate wl-clipboard-rs + +Name: rust-wl-clipboard-rs +Version: 0.8.1 +Release: %autorelease +Summary: Access to the Wayland clipboard for terminal and other window-less applications + +# Upstream license specification: MIT/Apache-2.0 +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/wl-clipboard-rs +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Access to the Wayland clipboard for terminal and other window-less +applications.} + +%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}+dlopen-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+dlopen-devel %{_description} + +This package contains library source intended for building other packages which +use the "dlopen" feature of the "%{crate}" crate. + +%files -n %{name}+dlopen-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+native_lib-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+native_lib-devel %{_description} + +This package contains library source intended for building other packages which +use the "native_lib" feature of the "%{crate}" crate. + +%files -n %{name}+native_lib-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 +# * unit tests require a running wayland display server +%cargo_test -- --doc +%endif + +%changelog +%autochangelog diff --git a/rust-wl-clipboard-rs/rust2rpm.toml b/rust-wl-clipboard-rs/rust2rpm.toml new file mode 100644 index 0000000..49f8789 --- /dev/null +++ b/rust-wl-clipboard-rs/rust2rpm.toml @@ -0,0 +1,3 @@ +[tests] +run = ["doc"] +comments = ["unit tests require a running wayland display server"] diff --git a/rust-x11-clipboard/rust-x11-clipboard.spec b/rust-x11-clipboard/rust-x11-clipboard.spec new file mode 100644 index 0000000..88f4dd6 --- /dev/null +++ b/rust-x11-clipboard/rust-x11-clipboard.spec @@ -0,0 +1,69 @@ +# Generated by rust2rpm 26 +# * tests require a running X server +%bcond_with check +%global debug_package %{nil} + +%global crate x11-clipboard + +Name: rust-x11-clipboard +Version: 0.9.2 +Release: %autorelease +Summary: X11 clipboard support for Rust + +License: MIT +URL: https://crates.io/crates/x11-clipboard +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +X11 clipboard support for Rust.} + +%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-x11-clipboard/rust2rpm.toml b/rust-x11-clipboard/rust2rpm.toml new file mode 100644 index 0000000..4fd06ad --- /dev/null +++ b/rust-x11-clipboard/rust2rpm.toml @@ -0,0 +1,3 @@ +[tests] +run = ["none"] +comments = ["tests require a running X server"]