commit b49916b27f174b9ef9d43fc30fa9d237e33001a7 Author: प्रविण सातपुते psatpute@redhat.com Date: Tue Jan 10 11:51:43 2012 +0530
initial import
.gitignore | 1 + 67-navilu.conf | 21 +++++++++++++++++++++ navilu-fonts.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 75 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..a4c2711 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/navilu-1.1.tar.gz diff --git a/67-navilu.conf b/67-navilu.conf new file mode 100644 index 0000000..e006281 --- /dev/null +++ b/67-navilu.conf @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE fontconfig SYSTEM "fonts.dtd"> +<fontconfig> +<match> + <test name="lang"> + <string>kn-in</string> + </test> + <test name="family"> + <string>sans-serif</string> + </test> + <edit name="family" mode="prepend"> + <string>Navilu</string> + </edit> +</match> +<alias> + <family>Navilu</family> + <default> + <family>sans-serif</family> + </default> +</alias> +</fontconfig> diff --git a/navilu-fonts.spec b/navilu-fonts.spec new file mode 100644 index 0000000..04644c8 --- /dev/null +++ b/navilu-fonts.spec @@ -0,0 +1,52 @@ +%global fontname navilu +%global fontconf 67-%{fontname}.conf + +Name: %{fontname}-fonts +Version: 1.1 +Release: 1%{?dist} +Summary: Free Kannada opentype sans-serif font + +Group: User Interface/X +License: OFL +URL: https://github.com/aravindavk/Navilu +Source0: http://sanchaya.net/downloads/fonts/%%7Bfontname%7D-%%7Bversion%7D.tar.gz +BuildArch: noarch +BuildRequires: fontforge +BuildRequires: fontpackages-devel +Requires: fontpackages-filesystem +Source1: 67-navilu.conf + + +%description +This package provides a free Kannada sans-serif opentype 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@redhat.com - 1.1-1 +- Initial build + diff --git a/sources b/sources index e69de29..b5f2677 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +200bc425c5496ebdb6ef6d6834270db3 navilu-1.1.tar.gz
i18n-bugs@lists.fedoraproject.org