parent
e475ef5ffd
commit
243153588f
@ -0,0 +1 @@
|
||||
/async-compression-0.3.4.crate
|
@ -0,0 +1,316 @@
|
||||
# Generated by rust2rpm 13
|
||||
# * futures-test, ntest are not packaged
|
||||
%bcond_with check
|
||||
%global debug_package %{nil}
|
||||
|
||||
%global crate async-compression
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 0.3.4
|
||||
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}
|
||||
|
||||
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-devel
|
||||
Summary: %{summary}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}+bytes-devel %{_description}
|
||||
|
||||
This package contains library source intended for building other packages
|
||||
which use "bytes" feature of "%{crate}" crate.
|
||||
|
||||
%files -n %{name}+bytes-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}+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
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%cargo_test
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue May 19 08:43:24 CEST 2020 Igor Raits <i.gnatenko.brain@gmail.com> - 0.3.4-1
|
||||
- Initial package
|
Loading…
Reference in new issue