khmeros-fonts/khmeros-fonts.spec

38 lines
1.0 KiB
RPMSpec
Raw Normal View History

2020-01-16 15:50:47 +08:00
Name: khmeros-fonts
2019-12-03 14:12:08 +08:00
Version: 5.0
2019-12-07 00:33:35 +08:00
Release: 27
Summary: Khmer font set.
2019-12-03 14:12:08 +08:00
License: LGPLv2+
URL: http://www.khmeros.info/en/fonts
2020-01-02 03:34:48 -05:00
Source0: https://nchc.dl.sourceforge.net/project/khmer/Fonts%20-%20KhmerOS/KhmerOS%20Fonts%205.0-%20LGPL%20Licence/All_KhmerOS_5.0.zip
2020-01-16 15:50:47 +08:00
Source1: License
2019-12-03 14:12:08 +08:00
BuildArch: noarch
BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem
%description
2019-12-07 00:33:35 +08:00
All font include Khmer and Latin alphabets, and they have equivalent sizes for
Khmer and English alphabets, so that when texts mix both it is not necessary to
have different size points of the text for each language. This makes
localization possible.
2019-12-03 14:12:08 +08:00
%prep
2019-12-07 00:33:35 +08:00
%autosetup -n All_KhmerOS_5.0 -p1
2020-01-16 15:50:47 +08:00
install -p %{SOURCE1} .
2019-12-03 14:12:08 +08:00
%build
%install
mv 'KhmerOS .ttf' KhmerOS.ttf
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
%files
2020-01-16 15:50:47 +08:00
%license License
2019-12-03 14:12:08 +08:00
%{_fontdir}/*.ttf
%changelog
2019-12-07 00:33:35 +08:00
* Sat Nov 30 2019 jiaxiya <jiaxiyajiaxiya@163.com> - 5.0-27
2019-12-03 14:12:08 +08:00
- Package init