initial lohit-gujarati
This commit is contained in:
commit
54c33539c7
BIN
lohit-gujarati-2.92.4.tar.gz
Normal file
BIN
lohit-gujarati-2.92.4.tar.gz
Normal file
Binary file not shown.
43
lohit-gujarati-fonts.spec
Normal file
43
lohit-gujarati-fonts.spec
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
Name: lohit-gujarati-fonts
|
||||||
|
Version: 2.92.4
|
||||||
|
Release: 6
|
||||||
|
Summary: OpenType/Truetype Font for Gujarati
|
||||||
|
License: OFL
|
||||||
|
URL: https://pagure.io/lohit
|
||||||
|
Source0: https://releases.pagure.org/lohit/lohit-gujarati-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: fontforge >= 20080429 fontpackages-devel python3-devel
|
||||||
|
Requires: fontpackages-filesystem
|
||||||
|
Obsoletes: lohit-fonts-common < %{version}-%{release}
|
||||||
|
|
||||||
|
%global fontname lohit-gujarati
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains fonts for displaying of Gujarati.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{fontname}-%{version} -p1
|
||||||
|
mv 66-%{fontname}.conf 65-0-lohit-gujarati.conf
|
||||||
|
|
||||||
|
%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-gujarati.conf \
|
||||||
|
%{buildroot}%{_fontconfig_templatedir}/65-0-lohit-gujarati.conf
|
||||||
|
ln -s %{_fontconfig_templatedir}/65-0-lohit-gujarati.conf \
|
||||||
|
%{buildroot}%{_fontconfig_confdir}/65-0-lohit-gujarati.conf
|
||||||
|
install -Dm 0644 -p io.pagure.lohit.gujarati.font.metainfo.xml \
|
||||||
|
%{buildroot}%{_datadir}/metainfo/io.pagure.lohit.gujarati.font.metainfo.xml
|
||||||
|
|
||||||
|
%_font_pkg -f 65-0-lohit-gujarati.conf *.ttf
|
||||||
|
|
||||||
|
%doc ChangeLog COPYRIGHT OFL.txt AUTHORS README test-gujarati.txt
|
||||||
|
%{_datadir}/metainfo/io.pagure.lohit.gujarati.font.metainfo.xml
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Nov 25 2019 likexin<likexin4@huawei.com> - 2.92.4-6
|
||||||
|
- Pakcage init
|
||||||
Loading…
x
Reference in New Issue
Block a user