SPECS: DirectFB.spec - added bcond to build with multi application...

qboosh qboosh at pld-linux.org
Sun Oct 23 12:26:11 CEST 2005


Author: qboosh                       Date: Sun Oct 23 10:26:11 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond to build with multi application core
- always leave dfbdump and dfbg - seem to do something with single core too

---- Files affected:
SPECS:
   DirectFB.spec (1.57 -> 1.58) 

---- Diffs:

================================================================
Index: SPECS/DirectFB.spec
diff -u SPECS/DirectFB.spec:1.57 SPECS/DirectFB.spec:1.58
--- SPECS/DirectFB.spec:1.57	Sun Oct 23 11:20:04 2005
+++ SPECS/DirectFB.spec	Sun Oct 23 12:26:04 2005
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	multi		# build Multi-application core
+#
 Summary:	DirectFB - Hardware graphics acceleration
 Summary(pl):	DirectFB - Wspomaganie grafiki
 Name:		DirectFB
@@ -28,6 +32,7 @@
 BuildRequires:	libpng-devel >= 1.0
 BuildRequires:	libvncserver-devel
 BuildRequires:	libtool
+%{?with_multi:BuildRequires:	linux-fusion-devel}
 BuildRequires:	sed >= 4.0
 BuildRequires:	sysfsutils-devel >= 1.3.0-3
 BuildRequires:	zlib-devel >= 1.1.3
@@ -208,6 +213,7 @@
 	--enable-elo-input \
 	--enable-fast-install \
 	--enable-linux-input \
+	%{?with_multi:--enable-multi} \
 	--enable-mutouch \
 	--enable-sdl \
 	--enable-shared \
@@ -237,9 +243,6 @@
 
 cp -rf DFBTutorials* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-# dbfdump and dfbg require multi-application core - useless now
-rm -f $RPM_BUILD_ROOT{%{_bindir}/{dfbdump,dfbg},%{_mandir}/man1/dfbg.1}
-
 touch %{_sysconfdir}/directfbrc
 
 %clean
@@ -251,6 +254,8 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README TODO
+%attr(755,root,root) %{_bindir}/dfbdump
+%attr(755,root,root) %{_bindir}/dfbg
 %attr(755,root,root) %{_bindir}/dfbinfo
 %attr(755,root,root) %{_bindir}/dfblayer
 %attr(755,root,root) %{_bindir}/dfbproxy
@@ -309,6 +314,7 @@
 %attr(755,root,root) %{dfbdir}/wm/*.so
 %{_datadir}/directfb-%{version}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/directfbrc
+%{_mandir}/man1/dfbg.1*
 %{_mandir}/man5/*
 
 %files devel
@@ -386,6 +392,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.58  2005/10/23 10:26:04  qboosh
+- added bcond to build with multi application core
+- always leave dfbdump and dfbg - seem to do something with single core too
+
 Revision 1.57  2005/10/23 09:20:04  qboosh
 - updated to 0.9.23, updated sh patch
 - updated missing-files patch (using newer files from DirectFB CVS)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/DirectFB.spec?r1=1.57&r2=1.58&f=u




More information about the pld-cvs-commit mailing list