]>
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 | |
4088d6e4 | 4 | Version: 1.050 |
28d2ae8d | 5 | Release: 1 |
4afb0978 | 6 | License: OFL v1.1 |
17f9727d | 7 | Group: Fonts |
f992b572 | 8 | Source0: http://downloads.sourceforge.net/sourcesans.adobe/SourceSansPro_FontsOnly-%{version}.zip |
4088d6e4 | 9 | # Source0-md5: fb09802ab1ce200da18dc6f7ed5671b0 |
17f9727d AM |
10 | Source1: %{name}-fontconfig.conf |
11 | URL: http://sourceforge.net/projects/sourcesans.adobe/ | |
12 | BuildRequires: unzip | |
13 | Requires(post,postun): fontpostinst | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %define otffontsdir %{_fontsdir}/OTF | |
18 | ||
19 | %description | |
20 | Source Sans is a set of OpenType fonts that have been designed to work | |
21 | well in user interface (UI) environments, as well as in text setting | |
22 | for screen and print. | |
23 | ||
4afb0978 JB |
24 | %description -l pl.UTF-8 |
25 | Source Sans to zbiór fontów OpenType, zaprojetowanych z myślą o | |
26 | środowiskach interfejsów użytkownika (UI), a także składzie tekstu na | |
27 | ekran i do druku. | |
28 | ||
17f9727d AM |
29 | %prep |
30 | %setup -q -n SourceSansPro_FontsOnly-%{version} | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT{%{otffontsdir},%{_datadir}/fontconfig/conf.avail,%{_sysconfdir}/fonts/conf.d} | |
35 | ||
28d2ae8d | 36 | install -p OTF/*.otf $RPM_BUILD_ROOT%{otffontsdir} |
17f9727d AM |
37 | install -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/%{name}.conf |
38 | ln -s %{_datadir}/fontconfig/conf.avail/%{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d/ | |
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) | |
4afb0978 JB |
51 | %doc LICENSE.txt ReadMe.html SourceSansProReadMe.html |
52 | %{otffontsdir}/SourceSansPro-*.otf | |
f992b572 AM |
53 | %{_sysconfdir}/fonts/conf.d/%{name}.conf |
54 | %{_datadir}/fontconfig/conf.avail/%{name}.conf |