diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1cac76d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/SourceHanSerifKR.zip diff --git a/README.md b/README.md deleted file mode 100644 index bba732d..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# adobe-source-han-serif-kr-fonts - -Source Han Sans is a set of OpenType/CFF Pan-CJK fonts \ No newline at end of file diff --git a/adobe-source-han-serif-kr-fonts-fontconfig.conf b/adobe-source-han-serif-kr-fonts-fontconfig.conf new file mode 100644 index 0000000..e608678 --- /dev/null +++ b/adobe-source-han-serif-kr-fonts-fontconfig.conf @@ -0,0 +1,23 @@ + + + + + + Source Han Serif KR + + serif + + + + + + ko + + + serif + + + Source Han Serif KR + + + diff --git a/adobe-source-han-serif-kr-fonts.spec b/adobe-source-han-serif-kr-fonts.spec new file mode 100644 index 0000000..858c237 --- /dev/null +++ b/adobe-source-han-serif-kr-fonts.spec @@ -0,0 +1,46 @@ +%global fontname adobe-source-han-serif-kr +%global fontconf 65-2-%{fontname}.conf +%global archivename SourceHanSerifKR + +Name: adobe-source-han-serif-kr-fonts +Version: 1.001 +Release: 1%{?dist} +Summary: Adobe OpenType Pan-CJK font family for Korean + +License: OFL +URL: https://github.com/adobe-fonts/source-han-serif/ +Source0: https://github.com/adobe-fonts/source-han-serif/raw/release/SubsetOTF/%{archivename}.zip +Source1: %{name}-fontconfig.conf + +BuildArch: noarch +BuildRequires: fontpackages-devel +Requires: fontpackages-filesystem + +%description +Source Han Serif is a set of OpenType/CFF Pan-CJK fonts. + +%prep +%autosetup -n %{archivename} + +%build + +%install + +install -m 0755 -d %{buildroot}%{_fontdir} +install -m 0644 -p *.otf %{buildroot}%{_fontdir} + +install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ + %{buildroot}%{_fontconfig_confdir} + +install -m 0644 -p %{SOURCE1} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf} +ln -s %{_fontconfig_templatedir}/%{fontconf} \ + %{buildroot}%{_fontconfig_confdir}/%{fontconf} + +%_font_pkg -f %{fontconf} *.otf + +%license LICENSE.txt + +%changelog +* Fri Oct 27 2017 Akira TAGOH - 1.001-1 +- Initial packaging. diff --git a/sources b/sources new file mode 100644 index 0000000..31343d9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (SourceHanSerifKR.zip) = 0562aaab11926a70672c0aba6dc0e212492067d02bea71c2508ff199c84a7b02e5e2dc87aaa8b2a966cdeb5ef30ecc8e8ebe0c2eea8e881b788adfaa00aa2e7c