]> git.pld-linux.org Git - packages/SVGATextMode.git/blob - SVGATextMode.spec
- added using %%{rpmcflags}, %%{rpmldflags} macros.
[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 CFLAGS_DEFAULT="%{rpmcflags}" LDFLAGS_DEFAULT="%{rpmldflags}"
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 install contrib/scripts/STM_reset $RPM_BUILD_ROOT%{_sbindir}
58
59 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{stm,clockprobe}.8
60 echo ".so man8/SVGATextMode.8" > $RPM_BUILD_ROOT%{_mandir}/man8/stm.8
61 echo ".so man8/grabmode.8" > $RPM_BUILD_ROOT%{_mandir}/man8/clockprobe.8
62
63 gzip -9nf doc/* README README.FIRST CREDITS HISTORY TODO
64
65 %clean 
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc *.gz doc/*.gz
71 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/TextConfig
72 %attr(755,root,root) %{_sbindir}/*
73 %attr(644,root,root) %{_mandir}/man*/*
This page took 0.036974 seconds and 3 git commands to generate.