## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 # * tests are broken: https://github.com/gtk-rs/gtk-rs-core/issues/64 %bcond check 0 %global debug_package %{nil} %global crate gtk4-sys Name: rust-gtk4-sys Version: 0.10.0 Release: %autorelease Summary: FFI bindings of GTK 4 License: MIT URL: https://crates.io/crates/gtk4-sys Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 BuildRequires: pkgconfig(gtk4) >= 4.0.0 %global _description %{expand: FFI bindings of GTK 4.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(gtk4) >= 4.0.0 %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %{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}+v4_10-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(gtk4) >= 4.10 %description -n %{name}+v4_10-devel %{_description} This package contains library source intended for building other packages which use the "v4_10" feature of the "%{crate}" crate. %files -n %{name}+v4_10-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v4_12-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(gtk4) >= 4.12 %description -n %{name}+v4_12-devel %{_description} This package contains library source intended for building other packages which use the "v4_12" feature of the "%{crate}" crate. %files -n %{name}+v4_12-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v4_14-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(gtk4) >= 4.14 %description -n %{name}+v4_14-devel %{_description} This package contains library source intended for building other packages which use the "v4_14" feature of the "%{crate}" crate. %files -n %{name}+v4_14-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v4_16-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(gtk4) >= 4.16 %description -n %{name}+v4_16-devel %{_description} This package contains library source intended for building other packages which use the "v4_16" feature of the "%{crate}" crate. %files -n %{name}+v4_16-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v4_18-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(gtk4) >= 4.18 %description -n %{name}+v4_18-devel %{_description} This package contains library source intended for building other packages which use the "v4_18" feature of the "%{crate}" crate. %files -n %{name}+v4_18-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v4_2-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(gtk4) >= 4.2 %description -n %{name}+v4_2-devel %{_description} This package contains library source intended for building other packages which use the "v4_2" feature of the "%{crate}" crate. %files -n %{name}+v4_2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v4_20-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(gtk4) >= 4.19 %description -n %{name}+v4_20-devel %{_description} This package contains library source intended for building other packages which use the "v4_20" feature of the "%{crate}" crate. %files -n %{name}+v4_20-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v4_4-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(gtk4) >= 4.4 %description -n %{name}+v4_4-devel %{_description} This package contains library source intended for building other packages which use the "v4_4" feature of the "%{crate}" crate. %files -n %{name}+v4_4-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v4_6-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(gtk4) >= 4.6 %description -n %{name}+v4_6-devel %{_description} This package contains library source intended for building other packages which use the "v4_6" feature of the "%{crate}" crate. %files -n %{name}+v4_6-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v4_8-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(gtk4) >= 4.7 %description -n %{name}+v4_8-devel %{_description} This package contains library source intended for building other packages which use the "v4_8" feature of the "%{crate}" crate. %files -n %{name}+v4_8-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 * Wed Aug 06 2025 Fabio Valentini - 0.10.0-1 - Update to version 0.10.0; Fixes RHBZ#2380184 * Fri Jul 25 2025 Fedora Release Engineering - 0.9.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Feb 24 2025 Fabio Valentini - 0.9.6-1 - Update to version 0.9.6; Fixes RHBZ#2345990 * Sun Jan 19 2025 Fedora Release Engineering - 0.9.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sun Jan 05 2025 Fabio Valentini - 0.9.5-1 - Update to version 0.9.5; Fixes RHBZ#2333283 * Mon Dec 02 2024 Fabio Valentini - 0.9.4-1 - Update to version 0.9.4; Fixes RHBZ#2325472 * Wed Nov 06 2024 Fabio Valentini - 0.9.3-1 - Update to version 0.9.3; Fixes RHBZ#2323059 * Sat Oct 05 2024 Fabio Valentini - 0.9.2-1 - Update to version 0.9.2; Fixes RHBZ#2314899 * Tue Aug 13 2024 Fabio Valentini - 0.9.0-1 - Update to version 0.9.0; Fixes RHBZ#2297145 * Fri Jul 19 2024 Fedora Release Engineering - 0.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed May 08 2024 Fabio Valentini - 0.8.2-1 - Update to version 0.8.2; Fixes RHBZ#2277367 * Tue Mar 26 2024 Fabio Valentini - 0.8.1-1 - Update to version 0.8.1; Fixes RHBZ#2262632 * Fri Jan 26 2024 Fedora Release Engineering - 0.7.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Sep 24 2023 Fabio Valentini - 0.7.3-1 - Update to version 0.7.3; Fixes RHBZ#2240347 * Sat Aug 12 2023 Kalev Lember - 0.7.2-1 - Update to version 0.7.2; Fixes RHBZ#2231646 * Fri Aug 11 2023 Kalev Lember - 0.7.0-1 - Update to version 0.7.0; Fixes RHBZ#2224894 * Fri Aug 11 2023 Kalev Lember - 0.6.3-3 - Enable the "v1_12" feature now that we have new gtk4 1.12 in f39 * Fri Jul 21 2023 Fedora Release Engineering - 0.6.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Mar 19 2023 Fabio Valentini - 0.6.3-1 - Update to version 0.6.3; Fixes RHBZ#2168318 * Fri Feb 03 2023 Fabio Valentini - 0.5.5-1 - Update to version 0.5.5; Fixes RHBZ#2150844 * Fri Jan 20 2023 Fedora Release Engineering - 0.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Nov 29 2022 Fabio Valentini - 0.5.2-1 - Update to version 0.5.2; Fixes RHBZ#2136118 * Mon Aug 08 2022 Fabio Valentini - 0.4.8-1 - Update to version 0.4.8; Fixes RHBZ#2093625 * Sat Jul 23 2022 Fedora Release Engineering - 0.4.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Feb 12 2022 Fabio Valentini - 0.4.5-1 - Update to version 0.4.5; Fixes RHBZ#2040907 * Fri Jan 21 2022 Fedora Release Engineering - 0.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sun Nov 07 2021 Rémi Lauzier - 0.3.1-2 - Update source * Sun Nov 07 2021 Rémi Lauzier - 0.3.1-1 - Update to version 0.3.1; Fixes RHBZ#2006439 * Mon Aug 09 2021 Rémi Lauzier - 0.2.0-1 - Initial import; Fixes RHBZ#1977061 ## END: Generated by rpmautospec