File ttf-arphic-ukai.spec of Package ttf-arphic-ukai

#
# spec file for package ttf-arphic-ukai (Version 0.1.20060928)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           ttf-arphic-ukai
BuildRequires:  XFree86-devel
%if "%(xft-config --prefix)" == "/usr"
%define	ttf_fontdir     /usr/share/fonts/truetype
%else
%define	ttf_fontdir     /usr/X11R6/lib/X11/fonts/truetype
%endif
License:        Arphic Public License
Group:          System/X11/Fonts
PreReq:         %suseconfig_fonts_prereq
AutoReqProv:    on
Provides:       scalable-font-zh-TW, scalable-font-zh-HK, scalable-font-zh-CN, scalable-font-zh-SG, scalable-font-zh-MO
Provides:       locale(zh_TW;zh_HK;zh_CN;zh_SG;zh_MO)
Version:        0.1.20060928
Release:        88
Url:            http://www.freedesktop.org/wiki/Software/CJKUnifonts/
Source0:        http://ftp.tw.debian.org/debian/pool/main/t/ttf-arphic-ukai/ttf-arphic-ukai_0.1.20060928.orig.tar.bz2
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        CJK Unicode font Kai style

%description
This font was taken from the from the TrueType fonts generously
released by Arphic Technologies Taiwan under the Arphic Public License.
It was modified with Fontforge by Arne Goetje <arne@linux.org.tw> to
contain both Big5 and GB2312 charsets plus some european characters.

Currently it fully supports the following charsets:
ISO8859-1,2,3,4,7,9,10,13,14,15 Big5 GB2312-80 Bopomofo Extensions for
Hakka, Minnan (Unicode 4.0) and MBE variants using the Stylistic
Alternatives (salt) feature from the OTF spec.

Partly support is implemented for: HKSCS CNS 11643 GB18030 Japanese
Korean



Authors:
--------
    Arne Goetje <arne@linux.org.tw>
    Arphic Technology Co., Ltd. <webmaster@www.arphic.com.tw>

%prep
%setup

%build

%install
mkdir -p $RPM_BUILD_ROOT%{ttf_fontdir}/
install -c -m 644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir}/

%post 
%run_suseconfig_fonts -c

%postun
%run_suseconfig_fonts -c

%clean

%files
%defattr(-, root,root)
%doc CONTRIBUTERS README* encodings.dir fonts.alias fonts.dir fonts.scale ttf-arphic-ukai license
%dir %{ttf_fontdir}/
%{ttf_fontdir}/*.ttf

%changelog
* Fri Oct 05 2007 mfabian@suse.de
- new package: ttf-arphic-ukai, version 0.1.20060928.
openSUSE Build Service is sponsored by