|
Peng Wu |
7576356 |
%global fontname adobe-source-han-sans-cn
|
|
Peng Wu |
7576356 |
%global fontconf 65-0-%{fontname}.conf
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
%global archivename SourceHanSansCN-%{version}
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
Name: adobe-source-han-sans-cn-fonts
|
|
Peng Wu |
7576356 |
Version: 1.000
|
|
Peng Wu |
7576356 |
Release: 2%{?dist}
|
|
Peng Wu |
7576356 |
Summary: Adobe OpenType Pan-CJK font family for Simplified Chinese
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
License: ASL 2.0
|
|
Peng Wu |
7576356 |
URL: http://sourceforge.net/adobe/source-han-sans/wiki/Home/
|
|
Peng Wu |
7576356 |
Source0: http://downloads.sourceforge.net/source-han-sans.adobe/%{archivename}.zip
|
|
Peng Wu |
7576356 |
Source1: %{name}-fontconfig.conf
|
|
Peng Wu |
7576356 |
Source2: http://downloads.sourceforge.net/source-han-sans.adobe/LICENSE.txt
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
BuildArch: noarch
|
|
Peng Wu |
7576356 |
BuildRequires: fontpackages-devel
|
|
Peng Wu |
7576356 |
Requires: fontpackages-filesystem
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
%description
|
|
Peng Wu |
7576356 |
Source Han Sans is a sans serif Pan-CJK font family
|
|
Peng Wu |
7576356 |
that is offered in seven weights—ExtraLight, Light,
|
|
Peng Wu |
7576356 |
Normal, Regular, Medium, Bold, and Heavy—and
|
|
Peng Wu |
7576356 |
in several OpenType/CFF-based deployment configurations
|
|
Peng Wu |
7576356 |
to accommodate various system requirements or limitations.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
As the name suggests, Pan-CJK fonts are intended to
|
|
Peng Wu |
7576356 |
support the characters necessary to render or
|
|
Peng Wu |
7576356 |
display text in Simplified Chinese, Traditional Chinese,
|
|
Peng Wu |
7576356 |
Japanese, and Korean.
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
%prep
|
|
Peng Wu |
7576356 |
%setup -q -n %{archivename}
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
%build
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
%install
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
#install doc
|
|
Peng Wu |
7576356 |
install -m 0644 -p %{SOURCE2} .
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
Peng Wu |
7576356 |
install -m 0644 -p *.otf %{buildroot}%{_fontdir}
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
Peng Wu |
7576356 |
%{buildroot}%{_fontconfig_confdir}
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
install -m 0644 -p %{SOURCE1} \
|
|
Peng Wu |
7576356 |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
|
Peng Wu |
7576356 |
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
|
Peng Wu |
7576356 |
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
%_font_pkg -f %{fontconf} *.otf
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
%doc LICENSE.txt
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
%changelog
|
|
Peng Wu |
7576356 |
* Mon Jul 21 2014 Peng Wu <pwu@redhat.com> - 1.000-2
|
|
Peng Wu |
7576356 |
- Improves spec
|
|
Peng Wu |
7576356 |
|
|
Peng Wu |
7576356 |
* Mon Jul 21 2014 Peng Wu <pwu@redhat.com> - 1.000-1
|
|
Peng Wu |
7576356 |
- Initial Version
|