03bcd22
%global fontname tangerine
03bcd22
%global fontconf 62-%{fontname}.conf
03bcd22
03bcd22
Name:           %{fontname}-fonts
988194a
Version:        1.3
1e7e12a
Release:        10%{?dist}
03bcd22
Summary:        Tangerine is a calligraphy font inspired by many italic chancery hands 
03bcd22
03bcd22
License:        OFL
a0dc71e
URL:            https://fonts.google.com/specimen/Tangerine
a0dc71e
Source0:        https://github.com/google/fonts/raw/master/ofl/tangerine/Tangerine_Regular.ttf
a0dc71e
Source1:        https://github.com/google/fonts/raw/master/ofl/tangerine/Tangerine_Bold.ttf
a0dc71e
Source2:        https://raw.githubusercontent.com/google/fonts/master/ofl/tangerine/OFL.txt
a0dc71e
Source3:        %{name}-fontconfig.conf
a0dc71e
Source4:        %{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
a0dc71e
%autosetup -c -T
a0dc71e
cp -p %{SOURCE0} %{SOURCE1} %{SOURCE2} .
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
895a199
install -m 0644 -p %{SOURCE3} \
03bcd22
        %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
03bcd22
ln -s %{_fontconfig_templatedir}/%{fontconf} \
03bcd22
      %{buildroot}%{_fontconfig_confdir}/%{fontconf}
03bcd22
8be570b
# Add AppStream metadata
895a199
install -Dm 0644 -p %{SOURCE4} \
8be570b
        %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
03bcd22
03bcd22
%_font_pkg -f %{fontconf} *.ttf
a0dc71e
%license OFL.txt
8be570b
%{_datadir}/appdata/%{fontname}.metainfo.xml
03bcd22
03bcd22
03bcd22
%changelog
1e7e12a
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-10
1e7e12a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1e7e12a
7dc5688
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-9
7dc5688
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
7dc5688
895a199
* Fri Feb 24 2017 Parag Nemade <pnemade AT redhat DOT com> - 1.3-8
895a199
- Fix SOURCEx usage
895a199
a0dc71e
* Thu Feb 23 2017 Parag Nemade <pnemade AT redhat DOT com> - 1.3-7
a0dc71e
- Update URL and Source links
a0dc71e
43fd904
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-6
43fd904
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
43fd904
296f609
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-5
296f609
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
296f609
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