]> git.pld-linux.org Git - packages/fbgetty.git/blobdiff - fbgetty.spec
- fixes to build with texinfo 7; release 6
[packages/fbgetty.git] / fbgetty.spec
index e5296dc5a06ed4b014e8f8c97c914fc5361d1a91..2c3e098588da6e782b17c7ef2a7e5c9ea51480cf 100644 (file)
@@ -1,8 +1,8 @@
 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
@@ -44,6 +44,7 @@ Możliwości:
 
 %build
 cp -f /usr/share/automake/config.* config
+export CPPFLAGS="%{rpmcppflags} -Doffsetof=__builtin_offsetof"
 %configure
 %{__make}
 
@@ -56,15 +57,15 @@ rm -rf $RPM_BUILD_ROOT
 %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*
This page took 0.077546 seconds and 4 git commands to generate.