]> git.pld-linux.org Git - packages/SVGATextMode.git/blob - SVGATextMode.spec
db5df18838c507e8c435310316a3ada895c6b75d
[packages/SVGATextMode.git] / SVGATextMode.spec
1 Summary:        A utility for improving the appearance of terminals
2 Summary(pl):    Narzêdzie do polepszania wygl±du terminali
3 Name:           SVGATextMode
4 Version:        1.10
5 Release:        6
6 License:        GPL
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
14 BuildRequires:  bison
15 BuildRequires:  flex
16 BuildRequires:  util-linux
17 Requires:       dialog
18 Requires:       kbd
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 ExclusiveArch:  %{ix86} alpha
21
22 %description
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.
28
29 Although SVGATextMode can be used to program any text mode size, your
30 results will depend on your VGA card.
31
32 %description -l pl
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.
37
38 %prep
39 %setup -q
40 %patch0 -p1
41 %patch1 -p1
42 %patch2 -p1
43 %patch3 -p1
44
45 %build
46 %{__make} dep
47 %{__make} all CFLAGS_DEFAULT="%{rpmcflags}" LDFLAGS_DEFAULT="%{rpmldflags}"
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_mandir}/man{5,8}}
52
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}
56
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
60
61 gzip -9nf doc/* README README.FIRST CREDITS HISTORY TODO
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %doc *.gz doc/*.gz
69 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/TextConfig
70 %attr(755,root,root) %{_sbindir}/*
71 %attr(644,root,root) %{_mandir}/man*/*
This page took 0.051696 seconds and 2 git commands to generate.