File adobe-sourcehanserif-fonts.spec of Package adobe-sourcehanserif-fonts
#
# spec file for package adobe-sourcehanserif-fonts
#
# Copyright (c) 2017 SUSE LINUX 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: adobe-sourcehanserif-fonts
Version: 1.001
Release: 0
Summary: A serif-style OpenType/CFF Pan-CJK font family
License: OFL-1.1
Group: System/X11/Fonts
URL: https://github.com/adobe-fonts/source-han-serif
# Direct link to HEAD, always changes
#Source: https://github.com/adobe-fonts/source-han-serif/raw/release/SubsetOTF/SourceHanSerifTW.zip
Source: SourceHanSerifTW.zip
BuildRoot: %_tmppath/%name-%version-build
BuildArch: noarch
BuildRequires: fontconfig
BuildRequires: fontpackages-devel
BuildRequires: unzip
Provides: scalable-font-zh_TW
Provides: locale(zh_TW)
%reconfigure_fonts_prereq
%description
A set of serif-style Pan-CJK fonts designed to complement Source Sans Pro.
%prep
%setup -q -n SourceHanSerifTW
%build
%install
install -d "%buildroot/%_ttfontsdir"
install -m 644 *.otf "%buildroot/%_ttfontsdir"
%reconfigure_fonts_scriptlets
%files
%defattr(-,root,root)
%_ttfontsdir/
%license LICENSE.txt
%changelog