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