647578
%global	fontname jomolhari
647578
%global fontconf 65-0-%{fontname}.conf
647578
647578
Name:		%{fontname}-fonts
647578
Version:	0.003
647578
Release:	24%{?dist}
647578
Summary:	Jomolhari a Bhutanese style font for Tibetan and Dzongkha
647578
647578
License:	OFL
647578
# Looks like currently following URL is gone now. Maybe temporary issue
647578
#URL:		http://chris.fynn.googlepages.com/jomolhari
647578
# Try following URL for this package
647578
#URL:           https://sites.google.com/site/chrisfynn2/home/fonts/jomolhari
647578
Source0:	http://chris.fynn.googlepages.com/jomolhari-alpha003c.zip
647578
Source1:        %{name}-fontconfig.conf 
647578
Source2:        %{fontname}.metainfo.xml
647578
647578
BuildArch:	noarch
647578
BuildRequires:	fontpackages-devel
647578
Requires:	fontpackages-filesystem
647578
647578
%description
647578
Jomolhari is an TrueType OpenType Bhutanese style font for Dzongkha and
647578
Tibetan text. It is based on Bhutanese manuscript examples, supports the
647578
Unicode and the Chinese encoding for Tibetan.
647578
The font supports the standard combinations used in most texts.
647578
647578
%prep
647578
%setup -q -c
647578
647578
%build
647578
# Empty build section
647578
647578
%install
647578
install -m 0755 -d %{buildroot}%{_fontdir}
647578
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
647578
647578
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
647578
                   %{buildroot}%{_fontconfig_confdir}
647578
647578
install -m 0644 -p %{SOURCE1} \
647578
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
647578
ln -s %{_fontconfig_templatedir}/%{fontconf} \
647578
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
647578
647578
for i in FONTLOG.txt OFL-FAQ.txt OFL.txt
647578
do
647578
	tr -d '\r' < $i > ${i}.tmp
647578
	mv -f ${i}.tmp $i
647578
done
647578
647578
# Add AppStream metadata
647578
install -Dm 0644 -p %{SOURCE2} \
647578
        %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
647578
647578
%_font_pkg -f 65-0-%{fontname}.conf *.ttf
647578
%doc FONTLOG.txt OFL-FAQ.txt OFL.txt
647578
%{_datadir}/appdata/%{fontname}.metainfo.xml
647578
647578
%changelog
647578
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.003-24
647578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
647578
647578
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.003-23
647578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
647578
647578
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.003-22
647578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
647578
647578
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.003-21
647578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
647578
647578
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-20
647578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
647578
647578
* Fri Oct 17 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.003-19
647578
- Add metainfo file to show this font in gnome-software
647578
647578
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-18
647578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
647578
647578
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-17
647578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
647578
647578
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-16
647578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
647578
647578
* Fri Nov 23 2012 Parag <pnemade AT redhat DOT com> - 0.003-15
647578
- Resolves:rh#879544: upstream source url not active
647578
647578
* Thu Aug 16 2012 Parag <pnemade AT redhat DOT com> - 0.003-14
647578
- Resolves:rh#847627 - Malformed fontconfig config file
647578
647578
* Tue Aug 14 2012 Parag <pnemade AT redhat DOT com> - 0.003-13
647578
- Resolves:rh#847621 - better enabling autohinting by default
647578
- Resolves:rh#847623 - fontconfig file isn't shipped in rpm
647578
- Resolves:rh#847627 - Malformed fontconfig config file
647578
647578
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-12
647578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
647578
647578
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-11
647578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
647578
647578
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-10
647578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
647578
647578
* Tue Jul 27 2010 Parag <pnemade AT redhat.com> - 0.003-9
647578
- Resolves:rh#586241  - No fontconfig config files provided
647578
647578
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-8
647578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
647578
647578
* Sun Mar 15 2009 Marcin Garski <mgarski[AT]post.pl> 0.003-7
647578
- Update to new fonts guidelines, thanks to Rajeesh K Nambiar (#477403)
647578
647578
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-6
647578
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
647578
647578
* Tue Apr 29 2008 Marcin Garski <mgarski[AT]post.pl> 0.003-5
647578
- Update URL
647578
647578
* Fri Aug 31 2007 Marcin Garski <mgarski[AT]post.pl> 0.003-4
647578
- Fix license tag
647578
647578
* Fri Apr 06 2007 Marcin Garski <mgarski[AT]post.pl> 0.003-3
647578
- Update to 0.003c
647578
- Change license from GPL to OFL
647578
647578
* Fri Mar 23 2007 Marcin Garski <mgarski[AT]post.pl> 0.003-2
647578
- Extend description section
647578
647578
* Mon Mar 12 2007 Marcin Garski <mgarski[AT]post.pl> 0.003-1
647578
- Initial specfile