[gubbi-fonts] initial import

Pravin Satpute pravins at fedoraproject.org
Tue Jan 10 06:32:28 UTC 2012


commit f8dd0e586de44ca63aceb4363215c6348c3a6030
Author: प्रविण सातपुते <psatpute at redhat.com>
Date:   Tue Jan 10 12:02:14 2012 +0530

    initial import

 .gitignore       |    1 +
 65-0-gubbi.conf  |   22 ++++++++++++++++++++++
 gubbi-fonts.spec |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 4 files changed, 76 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bb7e7cd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gubbi-1.0.tar.gz
diff --git a/65-0-gubbi.conf b/65-0-gubbi.conf
new file mode 100644
index 0000000..d7eb8b5
--- /dev/null
+++ b/65-0-gubbi.conf
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
+<fontconfig>
+<match>
+  <test name="lang" compare="contains">
+    <string>kn</string>
+  </test>
+  <test name="family">
+    <string>serif</string>
+  </test>
+  <edit name="family" mode="prepend">
+    <string>Gubbi</string>
+  </edit>
+</match>
+
+<alias>
+  <family>Gubbi</family>
+  <default>
+    <family>serif</family>
+  </default>
+</alias>
+</fontconfig>
diff --git a/gubbi-fonts.spec b/gubbi-fonts.spec
new file mode 100644
index 0000000..b447814
--- /dev/null
+++ b/gubbi-fonts.spec
@@ -0,0 +1,52 @@
+%global fontname gubbi
+%global fontconf 65-0-%{fontname}.conf
+
+Name:           %{fontname}-fonts
+Version:        1.0
+Release:        1%{?dist}
+Summary:        Free Kannada Opentype serif font
+
+Group:          User Interface/X
+License:        OFL
+URL:            https://github.com/aravindavk/Gubbi
+Source0:        http://sanchaya.net/downloads/fonts/%{fontname}-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires: fontforge
+BuildRequires:  fontpackages-devel
+Requires:       fontpackages-filesystem
+Source1: 65-0-gubbi.conf
+
+
+%description
+This package provides a free Kannada opentype serif font.
+
+
+%prep
+%setup -q -n %{fontname}-%{version} 
+
+%build
+make
+
+%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 ChangeLog COPYING README
+
+
+%changelog
+* Tue Jan 10 2012 Pravin Satpute <psatpute at redhat.com> - 1.0-1
+- Initial build
+
diff --git a/sources b/sources
index e69de29..aefee76 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+72988ce1a076f2d28b726f3f0b07d087  gubbi-1.0.tar.gz


More information about the scm-commits mailing list