init
This commit is contained in:
parent
910e27c0c1
commit
38e1547538
BIN
open-sans-fonts-1.10.zip
Normal file
BIN
open-sans-fonts-1.10.zip
Normal file
Binary file not shown.
16
open-sans-fonts-fontconfig.conf
Normal file
16
open-sans-fonts-fontconfig.conf
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Open Sans</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>Open Sans</family>
|
||||
<default>
|
||||
<family>sans-serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
43
open-sans-fonts.spec
Normal file
43
open-sans-fonts.spec
Normal file
@ -0,0 +1,43 @@
|
||||
%global fontname open-sans
|
||||
|
||||
Name: %{fontname}-fonts
|
||||
Version: 1.10
|
||||
Release: 11
|
||||
Summary: A humanist sans-serif typeface
|
||||
License: ASL 2.0
|
||||
URL: http://www.google.com/fonts/specimen/Open+Sans
|
||||
Source0: https://fonts.google.com/download?family=Open%20Sans/open-sans-fonts-1.10.zip
|
||||
Source1: open-sans-fonts-fontconfig.conf
|
||||
|
||||
Requires: fontpackages-filesystem
|
||||
BuildArch: noarch
|
||||
BuildRequires: ttembed fontpackages-devel
|
||||
|
||||
%description
|
||||
This package provides a humanist sans-serif typeface.It is designed by Steve
|
||||
Matteson.This typeface is very legible on screen and at small sizes.It is popular
|
||||
in flat design-style web design.
|
||||
|
||||
%prep
|
||||
%autosetup -c -n open-sans-fonts-1.10
|
||||
|
||||
%build
|
||||
ls *.ttf | xargs ttembed
|
||||
|
||||
%install
|
||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
||||
install -m 0755 -d %{buildroot}%{_fontconfig_confdir}
|
||||
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir}
|
||||
install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/60-open-sans.conf
|
||||
ln -s %{_fontconfig_templatedir}/60-open-sans.conf %{buildroot}%{_fontconfig_confdir}/60-open-sans.conf
|
||||
|
||||
%_font_pkg -f 60-open-sans.conf *.ttf
|
||||
%doc LICENSE.txt
|
||||
|
||||
%changelog
|
||||
* Wed Nov 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.10-10
|
||||
- Type:enhancement
|
||||
- Id:NA
|
||||
- SUG:NA
|
||||
- DESC:modify the spec
|
||||
Loading…
x
Reference in New Issue
Block a user