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