## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 24 %bcond_without check %global debug_package %{nil} %global crate gdk4-wayland-sys Name: rust-gdk4-wayland-sys Version: 0.7.2 Release: %autorelease Summary: FFI bindings of GDK4 Wayland License: MIT URL: https://crates.io/crates/gdk4-wayland-sys Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: FFI bindings of GDK4 Wayland.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(gtk4-wayland) >= 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-wayland) >= 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-wayland) >= 4.11 %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_4-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(gtk4-wayland) >= 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_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires echo 'pkgconfig(gtk4-wayland) >= 4.0.0' %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Fri Jan 26 2024 Fedora Release Engineering - 0.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Aug 12 2023 Kalev Lember - 0.7.2-1 - Update to 0.7.2 (rhbz#2231639) * Fri Aug 11 2023 Kalev Lember - 0.7.0-1 - Update to 0.7.0 (rhbz#2224901) * Fri Jul 21 2023 Fedora Release Engineering - 0.6.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Apr 21 2023 Kalev Lember - 0.6.3-1 - Initial Fedora packaging (rhbz#2184719) ## END: Generated by rpmautospec