9ad14f
%global fontname lohit-bengali
9ad14f
%global fontconf 65-0-%{fontname}.conf
9ad14f
9ad14f
Name:        %{fontname}-fonts
9ad14f
Version:        2.5.3
08dade
Release:        4%{?dist}
9ad14f
Summary:        Free Bengali font
9ad14f
Group:          User Interface/X
9ad14f
License:        OFL
9ad14f
URL:            https://fedorahosted.org/lohit/
9ad14f
Source0:        https://fedorahosted.org/releases/l/o/lohit/%{fontname}-%{version}.tar.gz
9ad14f
BuildArch:      noarch
9ad14f
BuildRequires: fontforge >= 20080429
9ad14f
BuildRequires:  fontpackages-devel
9ad14f
Requires:       fontpackages-filesystem
9ad14f
Patch1: bug-959994.patch
9ad14f
9ad14f
9ad14f
%description
9ad14f
This package provides a free Bengali truetype/opentype font.
9ad14f
9ad14f
9ad14f
%prep
9ad14f
%setup -q -n %{fontname}-%{version} 
9ad14f
mv 66-%{fontname}.conf 65-0-lohit-bengali.conf
9ad14f
%patch1 -p1 -b .1-removing-as-from-fc-cache
9ad14f
9ad14f
9ad14f
%build
9ad14f
make %{?_smp_mflags}
9ad14f
9ad14f
%install
9ad14f
9ad14f
install -m 0755 -d %{buildroot}%{_fontdir}
9ad14f
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
9ad14f
9ad14f
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
9ad14f
                   %{buildroot}%{_fontconfig_confdir}
9ad14f
9ad14f
install -m 0644 -p %{fontconf} \
9ad14f
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
9ad14f
ln -s %{_fontconfig_templatedir}/%{fontconf} \
9ad14f
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
9ad14f
9ad14f
9ad14f
%_font_pkg -f %{fontconf} *.ttf
9ad14f
9ad14f
%doc ChangeLog COPYRIGHT OFL.txt AUTHORS README ChangeLog.old
9ad14f
9ad14f
9ad14f
%changelog
08dade
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.5.3-4
08dade
- Mass rebuild 2013-12-27
08dade
9ad14f
* Wed May 29 2013 Pravin Satpute <psatpute@redhat.com> - 2.5.3-3
9ad14f
- Resolved #959994 - Removed 'as' from fc-cache
9ad14f
9ad14f
* Fri Apr 12 2013 Pravin Satpute <psatpute@redhat.com> - 2.5.3-2
9ad14f
- Resolved #950523
9ad14f
9ad14f
* Thu Jan 31 2013 Pravin Satpute <psatpute@redhat.com> - 2.5.3-1
9ad14f
- Upstream release 2.5.3
9ad14f
9ad14f
* Thu Nov 22 2012 Pravin Satpute <psatpute@redhat.com> - 2.5.2-2
9ad14f
- Upstream release 2.5.2
9ad14f
9ad14f
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-2
9ad14f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9ad14f
9ad14f
* Mon Apr 23 2012 Pravin Satpute <psatpute@redhat.com> - 2.5.1-1
9ad14f
- Upstream new release
9ad14f
9ad14f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-2
9ad14f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9ad14f
9ad14f
* Fri Oct 07 2011 Pravin Satpute <psatpute@redhat.com> - 2.5.0-1
9ad14f
- Upstream new release with relicensing to OFL
9ad14f
9ad14f
* Mon Jun 06 2011 Pravin Satpute <psatpute@redhat.com> - 2.4.3-8
9ad14f
- fixed bug 705348
9ad14f
9ad14f
* Wed Apr 13 2011 Pravin Satpute <psatpute@redhat.com> - 2.4.3-7
9ad14f
- fixed bug 692360
9ad14f
9ad14f
* Fri Feb 04 2011 Pravin Satpute <psatpute@redhat.com> - 2.4.3-6
9ad14f
- fixed bug 673412, rupee sign
9ad14f
9ad14f
* Fri Apr 16 2010 Pravin Satpute <psatpute@redhat.com> - 2.4.3-5
9ad14f
- fixed bug 578030, conf file
9ad14f
9ad14f
* Thu Dec 13 2009 Pravin Satpute <psatpute@redhat.com> - 2.4.3-4
9ad14f
- fixed bug 548686, license field
9ad14f
9ad14f
* Fri Sep 25 2009 Pravin Satpute <psatpute@redhat.com> - 2.4.3-3
9ad14f
- updated specs
9ad14f
9ad14f
* Wed Sep 09 2009 Pravin Satpute <psatpute@redhat.com> - 2.4.3-1
9ad14f
- first release after lohit-fonts split in new tarball
9ad14f
9ad14f