package created using the webbuild interface [release 5.0-1mamba;Sat Mar 07 2020]
This commit is contained in:
parent
8ead1a7c49
commit
b64d8ba96e
48
ttf-khmer.spec
Normal file
48
ttf-khmer.spec
Normal file
@ -0,0 +1,48 @@
|
||||
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
|
Loading…
Reference in New Issue
Block a user