Blame SPECS/sil-nuosu-fonts.spec

196098
%global fontname sil-nuosu
196098
%global fontconf 66-%{fontname}.conf
196098
196098
%global archivename NuosuSIL-2.200.tar.xz
196098
196098
Name:           %{fontname}-fonts
196098
Version:        2.200
196098
Release:        2%{?dist}
196098
Summary:        The Nuosu SIL Font
196098
196098
License:        OFL
196098
URL:            http://scripts.sil.org/SILYi_home
196098
Source0:        %{archivename}
196098
Source1:        %{name}-fontconfig.conf
196098
Source2:        %{fontname}.metainfo.xml
196098
196098
BuildArch:      noarch
196098
BuildRequires:  fontpackages-devel
196098
Requires:       fontpackages-filesystem
196098
196098
%description
196098
The Nuosu SIL Font is a single Unicode font for the standardized Yi script
196098
used by a large ethnic group in southwestern China.
196098
Until this version, the font was called SIL Yi.
196098
196098
%prep
196098
%setup -q -n NuosuSIL-%{version}
196098
sed -i 's/\r//' OFL.txt FONTLOG.txt
196098
196098
%build
196098
196098
196098
%install
196098
install -m 0755 -d %{buildroot}%{_fontdir}
196098
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
196098
196098
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
196098
                   %{buildroot}%{_fontconfig_confdir}
196098
196098
install -m 0644 -p %{SOURCE1} \
196098
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
196098
ln -s %{_fontconfig_templatedir}/%{fontconf} \
196098
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
196098
196098
# Add AppStream metadata
196098
install -Dm 0644 -p %{SOURCE2} \
196098
        %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
196098
196098
%_font_pkg -f %{fontconf} *.ttf
196098
%doc OFL.txt FONTLOG.txt
196098
%{_datadir}/appdata/%{fontname}.metainfo.xml
196098
196098
%changelog
196098
* Thu Apr  1 2021 Peng Wu <pwu@redhat.com> - 2.200-2
196098
- Rebuild the package
196098
- Resolves: #1762623
196098
196098
* Tue Mar 30 2021 Peng Wu <pwu@redhat.com> - 2.200-1
196098
- Update to 2.200
196098
- Corrected shape of U+300D and U+300F
196098
- Resolves: #1762623
196098
196098
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-14
196098
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
196098
196098
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-13
196098
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
196098
196098
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-12
196098
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
196098
196098
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-11
196098
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
196098
196098
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-10
196098
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
196098
196098
* Fri Oct 17 2014 Parag Nemade <pnemade AT redhat DOT com> - 2.1.1-9
196098
- Add metainfo file to show this font in gnome-software
196098
196098
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-8
196098
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
196098
196098
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-7
196098
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
196098
196098
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-6
196098
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
196098
196098
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-5
196098
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
196098
196098
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.1-4
196098
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
196098
196098
* Sat Feb 12 2011  Peng Wu <pwu@redhat.com> - 2.1.1-3
196098
- Add document.
196098
196098
* Sun Jan 30 2011  Peng Wu <pwu@redhat.com> - 2.1.1-2
196098
- Clean the spec file and add fontconfig file
196098
196098
* Wed Jan 26 2011  Peng Wu <pwu@redhat.com> - 2.1.1-1
196098
- Initial package