|
|
|
@ -18,12 +18,15 @@ Version: 2.0.5
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
Name: fonts-rpm-macros
|
|
|
|
|
Release: 7%{?dist}.1
|
|
|
|
|
Release: 17%{?dist}
|
|
|
|
|
Summary: Build-stage rpm automation for fonts packages
|
|
|
|
|
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
License: GPL-3.0-or-later
|
|
|
|
|
URL: https://docs.fedoraproject.org/en-US/packaging-guidelines/FontsPolicy/
|
|
|
|
|
Source: %{forgesource}
|
|
|
|
|
Patch0: %{name}-omit-foundry-in-family.patch
|
|
|
|
|
Patch1: %{name}-drop-yaml.patch
|
|
|
|
|
Patch2: %{name}-epoch-in-req.patch
|
|
|
|
|
|
|
|
|
|
Requires: fonts-srpm-macros = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
|
Requires: fonts-filesystem = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
|
@ -38,7 +41,9 @@ Requires: libappstream-glib
|
|
|
|
|
Requires: uchardet
|
|
|
|
|
|
|
|
|
|
# For the experimental generator
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} < 10
|
|
|
|
|
Requires: python3-ruamel-yaml
|
|
|
|
|
%endif
|
|
|
|
|
Requires: python3-lxml
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -51,6 +56,12 @@ will pull it in for fonts packages only.
|
|
|
|
|
%package -n fonts-srpm-macros
|
|
|
|
|
Summary: Source-stage rpm automation for fonts packages
|
|
|
|
|
Requires: redhat-rpm-config
|
|
|
|
|
# macros.forge and forge.lua were split into a separate package.
|
|
|
|
|
# redhat-rpm-config pulls in forge-srpm-macros but better to explicitly Require
|
|
|
|
|
# it.
|
|
|
|
|
%if (0%{?fedora} >= 40 || 0%{?rhel} >= 10)
|
|
|
|
|
Requires: forge-srpm-macros
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description -n fonts-srpm-macros
|
|
|
|
|
This package provides SRPM-stage rpm automation to simplify the creation of
|
|
|
|
@ -92,6 +103,11 @@ for template in templates/rpm/*\.spec ; do
|
|
|
|
|
grep -v '^%%dnl' "${template}" > "${target}"
|
|
|
|
|
touch -r "${template}" "${target}"
|
|
|
|
|
done
|
|
|
|
|
%patch -P0 -p1
|
|
|
|
|
%if 0%{?rhel} >= 10
|
|
|
|
|
%patch -P1 -p1
|
|
|
|
|
%endif
|
|
|
|
|
%patch -P2 -p1
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
install -m 0755 -d %{buildroot}%{_fontbasedir} \
|
|
|
|
@ -121,7 +137,8 @@ install -m 0755 -vp bin/* %{buildroot}%{_bindir}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_bindir}/fc-weight
|
|
|
|
|
%{_bindir}/gen-fontconf
|
|
|
|
|
%{rpmmacrodir}/macros.fonts-rpm*
|
|
|
|
|
%{_rpmluadir}/fedora/rpm/*.lua
|
|
|
|
|
|
|
|
|
@ -147,12 +164,47 @@ install -m 0755 -vp bin/* %{buildroot}%{_bindir}
|
|
|
|
|
%doc %{ftcgtemplatedir}/*txt
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com>
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Tue Aug 13 2024 Akira TAGOH <tagoh@redhat.com> - 1:2.0.5-17
|
|
|
|
|
- Add exact binary name in the file list.
|
|
|
|
|
- Do not package backup files.
|
|
|
|
|
Resolves: RHEL-54049
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com>
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Wed Jun 19 2024 Akira TAGOH <tagoh@redhat.com> - 1:2.0.5-16
|
|
|
|
|
- Add %%{epoch} in Requires line if needed
|
|
|
|
|
- Support fontpkgheader macro for meta packages.
|
|
|
|
|
|
|
|
|
|
* Mon Jun 3 2024 Akira TAGOH <tagoh@redhat.com> - 1:2.0.5-15
|
|
|
|
|
- Drop YAML support in gen-fontconf for RHEL10 or later.
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1:2.0.5-15
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.5-14
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.5-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.5-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.5-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Dec 08 2022 Parag Nemade <pnemade AT redhat DOT com> - 1:2.0.5-10
|
|
|
|
|
- Update license tag to SPDX format
|
|
|
|
|
|
|
|
|
|
* Fri Aug 19 2022 Akira TAGOH <tagoh@redhat.com> - 1:2.0.5-9
|
|
|
|
|
- Omit foundry name in family name.
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.5-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.5-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.5-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.0.5-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|