806f1d2
%global fontname lohit-marathi
806f1d2
%global fontconf 65-0-%{fontname}.conf
af8156b
%global metainfo io.pagure.lohit.marathi.font.metainfo
806f1d2
806f1d2
Name:           %{fontname}-fonts
6486198
Version:        2.94.2
d62d5fe
Release:        3%{?dist}
b7b5562
Summary:        Free truetype font for Marathi language
806f1d2
806f1d2
License:        OFL
29488c2
URL:            https://pagure.io/lohit
29488c2
Source0:        https://releases.pagure.org/lohit/%{fontname}-%{version}.tar.gz
806f1d2
BuildArch:      noarch
c123c5b
BuildRequires:  fontforge
806f1d2
BuildRequires:  fontpackages-devel
c123c5b
BuildRequires:  python3-devel
c123c5b
BuildRequires:  python-tools
806f1d2
Requires:       fontpackages-filesystem
806f1d2
806f1d2
%description
806f1d2
This package provides a free Marathi truetype/opentype font.
806f1d2
806f1d2
806f1d2
%prep
f71be5f
%setup -q -n %{fontname}-%{version}
c123c5b
806f1d2
%build
77a09ce
make ttf %{?_smp_mflags}
806f1d2
806f1d2
%install
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
6486198
install -Dm 0644 -p %{metainfo}.xml \
6486198
       %{buildroot}%{_datadir}/metainfo/%{metainfo}.xml
54cac19
806f1d2
806f1d2
%_font_pkg -f %{fontconf} *.ttf
c123c5b
%doc ChangeLog COPYRIGHT AUTHORS README test-marathi.txt
c123c5b
%license OFL.txt
6486198
%{_datadir}/metainfo/%{metainfo}.xml
806f1d2
806f1d2
%changelog
d62d5fe
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.2-3
d62d5fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d62d5fe
6df25e4
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.2-2
6df25e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6df25e4
6486198
* Tue May 30 2017 Pravin Satpute <psatpute@redhat.com> - 2.94.2-1
6486198
- Upstream new release 2.94.2
6486198
- Update metainfo file with latest specifications
6486198
- Changed location of metainfo to /usr/share/metainfo
6486198
29488c2
* Tue Mar 14 2017 Pravin Satpute <psatpute@redhat.com> - 2.94.1-1
29488c2
- Upstream new release 2.94.1 with python3 support.
29488c2
- Resolves: #1423906 - FTBFS in rawhide
29488c2
- Migrated from fedorahosted.org to pagure.io.
29488c2
29488c2
bae112a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.0-8
bae112a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
bae112a
c123c5b
* Thu Apr 21 2016 Parag Nemade <pnemade AT redhat DOT com> - 2.94.0-7
c123c5b
- Fix the apply_featurefile.py to use fontforge python3 module
c123c5b
- use %%license
c123c5b
- Drop obsolete Group tag
c123c5b
f71be5f
* Thu Apr 21 2016 Pravin Satpute <psatpute@redhat.com> - 2.94.0-6
f71be5f
- Resolves #1325493 - Marathi font rendering issues.
f71be5f
f0c9d5a
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.0-5
f0c9d5a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f0c9d5a
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