]>
Commit | Line | Data |
---|---|---|
17f9727d | 1 | Summary: Adobe Source Sans Pro - A set of OpenType fonts designed for user interfaces |
4afb0978 JB |
2 | Summary(pl.UTF-8): Adobe Source Sans Pro - zbiór fontów OpenType zaprojektowanych do interfejsów użytkownika |
3 | Name: fonts-OTF-Adobe-SourceSansPro | |
cbbf5954 JB |
4 | %define ro_ver 2.010 |
5 | %define it_ver 1.065 | |
6 | Version: %{ro_ver}_%{it_ver} | |
28d2ae8d | 7 | Release: 1 |
4afb0978 | 8 | License: OFL v1.1 |
17f9727d | 9 | Group: Fonts |
cbbf5954 JB |
10 | Source0: https://github.com/adobe-fonts/source-sans-pro/archive/%{ro_ver}R-ro/%{it_ver}R-it/source-sans-pro-%{ro_ver}R-ro-%{it_ver}R-it.tar.gz |
11 | # Source0-md5: 5dfa6f327cdd4cb363f8887493696a4c | |
17f9727d | 12 | Source1: %{name}-fontconfig.conf |
cbbf5954 | 13 | URL: http://adobe-fonts.github.io/source-sans-pro |
17f9727d AM |
14 | Requires(post,postun): fontpostinst |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %define otffontsdir %{_fontsdir}/OTF | |
19 | ||
20 | %description | |
21 | Source Sans is a set of OpenType fonts that have been designed to work | |
22 | well in user interface (UI) environments, as well as in text setting | |
23 | for screen and print. | |
24 | ||
cbbf5954 JB |
25 | This package contains Roman fonts version %{ro_ver} and Italic fonts |
26 | version %{it_ver}. | |
27 | ||
4afb0978 JB |
28 | %description -l pl.UTF-8 |
29 | Source Sans to zbiór fontów OpenType, zaprojetowanych z myślą o | |
30 | środowiskach interfejsów użytkownika (UI), a także składzie tekstu na | |
31 | ekran i do druku. | |
32 | ||
cbbf5954 JB |
33 | Ten pakiet zawiera fonty podstawowe (Roman) w wersji %{ro_ver} oraz |
34 | fonty kursywy (Italic) w wersji %{it_ver}. | |
35 | ||
17f9727d | 36 | %prep |
cbbf5954 | 37 | %setup -q -n source-sans-pro-%{ro_ver}R-ro-%{it_ver}R-it |
17f9727d AM |
38 | |
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | install -d $RPM_BUILD_ROOT{%{otffontsdir},%{_datadir}/fontconfig/conf.avail,%{_sysconfdir}/fonts/conf.d} | |
42 | ||
28d2ae8d | 43 | install -p OTF/*.otf $RPM_BUILD_ROOT%{otffontsdir} |
17f9727d AM |
44 | install -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/%{name}.conf |
45 | ln -s %{_datadir}/fontconfig/conf.avail/%{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d/ | |
46 | ||
47 | %clean | |
48 | rm -rf $RPM_BUILD_ROOT | |
49 | ||
50 | %post | |
51 | fontpostinst OTF | |
52 | ||
53 | %postun | |
54 | fontpostinst OTF | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
4afb0978 JB |
58 | %doc LICENSE.txt ReadMe.html SourceSansProReadMe.html |
59 | %{otffontsdir}/SourceSansPro-*.otf | |
f992b572 AM |
60 | %{_sysconfdir}/fonts/conf.d/%{name}.conf |
61 | %{_datadir}/fontconfig/conf.avail/%{name}.conf |