|
|
@ -1,28 +1,19 @@
|
|
|
|
# Generated by rust2rpm 16
|
|
|
|
# Generated by rust2rpm 23
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate cursive
|
|
|
|
%global crate cursive
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-cursive
|
|
|
|
Version: 0.16.3
|
|
|
|
Version: 0.20.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: TUI (Text User Interface) library focused on ease-of-use
|
|
|
|
Summary: TUI (Text User Interface) library focused on ease-of-use
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://crates.io/crates/cursive
|
|
|
|
URL: https://crates.io/crates/cursive
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * Bump ahash to 0.7.2
|
|
|
|
|
|
|
|
Patch0: cursive-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
TUI (Text User Interface) library focused on ease-of-use.}
|
|
|
|
TUI (Text User Interface) library focused on ease-of-use.}
|
|
|
@ -35,11 +26,13 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description devel %{_description}
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
# FIXME: no license files detected
|
|
|
|
|
|
|
|
%doc %{crate_instdir}/Readme.md
|
|
|
|
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -47,11 +40,23 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+ansi-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+ansi-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
|
|
|
use the "ansi" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+ansi-devel
|
|
|
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+crossterm-devel
|
|
|
|
%package -n %{name}+crossterm-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -59,11 +64,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+crossterm-devel %{_description}
|
|
|
|
%description -n %{name}+crossterm-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "crossterm" feature of "%{crate}" crate.
|
|
|
|
use the "crossterm" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+crossterm-devel
|
|
|
|
%files -n %{name}+crossterm-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+crossterm-backend-devel
|
|
|
|
%package -n %{name}+crossterm-backend-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -71,11 +76,23 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+crossterm-backend-devel %{_description}
|
|
|
|
%description -n %{name}+crossterm-backend-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "crossterm-backend" feature of "%{crate}" crate.
|
|
|
|
use the "crossterm-backend" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+crossterm-backend-devel
|
|
|
|
%files -n %{name}+crossterm-backend-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+doc-cfg-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+doc-cfg-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
|
|
|
use the "doc-cfg" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+doc-cfg-devel
|
|
|
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+maplit-devel
|
|
|
|
%package -n %{name}+maplit-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -83,11 +100,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+maplit-devel %{_description}
|
|
|
|
%description -n %{name}+maplit-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "maplit" feature of "%{crate}" crate.
|
|
|
|
use the "maplit" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+maplit-devel
|
|
|
|
%files -n %{name}+maplit-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+markdown-devel
|
|
|
|
%package -n %{name}+markdown-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -95,11 +112,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+markdown-devel %{_description}
|
|
|
|
%description -n %{name}+markdown-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "markdown" feature of "%{crate}" crate.
|
|
|
|
use the "markdown" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+markdown-devel
|
|
|
|
%files -n %{name}+markdown-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+ncurses-devel
|
|
|
|
%package -n %{name}+ncurses-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -107,11 +124,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+ncurses-devel %{_description}
|
|
|
|
%description -n %{name}+ncurses-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "ncurses" feature of "%{crate}" crate.
|
|
|
|
use the "ncurses" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+ncurses-devel
|
|
|
|
%files -n %{name}+ncurses-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+ncurses-backend-devel
|
|
|
|
%package -n %{name}+ncurses-backend-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -119,11 +136,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+ncurses-backend-devel %{_description}
|
|
|
|
%description -n %{name}+ncurses-backend-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "ncurses-backend" feature of "%{crate}" crate.
|
|
|
|
use the "ncurses-backend" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+ncurses-backend-devel
|
|
|
|
%files -n %{name}+ncurses-backend-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+pancurses-devel
|
|
|
|
%package -n %{name}+pancurses-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -131,11 +148,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+pancurses-devel %{_description}
|
|
|
|
%description -n %{name}+pancurses-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "pancurses" feature of "%{crate}" crate.
|
|
|
|
use the "pancurses" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+pancurses-devel
|
|
|
|
%files -n %{name}+pancurses-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+pancurses-backend-devel
|
|
|
|
%package -n %{name}+pancurses-backend-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -143,11 +160,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+pancurses-backend-devel %{_description}
|
|
|
|
%description -n %{name}+pancurses-backend-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "pancurses-backend" feature of "%{crate}" crate.
|
|
|
|
use the "pancurses-backend" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+pancurses-backend-devel
|
|
|
|
%files -n %{name}+pancurses-backend-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+term_size-devel
|
|
|
|
%package -n %{name}+term_size-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -155,11 +172,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+term_size-devel %{_description}
|
|
|
|
%description -n %{name}+term_size-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "term_size" feature of "%{crate}" crate.
|
|
|
|
use the "term_size" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+term_size-devel
|
|
|
|
%files -n %{name}+term_size-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+termion-devel
|
|
|
|
%package -n %{name}+termion-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -167,11 +184,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+termion-devel %{_description}
|
|
|
|
%description -n %{name}+termion-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "termion" feature of "%{crate}" crate.
|
|
|
|
use the "termion" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+termion-devel
|
|
|
|
%files -n %{name}+termion-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+termion-backend-devel
|
|
|
|
%package -n %{name}+termion-backend-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -179,11 +196,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+termion-backend-devel %{_description}
|
|
|
|
%description -n %{name}+termion-backend-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "termion-backend" feature of "%{crate}" crate.
|
|
|
|
use the "termion-backend" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+termion-backend-devel
|
|
|
|
%files -n %{name}+termion-backend-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+toml-devel
|
|
|
|
%package -n %{name}+toml-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -191,11 +208,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+toml-devel %{_description}
|
|
|
|
%description -n %{name}+toml-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "toml" feature of "%{crate}" crate.
|
|
|
|
use the "toml" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+toml-devel
|
|
|
|
%files -n %{name}+toml-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+unstable_scroll-devel
|
|
|
|
%package -n %{name}+unstable_scroll-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
@ -203,11 +220,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+unstable_scroll-devel %{_description}
|
|
|
|
%description -n %{name}+unstable_scroll-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "unstable_scroll" feature of "%{crate}" crate.
|
|
|
|
use the "unstable_scroll" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+unstable_scroll-devel
|
|
|
|
%files -n %{name}+unstable_scroll-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|