File unfonts.spec of Package unfonts
#
# spec file for package unfonts (Version 1.0.20080608)
#
# 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/
#
# norootforbuild
%define upstream_name un-fonts
Name: unfonts
%define ttf_fontdir /usr/share/fonts/truetype
License: GPLv2+
Group: System/X11/Fonts
Provides: scalable-font-ko
AutoReqProv: on
PreReq: %suseconfig_fonts_prereq
Provides: locale(ko)
%define date 080608
%define ver 1.0.2
Version: 1.0.20%{date}
Release: 2
Url: http://kldp.net/projects/unfonts/download
Source0: %{upstream_name}-core-%{ver}-%{date}.tar.bz2
Source1: %{upstream_name}-extra-%{ver}-%{date}.tar.bz2
Source10: update-archive
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Korean TrueType fonts
%description
Collection of Korean TrueType fonts.
Authors:
--------
KoaungHi Un
Won-Kyu Park <wkpark@chem.skku.ac.kr>
%prep
%setup -q -n %{upstream_name} -b 1
%build
%install
mkdir -p $RPM_BUILD_ROOT%{ttf_fontdir}/
install -c -m 644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir}/
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_suseconfig_fonts -c
%postun
%run_suseconfig_fonts -c
%files
%defattr(-, root,root)
%doc README COPYING
%{ttf_fontdir}
%changelog