# Generated by rust2rpm 13 %bcond_without check %global debug_package %{nil} %global crate freetype-sys Name: rust-%{crate} Version: 0.13.1 Release: 6%{?dist} Summary: Low level binding for FreeType font library # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/freetype-sys Source: %{crates_source} ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Low level binding for FreeType font library.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch Requires: pkgconfig(freetype2) >= 18.5.12 %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %doc README.md %license LICENSE %{cargo_registry}/%{crate}-%{version_no_tilde}/ %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 "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 # remove the bundled copy to make sure we're linking against the system lib rm -vr freetype2 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires echo 'pkgconfig(freetype2) >= 18.5.12' %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Fri Jan 21 2022 Fedora Release Engineering - 0.13.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.13.1-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.13.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 0.13.1-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 10 2020 Josh Stone - 0.13.1-1 - Update to 0.13.1 * Sun Jun 21 21:15:09 CEST 2020 returntrip - 0.13.0-1 - Initial package