3e164cb
%global fontname lohit-nepali
3e164cb
%global fontconf 65-0-%{fontname}.conf
a7a59c9
%global metainfo io.pagure.lohit.nepali.font.metainfo
3e164cb
3e164cb
Name:           %{fontname}-fonts
fb21717
Version:        2.94.2
fcc3796
Release:        11%{?dist}
7d13dab
Summary:        Free TrueType fonts for Nepali language
3e164cb
3e164cb
License:        OFL
66aca9b
URL:            https://pagure.io/lohit
66aca9b
Source0:        https://releases.pagure.org/lohit/%{fontname}-%{version}.tar.gz
3e164cb
BuildArch:      noarch
3e164cb
BuildRequires: fontforge
3e164cb
BuildRequires:  fontpackages-devel
66aca9b
BuildRequires: python3-devel
6886595
BuildRequires: make
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
a7a59c9
install -Dm 0644 -p %{metainfo}.xml \
a7a59c9
       %{buildroot}%{_datadir}/metainfo/%{metainfo}.xml
520f6f4
3e164cb
3e164cb
%_font_pkg -f %{fontconf} *.ttf
3e164cb
ea834bc
%doc ChangeLog COPYRIGHT OFL.txt AUTHORS README test-nepali.txt
a7a59c9
%{_datadir}/metainfo/%{metainfo}.xml
3e164cb
3e164cb
%changelog
fcc3796
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.2-11
fcc3796
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
fcc3796
2ed0b08
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.2-10
2ed0b08
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2ed0b08
607b832
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.2-9
607b832
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
607b832
fd61234
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.2-8
fd61234
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
fd61234
vvijayra d204692
* Tue Jul 16 2019 Vishal Vijayraghavan <vvijayra AT redhat DOT com> - 2.94.2-7
vvijayra d204692
- Added CI tests
vvijayra d204692
0951424
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.2-6
0951424
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
0951424
ce05ca9
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.2-5
ce05ca9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
ce05ca9
dde789e
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.94.2-4
dde789e
- Rebuilt for Python 3.7
dde789e
b25862f
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.2-3
b25862f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b25862f
5bfbe87
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.2-2
5bfbe87
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5bfbe87
a7a59c9
* Tue May 30 2017 Pravin Satpute <psatpute@redhat.com> - 2.94.2-1
a7a59c9
- Upstream new release 2.94.2
a7a59c9
- Update metainfo file with latest specifications
a7a59c9
- Changed location of metainfo to /usr/share/metainfo
a7a59c9
66aca9b
* Tue Mar 14 2017 Pravin Satpute <psatpute@redhat.com> - 2.94.1-1
66aca9b
- Added  BuildRequires: python3-devel.
66aca9b
- Resolves: #1423907 - FTBFS in rawhide.
66aca9b
- Upstream new release, migrated from fedorahosted.org to pagure.io.
66aca9b
9a41e00
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.94.0-6
9a41e00
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9a41e00
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