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.
257 lines
7.4 KiB
257 lines
7.4 KiB
4 years ago
|
# Generated by rust2rpm 16
|
||
|
%bcond_without check
|
||
|
%global debug_package %{nil}
|
||
|
|
||
|
%global crate cursive
|
||
|
|
||
|
Name: rust-%{crate}
|
||
|
Version: 0.16.3
|
||
|
Release: 1%{?dist}
|
||
|
Summary: TUI (Text User Interface) library focused on ease-of-use
|
||
|
|
||
|
# Upstream license specification: MIT
|
||
|
License: MIT
|
||
|
URL: https://crates.io/crates/cursive
|
||
|
Source: %{crates_source}
|
||
|
# Initial patched metadata
|
||
|
# * Bump ahash to 0.7.2
|
||
|
Patch0: cursive-fix-metadata.diff
|
||
|
|
||
|
ExclusiveArch: %{rust_arches}
|
||
|
%if %{__cargo_skip_build}
|
||
|
BuildArch: noarch
|
||
|
%endif
|
||
|
|
||
|
BuildRequires: rust-packaging
|
||
|
|
||
|
%global _description %{expand:
|
||
|
TUI (Text User Interface) library focused on ease-of-use.}
|
||
|
|
||
|
%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
|
||
|
%{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}+bear-lib-terminal-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+bear-lib-terminal-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages
|
||
|
which use "bear-lib-terminal" feature of "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+bear-lib-terminal-devel
|
||
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+blt-backend-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+blt-backend-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages
|
||
|
which use "blt-backend" feature of "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+blt-backend-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}+crossterm-backend-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+crossterm-backend-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages
|
||
|
which use "crossterm-backend" feature of "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+crossterm-backend-devel
|
||
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+maplit-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+maplit-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages
|
||
|
which use "maplit" feature of "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+maplit-devel
|
||
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+markdown-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+markdown-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages
|
||
|
which use "markdown" feature of "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+markdown-devel
|
||
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+ncurses-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+ncurses-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages
|
||
|
which use "ncurses" feature of "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+ncurses-devel
|
||
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+ncurses-backend-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+ncurses-backend-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages
|
||
|
which use "ncurses-backend" feature of "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+ncurses-backend-devel
|
||
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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_no_tilde}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+pancurses-backend-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+pancurses-backend-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages
|
||
|
which use "pancurses-backend" feature of "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+pancurses-backend-devel
|
||
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+term_size-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+term_size-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages
|
||
|
which use "term_size" feature of "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+term_size-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}+termion-backend-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+termion-backend-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages
|
||
|
which use "termion-backend" feature of "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+termion-backend-devel
|
||
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+toml-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+toml-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages
|
||
|
which use "toml" feature of "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+toml-devel
|
||
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
||
|
|
||
|
%package -n %{name}+unstable_scroll-devel
|
||
|
Summary: %{summary}
|
||
|
BuildArch: noarch
|
||
|
|
||
|
%description -n %{name}+unstable_scroll-devel %{_description}
|
||
|
|
||
|
This package contains library source intended for building other packages
|
||
|
which use "unstable_scroll" feature of "%{crate}" crate.
|
||
|
|
||
|
%files -n %{name}+unstable_scroll-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
|
||
|
* Tue May 11 15:40:24 PDT 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 0.16.3-1
|
||
|
- Initial package
|