Add naikai-fonts

This commit is contained in:
windowsboy111
2022-11-22 19:17:28 +08:00
parent 62d05f2279
commit 9bdd4dc79f
2 changed files with 58 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project "pkg" {
rpm {
spec = "naikai-fonts.spec"
}
}
+53
View File
@@ -0,0 +1,53 @@
Name: naikai-fonts
Version: 1.87
Release: %autorelease
URL: https://github.com/max32002/naikaifont
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
License: OFLv1.1
Summary: A free font family derived from setofont
BuildRequires: unzip
BuildArch: noarch
%description
%{summary}.
%package jp
Summary: A free font family derived from setofont (JP version)
%description jp
%{summary}. 瀬戸フォントに由来、たくさん中国語文字を加えた無料なフォント
%package tw
Summary: A free font family derived from setofont (TW version)
%description tw
%{summary}. 瀨戶字體的繁體中文補字計畫
%prep
%setup -n naikaifont-1.87
%install
mkdir -p $RPM_BUILD_ROOT/%{prefix}/%{name}-{jp,tw}/
cp -r jp/*.ttf $RPM_BUILD_ROOT/%{prefix}/%{name}-jp/
cp -r tw/*.ttf $RPM_BUILD_ROOT/%{prefix}/%{name}-tw/
%clean
rm -rf $RPM_BUILD_ROOT
%files jp
%doc README.md
%license SIL_Open_Font_License_1.1.txt
%defattr(-,root,root,0755)
/%{prefix}/%{name}-jp
%files tw
%doc README.md
%license SIL_Open_Font_License_1.1.txt
%defattr(-,root,root,0755)
/%{prefix}/%{name}-tw
%changelog
* Tue Nov 22 2022 windowsboy111 <windowsboy111@fyralabs.com> - 1.87
- Initial package