## 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 27 # * tests are broken: https://github.com/gtk-rs/gtk-rs-core/issues/64 %bcond check 0 %global debug_package %{nil} %global crate libadwaita-sys Name: rust-libadwaita-sys Version: 0.7.1 Release: %autorelease Summary: FFI bindings for libadwaita License: MIT URL: https://crates.io/crates/libadwaita-sys Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 BuildRequires: pkgconfig(libadwaita-1) >= 1.0.0 %global _description %{expand: FFI bindings for libadwaita.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(libadwaita-1) >= 1.0.0 %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENCE %{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}+v1_1-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(libadwaita-1) >= 1.1 %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 Requires: pkgconfig(libadwaita-1) >= 1.2 %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 Requires: pkgconfig(libadwaita-1) >= 1.3 %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 Requires: pkgconfig(libadwaita-1) >= 1.4 %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 %package -n %{name}+v1_5-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(libadwaita-1) >= 1.5 %description -n %{name}+v1_5-devel %{_description} This package contains library source intended for building other packages which use the "v1_5" feature of the "%{crate}" crate. %files -n %{name}+v1_5-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v1_6-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(libadwaita-1) >= 1.6 %description -n %{name}+v1_6-devel %{_description} This package contains library source intended for building other packages which use the "v1_6" feature of the "%{crate}" crate. %files -n %{name}+v1_6-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v1_7-devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(libadwaita-1) >= 1.7~ %description -n %{name}+v1_7-devel %{_description} This package contains library source intended for building other packages which use the "v1_7" feature of the "%{crate}" crate. %files -n %{name}+v1_7-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 * Fri Mar 07 2025 Fabio Valentini - 0.7.1-3 - Enable feature for libadwaita 1.7 * Sun Jan 19 2025 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Thu Oct 31 2024 Fabio Valentini - 0.7.1-1 - Update to version 0.7.1; Fixes RHBZ#2323011 * Tue Aug 13 2024 Fabio Valentini - 0.7.0-1 - Update to version 0.7.0; Fixes RHBZ#2297184 * Fri Jul 19 2024 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Mar 26 2024 Fabio Valentini - 0.6.0-1 - Update to version 0.6.0; Fixes RHBZ#2240175 * Fri Jan 26 2024 Fedora Release Engineering - 0.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Aug 11 2023 Kalev Lember - 0.5.2-1 - Update to version 0.5.2; Fixes RHBZ#2213966 * Tue Aug 08 2023 Kalev Lember - 0.4.4-2 - Enable the "v1_4" feature for F39+ * Tue Aug 08 2023 Kalev Lember - 0.4.4-1 - Update to version 0.4.4 * Fri Jul 21 2023 Fedora Release Engineering - 0.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jun 04 2023 Fabio Valentini - 0.4.2-1 - Update to version 0.4.2; Fixes RHBZ#2212073 * Sun Apr 09 2023 Kalev Lember - 0.4.1-1 - Update to version 0.4.1; Fixes RHBZ#2185331 * Sun Mar 19 2023 Fabio Valentini - 0.3.0-1 - Update to version 0.3.0; Fixes RHBZ#2168396 * Fri Jan 20 2023 Fedora Release Engineering - 0.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Nov 29 2022 Fabio Valentini - 0.2.1-1 - Update to version 0.2.1; Fixes RHBZ#2144274 * Mon Nov 14 2022 Kalev Lember - 0.1.0-2 - Regenerate packaging with rust2rpm 23 * Mon Nov 14 2022 Kalev Lember - 0.1.0-1 - Initial Fedora build ## END: Generated by rpmautospec