## 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-x11 Name: rust-gdk4-x11 Version: 0.7.2 Release: %autorelease Summary: Rust bindings of the GDK4 X11 library License: MIT URL: https://crates.io/crates/gdk4-x11 Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: Rust bindings of the GDK4 X11 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}/COPYRIGHT %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}+v4_10-devel Summary: %{summary} BuildArch: noarch %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_4-devel Summary: %{summary} BuildArch: noarch %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}+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}+xlib-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xlib-devel %{_description} This package contains library source intended for building other packages which use the "xlib" feature of the "%{crate}" crate. %files -n %{name}+xlib-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -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 * 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#2231640) * Fri Aug 11 2023 Kalev Lember - 0.7.1-1 - Update to 0.7.1 (rhbz#2224902) * Fri Jul 21 2023 Fedora Release Engineering - 0.6.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Apr 27 2023 Kalev Lember - 0.6.3-1 - Initial Fedora packaging (rhbz#2184723) ## END: Generated by rpmautospec