Davide Cavalca 4 years ago
parent dca9794e50
commit 23a08803cf

1
.gitignore vendored

@ -0,0 +1 @@
/ncurses-5.101.0.crate

@ -0,0 +1,148 @@
# Generated by rust2rpm 16
%bcond_without check
%global debug_package %{nil}
%global crate ncurses
Name: rust-%{crate}
Version: 5.101.0
Release: 1%{?dist}
Summary: Very thin wrapper around the ncurses TUI library
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/ncurses
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: ncurses-devel
%global _description %{expand:
Very thin wrapper around the ncurses TUI library.}
%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_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}+extended_colors-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+extended_colors-devel %{_description}
This package contains library source intended for building other packages
which use "extended_colors" feature of "%{crate}" crate.
%files -n %{name}+extended_colors-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+menu-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+menu-devel %{_description}
This package contains library source intended for building other packages
which use "menu" feature of "%{crate}" crate.
%files -n %{name}+menu-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+mouse_v1-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+mouse_v1-devel %{_description}
This package contains library source intended for building other packages
which use "mouse_v1" feature of "%{crate}" crate.
%files -n %{name}+mouse_v1-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+panel-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+panel-devel %{_description}
This package contains library source intended for building other packages
which use "panel" feature of "%{crate}" crate.
%files -n %{name}+panel-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+wide-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+wide-devel %{_description}
This package contains library source intended for building other packages
which use "wide" feature of "%{crate}" crate.
%files -n %{name}+wide-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+wide_chtype-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+wide_chtype-devel %{_description}
This package contains library source intended for building other packages
which use "wide_chtype" feature of "%{crate}" crate.
%files -n %{name}+wide_chtype-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
* Fri May 07 10:32:19 PDT 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 5.101.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (ncurses-5.101.0.crate) = e73513a28706dce70296af28170e8c124b9ab105dcc6509f2d65114f0f8f948b775cb4b459293a399bbf748f06bb60e5906818d928b4f0078c96531d8ab050e7
Loading…
Cancel
Save