File mikachan-fonts.spec of Package mikachan-fonts

# spec file for package mikachan-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:           mikachan-fonts
Version:        9.1.2006.08.09
Release:        0
Summary:        Free Japanese Fonts in "Handwriting" Style by Mika-Chan
License:        SUSE-NonFree
Group:          System/X11/Fonts
# Original source is in separate .lzh files, using bzip2 here saves 0.5 MB
# see the "update-archive" script where to download the original .lzh files
Source0:        mikachan-fonts.tar.bz2
Source2:        COPYING
Source10:       update-archive
BuildRequires:  convmv
BuildRequires:  fontpackages-devel
Provides:       scalable-font-ja
Provides:       locale(ja)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

This package contains free Japanese fonts in "handwriting" style by Mika-Chan.

%setup -n %{name}
cp $RPM_SOURCE_DIR/*.html .
convmv -f shift_jis -t utf-8 --notest *.ttf


mkdir -p %{buildroot}%{_ttfontsdir}/
install -c -m 644 *.ttf %{buildroot}%{_ttfontsdir}

%reconfigure_fonts_scriptlets -c

%defattr(-, root,root)
%doc COPYING *.html

openSUSE Build Service is sponsored by