File ttf-alee.spec of Package ttf-alee

#
# spec file for package ttf-alee (Version 8.7)
#
# Copyright (c) 2008 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
%if %suse_version > 910
BuildRequires:  xorg-x11-devel
%else
BuildRequires:  XFree86-devel
%endif
%if "%(xft-config --prefix)" == "/usr"
%define	ttf_fontdir     /usr/share/fonts/truetype
%else
%define	ttf_fontdir     /usr/X11R6/lib/X11/fonts/truetype
%endif
License:        GPL v2 or later
Group:          System/X11/Fonts
Provides:       scalable-font-ko
AutoReqProv:    on
PreReq:         %suseconfig_fonts_prereq
Provides:       locale(ko)
Version:        8.7
Release:        166
Url:            http://packages.debian.org/unstable/source/ttf-alee
Source0:        http://ftp.debian.org/debian/pool/main/t/ttf-alee/ttf-alee_8.7.tar.bz2
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Korean TrueType fonts by A Lee.

%description
Korean TrueType fonts by A Lee.



Authors:
--------
     A Lee <alee@debian.org>

%prep
%setup -q

%build

%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
%dir %{ttf_fontdir}/
%{ttf_fontdir}/*.ttf

%changelog
* Wed Aug 09 2006 mfabian@suse.de
- fix build.
* Tue Aug 08 2006 mfabian@suse.de
- update to 8.7.
* Tue Aug 08 2006 mfabian@suse.de
- move fonts to /usr/share/fonts because of the move to Xorg X11R7.
* Wed Mar 01 2006 mfabian@suse.de
- add "Provides: locale(ko)".
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Dec 03 2004 mfabian@suse.de
- use new macro "%%run_suseconfig_fonts -c"
* Mon Sep 13 2004 mfabian@suse.de
- Bugzilla #45156: add "Provides: scalable-font-ko".
* Wed Aug 18 2004 mfabian@suse.de
- new package: ttf-alee, version 1.7.
openSUSE Build Service is sponsored by