]> git.pld-linux.org Git - packages/SVGATextMode.git/blob - SVGATextMode.spec
- release 2,
[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:        2
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:  bison
16 Requires:       console-tools
17 Requires:       dialog
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 ExclusiveArch:  %{ix86} alpha
20
21 %description
22 SVGATextMode is a utility for reprogramming (S)VGA hardware, which can
23 improve the appearance of text consoles. You should install
24 SVGATextMode if you want to alter the appearance of your text
25 consoles. The utility uses a configuration file (Xconfig or
26 XF86Config) to set up textmodes with higher resolution, larger fonts,
27 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 konfiguracji sprzêtu (S)VGA,
34 które pozwala na polepszenie wygl±du konsoli tekstowej. To narzêdzie
35 wykorzystuje plik konfiguracyjny by ustawiaæ wy¿sze rozdzielczo¶ci,
36 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 \
48         CFLAGS_DEFAULT="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}" \
49         LDFLAGS_DEFAULT="%{!?debug:-s}"
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_mandir}/man{5,8}}
54
55 %{__make} DESTDIR=$RPM_BUILD_ROOT newinstall man-install
56 install STMmenu $RPM_BUILD_ROOT%{_sbindir}/stm-menu
57
58 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/stm.8
59 echo ".so SVGATextMode.8" > $RPM_BUILD_ROOT%{_mandir}/man8/stm.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.098539 seconds and 3 git commands to generate.