add: open-hunnin-fonts fakepearl-fonts (#450)

This commit is contained in:
madomado
2023-05-22 22:24:43 +08:00
committed by GitHub
parent 0b662cac49
commit da11f8efe3
6 changed files with 80 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "fakepearl-fonts.spec"
}
}
+33
View File
@@ -0,0 +1,33 @@
Name: fakepearl-fonts
Version: 1.1
Release: 1%?dist
URL: https://github.com/max32002/FakePearl
Source0: %url/archive/refs/tags/%version.tar.gz
License: OFL-1.1
Summary: A free font family derived from open-huninn-font
BuildArch: noarch
%description
FakePeal (假粉圓體) is an open source Chinese font family
derived from justfont/open-hunnin-font.
%prep
%autosetup -n FakePearl-%version
%build
%install
mkdir -p %buildroot/%_datadir/fonts/fakepearl
install -Dm644 tw/*.ttf %buildroot/%_datadir/fonts/fakepearl/
%files
%doc README.md
%license SIL_Open_Font_License_1.1.txt
%defattr(-,root,root,0755)
/%{_datadir}/fonts/fakepearl/
%changelog
* Mon May 22 2023 windowsboy111 <windowsboy111@fyralabs.com> - 1.1
- Initial package
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("max32002/FakePearl"));
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64"]
rpm {
spec = "open-huninn-fonts.spec"
}
}
@@ -0,0 +1,33 @@
Name: open-huninn-fonts
Version: 2.0
Release: 1%?dist
URL: https://github.com/justfont/open-huninn-font
Source0: %url/archive/refs/tags/v%version.tar.gz
License: OFL-1.1
Summary: Chinese (Taiwan) font based on Kosugi Maru
BuildArch: noarch
%description
Open-huninn (jf open 粉圓) is an open source Chinese font family
derived from Kosugi Maru for daily use in Taiwan.
%prep
%autosetup -n open-huninn-font-%version
%build
%install
mkdir -p %buildroot/%_datadir/fonts/open-huninn
install -Dm644 font/jf-openhuninn-%version.ttf %buildroot/%_datadir/fonts/open-huninn/
%files
%doc README.md
%license license.txt
%defattr(-,root,root,0755)
/%{_datadir}/fonts/open-huninn/
%changelog
* Mon May 22 2023 windowsboy111 <windowsboy111@fyralabs.com> - 1.1
- Initial package
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("justfont/open-huninn-font"));