## START: Set by rpmautospec ## (rpmautospec version 0.7.2) ## 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 26 # * tests are broken: https://github.com/gtk-rs/gtk-rs-core/issues/64 %bcond_with check %global debug_package %{nil} %global crate glib-sys Name: rust-glib-sys Version: 0.20.4 Release: %autorelease Summary: FFI bindings to libglib-2.0 License: MIT URL: https://crates.io/crates/glib-sys Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 BuildRequires: pkgconfig(glib-2.0) >= 2.56 BuildRequires: pkgconfig(gobject-2.0) >= 2.56 %global _description %{expand: FFI bindings to libglib-2.0.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(glib-2.0) >= 2.56 Requires: pkgconfig(gobject-2.0) >= 2.56 %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}+v2_58-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(glib-2.0) >= 2.58 Requires: pkgconfig(gobject-2.0) >= 2.58 %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 Requires: pkgconfig(glib-2.0) >= 2.60 %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 Requires: pkgconfig(glib-2.0) >= 2.62 Requires: pkgconfig(gobject-2.0) >= 2.62 %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 Requires: pkgconfig(glib-2.0) >= 2.64 %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 Requires: pkgconfig(glib-2.0) >= 2.66 %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 Requires: pkgconfig(glib-2.0) >= 2.68 %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 Requires: pkgconfig(glib-2.0) >= 2.70 %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 Requires: pkgconfig(glib-2.0) >= 2.72 %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 Requires: pkgconfig(glib-2.0) >= 2.74 %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 Requires: pkgconfig(glib-2.0) >= 2.76 %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 %package -n %{name}+v2_78-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(glib-2.0) >= 2.77 %description -n %{name}+v2_78-devel %{_description} This package contains library source intended for building other packages which use the "v2_78" feature of the "%{crate}" crate. %files -n %{name}+v2_78-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_80-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(glib-2.0) >= 2.80 %description -n %{name}+v2_80-devel %{_description} This package contains library source intended for building other packages which use the "v2_80" feature of the "%{crate}" crate. %files -n %{name}+v2_80-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v2_82-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(glib-2.0) >= 2.81 %description -n %{name}+v2_82-devel %{_description} This package contains library source intended for building other packages which use the "v2_82" feature of the "%{crate}" crate. %files -n %{name}+v2_82-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 Oct 05 2024 Fabio Valentini - 0.20.4-1 - Update to version 0.20.4; Fixes RHBZ#2314869 * Wed Sep 18 2024 Fabio Valentini - 0.20.2-1 - Update to version 0.20.2; Fixes RHBZ#2308157 * Tue Aug 13 2024 Fabio Valentini - 0.20.1-1 - Update to version 0.20.1; Fixes RHBZ#2297137 * Fri Jul 19 2024 Fedora Release Engineering - 0.19.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 21 2024 Fabio Valentini - 0.19.8-1 - Update to version 0.19.8; Fixes RHBZ#2293535 * Wed May 08 2024 Fabio Valentini - 0.19.5-1 - Update to version 0.19.5; Fixes RHBZ#2277478 * Tue Mar 26 2024 Fabio Valentini - 0.19.0-1 - Update to version 0.19.0; Fixes RHBZ#2262624 * Fri Jan 26 2024 Fedora Release Engineering - 0.18.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Aug 07 2023 Kalev Lember - 0.18.1-1 - Update to version 0.18.1; Fixes RHBZ#2224910 - Re-enable tests as they are fixed in the new release * Fri Jul 21 2023 Fedora Release Engineering - 0.17.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jun 12 2023 Fabio Valentini - 0.17.10-1 - Update to version 0.17.10; Fixes RHBZ#2212802 * Wed Mar 15 2023 Fabio Valentini - 0.17.4-1 - Update to version 0.17.4; Fixes RHBZ#2178072 * Sat Feb 25 2023 Fabio Valentini - 0.17.2-1 - Update to version 0.17.2; Fixes RHBZ#2168310 * Fri Jan 20 2023 Fedora Release Engineering - 0.16.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Nov 28 2022 Fabio Valentini - 0.16.3-1 - Update to version 0.16.3; Fixes RHBZ#2136065 * Sat Jul 23 2022 Fedora Release Engineering - 0.15.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Mar 29 2022 Fabio Valentini - 0.15.10-1 - Update to version 0.15.10; Fixes RHBZ#2065929 * Wed Mar 09 2022 Fabio Valentini - 0.15.7-1 - Update to version 0.15.7; Fixes RHBZ#2061931 * Sun Feb 20 2022 Fabio Valentini - 0.15.6-1 - Update to version 0.15.6; Fixes RHBZ#2056286 * Sat Feb 12 2022 Fabio Valentini - 0.15.5-1 - Update to version 0.15.5; Fixes RHBZ#2040900 * Fri Jan 21 2022 Fedora Release Engineering - 0.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Aug 03 2021 Fabio Valentini - 0.14.0-1 - Update to version 0.14.0; Fixes RHBZ#1974969 * Tue Jul 27 2021 Fedora Release Engineering - 0.10.1-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.10.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Sep 17 2020 Fabio Valentini - 0.10.1-1 - Update to version 0.10.1. * Sat Aug 01 2020 Fedora Release Engineering - 0.10.0-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jul 09 2020 Josh Stone - 0.10.0-1 - Update to 0.10.0 * Thu Jan 30 2020 Fedora Release Engineering - 0.9.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jan 15 2020 Josh Stone - 0.9.1-2 - Fix new subpackage requirements. * Wed Jan 15 2020 Josh Stone - 0.9.1-1 - Update to 0.9.1 * Tue Dec 10 2019 Josh Stone - 0.9.0-1 - Update to 0.9.0 * Fri Jul 26 2019 Fedora Release Engineering - 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Apr 28 13:59:17 CEST 2019 Igor Gnatenko - 0.8.0-1 - Update to 0.8.0 * Wed Feb 06 2019 Igor Gnatenko - 0.7.0-4 - Be more precise with dependencies * Tue Feb 05 2019 Igor Gnatenko - 0.7.0-3 - Adapt to new packaging * Sat Feb 02 2019 Fedora Release Engineering - 0.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Sep 13 2018 Igor Gnatenko - 0.7.0-1 - Update to 0.7.0 * Sat Jul 14 2018 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Mar 19 2018 Igor Gnatenko - 0.6.0-1 - Update to 0.6.0 * Fri Feb 09 2018 Fedora Release Engineering - 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 0.5.0-2 - Rebuild for rust-packaging v5 * Sun Dec 03 2017 Igor Gnatenko - 0.5.0-1 - Initial package ## END: Generated by rpmautospec