]> git.pld-linux.org Git - packages/fonts-TTF-OpenSans.git/blob - fonts-TTF-OpenSans.spec
- pl
[packages/fonts-TTF-OpenSans.git] / fonts-TTF-OpenSans.spec
1 %define fontname open-sans
2 %define fontconf 60-%{fontname}.conf
3 Summary:        Open Sans - a humanist sans-serif typeface designed by Steve Matteson
4 Summary(pl.UTF-8):      Open Sans - humanistyczny krój sans-serif zaprojektowany przez Steve'a Mattesona
5 Name:           fonts-TTF-OpenSans
6 Version:        1.10
7 Release:        1
8 License:        Apache v2.0
9 Group:          Fonts
10 # Since the font doesn't have clear upstream, the source zip package is
11 # downloaded from Google Fonts. It is then converted to tar.gz. All by get-source.sh.
12 Source0:        http://pkgs.fedoraproject.org/repo/pkgs/open-sans-fonts/open-sans-fonts-%{version}.tar.xz/5fa43b45f45c7ef4b589b3bdf4052d77/open-sans-fonts-%{version}.tar.xz
13 # Source0-md5:  5fa43b45f45c7ef4b589b3bdf4052d77
14 Source1:        fontconfig.conf
15 Source2:        get-source.sh
16 URL:            http://www.google.com/fonts/specimen/Open+Sans
17 BuildRequires:  tar >= 1:1.22
18 BuildRequires:  ttembed
19 BuildRequires:  xz
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define         _ttffontsdir    %{_fontsdir}/TTF
24
25 %description
26 Open Sans is a humanist sans serif typeface designed by Steve
27 Matteson, Type Director of Ascender Corp. This version contains the
28 complete 897 character set, which includes the standard ISO Latin 1,
29 Latin CE, Greek and Cyrillic character sets. Open Sans was designed
30 with an upright stress, open forms and a neutral, yet friendly
31 appearance. It was optimized for print, web, and mobile interfaces,
32 and has excellent legibility characteristics in its letter forms.
33
34 %description -l pl.UTF-8
35 Open Sans to humanistyczny krój sans-serif zaprojektowany przez
36 Steve'a Mattesona, pracującego jako Type Director firmy Ascender Corp.
37 Ta wersja zawiera pełny zestaw 897 znaków, obejmujący standardowe
38 zestawy ISO Latin 1, Latin CE, grekę i cyrylicę. Open Sans został
39 zaprojektowany z naciskiem na proste, otwarte formy oraz neutralny,
40 ale przyjazny wygląd. Jest zoptymalizowany pod kątem drukowania,
41 przeglądania WWW, interfejsów urządzeń przenośnych; ma świetną
42 charakterystykę, jeśli chodzi o czytelność liter.
43
44 %prep
45 %setup -q -n open-sans-fonts-%{version}
46
47 %build
48 # set Embedding permission to 'Installable'
49 ls *.ttf | xargs ttembed
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT{%{_ttffontsdir},%{_sysconfdir}/fonts/conf.d,%{_datadir}/fontconfig/conf.avail}
54
55 cp -p *.ttf $RPM_BUILD_ROOT%{_ttffontsdir}
56 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/%{fontconf}
57 ln -s %{_datadir}/fontconfig/conf.avail/%{fontconf} $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d/%{fontconf}
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc LICENSE.txt
65 %{_sysconfdir}/fonts/conf.d/60-open-sans.conf
66 %{_datadir}/fontconfig/conf.avail/60-open-sans.conf
67 %{_datadir}/fonts/TTF/OpenSans-Bold.ttf
68 %{_datadir}/fonts/TTF/OpenSans-BoldItalic.ttf
69 %{_datadir}/fonts/TTF/OpenSans-ExtraBold.ttf
70 %{_datadir}/fonts/TTF/OpenSans-ExtraBoldItalic.ttf
71 %{_datadir}/fonts/TTF/OpenSans-Italic.ttf
72 %{_datadir}/fonts/TTF/OpenSans-Light.ttf
73 %{_datadir}/fonts/TTF/OpenSans-LightItalic.ttf
74 %{_datadir}/fonts/TTF/OpenSans-Regular.ttf
75 %{_datadir}/fonts/TTF/OpenSans-Semibold.ttf
76 %{_datadir}/fonts/TTF/OpenSans-SemiboldItalic.ttf
This page took 0.08379 seconds and 3 git commands to generate.