%define fontdir %_datadir/fonts/terminus %define consolefontdir %_prefix/lib/kbd/consolefonts Summary: Fixed width font especially for long hacking sessions Name: terminus-font Version: 4.28 Release: %mkrel 2 License: GPLv2+ Group: System/Fonts/X11 bitmap URL: http://www.is-vn.bg/hamster/ Source0: http://www.is-vn.bg/hamster/%name-%version.tar.gz BuildRoot: %_tmppath/%name-buildroot BuildRequires: perl mkfontdir bdftopcf Buildarch: noarch %description The Terminus font is a complete set of fixed-size fonts designed especially for the usage in terms and the console. %prep %setup -q %build %__make pcf psf %__gzip *pcf *psf %install %__rm -rf %buildroot %__install -d %buildroot%consolefontdir %__install *.psf.gz %buildroot%consolefontdir %__install -d %buildroot%fontdir %__install *.pcf.gz %buildroot%fontdir cd %buildroot%fontdir %_bindir/mkfontdir %__sed -e 's/.pcf.gz//' fonts.dir|%__grep terminus > fonts.alias mkdir -p %{buildroot}%_sysconfdir/X11/fontpath.d/ ln -s ../../..%fontdir \ %{buildroot}%_sysconfdir/X11/fontpath.d/terminus:unscaled:pri=50 %clean %__rm -rf %buildroot %files %defattr(0644,root,root,0755) %doc README %fontdir/* %dir %fontdir %consolefontdir/* %dir %consolefontdir %_sysconfdir/X11/fontpath.d/terminus:unscaled:pri=50 %changelog * Sun Sep 20 2009 Thierry Vignaud <tvignaud@mandriva.com> 4.28-2mdv2010.0 + Revision: 445417 - rebuild + Gustavo De Nardin <gustavodn@mandriva.com> - Fixed the current URL * Sat Feb 21 2009 Götz Waschk <waschk@mandriva.org> 4.28-1mdv2009.1 + Revision: 343742 - update to new version 4.28 * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 4.26-2mdv2009.0 + Revision: 269421 - rebuild early 2009.0 package (before pixel changes) * Wed May 07 2008 Götz Waschk <waschk@mandriva.org> 4.26-1mdv2009.0 + Revision: 202779 - new version - update license tag + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Thu Jul 12 2007 Götz Waschk <waschk@mandriva.org> 4.20-4mdv2008.0 + Revision: 51539 - never use libdir in a noarch package * Fri Jul 06 2007 Ademar de Souza Reis Jr <ademar@mandriva.com.br> 4.20-3mdv2008.0 + Revision: 49197 - fontpath.d conversion (#31756) - general spec cleanup/minor fixes - Import terminus-font * Mon Aug 7 2006 Götz Waschk <waschk@mandriva.org> 4.20-3mdv2007.0 - fix buildrequires * Fri Aug 4 2006 Götz Waschk <waschk@mandriva.org> 4.20-2mdv2007.0 - fix deps - fix location * Mon Feb 27 2006 Lenny Cartier <lenny@mandriva.com> 4.20-1mdk - 4.20 * Thu Nov 24 2005 Lenny Cartier <lenny@mandriva.com> 4.16-1mdk - 4.16 * Fri May 27 2005 Lenny Cartier <lenny@mandriva.com> 4.14-1mdk - 4.14 * Thu Apr 07 2005 Lenny Cartier <lenny@mandrakesoftc.con> 4.12-1mdk - 4.12 * Thu Dec 03 2004 Lenny Cartier <lenny@mandrakesoftc.con> 4.11-1mdk - 4.11 * Thu Dec 18 2003 Han Boetes <han@linux-mandrake.com> 4.06-1mdk - bump * Sun Nov 2 2003 Han Boetes <han@linux-mandrake.com> 4.05-2mdk - Added a fonts.alias entry - More macros - Restart xfs * Mon Oct 6 2003 Han Boetes <han@linux-mandrake.com> 4.05-1mdk - Whoopy a new a :) * Thu Jul 3 2003 Han Boetes <han@linux-mandrake.com> 4.03-1mdk - bump * Fri May 23 2003 Han Boetes <han@linux-mandrake.com> 4.00-4mdk - Added dir entries to make Olivier's bot happy. :) - Some minor cleanups * Wed May 7 2003 Han Boetes <han@linux-mandrake.com> 4.00-3mdk - Added the consolefonts. * Sun Apr 13 2003 Marcel Pol <mpol@gmx.net> 4.00-2mdk - buildrequires * Sat Apr 12 2003 Han Boetes <han@linux-mandrake.com> 4.00-1mdk - Initial mandrake release.