commit 2708f42a90674d0e9ec0e94c79720312caa1b8d2
Author: overweight <5324761+overweight@user.noreply.gitee.com>
Date: Mon Sep 30 11:20:01 2019 -0400
Package init
diff --git a/wqy-microhei-0.2.0-beta.tar.gz b/wqy-microhei-0.2.0-beta.tar.gz
new file mode 100644
index 0000000..592de7e
Binary files /dev/null and b/wqy-microhei-0.2.0-beta.tar.gz differ
diff --git a/wqy-microhei-fonts-fontconfig.conf b/wqy-microhei-fonts-fontconfig.conf
new file mode 100644
index 0000000..fac927f
--- /dev/null
+++ b/wqy-microhei-fonts-fontconfig.conf
@@ -0,0 +1,69 @@
+
+
+
+
+
+ WenQuanYi Micro Hei
+
+
+ false
+
+
+
+
+
+ zh
+
+
+ monospace
+
+
+ WenQuanYi Micro Hei Mono
+
+
+
+
+ WenQuanYi Micro Hei Mono
+
+ monospace
+
+
+
+
+
+ zh
+
+
+ serif
+
+
+ WenQuanYi Micro Hei
+
+
+
+
+ WenQuanYi Micro Hei
+
+ serif
+
+
+
+
+
+ zh
+
+
+ sans-serif
+
+
+ WenQuanYi Micro Hei
+
+
+
+
+ WenQuanYi Micro Hei
+
+ sans-serif
+
+
+
diff --git a/wqy-microhei-fonts.spec b/wqy-microhei-fonts.spec
new file mode 100644
index 0000000..13a9e2d
--- /dev/null
+++ b/wqy-microhei-fonts.spec
@@ -0,0 +1,77 @@
+%global fontname wqy-microhei
+%global fontconf 66-%{fontname}.conf
+
+Name: wqy-microhei-fonts
+Version: 0.2.0
+Release: 0.24
+Summary: Compact Chinese fonts derived from Droid
+
+License: ASL 2.0 or GPLv3 with exceptions
+URL: http://wenq.org/en/
+Source0: http://downloads.sourceforge.net/wqy/%{fontname}-%{version}-beta.tar.gz
+#Source1 comes frome fedora 11
+Source1: %{name}-fontconfig.conf
+
+BuildArch: noarch
+BuildRequires: fontpackages-devel
+Requires: fontpackages-filesystem
+
+%description
+WenQuanYi Micro Hei font family is a Sans-Serif style (also known as
+Hei,
+Gothic or Dotum among the Chinese/Japanese/Korean users) high quality
+
+CJK outline font. It was derived from "Droid Sans Fallback", "Droid
+Sans" and "Droid Sans Mono" released by Google Corp. This font
+package
+contains two faces, "Micro Hei" and "Micro Hei Mono", in form of a
+True-Type Collection (ttc) file. All the unified CJK Han glyphs, i.e.
+
+GBK Hanzi, in the range of U+4E00-U+9FC3 defined in Unicode Standard
+5.1 are covered, with additional support to many other international
+languages such as Latin, Extended Latin, Hanguls and Kanas. The font
+file is extremely compact (~5M) compared with most known CJK fonts.
+As a result, it can be used for hand-held devices or embedded systems,
+or used on PC with a significantly small memory footprint. Because both
+font faces carry hinting and kerning instructions for Latin glyphs,
+they are the excellent choices for desktop fonts.
+
+%package_help
+
+%prep
+%autosetup -n %{fontname} -p1
+
+%build
+
+%install
+mkdir -p %{buildroot}%{_fontdir}
+install -c -m 644 *.ttc %{buildroot}%{_fontdir}
+
+install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
+ %{buildroot}%{_fontconfig_confdir}
+
+install -c -m 644 %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
+
+ln -s %{_fontconfig_templatedir}/%{fontconf} \
+ %{buildroot}%{_fontconfig_confdir}/%{fontconf}
+
+%files
+%defattr(-,root,root)
+%{_sysconfdir}/fonts/*
+%{_fontconfig_templatedir}/*
+%{_fontdir}/*
+%license LICENSE_Apache2.txt LICENSE_GPLv3.txt
+
+%files help
+%defattr(-,root,root)
+%doc README.txt
+
+%changelog
+* Fri Sep 6 2019 openEuler Buildteam - 0.2.0-0.24
+- Type:enhancement
+- ID:NA
+- SUG:NA
+- DESC:add requires
+
+* Tue Aug 13 2019 openEuler Buildteam - 0.2.0-0.23
+- Package init