[tabish-eeyek-fonts/f15/master] Initial import (#699586)
pnemade
pnemade at fedoraproject.org
Tue May 3 04:23:21 UTC 2011
commit e59fcad00625a274423e66f6f470798c52bca799
Author: Parag Nemade <pnemade at redhat.com>
Date: Tue May 3 09:53:09 2011 +0530
Initial import (#699586)
.gitignore | 1 +
sources | 1 +
tabish-eeyek-fonts-fontconfig.conf | 24 +++++++++++++++
tabish-eeyek-fonts.spec | 58 ++++++++++++++++++++++++++++++++++++
4 files changed, 84 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..40691b6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/eeyek.zip
diff --git a/sources b/sources
index e69de29..c60e09b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+aedf4633caf5e7e2ccee24e9421085b5 eeyek.zip
diff --git a/tabish-eeyek-fonts-fontconfig.conf b/tabish-eeyek-fonts-fontconfig.conf
new file mode 100644
index 0000000..7595e9c
--- /dev/null
+++ b/tabish-eeyek-fonts-fontconfig.conf
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+<match>
+ <test name="lang" compare="contains">
+ <string>mni</string>
+ </test>
+ <test name="family">
+ <string>sans-serif</string>
+ </test>
+ <edit name="family" mode="prepend">
+ <string>Meetei Mayek</string>
+ </edit>
+</match>
+
+<alias>
+ <family>Meetei Mayek</family>
+ <default>
+ <family>sans-serif</family>
+ </default>
+</alias>
+</fontconfig>
+
+
diff --git a/tabish-eeyek-fonts.spec b/tabish-eeyek-fonts.spec
new file mode 100644
index 0000000..a73b965
--- /dev/null
+++ b/tabish-eeyek-fonts.spec
@@ -0,0 +1,58 @@
+%global fontname tabish-eeyek
+%global fontconf 66-%{fontname}.conf
+
+%global archivename eeyek.zip
+
+Name: %{fontname}-fonts
+Version: 1.0
+Release: 1%{?dist}
+Summary: Font for Meetei Mayek script
+
+Group: User Interface/X
+License: GPLv2+
+URL: http://tabish.freeshell.org/eeyek/
+Source0: http://tabish.freeshell.org/eeyek/%{archivename}
+Source1: %{name}-fontconfig.conf
+
+BuildArch: noarch
+BuildRequires: fontpackages-devel
+Requires: fontpackages-filesystem
+
+%description
+A TrueType Font, which allows you to read and write in Meetei Mayek script.
+
+%prep
+%setup -q -c Eeyek_Unicode
+for file in Eeyek_Unicode/copying.txt; do
+ sed "s|\r||g" $file > $file.new && \
+ touch -r $file $file.new && \
+ mv $file.new $file
+done
+
+
+
+%build
+
+
+%install
+install -m 0755 -d %{buildroot}%{_fontdir}
+install -m 0644 -p Eeyek_Unicode/Eeyek.ttf %{buildroot}%{_fontdir}/eeyek.ttf
+
+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 Eeyek_Unicode/copying.txt
+
+
+%changelog
+* Mon Apr 25 2011 Parag Nemade <pnemade AT redhat DOT com> - 1.0-1
+- Initial Fedora release.
+
More information about the scm-commits
mailing list