1
0

- Remove obsolete "Group" parameter

- Update to 20240601
 * Noto Znamenny Musical Notation has been added
 * Other fonts have been updated

OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-noto-fonts?expand=0&rev=73
This commit is contained in:
Gordon Leung 2024-06-02 16:24:53 +00:00 committed by Git OBS Bridge
parent 3bc6e3346b
commit 4b502dc795
6 changed files with 45 additions and 217 deletions

View File

@ -17,7 +17,7 @@
set -euo pipefail
pkg_name="google-noto-fonts"
font_dir="notofonts.github.io-noto-monthly-release-24.5.1"
font_dir="notofonts.github.io-noto-monthly-release-24.6.1"
# Used to extract the tarball to generate the specfile.
# You can comment this out while testing out changes to the script,
@ -95,7 +95,6 @@ ls $font_dir/fonts | sed -e 's:Noto::' -e 's:-.*\..tf::' -e 's:\..tf::' -e 's:\.
sed -i "s/@LIST_OF_SUBPACKAGES@/Requires: $packagename\n@LIST_OF_SUBPACKAGES@/" $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@;Group: System/X11/Fonts\n@SUBPACKAGE_HEADERS@;" $pkg_name.spec
for i in "${OBSOLETES[@]}"; do
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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sun Jun 2 16:19:02 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- Remove obsolete "Group" parameter
- Update to 20240601
* Noto Znamenny Musical Notation has been added
* Other fonts have been updated
-------------------------------------------------------------------
Wed May 1 05:43:37 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,7 @@
%define hyear 2024
%define hmonth 05
%define hmonth 06
%define hday 01
%define src_name NotoFonts
@ -29,10 +29,9 @@ Version: %{hyear}%{hmonth}%{hday}
Release: 0
Summary: All Noto Fonts except CJK and Emoji
License: OFL-1.1
Group: System/X11/Fonts
URL: https://notofonts.github.io/
# https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-24.5.1.tar.gz
Source0: notofonts.github.io-noto-monthly-release-24.5.1.tar.gz
# https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-24.6.1.tar.gz
Source0: notofonts.github.io-noto-monthly-release-24.6.1.tar.gz
Source1: generate-specfile.sh
Source2: README.FAQ
Source3: README.maintain
@ -50,15 +49,15 @@ thicknesses) across languages. This package contains most noto fonts except for
%prep
%autosetup -c
cp notofonts.github.io-noto-monthly-release-24.5.1/fonts/LICENSE .
cp notofonts.github.io-noto-monthly-release-24.6.1/fonts/LICENSE .
%build
%install
rm -r notofonts.github.io-noto-monthly-release-24.5.1/fonts/Noto*Test
rm -r notofonts.github.io-noto-monthly-release-24.6.1/fonts/Noto*Test
install -Dm 644 -t %{buildroot}%{_ttfontsdir} notofonts.github.io-noto-monthly-release-24.5.1/fonts/*/hinted/ttf/*
install -Dm 644 -t %{buildroot}%{_ttfontsdir} notofonts.github.io-noto-monthly-release-24.6.1/fonts/*/hinted/ttf/*
@SUBPACKAGE_SCRIPTLETS@
%files

View File

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

View File

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