806f1d2
%global fontname lohit-marathi
806f1d2
%global fontconf 65-0-%{fontname}.conf
806f1d2
806f1d2
Name:           %{fontname}-fonts
4a65dd2
Version:        2.5.3
f9885d2
Release:        1%{?dist}
806f1d2
Summary:        Free Marathi font
806f1d2
806f1d2
Group:          User Interface/X
806f1d2
License:        OFL
806f1d2
URL:            https://fedorahosted.org/lohit/
806f1d2
Source0:        https://fedorahosted.org/releases/l/o/lohit/%{fontname}-%{version}.tar.gz
806f1d2
BuildArch:      noarch
806f1d2
BuildRequires: fontforge
806f1d2
BuildRequires:  fontpackages-devel
806f1d2
Requires:       fontpackages-filesystem
806f1d2
806f1d2
%description
806f1d2
This package provides a free Marathi truetype/opentype font.
806f1d2
806f1d2
806f1d2
%prep
806f1d2
%setup -q -n %{fontname}-%{version} 
806f1d2
806f1d2
%build
f9885d2
make %{?_smp_mflags}
806f1d2
806f1d2
%install
806f1d2
806f1d2
install -m 0755 -d %{buildroot}%{_fontdir}
806f1d2
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
806f1d2
806f1d2
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
806f1d2
                   %{buildroot}%{_fontconfig_confdir}
806f1d2
806f1d2
install -m 0644 -p %{fontconf} \
806f1d2
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
806f1d2
ln -s %{_fontconfig_templatedir}/%{fontconf} \
806f1d2
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
806f1d2
806f1d2
806f1d2
%_font_pkg -f %{fontconf} *.ttf
806f1d2
806f1d2
%doc ChangeLog OFL.txt COPYRIGHT AUTHORS README ChangeLog.old
806f1d2
806f1d2
%changelog
4a65dd2
* Thu Jan 31 2013 Pravin Satpute <psatpute@redhat.com> - 2.5.3-1
4a65dd2
- upstream release 2.5.3
4a65dd2
f9885d2
* Thu Nov 22 2012 Pravin Satpute <psatpute@redhat.com> - 2.5.2-1
f9885d2
- upstream release 2.5.2
f9885d2
a02bd81
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-2
a02bd81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a02bd81
806f1d2
* Wed Apr 04 2012 Pravin Satpute <psatpute@redhat.com> - 2.5.1-1
806f1d2
- first release after lohit-devanagari split into marathi specific shapes