|
|
a9a878 |
%global fontname wqy-microhei
|
|
|
a9a878 |
%global fontconf 65-%{fontname}.conf
|
|
|
a9a878 |
|
|
|
a9a878 |
%global archivename %{fontname}-%{version}-beta
|
|
|
a9a878 |
|
|
|
a9a878 |
Name: %{fontname}-fonts
|
|
|
a9a878 |
Version: 0.2.0
|
|
|
a9a878 |
Release: 0.12.beta%{?dist}
|
|
|
a9a878 |
Summary: Compact Chinese fonts derived from Droid
|
|
|
a9a878 |
|
|
|
a9a878 |
Group: User Interface/X
|
|
|
a9a878 |
License: ASL 2.0 or GPLv3 with exceptions
|
|
|
a9a878 |
URL: http://wenq.org/enindex.cgi?MicroHei(en)
|
|
|
a9a878 |
Source0: http://downloads.sourceforge.net/wqy/%{archivename}.tar.gz
|
|
|
a9a878 |
Source1: %{name}-fontconfig.conf
|
|
|
a9a878 |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
a9a878 |
|
|
|
a9a878 |
BuildArch: noarch
|
|
|
a9a878 |
BuildRequires: fontpackages-devel
|
|
|
a9a878 |
Requires: fontpackages-filesystem
|
|
|
a9a878 |
|
|
|
a9a878 |
%description
|
|
|
a9a878 |
A new Sans Serif CJK font derived from Google's "Droid Sans Fallback"
|
|
|
a9a878 |
and covers the entire GBK code points (20932 Han glyphs).
|
|
|
a9a878 |
|
|
|
a9a878 |
%prep
|
|
|
a9a878 |
%setup -q -n %{fontname}
|
|
|
a9a878 |
|
|
|
a9a878 |
mv README.txt{,.orig}
|
|
|
a9a878 |
iconv -f iso8859-1 -t utf8 README.txt.orig > README.txt
|
|
|
a9a878 |
|
|
|
a9a878 |
|
|
|
a9a878 |
%build
|
|
|
a9a878 |
|
|
|
a9a878 |
|
|
|
a9a878 |
%install
|
|
|
a9a878 |
rm -fr %{buildroot}
|
|
|
a9a878 |
|
|
|
a9a878 |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
a9a878 |
install -m 0644 -p *.ttc %{buildroot}%{_fontdir}
|
|
|
a9a878 |
|
|
|
a9a878 |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
a9a878 |
%{buildroot}%{_fontconfig_confdir}
|
|
|
a9a878 |
|
|
|
a9a878 |
install -m 0644 -p %{SOURCE1} \
|
|
|
a9a878 |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
|
|
a9a878 |
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
|
|
a9a878 |
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
|
|
a9a878 |
|
|
|
a9a878 |
|
|
|
a9a878 |
%clean
|
|
|
a9a878 |
rm -fr %{buildroot}
|
|
|
a9a878 |
|
|
|
a9a878 |
|
|
|
a9a878 |
%_font_pkg -f %{fontconf} *.ttc
|
|
|
a9a878 |
%doc LICENSE_Apache2.txt LICENSE_GPLv3.txt README.txt
|
|
|
a9a878 |
|
|
|
a9a878 |
|
|
|
a9a878 |
%changelog
|
|
|
a9a878 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.2.0-0.12.beta
|
|
|
a9a878 |
- Mass rebuild 2013-12-27
|
|
|
a9a878 |
|
|
|
a9a878 |
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-0.11.beta
|
|
|
a9a878 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
a9a878 |
|
|
|
a9a878 |
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-0.10.beta
|
|
|
a9a878 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
a9a878 |
|
|
|
a9a878 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-0.9.beta
|
|
|
a9a878 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
a9a878 |
|
|
|
a9a878 |
* Mon Dec 26 2011 Peng Wu <pwu@redhat.com> - 0.2.0-0.8.beta
|
|
|
a9a878 |
- Update wqy-microhei-fonts-fontconfig.conf
|
|
|
a9a878 |
|
|
|
a9a878 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-0.7.beta
|
|
|
a9a878 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
a9a878 |
|
|
|
a9a878 |
* Mon May 31 2010 Peng Wu <pwu@redhat.com> - 0.2.0-0.6.beta
|
|
|
a9a878 |
- Add fontconfig file back to wqy-microhei-fonts.
|
|
|
a9a878 |
|
|
|
a9a878 |
* Wed May 26 2010 Peng Wu <pwu@redhat.com> - 0.2.0-0.5.beta
|
|
|
a9a878 |
- Clean up rpm spec file and remove unused patches.
|
|
|
a9a878 |
|
|
|
a9a878 |
* Wed May 26 2010 Peng Wu <pwu@redhat.com> - 0.2.0-0.4.beta
|
|
|
a9a878 |
- Improves Simplified Chinese and Traditional Chinese fonts.
|
|
|
a9a878 |
In order to keep the WenQuanYi Zen Hei as default Simplified Chinese font,
|
|
|
a9a878 |
the fontconfig file of this WenQuanYi Micro Hei font is removed.
|
|
|
a9a878 |
|
|
|
a9a878 |
* Mon Apr 19 2010 Peng Wu <pwu@redhat.com> - 0.2.0-0.3.beta
|
|
|
a9a878 |
- get rid of binding="same", fixes [rhbz#578050] (New: lang-specific overrides rule doesn't work as expected).
|
|
|
a9a878 |
|
|
|
a9a878 |
* Mon Dec 7 2009 Jens Petersen <petersen@redhat.com> - 0.2.0-0.1.beta
|
|
|
a9a878 |
- initial packaging for fedora
|