118 Star 0 Fork 4

src-openEuler/open-sans-fonts
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
open-sans-fonts.spec 1.30 KB
一键复制 编辑 原始数据 按行查看 历史
compile_success 提交于 2020-02-29 12:53 +08:00 . init
%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...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/open-sans-fonts.git
git@gitee.com:src-openeuler/open-sans-fonts.git
src-openeuler
open-sans-fonts
open-sans-fonts
openEuler-20.03-LTS-SP4

搜索帮助