!7 Update to 2.200
From: @houlifei_uniontech Reviewed-by: @leeffo Signed-off-by: @leeffo
This commit is contained in:
commit
ab80332b2b
Binary file not shown.
BIN
NuosuSIL-2.200.tar.xz
Normal file
BIN
NuosuSIL-2.200.tar.xz
Normal file
Binary file not shown.
@ -1,12 +1,18 @@
|
|||||||
Name: sil-nuosu-fonts
|
%global fontname sil-nuosu
|
||||||
Version: 2.1.1
|
%global fontconf 66-%{fontname}.conf
|
||||||
Release: 18
|
|
||||||
|
%global archivename NuosuSIL-%{version}.tar.xz
|
||||||
|
|
||||||
|
Name: %{fontname}-fonts
|
||||||
|
Version: 2.200
|
||||||
|
Release: 1
|
||||||
Summary: The Nuosu SIL Font
|
Summary: The Nuosu SIL Font
|
||||||
License: OFL-1.1
|
License: OFL-1.1
|
||||||
URL: http://scripts.sil.org/SILYi_home
|
URL: http://scripts.sil.org/SILYi_home
|
||||||
|
|
||||||
Source0: https://software.sil.org/downloads/r/nuosu/NuosuSIL-2.1.1-source.tar.gz
|
Source0: https://github.com/silnrsi/font-nuosu/releases/download/v%{version}/%{archivename}
|
||||||
Source1: sil-nuosu-fonts-fontconfig.conf
|
Source1: %{name}-fontconfig.conf
|
||||||
|
Source2: %{fontname}.metainfo.xml
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: fontpackages-devel
|
BuildRequires: fontpackages-devel
|
||||||
@ -20,32 +26,36 @@ Until this version, the font was called SIL Yi.
|
|||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c %{name}
|
%setup -q -n NuosuSIL-%{version}
|
||||||
sed -i 's/\r//' OFL.txt doc/FONTLOG.txt
|
sed -i 's/\r//' OFL.txt FONTLOG.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -m 0755 -d %{buildroot}%{_datadir}/fonts/sil-nuosu
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||||
install -m 0644 -p NuosuSIL.ttf %{buildroot}%{_datadir}/fonts/sil-nuosu
|
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
||||||
install -m 0755 -d %{buildroot}%{_datadir}/fontconfig/conf.avail
|
|
||||||
install -m 0755 -d %{buildroot}%{_sysconfdir}/fonts/conf.d
|
|
||||||
install -m 0644 -p %{SOURCE1} %{buildroot}%{_datadir}/fontconfig/conf.avail/66-sil-nuosu.conf
|
|
||||||
ln -s %{_datadir}/fontconfig/conf.avail/66-sil-nuosu.conf %{buildroot}%{_sysconfdir}/fonts/conf.d/66-sil-nuosu.conf
|
|
||||||
|
|
||||||
%files
|
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||||
%defattr(-,root,root)
|
%{buildroot}%{_fontconfig_confdir}
|
||||||
%doc debian-src/changelog debian-src/README.Debian
|
|
||||||
%license debian-src/LICENSE debian-src/copyright
|
|
||||||
%{_sysconfdir}/fonts/conf.d/66-sil-nuosu.conf
|
|
||||||
%{_datadir}/fonts/sil-nuosu/NuosuSIL.ttf
|
|
||||||
%{_datadir}/fontconfig/conf.avail/66-sil-nuosu.conf
|
|
||||||
|
|
||||||
%files help
|
install -m 0644 -p %{SOURCE1} \
|
||||||
%defattr(-,root,root)
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
||||||
%doc OFL.txt doc/FONTLOG.txt
|
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
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 31 2023 houlifei <houlifei@uniontech.com> - 2.200-1
|
||||||
|
- Update to 2.200
|
||||||
|
- Add metainfo file to show this font in gnome-software
|
||||||
|
|
||||||
* Wed May 25 2022 chendexi <chendexi@kylinos.cn> - 2.1.1-18
|
* Wed May 25 2022 chendexi <chendexi@kylinos.cn> - 2.1.1-18
|
||||||
- Change the license to "OFL-1.1"
|
- Change the license to "OFL-1.1"
|
||||||
|
|
||||||
|
|||||||
17
sil-nuosu.metainfo.xml
Normal file
17
sil-nuosu.metainfo.xml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?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…
x
Reference in New Issue
Block a user