3e164cb
%global fontname lohit-nepali
3e164cb
%global fontconf 65-0-%{fontname}.conf
3e164cb
3e164cb
Name:           %{fontname}-fonts
7d13dab
Version:        2.94.0
29ead48
Release:        5%{?dist}
7d13dab
Summary:        Free TrueType fonts for Nepali language
3e164cb
3e164cb
Group:          User Interface/X
3e164cb
License:        OFL
3e164cb
URL:            https://fedorahosted.org/lohit/
3e164cb
Source0:        https://fedorahosted.org/releases/l/o/lohit/%{fontname}-%{version}.tar.gz
520f6f4
Source1:       %{fontname}.metainfo.xml
3e164cb
BuildArch:      noarch
3e164cb
BuildRequires: fontforge
3e164cb
BuildRequires:  fontpackages-devel
3e164cb
Requires:       fontpackages-filesystem
3e164cb
3e164cb
%description
7d13dab
This package provides a free TrueType font for Nepali language.
3e164cb
3e164cb
3e164cb
%prep
3e164cb
%setup -q -n %{fontname}-%{version} 
3e164cb
3e164cb
%build
ea834bc
make ttf %{?_smp_mflags}
3e164cb
3e164cb
%install
3e164cb
rm -fr %{buildroot}
3e164cb
3e164cb
install -m 0755 -d %{buildroot}%{_fontdir}
3e164cb
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
3e164cb
3e164cb
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
3e164cb
                   %{buildroot}%{_fontconfig_confdir}
3e164cb
3e164cb
install -m 0644 -p %{fontconf} \
3e164cb
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
3e164cb
ln -s %{_fontconfig_templatedir}/%{fontconf} \
3e164cb
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
3e164cb
520f6f4
# Add AppStream metadata
520f6f4
install -Dm 0644 -p %{SOURCE1} \
520f6f4
       %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
520f6f4
520f6f4
3e164cb
3e164cb
%_font_pkg -f %{fontconf} *.ttf
3e164cb
ea834bc
%doc ChangeLog COPYRIGHT OFL.txt AUTHORS README test-nepali.txt
520f6f4
%{_datadir}/appdata/%{fontname}.metainfo.xml
520f6f4
3e164cb
3e164cb
%changelog
29ead48
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.0-5
29ead48
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
29ead48
7efe83d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.94.0-4
7efe83d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7efe83d
520f6f4
* Tue Oct 28 2014 Pravin Satpute <psatpute@redhat.com> - 2.94.0-3
520f6f4
- Added metainfo for gnome-software
520f6f4
52f42ae
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.94.0-2
52f42ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
52f42ae
7d13dab
* Thu May 15 2014 Pravin Satpute <psatpute@redhat.com> - 2.94.0-1
7d13dab
- Upstream release 2.94.0
7d13dab
- Positioning lookup clean-up.
7d13dab
- Improved grid fitting(GASP) table.
7d13dab
- Renamed anchors to DVAnchor.
7d13dab
- Using glyph reference (copy reference) instead of whole glyph points.
7d13dab
- Auto test integrated with Makefile ($make test).
7d13dab
- Resolved #32: "सर्व्हिस does not render correctly"
7d13dab
- Resolved #33: "improper rendering for word : "मञ्यांच्या""
7d13dab
ea834bc
* Mon Dec 30 2013 Pravin Satpute <psatpute@redhat.com> - 2.93.0-1
ea834bc
- Upstream release 2.93.0
ea834bc
27f7261
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-2
27f7261
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
27f7261
41ad496
* Thu Jan 31 2013 Pravin Satpute <psatpute@redhat.com> - 2.5.3-1
41ad496
- Upstream release 2.5.3
41ad496
3ce87c2
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1.1-2
3ce87c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3ce87c2
3e164cb
* Thu Apr 12 2012 Pravin Satpute <psatpute@redhat.com> - 2.5.1.1-1
3e164cb
- first release after lohit-devanagari split into nepali specific shapes