]>
Commit | Line | Data |
---|---|---|
26cdcef1 | 1 | %define _name Inconsolata |
2 | Summary: High-resolution code font | |
3 | Name: fonts-OTF-Inconsolata | |
4 | Version: 001.000 | |
5 | Release: 1 | |
7bb916b8 | 6 | License: Unknown (Will be GPL or SIL Open Font License when finished) |
26cdcef1 | 7 | Group: Fonts |
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 | |
13 | BuildArch: noarch | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %define _otffontsdir %{_fontsdir}/OTF | |
17 | ||
18 | %description | |
ca32f8c4 | 19 | Inconsolata is a monospace font, designed for code listings and the |
20 | like, in print. There are a great many "programmer fonts," designed | |
21 | primarily for use on the screen, but in most cases do not have the | |
22 | attention to detail for high resolution rendering. | |
26cdcef1 | 23 | |
24 | %prep | |
25 | %setup -q -c -T | |
26 | ||
27 | %install | |
28 | rm -rf $RPM_BUILD_ROOT | |
29 | install -d $RPM_BUILD_ROOT%{_otffontsdir} | |
30 | ||
31 | install %{SOURCE0} $RPM_BUILD_ROOT%{_otffontsdir} | |
32 | ||
33 | %clean | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | %post | |
37 | fontpostinst OTF | |
38 | ||
39 | %postun | |
40 | fontpostinst OTF | |
41 | ||
42 | %files | |
43 | %defattr(644,root,root,755) | |
44 | %{_otffontsdir}/* |