]> git.pld-linux.org Git - packages/fonts-OTF-Adobe-SourceSerifPro.git/blob - fonts-OTF-Adobe-SourceSerifPro.spec
- up to 1.017
[packages/fonts-OTF-Adobe-SourceSerifPro.git] / fonts-OTF-Adobe-SourceSerifPro.spec
1 # NOTE: there are also TTF fonts in tarball
2 Summary:        Adobe Source Serif Pro - A set of OpenType fonts for coders
3 Summary(pl.UTF-8):      Adobe Source Serif Pro - zestaw fontów OpenType dla programistów
4 Name:           fonts-OTF-Adobe-SourceSerifPro
5 Version:        1.017
6 Release:        1
7 License:        OFL v1.1
8 Group:          Fonts
9 Source0:        https://github.com/adobe-fonts/source-serif-pro/archive/%{version}R.tar.gz
10 # Source0-md5:  fee6b5d1fe3b21621b14fe342c32a398
11 Source1:        %{name}-fontconfig.conf
12 URL:            https://github.com/adobe-fonts/source-serif-pro
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 Serif Pro is a set of OpenType fonts to complement the Source
21 Sans Pro family.
22
23 %description -l pl.UTF-8
24 Source Serif Pro to zestaw fontów szeryfowych w formacie OpenType,
25 uzupełniających rodzinę Source Sans Pro.
26
27 %prep
28 %setup -q -n source-serif-pro-%{version}R
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT{%{otffontsdir},%{_datadir}/fontconfig/conf.avail,%{_sysconfdir}/fonts/conf.d}
33
34 install -p OTF/*.otf $RPM_BUILD_ROOT%{otffontsdir}
35 install -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/%{name}.conf
36 ln -s %{_datadir}/fontconfig/conf.avail/%{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d/
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %post
42 fontpostinst OTF
43
44 %postun
45 fontpostinst OTF
46
47 %files
48 %defattr(644,root,root,755)
49 %doc LICENSE.txt ReadMe.html SourceSerifProReadMe.html
50 %{otffontsdir}/SourceSerifPro-*.otf
51 %{_sysconfdir}/fonts/conf.d/%{name}.conf
52 %{_datadir}/fontconfig/conf.avail/%{name}.conf
This page took 0.076357 seconds and 3 git commands to generate.