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 @@ + + + + + + kn + + + serif + + + Gubbi + + + + + Gubbi + + serif + + + 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 - 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