File hanazono-hanamin-fonts.spec of Package hanazono-hanamin-fonts

#
# spec file for package hanazono-hanamin-fonts
#
# Copyright (c) 2017 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/
#


Name:           hanazono-hanamin-fonts
Version:        0.20170904
Release:        0
Summary:        Hanazono Mincho fonts
License:        SUSE-mplus or OFL-1.1
Group:          System/X11/Fonts
Url:            http://fonts.jp/hanazono/

Source:         hanazono-20170904.zip
BuildRequires:  fontpackages-devel
BuildRequires:  unzip
%reconfigure_fonts_prereq
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
This font is a free kanji font. The KAGE system, Clipper, FontForge
and TTX are used to create this font. All glyphs in this font are from
GlyphWiki.

This font contains about 107,518 characters (and spaces) defined
in ISO/IEC 10646 standard / the Unicode standard.

%prep
%setup -Tca0

%build
find . -type f -exec chmod a-x "{}" "+"

%install
c="%buildroot/%_ttfontsdir"
mkdir -p "$c"
cp -av *.ttf "$c/"

%reconfigure_fonts_scriptlets

%files
%defattr(-,root,root)
%dir %_ttfontsdir
%_ttfontsdir/*.ttf
%doc LICENSE.txt README.txt THANKS.txt

%changelog
openSUSE Build Service is sponsored by