1 Summary: A utility for improving the appearance of text consoles.
6 Group: Applications/System
7 Group(de): Applikationen/System
8 Group(pl): Aplikacje/System
9 Source0: ftp://sunsite.unc.edu/pub/Linux/utils/console/%{name}-%{version}-src.tar.gz
11 Patch0: %{name}-conf.patch
12 Patch1: %{name}-make.patch
13 Patch2: %{name}-cache.patch
15 Prereq: /sbin/chkconfig
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 ExclusiveArch: %{ix86} alpha
20 SVGATextMode is a utility for reprogramming (S)VGA hardware, which can
21 improve the appearance of text consoles. You should install
22 SVGATextMode if you want to alter the appearance of your text
23 consoles. The utility uses a configuration file (Xconfig or
24 XF86Config) to set up textmodes with higher resolution, larger fonts,
25 higher display refresh rates, etc.
27 Although SVGATextMode can be used to program any text mode size, your
28 results will depend on your VGA card.
31 SVGATextMode jest narzêdziem s³u¿±cym konfiguracji sprzêtu (S)VGA,
32 które pozwala na polepszenie wygl±du konsoli tekstowej. To narzêdzie
33 wykorzystuje plik konfiguracyjny by ustawiaæ wy¿sze rozdzielczo¶ci,
34 wiêksze fonty, wy¿sze czêstotliwo¶ci od¶wie¿ania itp.
47 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
50 install -d $RPM_BUILD_ROOT%{_sbindir}
51 install -d $RPM_BUILD_ROOT%{_mandir}/man{5,8}
53 %{__make} DESTDIR=$RPM_BUILD_ROOT newinstall man-install
54 install STMmenu $RPM_BUILD_ROOT%{_sbindir}/stm-menu
56 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
58 echo ".so SVGATextMode.8" > $RPM_BUILD_ROOT%{_mandir}/man8/stm.8
60 gzip -9nf doc/* README \
61 README.FIRST CREDITS COPYING HISTORY TODO
64 rm -rf $RPM_BUILD_ROOT
67 /sbin/chkconfig --add %{name} 2>/dev/null
70 if [ "$1" = "0" ]; then
71 /sbin/chkconfig --del %{name} 2>/dev/null
75 %defattr(644,root,root,755)
76 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/TextConfig
77 %doc {README,README.FIRST,CREDITS,COPYING,HISTORY,TODO}.gz
79 %attr(755,root,root) %{_sbindir}/*
80 %attr(644,root,root) %{_mandir}/man*/*
81 %attr(754,root,root) /etc/rc.d/init.d/%{name}