From 7fb9367a4ef2bb9b39b2c2a99cdb5633294a4b17 Mon Sep 17 00:00:00 2001 From: Pravin Satpute Date: Sep 11 2009 10:04:36 +0000 Subject: - first release after lohit-fonts split in new tarball --- diff --git a/.cvsignore b/.cvsignore index e69de29..c5e5cb6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +lohit-gujarati-2.4.3.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..f715cf0 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +lohit-gujarati-fonts-2_4_3-1_fc11:HEAD:lohit-gujarati-fonts-2.4.3-1.fc11.src.rpm:1252663708 diff --git a/lohit-gujarati-fonts.spec b/lohit-gujarati-fonts.spec new file mode 100644 index 0000000..09f2e8d --- /dev/null +++ b/lohit-gujarati-fonts.spec @@ -0,0 +1,60 @@ +%global fontname lohit-gujarati +%global fontconf 66-%{fontname}.conf + +Name: %{fontname}-fonts +Version: 2.4.3 +Release: 1%{?dist} +Summary: Free Gujarati font + +Group: User Interface/X +License: GPLv2 +URL: https://fedorahosted.org/lohit/ +Source0: http://pravins.fedorapeople.org/lohit/gujarati/%{fontname}-%{version}.tar.gz +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) +BuildArch: noarch +BuildRequires: fontforge >= 20080429 +BuildRequires: fontpackages-devel +Requires: fontpackages-filesystem +Obsoletes: %{fontname}-fonts < %{version}-%{release} +Obsoletes: lohit-fonts-common < %{version}-%{release} + +%description +This package provides a free Gujarati truetype/opentype font. + + +%prep +%setup -q -n %{fontname}-%{version} + + +%build +./generate.pe *.sfd + +%install +rm -fr %{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 %{fontconf} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf} +ln -s %{_fontconfig_templatedir}/%{fontconf} \ + %{buildroot}%{_fontconfig_confdir}/%{fontconf} + + +%clean +rm -fr %{buildroot} + + +%_font_pkg -f %{fontconf} *.ttf + +%doc ChangeLog COPYRIGHT COPYING AUTHORS README ChangeLog.old + + +%changelog +* Fri Sep 11 2009 Pravin Satpute - 2.4.3-1 +- first release after lohit-fonts split in new tarball + + diff --git a/sources b/sources index e69de29..eb572fd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +92dacc86836abbf69bfcc47c3e9ae669 lohit-gujarati-2.4.3.tar.gz