]>
Commit | Line | Data |
---|---|---|
26cdcef1 | 1 | %define _name Inconsolata |
2 | Summary: High-resolution code font | |
4cb943c1 | 3 | Summary(pl.UTF-8): Wysokiej rozdzielczości font do kodu |
26cdcef1 | 4 | Name: fonts-OTF-Inconsolata |
5 | Version: 001.000 | |
cbf76995 | 6 | Release: 2 |
7bb916b8 | 7 | License: Unknown (Will be GPL or SIL Open Font License when finished) |
26cdcef1 | 8 | Group: Fonts |
9 | Source0: http://www.levien.com/type/myfonts/%{_name}.otf | |
cbf76995 | 10 | # Source0-md5: 0fbe014c1f0fb5e3c71140ff0dc63edf |
26cdcef1 | 11 | URL: http://www.levien.com/type/myfonts/inconsolata.html |
12 | Requires(post,postun): fontpostinst | |
13 | Requires: %{_fontsdir}/OTF | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %define _otffontsdir %{_fontsdir}/OTF | |
18 | ||
19 | %description | |
ca32f8c4 | 20 | Inconsolata is a monospace font, designed for code listings and the |
21 | like, in print. There are a great many "programmer fonts," designed | |
22 | primarily for use on the screen, but in most cases do not have the | |
23 | attention to detail for high resolution rendering. | |
26cdcef1 | 24 | |
12d15f23 JR |
25 | %description -l pl.UTF-8 |
26 | Inconsolata to font o stałej szerokości zaprojektowany do wydruków | |
27 | listingów kodu i podobnych celów. Jest wiele dobrych "fontów | |
28 | programistów" zaprojektowanych głównie do używania na ekranie, ale w | |
29 | większości przypadków nie są dopracowane pod kątem wysokiej | |
30 | rozdzielczości. | |
43f8313f | 31 | |
26cdcef1 | 32 | %prep |
26cdcef1 | 33 | |
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT%{_otffontsdir} | |
37 | ||
38 | install %{SOURCE0} $RPM_BUILD_ROOT%{_otffontsdir} | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %post | |
44 | fontpostinst OTF | |
45 | ||
46 | %postun | |
47 | fontpostinst OTF | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
3fe31782 | 51 | %{_otffontsdir}/Inconsolata.otf |