]> git.pld-linux.org Git - packages/SVGATextMode.git/blob - SVGATextMode.spec
- removed unneccessary lines with "echo" from TextConfig output
[packages/SVGATextMode.git] / SVGATextMode.spec
1 Summary:        A utility for improving the appearance of text consoles.
2 Name:           SVGATextMode
3 Version:        1.10
4 Release:        1
5 License:        GPL
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 BuildRequires:  bison
15 Requires:       console-tools
16 Requires:       dialog
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 ExclusiveArch:  %{ix86} alpha
19
20 %description
21 SVGATextMode is a utility for reprogramming (S)VGA hardware, which can
22 improve the appearance of text consoles. You should install
23 SVGATextMode if you want to alter the appearance of your text
24 consoles. The utility uses a configuration file (Xconfig or
25 XF86Config) to set up textmodes with higher resolution, larger fonts,
26 higher display refresh rates, etc.
27
28 Although SVGATextMode can be used to program any text mode size, your
29 results will depend on your VGA card.
30
31 %description -l pl
32 SVGATextMode jest narzêdziem s³u¿±cym konfiguracji sprzêtu (S)VGA,
33 które pozwala na polepszenie wygl±du konsoli tekstowej. To narzêdzie
34 wykorzystuje plik konfiguracyjny by ustawiaæ wy¿sze rozdzielczo¶ci,
35 wiêksze fonty, wy¿sze czêstotliwo¶ci od¶wie¿ania itp.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40 %patch1 -p1
41 %patch2 -p1
42 %patch3 -p1
43
44 %build
45 %{__make} dep
46 %{__make} all
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 install -d $RPM_BUILD_ROOT%{_sbindir}
52 install -d $RPM_BUILD_ROOT%{_mandir}/man{5,8}
53
54 %{__make} DESTDIR=$RPM_BUILD_ROOT newinstall man-install
55 install STMmenu $RPM_BUILD_ROOT%{_sbindir}/stm-menu
56
57 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/stm.8
58 echo ".so SVGATextMode.8" > $RPM_BUILD_ROOT%{_mandir}/man8/stm.8
59
60 gzip -9nf doc/* README \
61         README.FIRST CREDITS COPYING HISTORY TODO
62
63 %clean 
64 rm -rf $RPM_BUILD_ROOT
65
66 %files
67 %defattr(644,root,root,755)
68 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/TextConfig
69 %doc {README,README.FIRST,CREDITS,COPYING,HISTORY,TODO}.gz
70 %doc doc/*.gz
71 %attr(755,root,root) %{_sbindir}/*
72 %attr(644,root,root) %{_mandir}/man*/*
This page took 0.238725 seconds and 3 git commands to generate.