## 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 gdk4-x11-sys Name: rust-gdk4-x11-sys0.9 Version: 0.9.6 Release: %autorelease Summary: FFI bindings of GDK4 X11 License: MIT URL: https://crates.io/crates/gdk4-x11-sys Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 BuildRequires: pkgconfig(gtk4-x11) >= 4.0.0 %global _description %{expand: FFI bindings of GDK4 X11.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(gtk4-x11) >= 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-x11) >= 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_16-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(gtk4-x11) >= 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-x11) >= 4.17 %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_4-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(gtk4-x11) >= 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 %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.9.6-1 - Uncommitted changes ## END: Generated by rpmautospec