代码拉取完成,页面将自动刷新
%global fontname fontawesome
%global fontconf 60-fontawesome.conf
Name: fontawesome-fonts
Version: 4.7.0
Release: 9
Summary: The iconic font and CSS toolkit
License: OFL-1.1 AND MIT
URL: https://github.com/FortAwesome/Font-Awesome
Source0: https://github.com/FortAwesome/Font-Awesome/archive/v4.7.0.zip
Source1: README-Trademarks.txt
BuildArch: noarch
BuildRequires: fontpackages-devel ttembed
Requires: fontpackages-filesystem
Provides: %{name}-web = %{version}-%{release}
Obsoletes: %{name}-web < %{version}-%{release}
%description
Font Awesome gives you scalable vector icons that can instantly be
customized — size, color, drop shadow, and anything that can be done with the
power of CSS.
%package_help
%prep
%autosetup -n Font-Awesome-%{version} -p1
cp -p %SOURCE1 .
%build
ttembed fonts/*.ttf fonts/*.otf
%install
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p fonts/*.ttf fonts/*.otf fonts/*.woff fonts/*.svg \
fonts/*.woff2 fonts/*.eot %{buildroot}%{_fontdir}
mkdir -p %{buildroot}%{_datadir}/font-awesome-web/
cp -a css less scss %{buildroot}%{_datadir}/font-awesome-web/
%files
%defattr(-,root,root)
%{_datadir}/font-awesome-web/
%{_datadir}/fonts/fontawesome/*
%files help
%defattr(-,root,root)
%doc README-Trademarks.txt
%changelog
* Thu Jun 13 2024 yao_xin <yao_xin001@hoperun.com> - 4.7.0-9
- License compliance rectification
* Mon Sep 14 2020 Ge Wang <wangge20@huawei.com> - 4.7.0-8
- Modify Source0 Url
* Fri Feb 14 2020 yanzhihua <yanzhihua4@huawei.com> - 4.7.0-7
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。