Summary: getty program for Linux framebuffer console
-Summary(pl.UTF-8): Program getty dla linuksowej konsoli z framebufferem
+Summary(pl.UTF-8): Program getty dla linuksowej konsoli z framebufferem
Name: fbgetty
Version: 0.1.698
-Release: 2
+Release: 6
License: GPL v2+
Group: Applications/System
Source0: http://projects.meuh.org/fbgetty/downloads/%{name}-%{version}.tar.gz
%build
cp -f /usr/share/automake/config.* config
+export CPPFLAGS="%{rpmcppflags} -Doffsetof=__builtin_offsetof"
%configure
%{__make}
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%post -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
+%postun -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
%files
%defattr(644,root,root,755)
%doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO docs/*.txt
-%attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man8/*
-%{_infodir}/*.info*
+%attr(755,root,root) %{_sbindir}/fbgetty
+%{_mandir}/man8/fbgetty.8*
+%{_infodir}/fbgetty.info*