1 Star 0 Fork 7

src-oepkgs-oE-rv/jomolhari-fonts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jomolhari-fonts.spec 1.66 KB
一键复制 编辑 原始数据 按行查看 历史
gu-gu-gu 提交于 2020-02-14 11:24 . init package
%global fontname jomolhari
%global fontconf 65-0-jomolhari.conf
Name: jomolhari-fonts
Version: 0.003
Release: 28
Summary: A Bhutanese font style for Tibetan and Dzongkha
License: OFL
URL: https://sites.google.com/site/chrisfynn2/home/fonts/jomolhari
Source0: https://collab.its.virginia.edu/access/content/group/26a34146-33a6-48ce-001e-f16ce7908a6a/Tibetan%20fonts/Tibetan%20Unicode%20Fonts/Jomolhari-alpha003.zip
Source1: jomolhari-fonts-fontconfig.conf
BuildArch: noarch
BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem
%description
Jomolhari is an TrueType OpenType Bhutanese style font for Dzongkha and Tibetan
text. It supports the Unicode and the Chinese encoding for Tibetan.
%package_help
%prep
%autosetup -c -n %{name}-%{version}
%build
%install
pushd %{buildroot}
install -m 0755 -d .%{_fontdir}
install -m 0644 -p %{_builddir}/%{buildsubdir}/*.ttf .%{_fontdir}
install -m 0755 -d .%{_fontconfig_templatedir} .%{_fontconfig_confdir}
install -m 0644 -p %{SOURCE1} .%{_fontconfig_templatedir}/%{fontconf}
popd
ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
%define txtfiles {FONTLOG.txt OFL-FAQ.txt OFL.txt}
for i in %txtfiles
do
tr -d '\r' < $i > ${i}.tmp
mv -f ${i}.tmp $i
done
%files
%defattr(-,root,root)
%doc OFL.txt
%{_sysconfdir}/fonts/conf.d/65-0-jomolhari.conf
%{_datadir}/fonts/jomolhari/*.ttf
%{_datadir}/fontconfig/conf.avail/65-0-jomolhari.conf
%files help
%defattr(-,root,root)
%doc FONTLOG.txt OFL-FAQ.txt
%changelog
* Thu Nov 21 2019 openEuler Buildteam <[email protected]> - 0.003-28
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-oepkgs-oe-rv/jomolhari-fonts.git
[email protected]:src-oepkgs-oe-rv/jomolhari-fonts.git
src-oepkgs-oe-rv
jomolhari-fonts
jomolhari-fonts
master

搜索帮助