[Fedora-i18n-bugs] [nhn-nanum-gothic-coding-fonts] Initial import.

Daiki Ueno ueno at fedoraproject.org
Fri Apr 1 02:25:51 UTC 2011


commit 99189c845baa9a985013af030bbf853d2628b62b
Author: Daiki Ueno <ueno at unixuser.org>
Date:   Fri Apr 1 11:25:46 2011 +0900

    Initial import.

 .gitignore                                    |    1 +
 nhn-nanum-gothic-coding-fonts-fontconfig.conf |   22 ++++++++++
 nhn-nanum-gothic-coding-fonts.spec            |   57 +++++++++++++++++++++++++
 sources                                       |    1 +
 4 files changed, 81 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..31e2fe4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/NanumGothic_Coding.zip
diff --git a/nhn-nanum-gothic-coding-fonts-fontconfig.conf b/nhn-nanum-gothic-coding-fonts-fontconfig.conf
new file mode 100644
index 0000000..44c17c1
--- /dev/null
+++ b/nhn-nanum-gothic-coding-fonts-fontconfig.conf
@@ -0,0 +1,22 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+  <match>
+    <test name="lang">
+      <string>ko-kr</string>
+      <string>ko</string>
+    </test>
+    <test name="family">
+      <string>sans-serif</string>
+    </test>
+    <edit name="family" mode="prepend">
+      <string>NanumGothic_Coding</string>
+    </edit>
+  </match>
+  <alias>
+    <family>NanumGothic_Coding</family>
+    <default>
+      <family>sans-serif</family>
+    </default>
+  </alias>
+</fontconfig>
diff --git a/nhn-nanum-gothic-coding-fonts.spec b/nhn-nanum-gothic-coding-fonts.spec
new file mode 100644
index 0000000..1e6f977
--- /dev/null
+++ b/nhn-nanum-gothic-coding-fonts.spec
@@ -0,0 +1,57 @@
+%global fontname nhn-nanum-gothic-coding
+%global fontconf 65-3-%{fontname}.conf
+
+%global archivename NanumGothic_Coding.zip
+
+Name:		%{fontname}-fonts
+Version:	1.500
+Release:	1%{?dist}
+Summary:	Nanum Gothic Coding family of Korean TrueType fonts
+
+Group:		User Interface/X
+License:	OFL
+URL:		http://dev.naver.com/projects/nanumfont/
+# NanumGothic_Coding has a mirror redirector for its downloads
+# You can get this zip archive by following a link from:
+# http://dev.naver.com/projects/nanumfont/download/note/214
+Source0:	%{archivename}
+Source1:	%{name}-fontconfig.conf
+
+BuildArch:	noarch
+BuildRequires:	fontpackages-devel
+Requires:	fontpackages-filesystem
+
+%description
+Nanum Gothic Coding fonts are set of Gothic Korean font faces suitable
+for source code editing, designed by Sandoll Communication and
+published by NHN Corporation.
+
+%prep
+%setup -q -c
+
+
+%build
+
+
+%install
+install -m 0755 -d %{buildroot}%{_fontdir}
+install -m 0644 -p *.ttf %{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} *.ttf
+
+%doc README COPYING
+
+
+%changelog
+* Thu Mar 31 2011 Daiki Ueno <dueno at redhat.com> - 1.500-1
+- initial packaging for Fedora.
+
diff --git a/sources b/sources
index e69de29..449821c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+dd5aa9b6de4a8df210c1ff93bf0b71b5  NanumGothic_Coding.zip


More information about the i18n-bugs mailing list