49 lines
1.2 KiB
RPMSpec
49 lines
1.2 KiB
RPMSpec
|
Name: ttf-khmer
|
||
|
Version: 5.0
|
||
|
Release: 1mamba
|
||
|
Summary: Fonts for Khmer and Latin alphabets
|
||
|
Group: System/Fonts
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://sourceforge.net/projects/khmer
|
||
|
Source: https://sourceforge.net/projects/khmer/files/Fonts%20-%20KhmerOS/KhmerOS%20Fonts%20%{version}-%20LGPL%20Licence/All_KhmerOS_%{version}.zip
|
||
|
License: LGPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
## AUTOBUILDREQ-END
|
||
|
Requires(post): fontconfig
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%description
|
||
|
Fonts for Khmer and Latin alphabets.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n All_KhmerOS_%{version}
|
||
|
|
||
|
%build
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
install -dm755 %{buildroot}%{_datadir}/fonts/truetype
|
||
|
install -m644 *.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> 5.0-1mamba
|
||
|
- package created using the webbuild interface
|