From 34f6acd3c0ecf514a89a6705d357ea4b6f29a5ab Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 06:39:20 -0400 Subject: [PATCH] import sil-nuosu-fonts-2.1.1-14.el8 --- .gitignore | 1 + .sil-nuosu-fonts.metadata | 1 + SOURCES/sil-nuosu-fonts-fontconfig.conf | 16 +++++ SOURCES/sil-nuosu.metainfo.xml | 17 +++++ SPECS/sil-nuosu-fonts.spec | 94 +++++++++++++++++++++++++ 5 files changed, 129 insertions(+) create mode 100644 .gitignore create mode 100644 .sil-nuosu-fonts.metadata create mode 100644 SOURCES/sil-nuosu-fonts-fontconfig.conf create mode 100644 SOURCES/sil-nuosu.metainfo.xml create mode 100644 SPECS/sil-nuosu-fonts.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..657dcb2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ttf-sil-nuosusil-2.1.1.tar.gz diff --git a/.sil-nuosu-fonts.metadata b/.sil-nuosu-fonts.metadata new file mode 100644 index 0000000..377b0e3 --- /dev/null +++ b/.sil-nuosu-fonts.metadata @@ -0,0 +1 @@ +0432852f9a505d01aae489b677798bc402c13306 SOURCES/ttf-sil-nuosusil-2.1.1.tar.gz diff --git a/SOURCES/sil-nuosu-fonts-fontconfig.conf b/SOURCES/sil-nuosu-fonts-fontconfig.conf new file mode 100644 index 0000000..e5b247a --- /dev/null +++ b/SOURCES/sil-nuosu-fonts-fontconfig.conf @@ -0,0 +1,16 @@ + + + + + sans-serif + + Nuosu SIL + + + + Nuosu SIL + + sans-serif + + + diff --git a/SOURCES/sil-nuosu.metainfo.xml b/SOURCES/sil-nuosu.metainfo.xml new file mode 100644 index 0000000..a3ce41a --- /dev/null +++ b/SOURCES/sil-nuosu.metainfo.xml @@ -0,0 +1,17 @@ + + + + sil-nuosu + CC-BY-3.0 + Nuosu SIL + The Nuosu SIL Font + +

+ 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. +

+
+ pnemade_at_redhat_dot_com + http://scripts.sil.org/SILYi_home +
diff --git a/SPECS/sil-nuosu-fonts.spec b/SPECS/sil-nuosu-fonts.spec new file mode 100644 index 0000000..b50b100 --- /dev/null +++ b/SPECS/sil-nuosu-fonts.spec @@ -0,0 +1,94 @@ +%global fontname sil-nuosu +%global fontconf 66-%{fontname}.conf + +%global archivename ttf-sil-nuosusil-2.1.1.tar.gz + +Name: %{fontname}-fonts +Version: 2.1.1 +Release: 14%{?dist} +Summary: The Nuosu SIL Font + +License: OFL +URL: http://scripts.sil.org/SILYi_home +Source0: %{archivename} +Source1: %{name}-fontconfig.conf +Source2: %{fontname}.metainfo.xml + +BuildArch: noarch +BuildRequires: fontpackages-devel +Requires: fontpackages-filesystem + +%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. + +%prep +%setup -q -c %{name} +sed -i 's/\r//' OFL.txt doc/FONTLOG.txt + +%build + + +%install +install -m 0755 -d %{buildroot}%{_fontdir} +install -m 0644 -p *.ttf %{buildroot}%{_fontdir} + +install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ + %{buildroot}%{_fontconfig_confdir} + +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 doc/FONTLOG.txt +%{_datadir}/appdata/%{fontname}.metainfo.xml + +%changelog +* Fri Feb 09 2018 Fedora Release Engineering - 2.1.1-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 2.1.1-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 2.1.1-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Feb 05 2016 Fedora Release Engineering - 2.1.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 2.1.1-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Oct 17 2014 Parag Nemade - 2.1.1-9 +- Add metainfo file to show this font in gnome-software + +* Sun Jun 08 2014 Fedora Release Engineering - 2.1.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Aug 04 2013 Fedora Release Engineering - 2.1.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 2.1.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 2.1.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 2.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sat Feb 12 2011 Peng Wu - 2.1.1-3 +- Add document. + +* Sun Jan 30 2011 Peng Wu - 2.1.1-2 +- Clean the spec file and add fontconfig file + +* Wed Jan 26 2011 Peng Wu - 2.1.1-1 +- Initial package