commit 5fe6b34deee1b2453382088eaeda597d850051bb Author: MSVSphere Packaging Team Date: Fri Dec 20 14:48:25 2024 +0300 import rust-async-compression-0.4.18-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0e3b4a1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/async-compression-0.4.18.crate diff --git a/.rust-async-compression.metadata b/.rust-async-compression.metadata new file mode 100644 index 0000000..845bc95 --- /dev/null +++ b/.rust-async-compression.metadata @@ -0,0 +1 @@ +bb1f41141a4f0ed806d2e6f3242a7b530730ce3a SOURCES/async-compression-0.4.18.crate diff --git a/SOURCES/rust2rpm.toml b/SOURCES/rust2rpm.toml new file mode 100644 index 0000000..6bc4333 --- /dev/null +++ b/SOURCES/rust2rpm.toml @@ -0,0 +1,6 @@ +[features] +enable-all = true + +[tests] +run = ["none"] +comments = ["tests can only be run in-tree"] diff --git a/SPECS/rust-async-compression.spec b/SPECS/rust-async-compression.spec new file mode 100644 index 0000000..80f91dd --- /dev/null +++ b/SPECS/rust-async-compression.spec @@ -0,0 +1,408 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.3) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Generated by rust2rpm 27 +# * tests can only be run in-tree +%bcond check 0 +%global debug_package %{nil} + +%global crate async-compression + +Name: rust-async-compression +Version: 0.4.18 +Release: %autorelease +Summary: Adaptors between compression crates and Rust's modern asynchronous IO types + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/async-compression +Source: %{crates_source} + +BuildRequires: cargo-rpm-macros >= 24 + +%global _description %{expand: +Adaptors between compression crates and Rust's modern asynchronous IO +types.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{crate}" crate. + +%files devel +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%package -n %{name}+default-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+default-devel %{_description} + +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. + +%files -n %{name}+default-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+all-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+all-devel %{_description} + +This package contains library source intended for building other packages which +use the "all" feature of the "%{crate}" crate. + +%files -n %{name}+all-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+all-algorithms-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+all-algorithms-devel %{_description} + +This package contains library source intended for building other packages which +use the "all-algorithms" feature of the "%{crate}" crate. + +%files -n %{name}+all-algorithms-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+all-implementations-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+all-implementations-devel %{_description} + +This package contains library source intended for building other packages which +use the "all-implementations" feature of the "%{crate}" crate. + +%files -n %{name}+all-implementations-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+brotli-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+brotli-devel %{_description} + +This package contains library source intended for building other packages which +use the "brotli" feature of the "%{crate}" crate. + +%files -n %{name}+brotli-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+bzip2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+bzip2-devel %{_description} + +This package contains library source intended for building other packages which +use the "bzip2" feature of the "%{crate}" crate. + +%files -n %{name}+bzip2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+deflate-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+deflate-devel %{_description} + +This package contains library source intended for building other packages which +use the "deflate" feature of the "%{crate}" crate. + +%files -n %{name}+deflate-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+deflate64-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+deflate64-devel %{_description} + +This package contains library source intended for building other packages which +use the "deflate64" feature of the "%{crate}" crate. + +%files -n %{name}+deflate64-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+flate2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+flate2-devel %{_description} + +This package contains library source intended for building other packages which +use the "flate2" feature of the "%{crate}" crate. + +%files -n %{name}+flate2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+futures-io-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+futures-io-devel %{_description} + +This package contains library source intended for building other packages which +use the "futures-io" feature of the "%{crate}" crate. + +%files -n %{name}+futures-io-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+gzip-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+gzip-devel %{_description} + +This package contains library source intended for building other packages which +use the "gzip" feature of the "%{crate}" crate. + +%files -n %{name}+gzip-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+libzstd-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+libzstd-devel %{_description} + +This package contains library source intended for building other packages which +use the "libzstd" feature of the "%{crate}" crate. + +%files -n %{name}+libzstd-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+lzma-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+lzma-devel %{_description} + +This package contains library source intended for building other packages which +use the "lzma" feature of the "%{crate}" crate. + +%files -n %{name}+lzma-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+tokio-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-devel %{_description} + +This package contains library source intended for building other packages which +use the "tokio" feature of the "%{crate}" crate. + +%files -n %{name}+tokio-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+xz-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+xz-devel %{_description} + +This package contains library source intended for building other packages which +use the "xz" feature of the "%{crate}" crate. + +%files -n %{name}+xz-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+xz2-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+xz2-devel %{_description} + +This package contains library source intended for building other packages which +use the "xz2" feature of the "%{crate}" crate. + +%files -n %{name}+xz2-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+zlib-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+zlib-devel %{_description} + +This package contains library source intended for building other packages which +use the "zlib" feature of the "%{crate}" crate. + +%files -n %{name}+zlib-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+zstd-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+zstd-devel %{_description} + +This package contains library source intended for building other packages which +use the "zstd" feature of the "%{crate}" crate. + +%files -n %{name}+zstd-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+zstd-safe-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+zstd-safe-devel %{_description} + +This package contains library source intended for building other packages which +use the "zstd-safe" feature of the "%{crate}" crate. + +%files -n %{name}+zstd-safe-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+zstdmt-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+zstdmt-devel %{_description} + +This package contains library source intended for building other packages which +use the "zstdmt" feature of the "%{crate}" crate. + +%files -n %{name}+zstdmt-devel +%ghost %{crate_instdir}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires -a + +%build +%cargo_build -a + +%install +%cargo_install -a + +%if %{with check} +%check +%cargo_test -a +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.4.18-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Thu Nov 28 2024 Fabio Valentini - 0.4.18-1 +- Update to version 0.4.18; Fixes RHBZ#2328475 + +* Sun Oct 20 2024 Fabio Valentini - 0.4.17-1 +- Update to version 0.4.17; Fixes RHBZ#2317849 + +* Thu Oct 03 2024 Benjamin A. Beasley - 0.4.13-1 +- Update to 0.4.13 (close RHBZ#2316120) + +* Wed Oct 02 2024 Benjamin A. Beasley - 0.4.12-2 +- Update brotli to 7.0 + +* Mon Sep 30 2024 Benjamin A. Beasley - 0.4.12-1 +- Update to version 0.4.12; Fixes RHBZ#2273733 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.4.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Thu Apr 04 2024 Fabio Valentini - 0.4.7-1 +- Update to version 0.4.7; Fixes RHBZ#2272477 + +* Tue Jan 30 2024 Fabio Valentini - 0.4.6-1 +- Update to version 0.4.6; Fixes RHBZ#2243843 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.4.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jan 18 2024 Fabio Valentini - 0.4.5-1 +- Update to version 0.4.5 + +* Mon Jan 15 2024 Fabio Valentini - 0.4.4-1 +- Update to version 0.4.4 + +* Sun Sep 24 2023 Fabio Valentini - 0.4.3-1 +- Update to version 0.4.3; Fixes RHBZ#2235561 + +* Fri Jul 21 2023 Fedora Release Engineering - 0.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Jul 17 2023 Fabio Valentini - 0.4.1-1 +- Update to version 0.4.1; Fixes RHBZ#2196926 + +* Thu Feb 23 2023 Fabio Valentini - 0.3.15-3 +- Bump to zstd 0.12 and zstd-safe 6 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.3.15-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Oct 08 2022 Fabio Valentini - 0.3.15-1 +- Update to version 0.3.15; Fixes RHBZ#2133165 + +* Sat Aug 06 2022 Fabio Valentini - 0.3.14-1 +- Update to version 0.3.14; Fixes RHBZ#2084087 + +* Sat Jul 23 2022 Fedora Release Engineering - 0.3.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Apr 14 2022 Fabio Valentini - 0.3.12-1 +- Update to version 0.3.12; Fixes RHBZ#2045587 + +* Wed Jan 26 2022 Fabio Valentini - 0.3.10-1 +- Update to version 0.3.10 + +* Fri Jan 21 2022 Fedora Release Engineering - 0.3.8-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Nov 22 2021 Fabio Valentini - 0.3.8-3 +- Bump zstd to 0.9 and zstd-safe to 4.1.0. + +* Fri Jul 23 2021 Fedora Release Engineering - 0.3.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon May 10 2021 Fabio Valentini - 0.3.8-1 +- Update to version 0.3.8. +- Bump zstd to 0.8 and zstd-safe to 4.0.0. + +* Sat Mar 06 2021 Fabio Valentini - 0.3.7-1 +- Update to version 0.3.7. + +* Mon Mar 01 2021 Fabio Valentini - 0.3.6-1 +- Update to version 0.3.6. + +* Wed Jan 27 2021 Fedora Release Engineering - 0.3.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Wed Jul 29 2020 Fedora Release Engineering - 0.3.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jul 10 2020 Josh Stone - 0.3.5-1 +- Update to 0.3.5 + +* Tue May 19 08:43:24 CEST 2020 Igor Raits - 0.3.4-1 +- Initial package + +## END: Generated by rpmautospec