44 lines
1.5 KiB
RPMSpec
44 lines
1.5 KiB
RPMSpec
%global fontname lohit-assamese
|
|
|
|
Name: lohit-assamese-fonts
|
|
Version: 2.91.5
|
|
Release: 7
|
|
Summary: Free and open Assamese font
|
|
|
|
License: OFL-1.1
|
|
URL: https://pagure.io/lohit
|
|
Source0: https://releases.pagure.org/lohit/lohit-assamese-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: fontforge >= 20080429 fontpackages-devel python3-devel
|
|
Requires: fontpackages-filesystem
|
|
|
|
%description
|
|
This package provides a free and open Assamese font,it is one of the Indian languages.
|
|
|
|
%prep
|
|
%autosetup -n lohit-assamese-%{version} -p1
|
|
mv 66-lohit-assamese.conf 65-0-lohit-assamese.conf
|
|
|
|
%build
|
|
%make_build ttf
|
|
|
|
%install
|
|
install -m755 -d %{buildroot}%{_fontdir}
|
|
install -m644 -p *.ttf %{buildroot}%{_fontdir}
|
|
install -m755 -d %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir}
|
|
install -m644 -p 65-0-lohit-assamese.conf %{buildroot}%{_fontconfig_templatedir}/65-0-lohit-assamese.conf
|
|
ln -s %{_fontconfig_templatedir}/65-0-lohit-assamese.conf %{buildroot}%{_fontconfig_confdir}/65-0-lohit-assamese.conf
|
|
install -Dm 0644 -p io.pagure.lohit.assamese.font.metainfo.xml \
|
|
%{buildroot}%{_datadir}/metainfo/io.pagure.lohit.assamese.font.metainfo.xml
|
|
|
|
%_font_pkg -f 65-0-lohit-assamese.conf *.ttf
|
|
%doc ChangeLog COPYRIGHT OFL.txt AUTHORS README test-assamese.txt
|
|
%{_datadir}/metainfo/io.pagure.lohit.assamese.font.metainfo.xml
|
|
|
|
%changelog
|
|
* Tue Jul 19 2022 yaoxin <yaoxin30@h-partners.com> - 2.91.5-7
|
|
- License compliance rectification
|
|
|
|
* Wed Nov 27 2019 Tianfei <tianfei16@huawei.com> - 2.91.5-6
|
|
- Package init
|