package created using the webbuild interface [release 2.5.4-1mamba;Sat Mar 07 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 18:42:30 +01:00
parent f393951bb0
commit 5bbd9d6c02
2 changed files with 54 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# ttf-lohit-kannada
Free Kannada font.

52
ttf-lohit-kannada.spec Normal file
View File

@ -0,0 +1,52 @@
Name: ttf-lohit-kannada
Version: 2.5.4
Release: 1mamba
Summary: Free Kannada font
Group: System/Fonts
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pagure.io/lohit
Source: https://releases.pagure.org/lohit/lohit-kannada-%{version}.tar.gz
License: OFL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: fontforge
Requires(post): fontconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Free Kannada font.
%prep
%setup -q -n lohit-kannada-%{version}
%build
%make ttf
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -dm755 %{buildroot}%{_datadir}/fonts/truetype
install -m644 *.ttf %{buildroot}%{_datadir}/fonts/truetype/
install -D -m0644 66-lohit-kannada.conf %{buildroot}%{_sysconfdir}/fonts/66-lohit-kannada.conf
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
[ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache
:
%postun
[ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache
:
%files
%defattr(-,root,root)
%{_sysconfdir}/fonts/66-lohit-kannada.conf
%{_datadir}/fonts/truetype/*.ttf
%doc AUTHORS
%changelog
* Sat Mar 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.4-1mamba
- package created using the webbuild interface