Blame SPECS/jomolhari-fonts.spec

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