diff --git a/.lohit-bengali-fonts.metadata b/.lohit-bengali-fonts.metadata new file mode 100644 index 0000000..bc31160 --- /dev/null +++ b/.lohit-bengali-fonts.metadata @@ -0,0 +1 @@ +c95ce7966851d502386a717822e8c26693be942f SOURCES/lohit-bengali-2.5.3.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/bug-959994.patch b/SOURCES/bug-959994.patch new file mode 100644 index 0000000..5dce5dd --- /dev/null +++ b/SOURCES/bug-959994.patch @@ -0,0 +1,25 @@ +diff -rup lohit-bengali-2.5.3/65-0-lohit-bengali.conf lohit-bengali-2.5.3_mod/65-0-lohit-bengali.conf +--- lohit-bengali-2.5.3/65-0-lohit-bengali.conf 2013-01-30 17:31:46.000000000 +0530 ++++ lohit-bengali-2.5.3_mod/65-0-lohit-bengali.conf 2013-05-29 14:28:53.239651293 +0530 +@@ -22,6 +22,21 @@ + + + ++ ++ ++ Lohit Bengali ++ ++ ++ ++ lang ++ ++ as ++ ++ ++ ++ ++ ++ + + Lohit Bengali + diff --git a/SPECS/lohit-bengali-fonts.spec b/SPECS/lohit-bengali-fonts.spec new file mode 100644 index 0000000..e0ee33b --- /dev/null +++ b/SPECS/lohit-bengali-fonts.spec @@ -0,0 +1,97 @@ +%global fontname lohit-bengali +%global fontconf 65-0-%{fontname}.conf + +Name: %{fontname}-fonts +Version: 2.5.3 +Release: 3%{?dist} +Summary: Free Bengali font +Group: User Interface/X +License: OFL +URL: https://fedorahosted.org/lohit/ +Source0: https://fedorahosted.org/releases/l/o/lohit/%{fontname}-%{version}.tar.gz +BuildArch: noarch +BuildRequires: fontforge >= 20080429 +BuildRequires: fontpackages-devel +Requires: fontpackages-filesystem +Patch1: bug-959994.patch + + +%description +This package provides a free Bengali truetype/opentype font. + + +%prep +%setup -q -n %{fontname}-%{version} +mv 66-%{fontname}.conf 65-0-lohit-bengali.conf +%patch1 -p1 -b .1-removing-as-from-fc-cache + + +%build +make %{?_smp_mflags} + +%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 %{fontconf} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf} +ln -s %{_fontconfig_templatedir}/%{fontconf} \ + %{buildroot}%{_fontconfig_confdir}/%{fontconf} + + +%_font_pkg -f %{fontconf} *.ttf + +%doc ChangeLog COPYRIGHT OFL.txt AUTHORS README ChangeLog.old + + +%changelog +* Wed May 29 2013 Pravin Satpute - 2.5.3-3 +- Resolved #959994 - Removed 'as' from fc-cache + +* Fri Apr 12 2013 Pravin Satpute - 2.5.3-2 +- Resolved #950523 + +* Thu Jan 31 2013 Pravin Satpute - 2.5.3-1 +- Upstream release 2.5.3 + +* Thu Nov 22 2012 Pravin Satpute - 2.5.2-2 +- Upstream release 2.5.2 + +* Thu Jul 19 2012 Fedora Release Engineering - 2.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Apr 23 2012 Pravin Satpute - 2.5.1-1 +- Upstream new release + +* Fri Jan 13 2012 Fedora Release Engineering - 2.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Oct 07 2011 Pravin Satpute - 2.5.0-1 +- Upstream new release with relicensing to OFL + +* Mon Jun 06 2011 Pravin Satpute - 2.4.3-8 +- fixed bug 705348 + +* Wed Apr 13 2011 Pravin Satpute - 2.4.3-7 +- fixed bug 692360 + +* Fri Feb 04 2011 Pravin Satpute - 2.4.3-6 +- fixed bug 673412, rupee sign + +* Fri Apr 16 2010 Pravin Satpute - 2.4.3-5 +- fixed bug 578030, conf file + +* Thu Dec 13 2009 Pravin Satpute - 2.4.3-4 +- fixed bug 548686, license field + +* Fri Sep 25 2009 Pravin Satpute - 2.4.3-3 +- updated specs + +* Wed Sep 09 2009 Pravin Satpute - 2.4.3-1 +- first release after lohit-fonts split in new tarball + +