SPECS (DEVEL): mythplugins.spec - 20051104 snap - partial with bin...

glen glen at pld-linux.org
Fri Nov 4 01:00:23 CET 2005


Author: glen                         Date: Fri Nov  4 00:00:23 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- 20051104 snap
- partial with binary bcond

---- Files affected:
SPECS:
   mythplugins.spec (1.12.2.2 -> 1.12.2.3) 

---- Diffs:

================================================================
Index: SPECS/mythplugins.spec
diff -u SPECS/mythplugins.spec:1.12.2.2 SPECS/mythplugins.spec:1.12.2.3
--- SPECS/mythplugins.spec:1.12.2.2	Sat Oct 22 17:46:59 2005
+++ SPECS/mythplugins.spec	Fri Nov  4 01:00:16 2005
@@ -1,22 +1,27 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	binary		# skip binary plugins (build only mythweb)
+#
 %include	/usr/lib/rpm/macros.perl
 Summary:	Main MythTV plugins
 Summary(pl):	Główne wtyczki MythTV
 Name:		mythplugins
 Version:	0.18.1
-%define	_snap 20051022
+%define	_snap 20051104
 %define	_rel 0.1
-Release:	0.%{_snap}.%{_rel}
+Release:	0.113.%{_snap}.%{_rel}
 License:	GPL v2
 Group:		Applications/Multimedia
 #Source0:	http://www.mythtv.org/mc/%{name}-%{version}.tar.bz2
 Source0:	%{name}-%{_snap}.tar.bz2
-# Source0-md5:	e3a5d3c8063cd9527f93f50875c80af2
+# Source0-md5:	021633295bdcc34f31580239cb0b1074
 Patch0:		%{name}-configure.patch
 Patch1:		%{name}-libversion.patch
 Patch2:		%{name}-lib64.patch
 Patch3:		%{name}-paths.patch
 URL:		http://www.mythtv.org/
+%if %{with binary}
 BuildRequires:	OpenGL-devel
 BuildRequires:	SDL-devel
 BuildRequires:	XFree86-devel
@@ -45,6 +50,7 @@
 BuildRequires:	transcode >= 0.6.8
 BuildRequires:	xvid-devel >= 1:0.9.1
 BuildRequires:	zlib-devel
+%endif
 Requires:	mythbrowser
 Requires:	mythdvd
 Requires:	mythgallery
@@ -215,6 +221,7 @@
 %endif
 %patch3 -p1
 
+%if %{with binary}
 # include mythtv build settings
 cp %{_datadir}/mythtv/build/config.mak .
 sed -i -e "1iinclude(`pwd`/config.mak)"  settings.pro
@@ -223,6 +230,7 @@
 	# mmx asm isn't x86_64 compatible in mythmusic
 	echo 'DEFINES -= HAVE_MMX' >> settings.pro
 %endif
+%endif
 
 # lib64 fix - enable to update patch
 %if %{_lib} != "lib" && 0
@@ -235,6 +243,7 @@
 %endif
 
 %build
+%if %{with binary}
 export QTDIR="%{_prefix}"
 # Not gnu configure
 %configure \
@@ -252,10 +261,12 @@
 
 qmake mythplugins.pro
 %{__make}
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
+%if %{with binary}
 export QTDIR="%{_prefix}"
 %{__make} install \
 	INSTALL_ROOT=$RPM_BUILD_ROOT
@@ -266,6 +277,7 @@
 install -d $RPM_BUILD_ROOT%{_datadir}/mythtv/games/xmame/{roms,screens,flyers,cabs}
 install -d $RPM_BUILD_ROOT%{_datadir}/mythtv/games/PC/screens
 cp -a mythgame/gamelist.xml $RPM_BUILD_ROOT%{_datadir}/mythtv/games/PC
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -435,6 +447,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12.2.3  2005/11/04 00:00:16  glen
+- 20051104 snap
+- partial with binary bcond
+
 Revision 1.12.2.2  2005/10/22 15:46:59  glen
 - 20051022 snap (doesn't build)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mythplugins.spec?r1=1.12.2.2&r2=1.12.2.3&f=u




More information about the pld-cvs-commit mailing list