Accepting request 1163820 from M17N:fonts

- Update to 20240401
  * Fix Oriya interpolation issues

OBS-URL: https://build.opensuse.org/request/show/1163820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/google-noto-fonts?expand=0&rev=29
This commit is contained in:
Ana Guerrero 2024-04-02 14:37:46 +00:00 committed by Git OBS Bridge
commit d8d7701df9
6 changed files with 118 additions and 112 deletions

View File

@ -17,7 +17,7 @@
set -euo pipefail set -euo pipefail
pkg_name="google-noto-fonts" pkg_name="google-noto-fonts"
font_dir="notofonts.github.io-noto-monthly-release-24.3.1" font_dir="notofonts.github.io-noto-monthly-release-24.4.1"
# Used to extract the tarball to generate the specfile. # Used to extract the tarball to generate the specfile.
# You can comment this out while testing out changes to the script, # You can comment this out while testing out changes to the script,
@ -96,7 +96,7 @@ ls $font_dir/fonts | sed -e 's:Noto::' -e 's:-.*\..tf::' -e 's:\..tf::' -e 's:\.
sed -i "s/@SUBPACKAGE_HEADERS@/%package -n $packagename\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec sed -i "s/@SUBPACKAGE_HEADERS@/%package -n $packagename\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
sed -i "s/@SUBPACKAGE_HEADERS@/Summary: $summary\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec sed -i "s/@SUBPACKAGE_HEADERS@/Summary: $summary\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
sed -i "s;@SUBPACKAGE_HEADERS@;Group: System/X11/Fonts\n@SUBPACKAGE_HEADERS@;" $pkg_name.spec sed -i "s;@SUBPACKAGE_HEADERS@;Group: System/X11/Fonts\n@SUBPACKAGE_HEADERS@;" $pkg_name.spec
for i in "${OBSOLETES[@]}" ; do for i in "${OBSOLETES[@]}"; do
sed -i "s/@SUBPACKAGE_HEADERS@/Obsoletes: $i < %{version}\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec sed -i "s/@SUBPACKAGE_HEADERS@/Obsoletes: $i < %{version}\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
sed -i "s/@SUBPACKAGE_HEADERS@/Provides: $i = %{version}\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec sed -i "s/@SUBPACKAGE_HEADERS@/Provides: $i = %{version}\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
done done

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 1 01:23:39 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- Update to 20240401
* Fix Oriya interpolation issues
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 1 07:23:34 UTC 2024 - Gordon Leung <pirateclip@protonmail.com> Fri Mar 1 07:23:34 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>

View File

@ -17,7 +17,7 @@
%define hyear 2024 %define hyear 2024
%define hmonth 03 %define hmonth 04
%define hday 01 %define hday 01
%define src_name NotoFonts %define src_name NotoFonts
@ -31,8 +31,8 @@ Summary: All Noto Fonts except CJK and Emoji
License: OFL-1.1 License: OFL-1.1
Group: System/X11/Fonts Group: System/X11/Fonts
URL: https://notofonts.github.io/ URL: https://notofonts.github.io/
# https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-24.3.1.tar.gz # https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-24.4.1.tar.gz
Source0: notofonts.github.io-noto-monthly-release-24.3.1.tar.gz Source0: notofonts.github.io-noto-monthly-release-24.4.1.tar.gz
Source1: generate-specfile.sh Source1: generate-specfile.sh
Source2: README.FAQ Source2: README.FAQ
Source3: README.maintain Source3: README.maintain
@ -3162,16 +3162,16 @@ TraditionalNushu font, hinted.
%prep %prep
%autosetup -c %autosetup -c
cp notofonts.github.io-noto-monthly-release-24.3.1/fonts/LICENSE . cp notofonts.github.io-noto-monthly-release-24.4.1/fonts/LICENSE .
%build %build
%install %install
rm -r notofonts.github.io-noto-monthly-release-24.3.1/fonts/Noto*Test rm -r notofonts.github.io-noto-monthly-release-24.4.1/fonts/Noto*Test
rm -r notofonts.github.io-noto-monthly-release-24.3.1/fonts/NotoSansPhagsPa/hinted/ttf/NotoSansPhags-Pa-Regular.ttf rm -r notofonts.github.io-noto-monthly-release-24.4.1/fonts/NotoSansPhagsPa/hinted/ttf/NotoSansPhags-Pa-Regular.ttf
install -Dm 644 -t %{buildroot}%{_ttfontsdir} notofonts.github.io-noto-monthly-release-24.3.1/fonts/*/hinted/ttf/* install -Dm 644 -t %{buildroot}%{_ttfontsdir} notofonts.github.io-noto-monthly-release-24.4.1/fonts/*/hinted/ttf/*
%reconfigure_fonts_scriptlets -n google-noto-fangsongkssrotated-fonts %reconfigure_fonts_scriptlets -n google-noto-fangsongkssrotated-fonts

View File

@ -17,7 +17,7 @@
%define hyear 2024 %define hyear 2024
%define hmonth 03 %define hmonth 04
%define hday 01 %define hday 01
%define src_name NotoFonts %define src_name NotoFonts
@ -31,8 +31,8 @@ Summary: All Noto Fonts except CJK and Emoji
License: OFL-1.1 License: OFL-1.1
Group: System/X11/Fonts Group: System/X11/Fonts
URL: https://notofonts.github.io/ URL: https://notofonts.github.io/
# https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-24.3.1.tar.gz # https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-24.4.1.tar.gz
Source0: notofonts.github.io-noto-monthly-release-24.3.1.tar.gz#noto-monthly-release-24.3.1 Source0: notofonts.github.io-noto-monthly-release-24.4.1.tar.gz
Source1: generate-specfile.sh Source1: generate-specfile.sh
Source2: README.FAQ Source2: README.FAQ
Source3: README.maintain Source3: README.maintain
@ -50,16 +50,16 @@ thicknesses) across languages. This package contains most noto fonts except for
%prep %prep
%autosetup -c %autosetup -c
cp notofonts.github.io-noto-monthly-release-24.3.1/fonts/LICENSE . cp notofonts.github.io-noto-monthly-release-24.4.1/fonts/LICENSE .
%build %build
%install %install
rm -r notofonts.github.io-noto-monthly-release-24.3.1/fonts/Noto*Test rm -r notofonts.github.io-noto-monthly-release-24.4.1/fonts/Noto*Test
rm -r notofonts.github.io-noto-monthly-release-24.3.1/fonts/NotoSansPhagsPa/hinted/ttf/NotoSansPhags-Pa-Regular.ttf rm -r notofonts.github.io-noto-monthly-release-24.4.1/fonts/NotoSansPhagsPa/hinted/ttf/NotoSansPhags-Pa-Regular.ttf
install -Dm 644 -t %{buildroot}%{_ttfontsdir} notofonts.github.io-noto-monthly-release-24.3.1/fonts/*/hinted/ttf/* install -Dm 644 -t %{buildroot}%{_ttfontsdir} notofonts.github.io-noto-monthly-release-24.4.1/fonts/*/hinted/ttf/*
@SUBPACKAGE_SCRIPTLETS@ @SUBPACKAGE_SCRIPTLETS@
%files %files

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:abcef824e61aa99626b6ad331c1cba875f28b3d87cc9ff8c87d46d55fe344369
size 1065711184

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:501beb5b4b930f959546790b0c51c4544cdd97bc02c7193f50774323c49167fc
size 1066856521