Summary(pl): Nardzêdzie do zmieniania trybu graficznego we framebufferze
Name: fbset
Version: 2.1
-Release: 1
+Release: 8
License: GPL
Group: Applications/System
Group(de): Applikationen/System
Group(pl): Aplikacje/System
Source0: http://www.cs.kuleuven.ac.be/~geert/bin/%{name}-%{version}.tar.gz
-Source1: fbset.init
-Source2: fbset.sysconfig
+Source1: %{name}.init
+Source2: %{name}.sysconfig
+Patch0: %{name}-fixmode.patch
URL: http://www.cs.kuleuven.ac.be/~geert/Console/
+BuildRequires: flex
Requires: open
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
+%patch -p1
%build
-%{__make} OPTFLAGS="%{?debug:-O -g}%{!?debug:$RPM_OPT_FLAGS}"
+%{__make} CC="%{__cc} %{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/fbset
%post
-/sbin/chkconfig --add fbset
+%chkconfig_add
%preun
-if [ "$1" = "0" ]; then
- /sbin/chkconfig --del fbset
-fi
+%chkconfig_del
%clean
rm -rf $RPM_BUILD_ROOT