03bcd22
%global fontname tangerine
03bcd22
%global fontconf 62-%{fontname}.conf
03bcd22
03bcd22
Name:           %{fontname}-fonts
03bcd22
Version:        1.000 
b92189e
Release:        2%{?dist}
03bcd22
Summary:        Tangerine is a calligraphy font inspired by many italic chancery hands 
03bcd22
03bcd22
Group:          User Interface/X
03bcd22
License:        OFL
03bcd22
URL:            http://code.google.com/p/googlefontdirectory/source/browse/tangerine/
03bcd22
Source0:        http://googlefontdirectory.googlecode.com/hg/tangerine/Tangerine.ttf 
03bcd22
Source1:        %{name}-fontconfig.conf
03bcd22
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
03bcd22
03bcd22
BuildArch:      noarch
03bcd22
BuildRequires:  fontpackages-devel
03bcd22
Requires:       fontpackages-filesystem
03bcd22
03bcd22
%description
03bcd22
Tangerine is a calligraphy font inspired by many italic chancery hands from
03bcd22
the 16-17th century. Its tall ascender, the most distinct characteristic of
03bcd22
this type, takes a wide line space between lines and gives it a graceful
03bcd22
texture. It is generally advisable to use Tangerine for a title or short text
03bcd22
at large size because of the short height of lowercase letters. Tangerine is
03bcd22
produced by Japanese type designer Toshi Omagari and was named after a woman
03bcd22
who encouraged him to begin this work.
03bcd22
03bcd22
%prep
03bcd22
%setup -c -T
03bcd22
cp -p %{SOURCE0} .
03bcd22
03bcd22
03bcd22
%build
03bcd22
03bcd22
03bcd22
%install
03bcd22
rm -fr %{buildroot}
03bcd22
03bcd22
install -m 0755 -d %{buildroot}%{_fontdir}
03bcd22
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
03bcd22
03bcd22
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
03bcd22
                   %{buildroot}%{_fontconfig_confdir}
03bcd22
03bcd22
install -m 0644 -p %{SOURCE1} \
03bcd22
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
03bcd22
ln -s %{_fontconfig_templatedir}/%{fontconf} \
03bcd22
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
03bcd22
03bcd22
03bcd22
%clean
03bcd22
rm -fr %{buildroot}
03bcd22
03bcd22
03bcd22
%_font_pkg -f %{fontconf} *.ttf
03bcd22
03bcd22
%doc
03bcd22
03bcd22
03bcd22
%changelog
b92189e
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000-2
b92189e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b92189e
03bcd22
* Mon May 24 2010 Parag Nemade <pnemade AT redhat.com> - 1.000-1
03bcd22
- Initial Fedora release.
03bcd22