File ttf-alee.spec of Package ttf-alee
#
# spec file for package ttf-alee (Version 12)
#
# 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
Name: ttf-alee
%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)
Version: 12
Release: 2
Url: http://packages.debian.org/unstable/source/ttf-alee
Source0: http://ftp.debian.org/debian/pool/main/t/ttf-alee/ttf-alee_12.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Korean TrueType fonts
%description
Korean TrueType fonts by A Lee.
Authors:
--------
A Lee <alee@debian.org>
%prep
%setup -q
%build
chmod 644 debian/rules
%install
mkdir -p $RPM_BUILD_ROOT%{ttf_fontdir}/
install -c -m 644 *.ttf $RPM_BUILD_ROOT%{ttf_fontdir}/
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
%post
%run_suseconfig_fonts -c
%postun
%run_suseconfig_fonts -c
%files
%defattr(-, root,root)
%doc COPYING
%doc debian
%{ttf_fontdir}
%changelog