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-crosstermion/rust-crosstermion.spec

292 lines
8.5 KiB

# Generated by rust2rpm 18
%bcond_without check
%global debug_package %{nil}
%global crate crosstermion
Name: rust-%{crate}
Version: 0.7.0
Release: %autorelease
Summary: Unification of crossterm and termion behind a common facade for use with feature flags
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/crosstermion
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Unification of crossterm and termion behind a common facade for use with
feature flags.}
%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.md
%doc README.md CHANGELOG.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}+ansi_term-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+ansi_term-devel %{_description}
This package contains library source intended for building other packages
which use "ansi_term" feature of "%{crate}" crate.
%files -n %{name}+ansi_term-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+async-channel-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+async-channel-devel %{_description}
This package contains library source intended for building other packages
which use "async-channel" feature of "%{crate}" crate.
%files -n %{name}+async-channel-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+color-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+color-devel %{_description}
This package contains library source intended for building other packages
which use "color" feature of "%{crate}" crate.
%files -n %{name}+color-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+crossterm-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+crossterm-devel %{_description}
This package contains library source intended for building other packages
which use "crossterm" feature of "%{crate}" crate.
%files -n %{name}+crossterm-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+futures-channel-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+futures-channel-devel %{_description}
This package contains library source intended for building other packages
which use "futures-channel" feature of "%{crate}" crate.
%files -n %{name}+futures-channel-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+futures-core-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+futures-core-devel %{_description}
This package contains library source intended for building other packages
which use "futures-core" feature of "%{crate}" crate.
%files -n %{name}+futures-core-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+futures-lite-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+futures-lite-devel %{_description}
This package contains library source intended for building other packages
which use "futures-lite" feature of "%{crate}" crate.
%files -n %{name}+futures-lite-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+input-async-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+input-async-devel %{_description}
This package contains library source intended for building other packages
which use "input-async" feature of "%{crate}" crate.
%files -n %{name}+input-async-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+input-async-crossterm-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+input-async-crossterm-devel %{_description}
This package contains library source intended for building other packages
which use "input-async-crossterm" feature of "%{crate}" crate.
%files -n %{name}+input-async-crossterm-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+termion-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+termion-devel %{_description}
This package contains library source intended for building other packages
which use "termion" feature of "%{crate}" crate.
%files -n %{name}+termion-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+tui-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tui-devel %{_description}
This package contains library source intended for building other packages
which use "tui" feature of "%{crate}" crate.
%files -n %{name}+tui-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+tui-crossterm-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tui-crossterm-devel %{_description}
This package contains library source intended for building other packages
which use "tui-crossterm" feature of "%{crate}" crate.
%files -n %{name}+tui-crossterm-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+tui-crossterm-backend-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tui-crossterm-backend-devel %{_description}
This package contains library source intended for building other packages
which use "tui-crossterm-backend" feature of "%{crate}" crate.
%files -n %{name}+tui-crossterm-backend-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+tui-react-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tui-react-devel %{_description}
This package contains library source intended for building other packages
which use "tui-react" feature of "%{crate}" crate.
%files -n %{name}+tui-react-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+tui-react-crossterm-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tui-react-crossterm-devel %{_description}
This package contains library source intended for building other packages
which use "tui-react-crossterm" feature of "%{crate}" crate.
%files -n %{name}+tui-react-crossterm-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+tui-react-termion-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tui-react-termion-devel %{_description}
This package contains library source intended for building other packages
which use "tui-react-termion" feature of "%{crate}" crate.
%files -n %{name}+tui-react-termion-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+tui-termion-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tui-termion-devel %{_description}
This package contains library source intended for building other packages
which use "tui-termion" feature of "%{crate}" crate.
%files -n %{name}+tui-termion-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+tui-termion-backend-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+tui-termion-backend-devel %{_description}
This package contains library source intended for building other packages
which use "tui-termion-backend" feature of "%{crate}" crate.
%files -n %{name}+tui-termion-backend-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
%autochangelog