!1 open-chinese-fonts
From: @hostfj Reviewed-by: @xzyangha Signed-off-by: @xzyangha
This commit is contained in:
commit
cf3ef419b6
BIN
open-chinese-fonts-0.1.tar.xz
Normal file
BIN
open-chinese-fonts-0.1.tar.xz
Normal file
Binary file not shown.
31
open-chinese-fonts.spec
Normal file
31
open-chinese-fonts.spec
Normal file
@ -0,0 +1,31 @@
|
||||
Name: open-chinese-fonts
|
||||
Version: 0.1
|
||||
Release: 1
|
||||
Summary: OpenType Font for Chinese
|
||||
License: GPLv2
|
||||
Source: open-chinese-fonts-%{version}.tar.xz
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontpackages-devel fontforge
|
||||
Requires: fontpackages-filesystem
|
||||
|
||||
%global fontname open-chinese-fonts
|
||||
|
||||
%description
|
||||
This package contains fonts for displaying for Chinese.
|
||||
|
||||
%prep
|
||||
%autosetup -c -p1
|
||||
|
||||
|
||||
%install
|
||||
install -m 0755 -d %{buildroot}%{_fontdir} %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir}
|
||||
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
||||
install -m 0644 -p 65-standard-named-fonts-cn.conf %{buildroot}%{_fontconfig_templatedir}/65-standard-named-fonts-cn.conf
|
||||
ln -s %{_fontconfig_templatedir}/65-standard-named-fonts-cn.conf %{buildroot}%{_fontconfig_confdir}/65-standard-named-fonts-cn.conf
|
||||
|
||||
%files
|
||||
%_font_pkg -f 65-standard-named-fonts-cn.conf *.ttf
|
||||
|
||||
%changelog
|
||||
* Thu Jan 9 2020 isoft<isoft@i-soft.com.cn> - 0.1-1
|
||||
- Pakcage init
|
||||
Loading…
x
Reference in New Issue
Block a user