]> git.pld-linux.org Git - packages/fonts-TTF-Google-croscore.git/blame - fonts-TTF-Google-croscore.spec
- initial
[packages/fonts-TTF-Google-croscore.git] / fonts-TTF-Google-croscore.spec
CommitLineData
d75a2cae
AM
1Summary: The width-compatible fonts for improved on-screen readability
2Name: fonts-TTF-Google-croscore
3Version: 1.21.0
4Release: 1
5License: OFL
6Group: Fonts
7Source0: http://gsdview.appspot.com/chromeos-localmirror/distfiles/croscorefonts-%{version}.tar.gz
8# Source0-md5: 61f59e4110781cbe66b46449eadac231
9Source1: 62-google-croscore-arimo-fontconfig.conf
10Source2: 62-google-croscore-cousine-fontconfig.conf
11Source3: 62-google-croscore-tinos-fontconfig.conf
12Source4: 30-0-google-croscore-arimo-fontconfig.conf
13Source5: 30-0-google-croscore-cousine-fontconfig.conf
14Source6: 30-0-google-croscore-tinos-fontconfig.conf
15Source7: 62-google-croscore-symbolneu-fontconfig.conf
16Requires(post,postun): fontpostinst
17Requires: %{_fontsdir}/TTF
18BuildArch: noarch
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%define _ttffontsdir %{_fontsdir}/TTF
22
23%description
24This package contains a collections of fonts that offers improved
25on-screen \ readability characteristics and the pan-European WGL
26character set and solves \ the needs of developers looking for
27width-compatible fonts to address document \ portability across
28platforms.
29
30%prep
31%setup -q -n croscorefonts-%{version}
32
33%build
34
35%install
36rm -rf $RPM_BUILD_ROOT
37
38install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fonts/conf.{avail,d},%{_ttffontsdir}}
39install -p *.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
40
41# Repeat for every font family
42install -p %{SOURCE1} \
43 $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/62-google-croscore-arimo.conf
44install -p %{SOURCE2} \
45 $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/62-google-croscore-cousine.conf
46install -p %{SOURCE3} \
47 $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/62-google-croscore-tinos.conf
48install -p %{SOURCE4} \
49 $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/30-0-google-croscore-arimo.conf
50install -p %{SOURCE5} \
51 $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/30-0-google-croscore-cousine.conf
52install -p %{SOURCE6} \
53 $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/30-0-google-croscore-tinos.conf
54install -p %{SOURCE7} \
55 $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail/62-google-croscore-symbolneu.conf
56
57for fconf in 62-google-croscore-arimo.conf 30-0-google-croscore-arimo.conf \
58 62-google-croscore-cousine.conf 30-0-google-croscore-cousine.conf \
59 62-google-croscore-tinos.conf 30-0-google-croscore-tinos.conf \
60 62-google-croscore-symbolneu.conf; do
61 ln -s %{_sysconfdir}/fonts/conf.avail/$fconf \
62 $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d/$fconf
63done
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%post
69fontpostinst TTF
70
71%postun
72fontpostinst TTF
73
74%files
75%defattr(644,root,root,755)
76%doc LICENSE
77%{_ttffontsdir}/Arimo*.ttf
78%{_ttffontsdir}/Cousine*.ttf
79%{_ttffontsdir}/Symbol*.ttf
80%{_ttffontsdir}/Tinos*.ttf
81%{_sysconfdir}/fonts/conf.avail/*.conf
82%{_sysconfdir}/fonts/conf.d/*.conf
This page took 0.078907 seconds and 4 git commands to generate.