]> git.pld-linux.org Git - packages/SVGATextMode.git/blob - SVGATextMode.spec
- removed all Group fields translations (oure rpm now can handle translating
[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:        5
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 Requires:       dialog
17 Requires:       kbd
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 terminals. You should install SVGATextMode
24 if you want to alter the appearance of your terminal. The utility uses
25 a configuration file (Xconfig or XF86Config) to set up textmodes with
26 higher resolution, larger fonts, 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 do konfiguracji sprzêtu (S)VGA,
33 które pozwala na polepszenie wygl±du terminali. Wykorzystuje plik
34 konfiguracyjny (Xconfig lub XF86Config) aby ustawiaæ wy¿sze
35 rozdzielczo¶ci, 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 CFLAGS_DEFAULT="%{rpmcflags}" LDFLAGS_DEFAULT="%{rpmldflags}"
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_mandir}/man{5,8}}
51
52 %{__make} DESTDIR=$RPM_BUILD_ROOT newinstall man-install
53 install STMmenu $RPM_BUILD_ROOT%{_sbindir}/stm-menu
54 install contrib/scripts/STM_reset $RPM_BUILD_ROOT%{_sbindir}
55
56 rm -f $RPM_BUILD_ROOT%{_mandir}/man8/{stm,clockprobe}.8
57 echo ".so man8/SVGATextMode.8" > $RPM_BUILD_ROOT%{_mandir}/man8/stm.8
58 echo ".so man8/grabmode.8" > $RPM_BUILD_ROOT%{_mandir}/man8/clockprobe.8
59
60 gzip -9nf doc/* README README.FIRST CREDITS HISTORY TODO
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc *.gz doc/*.gz
68 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/TextConfig
69 %attr(755,root,root) %{_sbindir}/*
70 %attr(644,root,root) %{_mandir}/man*/*
This page took 0.069985 seconds and 3 git commands to generate.