Initial import (raw-window-handle 0.5 compat package)

epel10
Aleksei Bavshin 1 year ago
parent 98cf01e6da
commit 860dcba2dd
No known key found for this signature in database
GPG Key ID: 4F071603387A382A

1
.gitignore vendored

@ -0,0 +1 @@
/raw-window-handle-0.5.2.crate

@ -1,3 +0,0 @@
# rust-raw-window-handle0.5
The rust-raw-window-handle0.5 package

@ -0,0 +1,95 @@
# Generated by rust2rpm 25
%bcond_without check
%global debug_package %{nil}
%global crate raw-window-handle
Name: rust-raw-window-handle0.5
Version: 0.5.2
Release: %autorelease
Summary: Interoperability library for Rust Windowing applications
License: MIT OR Apache-2.0 OR Zlib
URL: https://crates.io/crates/raw-window-handle
Source: %{crates_source}
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Interoperability library for Rust Windowing applications.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license %{crate_instdir}/LICENSE-APACHE.md
%license %{crate_instdir}/LICENSE-MIT.md
%license %{crate_instdir}/LICENSE-ZLIB.md
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%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 the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+alloc-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+alloc-devel %{_description}
This package contains library source intended for building other packages which
use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+alloc-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
%install
%cargo_install
%if %{with check}
%check
%cargo_test
%endif
%changelog
%autochangelog

@ -0,0 +1 @@
SHA512 (raw-window-handle-0.5.2.crate) = 51d93a4609533742178ab15d4454ffca1668e2a03c2a6e742ee2a61554564c74307311a50e3992919451f4f4d30ac112284413fb4310abbf06c0fa24d85d5971
Loading…
Cancel
Save