Package init
This commit is contained in:
commit
109e3f61da
BIN
lohit-nepali-2.94.2.tar.gz
Normal file
BIN
lohit-nepali-2.94.2.tar.gz
Normal file
Binary file not shown.
41
lohit-nepali-fonts.spec
Normal file
41
lohit-nepali-fonts.spec
Normal file
@ -0,0 +1,41 @@
|
||||
%global fontname lohit-nepali
|
||||
|
||||
Name: lohit-nepali-fonts
|
||||
Version: 2.94.2
|
||||
Release: 6
|
||||
Summary: This package provides a free Nepali truetype/opentype font
|
||||
License: OFL
|
||||
URL: https://pagure.io/lohit
|
||||
Source0: https://releases.pagure.org/lohit/lohit-nepali-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: fontforge fontpackages-devel python3-devel
|
||||
Requires: fontpackages-filesystem
|
||||
|
||||
%description
|
||||
The lohit-nepali-fonts package provides free TrueType fonts for Nepali language.
|
||||
|
||||
%prep
|
||||
%autosetup -n lohit-nepali-%{version} -p1
|
||||
|
||||
%build
|
||||
%make_build ttf
|
||||
|
||||
%install
|
||||
|
||||
install -m 0755 -d %{buildroot}%{_fontdir} %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir}
|
||||
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
||||
|
||||
install -m 0644 -p 65-0-lohit-nepali.conf %{buildroot}%{_fontconfig_templatedir}/65-0-lohit-nepali.conf
|
||||
|
||||
ln -s %{_fontconfig_templatedir}/65-0-lohit-nepali.conf %{buildroot}%{_fontconfig_confdir}/65-0-lohit-nepali.conf
|
||||
|
||||
install -Dm 0644 -p io.pagure.lohit.nepali.font.metainfo.xml %{buildroot}%{_datadir}/metainfo/io.pagure.lohit.nepali.font.metainfo.xml
|
||||
|
||||
%_font_pkg -f 65-0-lohit-nepali.conf *.ttf
|
||||
|
||||
%doc ChangeLog COPYRIGHT OFL.txt AUTHORS README test-nepali.txt
|
||||
%{_datadir}/metainfo/io.pagure.lohit.nepali.font.metainfo.xml
|
||||
|
||||
%changelog
|
||||
* Wed Nov 20 2019 fengbing <fengbing7@huawei.com> - 2.94.2-6
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user