1 %define _name AnonymousPro
2 Summary: A set of fixed-width fonts designed with coding in mind
3 Name: fonts-TTF-%{_name}
8 Source0: http://www.marksimonson.com/assets/content/fonts/AnonymousPro-%{version}.zip
9 # Source0-md5: bb5141b20b9d69b3190be03e5706c8b7
10 Source1: %{name}-fontconfig.conf
11 URL: http://www.marksimonson.com/fonts/view/anonymous-pro
13 Requires(post,postun): fontpostinst
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %define ttffontsdir %{_fontsdir}/TTF
20 Anonymous Pro (2009) is a family of four fixed-width fonts designed
21 with coding in mind. Anonymous Pro features an international,
22 Unicode-based character set, with support for most Western and Central
23 European Latin-based languages, plus Greek and Cyrillic. Anonymous Pro
24 is based on an earlier font, Anonymous(TM) (2001), my TrueType version
25 of Anonymous 9, a Macintosh bitmap font developed in the mid-’90s by
26 Susan Lesch and David Lamkins.
32 rm -rf $RPM_BUILD_ROOT
33 cd %{_name}-%{version}.*
35 install -d $RPM_BUILD_ROOT{%{ttffontsdir},%{_datadir}/fontconfig/conf.avail,%{_sysconfdir}/fonts/conf.d}
37 install -p *.ttf $RPM_BUILD_ROOT%{ttffontsdir}
38 install -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/%{name}.conf
39 ln -s %{_datadir}/fontconfig/conf.avail/%{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d/
42 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
53 %{_sysconfdir}/fonts/conf.d/%{name}.conf
54 %{_datadir}/fontconfig/conf.avail/%{name}.conf