File adobe-sourcehansans-fonts.spec of Package adobe-sourcehansans-fonts

# spec file for package adobe-sourcehansans-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

Name:           adobe-sourcehansans-fonts
Version:        1.002
Release:        0
Summary:        An OpenType/CFF Pan-CJK font family
License:        OFL-1.1
Group:          System/X11/Fonts

Source1:        57-adobe-sourcehansans.conf
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
BuildRequires:  fontconfig
BuildRequires:  fontpackages-devel
BuildRequires:  unzip
Provides:       source-han-sans = %version
Obsoletes:      source-han-sans < %version
Provides:       sourcehansans = %version
Obsoletes:      sourcehansans < %version
Provides:       scalable-font-zh_TW
Provides:       locale(zh_TW)

A set of Pan-CJK fonts designed to complement Source Sans Pro.

%setup -q -n SourceHanSansTW


install -d %buildroot%_ttfontsdir
install -m 644 *.otf %buildroot%_ttfontsdir
%install_fontsconf %SOURCE1


%doc LICENSE.txt
%files_fontsconf_file -l 57-adobe-sourcehansans.conf

openSUSE Build Service is sponsored by