Summary: A utility for improving the appearance of text consoles.
Name: SVGATextMode
Version: 1.10
-Release: 1
+Release: 2
License: GPL
Group: Applications/System
Group(de): Applikationen/System
Patch1: %{name}-make.patch
Patch2: %{name}-cache.patch
Patch3: %{name}-stmmenu.patch
+Patch4: %{name}-set80.patch
BuildRequires: bison
Requires: console-tools
Requires: dialog
%build
%{__make} dep
%{__make} all \
- CFLAGS_DEFAULT="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}" \
+ CFLAGS_DEFAULT="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}" \
LDFLAGS_DEFAULT="%{!?debug:-s}"
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man{5,8}}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_sbindir},%{_mandir}/man{5,8}}
%{__make} DESTDIR=$RPM_BUILD_ROOT newinstall man-install
install STMmenu $RPM_BUILD_ROOT%{_sbindir}/stm-menu
rm -f $RPM_BUILD_ROOT%{_mandir}/man8/stm.8
echo ".so SVGATextMode.8" > $RPM_BUILD_ROOT%{_mandir}/man8/stm.8
-gzip -9nf doc/* README README.FIRST CREDITS COPYING HISTORY TODO
+gzip -9nf doc/* README README.FIRST CREDITS HISTORY TODO
%clean
rm -rf $RPM_BUILD_ROOT