Blame rust-stb_truetype.spec

1eae4d3
# Generated by rust2rpm 10
d5d4db7
# Upstream doesn't provide the necessary fonts in the crate for the test
d5d4db7
# https://gitlab.redox-os.org/redox-os/stb_truetype-rs/issues/22
d5d4db7
%bcond_with check
d5d4db7
%global debug_package %{nil}
d5d4db7
d5d4db7
%global crate stb_truetype
d5d4db7
d5d4db7
Name:           rust-%{crate}
7d673b4
Version:        0.3.1
5195662
Release:        4%{?dist}
d5d4db7
Summary:        Straight translation of the font loading code in stb_truetype.h from C to Rust
d5d4db7
d5d4db7
# Upstream license specification: MIT / Apache-2.0
d5d4db7
License:        MIT or ASL 2.0
d5d4db7
URL:            https://crates.io/crates/stb_truetype
d5d4db7
Source:         %{crates_source}
1534838
d5d4db7
ExclusiveArch:  %{rust_arches}
1eae4d3
%if %{__cargo_skip_build}
1eae4d3
BuildArch:      noarch
1eae4d3
%endif
d5d4db7
d5d4db7
BuildRequires:  rust-packaging
d5d4db7
1eae4d3
%global _description %{expand:
1eae4d3
Straight translation of the font loading code in stb_truetype.h from C to Rust.}
d5d4db7
d5d4db7
%description %{_description}
d5d4db7
d5d4db7
%package        devel
d5d4db7
Summary:        %{summary}
d5d4db7
BuildArch:      noarch
d5d4db7
d5d4db7
%description    devel %{_description}
d5d4db7
d5d4db7
This package contains library source intended for building other packages
d5d4db7
which use "%{crate}" crate.
d5d4db7
d5d4db7
%files          devel
d5d4db7
%doc README.md CHANGELOG.md
d5d4db7
%license LICENSE-APACHE LICENSE-MIT
d5d4db7
%{cargo_registry}/%{crate}-%{version}/
d5d4db7
d5d4db7
%package     -n %{name}+default-devel
d5d4db7
Summary:        %{summary}
d5d4db7
BuildArch:      noarch
d5d4db7
d5d4db7
%description -n %{name}+default-devel %{_description}
d5d4db7
d5d4db7
This package contains library source intended for building other packages
d5d4db7
which use "default" feature of "%{crate}" crate.
d5d4db7
d5d4db7
%files       -n %{name}+default-devel
d5d4db7
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
d5d4db7
1eae4d3
%package     -n %{name}+libm-devel
1eae4d3
Summary:        %{summary}
1eae4d3
BuildArch:      noarch
1eae4d3
1eae4d3
%description -n %{name}+libm-devel %{_description}
1eae4d3
1eae4d3
This package contains library source intended for building other packages
1eae4d3
which use "libm" feature of "%{crate}" crate.
1eae4d3
1eae4d3
%files       -n %{name}+libm-devel
1eae4d3
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
1eae4d3
1eae4d3
%package     -n %{name}+std-devel
1eae4d3
Summary:        %{summary}
1eae4d3
BuildArch:      noarch
1eae4d3
1eae4d3
%description -n %{name}+std-devel %{_description}
1eae4d3
1eae4d3
This package contains library source intended for building other packages
1eae4d3
which use "std" feature of "%{crate}" crate.
1eae4d3
1eae4d3
%files       -n %{name}+std-devel
1eae4d3
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
1eae4d3
d5d4db7
%prep
d5d4db7
%autosetup -n %{crate}-%{version_no_tilde} -p1
d5d4db7
%cargo_prep
d5d4db7
1eae4d3
%generate_buildrequires
1eae4d3
%cargo_generate_buildrequires
1eae4d3
d5d4db7
%build
d5d4db7
%cargo_build
d5d4db7
d5d4db7
%install
d5d4db7
%cargo_install
d5d4db7
d5d4db7
%if %{with check}
d5d4db7
%check
d5d4db7
%cargo_test
d5d4db7
%endif
d5d4db7
d5d4db7
%changelog
5195662
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-4
5195662
- Second attempt - Rebuilt for
5195662
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5195662
22a5593
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-3
22a5593
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
22a5593
353dcf6
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
353dcf6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
353dcf6
7d673b4
* Fri Dec 06 00:33:24 CET 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.3.1-1
7d673b4
- Release 0.3.1 (#1775915)
7d673b4
1eae4d3
* Thu Sep 12 16:54:53 CEST 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.3.0-1
1eae4d3
- Release 0.3.0 (#1749423)
1eae4d3
e8cbfee
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-3
e8cbfee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e8cbfee
1534838
* Wed Mar 20 09:50:53 CET 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.6-2
1534838
- Run tests in infrastructure
1534838
d5d4db7
* Sat Mar 16 2019 Robert-André Mauchin <zebob.m@gmail.com> - 0.2.6-1
d5d4db7
- Initial package