## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 27 %bcond check 1 %global debug_package %{nil} %global crate wayland-protocols-misc Name: rust-wayland-protocols-misc Version: 0.3.9 Release: %autorelease Summary: Generated API for misc and deprecated wayland protocol extensions License: LGPL-2.1-or-later AND MIT URL: https://crates.io/crates/wayland-protocols-misc Source: %{crates_source} Source2: https://invent.kde.org/libraries/plasma-wayland-protocols/-/raw/master/COPYING.LIB BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Generated API for misc and deprecated wayland protocol extensions.} %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-LGPL-2.1.txt %license %{crate_instdir}/LICENSE.txt %doc %{crate_instdir}/CHANGELOG.md %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}+client-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+client-devel %{_description} This package contains library source intended for building other packages which use the "client" feature of the "%{crate}" crate. %files -n %{name}+client-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+server-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+server-devel %{_description} This package contains library source intended for building other packages which use the "server" feature of the "%{crate}" crate. %files -n %{name}+server-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wayland-client-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wayland-client-devel %{_description} This package contains library source intended for building other packages which use the "wayland-client" feature of the "%{crate}" crate. %files -n %{name}+wayland-client-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+wayland-server-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+wayland-server-devel %{_description} This package contains library source intended for building other packages which use the "wayland-server" feature of the "%{crate}" crate. %files -n %{name}+wayland-server-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 cp %{SOURCE2} LICENSE-LGPL-2.1.txt %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 * Sun Nov 09 2025 Aleksei Bavshin - 0.3.9-1 - Update to version 0.3.9; Fixes RHBZ#2384257 * Fri Jul 25 2025 Fedora Release Engineering - 0.3.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue May 06 2025 Fabio Valentini - 0.3.8-1 - Update to version 0.3.8; Fixes RHBZ#2362801 * Mon Mar 31 2025 Sam Day - 0.3.6-1 - Initial import (fedora#2344240). ## END: Generated by rpmautospec