## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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 26 %bcond_without check %global debug_package %{nil} %global crate owned_ttf_parser Name: rust-owned_ttf_parser Version: 0.25.0 Release: %autorelease Summary: Ttf-parser plus support for owned data License: Apache-2.0 URL: https://crates.io/crates/owned_ttf_parser Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Exclude unwanted files Patch: owned_ttf_parser-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Ttf-parser plus support for owned data.} %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 %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}+apple-layout-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+apple-layout-devel %{_description} This package contains library source intended for building other packages which use the "apple-layout" feature of the "%{crate}" crate. %files -n %{name}+apple-layout-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+glyph-names-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+glyph-names-devel %{_description} This package contains library source intended for building other packages which use the "glyph-names" feature of the "%{crate}" crate. %files -n %{name}+glyph-names-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+gvar-alloc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gvar-alloc-devel %{_description} This package contains library source intended for building other packages which use the "gvar-alloc" feature of the "%{crate}" crate. %files -n %{name}+gvar-alloc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+no-std-float-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+no-std-float-devel %{_description} This package contains library source intended for building other packages which use the "no-std-float" feature of the "%{crate}" crate. %files -n %{name}+no-std-float-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+opentype-layout-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+opentype-layout-devel %{_description} This package contains library source intended for building other packages which use the "opentype-layout" feature of the "%{crate}" crate. %files -n %{name}+opentype-layout-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+variable-fonts-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+variable-fonts-devel %{_description} This package contains library source intended for building other packages which use the "variable-fonts" feature of the "%{crate}" crate. %files -n %{name}+variable-fonts-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 * Mon Oct 21 2024 Aleksei Bavshin - 0.25.0-2 - fixup! Update to 0.25.0 (rhbz#2245530) * Sun Oct 20 2024 Aleksei Bavshin - 0.25.0-1 - Update to 0.25.0 (rhbz#2245530) * Sat Jul 20 2024 Fedora Release Engineering - 0.18.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 0.18.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.18.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue May 02 2023 Aleksei Bavshin - 0.18.1-1 - Update to 0.18.1 * Thu Jul 08 2021 Fabio Valentini - 0.12.1-1 - Update to version 0.12.1; Fixes RHBZ#1977485 * Mon Jun 28 2021 Fabio Valentini - 0.12.0-1 - Update to version 0.12.0. - Fixes RHBZ#1904710 * Wed Jan 27 2021 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Oct 10 2020 Fabio Valentini - 0.6.0-1 - Initial package ## END: Generated by rpmautospec