## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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 28 %bcond check 1 %global debug_package %{nil} %global crate input-sys Name: rust-input-sys Version: 1.18.0 Release: %autorelease Summary: Bindgen generated unsafe libinput wrapper License: MIT URL: https://crates.io/crates/input-sys Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * bump bindgen dependency from 0.69 to 0.71..0.72: # https://github.com/Smithay/input.rs/pull/80 # * regenerate bindings during the build by default Patch: input-sys-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 BuildRequires: pkgconfig(libinput) BuildRequires: pkgconfig(libudev) %global _description %{expand: Bindgen generated unsafe libinput wrapper.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(libinput) Requires: pkgconfig(libudev) %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}+bindgen-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bindgen-devel %{_description} This package contains library source intended for building other packages which use the "bindgen" feature of the "%{crate}" crate. %files -n %{name}+bindgen-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libinput_1_11-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(libinput) >= 1.11 %description -n %{name}+libinput_1_11-devel %{_description} This package contains library source intended for building other packages which use the "libinput_1_11" feature of the "%{crate}" crate. %files -n %{name}+libinput_1_11-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libinput_1_14-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(libinput) >= 1.14 %description -n %{name}+libinput_1_14-devel %{_description} This package contains library source intended for building other packages which use the "libinput_1_14" feature of the "%{crate}" crate. %files -n %{name}+libinput_1_14-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libinput_1_15-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(libinput) >= 1.15 %description -n %{name}+libinput_1_15-devel %{_description} This package contains library source intended for building other packages which use the "libinput_1_15" feature of the "%{crate}" crate. %files -n %{name}+libinput_1_15-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libinput_1_19-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(libinput) >= 1.19 %description -n %{name}+libinput_1_19-devel %{_description} This package contains library source intended for building other packages which use the "libinput_1_19" feature of the "%{crate}" crate. %files -n %{name}+libinput_1_19-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+libinput_1_21-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(libinput) >= 1.21 %description -n %{name}+libinput_1_21-devel %{_description} This package contains library source intended for building other packages which use the "libinput_1_21" feature of the "%{crate}" crate. %files -n %{name}+libinput_1_21-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+proc-macro2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+proc-macro2-devel %{_description} This package contains library source intended for building other packages which use the "proc-macro2" feature of the "%{crate}" crate. %files -n %{name}+proc-macro2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+regex-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+regex-devel %{_description} This package contains library source intended for building other packages which use the "regex" feature of the "%{crate}" crate. %files -n %{name}+regex-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+update_bindings-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+update_bindings-devel %{_description} This package contains library source intended for building other packages which use the "update_bindings" feature of the "%{crate}" crate. %files -n %{name}+update_bindings-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+use_bindgen-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+use_bindgen-devel %{_description} This package contains library source intended for building other packages which use the "use_bindgen" feature of the "%{crate}" crate. %files -n %{name}+use_bindgen-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 17 2026 Fedora Release Engineering - 1.18.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Sat Nov 29 2025 Fabio Valentini - 1.18.0-2 - Restore feature subpackages for libinput API levels * Fri Oct 10 2025 Fabio Valentini - 1.18.0-1 - Update to version 1.18.0; Fixes RHBZ#2259220 * Fri Jul 25 2025 Fedora Release Engineering - 1.17.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jan 19 2025 Fedora Release Engineering - 1.17.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jul 19 2024 Fedora Release Engineering - 1.17.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 1.17.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 27 2023 Davide Cavalca - 1.17.0-1 - Initial import; Fixes: RHBZ#2224960 ## END: Generated by rpmautospec