ttf-symbola/ttf-symbola.spec

50 lines
1.2 KiB
RPMSpec
Raw Normal View History

Name: ttf-symbola
Version: 8.00
Release: 1mamba
Summary: Font for unicode symbols (part of Unicode Fonts for Ancient Scripts)
Group: System/Fonts
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://users.teilar.gr/~g1951d/
Source: http://users.teilar.gr/~g1951d/Symbola.zip
License: Free
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Font for unicode symbols (part of Unicode Fonts for Ancient Scripts).
%prep
%setup -q -c %{name}-%{version}
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_datadir}/fonts/symbola/
install -m 0644 *.ttf %{buildroot}%{_datadir}/fonts/symbola/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
[ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache
exit 0
%preun
[ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache
exit 0
%files
%defattr(-,root,root)
%dir %{_datadir}/fonts/symbola
%{_datadir}/fonts/symbola/Symbola.ttf
%{_datadir}/fonts/symbola/Symbola_hint.ttf
%changelog
* Sat Jan 23 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 8.00-1mamba
- package created using the webbuild interface