1 Summary: A utility for improving the appearance of terminals
2 Summary(pl): Narzêdzie do polepszania wygl±du terminali
7 Group: Applications/System
8 Source0: ftp://sunsite.unc.edu/pub/Linux/utils/console/%{name}-%{version}-src.tar.gz
9 Patch0: %{name}-conf.patch
10 Patch1: %{name}-make.patch
11 Patch2: %{name}-cache.patch
12 Patch3: %{name}-stmmenu.patch
13 Patch4: %{name}-set80.patch
16 BuildRequires: util-linux
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 ExclusiveArch: %{ix86} alpha
23 SVGATextMode is a utility for reprogramming (S)VGA hardware, which can
24 improve the appearance of terminals. You should install SVGATextMode
25 if you want to alter the appearance of your terminal. The utility uses
26 a configuration file (Xconfig or XF86Config) to set up textmodes with
27 higher resolution, larger fonts, higher display refresh rates, etc.
29 Although SVGATextMode can be used to program any text mode size, your
30 results will depend on your VGA card.
33 SVGATextMode jest narzêdziem s³u¿±cym do konfiguracji sprzêtu (S)VGA,
34 które pozwala na polepszenie wygl±du terminali. Wykorzystuje plik
35 konfiguracyjny (Xconfig lub XF86Config) aby ustawiaæ wy¿sze
36 rozdzielczo¶ci, wiêksze fonty, wy¿sze czêstotliwo¶ci od¶wie¿ania itp.
47 %{__make} all CFLAGS_DEFAULT="%{rpmcflags}" LDFLAGS_DEFAULT="%{rpmldflags}"
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_mandir}/man{5,8}}
53 %{__make} DESTDIR=$RPM_BUILD_ROOT newinstall man-install
54 install STMmenu $RPM_BUILD_ROOT%{_sbindir}/stm-menu
55 install contrib/scripts/STM_reset $RPM_BUILD_ROOT%{_sbindir}
57 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{stm,clockprobe}.8
58 echo ".so SVGATextMode.8" > $RPM_BUILD_ROOT%{_mandir}/man8/stm.8
59 echo ".so grabmode.8" > $RPM_BUILD_ROOT%{_mandir}/man8/clockprobe.8
61 gzip -9nf doc/* README README.FIRST CREDITS HISTORY TODO
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
69 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/TextConfig
70 %attr(755,root,root) %{_sbindir}/*
71 %attr(644,root,root) %{_mandir}/man*/*