Blame SPECS/wqy-zenhei-fonts.spec

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