File efont-unicode.spec of Package efont-unicode

# spec file for package efont-unicode (Version 0.4.2)
# 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

# norootforbuild

Name:           efont-unicode
BuildRequires:  bdfresize xorg-x11
%define	fontdir     /usr/share/fonts/misc
License:        Public Domain, Freeware
Group:          System/X11/Fonts
AutoReqProv:    on
PreReq:         %suseconfig_fonts_prereq
Summary:        Unicode Font by /efont/
Version:        0.4.2
Release:        216
Patch:          baseline-offset.diff
Patch1:         bugzilla-199997-some-glyphs-for-yast.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

Unicode fonts developed by /efont/ openlab. This font package includes
12,14, 16, and 24 pixel ISO-10646 fonts.

    Kazuhiko  <>

%setup -q -n efont-unicode-bdf-0.4.2-src
%patch1 -p1
iconv -f ISO-8859-1 -t UTF-8 < README.etl-unicode > README.etl-unicode.tmp
mv README.etl-unicode.tmp README.etl-unicode
for i in README.shinonome README.naga10
    iconv -f EUC-JP -t UTF-8 < $i > $i.tmp
    mv $i.tmp $i
./configure --with-fontdir=%{fontdir}


[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
mkdir -p %{buildroot}%{fontdir}
install -m 444 *.pcf.gz %{buildroot}%{fontdir}

rm -rf %{buildroot}



%defattr(-, root,root)
%dir %{fontdir}/

openSUSE Build Service is sponsored by