]>
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 | |
6 | Release: 1 | |
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 | |
10 | # Source0-md5: dc1e556d2fab230145c1cc2df466ec07 | |
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 |
33 | %setup -q -c -T | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -d $RPM_BUILD_ROOT%{_otffontsdir} | |
38 | ||
39 | install %{SOURCE0} $RPM_BUILD_ROOT%{_otffontsdir} | |
40 | ||
41 | %clean | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %post | |
45 | fontpostinst OTF | |
46 | ||
47 | %postun | |
48 | fontpostinst OTF | |
49 | ||
50 | %files | |
51 | %defattr(644,root,root,755) | |
52 | %{_otffontsdir}/* |