2020-10-15 16:37:06 +00:00
|
|
|
%global fontname sil-nuosu
|
|
|
|
%global fontconf 66-%{fontname}.conf
|
|
|
|
|
2020-10-30 02:15:40 +00:00
|
|
|
%global archivename NuosuSIL-%{version}.tar.xz
|
2020-10-15 16:37:06 +00:00
|
|
|
|
|
|
|
Name: %{fontname}-fonts
|
2020-10-30 02:15:40 +00:00
|
|
|
Version: 2.200
|
2021-02-05 06:22:39 +00:00
|
|
|
Release: 2%{?dist}
|
2020-10-15 16:37:06 +00:00
|
|
|
Summary: The Nuosu SIL Font
|
|
|
|
|
|
|
|
License: OFL
|
|
|
|
URL: http://scripts.sil.org/SILYi_home
|
2020-10-30 02:15:40 +00:00
|
|
|
Source0: https://github.com/silnrsi/font-nuosu/releases/download/v%{version}/%{archivename}
|
2020-10-15 16:37:06 +00:00
|
|
|
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
|
2020-10-30 02:15:40 +00:00
|
|
|
%setup -q -n NuosuSIL-%{version}
|
|
|
|
sed -i 's/\r//' OFL.txt FONTLOG.txt
|
2020-10-15 16:37:06 +00:00
|
|
|
|
|
|
|
%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
|
2020-10-30 02:15:40 +00:00
|
|
|
%doc OFL.txt FONTLOG.txt
|
2020-10-15 16:37:06 +00:00
|
|
|
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
|
|
|
|
|
%changelog
|
2021-02-05 06:22:39 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.200-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-10-30 02:15:40 +00:00
|
|
|
* Thu Oct 29 2020 Peng Wu <pwu@redhat.com> - 2.200-1
|
|
|
|
- Update to 2.200
|
|
|
|
- Corrected shape of U+300D and U+300F
|
|
|
|
|
2020-10-15 16:37:06 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-18
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
* Fri Oct 17 2014 Parag Nemade <pnemade AT redhat DOT com> - 2.1.1-9
|
|
|
|
- Add metainfo file to show this font in gnome-software
|
|
|
|
|
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
* Sat Feb 12 2011 Peng Wu <pwu@redhat.com> - 2.1.1-3
|
|
|
|
- Add document.
|
|
|
|
|
|
|
|
* Sun Jan 30 2011 Peng Wu <pwu@redhat.com> - 2.1.1-2
|
|
|
|
- Clean the spec file and add fontconfig file
|
|
|
|
|
|
|
|
* Wed Jan 26 2011 Peng Wu <pwu@redhat.com> - 2.1.1-1
|
|
|
|
- Initial package
|