diff --git a/SPECS/rust-regex-lite-0.1/rust-regex-lite.spec b/SPECS/rust-regex-lite-0.1/rust-regex-lite.spec new file mode 100644 index 0000000000..fcb99dccac --- /dev/null +++ b/SPECS/rust-regex-lite-0.1/rust-regex-lite.spec @@ -0,0 +1,44 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name regex-lite +%global full_version 0.1.7 +%global pkgname regex-lite-0.1 + +Name: rust-regex-lite-0.1 +Version: 0.1.7 +Release: %autorelease +Summary: Rust crate "regex-lite" +License: MIT OR Apache-2.0 +URL: https://github.com/rust-lang/regex/tree/master/regex-lite +#!RemoteAsset: sha256:943f41321c63ef1c92fd763bfe054d2668f7f225a5c29f0105903dc2fc04ba30 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/std) +Provides: crate(%{pkgname}/string) + +%description +Source code for takopackized Rust crate "regex-lite" + +%package -n %{name}+default +Summary: Lightweight regex engine that optimizes for binary size and compilation time - feature "default" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/std) +Requires: crate(%{pkgname}/string) +Provides: crate(%{pkgname}/default) + +%description -n %{name}+default +This metapackage enables feature "default" for the Rust regex-lite crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-ron-0.12/rust-ron.spec b/SPECS/rust-ron-0.12/rust-ron.spec new file mode 100644 index 0000000000..337dc160f8 --- /dev/null +++ b/SPECS/rust-ron-0.12/rust-ron.spec @@ -0,0 +1,75 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name ron +%global full_version 0.12.0 +%global pkgname ron-0.12 + +Name: rust-ron-0.12 +Version: 0.12.0 +Release: %autorelease +Summary: Rust crate "ron" +License: MIT OR Apache-2.0 +URL: https://github.com/ron-rs/ron +#!RemoteAsset: sha256:fd490c5b18261893f14449cbd28cb9c0b637aebf161cd77900bfdedaff21ec32 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(bitflags-2.0/serde) >= 2.11.1 +Requires: crate(once-cell-1.0/alloc) >= 1.21.3 +Requires: crate(once-cell-1.0/race) >= 1.21.3 +Requires: crate(serde-1.0/alloc) >= 1.0.228 +Requires: crate(serde-derive-1.0) >= 1.0.228 +Requires: crate(typeid-1.0) >= 1.0.3 +Requires: crate(unicode-ident-1.0) >= 1.0.24 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/integer128) + +%description +Source code for takopackized Rust crate "ron" + +%package -n %{name}+indexmap +Summary: Rusty Object Notation - feature "indexmap" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/std) +Requires: crate(indexmap-2.0/serde) >= 2.0.0 +Provides: crate(%{pkgname}/indexmap) + +%description -n %{name}+indexmap +This metapackage enables feature "indexmap" for the Rust ron crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+std +Summary: Rusty Object Notation - feature "std" and 1 more +Requires: crate(%{pkgname}) +Requires: crate(serde-1.0/alloc) >= 1.0.228 +Requires: crate(serde-1.0/std) >= 1.0.228 +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/std) + +%description -n %{name}+std +This metapackage enables feature "std" for the Rust ron crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "default" feature. + +%package -n %{name}+unicode-segmentation +Summary: Rusty Object Notation - feature "unicode-segmentation" and 1 more +Requires: crate(%{pkgname}) +Requires: crate(unicode-segmentation-1.0) >= 1.12.0 +Provides: crate(%{pkgname}/internal-span-substring-test) +Provides: crate(%{pkgname}/unicode-segmentation) + +%description -n %{name}+unicode-segmentation +This metapackage enables feature "unicode-segmentation" for the Rust ron crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "internal-span-substring-test" feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-rust-stemmers-1.0/rust-rust-stemmers.spec b/SPECS/rust-rust-stemmers-1.0/rust-rust-stemmers.spec new file mode 100644 index 0000000000..926816cf22 --- /dev/null +++ b/SPECS/rust-rust-stemmers-1.0/rust-rust-stemmers.spec @@ -0,0 +1,35 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name rust-stemmers +%global full_version 1.2.0 +%global pkgname rust-stemmers-1.0 + +Name: rust-rust-stemmers-1.0 +Version: 1.2.0 +Release: %autorelease +Summary: Rust crate "rust-stemmers" +License: MIT/BSD-3-Clause +URL: https://github.com/CurrySoftware/rust-stemmers +#!RemoteAsset: sha256:e46a2036019fdb888131db7a4c847a1063a7493f971ed94ea82c67eada63ca54 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(serde-1.0/default) >= 1.0.228 +Requires: crate(serde-derive-1.0/default) >= 1.0.228 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "rust-stemmers" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-salsa-0.26/rust-salsa.spec b/SPECS/rust-salsa-0.26/rust-salsa.spec new file mode 100644 index 0000000000..23d19e6887 --- /dev/null +++ b/SPECS/rust-salsa-0.26/rust-salsa.spec @@ -0,0 +1,139 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name salsa +%global full_version 0.26.2 +%global pkgname salsa-0.26 + +Name: rust-salsa-0.26 +Version: 0.26.2 +Release: %autorelease +Summary: Rust crate "salsa" +License: Apache-2.0 OR MIT +URL: https://github.com/salsa-rs/salsa +#!RemoteAsset: sha256:4612ff789805e65c87e9b38cb749a293212a615af065bed8a2001086801498c3 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(boxcar-0.2/default) >= 0.2.14 +Requires: crate(crossbeam-queue-0.3/default) >= 0.3.12 +Requires: crate(crossbeam-utils-0.8/default) >= 0.8.21 +Requires: crate(hashbrown-0.17/default) >= 0.17.0 +Requires: crate(hashlink-0.10/default) >= 0.10.0 +Requires: crate(indexmap-2.0/default) >= 2.14.0 +Requires: crate(intrusive-collections-0.9/default) >= 0.9.7 +Requires: crate(parking-lot-0.12/default) >= 0.12.4 +Requires: crate(portable-atomic-1.0/default) >= 1.13.1 +Requires: crate(rustc-hash-2.0/default) >= 2.1.2 +Requires: crate(salsa-macro-rules-0.26/default) >= 0.26.2 +Requires: crate(salsa-macros-0.26/default) >= 0.26.2 +Requires: crate(smallvec-1.0/const-new) >= 1.15.1 +Requires: crate(smallvec-1.0/default) >= 1.15.1 +Requires: crate(thin-vec-0.2/default) >= 0.2.14 +Requires: crate(tracing-0.1/std) >= 0.1.44 +Requires: crate(typeid-1.0/default) >= 1.0.3 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/salsa-unstable) + +%description +Source code for takopackized Rust crate "salsa" + +%package -n %{name}+accumulator +Summary: Generic framework for on-demand, incrementalized computation (experimental) - feature "accumulator" +Requires: crate(%{pkgname}) +Requires: crate(salsa-macro-rules-0.26/accumulator) >= 0.26.2 +Provides: crate(%{pkgname}/accumulator) + +%description -n %{name}+accumulator +This metapackage enables feature "accumulator" for the Rust salsa crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+compact-str +Summary: Generic framework for on-demand, incrementalized computation (experimental) - feature "compact_str" +Requires: crate(%{pkgname}) +Requires: crate(compact-str-0.9/default) >= 0.9.0 +Provides: crate(%{pkgname}/compact-str) + +%description -n %{name}+compact-str +This metapackage enables feature "compact_str" for the Rust salsa crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+default +Summary: Generic framework for on-demand, incrementalized computation (experimental) - feature "default" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/accumulator) +Requires: crate(%{pkgname}/inventory) +Requires: crate(%{pkgname}/macros) +Requires: crate(%{pkgname}/rayon) +Requires: crate(%{pkgname}/salsa-unstable) +Provides: crate(%{pkgname}/default) + +%description -n %{name}+default +This metapackage enables feature "default" for the Rust salsa crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+inventory +Summary: Generic framework for on-demand, incrementalized computation (experimental) - feature "inventory" +Requires: crate(%{pkgname}) +Requires: crate(inventory-0.3/default) >= 0.3.24 +Provides: crate(%{pkgname}/inventory) + +%description -n %{name}+inventory +This metapackage enables feature "inventory" for the Rust salsa crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+macros +Summary: Generic framework for on-demand, incrementalized computation (experimental) - feature "macros" +Requires: crate(%{pkgname}) +Requires: crate(salsa-macros-0.26/default) >= 0.26.2 +Provides: crate(%{pkgname}/macros) + +%description -n %{name}+macros +This metapackage enables feature "macros" for the Rust salsa crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+ordermap +Summary: Generic framework for on-demand, incrementalized computation (experimental) - feature "ordermap" +Requires: crate(%{pkgname}) +Requires: crate(ordermap-1.0/default) >= 1.2.0 +Provides: crate(%{pkgname}/ordermap) + +%description -n %{name}+ordermap +This metapackage enables feature "ordermap" for the Rust salsa crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+persistence +Summary: Generic framework for on-demand, incrementalized computation (experimental) - feature "persistence" +Requires: crate(%{pkgname}) +Requires: crate(erased-serde-0.4/default) >= 0.4.6 +Requires: crate(salsa-macros-0.26/persistence) >= 0.26.2 +Requires: crate(serde-1.0/default) >= 1.0.219 +Requires: crate(serde-1.0/derive) >= 1.0.219 +Requires: crate(thin-vec-0.2/serde) >= 0.2.14 +Provides: crate(%{pkgname}/persistence) + +%description -n %{name}+persistence +This metapackage enables feature "persistence" for the Rust salsa crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+rayon +Summary: Generic framework for on-demand, incrementalized computation (experimental) - feature "rayon" +Requires: crate(%{pkgname}) +Requires: crate(rayon-1.0/default) >= 1.10.0 +Provides: crate(%{pkgname}/rayon) + +%description -n %{name}+rayon +This metapackage enables feature "rayon" for the Rust salsa crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+shuttle +Summary: Generic framework for on-demand, incrementalized computation (experimental) - feature "shuttle" +Requires: crate(%{pkgname}) +Requires: crate(shuttle-0.8/default) >= 0.8.1 +Provides: crate(%{pkgname}/shuttle) + +%description -n %{name}+shuttle +This metapackage enables feature "shuttle" for the Rust salsa crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-salsa-macro-rules-0.26/rust-salsa-macro-rules.spec b/SPECS/rust-salsa-macro-rules-0.26/rust-salsa-macro-rules.spec new file mode 100644 index 0000000000..4d5b47681d --- /dev/null +++ b/SPECS/rust-salsa-macro-rules-0.26/rust-salsa-macro-rules.spec @@ -0,0 +1,34 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name salsa-macro-rules +%global full_version 0.26.2 +%global pkgname salsa-macro-rules-0.26 + +Name: rust-salsa-macro-rules-0.26 +Version: 0.26.2 +Release: %autorelease +Summary: Rust crate "salsa-macro-rules" +License: Apache-2.0 OR MIT +URL: https://github.com/salsa-rs/salsa +#!RemoteAsset: sha256:58e354cbac6939b9b09cd9c11fb419a53e64b4a0f755d929f56a09f4cc752e41 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/accumulator) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "salsa-macro-rules" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-salsa-macros-0.26/rust-salsa-macros.spec b/SPECS/rust-salsa-macros-0.26/rust-salsa-macros.spec new file mode 100644 index 0000000000..42535295c6 --- /dev/null +++ b/SPECS/rust-salsa-macros-0.26/rust-salsa-macros.spec @@ -0,0 +1,40 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name salsa-macros +%global full_version 0.26.2 +%global pkgname salsa-macros-0.26 + +Name: rust-salsa-macros-0.26 +Version: 0.26.2 +Release: %autorelease +Summary: Rust crate "salsa-macros" +License: Apache-2.0 OR MIT +URL: https://github.com/salsa-rs/salsa +#!RemoteAsset: sha256:3067861075c2b80608f84ad49fb88f2c7610b94cdf8b4201e79ddee87f8980c8 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(proc-macro2-1.0/default) >= 1.0.106 +Requires: crate(quote-1.0/default) >= 1.0.45 +Requires: crate(syn-2.0/default) >= 2.0.117 +Requires: crate(syn-2.0/full) >= 2.0.117 +Requires: crate(syn-2.0/visit-mut) >= 2.0.117 +Requires: crate(synstructure-0.13/default) >= 0.13.2 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/persistence) + +%description +Source code for takopackized Rust crate "salsa-macros" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-schemars-1.0/rust-schemars.spec b/SPECS/rust-schemars-1.0/rust-schemars.spec new file mode 100644 index 0000000000..5775ddb0fb --- /dev/null +++ b/SPECS/rust-schemars-1.0/rust-schemars.spec @@ -0,0 +1,206 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name schemars +%global full_version 1.2.1 +%global pkgname schemars-1.0 + +Name: rust-schemars-1.0 +Version: 1.2.1 +Release: %autorelease +Summary: Rust crate "schemars" +License: MIT +URL: https://graham.cool/schemars/ +#!RemoteAsset: sha256:a2b42f36aa1cd011945615b92222f6bf73c599a102a300334cd7f8dbeec726cc +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(dyn-clone-1.0/default) >= 1.0.20 +Requires: crate(ref-cast-1.0/default) >= 1.0.25 +Requires: crate(serde-1.0/alloc) >= 1.0.228 +Requires: crate(serde-json-1.0/alloc) >= 1.0.149 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/ui-test) +Provides: crate(%{pkgname}/std) + +%description +Source code for takopackized Rust crate "schemars" + +%package -n %{name}+arrayvec07 +Summary: Generate JSON Schemas from Rust code - feature "arrayvec07" +Requires: crate(%{pkgname}) +Requires: crate(arrayvec-0.7) >= 0.7.0 +Provides: crate(%{pkgname}/arrayvec07) + +%description -n %{name}+arrayvec07 +This metapackage enables feature "arrayvec07" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+bigdecimal04 +Summary: Generate JSON Schemas from Rust code - feature "bigdecimal04" +Requires: crate(%{pkgname}) +Requires: crate(bigdecimal-0.4) >= 0.4.0 +Provides: crate(%{pkgname}/bigdecimal04) + +%description -n %{name}+bigdecimal04 +This metapackage enables feature "bigdecimal04" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+bytes1 +Summary: Generate JSON Schemas from Rust code - feature "bytes1" +Requires: crate(%{pkgname}) +Requires: crate(bytes-1.0) >= 1.0.0 +Provides: crate(%{pkgname}/bytes1) + +%description -n %{name}+bytes1 +This metapackage enables feature "bytes1" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+chrono04 +Summary: Generate JSON Schemas from Rust code - feature "chrono04" +Requires: crate(%{pkgname}) +Requires: crate(chrono-0.4) >= 0.4.39 +Provides: crate(%{pkgname}/chrono04) + +%description -n %{name}+chrono04 +This metapackage enables feature "chrono04" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+default +Summary: Generate JSON Schemas from Rust code - feature "default" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/derive) +Requires: crate(%{pkgname}/std) +Provides: crate(%{pkgname}/default) + +%description -n %{name}+default +This metapackage enables feature "default" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+either1 +Summary: Generate JSON Schemas from Rust code - feature "either1" +Requires: crate(%{pkgname}) +Requires: crate(either-1.0) >= 1.3 +Provides: crate(%{pkgname}/either1) + +%description -n %{name}+either1 +This metapackage enables feature "either1" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+indexmap2 +Summary: Generate JSON Schemas from Rust code - feature "indexmap2" +Requires: crate(%{pkgname}) +Requires: crate(indexmap-2.0) >= 2.2.3 +Provides: crate(%{pkgname}/indexmap2) + +%description -n %{name}+indexmap2 +This metapackage enables feature "indexmap2" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+jiff02 +Summary: Generate JSON Schemas from Rust code - feature "jiff02" +Requires: crate(%{pkgname}) +Requires: crate(jiff-0.2) >= 0.2.0 +Provides: crate(%{pkgname}/jiff02) + +%description -n %{name}+jiff02 +This metapackage enables feature "jiff02" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+preserve-order +Summary: Generate JSON Schemas from Rust code - feature "preserve_order" +Requires: crate(%{pkgname}) +Requires: crate(serde-json-1.0/alloc) >= 1.0.149 +Requires: crate(serde-json-1.0/preserve-order) >= 1.0.149 +Provides: crate(%{pkgname}/preserve-order) + +%description -n %{name}+preserve-order +This metapackage enables feature "preserve_order" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+raw-value +Summary: Generate JSON Schemas from Rust code - feature "raw_value" +Requires: crate(%{pkgname}) +Requires: crate(serde-json-1.0/alloc) >= 1.0.149 +Requires: crate(serde-json-1.0/raw-value) >= 1.0.149 +Provides: crate(%{pkgname}/raw-value) + +%description -n %{name}+raw-value +This metapackage enables feature "raw_value" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+rust-decimal1 +Summary: Generate JSON Schemas from Rust code - feature "rust_decimal1" +Requires: crate(%{pkgname}) +Requires: crate(rust-decimal-1.0) >= 1.13 +Provides: crate(%{pkgname}/rust-decimal1) + +%description -n %{name}+rust-decimal1 +This metapackage enables feature "rust_decimal1" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+schemars-derive +Summary: Generate JSON Schemas from Rust code - feature "schemars_derive" and 1 more +Requires: crate(%{pkgname}) +Requires: crate(schemars-derive-1.0/default) >= 1.2.1 +Provides: crate(%{pkgname}/derive) +Provides: crate(%{pkgname}/schemars-derive) + +%description -n %{name}+schemars-derive +This metapackage enables feature "schemars_derive" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "derive" feature. + +%package -n %{name}+semver1 +Summary: Generate JSON Schemas from Rust code - feature "semver1" +Requires: crate(%{pkgname}) +Requires: crate(semver-1.0) >= 1.0.9 +Provides: crate(%{pkgname}/semver1) + +%description -n %{name}+semver1 +This metapackage enables feature "semver1" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+smallvec1 +Summary: Generate JSON Schemas from Rust code - feature "smallvec1" +Requires: crate(%{pkgname}) +Requires: crate(smallvec-1.0) >= 1.0.0 +Provides: crate(%{pkgname}/smallvec1) + +%description -n %{name}+smallvec1 +This metapackage enables feature "smallvec1" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+smol-str02 +Summary: Generate JSON Schemas from Rust code - feature "smol_str02" +Requires: crate(%{pkgname}) +Requires: crate(smol-str-0.2) >= 0.2.1 +Provides: crate(%{pkgname}/smol-str02) + +%description -n %{name}+smol-str02 +This metapackage enables feature "smol_str02" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+smol-str03 +Summary: Generate JSON Schemas from Rust code - feature "smol_str03" +Requires: crate(%{pkgname}) +Requires: crate(smol-str-0.3) >= 0.3.2 +Provides: crate(%{pkgname}/smol-str03) + +%description -n %{name}+smol-str03 +This metapackage enables feature "smol_str03" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+url2 +Summary: Generate JSON Schemas from Rust code - feature "url2" +Requires: crate(%{pkgname}) +Requires: crate(url-2.0) >= 2.0.0 +Provides: crate(%{pkgname}/url2) + +%description -n %{name}+url2 +This metapackage enables feature "url2" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+uuid1 +Summary: Generate JSON Schemas from Rust code - feature "uuid1" +Requires: crate(%{pkgname}) +Requires: crate(uuid-1.0) >= 1.0.0 +Provides: crate(%{pkgname}/uuid1) + +%description -n %{name}+uuid1 +This metapackage enables feature "uuid1" for the Rust schemars crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-schemars-derive-1.0/rust-schemars-derive.spec b/SPECS/rust-schemars-derive-1.0/rust-schemars-derive.spec new file mode 100644 index 0000000000..d6e2143d42 --- /dev/null +++ b/SPECS/rust-schemars-derive-1.0/rust-schemars-derive.spec @@ -0,0 +1,37 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name schemars_derive +%global full_version 1.2.1 +%global pkgname schemars-derive-1.0 + +Name: rust-schemars-derive-1.0 +Version: 1.2.1 +Release: %autorelease +Summary: Rust crate "schemars_derive" +License: MIT +URL: https://graham.cool/schemars/ +#!RemoteAsset: sha256:7d115b50f4aaeea07e79c1912f645c7513d81715d0420f8bc77a18c6260b307f +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(proc-macro2-1.0/default) >= 1.0.106 +Requires: crate(quote-1.0/default) >= 1.0.45 +Requires: crate(serde-derive-internals-0.29/default) >= 0.29.1 +Requires: crate(syn-2.0/default) >= 2.0.117 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "schemars_derive" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-seahash-4.0/rust-seahash.spec b/SPECS/rust-seahash-4.0/rust-seahash.spec new file mode 100644 index 0000000000..f6a2cc35c0 --- /dev/null +++ b/SPECS/rust-seahash-4.0/rust-seahash.spec @@ -0,0 +1,34 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name seahash +%global full_version 4.1.0 +%global pkgname seahash-4.0 + +Name: rust-seahash-4.0 +Version: 4.1.0 +Release: %autorelease +Summary: Rust crate "seahash" +License: MIT +URL: https://gitlab.redox-os.org/redox-os/seahash +#!RemoteAsset: sha256:1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/use-std) + +%description +Source code for takopackized Rust crate "seahash" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-serde-derive-internals-0.29/rust-serde-derive-internals.spec b/SPECS/rust-serde-derive-internals-0.29/rust-serde-derive-internals.spec new file mode 100644 index 0000000000..e675d10308 --- /dev/null +++ b/SPECS/rust-serde-derive-internals-0.29/rust-serde-derive-internals.spec @@ -0,0 +1,40 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name serde_derive_internals +%global full_version 0.29.1 +%global pkgname serde-derive-internals-0.29 + +Name: rust-serde-derive-internals-0.29 +Version: 0.29.1 +Release: %autorelease +Summary: Rust crate "serde_derive_internals" +License: MIT OR Apache-2.0 +URL: https://serde.rs +#!RemoteAsset: sha256:18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(proc-macro2-1.0) >= 1.0.106 +Requires: crate(quote-1.0) >= 1.0.45 +Requires: crate(syn-2.0/clone-impls) >= 2.0.117 +Requires: crate(syn-2.0/derive) >= 2.0.117 +Requires: crate(syn-2.0/parsing) >= 2.0.117 +Requires: crate(syn-2.0/printing) >= 2.0.117 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Unstable. +Source code for takopackized Rust crate "serde_derive_internals" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-serde-repr-0.1/rust-serde-repr.spec b/SPECS/rust-serde-repr-0.1/rust-serde-repr.spec new file mode 100644 index 0000000000..417bce3756 --- /dev/null +++ b/SPECS/rust-serde-repr-0.1/rust-serde-repr.spec @@ -0,0 +1,36 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name serde_repr +%global full_version 0.1.20 +%global pkgname serde-repr-0.1 + +Name: rust-serde-repr-0.1 +Version: 0.1.20 +Release: %autorelease +Summary: Rust crate "serde_repr" +License: MIT OR Apache-2.0 +URL: https://github.com/dtolnay/serde-repr +#!RemoteAsset: sha256:175ee3e80ae9982737ca543e96133087cbd9a485eecc3bc4de9c1a37b47ea59c +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(proc-macro2-1.0/default) >= 1.0.106 +Requires: crate(quote-1.0/default) >= 1.0.45 +Requires: crate(syn-2.0/default) >= 2.0.117 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "serde_repr" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-serde-test-1.0/rust-serde-test.spec b/SPECS/rust-serde-test-1.0/rust-serde-test.spec new file mode 100644 index 0000000000..8b51eceb63 --- /dev/null +++ b/SPECS/rust-serde-test-1.0/rust-serde-test.spec @@ -0,0 +1,34 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name serde_test +%global full_version 1.0.177 +%global pkgname serde-test-1.0 + +Name: rust-serde-test-1.0 +Version: 1.0.177 +Release: %autorelease +Summary: Rust crate "serde_test" +License: MIT OR Apache-2.0 +URL: https://github.com/serde-rs/test +#!RemoteAsset: sha256:7f901ee573cab6b3060453d2d5f0bae4e6d628c23c0a962ff9b5f1d7c8d4f1ed +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(serde-1.0/default) >= 1.0.228 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "serde_test" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-serde-wasm-bindgen-0.6/rust-serde-wasm-bindgen.spec b/SPECS/rust-serde-wasm-bindgen-0.6/rust-serde-wasm-bindgen.spec new file mode 100644 index 0000000000..401ee8b059 --- /dev/null +++ b/SPECS/rust-serde-wasm-bindgen-0.6/rust-serde-wasm-bindgen.spec @@ -0,0 +1,37 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name serde-wasm-bindgen +%global full_version 0.6.5 +%global pkgname serde-wasm-bindgen-0.6 + +Name: rust-serde-wasm-bindgen-0.6 +Version: 0.6.5 +Release: %autorelease +Summary: Rust crate "serde-wasm-bindgen" +License: MIT +URL: https://github.com/RReverser/serde-wasm-bindgen +#!RemoteAsset: sha256:8302e169f0eddcc139c70f139d19d6467353af16f9fce27e8c30158036a1e16b +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(js-sys-0.3/default) >= 0.3.82 +Requires: crate(serde-1.0/default) >= 1.0.228 +Requires: crate(serde-1.0/derive) >= 1.0.228 +Requires: crate(wasm-bindgen-0.2/default) >= 0.2.105 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "serde-wasm-bindgen" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-serde-with-3.0/rust-serde-with.spec b/SPECS/rust-serde-with-3.0/rust-serde-with.spec new file mode 100644 index 0000000000..528b402cfd --- /dev/null +++ b/SPECS/rust-serde-with-3.0/rust-serde-with.spec @@ -0,0 +1,257 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name serde_with +%global full_version 3.19.0 +%global pkgname serde-with-3.0 + +Name: rust-serde-with-3.0 +Version: 3.19.0 +Release: %autorelease +Summary: Rust crate "serde_with" +License: MIT OR Apache-2.0 +URL: https://github.com/jonasbb/serde_with/ +#!RemoteAsset: sha256:f05839ce67618e14a09b286535c0d9c94e85ef25469b0e13cb4f844e5593eb19 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(serde-core-1.0/result) >= 1.0.228 +Provides: crate(%{pkgname}) + +%description +Source code for takopackized Rust crate "serde_with" + +%package -n %{name}+alloc +Summary: Custom de/serialization functions for Rust's serde - feature "alloc" +Requires: crate(%{pkgname}) +Requires: crate(base64-0.22/alloc) >= 0.22.1 +Requires: crate(chrono-0.4/alloc) >= 0.4.20 +Requires: crate(chrono-0.4/serde) >= 0.4.20 +Requires: crate(hex-0.4/alloc) >= 0.4.3 +Requires: crate(serde-core-1.0/alloc) >= 1.0.228 +Requires: crate(serde-core-1.0/result) >= 1.0.228 +Requires: crate(serde-json-1.0/alloc) >= 1.0.145 +Requires: crate(time-0.3/alloc) >= 0.3.47 +Provides: crate(%{pkgname}/alloc) + +%description -n %{name}+alloc +This metapackage enables feature "alloc" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+base64 +Summary: Custom de/serialization functions for Rust's serde - feature "base64" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/alloc) +Requires: crate(base64-0.22) >= 0.22.1 +Provides: crate(%{pkgname}/base64) + +%description -n %{name}+base64 +This metapackage enables feature "base64" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+chrono-0-4 +Summary: Custom de/serialization functions for Rust's serde - feature "chrono_0_4" and 1 more +Requires: crate(%{pkgname}) +Requires: crate(chrono-0.4/serde) >= 0.4.20 +Provides: crate(%{pkgname}/chrono) +Provides: crate(%{pkgname}/chrono-0-4) + +%description -n %{name}+chrono-0-4 +This metapackage enables feature "chrono_0_4" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "chrono" feature. + +%package -n %{name}+default +Summary: Custom de/serialization functions for Rust's serde - feature "default" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/macros) +Requires: crate(%{pkgname}/std) +Provides: crate(%{pkgname}/default) + +%description -n %{name}+default +This metapackage enables feature "default" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+guide +Summary: Custom de/serialization functions for Rust's serde - feature "guide" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/macros) +Requires: crate(%{pkgname}/std) +Requires: crate(document-features-0.2/default) >= 0.2.7 +Provides: crate(%{pkgname}/guide) + +%description -n %{name}+guide +This metapackage enables feature "guide" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+hashbrown-0-14 +Summary: Custom de/serialization functions for Rust's serde - feature "hashbrown_0_14" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/alloc) +Requires: crate(hashbrown-0.14/serde) >= 0.14.0 +Provides: crate(%{pkgname}/hashbrown-0-14) + +%description -n %{name}+hashbrown-0-14 +This metapackage enables feature "hashbrown_0_14" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+hashbrown-0-15 +Summary: Custom de/serialization functions for Rust's serde - feature "hashbrown_0_15" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/alloc) +Requires: crate(hashbrown-0.15/serde) >= 0.15.0 +Provides: crate(%{pkgname}/hashbrown-0-15) + +%description -n %{name}+hashbrown-0-15 +This metapackage enables feature "hashbrown_0_15" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+hashbrown-0-16 +Summary: Custom de/serialization functions for Rust's serde - feature "hashbrown_0_16" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/alloc) +Requires: crate(hashbrown-0.16/serde) >= 0.16.0 +Provides: crate(%{pkgname}/hashbrown-0-16) + +%description -n %{name}+hashbrown-0-16 +This metapackage enables feature "hashbrown_0_16" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+hashbrown-0-17 +Summary: Custom de/serialization functions for Rust's serde - feature "hashbrown_0_17" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/alloc) +Requires: crate(hashbrown-0.17/serde) >= 0.17.0 +Provides: crate(%{pkgname}/hashbrown-0-17) + +%description -n %{name}+hashbrown-0-17 +This metapackage enables feature "hashbrown_0_17" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+hex +Summary: Custom de/serialization functions for Rust's serde - feature "hex" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/alloc) +Requires: crate(hex-0.4) >= 0.4.3 +Provides: crate(%{pkgname}/hex) + +%description -n %{name}+hex +This metapackage enables feature "hex" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+indexmap-1 +Summary: Custom de/serialization functions for Rust's serde - feature "indexmap_1" and 1 more +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/alloc) +Requires: crate(indexmap-1.0/serde-1) >= 1.8 +Provides: crate(%{pkgname}/indexmap) +Provides: crate(%{pkgname}/indexmap-1) + +%description -n %{name}+indexmap-1 +This metapackage enables feature "indexmap_1" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "indexmap" feature. + +%package -n %{name}+indexmap-2 +Summary: Custom de/serialization functions for Rust's serde - feature "indexmap_2" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/alloc) +Requires: crate(indexmap-2.0/serde) >= 2.0.0 +Provides: crate(%{pkgname}/indexmap-2) + +%description -n %{name}+indexmap-2 +This metapackage enables feature "indexmap_2" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+json +Summary: Custom de/serialization functions for Rust's serde - feature "json" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/alloc) +Requires: crate(serde-json-1.0) >= 1.0.145 +Provides: crate(%{pkgname}/json) + +%description -n %{name}+json +This metapackage enables feature "json" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+macros +Summary: Custom de/serialization functions for Rust's serde - feature "macros" +Requires: crate(%{pkgname}) +Requires: crate(serde-with-macros-3.0/default) >= 3.19.0 +Provides: crate(%{pkgname}/macros) + +%description -n %{name}+macros +This metapackage enables feature "macros" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+schemars-0-8 +Summary: Custom de/serialization functions for Rust's serde - feature "schemars_0_8" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/std) +Requires: crate(schemars-0.8) >= 0.8.16 +Requires: crate(serde-with-macros-3.0/schemars-0-8) >= 3.19.0 +Provides: crate(%{pkgname}/schemars-0-8) + +%description -n %{name}+schemars-0-8 +This metapackage enables feature "schemars_0_8" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+schemars-0-9 +Summary: Custom de/serialization functions for Rust's serde - feature "schemars_0_9" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/alloc) +Requires: crate(schemars-0.9) >= 0.9.0 +Requires: crate(serde-json-1.0) >= 1.0.145 +Requires: crate(serde-with-macros-3.0/schemars-0-9) >= 3.19.0 +Provides: crate(%{pkgname}/schemars-0-9) + +%description -n %{name}+schemars-0-9 +This metapackage enables feature "schemars_0_9" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+schemars-1 +Summary: Custom de/serialization functions for Rust's serde - feature "schemars_1" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/alloc) +Requires: crate(schemars-1.0) >= 1.0.2 +Requires: crate(serde-json-1.0) >= 1.0.145 +Requires: crate(serde-with-macros-3.0/schemars-1) >= 3.19.0 +Provides: crate(%{pkgname}/schemars-1) + +%description -n %{name}+schemars-1 +This metapackage enables feature "schemars_1" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+smallvec-1 +Summary: Custom de/serialization functions for Rust's serde - feature "smallvec_1" +Requires: crate(%{pkgname}) +Requires: crate(smallvec-1.0) >= 1.0.0 +Provides: crate(%{pkgname}/smallvec-1) + +%description -n %{name}+smallvec-1 +This metapackage enables feature "smallvec_1" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+std +Summary: Custom de/serialization functions for Rust's serde - feature "std" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/alloc) +Requires: crate(chrono-0.4/clock) >= 0.4.20 +Requires: crate(chrono-0.4/serde) >= 0.4.20 +Requires: crate(chrono-0.4/std) >= 0.4.20 +Requires: crate(indexmap-1.0/serde) >= 1.8.0 +Requires: crate(indexmap-1.0/serde-1) >= 1.8 +Requires: crate(indexmap-1.0/std) >= 1.8.0 +Requires: crate(schemars-1.0/std) >= 1.0.2 +Requires: crate(serde-core-1.0/result) >= 1.0.228 +Requires: crate(serde-core-1.0/std) >= 1.0.228 +Requires: crate(time-0.3/serde-well-known) >= 0.3.47 +Requires: crate(time-0.3/std) >= 0.3.47 +Provides: crate(%{pkgname}/std) + +%description -n %{name}+std +This metapackage enables feature "std" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+time-0-3 +Summary: Custom de/serialization functions for Rust's serde - feature "time_0_3" +Requires: crate(%{pkgname}) +Requires: crate(time-0.3) >= 0.3.47 +Provides: crate(%{pkgname}/time-0-3) + +%description -n %{name}+time-0-3 +This metapackage enables feature "time_0_3" for the Rust serde_with crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-serde-with-macros-3.0/rust-serde-with-macros.spec b/SPECS/rust-serde-with-macros-3.0/rust-serde-with-macros.spec new file mode 100644 index 0000000000..345d61bff4 --- /dev/null +++ b/SPECS/rust-serde-with-macros-3.0/rust-serde-with-macros.spec @@ -0,0 +1,43 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name serde_with_macros +%global full_version 3.19.0 +%global pkgname serde-with-macros-3.0 + +Name: rust-serde-with-macros-3.0 +Version: 3.19.0 +Release: %autorelease +Summary: Rust crate "serde_with_macros" +License: MIT OR Apache-2.0 +URL: https://github.com/jonasbb/serde_with/ +#!RemoteAsset: sha256:cf2ebbe86054f9b45bc3881e865683ccfaccce97b9b4cb53f3039d67f355a334 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(darling-0.23/default) >= 0.23.0 +Requires: crate(proc-macro2-1.0/default) >= 1.0.106 +Requires: crate(quote-1.0/default) >= 1.0.45 +Requires: crate(syn-2.0/default) >= 2.0.117 +Requires: crate(syn-2.0/extra-traits) >= 2.0.117 +Requires: crate(syn-2.0/full) >= 2.0.117 +Requires: crate(syn-2.0/parsing) >= 2.0.117 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/schemars-0-8) +Provides: crate(%{pkgname}/schemars-0-9) +Provides: crate(%{pkgname}/schemars-1) + +%description +Source code for takopackized Rust crate "serde_with_macros" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-shellexpand-3.0/rust-shellexpand.spec b/SPECS/rust-shellexpand-3.0/rust-shellexpand.spec new file mode 100644 index 0000000000..2fe81ccb63 --- /dev/null +++ b/SPECS/rust-shellexpand-3.0/rust-shellexpand.spec @@ -0,0 +1,91 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name shellexpand +%global full_version 3.1.2 +%global pkgname shellexpand-3.0 + +Name: rust-shellexpand-3.0 +Version: 3.1.2 +Release: %autorelease +Summary: Rust crate "shellexpand" +License: MIT OR Apache-2.0 +URL: https://gitlab.com/ijackson/rust-shellexpand +#!RemoteAsset: sha256:32824fab5e16e6c4d86dc1ba84489390419a39f97699852b66480bb87d297ed8 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/base-0) + +%description +Source code for takopackized Rust crate "shellexpand" + +%package -n %{name}+default +Summary: Shell-like expansions in strings - feature "default" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/base-0) +Requires: crate(%{pkgname}/tilde) +Provides: crate(%{pkgname}/default) + +%description -n %{name}+default +This metapackage enables feature "default" for the Rust shellexpand crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+full +Summary: Shell-like expansions in strings - feature "full" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/full-msrv-1-51) +Provides: crate(%{pkgname}/full) + +%description -n %{name}+full +This metapackage enables feature "full" for the Rust shellexpand crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+full-msrv-1-31 +Summary: Shell-like expansions in strings - feature "full-msrv-1-31" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/base-0) +Requires: crate(%{pkgname}/tilde) +Provides: crate(%{pkgname}/full-msrv-1-31) + +%description -n %{name}+full-msrv-1-31 +This metapackage enables feature "full-msrv-1-31" for the Rust shellexpand crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+full-msrv-1-51 +Summary: Shell-like expansions in strings - feature "full-msrv-1-51" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/full-msrv-1-31) +Requires: crate(%{pkgname}/path) +Provides: crate(%{pkgname}/full-msrv-1-51) + +%description -n %{name}+full-msrv-1-51 +This metapackage enables feature "full-msrv-1-51" for the Rust shellexpand crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+path +Summary: Shell-like expansions in strings - feature "path" +Requires: crate(%{pkgname}) +Requires: crate(bstr-1.0/default) >= 1.12.1 +Requires: crate(os-str-bytes-7.0/default) >= 7.1.1 +Provides: crate(%{pkgname}/path) + +%description -n %{name}+path +This metapackage enables feature "path" for the Rust shellexpand crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+tilde +Summary: Shell-like expansions in strings - feature "tilde" +Requires: crate(%{pkgname}) +Requires: crate(dirs-6.0/default) >= 6.0.0 +Provides: crate(%{pkgname}/tilde) + +%description -n %{name}+tilde +This metapackage enables feature "tilde" for the Rust shellexpand crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-similar-3.0/rust-similar.spec b/SPECS/rust-similar-3.0/rust-similar.spec new file mode 100644 index 0000000000..ad94cdba5b --- /dev/null +++ b/SPECS/rust-similar-3.0/rust-similar.spec @@ -0,0 +1,123 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name similar +%global full_version 3.1.0 +%global pkgname similar-3.0 + +Name: rust-similar-3.0 +Version: 3.1.0 +Release: %autorelease +Summary: Rust crate "similar" +License: Apache-2.0 +URL: https://github.com/mitsuhiko/similar +#!RemoteAsset: sha256:04d93e861ede2e497b47833469b8ec9d5c07fa4c78ce7a00f6eb7dd8168b4b3f +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/inline) +Provides: crate(%{pkgname}/text) + +%description +Source code for takopackized Rust crate "similar" + +%package -n %{name}+bstr +Summary: Diff library for Rust - feature "bstr" +Requires: crate(%{pkgname}) +Requires: crate(bstr-1.0) >= 1.5.0 +Provides: crate(%{pkgname}/bstr) + +%description -n %{name}+bstr +This metapackage enables feature "bstr" for the Rust similar crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+bytes +Summary: Diff library for Rust - feature "bytes" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/bstr) +Requires: crate(%{pkgname}/text) +Provides: crate(%{pkgname}/bytes) + +%description -n %{name}+bytes +This metapackage enables feature "bytes" for the Rust similar crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+default +Summary: Diff library for Rust - feature "default" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/std) +Requires: crate(%{pkgname}/text) +Provides: crate(%{pkgname}/default) + +%description -n %{name}+default +This metapackage enables feature "default" for the Rust similar crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+hashbrown +Summary: Diff library for Rust - feature "hashbrown" +Requires: crate(%{pkgname}) +Requires: crate(hashbrown-0.15/default-hasher) >= 0.15.0 +Provides: crate(%{pkgname}/hashbrown) + +%description -n %{name}+hashbrown +This metapackage enables feature "hashbrown" for the Rust similar crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+serde +Summary: Diff library for Rust - feature "serde" +Requires: crate(%{pkgname}) +Requires: crate(serde-1.0/alloc) >= 1.0.130 +Requires: crate(serde-1.0/derive) >= 1.0.130 +Provides: crate(%{pkgname}/serde) + +%description -n %{name}+serde +This metapackage enables feature "serde" for the Rust similar crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+std +Summary: Diff library for Rust - feature "std" +Requires: crate(%{pkgname}) +Requires: crate(bstr-1.0/std) >= 1.5.0 +Provides: crate(%{pkgname}/std) + +%description -n %{name}+std +This metapackage enables feature "std" for the Rust similar crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+unicode +Summary: Diff library for Rust - feature "unicode" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/text) +Requires: crate(%{pkgname}/unicode-segmentation) +Requires: crate(bstr-1.0/unicode) >= 1.5.0 +Provides: crate(%{pkgname}/unicode) + +%description -n %{name}+unicode +This metapackage enables feature "unicode" for the Rust similar crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+unicode-segmentation +Summary: Diff library for Rust - feature "unicode-segmentation" +Requires: crate(%{pkgname}) +Requires: crate(unicode-segmentation-1.0/default) >= 1.7.1 +Provides: crate(%{pkgname}/unicode-segmentation) + +%description -n %{name}+unicode-segmentation +This metapackage enables feature "unicode-segmentation" for the Rust similar crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+web-time +Summary: Diff library for Rust - feature "web-time" and 1 more +Requires: crate(%{pkgname}) +Requires: crate(web-time-1.0/default) >= 1.1 +Provides: crate(%{pkgname}/wasm32-web-time) +Provides: crate(%{pkgname}/web-time) + +%description -n %{name}+web-time +This metapackage enables feature "web-time" for the Rust similar crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "wasm32_web_time" feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-siphasher-1.0/rust-siphasher.spec b/SPECS/rust-siphasher-1.0/rust-siphasher.spec new file mode 100644 index 0000000000..e76968409b --- /dev/null +++ b/SPECS/rust-siphasher-1.0/rust-siphasher.spec @@ -0,0 +1,74 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name siphasher +%global full_version 1.0.1 +%global pkgname siphasher-1.0 + +Name: rust-siphasher-1.0 +Version: 1.0.1 +Release: %autorelease +Summary: Rust crate "siphasher" +License: MIT/Apache-2.0 +URL: https://docs.rs/siphasher +#!RemoteAsset: sha256:56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/std) + +%description +Source code for takopackized Rust crate "siphasher" + +%package -n %{name}+serde +Summary: SipHash-2-4, SipHash-1-3 and 128-bit variants in pure Rust - feature "serde" +Requires: crate(%{pkgname}) +Requires: crate(serde-1.0/default) >= 1.0.0 +Requires: crate(serde-1.0/derive) >= 1.0.0 +Provides: crate(%{pkgname}/serde) + +%description -n %{name}+serde +This metapackage enables feature "serde" for the Rust siphasher crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+serde-json +Summary: SipHash-2-4, SipHash-1-3 and 128-bit variants in pure Rust - feature "serde_json" +Requires: crate(%{pkgname}) +Requires: crate(serde-json-1.0/default) >= 1.0.0 +Provides: crate(%{pkgname}/serde-json) + +%description -n %{name}+serde-json +This metapackage enables feature "serde_json" for the Rust siphasher crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+serde-no-std +Summary: SipHash-2-4, SipHash-1-3 and 128-bit variants in pure Rust - feature "serde_no_std" +Requires: crate(%{pkgname}) +Requires: crate(serde-1.0/alloc) >= 1.0.0 +Requires: crate(serde-1.0/derive) >= 1.0.0 +Provides: crate(%{pkgname}/serde-no-std) + +%description -n %{name}+serde-no-std +This metapackage enables feature "serde_no_std" for the Rust siphasher crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+serde-std +Summary: SipHash-2-4, SipHash-1-3 and 128-bit variants in pure Rust - feature "serde_std" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/std) +Requires: crate(serde-1.0/derive) >= 1.0.0 +Requires: crate(serde-1.0/std) >= 1.0.0 +Provides: crate(%{pkgname}/serde-std) + +%description -n %{name}+serde-std +This metapackage enables feature "serde_std" for the Rust siphasher crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-snapbox-1.0/rust-snapbox.spec b/SPECS/rust-snapbox-1.0/rust-snapbox.spec new file mode 100644 index 0000000000..242f51bfa5 --- /dev/null +++ b/SPECS/rust-snapbox-1.0/rust-snapbox.spec @@ -0,0 +1,173 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name snapbox +%global full_version 1.0.0 +%global pkgname snapbox-1.0 + +Name: rust-snapbox-1.0 +Version: 1.0.0 +Release: %autorelease +Summary: Rust crate "snapbox" +License: MIT OR Apache-2.0 +URL: https://github.com/assert-rs/snapbox/ +#!RemoteAsset: sha256:71d70a71b68054cbe88708f77abfc4bd2daf75028f8f55f4f1cff63565df89ea +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(anstyle-1.0/default) >= 1.0.13 +Requires: crate(normalize-line-endings-0.3/default) >= 0.3.0 +Requires: crate(snapbox-macros-1.0/default) >= 1.0.0 +Provides: crate(%{pkgname}) + +%description +Source code for takopackized Rust crate "snapbox" + +%package -n %{name}+cmd +Summary: Snapshot testing toolbox - feature "cmd" +Requires: crate(%{pkgname}) +Requires: crate(libc-0.2/default) >= 0.2.176 +Requires: crate(os-pipe-1.0/default) >= 1.2 +Requires: crate(wait-timeout-0.2/default) >= 0.2.1 +Requires: crate(windows-sys-0.60/default) >= 0.60.2 +Requires: crate(windows-sys-0.60/win32-foundation) >= 0.60.2 +Provides: crate(%{pkgname}/cmd) + +%description -n %{name}+cmd +This metapackage enables feature "cmd" for the Rust snapbox crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+color +Summary: Snapshot testing toolbox - feature "color" and 1 more +Requires: crate(%{pkgname}) +Requires: crate(anstream-0.6/default) >= 0.6.20 +Requires: crate(snapbox-macros-1.0/color) >= 1.0.0 +Provides: crate(%{pkgname}/color) +Provides: crate(%{pkgname}/color-auto) + +%description -n %{name}+color +This metapackage enables feature "color" for the Rust snapbox crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "color-auto" feature. + +%package -n %{name}+debug +Summary: Snapshot testing toolbox - feature "debug" +Requires: crate(%{pkgname}) +Requires: crate(backtrace-0.3/default) >= 0.3.0 +Requires: crate(snapbox-macros-1.0/debug) >= 1.0.0 +Provides: crate(%{pkgname}/debug) + +%description -n %{name}+debug +This metapackage enables feature "debug" for the Rust snapbox crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+default +Summary: Snapshot testing toolbox - feature "default" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/color-auto) +Requires: crate(%{pkgname}/diff) +Provides: crate(%{pkgname}/default) + +%description -n %{name}+default +This metapackage enables feature "default" for the Rust snapbox crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+detect-encoding +Summary: Snapshot testing toolbox - feature "detect-encoding" +Requires: crate(%{pkgname}) +Requires: crate(content-inspector-0.2/default) >= 0.2.4 +Provides: crate(%{pkgname}/detect-encoding) + +%description -n %{name}+detect-encoding +This metapackage enables feature "detect-encoding" for the Rust snapbox crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+diff +Summary: Snapshot testing toolbox - feature "diff" +Requires: crate(%{pkgname}) +Requires: crate(similar-2.0/default) >= 2.7.0 +Requires: crate(similar-2.0/inline) >= 2.7.0 +Provides: crate(%{pkgname}/diff) + +%description -n %{name}+diff +This metapackage enables feature "diff" for the Rust snapbox crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+dir +Summary: Snapshot testing toolbox - feature "dir" and 1 more +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/detect-encoding) +Requires: crate(dunce-1.0/default) >= 1.0.0 +Requires: crate(filetime-0.2/default) >= 0.2.26 +Requires: crate(tempfile-3.0/default) >= 3.23 +Requires: crate(walkdir-2.0/default) >= 2.5.0 +Provides: crate(%{pkgname}/dir) +Provides: crate(%{pkgname}/path) + +%description -n %{name}+dir +This metapackage enables feature "dir" for the Rust snapbox crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "path" feature. + +%package -n %{name}+document-features +Summary: Snapshot testing toolbox - feature "document-features" +Requires: crate(%{pkgname}) +Requires: crate(document-features-0.2/default) >= 0.2.11 +Provides: crate(%{pkgname}/document-features) + +%description -n %{name}+document-features +This metapackage enables feature "document-features" for the Rust snapbox crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+examples +Summary: Snapshot testing toolbox - feature "examples" +Requires: crate(%{pkgname}) +Requires: crate(escargot-0.5/default) >= 0.5.14 +Provides: crate(%{pkgname}/examples) + +%description -n %{name}+examples +This metapackage enables feature "examples" for the Rust snapbox crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+json +Summary: Snapshot testing toolbox - feature "json" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/structured-data) +Requires: crate(serde-1.0/default) >= 1.0.228 +Requires: crate(serde-json-1.0/default) >= 1.0.145 +Provides: crate(%{pkgname}/json) + +%description -n %{name}+json +This metapackage enables feature "json" for the Rust snapbox crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+regex +Summary: Snapshot testing toolbox - feature "regex" +Requires: crate(%{pkgname}) +Requires: crate(regex-1.0/std) >= 1.11.3 +Provides: crate(%{pkgname}/regex) + +%description -n %{name}+regex +This metapackage enables feature "regex" for the Rust snapbox crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+structured-data +Summary: Snapshot testing toolbox - feature "structured-data" +Requires: crate(%{pkgname}) +Requires: crate(serde-json-1.0/default) >= 1.0.145 +Provides: crate(%{pkgname}/structured-data) + +%description -n %{name}+structured-data +This metapackage enables feature "structured-data" for the Rust snapbox crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+term-svg +Summary: Snapshot testing toolbox - feature "term-svg" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/structured-data) +Requires: crate(anstyle-svg-0.1/default) >= 0.1.11 +Provides: crate(%{pkgname}/term-svg) + +%description -n %{name}+term-svg +This metapackage enables feature "term-svg" for the Rust snapbox crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-snapbox-macros-1.0/rust-snapbox-macros.spec b/SPECS/rust-snapbox-macros-1.0/rust-snapbox-macros.spec new file mode 100644 index 0000000000..59822189c2 --- /dev/null +++ b/SPECS/rust-snapbox-macros-1.0/rust-snapbox-macros.spec @@ -0,0 +1,43 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name snapbox-macros +%global full_version 1.0.0 +%global pkgname snapbox-macros-1.0 + +Name: rust-snapbox-macros-1.0 +Version: 1.0.0 +Release: %autorelease +Summary: Rust crate "snapbox-macros" +License: MIT OR Apache-2.0 +URL: https://github.com/assert-rs/snapbox/ +#!RemoteAsset: sha256:d248cef42e1456ab2f7149c0376985351b7d849ea9ad2a957bf15ddfebf1fdf9 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/debug) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "snapbox-macros" + +%package -n %{name}+color +Summary: Snapshot testing toolbox - feature "color" +Requires: crate(%{pkgname}) +Requires: crate(anstream-0.6/default) >= 0.6.20 +Provides: crate(%{pkgname}/color) + +%description -n %{name}+color +This metapackage enables feature "color" for the Rust snapbox-macros crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-statrs-0.18/rust-statrs.spec b/SPECS/rust-statrs-0.18/rust-statrs.spec new file mode 100644 index 0000000000..fcd4479384 --- /dev/null +++ b/SPECS/rust-statrs-0.18/rust-statrs.spec @@ -0,0 +1,64 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name statrs +%global full_version 0.18.0 +%global pkgname statrs-0.18 + +Name: rust-statrs-0.18 +Version: 0.18.0 +Release: %autorelease +Summary: Rust crate "statrs" +License: MIT +URL: https://github.com/statrs-dev/statrs +#!RemoteAsset: sha256:2a3fe7c28c6512e766b0874335db33c94ad7b8f9054228ae1c2abd47ce7d335e +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(approx-0.5/default) >= 0.5.0 +Requires: crate(num-traits-0.2/default) >= 0.2.14 +Provides: crate(%{pkgname}) + +%description +Source code for takopackized Rust crate "statrs" + +%package -n %{name}+default +Summary: Statistical computing library for Rust - feature "default" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/nalgebra) +Requires: crate(%{pkgname}/rand) +Provides: crate(%{pkgname}/default) + +%description -n %{name}+default +This metapackage enables feature "default" for the Rust statrs crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+nalgebra +Summary: Statistical computing library for Rust - feature "nalgebra" +Requires: crate(%{pkgname}) +Requires: crate(nalgebra-0.33/std) >= 0.33.0 +Provides: crate(%{pkgname}/nalgebra) + +%description -n %{name}+nalgebra +This metapackage enables feature "nalgebra" for the Rust statrs crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+rand +Summary: Statistical computing library for Rust - feature "rand" +Requires: crate(%{pkgname}) +Requires: crate(nalgebra-0.33/rand) >= 0.33.0 +Requires: crate(nalgebra-0.33/std) >= 0.33.0 +Requires: crate(rand-0.8/default) >= 0.8.0 +Provides: crate(%{pkgname}/rand) + +%description -n %{name}+rand +This metapackage enables feature "rand" for the Rust statrs crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-strip-ansi-escapes-0.2/rust-strip-ansi-escapes.spec b/SPECS/rust-strip-ansi-escapes-0.2/rust-strip-ansi-escapes.spec new file mode 100644 index 0000000000..c58f87102f --- /dev/null +++ b/SPECS/rust-strip-ansi-escapes-0.2/rust-strip-ansi-escapes.spec @@ -0,0 +1,34 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name strip-ansi-escapes +%global full_version 0.2.1 +%global pkgname strip-ansi-escapes-0.2 + +Name: rust-strip-ansi-escapes-0.2 +Version: 0.2.1 +Release: %autorelease +Summary: Rust crate "strip-ansi-escapes" +License: Apache-2.0/MIT +URL: https://github.com/luser/strip-ansi-escapes +#!RemoteAsset: sha256:2a8f8038e7e7969abb3f1b7c2a811225e9296da208539e0f79c5251d6cac0025 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(vte-0.14) >= 0.14.0 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "strip-ansi-escapes" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-strum-0.28/rust-strum.spec b/SPECS/rust-strum-0.28/rust-strum.spec new file mode 100644 index 0000000000..15793b9139 --- /dev/null +++ b/SPECS/rust-strum-0.28/rust-strum.spec @@ -0,0 +1,56 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name strum +%global full_version 0.28.0 +%global pkgname strum-0.28 + +Name: rust-strum-0.28 +Version: 0.28.0 +Release: %autorelease +Summary: Rust crate "strum" +License: MIT +URL: https://github.com/Peternator7/strum +#!RemoteAsset: sha256:9628de9b8791db39ceda2b119bbe13134770b56c138ec1d3af810d045c04f9bd +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/std) + +%description +Source code for takopackized Rust crate "strum" + +%package -n %{name}+phf +Summary: Helpful macros for working with enums and strings - feature "phf" +Requires: crate(%{pkgname}) +Requires: crate(phf-0.13/default) >= 0.13.0 +Requires: crate(phf-0.13/macros) >= 0.13.0 +Provides: crate(%{pkgname}/phf) + +%description -n %{name}+phf +This metapackage enables feature "phf" for the Rust strum crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+strum-macros +Summary: Helpful macros for working with enums and strings - feature "strum_macros" and 1 more +Requires: crate(%{pkgname}) +Requires: crate(strum-macros-0.28/default) >= 0.28.0 +Provides: crate(%{pkgname}/derive) +Provides: crate(%{pkgname}/strum-macros) + +%description -n %{name}+strum-macros +This metapackage enables feature "strum_macros" for the Rust strum crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "derive" feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-strum-macros-0.28/rust-strum-macros.spec b/SPECS/rust-strum-macros-0.28/rust-strum-macros.spec new file mode 100644 index 0000000000..9f3f7442e7 --- /dev/null +++ b/SPECS/rust-strum-macros-0.28/rust-strum-macros.spec @@ -0,0 +1,38 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name strum_macros +%global full_version 0.28.0 +%global pkgname strum-macros-0.28 + +Name: rust-strum-macros-0.28 +Version: 0.28.0 +Release: %autorelease +Summary: Rust crate "strum_macros" +License: MIT +URL: https://github.com/Peternator7/strum +#!RemoteAsset: sha256:ab85eea0270ee17587ed4156089e10b9e6880ee688791d45a905f5b1ca36f664 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(heck-0.5/default) >= 0.5.0 +Requires: crate(proc-macro2-1.0/default) >= 1.0.0 +Requires: crate(quote-1.0/default) >= 1.0.0 +Requires: crate(syn-2.0/default) >= 2.0.0 +Requires: crate(syn-2.0/parsing) >= 2.0.0 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "strum_macros" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-termcolor-1.0/rust-termcolor.spec b/SPECS/rust-termcolor-1.0/rust-termcolor.spec new file mode 100644 index 0000000000..77e64364e9 --- /dev/null +++ b/SPECS/rust-termcolor-1.0/rust-termcolor.spec @@ -0,0 +1,34 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name termcolor +%global full_version 1.4.1 +%global pkgname termcolor-1.0 + +Name: rust-termcolor-1.0 +Version: 1.4.1 +Release: %autorelease +Summary: Rust crate "termcolor" +License: Unlicense OR MIT +URL: https://github.com/BurntSushi/termcolor +#!RemoteAsset: sha256:06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(winapi-util-0.1/default) >= 0.1.3 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "termcolor" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-terminfo-0.9/rust-terminfo.spec b/SPECS/rust-terminfo-0.9/rust-terminfo.spec new file mode 100644 index 0000000000..327d0e6bb0 --- /dev/null +++ b/SPECS/rust-terminfo-0.9/rust-terminfo.spec @@ -0,0 +1,37 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name terminfo +%global full_version 0.9.0 +%global pkgname terminfo-0.9 + +Name: rust-terminfo-0.9 +Version: 0.9.0 +Release: %autorelease +Summary: Rust crate "terminfo" +License: WTFPL +URL: https://github.com/meh/rust-terminfo +#!RemoteAsset: sha256:d4ea810f0692f9f51b382fff5893887bb4580f5fa246fde546e0b13e7fcee662 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(fnv-1.0/default) >= 1.0.0 +Requires: crate(nom-7.0/std) >= 7.0.0 +Requires: crate(phf-0.11/default) >= 0.11.0 +Requires: crate(phf-codegen-0.11/default) >= 0.11.0 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "terminfo" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-termtree-0.5/rust-termtree.spec b/SPECS/rust-termtree-0.5/rust-termtree.spec new file mode 100644 index 0000000000..ec4d0476cb --- /dev/null +++ b/SPECS/rust-termtree-0.5/rust-termtree.spec @@ -0,0 +1,33 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name termtree +%global full_version 0.5.1 +%global pkgname termtree-0.5 + +Name: rust-termtree-0.5 +Version: 0.5.1 +Release: %autorelease +Summary: Rust crate "termtree" +License: MIT +URL: https://github.com/rust-cli/termtree +#!RemoteAsset: sha256:8f50febec83f5ee1df3015341d8bd429f2d1cc62bcba7ea2076759d315084683 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "termtree" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-test-case-3.0/rust-test-case.spec b/SPECS/rust-test-case-3.0/rust-test-case.spec new file mode 100644 index 0000000000..f6708695c2 --- /dev/null +++ b/SPECS/rust-test-case-3.0/rust-test-case.spec @@ -0,0 +1,53 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name test-case +%global full_version 3.3.1 +%global pkgname test-case-3.0 + +Name: rust-test-case-3.0 +Version: 3.3.1 +Release: %autorelease +Summary: Rust crate "test-case" +License: MIT +URL: https://github.com/frondeus/test-case +#!RemoteAsset: sha256:eb2550dd13afcd286853192af8601920d959b14c401fcece38071d53bf0768a8 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(test-case-macros-3.0) >= 3.2.1 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "test-case" + +%package -n %{name}+regex +Summary: Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily - feature "regex" +Requires: crate(%{pkgname}) +Requires: crate(regex-1.0/default) >= 1.5 +Provides: crate(%{pkgname}/regex) + +%description -n %{name}+regex +This metapackage enables feature "regex" for the Rust test-case crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+with-regex +Summary: Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily - feature "with-regex" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/regex) +Requires: crate(test-case-macros-3.0/with-regex) >= 3.2.1 +Provides: crate(%{pkgname}/with-regex) + +%description -n %{name}+with-regex +This metapackage enables feature "with-regex" for the Rust test-case crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-test-case-core-3.0/rust-test-case-core.spec b/SPECS/rust-test-case-core-3.0/rust-test-case-core.spec new file mode 100644 index 0000000000..700598aba1 --- /dev/null +++ b/SPECS/rust-test-case-core-3.0/rust-test-case-core.spec @@ -0,0 +1,40 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name test-case-core +%global full_version 3.3.1 +%global pkgname test-case-core-3.0 + +Name: rust-test-case-core-3.0 +Version: 3.3.1 +Release: %autorelease +Summary: Rust crate "test-case-core" +License: MIT +URL: https://github.com/frondeus/test-case +#!RemoteAsset: sha256:adcb7fd841cd518e279be3d5a3eb0636409487998a4aff22f3de87b81e88384f +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(cfg-if-1.0/default) >= 1.0.0 +Requires: crate(proc-macro2-1.0/default) >= 1.0.0 +Requires: crate(quote-1.0/default) >= 1.0.0 +Requires: crate(syn-2.0/default) >= 2.0.0 +Requires: crate(syn-2.0/extra-traits) >= 2.0.0 +Requires: crate(syn-2.0/full) >= 2.0.0 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/with-regex) + +%description +Source code for takopackized Rust crate "test-case-core" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-test-case-macros-3.0/rust-test-case-macros.spec b/SPECS/rust-test-case-macros-3.0/rust-test-case-macros.spec new file mode 100644 index 0000000000..279cc2dc51 --- /dev/null +++ b/SPECS/rust-test-case-macros-3.0/rust-test-case-macros.spec @@ -0,0 +1,49 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name test-case-macros +%global full_version 3.3.1 +%global pkgname test-case-macros-3.0 + +Name: rust-test-case-macros-3.0 +Version: 3.3.1 +Release: %autorelease +Summary: Rust crate "test-case-macros" +License: MIT +URL: https://github.com/frondeus/test-case +#!RemoteAsset: sha256:5c89e72a01ed4c579669add59014b9a524d609c0c88c6a585ce37485879f6ffb +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(proc-macro2-1.0/default) >= 1.0.0 +Requires: crate(quote-1.0/default) >= 1.0.0 +Requires: crate(syn-2.0/default) >= 2.0.0 +Requires: crate(syn-2.0/extra-traits) >= 2.0.0 +Requires: crate(syn-2.0/full) >= 2.0.0 +Requires: crate(syn-2.0/parsing) >= 2.0.0 +Requires: crate(test-case-core-3.0) >= 3.2.1 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "test-case-macros" + +%package -n %{name}+with-regex +Summary: Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily - feature "with-regex" +Requires: crate(%{pkgname}) +Requires: crate(test-case-core-3.0/with-regex) >= 3.2.1 +Provides: crate(%{pkgname}/with-regex) + +%description -n %{name}+with-regex +This metapackage enables feature "with-regex" for the Rust test-case-macros crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-thin-vec-0.2/rust-thin-vec.spec b/SPECS/rust-thin-vec-0.2/rust-thin-vec.spec new file mode 100644 index 0000000000..c52a8af564 --- /dev/null +++ b/SPECS/rust-thin-vec-0.2/rust-thin-vec.spec @@ -0,0 +1,54 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name thin-vec +%global full_version 0.2.14 +%global pkgname thin-vec-0.2 + +Name: rust-thin-vec-0.2 +Version: 0.2.14 +Release: %autorelease +Summary: Rust crate "thin-vec" +License: MIT/Apache-2.0 +URL: https://github.com/gankra/thin-vec +#!RemoteAsset: sha256:144f754d318415ac792f9d69fc87abbbfc043ce2ef041c60f16ad828f638717d +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/gecko-ffi) +Provides: crate(%{pkgname}/std) +Provides: crate(%{pkgname}/unstable) + +%description +Source code for takopackized Rust crate "thin-vec" + +%package -n %{name}+malloc-size-of +Summary: Vec that takes up less space on the stack - feature "malloc_size_of" +Requires: crate(%{pkgname}) +Requires: crate(malloc-size-of-0.1) >= 0.1.0 +Provides: crate(%{pkgname}/malloc-size-of) + +%description -n %{name}+malloc-size-of +This metapackage enables feature "malloc_size_of" for the Rust thin-vec crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+serde +Summary: Vec that takes up less space on the stack - feature "serde" +Requires: crate(%{pkgname}) +Requires: crate(serde-1.0/default) >= 1.0.0 +Provides: crate(%{pkgname}/serde) + +%description -n %{name}+serde +This metapackage enables feature "serde" for the Rust thin-vec crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-threadpool-1.0/rust-threadpool.spec b/SPECS/rust-threadpool-1.0/rust-threadpool.spec new file mode 100644 index 0000000000..94a6002a58 --- /dev/null +++ b/SPECS/rust-threadpool-1.0/rust-threadpool.spec @@ -0,0 +1,34 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name threadpool +%global full_version 1.8.1 +%global pkgname threadpool-1.0 + +Name: rust-threadpool-1.0 +Version: 1.8.1 +Release: %autorelease +Summary: Rust crate "threadpool" +License: MIT/Apache-2.0 +URL: https://github.com/rust-threadpool/rust-threadpool +#!RemoteAsset: sha256:d050e60b33d41c19108b32cea32164033a9013fe3b46cbd4457559bfbf77afaa +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(num-cpus-1.0/default) >= 1.13 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "threadpool" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-tikv-jemalloc-sys-0.6/rust-tikv-jemalloc-sys.spec b/SPECS/rust-tikv-jemalloc-sys-0.6/rust-tikv-jemalloc-sys.spec new file mode 100644 index 0000000000..97ed90a8c5 --- /dev/null +++ b/SPECS/rust-tikv-jemalloc-sys-0.6/rust-tikv-jemalloc-sys.spec @@ -0,0 +1,44 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name tikv-jemalloc-sys +%global full_version 0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 +%global pkgname tikv-jemalloc-sys-0.6 + +Name: rust-tikv-jemalloc-sys-0.6 +Version: 0.6.1 +Release: %autorelease +Summary: Rust crate "tikv-jemalloc-sys" +License: MIT/Apache-2.0 +URL: https://github.com/tikv/jemallocator +#!RemoteAsset: sha256:cd8aa5b2ab86a2cefa406d889139c162cbb230092f7d1d7cbc1716405d852a3b +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(cc-1.0/default) >= 1.0.13 +Requires: crate(libc-0.2) >= 0.2.8 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/background-threads) +Provides: crate(%{pkgname}/background-threads-runtime-support) +Provides: crate(%{pkgname}/debug) +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/disable-cache-oblivious) +Provides: crate(%{pkgname}/disable-initial-exec-tls) +Provides: crate(%{pkgname}/override-allocator-on-supported-platforms) +Provides: crate(%{pkgname}/profiling) +Provides: crate(%{pkgname}/stats) +Provides: crate(%{pkgname}/unprefixed-malloc-on-supported-platforms) + +%description +Source code for takopackized Rust crate "tikv-jemalloc-sys" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-tikv-jemallocator-0.6/rust-tikv-jemallocator.spec b/SPECS/rust-tikv-jemallocator-0.6/rust-tikv-jemallocator.spec new file mode 100644 index 0000000000..5863f141d4 --- /dev/null +++ b/SPECS/rust-tikv-jemallocator-0.6/rust-tikv-jemallocator.spec @@ -0,0 +1,120 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name tikv-jemallocator +%global full_version 0.6.1 +%global pkgname tikv-jemallocator-0.6 + +Name: rust-tikv-jemallocator-0.6 +Version: 0.6.1 +Release: %autorelease +Summary: Rust crate "tikv-jemallocator" +License: MIT/Apache-2.0 +URL: https://github.com/tikv/jemallocator +#!RemoteAsset: sha256:0359b4327f954e0567e69fb191cf1436617748813819c94b8cd4a431422d053a +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(libc-0.2) >= 0.2.8 +Requires: crate(tikv-jemalloc-sys-0.6) >= 0.6.1 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/alloc-trait) + +%description +Source code for takopackized Rust crate "tikv-jemallocator" + +%package -n %{name}+background-threads +Summary: Rust allocator backed by jemalloc - feature "background_threads" +Requires: crate(%{pkgname}) +Requires: crate(tikv-jemalloc-sys-0.6/background-threads) >= 0.6.1 +Provides: crate(%{pkgname}/background-threads) + +%description -n %{name}+background-threads +This metapackage enables feature "background_threads" for the Rust tikv-jemallocator crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+background-threads-runtime-support +Summary: Rust allocator backed by jemalloc - feature "background_threads_runtime_support" and 1 more +Requires: crate(%{pkgname}) +Requires: crate(tikv-jemalloc-sys-0.6/background-threads-runtime-support) >= 0.6.1 +Provides: crate(%{pkgname}/background-threads-runtime-support) +Provides: crate(%{pkgname}/default) + +%description -n %{name}+background-threads-runtime-support +This metapackage enables feature "background_threads_runtime_support" for the Rust tikv-jemallocator crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "default" feature. + +%package -n %{name}+debug +Summary: Rust allocator backed by jemalloc - feature "debug" +Requires: crate(%{pkgname}) +Requires: crate(tikv-jemalloc-sys-0.6/debug) >= 0.6.1 +Provides: crate(%{pkgname}/debug) + +%description -n %{name}+debug +This metapackage enables feature "debug" for the Rust tikv-jemallocator crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+disable-cache-oblivious +Summary: Rust allocator backed by jemalloc - feature "disable_cache_oblivious" +Requires: crate(%{pkgname}) +Requires: crate(tikv-jemalloc-sys-0.6/disable-cache-oblivious) >= 0.6.1 +Provides: crate(%{pkgname}/disable-cache-oblivious) + +%description -n %{name}+disable-cache-oblivious +This metapackage enables feature "disable_cache_oblivious" for the Rust tikv-jemallocator crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+disable-initial-exec-tls +Summary: Rust allocator backed by jemalloc - feature "disable_initial_exec_tls" +Requires: crate(%{pkgname}) +Requires: crate(tikv-jemalloc-sys-0.6/disable-initial-exec-tls) >= 0.6.1 +Provides: crate(%{pkgname}/disable-initial-exec-tls) + +%description -n %{name}+disable-initial-exec-tls +This metapackage enables feature "disable_initial_exec_tls" for the Rust tikv-jemallocator crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+override-allocator-on-supported-platforms +Summary: Rust allocator backed by jemalloc - feature "override_allocator_on_supported_platforms" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/unprefixed-malloc-on-supported-platforms) +Requires: crate(tikv-jemalloc-sys-0.6/override-allocator-on-supported-platforms) >= 0.6.1 +Provides: crate(%{pkgname}/override-allocator-on-supported-platforms) + +%description -n %{name}+override-allocator-on-supported-platforms +This metapackage enables feature "override_allocator_on_supported_platforms" for the Rust tikv-jemallocator crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+profiling +Summary: Rust allocator backed by jemalloc - feature "profiling" +Requires: crate(%{pkgname}) +Requires: crate(tikv-jemalloc-sys-0.6/profiling) >= 0.6.1 +Provides: crate(%{pkgname}/profiling) + +%description -n %{name}+profiling +This metapackage enables feature "profiling" for the Rust tikv-jemallocator crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+stats +Summary: Rust allocator backed by jemalloc - feature "stats" +Requires: crate(%{pkgname}) +Requires: crate(tikv-jemalloc-sys-0.6/stats) >= 0.6.1 +Provides: crate(%{pkgname}/stats) + +%description -n %{name}+stats +This metapackage enables feature "stats" for the Rust tikv-jemallocator crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+unprefixed-malloc-on-supported-platforms +Summary: Rust allocator backed by jemalloc - feature "unprefixed_malloc_on_supported_platforms" +Requires: crate(%{pkgname}) +Requires: crate(tikv-jemalloc-sys-0.6/unprefixed-malloc-on-supported-platforms) >= 0.6.1 +Provides: crate(%{pkgname}/unprefixed-malloc-on-supported-platforms) + +%description -n %{name}+unprefixed-malloc-on-supported-platforms +This metapackage enables feature "unprefixed_malloc_on_supported_platforms" for the Rust tikv-jemallocator crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-toml-1.0/rust-toml.spec b/SPECS/rust-toml-1.0/rust-toml.spec new file mode 100644 index 0000000000..54ebfe60c7 --- /dev/null +++ b/SPECS/rust-toml-1.0/rust-toml.spec @@ -0,0 +1,140 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name toml +%global full_version 1.1.2+spec-1.1.0 +%global pkgname toml-1.0 + +Name: rust-toml-1.0 +Version: 1.1.2 +Release: %autorelease +Summary: Rust crate "toml" +License: MIT OR Apache-2.0 +URL: https://github.com/toml-rs/toml +#!RemoteAsset: sha256:81f3d15e84cbcd896376e6730314d59fb5a87f31e4b038454184435cd57defee +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(serde-spanned-1.0/alloc) >= 1.1.1 +Requires: crate(toml-datetime-1.0/alloc) >= 1.1.1 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/unbounded) + +%description +Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures. +Source code for takopackized Rust crate "toml" + +%package -n %{name}+debug +Summary: Native Rust encoder and decoder of TOML-formatted files and streams - feature "debug" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/std) +Requires: crate(anstream-1.0/default) >= 1.0.0 +Requires: crate(anstyle-1.0/default) >= 1.0.14 +Requires: crate(toml-parser-1.0/alloc) >= 1.1.2 +Requires: crate(toml-parser-1.0/debug) >= 1.1.2 +Provides: crate(%{pkgname}/debug) + +%description -n %{name}+debug +Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures. +This metapackage enables feature "debug" for the Rust toml crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+default +Summary: Native Rust encoder and decoder of TOML-formatted files and streams - feature "default" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/display) +Requires: crate(%{pkgname}/parse) +Requires: crate(%{pkgname}/serde) +Requires: crate(%{pkgname}/std) +Provides: crate(%{pkgname}/default) + +%description -n %{name}+default +Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures. +This metapackage enables feature "default" for the Rust toml crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+display +Summary: Native Rust encoder and decoder of TOML-formatted files and streams - feature "display" +Requires: crate(%{pkgname}) +Requires: crate(toml-writer-1.0/alloc) >= 1.1.1 +Provides: crate(%{pkgname}/display) + +%description -n %{name}+display +Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures. +This metapackage enables feature "display" for the Rust toml crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+fast-hash +Summary: Native Rust encoder and decoder of TOML-formatted files and streams - feature "fast_hash" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/preserve-order) +Requires: crate(foldhash-0.2) >= 0.2.0 +Provides: crate(%{pkgname}/fast-hash) + +%description -n %{name}+fast-hash +Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures. +This metapackage enables feature "fast_hash" for the Rust toml crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+parse +Summary: Native Rust encoder and decoder of TOML-formatted files and streams - feature "parse" +Requires: crate(%{pkgname}) +Requires: crate(toml-parser-1.0/alloc) >= 1.1.2 +Requires: crate(winnow-1.0) >= 1.0.0 +Provides: crate(%{pkgname}/parse) + +%description -n %{name}+parse +Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures. +This metapackage enables feature "parse" for the Rust toml crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+preserve-order +Summary: Native Rust encoder and decoder of TOML-formatted files and streams - feature "preserve_order" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/std) +Requires: crate(indexmap-2.0) >= 2.13.0 +Provides: crate(%{pkgname}/preserve-order) + +%description -n %{name}+preserve-order +Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures. +This metapackage enables feature "preserve_order" for the Rust toml crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+serde +Summary: Native Rust encoder and decoder of TOML-formatted files and streams - feature "serde" +Requires: crate(%{pkgname}) +Requires: crate(serde-core-1.0/alloc) >= 1.0.228 +Requires: crate(serde-spanned-1.0/alloc) >= 1.1.1 +Requires: crate(serde-spanned-1.0/serde) >= 1.1.1 +Requires: crate(toml-datetime-1.0/alloc) >= 1.1.1 +Requires: crate(toml-datetime-1.0/serde) >= 1.1.1 +Provides: crate(%{pkgname}/serde) + +%description -n %{name}+serde +Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures. +This metapackage enables feature "serde" for the Rust toml crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+std +Summary: Native Rust encoder and decoder of TOML-formatted files and streams - feature "std" +Requires: crate(%{pkgname}) +Requires: crate(indexmap-2.0/std) >= 2.13.0 +Requires: crate(serde-core-1.0/alloc) >= 1.0.228 +Requires: crate(serde-core-1.0/std) >= 1.0.228 +Requires: crate(serde-spanned-1.0/alloc) >= 1.1.1 +Requires: crate(serde-spanned-1.0/std) >= 1.1.1 +Requires: crate(toml-datetime-1.0/alloc) >= 1.1.1 +Requires: crate(toml-datetime-1.0/std) >= 1.1.1 +Requires: crate(toml-parser-1.0/alloc) >= 1.1.2 +Requires: crate(toml-parser-1.0/std) >= 1.1.2 +Requires: crate(toml-writer-1.0/alloc) >= 1.1.1 +Requires: crate(toml-writer-1.0/std) >= 1.1.1 +Provides: crate(%{pkgname}/std) + +%description -n %{name}+std +Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures. +This metapackage enables feature "std" for the Rust toml crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-toml-datetime-1.0/rust-toml-datetime.spec b/SPECS/rust-toml-datetime-1.0/rust-toml-datetime.spec new file mode 100644 index 0000000000..f9ea0177c4 --- /dev/null +++ b/SPECS/rust-toml-datetime-1.0/rust-toml-datetime.spec @@ -0,0 +1,63 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name toml_datetime +%global full_version 1.1.1+spec-1.1.0 +%global pkgname toml-datetime-1.0 + +Name: rust-toml-datetime-1.0 +Version: 1.1.1 +Release: %autorelease +Summary: Rust crate "toml_datetime" +License: MIT OR Apache-2.0 +URL: https://github.com/toml-rs/toml +#!RemoteAsset: sha256:3165f65f62e28e0115a00b2ebdd37eb6f3b641855f9d636d3cd4103767159ad7 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) + +%description +Source code for takopackized Rust crate "toml_datetime" + +%package -n %{name}+alloc +Summary: TOML-compatible datetime type - feature "alloc" +Requires: crate(%{pkgname}) +Requires: crate(serde-core-1.0/alloc) >= 1.0.228 +Provides: crate(%{pkgname}/alloc) + +%description -n %{name}+alloc +This metapackage enables feature "alloc" for the Rust toml_datetime crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+serde +Summary: TOML-compatible datetime type - feature "serde" +Requires: crate(%{pkgname}) +Requires: crate(serde-core-1.0) >= 1.0.228 +Provides: crate(%{pkgname}/serde) + +%description -n %{name}+serde +This metapackage enables feature "serde" for the Rust toml_datetime crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+std +Summary: TOML-compatible datetime type - feature "std" and 1 more +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/alloc) +Requires: crate(serde-core-1.0/std) >= 1.0.228 +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/std) + +%description -n %{name}+std +This metapackage enables feature "std" for the Rust toml_datetime crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "default" feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-tracing-flame-0.2/rust-tracing-flame.spec b/SPECS/rust-tracing-flame-0.2/rust-tracing-flame.spec new file mode 100644 index 0000000000..aad69882b5 --- /dev/null +++ b/SPECS/rust-tracing-flame-0.2/rust-tracing-flame.spec @@ -0,0 +1,50 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name tracing-flame +%global full_version 0.2.0 +%global pkgname tracing-flame-0.2 + +Name: rust-tracing-flame-0.2 +Version: 0.2.0 +Release: %autorelease +Summary: Rust crate "tracing-flame" +License: MIT +URL: https://tokio.rs +#!RemoteAsset: sha256:0bae117ee14789185e129aaee5d93750abe67fdc5a9a62650452bfe4e122a3a9 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(lazy-static-1.0/default) >= 1.3.0 +Requires: crate(tracing-0.1/std) >= 0.1.12 +Requires: crate(tracing-subscriber-0.3/fmt) >= 0.3.0 +Requires: crate(tracing-subscriber-0.3/registry) >= 0.3.0 +Provides: crate(%{pkgname}) + +%description +Source code for takopackized Rust crate "tracing-flame" + +%package -n %{name}+smallvec +Summary: Tracing layer for creating flamegraphs from span timings - feature "smallvec" and 1 more +Requires: crate(%{pkgname}) +Requires: crate(tracing-subscriber-0.3/fmt) >= 0.3.0 +Requires: crate(tracing-subscriber-0.3/registry) >= 0.3.0 +Requires: crate(tracing-subscriber-0.3/smallvec) >= 0.3.0 +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/smallvec) + +%description -n %{name}+smallvec +This metapackage enables feature "smallvec" for the Rust tracing-flame crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "default" feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-tracing-indicatif-0.3/rust-tracing-indicatif.spec b/SPECS/rust-tracing-indicatif-0.3/rust-tracing-indicatif.spec new file mode 100644 index 0000000000..b5307410e0 --- /dev/null +++ b/SPECS/rust-tracing-indicatif-0.3/rust-tracing-indicatif.spec @@ -0,0 +1,38 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name tracing-indicatif +%global full_version 0.3.14 +%global pkgname tracing-indicatif-0.3 + +Name: rust-tracing-indicatif-0.3 +Version: 0.3.14 +Release: %autorelease +Summary: Rust crate "tracing-indicatif" +License: MIT +URL: https://github.com/emersonford/tracing-indicatif +#!RemoteAsset: sha256:e1ef6990e0438749f0080573248e96631171a0b5ddfddde119aa5ba8c3a9c47e +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(indicatif-0.18/default) >= 0.18.3 +Requires: crate(indicatif-0.18/in-memory) >= 0.18.3 +Requires: crate(tracing-0.1/default) >= 0.1.43 +Requires: crate(tracing-core-0.1/default) >= 0.1.35 +Requires: crate(tracing-subscriber-0.3/default) >= 0.3.22 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "tracing-indicatif" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-tryfn-1.0/rust-tryfn.spec b/SPECS/rust-tryfn-1.0/rust-tryfn.spec new file mode 100644 index 0000000000..b6d8808f37 --- /dev/null +++ b/SPECS/rust-tryfn-1.0/rust-tryfn.spec @@ -0,0 +1,72 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name tryfn +%global full_version 1.0.0 +%global pkgname tryfn-1.0 + +Name: rust-tryfn-1.0 +Version: 1.0.0 +Release: %autorelease +Summary: Rust crate "tryfn" +License: MIT OR Apache-2.0 +URL: https://github.com/assert-rs/snapbox/ +#!RemoteAsset: sha256:f68b00518dd6c69ee2289900b140e55dad068cb925678603bfa8d539f61ef6c1 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(ignore-0.4/default) >= 0.4.20 +Requires: crate(libtest-mimic-0.7/default) >= 0.7.0 +Requires: crate(snapbox-1.0) >= 1.0.0 +Provides: crate(%{pkgname}) + +%description +Source code for takopackized Rust crate "tryfn" + +%package -n %{name}+color +Summary: File-driven snapshot testing for a function - feature "color" +Requires: crate(%{pkgname}) +Requires: crate(snapbox-1.0/color) >= 1.0.0 +Provides: crate(%{pkgname}/color) + +%description -n %{name}+color +This metapackage enables feature "color" for the Rust tryfn crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+color-auto +Summary: File-driven snapshot testing for a function - feature "color-auto" +Requires: crate(%{pkgname}) +Requires: crate(snapbox-1.0/color-auto) >= 1.0.0 +Provides: crate(%{pkgname}/color-auto) + +%description -n %{name}+color-auto +This metapackage enables feature "color-auto" for the Rust tryfn crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+default +Summary: File-driven snapshot testing for a function - feature "default" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/color-auto) +Requires: crate(%{pkgname}/diff) +Provides: crate(%{pkgname}/default) + +%description -n %{name}+default +This metapackage enables feature "default" for the Rust tryfn crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+diff +Summary: File-driven snapshot testing for a function - feature "diff" +Requires: crate(%{pkgname}) +Requires: crate(snapbox-1.0/diff) >= 1.0.0 +Provides: crate(%{pkgname}/diff) + +%description -n %{name}+diff +This metapackage enables feature "diff" for the Rust tryfn crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-typed-arena-2.0/rust-typed-arena.spec b/SPECS/rust-typed-arena-2.0/rust-typed-arena.spec new file mode 100644 index 0000000000..0f26b0d643 --- /dev/null +++ b/SPECS/rust-typed-arena-2.0/rust-typed-arena.spec @@ -0,0 +1,34 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name typed-arena +%global full_version 2.0.2 +%global pkgname typed-arena-2.0 + +Name: rust-typed-arena-2.0 +Version: 2.0.2 +Release: %autorelease +Summary: Rust crate "typed-arena" +License: MIT +URL: https://github.com/SimonSapin/rust-typed-arena +#!RemoteAsset: sha256:6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/std) + +%description +Source code for takopackized Rust crate "typed-arena" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-ucd-trie-0.1/rust-ucd-trie.spec b/SPECS/rust-ucd-trie-0.1/rust-ucd-trie.spec new file mode 100644 index 0000000000..9a50c10348 --- /dev/null +++ b/SPECS/rust-ucd-trie-0.1/rust-ucd-trie.spec @@ -0,0 +1,34 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name ucd-trie +%global full_version 0.1.7 +%global pkgname ucd-trie-0.1 + +Name: rust-ucd-trie-0.1 +Version: 0.1.7 +Release: %autorelease +Summary: Rust crate "ucd-trie" +License: MIT OR Apache-2.0 +URL: https://github.com/BurntSushi/ucd-generate +#!RemoteAsset: sha256:2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/std) + +%description +Source code for takopackized Rust crate "ucd-trie" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-unicode-id-0.3/rust-unicode-id.spec b/SPECS/rust-unicode-id-0.3/rust-unicode-id.spec new file mode 100644 index 0000000000..12104213f7 --- /dev/null +++ b/SPECS/rust-unicode-id-0.3/rust-unicode-id.spec @@ -0,0 +1,35 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name unicode-id +%global full_version 0.3.6 +%global pkgname unicode-id-0.3 + +Name: rust-unicode-id-0.3 +Version: 0.3.6 +Release: %autorelease +Summary: Rust crate "unicode-id" +License: MIT OR Apache-2.0 +URL: https://github.com/Boshen/unicode-id +#!RemoteAsset: sha256:70ba288e709927c043cbe476718d37be306be53fb1fafecd0dbe36d072be2580 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/bench) +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/no-std) + +%description +Source code for takopackized Rust crate "unicode-id" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-unicode-names2-1.0/rust-unicode-names2.spec b/SPECS/rust-unicode-names2-1.0/rust-unicode-names2.spec new file mode 100644 index 0000000000..49ce7d27fe --- /dev/null +++ b/SPECS/rust-unicode-names2-1.0/rust-unicode-names2.spec @@ -0,0 +1,48 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name unicode_names2 +%global full_version 1.3.0 +%global pkgname unicode-names2-1.0 + +Name: rust-unicode-names2-1.0 +Version: 1.3.0 +Release: %autorelease +Summary: Rust crate "unicode_names2" +License: (MIT OR Apache-2.0) AND Unicode-DFS-2016 +URL: https://github.com/progval/unicode_names2 +#!RemoteAsset: sha256:d1673eca9782c84de5f81b82e4109dcfb3611c8ba0d52930ec4a9478f547b2dd +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(phf-0.11) >= 0.11.1 +Requires: crate(unicode-names2-generator-1.0/default) >= 1.3.0 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/no-std) +Provides: crate(%{pkgname}/unstable) + +%description +This goes to great lengths to be as efficient as possible in both time and space, with the full bidirectional tables weighing barely 500 KB but still offering O(1)* look-up in both directions. (*more precisely, O(length of name).) +Source code for takopackized Rust crate "unicode_names2" + +%package -n %{name}+generator-timing +Summary: Map characters to and from their name given in the Unicode standard - feature "generator-timing" +Requires: crate(%{pkgname}) +Requires: crate(unicode-names2-generator-1.0/timing) >= 1.3.0 +Provides: crate(%{pkgname}/generator-timing) + +%description -n %{name}+generator-timing +This goes to great lengths to be as efficient as possible in both time and space, with the full bidirectional tables weighing barely 500 KB but still offering O(1)* look-up in both directions. (*more precisely, O(length of name).) +This metapackage enables feature "generator-timing" for the Rust unicode_names2 crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-unicode-names2-generator-1.0/rust-unicode-names2-generator.spec b/SPECS/rust-unicode-names2-generator-1.0/rust-unicode-names2-generator.spec new file mode 100644 index 0000000000..d8e5bdbe4d --- /dev/null +++ b/SPECS/rust-unicode-names2-generator-1.0/rust-unicode-names2-generator.spec @@ -0,0 +1,50 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name unicode_names2_generator +%global full_version 1.3.0 +%global pkgname unicode-names2-generator-1.0 + +Name: rust-unicode-names2-generator-1.0 +Version: 1.3.0 +Release: %autorelease +Summary: Rust crate "unicode_names2_generator" +License: MIT OR Apache-2.0 +URL: https://github.com/progval/unicode_names2 +#!RemoteAsset: sha256:b91e5b84611016120197efd7dc93ef76774f4e084cd73c9fb3ea4a86c570c56e +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(getopts-0.2/default) >= 0.2.21 +Requires: crate(log-0.0.0/default) >= 0.0.0 +Requires: crate(phf-codegen-0.11/default) >= 0.11.1 +Requires: crate(rand-0.8/default) >= 0.8.5 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/unstable) + +%description +Source code for takopackized Rust crate "unicode_names2_generator" + +%package -n %{name}+time +Summary: Generates the perfect-hash function used by `unicode_names2` - feature "time" and 1 more +Requires: crate(%{pkgname}) +Requires: crate(time-0.3/default) >= 0.3.0 +Provides: crate(%{pkgname}/time) +Provides: crate(%{pkgname}/timing) + +%description -n %{name}+time +This metapackage enables feature "time" for the Rust unicode_names2_generator crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "timing" feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-unit-prefix-0.5/rust-unit-prefix.spec b/SPECS/rust-unit-prefix-0.5/rust-unit-prefix.spec new file mode 100644 index 0000000000..7836b7573e --- /dev/null +++ b/SPECS/rust-unit-prefix-0.5/rust-unit-prefix.spec @@ -0,0 +1,34 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name unit-prefix +%global full_version 0.5.1 +%global pkgname unit-prefix-0.5 + +Name: rust-unit-prefix-0.5 +Version: 0.5.1 +Release: %autorelease +Summary: Rust crate "unit-prefix" +License: MIT +URL: https://github.com/commons-rs/unit-prefix +#!RemoteAsset: sha256:323402cff2dd658f39ca17c789b502021b3f18707c91cdf22e3838e1b4023817 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/std) + +%description +Source code for takopackized Rust crate "unit-prefix" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-unscanny-0.1/rust-unscanny.spec b/SPECS/rust-unscanny-0.1/rust-unscanny.spec new file mode 100644 index 0000000000..8b983301cd --- /dev/null +++ b/SPECS/rust-unscanny-0.1/rust-unscanny.spec @@ -0,0 +1,33 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name unscanny +%global full_version 0.1.0 +%global pkgname unscanny-0.1 + +Name: rust-unscanny-0.1 +Version: 0.1.0 +Release: %autorelease +Summary: Rust crate "unscanny" +License: MIT OR Apache-2.0 +URL: https://github.com/typst/unscanny +#!RemoteAsset: sha256:e9df2af067a7953e9c3831320f35c1cc0600c30d44d9f7a12b01db1cd88d6b47 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "unscanny" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-unty-0.0.4/rust-unty.spec b/SPECS/rust-unty-0.0.4/rust-unty.spec new file mode 100644 index 0000000000..47355e2eb3 --- /dev/null +++ b/SPECS/rust-unty-0.0.4/rust-unty.spec @@ -0,0 +1,33 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name unty +%global full_version 0.0.4 +%global pkgname unty-0.0.4 + +Name: rust-unty-0.0.4 +Version: 0.0.4 +Release: %autorelease +Summary: Rust crate "unty" +License: MIT OR Apache-2.0 +URL: https://github.com/bincode-org/unty +#!RemoteAsset: sha256:6d49784317cd0d1ee7ec5c716dd598ec5b4483ea832a2dced265471cc0f690ae +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "unty" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-urlencoding-2.0/rust-urlencoding.spec b/SPECS/rust-urlencoding-2.0/rust-urlencoding.spec new file mode 100644 index 0000000000..e92c94bbdc --- /dev/null +++ b/SPECS/rust-urlencoding-2.0/rust-urlencoding.spec @@ -0,0 +1,33 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name urlencoding +%global full_version 2.1.3 +%global pkgname urlencoding-2.0 + +Name: rust-urlencoding-2.0 +Version: 2.1.3 +Release: %autorelease +Summary: Rust crate "urlencoding" +License: MIT +URL: https://lib.rs/urlencoding +#!RemoteAsset: sha256:daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "urlencoding" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-version-ranges-0.1/rust-version-ranges.spec b/SPECS/rust-version-ranges-0.1/rust-version-ranges.spec new file mode 100644 index 0000000000..0f7950c747 --- /dev/null +++ b/SPECS/rust-version-ranges-0.1/rust-version-ranges.spec @@ -0,0 +1,56 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name version-ranges +%global full_version 0.1.1 +%global pkgname version-ranges-0.1 + +Name: rust-version-ranges-0.1 +Version: 0.1.1 +Release: %autorelease +Summary: Rust crate "version-ranges" +License: MPL-2.0 +URL: https://github.com/pubgrub-rs/pubgrub +#!RemoteAsset: sha256:f8d079415ceb2be83fc355adbadafe401307d5c309c7e6ade6638e6f9f42f42d +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(smallvec-1.0/default) >= 1.13.2 +Requires: crate(smallvec-1.0/union) >= 1.13.2 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "version-ranges" + +%package -n %{name}+proptest +Summary: Performance-optimized type for generic version ranges and operations on them - feature "proptest" +Requires: crate(%{pkgname}) +Requires: crate(proptest-1.0/default) >= 1.5.0 +Provides: crate(%{pkgname}/proptest) + +%description -n %{name}+proptest +This metapackage enables feature "proptest" for the Rust version-ranges crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+serde +Summary: Performance-optimized type for generic version ranges and operations on them - feature "serde" +Requires: crate(%{pkgname}) +Requires: crate(serde-1.0/default) >= 1.0.214 +Requires: crate(serde-1.0/derive) >= 1.0.214 +Requires: crate(smallvec-1.0/serde) >= 1.13.2 +Requires: crate(smallvec-1.0/union) >= 1.13.2 +Provides: crate(%{pkgname}/serde) + +%description -n %{name}+serde +This metapackage enables feature "serde" for the Rust version-ranges crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-virtue-0.0.18/rust-virtue.spec b/SPECS/rust-virtue-0.0.18/rust-virtue.spec new file mode 100644 index 0000000000..c452e057b6 --- /dev/null +++ b/SPECS/rust-virtue-0.0.18/rust-virtue.spec @@ -0,0 +1,42 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name virtue +%global full_version 0.0.18 +%global pkgname virtue-0.0.18 + +Name: rust-virtue-0.0.18 +Version: 0.0.18 +Release: %autorelease +Summary: Rust crate "virtue" +License: MIT +URL: https://github.com/bincode-org/virtue +#!RemoteAsset: sha256:051eb1abcf10076295e815102942cc58f9d5e3b4560e46e53c21e8ff6f3af7b1 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "virtue" + +%package -n %{name}+proc-macro2 +Summary: Sinless derive macro helper - feature "proc-macro2" +Requires: crate(%{pkgname}) +Requires: crate(proc-macro2-1.0/default) >= 1.0.0 +Provides: crate(%{pkgname}/proc-macro2) + +%description -n %{name}+proc-macro2 +This metapackage enables feature "proc-macro2" for the Rust virtue crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-vt100-0.16/rust-vt100.spec b/SPECS/rust-vt100-0.16/rust-vt100.spec new file mode 100644 index 0000000000..4675442052 --- /dev/null +++ b/SPECS/rust-vt100-0.16/rust-vt100.spec @@ -0,0 +1,36 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name vt100 +%global full_version 0.16.2 +%global pkgname vt100-0.16 + +Name: rust-vt100-0.16 +Version: 0.16.2 +Release: %autorelease +Summary: Rust crate "vt100" +License: MIT +URL: https://github.com/doy/vt100-rust +#!RemoteAsset: sha256:054ff75fb8fa83e609e685106df4faeffdf3a735d3c74ebce97ec557d5d36fd9 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(itoa-1.0/default) >= 1.0.15 +Requires: crate(unicode-width-0.2/default) >= 0.2.1 +Requires: crate(vte-0.15/default) >= 0.15.0 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "vt100" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-vte-0.14/rust-vte.spec b/SPECS/rust-vte-0.14/rust-vte.spec new file mode 100644 index 0000000000..482c5ec062 --- /dev/null +++ b/SPECS/rust-vte-0.14/rust-vte.spec @@ -0,0 +1,94 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name vte +%global full_version 0.14.1 +%global pkgname vte-0.14 + +Name: rust-vte-0.14 +Version: 0.14.1 +Release: %autorelease +Summary: Rust crate "vte" +License: Apache-2.0 OR MIT +URL: https://github.com/alacritty/vte +#!RemoteAsset: sha256:231fdcd7ef3037e8330d8e17e61011a2c244126acc0a982f4040ac3f9f0bc077 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(memchr-2.0/default) >= 2.7.4 +Provides: crate(%{pkgname}) + +%description +Source code for takopackized Rust crate "vte" + +%package -n %{name}+ansi +Summary: Parser for implementing terminal emulators - feature "ansi" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/bitflags) +Requires: crate(%{pkgname}/cursor-icon) +Requires: crate(%{pkgname}/log) +Provides: crate(%{pkgname}/ansi) + +%description -n %{name}+ansi +This metapackage enables feature "ansi" for the Rust vte crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+arrayvec +Summary: Parser for implementing terminal emulators - feature "arrayvec" and 2 more +Requires: crate(%{pkgname}) +Requires: crate(arrayvec-0.7) >= 0.7.2 +Provides: crate(%{pkgname}/arrayvec) +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/no-std) + +%description -n %{name}+arrayvec +This metapackage enables feature "arrayvec" for the Rust vte crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "default", and "no_std" features. + +%package -n %{name}+bitflags +Summary: Parser for implementing terminal emulators - feature "bitflags" +Requires: crate(%{pkgname}) +Requires: crate(bitflags-2.0) >= 2.3.3 +Provides: crate(%{pkgname}/bitflags) + +%description -n %{name}+bitflags +This metapackage enables feature "bitflags" for the Rust vte crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+cursor-icon +Summary: Parser for implementing terminal emulators - feature "cursor-icon" +Requires: crate(%{pkgname}) +Requires: crate(cursor-icon-1.0) >= 1.0.0 +Provides: crate(%{pkgname}/cursor-icon) + +%description -n %{name}+cursor-icon +This metapackage enables feature "cursor-icon" for the Rust vte crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+log +Summary: Parser for implementing terminal emulators - feature "log" +Requires: crate(%{pkgname}) +Requires: crate(log-0.4/default) >= 0.4.17 +Provides: crate(%{pkgname}/log) + +%description -n %{name}+log +This metapackage enables feature "log" for the Rust vte crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+serde +Summary: Parser for implementing terminal emulators - feature "serde" +Requires: crate(%{pkgname}) +Requires: crate(serde-1.0/default) >= 1.0.160 +Requires: crate(serde-1.0/derive) >= 1.0.160 +Provides: crate(%{pkgname}/serde) + +%description -n %{name}+serde +This metapackage enables feature "serde" for the Rust vte crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-vte-0.15/rust-vte.spec b/SPECS/rust-vte-0.15/rust-vte.spec new file mode 100644 index 0000000000..10bb2189fa --- /dev/null +++ b/SPECS/rust-vte-0.15/rust-vte.spec @@ -0,0 +1,94 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name vte +%global full_version 0.15.0 +%global pkgname vte-0.15 + +Name: rust-vte-0.15 +Version: 0.15.0 +Release: %autorelease +Summary: Rust crate "vte" +License: Apache-2.0 OR MIT +URL: https://github.com/alacritty/vte +#!RemoteAsset: sha256:a5924018406ce0063cd67f8e008104968b74b563ee1b85dde3ed1f7cb87d3dbd +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(arrayvec-0.7) >= 0.7.2 +Requires: crate(memchr-2.0) >= 2.7.4 +Provides: crate(%{pkgname}) + +%description +Source code for takopackized Rust crate "vte" + +%package -n %{name}+ansi +Summary: Parser for implementing terminal emulators - feature "ansi" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/bitflags) +Requires: crate(%{pkgname}/cursor-icon) +Requires: crate(%{pkgname}/log) +Provides: crate(%{pkgname}/ansi) + +%description -n %{name}+ansi +This metapackage enables feature "ansi" for the Rust vte crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+bitflags +Summary: Parser for implementing terminal emulators - feature "bitflags" +Requires: crate(%{pkgname}) +Requires: crate(bitflags-2.0) >= 2.3.3 +Provides: crate(%{pkgname}/bitflags) + +%description -n %{name}+bitflags +This metapackage enables feature "bitflags" for the Rust vte crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+cursor-icon +Summary: Parser for implementing terminal emulators - feature "cursor-icon" +Requires: crate(%{pkgname}) +Requires: crate(cursor-icon-1.0) >= 1.0.0 +Provides: crate(%{pkgname}/cursor-icon) + +%description -n %{name}+cursor-icon +This metapackage enables feature "cursor-icon" for the Rust vte crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+log +Summary: Parser for implementing terminal emulators - feature "log" +Requires: crate(%{pkgname}) +Requires: crate(log-0.4/default) >= 0.4.17 +Provides: crate(%{pkgname}/log) + +%description -n %{name}+log +This metapackage enables feature "log" for the Rust vte crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+serde +Summary: Parser for implementing terminal emulators - feature "serde" +Requires: crate(%{pkgname}) +Requires: crate(serde-1.0/default) >= 1.0.160 +Requires: crate(serde-1.0/derive) >= 1.0.160 +Provides: crate(%{pkgname}/serde) + +%description -n %{name}+serde +This metapackage enables feature "serde" for the Rust vte crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+std +Summary: Parser for implementing terminal emulators - feature "std" and 1 more +Requires: crate(%{pkgname}) +Requires: crate(memchr-2.0/std) >= 2.7.4 +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/std) + +%description -n %{name}+std +This metapackage enables feature "std" for the Rust vte crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "default" feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-wait-timeout-0.2/rust-wait-timeout.spec b/SPECS/rust-wait-timeout-0.2/rust-wait-timeout.spec new file mode 100644 index 0000000000..d88f8a2de9 --- /dev/null +++ b/SPECS/rust-wait-timeout-0.2/rust-wait-timeout.spec @@ -0,0 +1,34 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name wait-timeout +%global full_version 0.2.1 +%global pkgname wait-timeout-0.2 + +Name: rust-wait-timeout-0.2 +Version: 0.2.1 +Release: %autorelease +Summary: Rust crate "wait-timeout" +License: MIT/Apache-2.0 +URL: https://github.com/alexcrichton/wait-timeout +#!RemoteAsset: sha256:09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(libc-0.2/default) >= 0.2.56 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "wait-timeout" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-wasm-bindgen-test-0.3/rust-wasm-bindgen-test.spec b/SPECS/rust-wasm-bindgen-test-0.3/rust-wasm-bindgen-test.spec new file mode 100644 index 0000000000..dd82f35b4c --- /dev/null +++ b/SPECS/rust-wasm-bindgen-test-0.3/rust-wasm-bindgen-test.spec @@ -0,0 +1,60 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name wasm-bindgen-test +%global full_version 0.3.55 +%global pkgname wasm-bindgen-test-0.3 + +Name: rust-wasm-bindgen-test-0.3 +Version: 0.3.55 +Release: %autorelease +Summary: Rust crate "wasm-bindgen-test" +License: MIT OR Apache-2.0 +URL: https://github.com/wasm-bindgen/wasm-bindgen +#!RemoteAsset: sha256:bfc379bfb624eb59050b509c13e77b4eb53150c350db69628141abce842f2373 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(js-sys-0.3) >= 0.3.82 +Requires: crate(minicov-0.3/default) >= 0.3.0 +Requires: crate(wasm-bindgen-0.2) >= 0.2.105 +Requires: crate(wasm-bindgen-futures-0.4) >= 0.4.55 +Requires: crate(wasm-bindgen-test-macro-0.3/default) >= 0.3.55 +Provides: crate(%{pkgname}) + +%description +Source code for takopackized Rust crate "wasm-bindgen-test" + +%package -n %{name}+gg-alloc +Summary: Internal testing crate for wasm-bindgen - feature "gg-alloc" +Requires: crate(%{pkgname}) +Requires: crate(gg-alloc-1.0/default) >= 1.0.0 +Provides: crate(%{pkgname}/gg-alloc) + +%description -n %{name}+gg-alloc +This metapackage enables feature "gg-alloc" for the Rust wasm-bindgen-test crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+std +Summary: Internal testing crate for wasm-bindgen - feature "std" and 1 more +Requires: crate(%{pkgname}) +Requires: crate(js-sys-0.3/std) >= 0.3.82 +Requires: crate(wasm-bindgen-0.2/std) >= 0.2.105 +Requires: crate(wasm-bindgen-futures-0.4/std) >= 0.4.55 +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/std) + +%description -n %{name}+std +This metapackage enables feature "std" for the Rust wasm-bindgen-test crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "default" feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-wasm-bindgen-test-macro-0.3/rust-wasm-bindgen-test-macro.spec b/SPECS/rust-wasm-bindgen-test-macro-0.3/rust-wasm-bindgen-test-macro.spec new file mode 100644 index 0000000000..52e81f422f --- /dev/null +++ b/SPECS/rust-wasm-bindgen-test-macro-0.3/rust-wasm-bindgen-test-macro.spec @@ -0,0 +1,39 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name wasm-bindgen-test-macro +%global full_version 0.3.55 +%global pkgname wasm-bindgen-test-macro-0.3 + +Name: rust-wasm-bindgen-test-macro-0.3 +Version: 0.3.55 +Release: %autorelease +Summary: Rust crate "wasm-bindgen-test-macro" +License: MIT OR Apache-2.0 +URL: https://github.com/wasm-bindgen/wasm-bindgen +#!RemoteAsset: sha256:085b2df989e1e6f9620c1311df6c996e83fe16f57792b272ce1e024ac16a90f1 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(proc-macro2-1.0/default) >= 1.0.0 +Requires: crate(quote-1.0/default) >= 1.0.0 +Requires: crate(syn-2.0/derive) >= 2.0.0 +Requires: crate(syn-2.0/parsing) >= 2.0.0 +Requires: crate(syn-2.0/printing) >= 2.0.0 +Requires: crate(syn-2.0/proc-macro) >= 2.0.0 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "wasm-bindgen-test-macro" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-web-time-1.0/rust-web-time.spec b/SPECS/rust-web-time-1.0/rust-web-time.spec new file mode 100644 index 0000000000..847eb527fd --- /dev/null +++ b/SPECS/rust-web-time-1.0/rust-web-time.spec @@ -0,0 +1,44 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name web-time +%global full_version 1.1.0 +%global pkgname web-time-1.0 + +Name: rust-web-time-1.0 +Version: 1.1.0 +Release: %autorelease +Summary: Rust crate "web-time" +License: MIT OR Apache-2.0 +URL: https://github.com/daxpedda/web-time +#!RemoteAsset: sha256:5a6580f308b1fad9207618087a65c04e7a10bc77e02c8e84e9b00dd4b12fa0bb +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(js-sys-0.3/default) >= 0.3.20 +Requires: crate(wasm-bindgen-0.2) >= 0.2.70 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "web-time" + +%package -n %{name}+serde +Summary: Drop-in replacement for std::time for Wasm in browsers - feature "serde" +Requires: crate(%{pkgname}) +Requires: crate(serde-1.0/default) >= 1.0.0 +Provides: crate(%{pkgname}/serde) + +%description -n %{name}+serde +This metapackage enables feature "serde" for the Rust web-time crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-which-8.0/rust-which.spec b/SPECS/rust-which-8.0/rust-which.spec new file mode 100644 index 0000000000..cb4f9b706e --- /dev/null +++ b/SPECS/rust-which-8.0/rust-which.spec @@ -0,0 +1,66 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name which +%global full_version 8.0.2 +%global pkgname which-8.0 + +Name: rust-which-8.0 +Version: 8.0.2 +Release: %autorelease +Summary: Rust crate "which" +License: MIT +URL: https://github.com/harryfei/which-rs.git +#!RemoteAsset: sha256:81995fafaaaf6ae47a7d0cc83c67caf92aeb7e5331650ae6ff856f7c0c60c459 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) + +%description +Locate installed executable in cross platforms. +Source code for takopackized Rust crate "which" + +%package -n %{name}+real-sys +Summary: Rust equivalent of Unix command "which" - feature "real-sys" and 1 more +Requires: crate(%{pkgname}) +Requires: crate(libc-0.2/default) >= 0.2.0 +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/real-sys) + +%description -n %{name}+real-sys +Locate installed executable in cross platforms. +This metapackage enables feature "real-sys" for the Rust which crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "default" feature. + +%package -n %{name}+regex +Summary: Rust equivalent of Unix command "which" - feature "regex" +Requires: crate(%{pkgname}) +Requires: crate(regex-1.0/default) >= 1.10.2 +Provides: crate(%{pkgname}/regex) + +%description -n %{name}+regex +Locate installed executable in cross platforms. +This metapackage enables feature "regex" for the Rust which crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+tracing +Summary: Rust equivalent of Unix command "which" - feature "tracing" +Requires: crate(%{pkgname}) +Requires: crate(tracing-0.1) >= 0.1.40 +Provides: crate(%{pkgname}/tracing) + +%description -n %{name}+tracing +Locate installed executable in cross platforms. +This metapackage enables feature "tracing" for the Rust which crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-wild-2.0/rust-wild.spec b/SPECS/rust-wild-2.0/rust-wild.spec new file mode 100644 index 0000000000..15eb482382 --- /dev/null +++ b/SPECS/rust-wild-2.0/rust-wild.spec @@ -0,0 +1,35 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name wild +%global full_version 2.2.1 +%global pkgname wild-2.0 + +Name: rust-wild-2.0 +Version: 2.2.1 +Release: %autorelease +Summary: Rust crate "wild" +License: Apache-2.0 OR MIT +URL: https://lib.rs/crates/wild +#!RemoteAsset: sha256:a3131afc8c575281e1e80f36ed6a092aa502c08b18ed7524e86fbbb12bb410e1 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(glob-0.3/default) >= 0.3.1 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/glob-quoted-on-windows) + +%description +Source code for takopackized Rust crate "wild" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-winapi-0.3/rust-winapi.spec b/SPECS/rust-winapi-0.3/rust-winapi.spec new file mode 100644 index 0000000000..5d06940091 --- /dev/null +++ b/SPECS/rust-winapi-0.3/rust-winapi.spec @@ -0,0 +1,434 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name winapi +%global full_version 0.3.9 +%global pkgname winapi-0.3 + +Name: rust-winapi-0.3 +Version: 0.3.9 +Release: %autorelease +Summary: Rust crate "winapi" +License: MIT/Apache-2.0 +URL: https://github.com/retep998/winapi-rs +#!RemoteAsset: sha256:5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(winapi-i686-pc-windows-gnu-0.4/default) >= 0.4.0 +Requires: crate(winapi-x86-64-pc-windows-gnu-0.4/default) >= 0.4.0 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/accctrl) +Provides: crate(%{pkgname}/aclapi) +Provides: crate(%{pkgname}/activation) +Provides: crate(%{pkgname}/adhoc) +Provides: crate(%{pkgname}/appmgmt) +Provides: crate(%{pkgname}/audioclient) +Provides: crate(%{pkgname}/audiosessiontypes) +Provides: crate(%{pkgname}/avrt) +Provides: crate(%{pkgname}/basetsd) +Provides: crate(%{pkgname}/bcrypt) +Provides: crate(%{pkgname}/bits) +Provides: crate(%{pkgname}/bits10-1) +Provides: crate(%{pkgname}/bits1-5) +Provides: crate(%{pkgname}/bits2-0) +Provides: crate(%{pkgname}/bits2-5) +Provides: crate(%{pkgname}/bits3-0) +Provides: crate(%{pkgname}/bits4-0) +Provides: crate(%{pkgname}/bits5-0) +Provides: crate(%{pkgname}/bitscfg) +Provides: crate(%{pkgname}/bitsmsg) +Provides: crate(%{pkgname}/bluetoothapis) +Provides: crate(%{pkgname}/bluetoothleapis) +Provides: crate(%{pkgname}/bthdef) +Provides: crate(%{pkgname}/bthioctl) +Provides: crate(%{pkgname}/bthledef) +Provides: crate(%{pkgname}/bthsdpdef) +Provides: crate(%{pkgname}/bugcodes) +Provides: crate(%{pkgname}/cderr) +Provides: crate(%{pkgname}/cfg) +Provides: crate(%{pkgname}/cfgmgr32) +Provides: crate(%{pkgname}/cguid) +Provides: crate(%{pkgname}/combaseapi) +Provides: crate(%{pkgname}/coml2api) +Provides: crate(%{pkgname}/commapi) +Provides: crate(%{pkgname}/commctrl) +Provides: crate(%{pkgname}/commdlg) +Provides: crate(%{pkgname}/commoncontrols) +Provides: crate(%{pkgname}/consoleapi) +Provides: crate(%{pkgname}/corecrt) +Provides: crate(%{pkgname}/corsym) +Provides: crate(%{pkgname}/d2d1) +Provides: crate(%{pkgname}/d2d1-1) +Provides: crate(%{pkgname}/d2d1-2) +Provides: crate(%{pkgname}/d2d1-3) +Provides: crate(%{pkgname}/d2d1effectauthor) +Provides: crate(%{pkgname}/d2d1effects) +Provides: crate(%{pkgname}/d2d1effects-1) +Provides: crate(%{pkgname}/d2d1effects-2) +Provides: crate(%{pkgname}/d2d1svg) +Provides: crate(%{pkgname}/d2dbasetypes) +Provides: crate(%{pkgname}/d3d) +Provides: crate(%{pkgname}/d3d10) +Provides: crate(%{pkgname}/d3d10-1) +Provides: crate(%{pkgname}/d3d10-1shader) +Provides: crate(%{pkgname}/d3d10effect) +Provides: crate(%{pkgname}/d3d10misc) +Provides: crate(%{pkgname}/d3d10sdklayers) +Provides: crate(%{pkgname}/d3d10shader) +Provides: crate(%{pkgname}/d3d11) +Provides: crate(%{pkgname}/d3d11-1) +Provides: crate(%{pkgname}/d3d11-2) +Provides: crate(%{pkgname}/d3d11-3) +Provides: crate(%{pkgname}/d3d11-4) +Provides: crate(%{pkgname}/d3d11on12) +Provides: crate(%{pkgname}/d3d11sdklayers) +Provides: crate(%{pkgname}/d3d11shader) +Provides: crate(%{pkgname}/d3d11tokenizedprogramformat) +Provides: crate(%{pkgname}/d3d12) +Provides: crate(%{pkgname}/d3d12sdklayers) +Provides: crate(%{pkgname}/d3d12shader) +Provides: crate(%{pkgname}/d3d9) +Provides: crate(%{pkgname}/d3d9caps) +Provides: crate(%{pkgname}/d3d9types) +Provides: crate(%{pkgname}/d3dcommon) +Provides: crate(%{pkgname}/d3dcompiler) +Provides: crate(%{pkgname}/d3dcsx) +Provides: crate(%{pkgname}/d3dkmdt) +Provides: crate(%{pkgname}/d3dkmthk) +Provides: crate(%{pkgname}/d3dukmdt) +Provides: crate(%{pkgname}/d3dx10core) +Provides: crate(%{pkgname}/d3dx10math) +Provides: crate(%{pkgname}/d3dx10mesh) +Provides: crate(%{pkgname}/datetimeapi) +Provides: crate(%{pkgname}/davclnt) +Provides: crate(%{pkgname}/dbghelp) +Provides: crate(%{pkgname}/dbt) +Provides: crate(%{pkgname}/dcommon) +Provides: crate(%{pkgname}/dcomp) +Provides: crate(%{pkgname}/dcompanimation) +Provides: crate(%{pkgname}/dcomptypes) +Provides: crate(%{pkgname}/dde) +Provides: crate(%{pkgname}/ddraw) +Provides: crate(%{pkgname}/ddrawi) +Provides: crate(%{pkgname}/ddrawint) +Provides: crate(%{pkgname}/debug) +Provides: crate(%{pkgname}/debugapi) +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/devguid) +Provides: crate(%{pkgname}/devicetopology) +Provides: crate(%{pkgname}/devpkey) +Provides: crate(%{pkgname}/devpropdef) +Provides: crate(%{pkgname}/dinput) +Provides: crate(%{pkgname}/dinputd) +Provides: crate(%{pkgname}/dispex) +Provides: crate(%{pkgname}/dmksctl) +Provides: crate(%{pkgname}/dmusicc) +Provides: crate(%{pkgname}/docobj) +Provides: crate(%{pkgname}/documenttarget) +Provides: crate(%{pkgname}/dot1x) +Provides: crate(%{pkgname}/dpa-dsa) +Provides: crate(%{pkgname}/dpapi) +Provides: crate(%{pkgname}/dsgetdc) +Provides: crate(%{pkgname}/dsound) +Provides: crate(%{pkgname}/dsrole) +Provides: crate(%{pkgname}/dvp) +Provides: crate(%{pkgname}/dwmapi) +Provides: crate(%{pkgname}/dwrite) +Provides: crate(%{pkgname}/dwrite-1) +Provides: crate(%{pkgname}/dwrite-2) +Provides: crate(%{pkgname}/dwrite-3) +Provides: crate(%{pkgname}/dxdiag) +Provides: crate(%{pkgname}/dxfile) +Provides: crate(%{pkgname}/dxgi) +Provides: crate(%{pkgname}/dxgi1-2) +Provides: crate(%{pkgname}/dxgi1-3) +Provides: crate(%{pkgname}/dxgi1-4) +Provides: crate(%{pkgname}/dxgi1-5) +Provides: crate(%{pkgname}/dxgi1-6) +Provides: crate(%{pkgname}/dxgidebug) +Provides: crate(%{pkgname}/dxgiformat) +Provides: crate(%{pkgname}/dxgitype) +Provides: crate(%{pkgname}/dxva2api) +Provides: crate(%{pkgname}/dxvahd) +Provides: crate(%{pkgname}/eaptypes) +Provides: crate(%{pkgname}/enclaveapi) +Provides: crate(%{pkgname}/endpointvolume) +Provides: crate(%{pkgname}/errhandlingapi) +Provides: crate(%{pkgname}/everything) +Provides: crate(%{pkgname}/evntcons) +Provides: crate(%{pkgname}/evntprov) +Provides: crate(%{pkgname}/evntrace) +Provides: crate(%{pkgname}/excpt) +Provides: crate(%{pkgname}/exdisp) +Provides: crate(%{pkgname}/fibersapi) +Provides: crate(%{pkgname}/fileapi) +Provides: crate(%{pkgname}/functiondiscoverykeys-devpkey) +Provides: crate(%{pkgname}/gl-gl) +Provides: crate(%{pkgname}/guiddef) +Provides: crate(%{pkgname}/handleapi) +Provides: crate(%{pkgname}/heapapi) +Provides: crate(%{pkgname}/hidclass) +Provides: crate(%{pkgname}/hidpi) +Provides: crate(%{pkgname}/hidsdi) +Provides: crate(%{pkgname}/hidusage) +Provides: crate(%{pkgname}/highlevelmonitorconfigurationapi) +Provides: crate(%{pkgname}/hstring) +Provides: crate(%{pkgname}/http) +Provides: crate(%{pkgname}/ifdef) +Provides: crate(%{pkgname}/ifmib) +Provides: crate(%{pkgname}/imm) +Provides: crate(%{pkgname}/impl-debug) +Provides: crate(%{pkgname}/impl-default) +Provides: crate(%{pkgname}/in6addr) +Provides: crate(%{pkgname}/inaddr) +Provides: crate(%{pkgname}/inspectable) +Provides: crate(%{pkgname}/interlockedapi) +Provides: crate(%{pkgname}/intsafe) +Provides: crate(%{pkgname}/ioapiset) +Provides: crate(%{pkgname}/ipexport) +Provides: crate(%{pkgname}/iphlpapi) +Provides: crate(%{pkgname}/ipifcons) +Provides: crate(%{pkgname}/ipmib) +Provides: crate(%{pkgname}/iprtrmib) +Provides: crate(%{pkgname}/iptypes) +Provides: crate(%{pkgname}/jobapi) +Provides: crate(%{pkgname}/jobapi2) +Provides: crate(%{pkgname}/knownfolders) +Provides: crate(%{pkgname}/ks) +Provides: crate(%{pkgname}/ksmedia) +Provides: crate(%{pkgname}/ktmtypes) +Provides: crate(%{pkgname}/ktmw32) +Provides: crate(%{pkgname}/l2cmn) +Provides: crate(%{pkgname}/libloaderapi) +Provides: crate(%{pkgname}/limits) +Provides: crate(%{pkgname}/lmaccess) +Provides: crate(%{pkgname}/lmalert) +Provides: crate(%{pkgname}/lmapibuf) +Provides: crate(%{pkgname}/lmat) +Provides: crate(%{pkgname}/lmcons) +Provides: crate(%{pkgname}/lmdfs) +Provides: crate(%{pkgname}/lmerrlog) +Provides: crate(%{pkgname}/lmjoin) +Provides: crate(%{pkgname}/lmmsg) +Provides: crate(%{pkgname}/lmremutl) +Provides: crate(%{pkgname}/lmrepl) +Provides: crate(%{pkgname}/lmserver) +Provides: crate(%{pkgname}/lmshare) +Provides: crate(%{pkgname}/lmstats) +Provides: crate(%{pkgname}/lmsvc) +Provides: crate(%{pkgname}/lmuse) +Provides: crate(%{pkgname}/lmwksta) +Provides: crate(%{pkgname}/lowlevelmonitorconfigurationapi) +Provides: crate(%{pkgname}/lsalookup) +Provides: crate(%{pkgname}/memoryapi) +Provides: crate(%{pkgname}/minschannel) +Provides: crate(%{pkgname}/minwinbase) +Provides: crate(%{pkgname}/minwindef) +Provides: crate(%{pkgname}/mmdeviceapi) +Provides: crate(%{pkgname}/mmeapi) +Provides: crate(%{pkgname}/mmreg) +Provides: crate(%{pkgname}/mmsystem) +Provides: crate(%{pkgname}/mprapidef) +Provides: crate(%{pkgname}/msaatext) +Provides: crate(%{pkgname}/mscat) +Provides: crate(%{pkgname}/mschapp) +Provides: crate(%{pkgname}/mssip) +Provides: crate(%{pkgname}/mstcpip) +Provides: crate(%{pkgname}/mswsock) +Provides: crate(%{pkgname}/mswsockdef) +Provides: crate(%{pkgname}/namedpipeapi) +Provides: crate(%{pkgname}/namespaceapi) +Provides: crate(%{pkgname}/nb30) +Provides: crate(%{pkgname}/ncrypt) +Provides: crate(%{pkgname}/netioapi) +Provides: crate(%{pkgname}/nldef) +Provides: crate(%{pkgname}/ntddndis) +Provides: crate(%{pkgname}/ntddscsi) +Provides: crate(%{pkgname}/ntddser) +Provides: crate(%{pkgname}/ntdef) +Provides: crate(%{pkgname}/ntlsa) +Provides: crate(%{pkgname}/ntsecapi) +Provides: crate(%{pkgname}/ntstatus) +Provides: crate(%{pkgname}/oaidl) +Provides: crate(%{pkgname}/objbase) +Provides: crate(%{pkgname}/objidl) +Provides: crate(%{pkgname}/objidlbase) +Provides: crate(%{pkgname}/ocidl) +Provides: crate(%{pkgname}/ole2) +Provides: crate(%{pkgname}/oleauto) +Provides: crate(%{pkgname}/olectl) +Provides: crate(%{pkgname}/oleidl) +Provides: crate(%{pkgname}/opmapi) +Provides: crate(%{pkgname}/pdh) +Provides: crate(%{pkgname}/perflib) +Provides: crate(%{pkgname}/physicalmonitorenumerationapi) +Provides: crate(%{pkgname}/playsoundapi) +Provides: crate(%{pkgname}/portabledevice) +Provides: crate(%{pkgname}/portabledeviceapi) +Provides: crate(%{pkgname}/portabledevicetypes) +Provides: crate(%{pkgname}/powerbase) +Provides: crate(%{pkgname}/powersetting) +Provides: crate(%{pkgname}/powrprof) +Provides: crate(%{pkgname}/processenv) +Provides: crate(%{pkgname}/processsnapshot) +Provides: crate(%{pkgname}/processthreadsapi) +Provides: crate(%{pkgname}/processtopologyapi) +Provides: crate(%{pkgname}/profileapi) +Provides: crate(%{pkgname}/propidl) +Provides: crate(%{pkgname}/propkey) +Provides: crate(%{pkgname}/propkeydef) +Provides: crate(%{pkgname}/propsys) +Provides: crate(%{pkgname}/prsht) +Provides: crate(%{pkgname}/psapi) +Provides: crate(%{pkgname}/qos) +Provides: crate(%{pkgname}/realtimeapiset) +Provides: crate(%{pkgname}/reason) +Provides: crate(%{pkgname}/restartmanager) +Provides: crate(%{pkgname}/restrictederrorinfo) +Provides: crate(%{pkgname}/rmxfguid) +Provides: crate(%{pkgname}/roapi) +Provides: crate(%{pkgname}/robuffer) +Provides: crate(%{pkgname}/roerrorapi) +Provides: crate(%{pkgname}/rpc) +Provides: crate(%{pkgname}/rpcdce) +Provides: crate(%{pkgname}/rpcndr) +Provides: crate(%{pkgname}/rtinfo) +Provides: crate(%{pkgname}/sapi) +Provides: crate(%{pkgname}/sapi51) +Provides: crate(%{pkgname}/sapi53) +Provides: crate(%{pkgname}/sapiddk) +Provides: crate(%{pkgname}/sapiddk51) +Provides: crate(%{pkgname}/schannel) +Provides: crate(%{pkgname}/sddl) +Provides: crate(%{pkgname}/securityappcontainer) +Provides: crate(%{pkgname}/securitybaseapi) +Provides: crate(%{pkgname}/servprov) +Provides: crate(%{pkgname}/setupapi) +Provides: crate(%{pkgname}/shellapi) +Provides: crate(%{pkgname}/shellscalingapi) +Provides: crate(%{pkgname}/shlobj) +Provides: crate(%{pkgname}/shobjidl) +Provides: crate(%{pkgname}/shobjidl-core) +Provides: crate(%{pkgname}/shtypes) +Provides: crate(%{pkgname}/softpub) +Provides: crate(%{pkgname}/spapidef) +Provides: crate(%{pkgname}/spellcheck) +Provides: crate(%{pkgname}/sporder) +Provides: crate(%{pkgname}/sql) +Provides: crate(%{pkgname}/sqlext) +Provides: crate(%{pkgname}/sqltypes) +Provides: crate(%{pkgname}/sqlucode) +Provides: crate(%{pkgname}/sspi) +Provides: crate(%{pkgname}/std) +Provides: crate(%{pkgname}/stralign) +Provides: crate(%{pkgname}/stringapiset) +Provides: crate(%{pkgname}/strmif) +Provides: crate(%{pkgname}/subauth) +Provides: crate(%{pkgname}/synchapi) +Provides: crate(%{pkgname}/sysinfoapi) +Provides: crate(%{pkgname}/systemtopologyapi) +Provides: crate(%{pkgname}/taskschd) +Provides: crate(%{pkgname}/tcpestats) +Provides: crate(%{pkgname}/tcpmib) +Provides: crate(%{pkgname}/textstor) +Provides: crate(%{pkgname}/threadpoolapiset) +Provides: crate(%{pkgname}/threadpoollegacyapiset) +Provides: crate(%{pkgname}/timeapi) +Provides: crate(%{pkgname}/timezoneapi) +Provides: crate(%{pkgname}/tlhelp32) +Provides: crate(%{pkgname}/transportsettingcommon) +Provides: crate(%{pkgname}/tvout) +Provides: crate(%{pkgname}/udpmib) +Provides: crate(%{pkgname}/unknwnbase) +Provides: crate(%{pkgname}/urlhist) +Provides: crate(%{pkgname}/urlmon) +Provides: crate(%{pkgname}/usb) +Provides: crate(%{pkgname}/usbioctl) +Provides: crate(%{pkgname}/usbiodef) +Provides: crate(%{pkgname}/usbscan) +Provides: crate(%{pkgname}/usbspec) +Provides: crate(%{pkgname}/userenv) +Provides: crate(%{pkgname}/usp10) +Provides: crate(%{pkgname}/utilapiset) +Provides: crate(%{pkgname}/uxtheme) +Provides: crate(%{pkgname}/vadefs) +Provides: crate(%{pkgname}/vcruntime) +Provides: crate(%{pkgname}/vsbackup) +Provides: crate(%{pkgname}/vss) +Provides: crate(%{pkgname}/vsserror) +Provides: crate(%{pkgname}/vswriter) +Provides: crate(%{pkgname}/wbemads) +Provides: crate(%{pkgname}/wbemcli) +Provides: crate(%{pkgname}/wbemdisp) +Provides: crate(%{pkgname}/wbemprov) +Provides: crate(%{pkgname}/wbemtran) +Provides: crate(%{pkgname}/wct) +Provides: crate(%{pkgname}/werapi) +Provides: crate(%{pkgname}/winbase) +Provides: crate(%{pkgname}/wincodec) +Provides: crate(%{pkgname}/wincodecsdk) +Provides: crate(%{pkgname}/wincon) +Provides: crate(%{pkgname}/wincontypes) +Provides: crate(%{pkgname}/wincred) +Provides: crate(%{pkgname}/wincrypt) +Provides: crate(%{pkgname}/windef) +Provides: crate(%{pkgname}/windot11) +Provides: crate(%{pkgname}/windowsceip) +Provides: crate(%{pkgname}/windowsx) +Provides: crate(%{pkgname}/winefs) +Provides: crate(%{pkgname}/winerror) +Provides: crate(%{pkgname}/winevt) +Provides: crate(%{pkgname}/wingdi) +Provides: crate(%{pkgname}/winhttp) +Provides: crate(%{pkgname}/wininet) +Provides: crate(%{pkgname}/winineti) +Provides: crate(%{pkgname}/winioctl) +Provides: crate(%{pkgname}/winnetwk) +Provides: crate(%{pkgname}/winnls) +Provides: crate(%{pkgname}/winnt) +Provides: crate(%{pkgname}/winreg) +Provides: crate(%{pkgname}/winsafer) +Provides: crate(%{pkgname}/winscard) +Provides: crate(%{pkgname}/winsmcrd) +Provides: crate(%{pkgname}/winsock2) +Provides: crate(%{pkgname}/winspool) +Provides: crate(%{pkgname}/winstring) +Provides: crate(%{pkgname}/winsvc) +Provides: crate(%{pkgname}/wintrust) +Provides: crate(%{pkgname}/winusb) +Provides: crate(%{pkgname}/winusbio) +Provides: crate(%{pkgname}/winuser) +Provides: crate(%{pkgname}/winver) +Provides: crate(%{pkgname}/wlanapi) +Provides: crate(%{pkgname}/wlanihv) +Provides: crate(%{pkgname}/wlanihvtypes) +Provides: crate(%{pkgname}/wlantypes) +Provides: crate(%{pkgname}/wlclient) +Provides: crate(%{pkgname}/wmistr) +Provides: crate(%{pkgname}/wnnc) +Provides: crate(%{pkgname}/wow64apiset) +Provides: crate(%{pkgname}/wpdmtpextensions) +Provides: crate(%{pkgname}/ws2bth) +Provides: crate(%{pkgname}/ws2def) +Provides: crate(%{pkgname}/ws2ipdef) +Provides: crate(%{pkgname}/ws2spi) +Provides: crate(%{pkgname}/ws2tcpip) +Provides: crate(%{pkgname}/wtsapi32) +Provides: crate(%{pkgname}/wtypes) +Provides: crate(%{pkgname}/wtypesbase) +Provides: crate(%{pkgname}/xinput) + +%description +Source code for takopackized Rust crate "winapi" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-winapi-i686-pc-windows-gnu-0.4/rust-winapi-i686-pc-windows-gnu.spec b/SPECS/rust-winapi-i686-pc-windows-gnu-0.4/rust-winapi-i686-pc-windows-gnu.spec new file mode 100644 index 0000000000..71512db0ea --- /dev/null +++ b/SPECS/rust-winapi-i686-pc-windows-gnu-0.4/rust-winapi-i686-pc-windows-gnu.spec @@ -0,0 +1,34 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name winapi-i686-pc-windows-gnu +%global full_version 0.4.0 +%global pkgname winapi-i686-pc-windows-gnu-0.4 + +Name: rust-winapi-i686-pc-windows-gnu-0.4 +Version: 0.4.0 +Release: %autorelease +Summary: Rust crate "winapi-i686-pc-windows-gnu" +License: MIT/Apache-2.0 +URL: https://github.com/retep998/winapi-rs +#!RemoteAsset: sha256:ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Please don't use this crate directly, depend on winapi instead. +Source code for takopackized Rust crate "winapi-i686-pc-windows-gnu" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-winapi-x86-64-pc-windows-gnu-0.4/rust-winapi-x86-64-pc-windows-gnu.spec b/SPECS/rust-winapi-x86-64-pc-windows-gnu-0.4/rust-winapi-x86-64-pc-windows-gnu.spec new file mode 100644 index 0000000000..c3baa9d85f --- /dev/null +++ b/SPECS/rust-winapi-x86-64-pc-windows-gnu-0.4/rust-winapi-x86-64-pc-windows-gnu.spec @@ -0,0 +1,34 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name winapi-x86_64-pc-windows-gnu +%global full_version 0.4.0 +%global pkgname winapi-x86-64-pc-windows-gnu-0.4 + +Name: rust-winapi-x86-64-pc-windows-gnu-0.4 +Version: 0.4.0 +Release: %autorelease +Summary: Rust crate "winapi-x86_64-pc-windows-gnu" +License: MIT/Apache-2.0 +URL: https://github.com/retep998/winapi-rs +#!RemoteAsset: sha256:712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Please don't use this crate directly, depend on winapi instead. +Source code for takopackized Rust crate "winapi-x86_64-pc-windows-gnu" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-windows-core-0.62/rust-windows-core.spec b/SPECS/rust-windows-core-0.62/rust-windows-core.spec new file mode 100644 index 0000000000..d3dece25f0 --- /dev/null +++ b/SPECS/rust-windows-core-0.62/rust-windows-core.spec @@ -0,0 +1,50 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name windows-core +%global full_version 0.62.0 +%global pkgname windows-core-0.62 + +Name: rust-windows-core-0.62 +Version: 0.62.0 +Release: %autorelease +Summary: Rust crate "windows-core" +License: MIT OR Apache-2.0 +URL: https://github.com/microsoft/windows-rs +#!RemoteAsset: sha256:57fe7168f7de578d2d8a05b07fd61870d2e73b4020e9f49aa00da8471723497c +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(windows-implement-0.60) >= 0.60.0 +Requires: crate(windows-interface-0.59) >= 0.59.1 +Requires: crate(windows-link-0.2) >= 0.2.0 +Requires: crate(windows-result-0.4) >= 0.4.0 +Requires: crate(windows-strings-0.5) >= 0.5.0 +Provides: crate(%{pkgname}) + +%description +Source code for takopackized Rust crate "windows-core" + +%package -n %{name}+std +Summary: Core type support for COM and Windows - feature "std" and 1 more +Requires: crate(%{pkgname}) +Requires: crate(windows-result-0.4/std) >= 0.4.0 +Requires: crate(windows-strings-0.5/std) >= 0.5.0 +Provides: crate(%{pkgname}/default) +Provides: crate(%{pkgname}/std) + +%description -n %{name}+std +This metapackage enables feature "std" for the Rust windows-core crate, by pulling in any additional dependencies needed by that feature. + +Additionally, this package also provides the "default" feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-windows-implement-0.60/rust-windows-implement.spec b/SPECS/rust-windows-implement-0.60/rust-windows-implement.spec new file mode 100644 index 0000000000..99a90d38e2 --- /dev/null +++ b/SPECS/rust-windows-implement-0.60/rust-windows-implement.spec @@ -0,0 +1,40 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name windows-implement +%global full_version 0.60.0 +%global pkgname windows-implement-0.60 + +Name: rust-windows-implement-0.60 +Version: 0.60.0 +Release: %autorelease +Summary: Rust crate "windows-implement" +License: MIT OR Apache-2.0 +URL: https://github.com/microsoft/windows-rs +#!RemoteAsset: sha256:a47fddd13af08290e67f4acabf4b459f647552718f683a7b415d290ac744a836 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(proc-macro2-1.0) >= 1.0.0 +Requires: crate(quote-1.0) >= 1.0.0 +Requires: crate(syn-2.0/clone-impls) >= 2.0.0 +Requires: crate(syn-2.0/full) >= 2.0.0 +Requires: crate(syn-2.0/parsing) >= 2.0.0 +Requires: crate(syn-2.0/printing) >= 2.0.0 +Requires: crate(syn-2.0/proc-macro) >= 2.0.0 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "windows-implement" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-windows-interface-0.59/rust-windows-interface.spec b/SPECS/rust-windows-interface-0.59/rust-windows-interface.spec new file mode 100644 index 0000000000..dab787f9b5 --- /dev/null +++ b/SPECS/rust-windows-interface-0.59/rust-windows-interface.spec @@ -0,0 +1,40 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name windows-interface +%global full_version 0.59.1 +%global pkgname windows-interface-0.59 + +Name: rust-windows-interface-0.59 +Version: 0.59.1 +Release: %autorelease +Summary: Rust crate "windows-interface" +License: MIT OR Apache-2.0 +URL: https://github.com/microsoft/windows-rs +#!RemoteAsset: sha256:bd9211b69f8dcdfa817bfd14bf1c97c9188afa36f4750130fcdf3f400eca9fa8 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(proc-macro2-1.0) >= 1.0.0 +Requires: crate(quote-1.0) >= 1.0.0 +Requires: crate(syn-2.0/clone-impls) >= 2.0.0 +Requires: crate(syn-2.0/full) >= 2.0.0 +Requires: crate(syn-2.0/parsing) >= 2.0.0 +Requires: crate(syn-2.0/printing) >= 2.0.0 +Requires: crate(syn-2.0/proc-macro) >= 2.0.0 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "windows-interface" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-windows-link-0.1/rust-windows-link.spec b/SPECS/rust-windows-link-0.1/rust-windows-link.spec new file mode 100644 index 0000000000..191591a560 --- /dev/null +++ b/SPECS/rust-windows-link-0.1/rust-windows-link.spec @@ -0,0 +1,33 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name windows-link +%global full_version 0.1.3 +%global pkgname windows-link-0.1 + +Name: rust-windows-link-0.1 +Version: 0.1.3 +Release: %autorelease +Summary: Rust crate "windows-link" +License: MIT OR Apache-2.0 +URL: https://github.com/microsoft/windows-rs +#!RemoteAsset: sha256:5e6ad25900d524eaabdbbb96d20b4311e1e7ae1699af4fb28c17ae66c80d798a +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/default) + +%description +Source code for takopackized Rust crate "windows-link" + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-zip-0.6/rust-zip.spec b/SPECS/rust-zip-0.6/rust-zip.spec new file mode 100644 index 0000000000..90af09ea20 --- /dev/null +++ b/SPECS/rust-zip-0.6/rust-zip.spec @@ -0,0 +1,171 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name zip +%global full_version 0.6.6 +%global pkgname zip-0.6 + +Name: rust-zip-0.6 +Version: 0.6.6 +Release: %autorelease +Summary: Rust crate "zip" +License: MIT +URL: https://github.com/zip-rs/zip.git +#!RemoteAsset: sha256:760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(byteorder-1.0/default) >= 1.4.3 +Requires: crate(crc32fast-1.0/default) >= 1.3.2 +Requires: crate(crossbeam-utils-0.8/default) >= 0.8.8 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/unreserved) + +%description +Source code for takopackized Rust crate "zip" + +%package -n %{name}+aes +Summary: Support the reading and writing of zip files - feature "aes" +Requires: crate(%{pkgname}) +Requires: crate(aes-0.8/default) >= 0.8.2 +Provides: crate(%{pkgname}/aes) + +%description -n %{name}+aes +This metapackage enables feature "aes" for the Rust zip crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+aes-crypto +Summary: Support the reading and writing of zip files - feature "aes-crypto" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/aes) +Requires: crate(%{pkgname}/constant-time-eq) +Requires: crate(%{pkgname}/hmac) +Requires: crate(%{pkgname}/pbkdf2) +Requires: crate(%{pkgname}/sha1) +Provides: crate(%{pkgname}/aes-crypto) + +%description -n %{name}+aes-crypto +This metapackage enables feature "aes-crypto" for the Rust zip crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+bzip2 +Summary: Support the reading and writing of zip files - feature "bzip2" +Requires: crate(%{pkgname}) +Requires: crate(bzip2-0.4/default) >= 0.4.3 +Provides: crate(%{pkgname}/bzip2) + +%description -n %{name}+bzip2 +This metapackage enables feature "bzip2" for the Rust zip crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+constant-time-eq +Summary: Support the reading and writing of zip files - feature "constant_time_eq" +Requires: crate(%{pkgname}) +Requires: crate(constant-time-eq-0.1/default) >= 0.1.5 +Provides: crate(%{pkgname}/constant-time-eq) + +%description -n %{name}+constant-time-eq +This metapackage enables feature "constant_time_eq" for the Rust zip crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+default +Summary: Support the reading and writing of zip files - feature "default" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/aes-crypto) +Requires: crate(%{pkgname}/bzip2) +Requires: crate(%{pkgname}/deflate) +Requires: crate(%{pkgname}/time) +Requires: crate(%{pkgname}/zstd) +Provides: crate(%{pkgname}/default) + +%description -n %{name}+default +This metapackage enables feature "default" for the Rust zip crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+deflate +Summary: Support the reading and writing of zip files - feature "deflate" +Requires: crate(%{pkgname}) +Requires: crate(flate2-1.0/rust-backend) >= 1.0.23 +Provides: crate(%{pkgname}/deflate) + +%description -n %{name}+deflate +This metapackage enables feature "deflate" for the Rust zip crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+deflate-miniz +Summary: Support the reading and writing of zip files - feature "deflate-miniz" +Requires: crate(%{pkgname}) +Requires: crate(flate2-1.0/default) >= 1.0.23 +Provides: crate(%{pkgname}/deflate-miniz) + +%description -n %{name}+deflate-miniz +This metapackage enables feature "deflate-miniz" for the Rust zip crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+deflate-zlib +Summary: Support the reading and writing of zip files - feature "deflate-zlib" +Requires: crate(%{pkgname}) +Requires: crate(flate2-1.0/zlib) >= 1.0.23 +Provides: crate(%{pkgname}/deflate-zlib) + +%description -n %{name}+deflate-zlib +This metapackage enables feature "deflate-zlib" for the Rust zip crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+flate2 +Summary: Support the reading and writing of zip files - feature "flate2" +Requires: crate(%{pkgname}) +Requires: crate(flate2-1.0) >= 1.0.23 +Provides: crate(%{pkgname}/flate2) + +%description -n %{name}+flate2 +This metapackage enables feature "flate2" for the Rust zip crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+hmac +Summary: Support the reading and writing of zip files - feature "hmac" +Requires: crate(%{pkgname}) +Requires: crate(hmac-0.12/default) >= 0.12.1 +Requires: crate(hmac-0.12/reset) >= 0.12.1 +Provides: crate(%{pkgname}/hmac) + +%description -n %{name}+hmac +This metapackage enables feature "hmac" for the Rust zip crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+pbkdf2 +Summary: Support the reading and writing of zip files - feature "pbkdf2" +Requires: crate(%{pkgname}) +Requires: crate(pbkdf2-0.11/default) >= 0.11.0 +Provides: crate(%{pkgname}/pbkdf2) + +%description -n %{name}+pbkdf2 +This metapackage enables feature "pbkdf2" for the Rust zip crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+sha1 +Summary: Support the reading and writing of zip files - feature "sha1" +Requires: crate(%{pkgname}) +Requires: crate(sha1-0.10/default) >= 0.10.1 +Provides: crate(%{pkgname}/sha1) + +%description -n %{name}+sha1 +This metapackage enables feature "sha1" for the Rust zip crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+time +Summary: Support the reading and writing of zip files - feature "time" +Requires: crate(%{pkgname}) +Requires: crate(time-0.3/std) >= 0.3.7 +Provides: crate(%{pkgname}/time) + +%description -n %{name}+time +This metapackage enables feature "time" for the Rust zip crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+zstd +Summary: Support the reading and writing of zip files - feature "zstd" +Requires: crate(%{pkgname}) +Requires: crate(zstd-0.11/default) >= 0.11.2 +Provides: crate(%{pkgname}/zstd) + +%description -n %{name}+zstd +This metapackage enables feature "zstd" for the Rust zip crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-zstd-0.11/rust-zstd.spec b/SPECS/rust-zstd-0.11/rust-zstd.spec new file mode 100644 index 0000000000..9653ba39ad --- /dev/null +++ b/SPECS/rust-zstd-0.11/rust-zstd.spec @@ -0,0 +1,146 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name zstd +%global full_version 0.11.2+zstd.1.5.2 +%global pkgname zstd-0.11 + +Name: rust-zstd-0.11 +Version: 0.11.2 +Release: %autorelease +Summary: Rust crate "zstd" +License: MIT +URL: https://github.com/gyscos/zstd-rs +#!RemoteAsset: sha256:20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(zstd-safe-5.0/std) >= 5.0.1 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/doc-cfg) +Provides: crate(%{pkgname}/wasm) + +%description +Source code for takopackized Rust crate "zstd" + +%package -n %{name}+arrays +Summary: Binding for the zstd compression library - feature "arrays" +Requires: crate(%{pkgname}) +Requires: crate(zstd-safe-5.0/arrays) >= 5.0.1 +Requires: crate(zstd-safe-5.0/std) >= 5.0.1 +Provides: crate(%{pkgname}/arrays) + +%description -n %{name}+arrays +This metapackage enables feature "arrays" for the Rust zstd crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+bindgen +Summary: Binding for the zstd compression library - feature "bindgen" +Requires: crate(%{pkgname}) +Requires: crate(zstd-safe-5.0/bindgen) >= 5.0.1 +Requires: crate(zstd-safe-5.0/std) >= 5.0.1 +Provides: crate(%{pkgname}/bindgen) + +%description -n %{name}+bindgen +This metapackage enables feature "bindgen" for the Rust zstd crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+debug +Summary: Binding for the zstd compression library - feature "debug" +Requires: crate(%{pkgname}) +Requires: crate(zstd-safe-5.0/debug) >= 5.0.1 +Requires: crate(zstd-safe-5.0/std) >= 5.0.1 +Provides: crate(%{pkgname}/debug) + +%description -n %{name}+debug +This metapackage enables feature "debug" for the Rust zstd crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+default +Summary: Binding for the zstd compression library - feature "default" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/arrays) +Requires: crate(%{pkgname}/legacy) +Requires: crate(%{pkgname}/zdict-builder) +Provides: crate(%{pkgname}/default) + +%description -n %{name}+default +This metapackage enables feature "default" for the Rust zstd crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+experimental +Summary: Binding for the zstd compression library - feature "experimental" +Requires: crate(%{pkgname}) +Requires: crate(zstd-safe-5.0/experimental) >= 5.0.1 +Requires: crate(zstd-safe-5.0/std) >= 5.0.1 +Provides: crate(%{pkgname}/experimental) + +%description -n %{name}+experimental +This metapackage enables feature "experimental" for the Rust zstd crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+legacy +Summary: Binding for the zstd compression library - feature "legacy" +Requires: crate(%{pkgname}) +Requires: crate(zstd-safe-5.0/legacy) >= 5.0.1 +Requires: crate(zstd-safe-5.0/std) >= 5.0.1 +Provides: crate(%{pkgname}/legacy) + +%description -n %{name}+legacy +This metapackage enables feature "legacy" for the Rust zstd crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+no-asm +Summary: Binding for the zstd compression library - feature "no_asm" +Requires: crate(%{pkgname}) +Requires: crate(zstd-safe-5.0/no-asm) >= 5.0.1 +Requires: crate(zstd-safe-5.0/std) >= 5.0.1 +Provides: crate(%{pkgname}/no-asm) + +%description -n %{name}+no-asm +This metapackage enables feature "no_asm" for the Rust zstd crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+pkg-config +Summary: Binding for the zstd compression library - feature "pkg-config" +Requires: crate(%{pkgname}) +Requires: crate(zstd-safe-5.0/pkg-config) >= 5.0.1 +Requires: crate(zstd-safe-5.0/std) >= 5.0.1 +Provides: crate(%{pkgname}/pkg-config) + +%description -n %{name}+pkg-config +This metapackage enables feature "pkg-config" for the Rust zstd crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+thin +Summary: Binding for the zstd compression library - feature "thin" +Requires: crate(%{pkgname}) +Requires: crate(zstd-safe-5.0/std) >= 5.0.1 +Requires: crate(zstd-safe-5.0/thin) >= 5.0.1 +Provides: crate(%{pkgname}/thin) + +%description -n %{name}+thin +This metapackage enables feature "thin" for the Rust zstd crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+zdict-builder +Summary: Binding for the zstd compression library - feature "zdict_builder" +Requires: crate(%{pkgname}) +Requires: crate(zstd-safe-5.0/std) >= 5.0.1 +Requires: crate(zstd-safe-5.0/zdict-builder) >= 5.0.1 +Provides: crate(%{pkgname}/zdict-builder) + +%description -n %{name}+zdict-builder +This metapackage enables feature "zdict_builder" for the Rust zstd crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+zstdmt +Summary: Binding for the zstd compression library - feature "zstdmt" +Requires: crate(%{pkgname}) +Requires: crate(zstd-safe-5.0/std) >= 5.0.1 +Requires: crate(zstd-safe-5.0/zstdmt) >= 5.0.1 +Provides: crate(%{pkgname}/zstdmt) + +%description -n %{name}+zstdmt +This metapackage enables feature "zstdmt" for the Rust zstd crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-zstd-safe-5.0/rust-zstd-safe.spec b/SPECS/rust-zstd-safe-5.0/rust-zstd-safe.spec new file mode 100644 index 0000000000..fadcf6e784 --- /dev/null +++ b/SPECS/rust-zstd-safe-5.0/rust-zstd-safe.spec @@ -0,0 +1,137 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name zstd-safe +%global full_version 5.0.2+zstd.1.5.2 +%global pkgname zstd-safe-5.0 + +Name: rust-zstd-safe-5.0 +Version: 5.0.2 +Release: %autorelease +Summary: Rust crate "zstd-safe" +License: MIT/Apache-2.0 +URL: https://github.com/gyscos/zstd-rs +#!RemoteAsset: sha256:1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(libc-0.2/default) >= 0.2.21 +Requires: crate(zstd-sys-2.0) >= 2.0.1 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/arrays) +Provides: crate(%{pkgname}/doc-cfg) + +%description +Source code for takopackized Rust crate "zstd-safe" + +%package -n %{name}+bindgen +Summary: Safe low-level bindings for the zstd compression library - feature "bindgen" +Requires: crate(%{pkgname}) +Requires: crate(zstd-sys-2.0/bindgen) >= 2.0.1 +Provides: crate(%{pkgname}/bindgen) + +%description -n %{name}+bindgen +This metapackage enables feature "bindgen" for the Rust zstd-safe crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+debug +Summary: Safe low-level bindings for the zstd compression library - feature "debug" +Requires: crate(%{pkgname}) +Requires: crate(zstd-sys-2.0/debug) >= 2.0.1 +Provides: crate(%{pkgname}/debug) + +%description -n %{name}+debug +This metapackage enables feature "debug" for the Rust zstd-safe crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+default +Summary: Safe low-level bindings for the zstd compression library - feature "default" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/arrays) +Requires: crate(%{pkgname}/legacy) +Requires: crate(%{pkgname}/zdict-builder) +Provides: crate(%{pkgname}/default) + +%description -n %{name}+default +This metapackage enables feature "default" for the Rust zstd-safe crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+experimental +Summary: Safe low-level bindings for the zstd compression library - feature "experimental" +Requires: crate(%{pkgname}) +Requires: crate(zstd-sys-2.0/experimental) >= 2.0.1 +Provides: crate(%{pkgname}/experimental) + +%description -n %{name}+experimental +This metapackage enables feature "experimental" for the Rust zstd-safe crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+legacy +Summary: Safe low-level bindings for the zstd compression library - feature "legacy" +Requires: crate(%{pkgname}) +Requires: crate(zstd-sys-2.0/legacy) >= 2.0.1 +Provides: crate(%{pkgname}/legacy) + +%description -n %{name}+legacy +This metapackage enables feature "legacy" for the Rust zstd-safe crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+no-asm +Summary: Safe low-level bindings for the zstd compression library - feature "no_asm" +Requires: crate(%{pkgname}) +Requires: crate(zstd-sys-2.0/no-asm) >= 2.0.1 +Provides: crate(%{pkgname}/no-asm) + +%description -n %{name}+no-asm +This metapackage enables feature "no_asm" for the Rust zstd-safe crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+pkg-config +Summary: Safe low-level bindings for the zstd compression library - feature "pkg-config" +Requires: crate(%{pkgname}) +Requires: crate(zstd-sys-2.0/pkg-config) >= 2.0.1 +Provides: crate(%{pkgname}/pkg-config) + +%description -n %{name}+pkg-config +This metapackage enables feature "pkg-config" for the Rust zstd-safe crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+std +Summary: Safe low-level bindings for the zstd compression library - feature "std" +Requires: crate(%{pkgname}) +Requires: crate(zstd-sys-2.0/std) >= 2.0.1 +Provides: crate(%{pkgname}/std) + +%description -n %{name}+std +This metapackage enables feature "std" for the Rust zstd-safe crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+thin +Summary: Safe low-level bindings for the zstd compression library - feature "thin" +Requires: crate(%{pkgname}) +Requires: crate(zstd-sys-2.0/thin) >= 2.0.1 +Provides: crate(%{pkgname}/thin) + +%description -n %{name}+thin +This metapackage enables feature "thin" for the Rust zstd-safe crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+zdict-builder +Summary: Safe low-level bindings for the zstd compression library - feature "zdict_builder" +Requires: crate(%{pkgname}) +Requires: crate(zstd-sys-2.0/zdict-builder) >= 2.0.1 +Provides: crate(%{pkgname}/zdict-builder) + +%description -n %{name}+zdict-builder +This metapackage enables feature "zdict_builder" for the Rust zstd-safe crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+zstdmt +Summary: Safe low-level bindings for the zstd compression library - feature "zstdmt" +Requires: crate(%{pkgname}) +Requires: crate(zstd-sys-2.0/zstdmt) >= 2.0.1 +Provides: crate(%{pkgname}/zstdmt) + +%description -n %{name}+zstdmt +This metapackage enables feature "zstdmt" for the Rust zstd-safe crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog diff --git a/SPECS/rust-zstd-sys-2.0/rust-zstd-sys.spec b/SPECS/rust-zstd-sys-2.0/rust-zstd-sys.spec new file mode 100644 index 0000000000..218129a6e5 --- /dev/null +++ b/SPECS/rust-zstd-sys-2.0/rust-zstd-sys.spec @@ -0,0 +1,69 @@ +# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS) +# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors +# +# SPDX-License-Identifier: MulanPSL-2.0 + +%global crate_name zstd-sys +%global full_version 2.0.16+zstd.1.5.7 +%global pkgname zstd-sys-2.0 + +Name: rust-zstd-sys-2.0 +Version: 2.0.16 +Release: %autorelease +Summary: Rust crate "zstd-sys" +License: MIT/Apache-2.0 +URL: https://github.com/gyscos/zstd-rs +#!RemoteAsset: sha256:91e19ebc2adc8f83e43039e79776e3fda8ca919132d68a1fed6a5faca2683748 +Source: https://crates.io/api/v1/crates/%{crate_name}/%{full_version}/download#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildSystem: rustcrates + +BuildRequires: rust-rpm-macros + +Requires: crate(cc-1.0/default) >= 1.0.45 +Requires: crate(cc-1.0/parallel) >= 1.0.45 +Requires: crate(pkg-config-0.3/default) >= 0.3.28 +Provides: crate(%{pkgname}) +Provides: crate(%{pkgname}/debug) +Provides: crate(%{pkgname}/experimental) +Provides: crate(%{pkgname}/fat-lto) +Provides: crate(%{pkgname}/legacy) +Provides: crate(%{pkgname}/no-asm) +Provides: crate(%{pkgname}/no-wasm-shim) +Provides: crate(%{pkgname}/non-cargo) +Provides: crate(%{pkgname}/pkg-config) +Provides: crate(%{pkgname}/seekable) +Provides: crate(%{pkgname}/std) +Provides: crate(%{pkgname}/thin) +Provides: crate(%{pkgname}/thin-lto) +Provides: crate(%{pkgname}/zdict-builder) +Provides: crate(%{pkgname}/zstdmt) + +%description +Source code for takopackized Rust crate "zstd-sys" + +%package -n %{name}+bindgen +Summary: Low-level bindings for the zstd compression library - feature "bindgen" +Requires: crate(%{pkgname}) +Requires: crate(bindgen-0.72/runtime) >= 0.72.0 +Provides: crate(%{pkgname}/bindgen) + +%description -n %{name}+bindgen +This metapackage enables feature "bindgen" for the Rust zstd-sys crate, by pulling in any additional dependencies needed by that feature. + +%package -n %{name}+default +Summary: Low-level bindings for the zstd compression library - feature "default" +Requires: crate(%{pkgname}) +Requires: crate(%{pkgname}/bindgen) +Requires: crate(%{pkgname}/legacy) +Requires: crate(%{pkgname}/zdict-builder) +Provides: crate(%{pkgname}/default) + +%description -n %{name}+default +This metapackage enables feature "default" for the Rust zstd-sys crate, by pulling in any additional dependencies needed by that feature. + +%files +%{_datadir}/cargo/registry/%{crate_name}-%{version}/ + +%changelog +%autochangelog