## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 x11 Name: rust-x11 Version: 2.21.0 Release: %autorelease Summary: X11 library bindings for Rust License: MIT URL: https://crates.io/crates/x11 Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: X11 library bindings for Rust.} %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-MIT %{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-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+all-devel %{_description} This package contains library source intended for building other packages which use the "all" feature of the "%{crate}" crate. %files -n %{name}+all-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dox-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dox-devel %{_description} This package contains library source intended for building other packages which use the "dox" feature of the "%{crate}" crate. %files -n %{name}+dox-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dpms-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(xext) >= 1.3 %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}+glx-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(gl) >= 1 %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}+xcursor-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(xcursor) >= 1.1 %description -n %{name}+xcursor-devel %{_description} This package contains library source intended for building other packages which use the "xcursor" feature of the "%{crate}" crate. %files -n %{name}+xcursor-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xf86vmode-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(xxf86vm) >= 1.1 %description -n %{name}+xf86vmode-devel %{_description} This package contains library source intended for building other packages which use the "xf86vmode" feature of the "%{crate}" crate. %files -n %{name}+xf86vmode-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xfixes-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(xfixes) >= 3.1 %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}+xft-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(xft) >= 2.1 %description -n %{name}+xft-devel %{_description} This package contains library source intended for building other packages which use the "xft" feature of the "%{crate}" crate. %files -n %{name}+xft-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xinerama-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(xinerama) >= 1.1 %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 Requires: pkgconfig(xi) >= 1.7 %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}+xlib-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(x11) >= 1.4.99.1 %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 %package -n %{name}+xlib_xcb-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(x11-xcb) >= 1.6 %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}+xmu-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(xmu) >= 1.1 %description -n %{name}+xmu-devel %{_description} This package contains library source intended for building other packages which use the "xmu" feature of the "%{crate}" crate. %files -n %{name}+xmu-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xrandr-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(xrandr) >= 1.5 %description -n %{name}+xrandr-devel %{_description} This package contains library source intended for building other packages which use the "xrandr" feature of the "%{crate}" crate. %files -n %{name}+xrandr-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xrecord-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xrecord-devel %{_description} This package contains library source intended for building other packages which use the "xrecord" feature of the "%{crate}" crate. %files -n %{name}+xrecord-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xrender-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(xrender) >= 0.9.6 %description -n %{name}+xrender-devel %{_description} This package contains library source intended for building other packages which use the "xrender" feature of the "%{crate}" crate. %files -n %{name}+xrender-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xss-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(xscrnsaver) >= 1.2 %description -n %{name}+xss-devel %{_description} This package contains library source intended for building other packages which use the "xss" feature of the "%{crate}" crate. %files -n %{name}+xss-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+xt-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(xt) >= 1.1 %description -n %{name}+xt-devel %{_description} This package contains library source intended for building other packages which use the "xt" feature of the "%{crate}" crate. %files -n %{name}+xt-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}+xtst-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(xtst) >= 1.2 %description -n %{name}+xtst-devel %{_description} This package contains library source intended for building other packages which use the "xtst" feature of the "%{crate}" crate. %files -n %{name}+xtst-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 * Sat Jan 27 2024 Fedora Release Engineering - 2.21.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 2.21.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Feb 19 2023 Fabio Valentini - 2.21.0-1 - Update to version 2.21.0; Fixes RHBZ#2162132 * Sat Jan 21 2023 Fedora Release Engineering - 2.20.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Dec 14 2022 Fabio Valentini - 2.20.1-1 - Update to version 2.20.1; Fixes RHBZ#2148201 * Thu Aug 11 2022 Fabio Valentini - 2.20.0-1 - Update to version 2.20.0; Fixes RHBZ#2117088 * Sat Jul 23 2022 Fedora Release Engineering - 2.19.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 2.19.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Sep 30 2021 Fabio Valentini - 2.19.1-1 - Update to version 2.19.1; Fixes RHBZ#2006022 * Fri Jul 23 2021 Fedora Release Engineering - 2.18.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 2.18.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.18.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 2.18.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Jan 27 2020 Josh Stone - 2.18.2-1 - Update to 2.18.2 * Fri Jul 26 2019 Fedora Release Engineering - 2.18.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 16 2019 Igor Gnatenko - 2.18.1-1 - Initial package ## END: Generated by rpmautospec