## 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 25 %bcond_without check %global debug_package %{nil} %global crate x11rb Name: rust-x11rb Version: 0.13.0 Release: %autorelease Summary: Rust bindings to X11 License: MIT OR Apache-2.0 URL: https://crates.io/crates/x11rb Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: x11rb-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * Relax "polling" dependency Patch: x11rb-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Rust bindings to X11.} %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-APACHE %license %{crate_instdir}/LICENSE-MIT %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}+all-extensions-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+all-extensions-devel %{_description} This package contains library source intended for building other packages which use the "all-extensions" feature of the "%{crate}" crate. %files -n %{name}+all-extensions-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+allow-unsafe-code-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+allow-unsafe-code-devel %{_description} This package contains library source intended for building other packages which use the "allow-unsafe-code" feature of the "%{crate}" crate. %files -n %{name}+allow-unsafe-code-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+as-raw-xcb-connection-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+as-raw-xcb-connection-devel %{_description} This package contains library source intended for building other packages which use the "as-raw-xcb-connection" feature of the "%{crate}" crate. %files -n %{name}+as-raw-xcb-connection-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+composite-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+composite-devel %{_description} This package contains library source intended for building other packages which use the "composite" feature of the "%{crate}" crate. %files -n %{name}+composite-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+cursor-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cursor-devel %{_description} This package contains library source intended for building other packages which use the "cursor" feature of the "%{crate}" crate. %files -n %{name}+cursor-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+damage-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+damage-devel %{_description} This package contains library source intended for building other packages which use the "damage" feature of the "%{crate}" crate. %files -n %{name}+damage-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dbe-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dbe-devel %{_description} This package contains library source intended for building other packages which use the "dbe" feature of the "%{crate}" crate. %files -n %{name}+dbe-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dl-libxcb-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dl-libxcb-devel %{_description} This package contains library source intended for building other packages which use the "dl-libxcb" feature of the "%{crate}" crate. %files -n %{name}+dl-libxcb-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dpms-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dpms-devel %{_description} This package contains library source intended for building other packages which use the "dpms" feature of the "%{crate}" crate. %files -n %{name}+dpms-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dri2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dri2-devel %{_description} This package contains library source intended for building other packages which use the "dri2" feature of the "%{crate}" crate. %files -n %{name}+dri2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dri3-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dri3-devel %{_description} This package contains library source intended for building other packages which use the "dri3" feature of the "%{crate}" crate. %files -n %{name}+dri3-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+extra-traits-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+extra-traits-devel %{_description} This package contains library source intended for building other packages which use the "extra-traits" feature of the "%{crate}" crate. %files -n %{name}+extra-traits-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}+image-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+image-devel %{_description} This package contains library source intended for building other packages which use the "image" feature of the "%{crate}" crate. %files -n %{name}+image-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+libc-devel %{_description} This package contains library source intended for building other packages which use the "libc" feature of the "%{crate}" crate. %files -n %{name}+libc-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}+once_cell-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+once_cell-devel %{_description} This package contains library source intended for building other packages which use the "once_cell" feature of the "%{crate}" crate. %files -n %{name}+once_cell-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+present-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+present-devel %{_description} This package contains library source intended for building other packages which use the "present" feature of the "%{crate}" crate. %files -n %{name}+present-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+randr-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+randr-devel %{_description} This package contains library source intended for building other packages which use the "randr" feature of the "%{crate}" crate. %files -n %{name}+randr-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+record-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+record-devel %{_description} This package contains library source intended for building other packages which use the "record" feature of the "%{crate}" crate. %files -n %{name}+record-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+render-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+render-devel %{_description} This package contains library source intended for building other packages which use the "render" feature of the "%{crate}" crate. %files -n %{name}+render-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+request-parsing-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+request-parsing-devel %{_description} This package contains library source intended for building other packages which use the "request-parsing" feature of the "%{crate}" crate. %files -n %{name}+request-parsing-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+res-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+res-devel %{_description} This package contains library source intended for building other packages which use the "res" feature of the "%{crate}" crate. %files -n %{name}+res-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+resource_manager-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+resource_manager-devel %{_description} This package contains library source intended for building other packages which use the "resource_manager" feature of the "%{crate}" crate. %files -n %{name}+resource_manager-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+screensaver-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+screensaver-devel %{_description} This package contains library source intended for building other packages which use the "screensaver" feature of the "%{crate}" crate. %files -n %{name}+screensaver-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+shape-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+shape-devel %{_description} This package contains library source intended for building other packages which use the "shape" feature of the "%{crate}" crate. %files -n %{name}+shape-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+shm-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+shm-devel %{_description} This package contains library source intended for building other packages which use the "shm" feature of the "%{crate}" crate. %files -n %{name}+shm-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sync-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sync-devel %{_description} This package contains library source intended for building other packages which use the "sync" feature of the "%{crate}" crate. %files -n %{name}+sync-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tracing-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tracing-devel %{_description} This package contains library source intended for building other packages which use the "tracing" feature of the "%{crate}" crate. %files -n %{name}+tracing-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xevie-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xevie-devel %{_description} This package contains library source intended for building other packages which use the "xevie" feature of the "%{crate}" crate. %files -n %{name}+xevie-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xf86dri-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xf86dri-devel %{_description} This package contains library source intended for building other packages which use the "xf86dri" feature of the "%{crate}" crate. %files -n %{name}+xf86dri-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xf86vidmode-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xf86vidmode-devel %{_description} This package contains library source intended for building other packages which use the "xf86vidmode" feature of the "%{crate}" crate. %files -n %{name}+xf86vidmode-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xfixes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xfixes-devel %{_description} This package contains library source intended for building other packages which use the "xfixes" feature of the "%{crate}" crate. %files -n %{name}+xfixes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xinerama-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xinerama-devel %{_description} This package contains library source intended for building other packages which use the "xinerama" feature of the "%{crate}" crate. %files -n %{name}+xinerama-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xinput-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xinput-devel %{_description} This package contains library source intended for building other packages which use the "xinput" feature of the "%{crate}" crate. %files -n %{name}+xinput-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xkb-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xkb-devel %{_description} This package contains library source intended for building other packages which use the "xkb" feature of the "%{crate}" crate. %files -n %{name}+xkb-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xprint-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xprint-devel %{_description} This package contains library source intended for building other packages which use the "xprint" feature of the "%{crate}" crate. %files -n %{name}+xprint-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xselinux-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xselinux-devel %{_description} This package contains library source intended for building other packages which use the "xselinux" feature of the "%{crate}" crate. %files -n %{name}+xselinux-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xtest-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xtest-devel %{_description} This package contains library source intended for building other packages which use the "xtest" feature of the "%{crate}" crate. %files -n %{name}+xtest-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xv-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xv-devel %{_description} This package contains library source intended for building other packages which use the "xv" feature of the "%{crate}" crate. %files -n %{name}+xv-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xvmc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xvmc-devel %{_description} This package contains library source intended for building other packages which use the "xvmc" feature of the "%{crate}" crate. %files -n %{name}+xvmc-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 * Sat Jan 27 2024 Fedora Release Engineering - 0.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Dec 28 2023 Aleksei Bavshin - 0.13.0-1 - Update to 0.13.0 (rhbz#2210411) * Sat Jul 22 2023 Fedora Release Engineering - 0.11.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue May 02 2023 Aleksei Bavshin - 0.11.1-1 - Initial import (rhbz#2183864) ## END: Generated by rpmautospec