Name: chinese-fonts-ttf Version: 0.2.20080216.1 Release: 2mamba Summary: Chinese True Type font covering both tranditional and simplified chinese Group: System/Fonts Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.freedesktop.org/wiki/Software/CJKUnifonts Source: http://de.archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_%{version}.orig.tar.gz Patch0: chinese-fonts-ttf-0.2.20080216.1-enable_symbol_antialiasing.patch License: Arphic Public License BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-root PreReq: %{_bindir}/fc-cache %description Chinese True Type font covering both tranditional and simplified chinese, in Sung and Kai font face. It was merged by Arne Goetje, using Sung/Kai face fonts (both in trad. and simp. Chinese) donated by Arphic Technology Co Ltd. In addition, it includes embedded 11-16 pixel bitmap fonts done by Firefly, and HKSCS(Hong Kong) glyphs done by Akar et. al. %prep %setup -q -c %patch0 -p1 %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" install -d %{buildroot}%{_datadir}/fonts/truetype/uming cp *.ttc fonts.* %{buildroot}%{_datadir}/fonts/truetype/uming/ install -d %{buildroot}%{_sysconfdir}/fonts/{conf.d,conf.avail} cp *.conf %{buildroot}%{_sysconfdir}/fonts/conf.avail/ cd %{buildroot}%{_sysconfdir}/fonts/conf.d/ ln -s ../conf.avail/*-ttf-arphic-uming*.conf . %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post [ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache exit 0 %postun [ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache exit 0 %files %defattr(-,root,root) %{_sysconfdir}/fonts/conf.avail/*-ttf-arphic-uming*.conf %{_sysconfdir}/fonts/conf.d/*-ttf-arphic-uming*.conf %{_datadir}/fonts/truetype/uming/fonts.dir %{_datadir}/fonts/truetype/uming/fonts.scale %{_datadir}/fonts/truetype/uming/uming.ttc %doc license/english/ARPHICPL.TXT %changelog * Wed Sep 09 2009 Silvan Calarco 0.2.20080216.1-2mamba - add a patch to enable antialiasing in bitmaps configuration as a workaround for disabling it on all fonts * Thu Jun 18 2009 Silvan Calarco uming_0.2.20080216.1-1mamba - package created by autospec