File x11-korean-bitmap-fonts.spec of Package x11-korean-bitmap-fonts
#
# spec file for package x11-korean-bitmap-fonts
#
# Copyright (c) 2010 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/
#
Name: x11-korean-bitmap-fonts
Version: 2.1
Release: 812
License: SUSE-Public-Domain
Summary: Korean Hangul X Window System Fonts
Group: System/X11/Fonts
Source0: korean-fonts.tar.gz
Source1: hanyang-fonts.tar.gz
Source2: johab-fonts.tar.gz
BuildRequires: fontpackages-devel
Provides: locale(xorg-x11:ko)
Provides: xfntkr = %{version}
Obsoletes: xfntkr <= 2.1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%reconfigure_fonts_prereq
%description
Korean Hangul X Window System fonts.
%prep
%setup -q -n xfntkr -c -a 1 -a 2
gunzip */*.pcf.Z
gzip --best */*.pcf
%install
mkdir -p %{buildroot}%{_miscfontsdir}
install -m 644 hanyang-fonts/* %{buildroot}%{_miscfontsdir}
install -m 644 johab-fonts/* %{buildroot}%{_miscfontsdir}
install -m 644 korean-fonts/* %{buildroot}%{_miscfontsdir}
rm -rf %{buildroot}%{_miscfontsdir}/fonts.dir
%reconfigure_fonts_scriptlets -c
%files
%defattr(-,root,root)
%{_miscfontsdir}
%changelog