SVGATextMode-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. Summary: A utility for improving the appearance of text consoles.
  2. Name: SVGATextMode
  3. %define version 1.8
  4. Version: 1.10
  5. Release: 0vl1
  6. Copyright: GPL
  7. Group: Applications/System
  8. Source: ftp://sunsite.unc.edu/pub/Linux/utils/console/SVGATextMode-%{version}-src.tar.gz
  9. Patch0: SVGATextMode-1.10-make.patch
  10. Patch1: SVGATextMode-1.9-rh.patch
  11. Patch2: SVGATextMode-1.10-fs.h.patch
  12. Requires: kbd
  13. BuildRoot: %{_tmppath}/SVGATextMode-root
  14. ExclusiveArch: %{ix86}
  15. %description
  16. SVGATextMode is a utility for reprogramming (S)VGA hardware, to improve
  17. the appearance of text consoles. SVGATextMode uses a configuration file
  18. (the default is /etc/TextConfig) with a syntax similar to X Window
  19. System's configuration file (Xconfig or XF86Config) to set up textmodes
  20. with higher resolution, larger font sizes, higher display refresh rates,
  21. etc. Theoretically, SVGATextMode can be used to program any text mode
  22. size, but your results will depend upon your VGA card.
  23. Install SVGATextMode if you want to alter the appearance of your text
  24. consoles.
  25. %prep
  26. %setup -q -n SVGATextMode-%{version}
  27. %patch0 -p1 -b .make
  28. %patch1 -p1 -b .rh
  29. %patch2 -p1 -b .fs
  30. %build
  31. make dep
  32. make all RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
  33. %install
  34. rm -rf %{buildroot}
  35. mkdir -p %{buildroot}/{etc,usr/sbin,%{_mandir}/man{5,8}}
  36. make DESTDIR=%{buildroot} \
  37. INSTMANDIR=%{buildroot}%{_mandir} \
  38. newinstall man-install
  39. install -m 0755 STMmenu %{buildroot}/usr/sbin/stm-menu
  40. %clean
  41. rm -rf %{buildroot}
  42. %files
  43. %defattr(-,root,root)
  44. %config /etc/TextConfig
  45. %doc README README.FIRST CREDITS COPYING HISTORY TODO Changelog
  46. %doc doc/*
  47. /usr/sbin/*
  48. %{_mandir}/man*/*
  49. %changelog
  50. * Sat Aug 18 2001 Toru Sagami <sagami@vinelinux.org>
  51. - 1.10-0vl1: updated to 1.10
  52. * Thu Feb 03 2000 Cristian Gafton <gafton@redhat.com>
  53. - fix description
  54. - man pages are compressed
  55. - version 1.9
  56. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  57. - auto rebuild in the new build environment (release 4)
  58. * Wed Jan 06 1999 Cristian Gafton <gafton@redhat.com>
  59. - glibc 2.1
  60. * Thu Sep 03 1998 Cristian Gafton <gafton@redhat.com>
  61. - added patch for Matrox Millenium AGP
  62. * Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
  63. - ExclusiveArch: i386
  64. * Sun Jan 11 1998 Cristian Gafton <gafton@redhat.com>
  65. - upgraded to 1.8
  66. - built against glibc; spec file cleanup
  67. * Wed Jul 2 1997 Timo Karjalainen <timok@iki.fi>
  68. - Upgraded to version 1.6
  69. * Fri Jun 13 1997 Timo Karjalainen <timok@iki.fi>
  70. - Config file moved from /usr/etc to /etc
  71. - Some minor changes to specfile
  72. * Wed Jun 4 1997 Ximenes Zalteca <ximenes@null.net>
  73. - Re-Group:'d
  74. * Sun Apr 27 1997 Christian 'Dr. Disk' Hechelmann <drdisk@ds9.au.s.shuttle.de>
  75. - added %changelog
  76. - added %clean
  77. - added BuildRoot