Skip to content
Snippets Groups Projects
Commit f81f919f authored by Rocky Automation's avatar Rocky Automation :tv:
Browse files

import google-noto-fonts-20240401-1.el10

parent 6f359a68
No related branches found
No related merge requests found
5c76e5b40040768fa7babe2d080bbe6dc4d630c48112797216448f94567449e4 SOURCES/noto-monthly-release-24.2.1.zip
0c4c6a671730ed152ff91400ea46cb245688eb5ccb29f0036256458930dac603 SOURCES/noto-monthly-release-24.4.1.zip
......@@ -9,7 +9,7 @@ between multiple scripts. Noto family supports almost all scripts available\
in Unicode.\
%{nil}
%global srcver 24.2.1
%global srcver 24.4.1
# for default font
%global hprio 56
# for default font but static
......@@ -28,7 +28,7 @@ in Unicode.\
%global nlat_lprio 67
Name: %{fontname}-fonts
Version: 20240201
Version: 20240401
Release: 1%{?dist}
Summary: Hinted and Non Hinted OpenType fonts for Unicode scripts
License: OFL-1.1
......@@ -321,7 +321,9 @@ local subpackages = {
{ alias="sans-serif", family="Sans Pahawh Hmong" },
{ alias="sans-serif", family="Sans Palmyrene" },
{ alias="sans-serif", family="Sans Pau Cin Hau" },
{ alias="sans-serif", family="Sans PhagsPa" },
{ alias="sans-serif", family="Sans PhagsPa",
obsoletes={ "sans-phags-pa" },
},
{ alias="sans-serif", family="Sans Phoenician",
obsoletes={ "sans-phenician-vf" }
},
......@@ -394,7 +396,7 @@ local subpackages = {
default=true
},
{ alias="sans-serif", family="Sans Thai Looped", lang={ "th" },
obsoletes={ "sansthai-looped-vf", "sans-thai-looped-vf", "looped-thai-ui", "looped-thai-vf", "looped-thai-ui-vf" }
obsoletes={ "sansthai-looped-vf", "sans-thai-looped-vf", "looped-thai", "looped-thai-ui", "looped-thai-vf", "looped-thai-ui-vf" }
},
{ alias="sans-serif", family="Sans Tifinagh", lang={ "ber-ma" } },
{ alias="sans-serif", family="Sans Tifinagh APT", lang={ "ber-ma" } },
......@@ -1128,8 +1130,18 @@ Requires: %{name}-common = %{version}-%{release}
%{_metainfodir}/]] .. metaname .. "\n"))
end
local all_deps = ''
local all_vf_deps = ''
local all_static_deps = ''
for i = 1, #subpackages do
notopkg(subpackages[i])
all_deps = all_deps .. "Requires: " .. subpackages[i].pkgname .. " = %{version}-%{release}\n"
if subpackages[i].variable then
all_vf_deps = all_vf_deps .. "Requires: " .. subpackages[i].pkgname .. " = %{version}-%{release}\n"
else
all_static_deps = all_static_deps .. "Requires: " .. subpackages[i].pkgname .. " = %{version}-%{release}\n"
end
if rpm.expand("%{cionly}") ~= 0 then
genfcconf(subpackages[i])
genmetainfo(subpackages[i])
......@@ -1144,6 +1156,36 @@ if tonumber(rpm.expand("%{cionly}")) == 1 then
gentestyaml()
end
print(rpm.expand([[
%package -n google-noto-fonts-all
Summary: All the Noto font families
]] .. all_deps .. [[
%description -n google-noto-fonts-all
A meta package for all Noto font families
%files -n google-noto-fonts-all
%package -n google-noto-fonts-all-vf
Summary: All the Noto variable font families
]] .. all_vf_deps .. [[
%description -n google-noto-fonts-all-vf
A meta package for all Noto variable font families
%files -n google-noto-fonts-all-vf
%package -n google-noto-fonts-all-static
Summary: All the Noto static font families
]] .. all_static_deps .. [[
%description -n google-noto-fonts-all-static
A meta package for all Noto static font families
%files -n google-noto-fonts-all-static
]]))
rpm.define("noto_fcconflist " .. _fcconflist)
rpm.define("noto_metafilelist " .. _metafilelist)
local f = io.open("debug-noto-fcconf-build.sh", "w")
......@@ -1227,6 +1269,23 @@ done
%changelog
* Thu Apr 4 2024 Akira TAGOH <tagoh@redhat.com> - 20240401-1
- Updates to monthly release of 24.4.1
* Thu Mar 21 2024 Akira TAGOH <tagoh@redhat.com> - 20240301-3
- Add google-noto-fonts-all, google-noto-fonts-all-vf, and
google-noto-fonts-all-static meta packages.
* Mon Mar 11 2024 Akira TAGOH <tagoh@redhat.com> - 20240301-2
- Add Obsoletes: google-noto-looped-thai-fonts in google-noto-sans-thai-looped-fonts.
* Fri Mar 8 2024 Akira TAGOH <tagoh@redhat.com> - 20240301-1
- Updates to monthly release of 24.3.1
* Wed Feb 21 2024 Akira TAGOH <tagoh@redhat.com> - 20240201-2
- Add Obsolsetes: google-noto-sans-phags-pa-fonts in google-noto-sans-phagspa-fonts
Resolves: rhbz#2265259
* Fri Feb 9 2024 Akira TAGOH <tagoh@redhat.com> - 20240201-1
- Updates to monthly release of 24.2.1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment