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
10 Patch0: %{name}-conf.patch
11 Patch1: %{name}-make.patch
12 Patch2: %{name}-cache.patch
13 Patch3: %{name}-stmmenu.patch
14 Patch4: %{name}-set80.patch
17 Requires: console-tools
18 Requires: console-data
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 ExclusiveArch: %{ix86} alpha
24 SVGATextMode is a utility for reprogramming (S)VGA hardware, which can
25 improve the appearance of text consoles. You should install
26 SVGATextMode if you want to alter the appearance of your text
27 consoles. The utility uses a configuration file (Xconfig or
28 XF86Config) to set up textmodes with higher resolution, larger fonts,
29 higher display refresh rates, etc.
31 Although SVGATextMode can be used to program any text mode size, your
32 results will depend on your VGA card.
35 SVGATextMode jest narzêdziem s³u¿±cym konfiguracji sprzêtu (S)VGA,
36 które pozwala na polepszenie wygl±du konsoli tekstowej. To narzêdzie
37 wykorzystuje plik konfiguracyjny by ustawiaæ wy¿sze rozdzielczo¶ci,
38 wiêksze fonty, wy¿sze czêstotliwo¶ci od¶wie¿ania itp.
50 CFLAGS_DEFAULT="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}" \
51 LDFLAGS_DEFAULT="%{!?debug:-s}"
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_mandir}/man{5,8}}
57 %{__make} DESTDIR=$RPM_BUILD_ROOT newinstall man-install
58 install STMmenu $RPM_BUILD_ROOT%{_sbindir}/stm-menu
59 install contrib/scripts/STM_reset $RPM_BUILD_ROOT%{_sbindir}
61 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{stm,clockprobe}.8
62 echo ".so man8/SVGATextMode.8" > $RPM_BUILD_ROOT%{_mandir}/man8/stm.8
63 echo ".so man8/grabmode.8" > $RPM_BUILD_ROOT%{_mandir}/man8/clockprobe.8
65 gzip -9nf doc/* README README.FIRST CREDITS HISTORY TODO
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
73 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/TextConfig
74 %attr(755,root,root) %{_sbindir}/*
75 %attr(644,root,root) %{_mandir}/man*/*