806f1d2
%global fontname lohit-marathi
806f1d2
%global fontconf 65-0-%{fontname}.conf
806f1d2
806f1d2
Name:           %{fontname}-fonts
b7b5562
Version:        2.94.0
bd88927
Release:        6%{?dist}
b7b5562
Summary:        Free truetype font for Marathi language
806f1d2
806f1d2
Group:          User Interface/X
806f1d2
License:        OFL
806f1d2
URL:            https://fedorahosted.org/lohit/
54cac19
Source1:       %{fontname}.metainfo.xml
806f1d2
Source0:        https://fedorahosted.org/releases/l/o/lohit/%{fontname}-%{version}.tar.gz
806f1d2
BuildArch:      noarch
806f1d2
BuildRequires: fontforge
806f1d2
BuildRequires:  fontpackages-devel
a2d3779
BuildRequires:  python
806f1d2
Requires:       fontpackages-filesystem
bd88927
Patch0:         bug-1325493.patch
806f1d2
806f1d2
%description
806f1d2
This package provides a free Marathi truetype/opentype font.
806f1d2
806f1d2
806f1d2
%prep
bd88927
%setup -q -n %{fontname}-%{version}
bd88927
%patch0 -p1 -b .1-fixes-feature-file
806f1d2
806f1d2
%build
77a09ce
make ttf %{?_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
54cac19
# Add AppStream metadata
54cac19
install -Dm 0644 -p %{SOURCE1} \
54cac19
       %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
54cac19
806f1d2
806f1d2
%_font_pkg -f %{fontconf} *.ttf
806f1d2
77a09ce
%doc ChangeLog COPYRIGHT OFL.txt AUTHORS README test-marathi.txt
54cac19
%{_datadir}/appdata/%{fontname}.metainfo.xml
77a09ce
806f1d2
806f1d2
%changelog
bd88927
* Thu Apr 21 2016 Pravin Satpute <psatpute@redhat.com> - 2.94.0-6
bd88927
- Resolves #1325493 - Marathi font rendering issues.
bd88927
861061e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.94.0-4
861061e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
861061e
54cac19
* Mon Oct 20 2014 Pravin Satpute <psatpute@redhat.com> - 2.91.0-3
54cac19
- Added metainfo for gnome-software
54cac19
8cc7dfa
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.94.0-2
8cc7dfa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
8cc7dfa
b7b5562
* Thu May 15 2014 Pravin Satpute <psatpute@redhat.com> - 2.94.0-1
b7b5562
- upstream release 2.94.0
b7b5562
- Positioning lookup clean-up.
b7b5562
- Improved grid fitting(GASP) table.
b7b5562
- Renamed anchors to DVAnchor.
b7b5562
- Using glyph reference (copy reference) instead of whole glyph points.
b7b5562
- Auto test integrated with Makefile ($make test).
b7b5562
- Resolved #32: "सर्व्हिस does not render correctly"
b7b5562
- Resolved #33: "improper rendering for word : "मञ्यांच्या""
b7b5562
77a09ce
* Mon Dec 30 2013 Pravin Satpute <psatpute@redhat.com> - 2.93.0-1
77a09ce
- upstream release 2.93.0
77a09ce
08919b0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-2
08919b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
08919b0
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