2011-02-12 07:15:53 +00:00
|
|
|
%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
|
2017-02-11 13:28:50 +00:00
|
|
|
Release: 12%{?dist}
|
2011-02-12 07:15:53 +00:00
|
|
|
Summary: The Nuosu SIL Font
|
|
|
|
|
|
|
|
License: OFL
|
|
|
|
URL: http://scripts.sil.org/SILYi_home
|
|
|
|
Source0: %{archivename}
|
|
|
|
Source1: %{name}-fontconfig.conf
|
2014-10-17 14:10:06 +00:00
|
|
|
Source2: %{fontname}.metainfo.xml
|
2011-02-12 07:15:53 +00:00
|
|
|
|
|
|
|
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}
|
2011-02-12 07:19:21 +00:00
|
|
|
sed -i 's/\r//' OFL.txt doc/FONTLOG.txt
|
2011-02-12 07:15:53 +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}
|
|
|
|
|
2014-10-17 14:10:06 +00:00
|
|
|
# Add AppStream metadata
|
|
|
|
install -Dm 0644 -p %{SOURCE2} \
|
|
|
|
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
2011-02-12 07:15:53 +00:00
|
|
|
|
|
|
|
%_font_pkg -f %{fontconf} *.ttf
|
2011-02-12 07:19:21 +00:00
|
|
|
%doc OFL.txt doc/FONTLOG.txt
|
2014-10-17 14:10:06 +00:00
|
|
|
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
2011-02-12 07:15:53 +00:00
|
|
|
|
|
|
|
%changelog
|
2017-02-11 13:28:50 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-05 00:02:19 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-19 00:53:38 +00:00
|
|
|
* 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
|
|
|
|
|
2014-10-17 14:10:06 +00:00
|
|
|
* 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
|
|
|
|
|
2014-06-08 06:23:14 +00:00
|
|
|
* 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
|
|
|
|
|
2013-08-04 14:34:14 +00:00
|
|
|
* 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
|
|
|
|
|
2013-02-14 23:57:48 +00:00
|
|
|
* 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
|
|
|
|
|
2012-07-21 19:39:03 +00:00
|
|
|
* 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
|
|
|
|
|
2012-01-14 03:56:51 +00:00
|
|
|
* 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
|
|
|
|
|
2011-02-12 07:19:21 +00:00
|
|
|
* Sat Feb 12 2011 Peng Wu <pwu@redhat.com> - 2.1.1-3
|
|
|
|
- Add document.
|
|
|
|
|
2011-02-12 07:15:53 +00:00
|
|
|
* 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
|