Name: ttf-freefont Version: 20120503 Release: 1mamba Summary: Free USC outline fonts Group: System/Fonts Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.nongnu.org/freefont/ Source: http://ftp.gnu.org/pub/gnu/freefont/freefont-ttf-%{version}.zip License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot BuildArchitectures: noarch Obsoletes: freefont Provides: freefont = %{version} %description A set of free high-quality outline (OpenType, Truetype, Type 0) UCS fonts, released under GNU GPL. %prep %setup -q -n freefont-%{version} %build #tools/ConvertFont sfd/* %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} mkdir -p %{buildroot}%{_datadir}/fonts/truetype/ install -m 0644 *.ttf %{buildroot}%{_datadir}/fonts/truetype/ #mkfontscale %{buildroot}%{_datadir}/fonts/truetype/ #mkfontdir %{buildroot}%{_datadir}/fonts/truetype/ %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post # something has probably changed, update the font-config cache [ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache exit 0 %preun # erase [ -x %{_bindir}/fc-cache ] && %{_bindir}/fc-cache exit 0 %files %defattr(-,root,root) %{_datadir}/fonts/truetype/*.ttf %doc COPYING #ChangeLog README #%{_datadir}/fonts/truetype/fonts.* %changelog * Sun Apr 28 2013 Automatic Build System 20120503-1mamba - update to 20120503 * Thu Jul 21 2011 Automatic Build System 20100919-1mamba - update to 20100919 * Mon Jan 05 2009 Silvan Calarco 20090104-1mamba - automatic update by autodist * Wed May 09 2007 Silvan Calarco 20060126-2mamba - fix patch for fc-cache - removed fonts.* files * Tue May 09 2006 Silvan Calarco 20060126-1qilnx - update to version 20060126 by autospec * Fri Feb 04 2005 Silvan Calarco 1.1-1qilnx - package created by autospec