package created using the webbuild interface [release 2.5.5-1mamba;Sat Mar 07 2020]
This commit is contained in:
parent
21ccacee15
commit
8516b3507c
52
ttf-lohit-telugu.spec
Normal file
52
ttf-lohit-telugu.spec
Normal file
@ -0,0 +1,52 @@
|
||||
Name: ttf-lohit-telugu
|
||||
Version: 2.5.5
|
||||
Release: 1mamba
|
||||
Summary: Free Telugu 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-telugu-%{version}.tar.gz
|
||||
License: OFL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: ttfautohint
|
||||
Requires(post): fontconfig
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Free Telugu font.
|
||||
|
||||
%prep
|
||||
%setup -q -n lohit-telugu-%{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-telugu.conf %{buildroot}%{_sysconfdir}/fonts/66-lohit-telugu.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-telugu.conf
|
||||
%{_datadir}/fonts/truetype/*.ttf
|
||||
%doc AUTHORS
|
||||
|
||||
%changelog
|
||||
* Sat Mar 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.5-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user