|
|
a72eae |
%global fontname wqy-zenhei
|
|
|
a72eae |
%global fontconf1 65-0-%{fontname}.conf
|
|
|
a72eae |
%global fontconf2 65-0-%{fontname}-sharp.conf
|
|
|
a72eae |
%global common_desc \
|
|
|
a72eae |
WenQuanYi Zen Hei is a Hei-Ti style (sans-serif type) Chinese \
|
|
|
a72eae |
outline font. It is designed for general purpose text formatting \
|
|
|
a72eae |
and on-screen display of Chinese characters and symbols from \
|
|
|
a72eae |
many other languages. The embolden strokes of the font glyphs \
|
|
|
a72eae |
produces enhanced screen contrast, making it easier to read \
|
|
|
a72eae |
recognize. The embedded bitmap glyphs further enhance on-screen \
|
|
|
a72eae |
performance, which can be enabled with the provided configuration \
|
|
|
a72eae |
files. WenQuanYi Zen Hei provides a rather complete coverage to \
|
|
|
a72eae |
Chinese Hanzi glyphs, including both simplified and traditional \
|
|
|
a72eae |
forms. The total glyph number in this font is over 35,000, including \
|
|
|
a72eae |
over 21,000 Chinese Hanzi. This font has full coverage to GBK(CP936) \
|
|
|
a72eae |
charset, CJK Unified Ideographs, as well as the code-points \
|
|
|
a72eae |
needed for zh_cn, zh_sg, zh_tw, zh_hk, zh_mo, ja (Japanese) \
|
|
|
a72eae |
and ko (Korean) locales for fontconfig. Starting from version \
|
|
|
a72eae |
0.8, this font package has contained two font families, i.e. \
|
|
|
a72eae |
the proportionally-spaced Zen Hei, and a mono-spaced face \
|
|
|
a72eae |
named "WenQuanYi Zen Hei Mono".
|
|
|
a72eae |
|
|
|
a72eae |
%global setscript zenheiset
|
|
|
a72eae |
|
|
|
a72eae |
Name: %{fontname}-fonts
|
|
|
a72eae |
Version: 0.9.46
|
|
|
a72eae |
Release: 11%{?dist}
|
|
|
a72eae |
Summary: WenQuanYi Zen Hei CJK Font
|
|
|
a72eae |
|
|
|
a72eae |
Group: User Interface/X
|
|
|
a72eae |
License: GPLv2 with exceptions
|
|
|
a72eae |
URL: http://wenq.org/enindex.cgi
|
|
|
a72eae |
Source0: http://downloads.sourceforge.net/wqy/%{fontname}-%{version}-May.tar.bz2
|
|
|
a72eae |
Source1: %{fontconf1}
|
|
|
a72eae |
Source2: %{fontconf2}
|
|
|
a72eae |
Source3: %{setscript}
|
|
|
a72eae |
|
|
|
a72eae |
BuildArch: noarch
|
|
|
a72eae |
BuildRequires: fontpackages-devel
|
|
|
a72eae |
Requires: fontpackages-filesystem
|
|
|
a72eae |
Obsoletes: wqy-zenhei-fonts-common < 0.9.45-5
|
|
|
a72eae |
Provides: wqy-zenhei-fonts-common = %{version}-%{release}
|
|
|
a72eae |
|
|
|
a72eae |
%description
|
|
|
a72eae |
%common_desc
|
|
|
a72eae |
|
|
|
a72eae |
%prep
|
|
|
a72eae |
%setup -q -n %{fontname}
|
|
|
a72eae |
|
|
|
a72eae |
iconv -f GB18030 -t UTF-8 -o AUTHORS.utf8 AUTHORS
|
|
|
a72eae |
touch -r AUTHORS AUTHORS.utf8
|
|
|
a72eae |
mv AUTHORS.utf8 AUTHORS
|
|
|
a72eae |
|
|
|
a72eae |
iconv -f ISO-8859-1 -t UTF-8 -o README.utf8 README
|
|
|
a72eae |
touch -r README README.utf8
|
|
|
a72eae |
mv README.utf8 README
|
|
|
a72eae |
|
|
|
a72eae |
%build
|
|
|
a72eae |
%{nil}
|
|
|
a72eae |
|
|
|
a72eae |
%install
|
|
|
a72eae |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
a72eae |
install -m 0644 -p *.ttc %{buildroot}%{_fontdir}
|
|
|
a72eae |
|
|
|
a72eae |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
a72eae |
%{buildroot}%{_fontconfig_confdir}
|
|
|
a72eae |
|
|
|
a72eae |
install -m 0644 -p %{SOURCE1} \
|
|
|
a72eae |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf1}
|
|
|
a72eae |
install -m 0644 -p %{SOURCE2} \
|
|
|
a72eae |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf2}
|
|
|
a72eae |
|
|
|
a72eae |
ln -s %{_fontconfig_templatedir}/%{fontconf2} \
|
|
|
a72eae |
%{buildroot}%{_fontconfig_confdir}/%{fontconf2}
|
|
|
a72eae |
|
|
|
a72eae |
install -m 0755 -d %{buildroot}%{_bindir}
|
|
|
a72eae |
|
|
|
a72eae |
install -m 0755 -p %{SOURCE3} \
|
|
|
a72eae |
%{buildroot}%{_bindir}/%{setscript}
|
|
|
a72eae |
|
|
|
a72eae |
|
|
|
a72eae |
%_font_pkg -f ??-?-%{fontname}*.conf *.ttc
|
|
|
a72eae |
%dir %{_fontdir}
|
|
|
a72eae |
%doc AUTHORS ChangeLog COPYING README
|
|
|
a72eae |
%defattr(-, root, root, -)
|
|
|
a72eae |
%{_bindir}/%{setscript}
|
|
|
a72eae |
|
|
|
a72eae |
|
|
|
a72eae |
%changelog
|
|
|
a72eae |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.9.46-11
|
|
|
a72eae |
- Mass rebuild 2013-12-27
|
|
|
a72eae |
|
|
|
a72eae |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.46-10
|
|
|
a72eae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
a72eae |
|
|
|
a72eae |
* Thu Nov 15 2012 Peng Wu <pwu@redhat.com> - 0.9.46-9
|
|
|
a72eae |
- Fixes spec file again
|
|
|
a72eae |
|
|
|
a72eae |
* Thu Nov 15 2012 Peng Wu <pwu@redhat.com> - 0.9.46-8
|
|
|
a72eae |
- Improves spec file
|
|
|
a72eae |
|
|
|
a72eae |
* Tue Nov 13 2012 Peng Wu <pwu@redhat.com> - 0.9.46-7
|
|
|
a72eae |
- Fixes spec file
|
|
|
a72eae |
|
|
|
a72eae |
* Wed Aug 22 2012 Peng Wu <pwu@redhat.com> - 0.9.46-6
|
|
|
a72eae |
- Fixes Download URL
|
|
|
a72eae |
|
|
|
a72eae |
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.46-5
|
|
|
a72eae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
a72eae |
|
|
|
a72eae |
* Tue Jul 10 2012 Peng Wu <pwu@redhat.com> - 0.9.46-4
|
|
|
a72eae |
- Fixes fontconf
|
|
|
a72eae |
|
|
|
a72eae |
* Fri Jan 06 2012 Peng Wu <pwu@redhat.com> - 0.9.46-3
|
|
|
a72eae |
- Change the default Simplified Chinese font to "WenQuanYi Zen Hei Sharp"
|
|
|
a72eae |
|
|
|
a72eae |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.46-2
|
|
|
a72eae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
a72eae |
|
|
|
a72eae |
* Fri Jan 07 2011 Peng Wu <pwu@redhat.com> - 0.9.46-1
|
|
|
a72eae |
- Update to snapshot build (Fighting-states) for GB18030 test.
|
|
|
a72eae |
|
|
|
a72eae |
* Thu May 27 2010 Peng Wu <pwu@redhat.com> - 0.9.45-5
|
|
|
a72eae |
- Obsoletes -common sub-package.
|
|
|
a72eae |
|
|
|
a72eae |
* Wed May 26 2010 Peng Wu <pwu@redhat.com> - 0.9.45-4
|
|
|
a72eae |
- Clean up rpm spec file and remove unused patches.
|
|
|
a72eae |
|
|
|
a72eae |
* Wed May 26 2010 Peng Wu <pwu@redhat.com> - 0.9.45-3
|
|
|
a72eae |
- Improves Simplified Chinese and Traditional Chinese fonts.
|
|
|
a72eae |
Resolves [rhbz#595223] Improves SC/TC fonts - Make wqy-zenhei as the default font for Simplified Chinese.
|
|
|
a72eae |
|
|
|
a72eae |
* Mon Apr 19 2010 Peng Wu <pwu@redhat.com> - 0.9.45-2
|
|
|
a72eae |
- get rid of binding="same", fixes [rhbz#578051] New: lang-specific overrides rule doesn't work as expected.
|
|
|
a72eae |
|
|
|
a72eae |
* Mon Mar 15 2010 Peng Wu <pwu@redhat.com> - 0.9.45-1
|
|
|
a72eae |
- Update to the upstream version 0.9.45 (#573330)
|
|
|
a72eae |
|
|
|
a72eae |
* Mon Mar 01 2010 Peng Wu <pwu@redhat.com> - 0.8.38-5
|
|
|
a72eae |
- make this package adopt the Packaging:FontsPolicy (#568587)
|
|
|
a72eae |
|
|
|
a72eae |
* Mon Dec 21 2009 Jens Petersen <petersen@redhat.com> - 0.8.38-4
|
|
|
a72eae |
- add a fedora fontconfig file for zh (#476459)
|
|
|
a72eae |
|
|
|
a72eae |
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.38-3
|
|
|
a72eae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
a72eae |
|
|
|
a72eae |
*Mon Mar 30 2009 Qianqian Fang <fangqq@gmail.com> 0.8.38-2
|
|
|
a72eae |
- rebuild to pickup font autodeps (# 491974)
|
|
|
a72eae |
|
|
|
a72eae |
*Sat Mar 07 2009 Qianqian Fang <fangqq@gmail.com> 0.8.38-1
|
|
|
a72eae |
- update to the final version of upstream v0.8 release
|
|
|
a72eae |
|
|
|
a72eae |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.34-3.20081027cvs
|
|
|
a72eae |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
a72eae |
|
|
|
a72eae |
*Wed Feb 11 2009 Qianqian Fang <fangqq@gmail.com> 0.8.34-2.20081027cvs
|
|
|
a72eae |
- remove fontconfig preference section (# 476459)
|
|
|
a72eae |
|
|
|
a72eae |
*Tue Feb 10 2009 Qianqian Fang <fangqq@gmail.com> 0.8.34-1.20081027cvs
|
|
|
a72eae |
- use fontpackages macros (# 478891)
|
|
|
a72eae |
|
|
|
a72eae |
*Mon Oct 27 2008 Qianqian Fang <fangqq@gmail.com> 0.8.34-0.cvs20081027
|
|
|
a72eae |
- upstream new version prelease
|
|
|
a72eae |
|
|
|
a72eae |
*Wed Jun 25 2008 Qianqian Fang <fangqq@gmail.com> 0.6.26-0
|
|
|
a72eae |
- new upstream release
|
|
|
a72eae |
|
|
|
a72eae |
*Sat Apr 5 2008 Qianqian Fang <fangqq@gmail.com> 0.5.23-0
|
|
|
a72eae |
- new upstream release
|
|
|
a72eae |
|
|
|
a72eae |
*Fri Feb 15 2008 Qianqian Fang <fangqq@gmail.com> 0.4.23-1
|
|
|
a72eae |
- new upstream release
|
|
|
a72eae |
|
|
|
a72eae |
*Fri Nov 2 2007 Qianqian Fang <fangqq@gmail.com> 0.2.16-0.2.20071031cvs
|
|
|
a72eae |
- spec file clean up
|
|
|
a72eae |
|
|
|
a72eae |
*Thu Nov 1 2007 Qianqian Fang <fangqq@gmail.com> 0.2.16-0.1.20071031cvs
|
|
|
a72eae |
- initial packaging for Fedora (# 361121)
|
|
|
a72eae |
|