mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-16 08:30:37 +00:00
Add naikai-fonts
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project "pkg" {
|
||||
rpm {
|
||||
spec = "naikai-fonts.spec"
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user