ttf-myanmar-unicode-fonts/ttf-myanmar-unicode-fonts.spec

49 lines
1.3 KiB
RPMSpec

Name: ttf-myanmar-unicode-fonts
Version: 20200307git
Release: 1mamba
Summary: Myanmar (Burmese) Unicode Fonts
Group: System/Fonts
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/AungMyoKyaw/Myanmar-Unicode-Fonts.git
## GITSOURCE https://github.com/AungMyoKyaw/Myanmar-Unicode-Fonts.git master
Source: https://github.com/AungMyoKyaw/Myanmar-Unicode-Fonts.git/master/Myanmar-Unicode-Fonts-%{version}.tar.bz2
License: Free
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Requires(post): fontconfig
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Myanmar (Burmese) Unicode Fonts.
%prep
%setup -q -n Myanmar-Unicode-Fonts-%{version}
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d -m0755 %{buildroot}%{_datadir}/fonts/truetype
cp */*.ttf %{buildroot}%{_datadir}/fonts/truetype/
%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)
%{_datadir}/fonts/truetype/*.ttf
%changelog
* Sat Mar 07 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 20200307git-1mamba
- package created using the webbuild interface