## 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 # * missing dev-dependencies: gl ^0.14 %bcond_with check %global debug_package %{nil} %global crate xcb Name: rust-xcb Version: 1.3.0 Release: %autorelease Summary: Rust safe bindings for XCB License: MIT URL: https://crates.io/crates/xcb Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Rust safe bindings for XCB.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch Requires: libxcb-devel %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/CONTRIBUTING.md %doc %{crate_instdir}/EXCEPTION_LIST.txt %doc %{crate_instdir}/README.md %doc %{crate_instdir}/TODO_v1.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}+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}+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}+debug_atom_names-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+debug_atom_names-devel %{_description} This package contains library source intended for building other packages which use the "debug_atom_names" feature of the "%{crate}" crate. %files -n %{name}+debug_atom_names-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}+ge-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ge-devel %{_description} This package contains library source intended for building other packages which use the "ge" feature of the "%{crate}" crate. %files -n %{name}+ge-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}+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}+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}+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}+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}+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}+xlib_xcb-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xlib_xcb-devel %{_description} This package contains library source intended for building other packages which use the "xlib_xcb" feature of the "%{crate}" crate. %files -n %{name}+xlib_xcb-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 echo 'libxcb-devel' %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 - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 11 2024 Fabio Valentini - 1.3.0-1 - Update to version 1.3.0; Fixes RHBZ#2253775 * Thu Aug 10 2023 Fabio Valentini - 1.2.2-2 - Bump quick-xml dependency from 0.28 to 0.30 * Thu Jul 27 2023 Fabio Valentini - 1.2.2-1 - Update to version 1.2.2; Fixes RHBZ#2224774 * Sat Jul 22 2023 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 07 2023 Fabio Valentini - 1.2.1-1 - Update to version 1.2.1; Fixes RHBZ#2061151 * Sat Jan 21 2023 Fedora Release Engineering - 0.10.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.10.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 0.10.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Nov 26 2021 Fabio Valentini - 0.10.1-2 - Restore erroneously dropped libxcb-devel dependency * Fri Nov 26 2021 Fabio Valentini - 0.10.1-1 - Update to version 0.10.1; Fixes RHBZ#2005636 * Fri Jul 23 2021 Fedora Release Engineering - 0.9.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.9.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.9.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sat Jun 27 2020 Michel Alexandre Salim - 0.9.0-3 - devel package now pulls in pkgconfig(xcb) for building dependents * Mon Jun 8 2020 Michel Alexandre Salim - 0.9.0-2 - add missing BR on python3 - Fix build on Python 3.9 * Fri May 22 12:59:18 PDT 2020 Michel Alexandre Salim - 0.9.0-1 - Initial package ## END: Generated by rpmautospec