Summary(pl): Narzêdzie do zmieniania ustawieñ framebuffera
Name: fbset
Version: 2.1
-Release: 24
+Release: 29
License: GPL
Group: Applications/System
Source0: http://home.tvd.be/cr26864/Linux/fbdev/%{name}-%{version}.tar.gz
-# Source0-md5: e547cfcbb8c1a4f2a6b8ba4acb8b7164
+# Source0-md5: e547cfcbb8c1a4f2a6b8ba4acb8b7164
Source1: %{name}.init
Source2: %{name}.sysconfig
Source3: %{name}-fb.modes
-Source4: ftp://ftp.platan.vc.cvut.cz/pub/linux/matrox-latest/con2fb.c.gz
-# Source4-md5: 10485e073441a83f4ca26d4ccf73ab64
+Source4: ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/con2fb.c.gz
+# Source4-md5: 10485e073441a83f4ca26d4ccf73ab64
Patch0: %{name}-fixmode.patch
Patch1: %{name}-from-kgicon.patch
-URL: http://home.tvd.be/cr26864/Linux/fbdev/
+URL: http://members.chello.be/cr26864/Linux/fbdev/
BuildRequires: bison
BuildRequires: flex
Requires(post,preun): /sbin/chkconfig
%patch1 -p1
cp %{SOURCE4} .
gunzip con2fb.c.gz
+rm -r etc/CVS
%build
-%{__make} CC="%{__cc} %{rpmcflags}"
+%{__make} -j1 \
+ CC="%{__cc} %{rpmcflags}"
+
%{__cc} %{rpmcflags} %{rpmldflags} -o con2fb con2fb.c
%install
install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/fbset
install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/fbset
-rm -r etc/CVS
%clean
rm -rf $RPM_BUILD_ROOT
%doc etc/*
%attr(755,root,root) %{_bindir}/*
%attr(754,root,root) /etc/rc.d/init.d/fbset
-%config(noreplace) %verify(not size mtime md5) /etc/sysconfig/fbset
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/fb.modes
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/fbset
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fb.modes
%{_mandir}/man*/*