Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
wqy-microhei-fonts
wqy-microhei-fonts.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wqy-microhei-fonts.spec of Package wqy-microhei-fonts
# # spec file for package wqy-microhei-fonts # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: wqy-microhei-fonts Version: 0.2.0 Release: 0 License: Apache-2.0 or SUSE-GPL-3.0+-with-font-exception Summary: WenQuanYi Micro Hei Url: http://wenq.org/en/ Group: System/X11/Fonts Source: wqy-microhei-0.2.0-beta.tar.gz Source1: 57-wqy-microhei.conf Requires(pre): %suseconfig_fonts_prereq Provides: scalable-font-zh-CN, Provides: scalable-font-zh-SG Provides: scalable-font-zh-TW, Provides: locale(zh_TW;zh_CN;zh_SG) Provides: ttf-wqy-microhei = %{version} Obsoletes: ttf-wqy-microhei <= 0.2.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %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. %prep %setup -q -n wqy-microhei %build %install mkdir -p %{buildroot}%{_datadir}/fonts/truetype install -c -m 644 wqy-microhei.ttc %{buildroot}%{_datadir}/fonts/truetype/ mkdir -p %{buildroot}%{_sysconfdir}/fonts/conf.avail/ install -c -m 644 $RPM_SOURCE_DIR/57-wqy-microhei.conf %{buildroot}%{_sysconfdir}/fonts/conf.avail/57-wqy-microhei.conf mkdir -p %{buildroot}%{_sysconfdir}/fonts/conf.d/ cd %{buildroot}%{_sysconfdir}/fonts/conf.d/ ln -s ../conf.avail/57-wqy-microhei.conf %clean rm -rf %{buildroot} %post %run_suseconfig_fonts -c %postun %run_suseconfig_fonts -c %files %defattr(-,root,root) %doc README.txt AUTHORS.txt ChangeLog.txt INSTALL.txt LICENSE_Apache2.txt LICENSE_GPLv3.txt %dir %{_datadir}/fonts/truetype %dir %{_sysconfdir}/fonts/ %dir %{_sysconfdir}/fonts/conf.avail/ %dir %{_sysconfdir}/fonts/conf.d/ %{_datadir}/fonts/truetype/wqy-microhei.ttc %config %{_sysconfdir}/fonts/conf.avail/57-wqy-microhei.conf %config %{_sysconfdir}/fonts/conf.d/57-wqy-microhei.conf %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor