commit 1feb8f0074946816c67d805d95bccc5b04c1cf77
Author: susmit <susmit(a)fedoraproject.org>
Date: Mon Feb 28 17:21:51 2011 -0700
initial import
.gitignore | 1 +
kanotf-fonts-fontconfig.conf | 17 ++++++++++++
kanotf-fonts.spec | 56 ++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e94aef0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/kanotf.zip
diff --git a/kanotf-fonts-fontconfig.conf b/kanotf-fonts-fontconfig.conf
new file mode 100644
index 0000000..dc0c2b3
--- /dev/null
+++ b/kanotf-fonts-fontconfig.conf
@@ -0,0 +1,17 @@
+<?xml version ="1.0" encoding="UTF-8" ?>
+<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
+<fontconfig>
+ <alias>
+ <family>serif</family>
+ <prefer>
+ <family>Kanotf</family>
+ </prefer>
+ </alias>
+ <alias>
+ <family>Kanotf</family>
+ <default>
+ <family>serif</family>
+ </default>
+ </alias>
+</fontconfig>
+
diff --git a/kanotf-fonts.spec b/kanotf-fonts.spec
new file mode 100644
index 0000000..318a0a3
--- /dev/null
+++ b/kanotf-fonts.spec
@@ -0,0 +1,56 @@
+%global fontname kanotf
+%global fontconf 65-%{fontname}.conf
+%global _subdir /fonts
+
+Name: %{fontname}-fonts
+Version: 20050515
+Release: 1%{?dist}
+Summary: OpenType Kannada fonts
+Group: User Interface/X
+License: GPLv2
+URL:
http://sourceforge.net/projects/brahmi/
+Source0:
http://sourceforge.net/projects/brahmi/files/Brahmi%20OpenType%20Fonts/Op...
+Source1: %{name}-fontconfig.conf
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+BuildRequires: fontpackages-devel
+Requires: fontpackages-filesystem
+
+%description
+Consists of two Kannada open-type fonts named "Kedage" and "Mallige".
+
+%define debug_package %{nil}
+
+%prep
+%setup -q -n %{fontname}%{_subdir}
+sed -i 's/\r//' ../readme.txt
+%build
+
+%install
+rm -rf %{buildroot}
+
+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.txt ../gpl.txt
+
+%changelog
+* Sun Feb 27 2011 Susmit Shannigrahi <susmit at fedoraproject.org> -
20050515-1%{?dist}
+- Changing version format. Upstream does not provide consistent version number.
+- Corrected wrong-file-end-of-line-encoding.
+* Thu Nov 12 2010 Susmit Shannigrahi <susmit at fedoraproject.org> - 1.0-1
+- Initial Packaging
+
diff --git a/sources b/sources
index e69de29..2a90e2d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+eee256663ccc845d40edca5c97dba361 kanotf.zip