Initial import (#1772978).

epel9
Artem Polishchuk 5 years ago
parent 5df48a9b93
commit 08ec7f8a9b

1
.gitignore vendored

@ -0,0 +1 @@
/tui-0.7.0.crate

@ -0,0 +1,155 @@
# Generated by rust2rpm 10
### test result: FAILED. 17 passed; 2 failed; 1 ignored; 0 measured; 0 filtered out
### Probably because of 'rust-stderrlog' package
### * new 0.7.0 versions requires many new updated crates
%bcond_with check
%global debug_package %{nil}
%global crate tui
Name: rust-%{crate}
Version: 0.7.0
Release: 1%{?dist}
Summary: Library to build rich terminal user interfaces or dashboards
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/tui
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Library to build rich terminal user interfaces or dashboards.}
%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 CHANGELOG.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-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}/Cargo.toml
%package -n %{name}+curses-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+curses-devel %{_description}
This package contains library source intended for building other packages
which use "curses" feature of "%{crate}" crate.
%files -n %{name}+curses-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+easycurses-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+easycurses-devel %{_description}
This package contains library source intended for building other packages
which use "easycurses" feature of "%{crate}" crate.
%files -n %{name}+easycurses-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+pancurses-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+pancurses-devel %{_description}
This package contains library source intended for building other packages
which use "pancurses" feature of "%{crate}" crate.
%files -n %{name}+pancurses-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%package -n %{name}+rustbox-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rustbox-devel %{_description}
This package contains library source intended for building other packages
which use "rustbox" feature of "%{crate}" crate.
%files -n %{name}+rustbox-devel
%ghost %{cargo_registry}/%{crate}-%{version}/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}/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
* Wed Dec 11 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0.7.0-1
- Update to 0.7.0
* Fri Nov 15 19:05:51 EET 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 0.6.2-1
- Initial package

@ -0,0 +1 @@
SHA512 (tui-0.7.0.crate) = a94f442f2a2baa010728d124d2c7499af4430e40d87523a0f8d5e365b79dea99424e1ff3f1cc86d79ad623ff54c97c483fbb5cc145d56aba93520023c1df4257

@ -0,0 +1,5 @@
---
standard-inventory-qcow2:
qemu:
# `cargo test` usually eats more than 1G.
m: 4G

@ -0,0 +1,13 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
repositories:
- repo: "https://src.fedoraproject.org/tests/rust.git"
dest: rust
tests:
- rust/cargo-test
environment:
pkg: rust-tui
Loading…
Cancel
Save