## START: Set by rpmautospec ## (rpmautospec version 0.6.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 26 # * files that are required for tests are not included in published crates %bcond_with check %global debug_package %{nil} %global crate i18n-embed Name: rust-i18n-embed Version: 0.14.1 Release: %autorelease Summary: Conveniently embed localization assets License: MIT URL: https://crates.io/crates/i18n-embed Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * remove WASM-specific dependencies and features Patch: i18n-embed-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Traits and macros to conveniently embed localization assets into your application binary or library in order to localize it at runtime.} %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.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}+arc-swap-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+arc-swap-devel %{_description} This package contains library source intended for building other packages which use the "arc-swap" feature of the "%{crate}" crate. %files -n %{name}+arc-swap-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+desktop-requester-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+desktop-requester-devel %{_description} This package contains library source intended for building other packages which use the "desktop-requester" feature of the "%{crate}" crate. %files -n %{name}+desktop-requester-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+filesystem-assets-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+filesystem-assets-devel %{_description} This package contains library source intended for building other packages which use the "filesystem-assets" feature of the "%{crate}" crate. %files -n %{name}+filesystem-assets-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fluent-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fluent-devel %{_description} This package contains library source intended for building other packages which use the "fluent" feature of the "%{crate}" crate. %files -n %{name}+fluent-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fluent-syntax-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fluent-syntax-devel %{_description} This package contains library source intended for building other packages which use the "fluent-syntax" feature of the "%{crate}" crate. %files -n %{name}+fluent-syntax-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fluent-system-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fluent-system-devel %{_description} This package contains library source intended for building other packages which use the "fluent-system" feature of the "%{crate}" crate. %files -n %{name}+fluent-system-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+i18n-embed-impl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+i18n-embed-impl-devel %{_description} This package contains library source intended for building other packages which use the "i18n-embed-impl" feature of the "%{crate}" crate. %files -n %{name}+i18n-embed-impl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+locale_config-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+locale_config-devel %{_description} This package contains library source intended for building other packages which use the "locale_config" feature of the "%{crate}" crate. %files -n %{name}+locale_config-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+parking_lot-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+parking_lot-devel %{_description} This package contains library source intended for building other packages which use the "parking_lot" feature of the "%{crate}" crate. %files -n %{name}+parking_lot-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rust-embed-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rust-embed-devel %{_description} This package contains library source intended for building other packages which use the "rust-embed" feature of the "%{crate}" crate. %files -n %{name}+rust-embed-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+walkdir-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+walkdir-devel %{_description} This package contains library source intended for building other packages which use the "walkdir" feature of the "%{crate}" crate. %files -n %{name}+walkdir-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 Jun 02 2024 Aleksei Bavshin - 0.14.1-1 - Update to 0.14.1 (#2238201) * Fri Jan 26 2024 Fedora Release Engineering - 0.13.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.13.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue May 23 2023 Fabio Valentini - 0.13.9-1 - Update to version 0.13.9; Fixes RHBZ#2207814 * Sun Feb 19 2023 Fabio Valentini - 0.13.8-1 - Update to version 0.13.8; Fixes RHBZ#2159557 * Fri Jan 20 2023 Fedora Release Engineering - 0.13.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Aug 10 2022 Fabio Valentini - 0.13.4-1 - Update to version 0.13.4; Fixes RHBZ#2053154 * Sat Jul 23 2022 Fedora Release Engineering - 0.13.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jul 18 2022 Fabio Valentini - 0.13.3-3 - Disable WASM-specific features, simplify dropping doctests, add rust2rpm.conf * Sat Feb 12 2022 Link Dupont - 0.13.3-2 - include sources * Sat Feb 12 2022 Link Dupont - 0.13.3-1 - Update to 0.13.3 * Fri Jan 21 2022 Fedora Release Engineering - 0.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Dec 20 2021 Link Dupont - 0.13.1-1 - Update to 0.13.1 * Tue Nov 23 2021 Link Dupont - 0.13.0-2 - Remove feature subpackage (RHBZ#2025539) * Mon Nov 22 2021 Link Dupont - 0.13.0-1 - New upstream version * Mon Oct 04 2021 Link Dupont - 0.12.0-1 - Initial package ## END: Generated by rpmautospec