[ekmukta-fonts] Initial commit (#1101131)
Parag Nemade
pnemade at fedoraproject.org
Tue Jul 15 06:55:22 UTC 2014
commit 485d367ad2c1af6adb480e2143b5748785163b4a
Author: Parag Nemade <pnemade at redhat.com>
Date: Tue Jul 15 12:25:38 2014 +0530
Initial commit (#1101131)
.gitignore | 1 +
ekmukta-fonts-fontconfig.conf | 130 +++++++++++++++++++++++++++++++++++++++++
ekmukta-fonts.spec | 52 ++++++++++++++++
sources | 1 +
4 files changed, 184 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3aa0d56 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/EkMukta-1.2.2.zip
diff --git a/ekmukta-fonts-fontconfig.conf b/ekmukta-fonts-fontconfig.conf
new file mode 100644
index 0000000..7d44fd6
--- /dev/null
+++ b/ekmukta-fonts-fontconfig.conf
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<match>
+ <test name="lang" compare="contains">
+ <string>hi</string>
+ </test>
+ <test name="family">
+ <string>monospace</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Ek Mukta</string>
+ </edit>
+</match>
+
+<match>
+ <test name="lang" compare="contains">
+ <string>mr</string>
+ </test>
+ <test name="family">
+ <string>monospace</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Ek Mukta</string>
+ </edit>
+</match>
+
+<match>
+ <test name="lang" compare="contains">
+ <string>kok</string>
+ </test>
+ <test name="family">
+ <string>monospace</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Ek Mukta</string>
+ </edit>
+</match>
+
+<match>
+ <test name="lang" compare="contains">
+ <string>ks at devanagari</string>
+ </test>
+ <test name="family">
+ <string>monospace</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Ek Mukta</string>
+ </edit>
+</match>
+
+<match>
+ <test name="lang" compare="contains">
+ <string>sd at devanagari</string>
+ </test>
+ <test name="family">
+ <string>monospace</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Ek Mukta</string>
+ </edit>
+</match>
+
+<match>
+ <test name="lang" compare="contains">
+ <string>mai</string>
+ </test>
+ <test name="family">
+ <string>monospace</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Ek Mukta</string>
+ </edit>
+</match>
+
+<match>
+ <test name="lang" compare="contains">
+ <string>ne</string>
+ </test>
+ <test name="family">
+ <string>monospace</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Ek Mukta</string>
+ </edit>
+</match>
+
+<match>
+ <test name="lang" compare="contains">
+ <string>brx</string>
+ </test>
+ <test name="family">
+ <string>monospace</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Ek Mukta</string>
+ </edit>
+</match>
+
+<match>
+ <test name="lang" compare="contains">
+ <string>doi</string>
+ </test>
+ <test name="family">
+ <string>monospace</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Ek Mukta</string>
+ </edit>
+</match>
+
+<match>
+ <test name="lang" compare="contains">
+ <string>sa</string>
+ </test>
+ <test name="family">
+ <string>monospace</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Ek Mukta</string>
+ </edit>
+</match>
+
+<alias>
+ <family>Ek Mukta</family>
+ <default>
+ <family>monospace</family>
+ </default>
+</alias>
+</fontconfig>
diff --git a/ekmukta-fonts.spec b/ekmukta-fonts.spec
new file mode 100644
index 0000000..8051eb8
--- /dev/null
+++ b/ekmukta-fonts.spec
@@ -0,0 +1,52 @@
+%global fontname ekmukta
+%global fontconf 67-%{fontname}.conf
+
+Name: %{fontname}-fonts
+Version: 1.2.2
+Release: 1%{?dist}
+Summary: A Unicode compliant mono-linear typeface
+
+License: OFL
+URL: https://github.com/girish-dalvi/Ek-Mukta
+Source0: https://github.com/girish-dalvi/Ek-Mukta/releases/download/1.2.2/EkMukta-1.2.2.zip
+Source1: %{name}-fontconfig.conf
+
+BuildArch: noarch
+BuildRequires: fontpackages-devel
+Requires: fontpackages-filesystem
+
+%description
+Ek Mukta is a Unicode compliant, versatile, contemporary, humanist, mono-linear
+typeface available in seven weights, supporting Devanagari and Latin scripts.
+
+%prep
+%setup -q -c
+sed -i 's/\r$//' OFL.txt
+
+%build
+#nothing to 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 OFL.txt
+
+%changelog
+* Fri Jul 11 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.2.2-1
+- update to github upstream
+
+* Mon May 26 2014 Parag Nemade <pnemade AT redhat DOT com> - 1.101-1
+- Initial Fedora release.
+
diff --git a/sources b/sources
index e69de29..35383e0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9174d47d15c169034234c4ff72c3133e EkMukta-1.2.2.zip
More information about the scm-commits
mailing list