]> git.pld-linux.org Git - packages/SVGATextMode.git/blob - SVGATextMode.spec
5d72673d47ca42d850799065ed402b3e4c29bc39
[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:        3
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 Patch4:         %{name}-set80.patch
15 BuildRequires:  flex
16 BuildRequires:  bison
17 Requires:       console-tools
18 Requires:       console-data
19 Requires:       dialog
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 ExclusiveArch:  %{ix86} alpha
22
23 %description
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.
30
31 Although SVGATextMode can be used to program any text mode size, your
32 results will depend on your VGA card.
33
34 %description -l pl
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.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43 %patch1 -p1
44 %patch2 -p1
45 %patch3 -p1
46
47 %build
48 %{__make} dep
49 %{__make} all \
50         CFLAGS_DEFAULT="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}" \
51         LDFLAGS_DEFAULT="%{!?debug:-s}"
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_mandir}/man{5,8}}
56
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}
60
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
64
65 gzip -9nf doc/* README README.FIRST CREDITS HISTORY TODO
66
67 %clean 
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc *.gz doc/*.gz
73 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/TextConfig
74 %attr(755,root,root) %{_sbindir}/*
75 %attr(644,root,root) %{_mandir}/man*/*
This page took 0.055176 seconds and 2 git commands to generate.