1 %define _name Inconsolata
2 Summary: High-resolution code font
3 Name: fonts-OTF-Inconsolata
6 License: Unknown (Will be GPL or SIL Open Font License when finished)
8 Source0: http://www.levien.com/type/myfonts/%{_name}.otf
9 # Source0-md5: dc1e556d2fab230145c1cc2df466ec07
10 URL: http://www.levien.com/type/myfonts/inconsolata.html
11 Requires(post,postun): fontpostinst
12 Requires: %{_fontsdir}/OTF
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _otffontsdir %{_fontsdir}/OTF
19 Inconsolata is a monospace font, designed for code listings and the like, in print. There are a great many "programmer fonts," designed primarily for use on the screen, but in most cases do not have the attention to detail for high resolution rendering.
25 rm -rf $RPM_BUILD_ROOT
26 install -d $RPM_BUILD_ROOT%{_otffontsdir}
28 install %{SOURCE0} $RPM_BUILD_ROOT%{_otffontsdir}
31 rm -rf $RPM_BUILD_ROOT
40 %defattr(644,root,root,755)