You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rust-async-compression/rust-async-compression.spec

366 lines
11 KiB

# Generated by rust2rpm 17
# * futures-test, ntest are not packaged
%bcond_with check
%global debug_package %{nil}
%global crate async-compression
Name: rust-%{crate}
Version: 0.3.8
Release: 1%{?dist}
Summary: Adaptors between compression crates and Rust's modern asynchronous IO types
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/async-compression
Source: %{crates_source}
# Initial patched metadata
# * drop tokio 0.3 support (Fedora only ships tokio 0.1, 0.2, and 1.0)
# * bump zstd from 0.7 to 0.8
# * bump zstd-safe from 3.0.1 to 4.0.0
# https://github.com/Nemo157/async-compression/pull/120
Patch0: async-compression-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%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 "%{crate}" crate.
%files devel
%license LICENSE-MIT LICENSE-APACHE
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%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 "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "all" feature of "%{crate}" crate.
%files -n %{name}+all-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "all-algorithms" feature of "%{crate}" crate.
%files -n %{name}+all-algorithms-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "all-implementations" feature of "%{crate}" crate.
%files -n %{name}+all-implementations-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "brotli" feature of "%{crate}" crate.
%files -n %{name}+brotli-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+bytes-05-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+bytes-05-devel %{_description}
This package contains library source intended for building other packages
which use "bytes-05" feature of "%{crate}" crate.
%files -n %{name}+bytes-05-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "bzip2" feature of "%{crate}" crate.
%files -n %{name}+bzip2-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "deflate" feature of "%{crate}" crate.
%files -n %{name}+deflate-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "flate2" feature of "%{crate}" crate.
%files -n %{name}+flate2-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+futures-bufread-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+futures-bufread-devel %{_description}
This package contains library source intended for building other packages
which use "futures-bufread" feature of "%{crate}" crate.
%files -n %{name}+futures-bufread-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "futures-io" feature of "%{crate}" crate.
%files -n %{name}+futures-io-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+futures-write-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+futures-write-devel %{_description}
This package contains library source intended for building other packages
which use "futures-write" feature of "%{crate}" crate.
%files -n %{name}+futures-write-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "gzip" feature of "%{crate}" crate.
%files -n %{name}+gzip-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "libzstd" feature of "%{crate}" crate.
%files -n %{name}+libzstd-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "lzma" feature of "%{crate}" crate.
%files -n %{name}+lzma-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+stream-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+stream-devel %{_description}
This package contains library source intended for building other packages
which use "stream" feature of "%{crate}" crate.
%files -n %{name}+stream-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "tokio" feature of "%{crate}" crate.
%files -n %{name}+tokio-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
5 years ago
%package -n %{name}+tokio-02-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tokio-02-devel %{_description}
This package contains library source intended for building other packages
which use "tokio-02" feature of "%{crate}" crate.
%files -n %{name}+tokio-02-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "xz" feature of "%{crate}" crate.
%files -n %{name}+xz-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "xz2" feature of "%{crate}" crate.
%files -n %{name}+xz2-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "zlib" feature of "%{crate}" crate.
%files -n %{name}+zlib-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "zstd" feature of "%{crate}" crate.
%files -n %{name}+zstd-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 "zstd-safe" feature of "%{crate}" crate.
%files -n %{name}+zstd-safe-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -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
* Mon May 10 2021 Fabio Valentini <decathorpe@gmail.com> - 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 <decathorpe@gmail.com> - 0.3.7-1
- Update to version 0.3.7.
* Mon Mar 01 2021 Fabio Valentini <decathorpe@gmail.com> - 0.3.6-1
- Update to version 0.3.6.
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5 years ago
* Fri Jul 10 2020 Josh Stone <jistone@redhat.com> - 0.3.5-1
- Update to 0.3.5
* Tue May 19 08:43:24 CEST 2020 Igor Raits <i.gnatenko.brain@gmail.com> - 0.3.4-1
- Initial package