From d0c76744195b4c7ae2a534c73ad36a6a8c24a34a Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 16:51:49 +0300 Subject: [PATCH] import rust-raw-window-handle0.5-0.5.2-3.el10 --- .gitignore | 1 + .rust-raw-window-handle0.5.metadata | 1 + SPECS/rust-raw-window-handle0.5.spec | 117 +++++++++++++++++++++++++++ 3 files changed, 119 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-raw-window-handle0.5.metadata create mode 100644 SPECS/rust-raw-window-handle0.5.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9a8c741 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/raw-window-handle-0.5.2.crate diff --git a/.rust-raw-window-handle0.5.metadata b/.rust-raw-window-handle0.5.metadata new file mode 100644 index 0000000..238a419 --- /dev/null +++ b/.rust-raw-window-handle0.5.metadata @@ -0,0 +1 @@ +7578bbe229d82ae277078f8d55599daa0c65f243 SOURCES/raw-window-handle-0.5.2.crate diff --git a/SPECS/rust-raw-window-handle0.5.spec b/SPECS/rust-raw-window-handle0.5.spec new file mode 100644 index 0000000..e840796 --- /dev/null +++ b/SPECS/rust-raw-window-handle0.5.spec @@ -0,0 +1,117 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 3; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# 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 +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.5.2-3 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 0.5.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.5.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Dec 23 2023 Aleksei Bavshin - 0.5.2-1 +- Initial import (raw-window-handle 0.5 compat package) +## END: Generated by rpmautospec