b3235e
%global fontname lohit-kannada
b3235e
%global fontconf 65-0-%{fontname}.conf
b3235e
%global metainfo io.pagure.lohit.kannada.font.metainfo
b3235e
b3235e
Name:           %{fontname}-fonts
b3235e
Version:        2.5.4
b3235e
Release:        12%{?dist}
b3235e
Summary:        Free Kannada font
b3235e
b3235e
License:        OFL
b3235e
URL:            https://pagure.io/lohit
b3235e
Source0:        https://releases.pagure.org/lohit/%{fontname}-%{version}.tar.gz
b3235e
BuildArch:      noarch
b3235e
BuildRequires: fontforge >= 20080429
b3235e
BuildRequires:  fontpackages-devel
b3235e
BuildRequires: make
b3235e
Requires:       fontpackages-filesystem
b3235e
Obsoletes: lohit-fonts-common < %{version}-%{release}
b3235e
b3235e
%description
b3235e
This package provides a free Kannada truetype/opentype font.
b3235e
b3235e
b3235e
%prep
b3235e
%setup -q -n %{fontname}-%{version} 
b3235e
mv 66-%{fontname}.conf 65-0-lohit-kannada.conf
b3235e
b3235e
b3235e
%build
b3235e
make ttf %{?_smp_mflags}
b3235e
b3235e
%install
b3235e
b3235e
install -m 0755 -d %{buildroot}%{_fontdir}
b3235e
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
b3235e
b3235e
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
b3235e
                   %{buildroot}%{_fontconfig_confdir}
b3235e
b3235e
install -m 0644 -p %{fontconf} \
b3235e
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
b3235e
ln -s %{_fontconfig_templatedir}/%{fontconf} \
b3235e
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
b3235e
b3235e
# Add AppStream metadata
b3235e
install -Dm 0644 -p %{metainfo}.xml \
b3235e
       %{buildroot}%{_datadir}/metainfo/%{metainfo}.xml
b3235e
b3235e
%_font_pkg -f %{fontconf} *.ttf
b3235e
b3235e
%doc ChangeLog COPYRIGHT OFL.txt AUTHORS README
b3235e
%{_datadir}/metainfo/%{metainfo}.xml
b3235e
b3235e
b3235e
%changelog
b3235e
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.5.4-12
b3235e
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
b3235e
  Related: rhbz#1991688
b3235e
b3235e
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.5.4-11
b3235e
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
b3235e
b3235e
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-10
b3235e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
b3235e
b3235e
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-9
b3235e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b3235e
b3235e
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-8
b3235e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
b3235e
b3235e
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-7
b3235e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
b3235e
b3235e
* Tue Jul 16 2019 Vishal Vijayraghavan <vvijayra AT redhat DOT com> - 2.5.4-6
b3235e
- Added CI tests
b3235e
b3235e
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-5
b3235e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
b3235e
b3235e
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-4
b3235e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
b3235e
b3235e
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-3
b3235e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b3235e
b3235e
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-2
b3235e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b3235e
b3235e
* Tue May 30 2017 Pravin Satpute <psatpute@redhat.com> - 2.5.4-1
b3235e
- Upstream new release 2.5.4
b3235e
- Update metainfo file with latest specifications
b3235e
- Changed location of metainfo to /usr/share/metainfo
b3235e
- Removed patch already included in upstream
b3235e
b3235e
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.3-9
b3235e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b3235e
b3235e
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.3-8
b3235e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b3235e
b3235e
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-7
b3235e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b3235e
b3235e
* Mon Oct 20 2014 Pravin Satpute <psatpute@redhat.com> - 2.5.3-6
b3235e
- Added metainfo for gnome-software
b3235e
b3235e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-5
b3235e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b3235e
b3235e
* Thu Sep 19 2013 Pravin Satpute <psatpute@redhat.com> - 2.5.3-4
b3235e
- Removed wrong script tags
b3235e
b3235e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-3
b3235e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b3235e
b3235e
* Fri Apr 12 2013 Pravin Satpute <psatpute@redhat.com> - 2.5.3-2
b3235e
- Resolved #950521
b3235e
b3235e
* Thu Jan 31 2013 Pravin Satpute <psatpute@redhat.com> - 2.5.3-1
b3235e
- Upstream release 2.5.3
b3235e
b3235e
* Thu Nov 22 2012 Pravin Satpute <psatpute@redhat.com> - 2.5.1-4
b3235e
- Spec file cleanup
b3235e
b3235e
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-3
b3235e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b3235e
b3235e
* Tue Jun 12 2012 Pravin Satpute <psatpute@redhat.com> - 2.5.1-2
b3235e
- Resolves bug #825104
b3235e
b3235e
* Wed Mar 28 2012 Pravin Satpute <psatpute@redhat.com> - 2.5.1-1
b3235e
- Upstream new release
b3235e
b3235e
* Thu Feb 09 2012 Pravin Satpute <psatpute@redhat.com> - 2.5.0-3
b3235e
- Resolved bug 748710
b3235e
b3235e
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-2
b3235e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b3235e
b3235e
* Fri Oct 07 2011 Pravin Satpute <psatpute@redhat.com> - 2.5.0-1
b3235e
- Upstream new release with relicensing to OFL
b3235e
b3235e
* Mon Jun 06 2011 Pravin Satpute <psatpute@redhat.com> - 2.4.6-2
b3235e
- Resolved bug 705348
b3235e
b3235e
* Thu May 12 2011 Pravin Satpute <psatpute@redhat.com> - 2.4.6-1
b3235e
- upstream new release 2.4.6
b3235e
b3235e
* Thu Apr 28 2011 Pravin Satpute <psatpute@redhat.com> - 2.4.5-8
b3235e
- fixes bug 694705
b3235e
b3235e
* Wed Apr 13 2011 Pravin Satpute <psatpute@redhat.com> - 2.4.5-7
b3235e
- fixes bug 692362
b3235e
b3235e
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.5-6
b3235e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b3235e
b3235e
* Tue Feb 08 2011 Pravin Satpute <psatpute@redhat.com> - 2.4.5-5
b3235e
- resolved bug 673414, rupee sign
b3235e
b3235e
* Mon Oct 18 2010 Pravin Satpute <psatpute@redhat.com> - 2.4.5-4
b3235e
- fixed zwj problem of bug 576105
b3235e
- will work when, zwj processing will be fixed in pango
b3235e
b3235e
* Mon Oct 18 2010 Pravin Satpute <psatpute@redhat.com> - 2.4.5-3
b3235e
- fixed bug 576105
b3235e
b3235e
* Fri Apr 16 2010 Pravin Satpute <psatpute@redhat.com> - 2.4.5-2
b3235e
- fixed bug 578032
b3235e
b3235e
* Tue Mar 23 2010 Pravin Satpute <psatpute@redhat.com> - 2.4.5-1
b3235e
- upstream new release
b3235e
- fix bugs 576105, 559462 
b3235e
b3235e
* Sun Dec 13 2009 Pravin Satpute <psatpute@redhat.com> - 2.4.4-3
b3235e
- fixed bug 548686, license field
b3235e
b3235e
* Fri Sep 25 2009 Pravin Satpute <psatpute@redhat.com> - 2.4.4-2
b3235e
- updated specs
b3235e
b3235e
* Mon Sep 21 2009 Pravin Satpute <psatpute@redhat.com> - 2.4.4-1
b3235e
- upstream release of 2.4.4
b3235e
- updated url for upstream tarball
b3235e
- added Makefile in upstream tar ball
b3235e
b3235e
* Fri Sep 11 2009 Pravin Satpute <psatpute@redhat.com> - 2.4.3-1
b3235e
- first release after lohit-fonts split in new tarball