Update the fonts package
This commit is contained in:
parent
ec3d857ddd
commit
8af62eb571
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
@ -1,56 +1,51 @@
|
||||
%global fontname sil-nuosu
|
||||
%global fontconf 66-%{fontname}.conf
|
||||
# Packaging template: basic single-family fonts packaging.
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
Version: 2.200
|
||||
Release: 5%{?dist}
|
||||
URL: http://scripts.sil.org/SILYi_home
|
||||
|
||||
%global archivename NuosuSIL-%{version}.tar.xz
|
||||
%global foundry SIL
|
||||
%global fontlicense OFL
|
||||
%global fontlicenses OFL.txt
|
||||
%global fontdocs README.txt FONTLOG.txt
|
||||
%global fontdocsex %{fontlicenses}
|
||||
|
||||
Name: %{fontname}-fonts
|
||||
Version: 2.200
|
||||
Release: 4%{?dist}
|
||||
Summary: The Nuosu SIL Font
|
||||
%global fontfamily Nuosu SIL
|
||||
%global fontsummary The Nuosu SIL Font
|
||||
%global fonts NuosuSIL-Regular.ttf
|
||||
%global fontconfs %{SOURCE10}
|
||||
|
||||
License: OFL
|
||||
URL: http://scripts.sil.org/SILYi_home
|
||||
Source0: https://github.com/silnrsi/font-nuosu/releases/download/v%{version}/%{archivename}
|
||||
Source1: %{name}-fontconfig.conf
|
||||
Source2: %{fontname}.metainfo.xml
|
||||
%global fontdescription %{expand:
|
||||
The Nuosu SIL Font is a single Unicode font for the standardized Yi scriptused by a large ethnic group in southwestern China.
|
||||
}
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontpackages-devel
|
||||
Requires: fontpackages-filesystem
|
||||
Source0: https://github.com/silnrsi/font-nuosu/releases/download/v%{version}/NuosuSIL-%{version}.tar.xz
|
||||
Source10: 66-sil-nuosu-fonts.conf
|
||||
|
||||
%description
|
||||
The Nuosu SIL Font is a single Unicode font for the standardized Yi script
|
||||
used by a large ethnic group in southwestern China.
|
||||
Until this version, the font was called SIL Yi.
|
||||
%fontpkg
|
||||
|
||||
%prep
|
||||
%setup -q -n NuosuSIL-%{version}
|
||||
sed -i 's/\r//' OFL.txt FONTLOG.txt
|
||||
|
||||
%build
|
||||
|
||||
%fontbuild
|
||||
|
||||
%install
|
||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
||||
%fontinstall
|
||||
|
||||
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||
%{buildroot}%{_fontconfig_confdir}
|
||||
%check
|
||||
%fontcheck
|
||||
|
||||
install -m 0644 -p %{SOURCE1} \
|
||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
||||
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
||||
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
||||
|
||||
# Add AppStream metadata
|
||||
install -Dm 0644 -p %{SOURCE2} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||
|
||||
%_font_pkg -f %{fontconf} *.ttf
|
||||
%doc OFL.txt FONTLOG.txt
|
||||
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||
%fontfiles
|
||||
|
||||
%changelog
|
||||
* Tue Jun 21 2022 Peng Wu <pwu@redhat.com> - 2.200-5
|
||||
- Update the fonts package
|
||||
- https://fedoraproject.org/wiki/Changes/New_Fonts_Packaging
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.200-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2014 Parag Nemade <pnemade AT redhat DOT com> -->
|
||||
<component type="font">
|
||||
<id>sil-nuosu</id>
|
||||
<metadata_license>CC-BY-3.0</metadata_license>
|
||||
<name>Nuosu SIL</name>
|
||||
<summary>The Nuosu SIL Font</summary>
|
||||
<description>
|
||||
<p>
|
||||
The Nuosu SIL Font is a single Unicode font for the standardized Yi script
|
||||
used by a large ethnic group in southwestern China.
|
||||
Until this version, the font was called SIL Yi.
|
||||
</p>
|
||||
</description>
|
||||
<updatecontact>pnemade_at_redhat_dot_com</updatecontact>
|
||||
<url type="homepage">http://scripts.sil.org/SILYi_home</url>
|
||||
</component>
|
Loading…
Reference in New Issue
Block a user