03bcd22
%global fontname tangerine
03bcd22
%global fontconf 62-%{fontname}.conf
03bcd22
03bcd22
Name:           %{fontname}-fonts
988194a
Version:        1.3
12e4e2e
Release:        4%{?dist}
03bcd22
Summary:        Tangerine is a calligraphy font inspired by many italic chancery hands 
03bcd22
03bcd22
License:        OFL
988194a
URL:            http://www.google.com/fonts/specimen/Tangerine
988194a
Source0:        http://googlefontdirectory.googlecode.com/hg/ofl/tangerine/Tangerine_Regular.ttf
988194a
Source1:        http://googlefontdirectory.googlecode.com/hg/ofl/tangerine/Tangerine_Bold.ttf
988194a
Source2:        %{name}-fontconfig.conf
8be570b
Source3:        %{fontname}.metainfo.xml
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
988194a
cp -p %{SOURCE0} %{SOURCE1} .
03bcd22
03bcd22
03bcd22
%build
03bcd22
03bcd22
03bcd22
%install
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
988194a
install -m 0644 -p %{SOURCE2} \
03bcd22
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
03bcd22
ln -s %{_fontconfig_templatedir}/%{fontconf} \
03bcd22
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
03bcd22
8be570b
# Add AppStream metadata
8be570b
install -Dm 0644 -p %{SOURCE3} \
8be570b
        %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
03bcd22
03bcd22
%_font_pkg -f %{fontconf} *.ttf
03bcd22
%doc
8be570b
%{_datadir}/appdata/%{fontname}.metainfo.xml
03bcd22
03bcd22
03bcd22
%changelog
12e4e2e
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-4
12e4e2e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
12e4e2e
8be570b
* Thu Oct 16 2014 Parag Nemade <pnemade AT redhat.com> - 1.3-3
8be570b
- Add metainfo file to show this font in gnome-software
8be570b
a1b57f2
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3-2
a1b57f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a1b57f2
988194a
* Tue Oct 08 2013 Parag Nemade <pnemade AT redhat DOT com> - 1.3-1
988194a
- Resolves:rh#1016398:Update to latest upstream source
988194a
8b8c5bc
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000-6
8b8c5bc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
8b8c5bc
fa8744e
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000-5
fa8744e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
fa8744e
a5b6235
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000-4
a5b6235
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a5b6235
97e01f0
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.000-3
97e01f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
97e01f0
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