## 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 glutin Name: rust-glutin Version: 0.32.2 Release: %autorelease Summary: Cross-platform OpenGL context provider License: Apache-2.0 URL: https://crates.io/crates/glutin Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: glutin-fix-metadata-auto.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Cross-platform OpenGL context provider.} %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}/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}+egl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+egl-devel %{_description} This package contains library source intended for building other packages which use the "egl" feature of the "%{crate}" crate. %files -n %{name}+egl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+glutin_egl_sys-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+glutin_egl_sys-devel %{_description} This package contains library source intended for building other packages which use the "glutin_egl_sys" feature of the "%{crate}" crate. %files -n %{name}+glutin_egl_sys-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+glutin_glx_sys-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+glutin_glx_sys-devel %{_description} This package contains library source intended for building other packages which use the "glutin_glx_sys" feature of the "%{crate}" crate. %files -n %{name}+glutin_glx_sys-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+glx-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+glx-devel %{_description} This package contains library source intended for building other packages which use the "glx" feature of the "%{crate}" crate. %files -n %{name}+glx-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libloading-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libloading-devel %{_description} This package contains library source intended for building other packages which use the "libloading" feature of the "%{crate}" crate. %files -n %{name}+libloading-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-sys-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wayland-sys-devel %{_description} This package contains library source intended for building other packages which use the "wayland-sys" feature of the "%{crate}" crate. %files -n %{name}+wayland-sys-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wgl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wgl-devel %{_description} This package contains library source intended for building other packages which use the "wgl" feature of the "%{crate}" crate. %files -n %{name}+wgl-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 %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 ## START: Generated by rpmautospec * Sun Jan 19 2025 Aleksei Bavshin - 0.32.2-1 - Update to 0.32.2 (rhbz#2337209) * Sun Jan 19 2025 Fedora Release Engineering - 0.32.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sun Oct 20 2024 Aleksei Bavshin - 0.32.1-1 - Update to 0.32.1 (rhbz#2291016) * Fri Jul 19 2024 Fedora Release Engineering - 0.31.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Feb 14 2024 Fabio Valentini - 0.31.3-1 - update to version 0.31.3; Fixes RHBZ#2263918 * Fri Jan 26 2024 Fedora Release Engineering - 0.31.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Dec 28 2023 Aleksei Bavshin - 0.31.2-1 - Update to 0.31.2 (rhbz#2245430) * Thu Aug 31 2023 Fabio Valentini - 0.30.10-1 - Update to version 0.30.10; Fixes RHBZ#2229440 * Fri Jul 21 2023 Fedora Release Engineering - 0.30.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jul 01 2023 Aleksei Bavshin - 0.30.9-1 - Update to 0.30.9 (rhbz#2215496) * Sun May 21 2023 Aleksei Bavshin - 0.30.8-1 - Update to 0.30.8 (rhbz#2203616) * Sun Apr 02 2023 Aleksei Bavshin - 0.30.7-1 - Update to 0.30.7 * Fri Jan 20 2023 Fedora Release Engineering - 0.28.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.28.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Feb 25 2022 Zbigniew Jędrzejewski-Szmek - 0.28.0-1 - Version 0.28.0 (rhbz#1974571) * Fri Jan 21 2022 Fedora Release Engineering - 0.26.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.26.0-2 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Feb 06 12:25:00 CET 2021 returntrip - 0.26.0-1 - Update to version 0.26 - Fixes RHBZ#1906629 * Wed Jan 27 2021 Fedora Release Engineering - 0.25.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Oct 15 17:00:09 CEST 2020 returntrip - 0.25.1-1 - Initial package ## END: Generated by rpmautospec