f0ce40
%global fontname wqy-unibit
f0ce40
f0ce40
Name:           %{fontname}-fonts
f0ce40
Version:        1.1.0
f0ce40
Release:        20%{?dist}
f0ce40
Summary:        WenQuanYi Unibit Bitmap Font
f0ce40
f0ce40
Group:          User Interface/X
f0ce40
License:        GPLv2 with exceptions
f0ce40
URL:            http://wenq.org/enindex.cgi
f0ce40
Source0:        http://downloads.sourceforge.net/wqy/wqy-unibit-bdf-%{version}-1.tar.gz
f0ce40
Patch0:         wqy-unibit-fixes-build.patch
f0ce40
f0ce40
BuildArch:      noarch
f0ce40
BuildRequires:  fontpackages-devel, bdftopcf
f0ce40
Requires:       fontpackages-filesystem
f0ce40
f0ce40
%description
f0ce40
The Wen Quan Yi Unibit is designed as a dual-width (16x16,16x8) 
f0ce40
bitmap font to provide the most complete international symbol 
f0ce40
coverage, serving as the system-wide fall-back font. This font 
f0ce40
has covered over 46000 Unicode code points in BMP.
f0ce40
It is intended to supersede the outdated GNU Unifont.
f0ce40
This font was created by merging the latest update of GNU 
f0ce40
Unifont [GPL] (by Roman Czyborra and David Starner et al., the 
f0ce40
font was last updated in 2004), WenQuanYi Bitmap Song [GPL] 
f0ce40
0.8.1 (by Qianqian Fang and WenQuanYi contributors) and 
f0ce40
Fixed-16x8 [public domain] bitmap fonts from X11 core fonts. 
f0ce40
The entire CJK Unified Ideographics (U4E00-U9FA5) and CJK Unified 
f0ce40
Ideographics Extension A(U3400-U4DB5) blocks were replaced by 
f0ce40
high-quality glyphs from China National Standard GB19966-2005 
f0ce40
(public domain). Near a thousand of non-CJK characters were improved by 
f0ce40
WenQuanYi contributors via their collaborative font editing website at
f0ce40
http://wenq.org/eindex.cgi?Unicode_Chart_EN
f0ce40
f0ce40
%prep
f0ce40
%setup -q -n %{fontname}
f0ce40
%patch0 -p1 -b .build
f0ce40
f0ce40
f0ce40
%build
f0ce40
make %{?_smp_mflags}
f0ce40
f0ce40
%install
f0ce40
install -m 0755 -d %{buildroot}%{_fontdir}
f0ce40
install -m 0644 -p *.pcf %{buildroot}%{_fontdir}
f0ce40
f0ce40
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
f0ce40
                   %{buildroot}%{_fontconfig_confdir}
f0ce40
f0ce40
f0ce40
%_font_pkg *.pcf
f0ce40
f0ce40
%doc AUTHORS ChangeLog COPYING README
f0ce40
%dir %{_fontdir}
f0ce40
f0ce40
f0ce40
%changelog
f0ce40
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-20
f0ce40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f0ce40
f0ce40
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-19
f0ce40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f0ce40
f0ce40
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-18
f0ce40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f0ce40
f0ce40
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-17
f0ce40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f0ce40
f0ce40
* Mon Jul  6 2015 Peng Wu <pwu@redhat.com> - 1.1.0-16
f0ce40
- Fixes rawhide build
f0ce40
f0ce40
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-15
f0ce40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f0ce40
f0ce40
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-14
f0ce40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f0ce40
f0ce40
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-13
f0ce40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f0ce40
f0ce40
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-12
f0ce40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f0ce40
f0ce40
* Fri Nov 16 2012 Peng Wu <pwu@redhat.com> - 1.1.0-11
f0ce40
- Fixes spec file
f0ce40
f0ce40
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-10
f0ce40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f0ce40
f0ce40
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-9
f0ce40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f0ce40
f0ce40
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-8
f0ce40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f0ce40
f0ce40
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-7
f0ce40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f0ce40
f0ce40
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-6
f0ce40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
f0ce40
f0ce40
* Tue Feb 10 2009 Qianqian Fang <fangqq@gmail.com> 1.1.0-5
f0ce40
- use fontpackages macro
f0ce40
f0ce40
* Sun Sep 30 2007 Qianqian Fang <fangqq@gmail.com> 1.1.0-4
f0ce40
- more spec file clean up
f0ce40
f0ce40
* Thu Sep 27 2007 Qianqian Fang <fangqq@gmail.com> 1.1.0-3
f0ce40
- change install directory to /usr/share/fonts/wenquanyi-unibit/
f0ce40
f0ce40
* Tue Sep 25 2007 Qianqian Fang <fangqq@gmail.com> 1.1.0-2
f0ce40
- change install directory to /usr/share/fonts/wqy-unibit/
f0ce40
f0ce40
* Fri Sep 14 2007 Qianqian Fang <fangqq@gmail.com> 1.1.0-1
f0ce40
- add more than 80 new glyphs between 0xFF00-0xFFFD, totaling 46443 glyphs
f0ce40
f0ce40
* Tue Sep 11 2007 Qianqian Fang <fangqq@gmail.com> 1.0.0-3
f0ce40
- remove non-ascii character from README, update upstream tarball
f0ce40
f0ce40
* Tue Sep 11 2007 Qianqian Fang <fangqq@gmail.com> 1.0.0-2
f0ce40
- change package name from wqy-unibit to wqy-unibit-fonts
f0ce40
- follow the new guideline for F8, use font catalogue symlink (#252279)
f0ce40
f0ce40
* Sun Sep 9 2007 Qianqian Fang <fangqq@gmail.com> 1.0.0-1
f0ce40
- initial release of the font
f0ce40
- initial packaging for Fedora (#285561)