56f54cd
%global fontname oflb-goudy-bookletter-1911
56f54cd
%global fontconf 61-%{fontname}.conf
56f54cd
56f54cd
Name:		%{fontname}-fonts
56f54cd
Summary:	Clean serif font based on Kennerly Old Style
56f54cd
Version:	20080206
5dda806
Release:	11%{?dist}
56f54cd
License:	Public Domain
3cd0e87
# Source was originally downloaded from here:
3cd0e87
# http://openfontlibrary.org/people/chemoelectric/chemoelectric_-_Goudy_Bookletter_1.zip
3cd0e87
# It is no longer available. The main website has this zip for download:
3cd0e87
# http://home.comcast.net/%7Ecrudfactory/cf3/fonts/GoudyBookletter1911--2008.02.06.zip
0d42190
# But, it doesn't have the source, just an otf.
3cd0e87
Source0:	chemoelectric_-_Goudy_Bookletter_1.zip
56f54cd
Source1:	%{name}-fontconfig.conf
0d42190
Source2:	GoudyBookletter1911.otf
228e414
Source3:        %{fontname}.metainfo.xml
228e414
3cd0e87
URL:		http://home.comcast.net/~crudfactory/cf3/gb1911.html
56f54cd
BuildRequires:	fontpackages-devel, fontforge
56f54cd
Requires:	fontpackages-filesystem
56f54cd
BuildArch:	noarch
56f54cd
56f54cd
%description
56f54cd
Based on the roman of Frederic Goudy's Kennerley Old Style (designed and cut in
56f54cd
1911 for a limited edition of "The Door in the Wall and Other Stories" by H G
56f54cd
Wells, published by Mitchell Kennerley). The letters, though not condensed, may
56f54cd
seem to fit together like pieces of a jigsaw puzzle, giving text an unusually
56f54cd
solid appearance.
56f54cd
56f54cd
%prep
56f54cd
%setup -q -c -n %{name}
56f54cd
sed -i 's|/home/trashman/bin/fontforge|/usr/bin/fontforge|g' make-otf.py
56f54cd
56f54cd
%build
0d42190
# Fontforge's python support is broken, so we can't build this from source, sadly.
0d42190
# ./generate-it.sh
0d42190
# The otf file was generated by converting it with Fontforge manually.
0d42190
cp %{SOURCE2} .
56f54cd
56f54cd
%install
56f54cd
install -m 0755 -d %{buildroot}%{_fontdir}
56f54cd
install -m 0644 -p *.otf %{buildroot}%{_fontdir}
56f54cd
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir}
56f54cd
install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
56f54cd
ln -s %{_fontconfig_templatedir}/%{fontconf} %{buildroot}%{_fontconfig_confdir}/%{fontconf}
56f54cd
228e414
# Add AppStream metadata
228e414
install -Dm 0644 -p %{SOURCE3} \
228e414
        %{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
56f54cd
56f54cd
%_font_pkg -f %{fontconf} *.otf
228e414
%{_datadir}/appdata/%{fontname}.metainfo.xml
56f54cd
56f54cd
%changelog
5dda806
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080206-11
5dda806
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5dda806
228e414
* Fri Oct 17 2014 Parag Nemade <pnemade AT redhat DOT com> - 20080206-10
228e414
- Add metainfo file to show this font in gnome-software
228e414
a14b792
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080206-9
a14b792
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a14b792
4b25908
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080206-8
4b25908
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
4b25908
0d66a2d
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080206-7
0d66a2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0d66a2d
f976c61
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080206-6
f976c61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f976c61
11ecbef
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080206-5
11ecbef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
11ecbef
adaac10
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080206-4
adaac10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
adaac10
0d42190
* Thu Aug  5 2010 Tom "spot" Callaway <tcallawa@redhat.com> 20080206-4
0d42190
- source building no longer sane, use pre-generated otf
0d42190
3cd0e87
* Mon Jun 28 2010 Tom "spot" Callaway <tcallawa@redhat.com> 20080206-3
3cd0e87
- fix upstream URL and source
3cd0e87
c9fcf54
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080206-3
c9fcf54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c9fcf54
56f54cd
* Tue Mar 31 2009 Tom "spot" Callaway <tcallawa@redhat.com> 20080206-2
56f54cd
- rename package to oflb-goudy-bookletter-1911-fonts
56f54cd
- drop common_desc (unnecessary)
56f54cd
- fix fontconfig file
56f54cd
- use %%global rather than %%define
56f54cd
- continue to annoy people diffing spec files
56f54cd
56f54cd
* Sun Mar 29 2009 Tom "spot" Callaway <tcallawa@redhat.com> 20080206-1
56f54cd
- Initial package for Fedora