## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 27 %bcond check 1 %global debug_package %{nil} %global crate winit Name: rust-winit Version: 0.30.9 Release: %autorelease Summary: Cross-platform window creation library License: Apache-2.0 URL: https://crates.io/crates/winit Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: winit-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * Remove examples and example-only dependencies # * Remove unwanted dependency raw-window-handle 0.4 Patch: winit-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Cross-platform window creation library.} %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 %doc %{crate_instdir}/FEATURES.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}+ahash-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ahash-devel %{_description} This package contains library source intended for building other packages which use the "ahash" feature of the "%{crate}" crate. %files -n %{name}+ahash-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bytemuck-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bytemuck-devel %{_description} This package contains library source intended for building other packages which use the "bytemuck" feature of the "%{crate}" crate. %files -n %{name}+bytemuck-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+memmap2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+memmap2-devel %{_description} This package contains library source intended for building other packages which use the "memmap2" feature of the "%{crate}" crate. %files -n %{name}+memmap2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mint-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mint-devel %{_description} This package contains library source intended for building other packages which use the "mint" feature of the "%{crate}" crate. %files -n %{name}+mint-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+percent-encoding-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+percent-encoding-devel %{_description} This package contains library source intended for building other packages which use the "percent-encoding" feature of the "%{crate}" crate. %files -n %{name}+percent-encoding-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rwh_05-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rwh_05-devel %{_description} This package contains library source intended for building other packages which use the "rwh_05" feature of the "%{crate}" crate. %files -n %{name}+rwh_05-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rwh_06-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rwh_06-devel %{_description} This package contains library source intended for building other packages which use the "rwh_06" feature of the "%{crate}" crate. %files -n %{name}+rwh_06-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sctk-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sctk-devel %{_description} This package contains library source intended for building other packages which use the "sctk" feature of the "%{crate}" crate. %files -n %{name}+sctk-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sctk-adwaita-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sctk-adwaita-devel %{_description} This package contains library source intended for building other packages which use the "sctk-adwaita" feature of the "%{crate}" crate. %files -n %{name}+sctk-adwaita-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wayland-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wayland-devel %{_description} This package contains library source intended for building other packages which use the "wayland" feature of the "%{crate}" crate. %files -n %{name}+wayland-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wayland-backend-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wayland-backend-devel %{_description} This package contains library source intended for building other packages which use the "wayland-backend" feature of the "%{crate}" crate. %files -n %{name}+wayland-backend-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wayland-client-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wayland-client-devel %{_description} This package contains library source intended for building other packages which use the "wayland-client" feature of the "%{crate}" crate. %files -n %{name}+wayland-client-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wayland-csd-adwaita-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wayland-csd-adwaita-devel %{_description} This package contains library source intended for building other packages which use the "wayland-csd-adwaita" feature of the "%{crate}" crate. %files -n %{name}+wayland-csd-adwaita-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wayland-csd-adwaita-crossfont-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wayland-csd-adwaita-crossfont-devel %{_description} This package contains library source intended for building other packages which use the "wayland-csd-adwaita-crossfont" feature of the "%{crate}" crate. %files -n %{name}+wayland-csd-adwaita-crossfont-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wayland-csd-adwaita-notitle-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wayland-csd-adwaita-notitle-devel %{_description} This package contains library source intended for building other packages which use the "wayland-csd-adwaita-notitle" feature of the "%{crate}" crate. %files -n %{name}+wayland-csd-adwaita-notitle-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wayland-dlopen-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wayland-dlopen-devel %{_description} This package contains library source intended for building other packages which use the "wayland-dlopen" feature of the "%{crate}" crate. %files -n %{name}+wayland-dlopen-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wayland-protocols-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wayland-protocols-devel %{_description} This package contains library source intended for building other packages which use the "wayland-protocols" feature of the "%{crate}" crate. %files -n %{name}+wayland-protocols-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wayland-protocols-plasma-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wayland-protocols-plasma-devel %{_description} This package contains library source intended for building other packages which use the "wayland-protocols-plasma" feature of the "%{crate}" crate. %files -n %{name}+wayland-protocols-plasma-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+x11-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+x11-devel %{_description} This package contains library source intended for building other packages which use the "x11" feature of the "%{crate}" crate. %files -n %{name}+x11-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+x11-dl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+x11-dl-devel %{_description} This package contains library source intended for building other packages which use the "x11-dl" feature of the "%{crate}" crate. %files -n %{name}+x11-dl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+x11rb-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+x11rb-devel %{_description} This package contains library source intended for building other packages which use the "x11rb" feature of the "%{crate}" crate. %files -n %{name}+x11rb-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep # Remove examples (unpackaged dependencies) rm -rf examples/ %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Sun Feb 16 2025 Aleksei Bavshin - 0.30.9-1 - Update to 0.30.9 (rhbz#2344162) * Sun Jan 19 2025 Aleksei Bavshin - 0.30.8-1 - Update to 0.30.8 (rhbz#2335545) * Sun Jan 19 2025 Fedora Release Engineering - 0.30.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jan 03 2025 Fabio Valentini - 0.30.7-1 - Update to version 0.30.7; Fixes RHBZ#2333633 * Mon Oct 21 2024 Aleksei Bavshin - 0.30.5-1 - Update to 0.30.5 (rhbz#2277513) * Sat Jul 20 2024 Fedora Release Engineering - 0.29.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Mar 24 2024 Aleksei Bavshin - 0.29.15-1 - Update to 0.29.15 (rhbz#2268119) * Tue Mar 05 2024 Fabio Valentini - 0.29.13-1 - Update to version 0.29.13; Fixes RHBZ#2266028 * Tue Jan 30 2024 Fabio Valentini - 0.29.10-1 - Update to version 0.29.10; Fixes RHBZ#2258440 * Sat Jan 27 2024 Fedora Release Engineering - 0.29.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 06 2024 Aleksei Bavshin - 0.29.9-1 - Update to 0.29.9 (rhbz#2256936) * Sun Dec 31 2023 Aleksei Bavshin - 0.29.8-1 - Update to 0.29.8 (rhbz#2256344) * Thu Dec 28 2023 Aleksei Bavshin - 0.29.7-1 - Update to 0.29.7 (rhbz#2245420) * Tue Oct 03 2023 Aleksei Bavshin - 0.28.7-1 - Update to 0.28.7 * Sat Jul 22 2023 Fedora Release Engineering - 0.28.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun May 21 2023 Aleksei Bavshin - 0.28.6-1 - Update to 0.28.6 (rhbz#2111281) * Fri May 05 2023 Aleksei Bavshin - 0.28.4-1 - Update to 0.28.4 * Sat Jan 21 2023 Fedora Release Engineering - 0.26.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.26.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Feb 25 2022 Zbigniew Jędrzejewski-Szmek - 0.26.1-1 - Version 0.26.1 (rhbz#1960873) * Sat Jan 22 2022 Fedora Release Engineering - 0.24.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.24.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Feb 06 12:25:00 CET 2021 returntrip - 0.24.0-1 - Update to version 0.24 - Fixes RHZB#1906507 * Wed Jan 27 2021 Fedora Release Engineering - 0.23.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Oct 10 15:21:00 CEST 2020 returntrip - 0.23.0-1 - Initial package ## END: Generated by rpmautospec