Accepting request 1153755 from M17N:fonts
OBS-URL: https://build.opensuse.org/request/show/1153755 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/google-noto-fonts?expand=0&rev=28
This commit is contained in:
commit
2279c81681
@ -1,5 +1,5 @@
|
|||||||
FAQ by Gordon Leung <pirateclip@protonmail.com>
|
FAQ by Gordon Leung <pirateclip@protonmail.com>
|
||||||
Last reviewed: 2024-01-06
|
Last reviewed: 2024-03-01
|
||||||
|
|
||||||
Q: Why are there so many Noto packages?
|
Q: Why are there so many Noto packages?
|
||||||
A: Each Noto Font family is individually packaged to allow the user to pick and
|
A: Each Noto Font family is individually packaged to allow the user to pick and
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Last reviewed: 2024-01-06
|
Last reviewed: 2024-03-01
|
||||||
1. Download the latest release tarball from here: https://github.com/notofonts/notofonts.github.io/releases
|
1. Download the latest release tarball from here: https://github.com/notofonts/notofonts.github.io/releases
|
||||||
2. Rename the current specfile to old.spec then edit the versions in generate-specfile.sh and google-noto-fonts.spec.in
|
2. Rename the current specfile to old.spec then edit the versions in generate-specfile.sh and google-noto-fonts.spec.in
|
||||||
3. Run generate-specfile.sh to get the new specfile
|
3. Run generate-specfile.sh to get the new specfile
|
||||||
|
@ -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.1.1"
|
font_dir="notofonts.github.io-noto-monthly-release-24.3.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,
|
||||||
@ -28,7 +28,7 @@ cp -f $pkg_name.spec.in $pkg_name.spec
|
|||||||
ls $font_dir/fonts | sed -e 's:Noto::' -e 's:-.*\..tf::' -e 's:\..tf::' -e 's:\.ttc::' | sort -f | uniq | while read -r font; do
|
ls $font_dir/fonts | sed -e 's:Noto::' -e 's:-.*\..tf::' -e 's:\..tf::' -e 's:\.ttc::' | sort -f | uniq | while read -r font; do
|
||||||
|
|
||||||
# DO NOT create font packages out of these folders.
|
# DO NOT create font packages out of these folders.
|
||||||
if [ "$font" == "LICENSE" ] || [ "$font" == "SansTest" ] || [ "$font" == "SerifTest" ] || [ "$font" == "NaskhArabicUI" ] || [ "$font" = "LoopedThai" ]; then
|
if [ "$font" == "LICENSE" ] || [ "$font" == "SansTest" ] || [ "$font" == "SerifTest" ] || [ "$font" == "NaskhArabicUI" ]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -113,7 +113,6 @@ ls $font_dir/fonts | sed -e 's:Noto::' -e 's:-.*\..tf::' -e 's:\..tf::' -e 's:\.
|
|||||||
sed -i "s/@SUBPACKAGE_HEADERS@/\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
|
sed -i "s/@SUBPACKAGE_HEADERS@/\n@SUBPACKAGE_HEADERS@/" $pkg_name.spec
|
||||||
sed -i "s/@SUBPACKAGE_SCRIPTLETS@/%reconfigure_fonts_scriptlets -n $packagename\n\n@SUBPACKAGE_SCRIPTLETS@/" $pkg_name.spec
|
sed -i "s/@SUBPACKAGE_SCRIPTLETS@/%reconfigure_fonts_scriptlets -n $packagename\n\n@SUBPACKAGE_SCRIPTLETS@/" $pkg_name.spec
|
||||||
sed -i "s/@SUBPACKAGE_FILELISTS@/%files -n $packagename\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec
|
sed -i "s/@SUBPACKAGE_FILELISTS@/%files -n $packagename\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec
|
||||||
sed -i "s/@SUBPACKAGE_FILELISTS@/%defattr(0644,root,root,755)\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec
|
|
||||||
sed -i "s/@SUBPACKAGE_FILELISTS@/%license LICENSE\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec
|
sed -i "s/@SUBPACKAGE_FILELISTS@/%license LICENSE\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec
|
||||||
sed -i "s/@SUBPACKAGE_FILELISTS@/%dir %{_ttfontsdir}\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec
|
sed -i "s/@SUBPACKAGE_FILELISTS@/%dir %{_ttfontsdir}\n@SUBPACKAGE_FILELISTS@/" $pkg_name.spec
|
||||||
|
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Mar 1 07:23:34 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
|
||||||
|
|
||||||
|
- Update to 20240301
|
||||||
|
* Fixes to Balinese, Sans Canadian Aboriginal, Sans Georgian
|
||||||
|
and Kufi Arabic
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 28 16:12:05 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
|
||||||
|
|
||||||
|
- Remove fonttools build requires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 28 12:01:34 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Delete old specfile constructs.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 6 01:46:43 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
|
Sat Jan 6 01:46:43 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package google-noto-fonts
|
# spec file for package google-noto-fonts
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%define hyear 2024
|
%define hyear 2024
|
||||||
%define hmonth 01
|
%define hmonth 03
|
||||||
%define hday 01
|
%define hday 01
|
||||||
|
|
||||||
%define src_name NotoFonts
|
%define src_name NotoFonts
|
||||||
@ -31,14 +31,12 @@ 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.1.1.tar.gz
|
# https://github.com/notofonts/notofonts.github.io/archive/refs/tags/noto-monthly-release-24.3.1.tar.gz
|
||||||
Source0: notofonts.github.io-noto-monthly-release-24.1.1.tar.gz
|
Source0: notofonts.github.io-noto-monthly-release-24.3.1.tar.gz#noto-monthly-release-24.3.1
|
||||||
Source1: generate-specfile.sh
|
Source1: generate-specfile.sh
|
||||||
Source2: README.FAQ
|
Source2: README.FAQ
|
||||||
Source3: README.maintain
|
Source3: README.maintain
|
||||||
BuildRequires: fontpackages-devel
|
BuildRequires: fontpackages-devel
|
||||||
BuildRequires: fonttools
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Obsoletes: noto-fonts < %{version}
|
Obsoletes: noto-fonts < %{version}
|
||||||
Provides: noto-fonts = %{version}
|
Provides: noto-fonts = %{version}
|
||||||
@ -50,23 +48,21 @@ thicknesses) across languages. This package contains most noto fonts except for
|
|||||||
|
|
||||||
@SUBPACKAGE_HEADERS@
|
@SUBPACKAGE_HEADERS@
|
||||||
%prep
|
%prep
|
||||||
tar -xzf %{SOURCE0} -C .
|
%autosetup -c
|
||||||
|
|
||||||
cp notofonts.github.io-noto-monthly-release-24.1.1/fonts/LICENSE .
|
cp notofonts.github.io-noto-monthly-release-24.3.1/fonts/LICENSE .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
||||||
rm -r notofonts.github.io-noto-monthly-release-24.1.1/fonts/Noto*Test
|
rm -r notofonts.github.io-noto-monthly-release-24.3.1/fonts/Noto*Test
|
||||||
rm -r notofonts.github.io-noto-monthly-release-24.1.1/fonts/NotoLoopedThai
|
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.1.1/fonts/NotoSansPhagsPa/hinted/ttf/NotoSansPhags-Pa-Regular.ttf
|
|
||||||
|
|
||||||
install -Dm 644 -t %{buildroot}%{_ttfontsdir} notofonts.github.io-noto-monthly-release-24.1.1/fonts/*/hinted/ttf/*
|
install -Dm 644 -t %{buildroot}%{_ttfontsdir} notofonts.github.io-noto-monthly-release-24.3.1/fonts/*/hinted/ttf/*
|
||||||
|
|
||||||
@SUBPACKAGE_SCRIPTLETS@
|
@SUBPACKAGE_SCRIPTLETS@
|
||||||
%files
|
%files
|
||||||
%defattr(0644,root,root,755)
|
|
||||||
|
|
||||||
@SUBPACKAGE_FILELISTS@
|
@SUBPACKAGE_FILELISTS@
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:435e383e26200b10e9c4442e1f588bdeb9c5b498aead02e4819602fff2b4b22b
|
|
||||||
size 1062706467
|
|
3
notofonts.github.io-noto-monthly-release-24.3.1.tar.gz
Normal file
3
notofonts.github.io-noto-monthly-release-24.3.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:abcef824e61aa99626b6ad331c1cba875f28b3d87cc9ff8c87d46d55fe344369
|
||||||
|
size 1065711184
|
Loading…
x
Reference in New Issue
Block a user