diff --git a/README.md b/README.md index 7935811..ada6923 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ttf-lohit-telugu +Free Telugu font. + diff --git a/ttf-lohit-telugu.spec b/ttf-lohit-telugu.spec new file mode 100644 index 0000000..ec84e42 --- /dev/null +++ b/ttf-lohit-telugu.spec @@ -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 +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 2.5.5-1mamba +- package created using the webbuild interface