## 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 24 %bcond_without check %global debug_package %{nil} %global crate glib Name: rust-glib0.17 Version: 0.17.10 Release: %autorelease Summary: Rust bindings for the GLib library License: MIT URL: https://crates.io/crates/glib Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * drop unused, benchmark-only criterion dev-dependency to speed up builds Patch: glib-fix-metadata.diff BuildRequires: rust-packaging >= 21 %global _description %{expand: Rust bindings for the GLib library.} %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}/COPYRIGHT %license %{crate_instdir}/LICENSE %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}+compiletests-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compiletests-devel %{_description} This package contains library source intended for building other packages which use the "compiletests" feature of the "%{crate}" crate. %files -n %{name}+compiletests-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}+gio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gio-devel %{_description} This package contains library source intended for building other packages which use the "gio" feature of the "%{crate}" crate. %files -n %{name}+gio-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gio_ffi-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gio_ffi-devel %{_description} This package contains library source intended for building other packages which use the "gio_ffi" feature of the "%{crate}" crate. %files -n %{name}+gio_ffi-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+log-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+log-devel %{_description} This package contains library source intended for building other packages which use the "log" feature of the "%{crate}" crate. %files -n %{name}+log-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+log_macros-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+log_macros-devel %{_description} This package contains library source intended for building other packages which use the "log_macros" feature of the "%{crate}" crate. %files -n %{name}+log_macros-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rs-log-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rs-log-devel %{_description} This package contains library source intended for building other packages which use the "rs-log" feature of the "%{crate}" crate. %files -n %{name}+rs-log-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_58-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_58-devel %{_description} This package contains library source intended for building other packages which use the "v2_58" feature of the "%{crate}" crate. %files -n %{name}+v2_58-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_60-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_60-devel %{_description} This package contains library source intended for building other packages which use the "v2_60" feature of the "%{crate}" crate. %files -n %{name}+v2_60-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_62-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_62-devel %{_description} This package contains library source intended for building other packages which use the "v2_62" feature of the "%{crate}" crate. %files -n %{name}+v2_62-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_64-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_64-devel %{_description} This package contains library source intended for building other packages which use the "v2_64" feature of the "%{crate}" crate. %files -n %{name}+v2_64-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_66-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_66-devel %{_description} This package contains library source intended for building other packages which use the "v2_66" feature of the "%{crate}" crate. %files -n %{name}+v2_66-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_68-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_68-devel %{_description} This package contains library source intended for building other packages which use the "v2_68" feature of the "%{crate}" crate. %files -n %{name}+v2_68-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_70-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_70-devel %{_description} This package contains library source intended for building other packages which use the "v2_70" feature of the "%{crate}" crate. %files -n %{name}+v2_70-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_72-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_72-devel %{_description} This package contains library source intended for building other packages which use the "v2_72" feature of the "%{crate}" crate. %files -n %{name}+v2_72-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_74-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_74-devel %{_description} This package contains library source intended for building other packages which use the "v2_74" feature of the "%{crate}" crate. %files -n %{name}+v2_74-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_76-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v2_76-devel %{_description} This package contains library source intended for building other packages which use the "v2_76" feature of the "%{crate}" crate. %files -n %{name}+v2_76-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 # * skip a test that only works when run in-tree %cargo_test -- -- --skip structured_log %endif %changelog ## START: Generated by rpmautospec * Fri Jan 26 2024 Fedora Release Engineering - 0.17.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Aug 07 2023 Kalev Lember - 0.17.10-1 - Initial import (glib 0.17 compat package) ## END: Generated by rpmautospec