50 lines
1.5 KiB
RPMSpec
50 lines
1.5 KiB
RPMSpec
%global fontconf 65-0-lohit-marathi.conf
|
|
%global metainfo io.pagure.lohit.marathi.font.metainfo
|
|
|
|
Name: lohit-marathi-fonts
|
|
Version: 2.94.2
|
|
Release: 8
|
|
Summary: Free truetype font for Marathi language
|
|
License: OFL-1.1
|
|
URL: https://pagure.io/lohit
|
|
Source0: https://releases.pagure.org/lohit/lohit-marathi-2.94.2.tar.gz
|
|
BuildArch: noarch
|
|
BuildRequires: fontforge fontpackages-devel python3-devel
|
|
Requires: fontpackages-filesystem
|
|
|
|
%description
|
|
This package provides a free Marathi truetype/opentype font.
|
|
|
|
%prep
|
|
%setup -q -n lohit-marathi-2.94.2
|
|
|
|
%build
|
|
make ttf %{?_smp_mflags}
|
|
|
|
%install
|
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
|
|
|
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
%{buildroot}%{_fontconfig_confdir}
|
|
|
|
install -m 0644 -p %{fontconf} \
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
|
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
|
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
|
|
|
install -Dm 0644 -p %{metainfo}.xml \
|
|
%{buildroot}%{_datadir}/metainfo/%{metainfo}.xml
|
|
|
|
%_font_pkg -f %{fontconf} *.ttf
|
|
%doc ChangeLog COPYRIGHT AUTHORS README test-marathi.txt
|
|
%license OFL.txt
|
|
%{_datadir}/metainfo/%{metainfo}.xml
|
|
|
|
%changelog
|
|
* Tue Jul 19 2022 wangkai <wangkai385@h-partners.com> - 2.94.2-8
|
|
- License compliance rectification
|
|
|
|
* Tue Nov 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.94.2-7
|
|
- Package init
|