|
|
@ -1,78 +1,62 @@
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
%global fontname sil-nuosu
|
|
|
|
|
|
|
|
%global fontconf 66-%{fontname}.conf
|
|
|
|
|
|
|
|
|
|
|
|
Version: 2.200
|
|
|
|
%global archivename NuosuSIL-%{version}.tar.xz
|
|
|
|
Release: 12%{?dist}
|
|
|
|
|
|
|
|
URL: http://scripts.sil.org/SILYi_home
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global foundry SIL
|
|
|
|
Name: %{fontname}-fonts
|
|
|
|
%global fontlicense OFL-1.1-RFN
|
|
|
|
Version: 2.200
|
|
|
|
%global fontlicenses OFL.txt
|
|
|
|
Release: 4%{?dist}
|
|
|
|
%global fontdocs README.txt FONTLOG.txt
|
|
|
|
Summary: The Nuosu SIL Font
|
|
|
|
|
|
|
|
|
|
|
|
%global fontfamily Nuosu SIL
|
|
|
|
|
|
|
|
%global fontsummary The Nuosu SIL Font
|
|
|
|
|
|
|
|
%global fonts NuosuSIL-Regular.ttf
|
|
|
|
|
|
|
|
%global fontconfs %{SOURCE10}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global fontdescription %{expand:
|
|
|
|
License: OFL
|
|
|
|
The Nuosu SIL Font is a single Unicode font for the standardized Yi script used by a large ethnic group in southwestern China.
|
|
|
|
URL: http://scripts.sil.org/SILYi_home
|
|
|
|
}
|
|
|
|
Source0: https://github.com/silnrsi/font-nuosu/releases/download/v%{version}/%{archivename}
|
|
|
|
|
|
|
|
Source1: %{name}-fontconfig.conf
|
|
|
|
|
|
|
|
Source2: %{fontname}.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
Source0: https://github.com/silnrsi/font-nuosu/releases/download/v%{version}/NuosuSIL-%{version}.tar.xz
|
|
|
|
BuildArch: noarch
|
|
|
|
Source10: 66-sil-nuosu-fonts.conf
|
|
|
|
BuildRequires: fontpackages-devel
|
|
|
|
|
|
|
|
Requires: fontpackages-filesystem
|
|
|
|
|
|
|
|
|
|
|
|
%fontpkg
|
|
|
|
%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
|
|
|
|
%prep
|
|
|
|
%autosetup -n NuosuSIL-%{version}
|
|
|
|
%setup -q -n NuosuSIL-%{version}
|
|
|
|
%linuxtext OFL.txt FONTLOG.txt
|
|
|
|
sed -i 's/\r//' OFL.txt FONTLOG.txt
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%fontbuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
|
|
|
%fontinstall
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
|
|
|
%fontcheck
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%fontfiles
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%install
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.200-12
|
|
|
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 2.200-11
|
|
|
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.200-11
|
|
|
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.200-10
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.200-9
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Mar 10 2023 Peng Wu <pwu@redhat.com> - 2.200-8
|
|
|
|
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
|
- Migrate to SPDX license
|
|
|
|
%{buildroot}%{_fontconfig_confdir}
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.200-7
|
|
|
|
install -m 0644 -p %{SOURCE1} \
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
|
|
|
|
|
|
|
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
|
|
|
|
|
|
|
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.200-6
|
|
|
|
# Add AppStream metadata
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
install -Dm 0644 -p %{SOURCE2} \
|
|
|
|
|
|
|
|
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 21 2022 Peng Wu <pwu@redhat.com> - 2.200-5
|
|
|
|
%_font_pkg -f %{fontconf} *.ttf
|
|
|
|
- Update the fonts package
|
|
|
|
%doc OFL.txt FONTLOG.txt
|
|
|
|
- https://fedoraproject.org/wiki/Changes/New_Fonts_Packaging
|
|
|
|
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.200-4
|
|
|
|
%changelog
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.200-4
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.200-3
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.200-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.200-2
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.200-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|