%global fontname tangerine %global fontconf 62-%{fontname}.conf Name: %{fontname}-fonts Version: 1.3 Release: 3%{?dist} Summary: Tangerine is a calligraphy font inspired by many italic chancery hands License: OFL URL: http://www.google.com/fonts/specimen/Tangerine Source0: http://googlefontdirectory.googlecode.com/hg/ofl/tangerine/Tangerine_Regular.ttf Source1: http://googlefontdirectory.googlecode.com/hg/ofl/tangerine/Tangerine_Bold.ttf Source2: %{name}-fontconfig.conf Source3: %{fontname}.metainfo.xml BuildArch: noarch BuildRequires: fontpackages-devel Requires: fontpackages-filesystem %description Tangerine is a calligraphy font inspired by many italic chancery hands from the 16-17th century. Its tall ascender, the most distinct characteristic of this type, takes a wide line space between lines and gives it a graceful texture. It is generally advisable to use Tangerine for a title or short text at large size because of the short height of lowercase letters. Tangerine is produced by Japanese type designer Toshi Omagari and was named after a woman who encouraged him to begin this work. %prep %setup -c -T cp -p %{SOURCE0} %{SOURCE1} . %build %install install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p *.ttf %{buildroot}%{_fontdir} install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ %{buildroot}%{_fontconfig_confdir} install -m 0644 -p %{SOURCE2} \ %{buildroot}%{_fontconfig_templatedir}/%{fontconf} ln -s %{_fontconfig_templatedir}/%{fontconf} \ %{buildroot}%{_fontconfig_confdir}/%{fontconf} # Add AppStream metadata install -Dm 0644 -p %{SOURCE3} \ %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml %_font_pkg -f %{fontconf} *.ttf %doc %{_datadir}/appdata/%{fontname}.metainfo.xml %changelog * Thu Oct 16 2014 Parag Nemade - 1.3-3 - Add metainfo file to show this font in gnome-software * Sun Jun 08 2014 Fedora Release Engineering - 1.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Oct 08 2013 Parag Nemade - 1.3-1 - Resolves:rh#1016398:Update to latest upstream source * Sun Aug 04 2013 Fedora Release Engineering - 1.000-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri Feb 15 2013 Fedora Release Engineering - 1.000-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 1.000-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 1.000-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 1.000-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon May 24 2010 Parag Nemade - 1.000-1 - Initial Fedora release.