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.
220 lines
6.1 KiB
220 lines
6.1 KiB
# Generated by rust2rpm 10
|
|
%bcond_without check
|
|
%global debug_package %{nil}
|
|
|
|
%global crate crossterm
|
|
|
|
Name: rust-%{crate}
|
|
Version: 0.9.6
|
|
Release: 1%{?dist}
|
|
Summary: Crossplatform terminal library for manipulating terminals
|
|
|
|
# Upstream license specification: MIT
|
|
License: MIT
|
|
URL: https://crates.io/crates/crossterm
|
|
Source: %{crates_source}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
%if %{__cargo_skip_build}
|
|
BuildArch: noarch
|
|
%endif
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
%global _description %{expand:
|
|
Crossplatform terminal library for manipulating terminals.}
|
|
|
|
%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
|
|
%doc README.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}+crossterm_cursor-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+crossterm_cursor-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "crossterm_cursor" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+crossterm_cursor-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%package -n %{name}+crossterm_input-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+crossterm_input-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "crossterm_input" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+crossterm_input-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%package -n %{name}+crossterm_screen-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+crossterm_screen-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "crossterm_screen" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+crossterm_screen-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%package -n %{name}+crossterm_style-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+crossterm_style-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "crossterm_style" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+crossterm_style-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%package -n %{name}+crossterm_terminal-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+crossterm_terminal-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "crossterm_terminal" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+crossterm_terminal-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%package -n %{name}+cursor-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+cursor-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "cursor" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+cursor-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%package -n %{name}+input-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+input-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "input" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+input-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%package -n %{name}+screen-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+screen-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "screen" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+screen-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%package -n %{name}+style-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+style-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "style" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+style-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%package -n %{name}+terminal-devel
|
|
Summary: %{summary}
|
|
BuildArch: noarch
|
|
|
|
%description -n %{name}+terminal-devel %{_description}
|
|
|
|
This package contains library source intended for building other packages
|
|
which use "terminal" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+terminal-devel
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/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
|
|
* Sat Jun 22 11:49:17 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.6-1
|
|
- Update to 0.9.6
|
|
|
|
* Fri May 31 2019 Josh Stone <jistone@redhat.com> - 0.9.5-1
|
|
- Update to 0.9.5
|
|
|
|
* Wed May 15 20:13:25 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.4-1
|
|
- Update to 0.9.4
|
|
|
|
* Sat Apr 20 10:40:41 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.3-1
|
|
- Update to 0.9.3
|
|
|
|
* Fri Apr 05 17:25:13 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.2-1
|
|
- Update to 0.8.2
|
|
|
|
* Fri Apr 05 09:03:46 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.1-1
|
|
- Update to 0.8.1
|
|
|
|
* Thu Apr 04 08:13:39 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.8.0-1
|
|
- Update to 0.8.0
|
|
|
|
* Fri Mar 22 2019 Josh Stone <jistone@redhat.com> - 0.7.0-1
|
|
- Update to 0.7.0
|
|
|
|
* Fri Mar 15 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.0-1
|
|
- Initial package
|