From e6591d4e24903e4183f652a2bd78269f0015a6c8 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:42:40 +0100 Subject: [PATCH] package created using the webbuild interface [release 20200307git-1mamba;Sat Mar 07 2020] --- README.md | 2 ++ ttf-myanmar-unicode-fonts.spec | 48 ++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 ttf-myanmar-unicode-fonts.spec diff --git a/README.md b/README.md index 552834b..785cc29 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ttf-myanmar-unicode-fonts +Myanmar (Burmese) Unicode Fonts. + diff --git a/ttf-myanmar-unicode-fonts.spec b/ttf-myanmar-unicode-fonts.spec new file mode 100644 index 0000000..aeb7601 --- /dev/null +++ b/ttf-myanmar-unicode-fonts.spec @@ -0,0 +1,48 @@ +Name: ttf-myanmar-unicode-fonts +Version: 20200307git +Release: 1mamba +Summary: Myanmar (Burmese) Unicode Fonts +Group: System/Fonts +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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 20200307git-1mamba +- package created using the webbuild interface