## START: Set by rpmautospec ## (rpmautospec version 0.7.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 26 %bcond_without check %global debug_package %{nil} %global crate libadwaita Name: rust-libadwaita0.5 Version: 0.5.3 Release: %autorelease Summary: Rust bindings for libadwaita License: MIT URL: https://crates.io/crates/libadwaita Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Rust bindings for libadwaita.} %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}/LICENCE %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}+gtk_v4_10-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gtk_v4_10-devel %{_description} This package contains library source intended for building other packages which use the "gtk_v4_10" feature of the "%{crate}" crate. %files -n %{name}+gtk_v4_10-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gtk_v4_2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gtk_v4_2-devel %{_description} This package contains library source intended for building other packages which use the "gtk_v4_2" feature of the "%{crate}" crate. %files -n %{name}+gtk_v4_2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gtk_v4_4-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gtk_v4_4-devel %{_description} This package contains library source intended for building other packages which use the "gtk_v4_4" feature of the "%{crate}" crate. %files -n %{name}+gtk_v4_4-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gtk_v4_6-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gtk_v4_6-devel %{_description} This package contains library source intended for building other packages which use the "gtk_v4_6" feature of the "%{crate}" crate. %files -n %{name}+gtk_v4_6-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gtk_v4_8-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gtk_v4_8-devel %{_description} This package contains library source intended for building other packages which use the "gtk_v4_8" feature of the "%{crate}" crate. %files -n %{name}+gtk_v4_8-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v1_1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v1_1-devel %{_description} This package contains library source intended for building other packages which use the "v1_1" feature of the "%{crate}" crate. %files -n %{name}+v1_1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v1_2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v1_2-devel %{_description} This package contains library source intended for building other packages which use the "v1_2" feature of the "%{crate}" crate. %files -n %{name}+v1_2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v1_3-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v1_3-devel %{_description} This package contains library source intended for building other packages which use the "v1_3" feature of the "%{crate}" crate. %files -n %{name}+v1_3-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v1_4-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v1_4-devel %{_description} This package contains library source intended for building other packages which use the "v1_4" feature of the "%{crate}" crate. %files -n %{name}+v1_4-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 * Sun Jan 19 2025 Fedora Release Engineering - 0.5.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jul 19 2024 Fedora Release Engineering - 0.5.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Mar 27 2024 Fabio Valentini - 0.5.3-1 - Initial import (libadwaita 0.5 compat package) ## END: Generated by rpmautospec