# Generated by rust2rpm 9 %bcond_without check %global debug_package %{nil} %global crate actix Name: rust-%{crate} Version: 0.8.3 Release: 1%{?dist} Summary: Actor framework for Rust # Upstream license specification: MIT/Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/actix Source: %{crates_source} ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(actix-http/default) >= 0.2.0 with crate(actix-http/default) < 0.3.0) BuildRequires: (crate(actix-rt/default) >= 0.2.2 with crate(actix-rt/default) < 0.3.0) BuildRequires: (crate(actix_derive/default) >= 0.4.0 with crate(actix_derive/default) < 0.5.0) BuildRequires: (crate(bitflags/default) >= 1.0.0 with crate(bitflags/default) < 2.0.0) BuildRequires: (crate(bytes/default) >= 0.4.0 with crate(bytes/default) < 0.5.0) BuildRequires: (crate(crossbeam-channel/default) >= 0.3.0 with crate(crossbeam-channel/default) < 0.4.0) BuildRequires: (crate(derive_more/default) >= 0.14.0 with crate(derive_more/default) < 0.15.0) BuildRequires: (crate(futures/default) >= 0.1.25 with crate(futures/default) < 0.2.0) BuildRequires: (crate(hashbrown/default) >= 0.3.0 with crate(hashbrown/default) < 0.4.0) BuildRequires: (crate(lazy_static/default) >= 1.2.0 with crate(lazy_static/default) < 2.0.0) BuildRequires: (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0) BuildRequires: (crate(parking_lot/default) >= 0.8.0 with crate(parking_lot/default) < 0.9.0) BuildRequires: (crate(smallvec/default) >= 0.6.0 with crate(smallvec/default) < 0.7.0) BuildRequires: (crate(tokio-codec/default) >= 0.1.0 with crate(tokio-codec/default) < 0.2.0) BuildRequires: (crate(tokio-executor/default) >= 0.1.0 with crate(tokio-executor/default) < 0.2.0) BuildRequires: (crate(tokio-io/default) >= 0.1.0 with crate(tokio-io/default) < 0.2.0) BuildRequires: (crate(tokio-tcp/default) >= 0.1.0 with crate(tokio-tcp/default) < 0.2.0) BuildRequires: (crate(tokio-timer/default) >= 0.2.8 with crate(tokio-timer/default) < 0.3.0) BuildRequires: (crate(trust-dns-resolver) >= 0.11.0 with crate(trust-dns-resolver) < 0.12.0) %if %{with check} BuildRequires: (crate(doc-comment/default) >= 0.3.0 with crate(doc-comment/default) < 0.4.0) %endif %global _description %{expand: Actor framework for Rust.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %license LICENSE-MIT LICENSE-APACHE %doc README.md CHANGES.md MIGRATION.md %{cargo_registry}/%{crate}-%{version}/ %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}/Cargo.toml %package -n %{name}+actix-http-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+actix-http-devel %{_description} This package contains library source intended for building other packages which use "actix-http" feature of "%{crate}" crate. %files -n %{name}+actix-http-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %package -n %{name}+http-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+http-devel %{_description} This package contains library source intended for building other packages which use "http" feature of "%{crate}" crate. %files -n %{name}+http-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %package -n %{name}+mailbox_assert-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mailbox_assert-devel %{_description} This package contains library source intended for building other packages which use "mailbox_assert" feature of "%{crate}" crate. %files -n %{name}+mailbox_assert-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %package -n %{name}+resolver-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+resolver-devel %{_description} This package contains library source intended for building other packages which use "resolver" feature of "%{crate}" crate. %files -n %{name}+resolver-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %package -n %{name}+tokio-tcp-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-tcp-devel %{_description} This package contains library source intended for building other packages which use "tokio-tcp" feature of "%{crate}" crate. %files -n %{name}+tokio-tcp-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %package -n %{name}+trust-dns-resolver-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+trust-dns-resolver-devel %{_description} This package contains library source intended for building other packages which use "trust-dns-resolver" feature of "%{crate}" crate. %files -n %{name}+trust-dns-resolver-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Thu May 30 18:30:27 CEST 2019 Igor Gnatenko - 0.8.3-1 - Initial package