File vlgothic-fonts.spec of Package vlgothic-fonts

# spec file for package vlgothic-fonts
# Copyright (c) 2012 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

Name:           vlgothic-fonts
Version:        20120325
Release:        0
Summary:        VL-Gothic TrueType font family
License:        BSD-3-Clause and SUSE-mplus
Group:          System/X11/Fonts
Source0:        VLGothic-%{version}.tar.bz2
BuildRequires:  fontpackages-devel
Provides:       scalable-font-ja
Provides:       vlgothic = %{version}
Provides:       locale(ja)
Obsoletes:      vlgothic <= 20110722
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

This package provides "VLGothic" Japanese TrueType fonts which are
based on the M+ fonts and the Sazanami fonts.

%setup -q -n VLGothic

for i in README_J.mplus LICENSE_J.mplus
    iconv -feucjp -tutf-8 < $i > $i.tmp
    mv $i.tmp $i

mkdir -p %{buildroot}%{_ttfontsdir}
for i in *.ttf
    install -m 644 $i %{buildroot}%{_ttfontsdir}

%reconfigure_fonts_scriptlets -c

%doc README* LICENSE* Changelog*

openSUSE Build Service is sponsored by