From 92eeeb193f5e1c16b0d7e362e144dc5e25f132b8 Mon Sep 17 00:00:00 2001 From: dmalcolm Date: Jul 27 2010 21:00:09 +0000 Subject: (committed by dmalcolm on behalf of awilliam) Tue Jul 27 2010 Adam Williamson - 2.31.1-3 - gnome-media-profiles support also broken due to gtk3 port, so disable it - drop evince and brasero modules for now as they won't build due to evince and brasero being ported to gtk3 --- diff --git a/gnome-python2-desktop.spec b/gnome-python2-desktop.spec index 53f8a93..2851014 100644 --- a/gnome-python2-desktop.spec +++ b/gnome-python2-desktop.spec @@ -28,7 +28,7 @@ Name: gnome-python2-desktop Version: 2.31.1 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Group: Development/Languages Summary: The sources for additional PyGNOME Python extension modules @@ -44,8 +44,8 @@ Requires: gnome-python2-canvas >= %{gnome_python_version} ### Build Dependencies ### -BuildRequires: brasero-devel >= %{brasero_version} -BuildRequires: evince-devel >= %{evince_version} +#BuildRequires: brasero-devel >= %{brasero_version} +#BuildRequires: evince-devel >= %{evince_version} BuildRequires: evolution-data-server-devel >= %{eds_version} BuildRequires: glib2-devel >= %{glib_version} BuildRequires: GConf2-devel >= %{gconf2_version} @@ -90,25 +90,25 @@ Requires: gnome-python2-gnome This module contains a wrapper that allows GNOME Panel applets to be written in Python. -%package -n gnome-python2-brasero -Summary: Python bindings for interacting with brasero -License: LGPLv2 -Group: Development/Languages -Requires: %{name} = %{version}-%{release} -Requires: brasero-libs >= %{brasero_version} +#package -n gnome-python2-brasero +#Summary: Python bindings for interacting with brasero +#License: LGPLv2 +#Group: Development/Languages +#Requires: %{name} = %{version}-%{release} +#Requires: brasero-libs >= %{brasero_version} -%description -n gnome-python2-brasero -This module contains a wrapper that allows the use of brasero via Python. +#description -n gnome-python2-brasero +#This module contains a wrapper that allows the use of brasero via Python. -%package -n gnome-python2-evince -Summary: Python bindings for interacting with evince -License: LGPLv2 -Group: Development/Languages -Requires: %{name} = %{version}-%{release} -Requires: evince-libs >= %{evince_version} +#package -n gnome-python2-evince +#Summary: Python bindings for interacting with evince +#License: LGPLv2 +#Group: Development/Languages +#Requires: %{name} = %{version}-%{release} +#Requires: evince-libs >= %{evince_version} -%description -n gnome-python2-evince -This module contains a wrapper that allows the use of evince via Python. +#description -n gnome-python2-evince +#This module contains a wrapper that allows the use of evince via Python. %package -n gnome-python2-evolution Summary: Python bindings for interacting with evolution-data-server @@ -229,7 +229,11 @@ via Python. %patch0 -p1 -b .flags %build -%configure --enable-metacity +# evince, brasero and mediaprofiles are disabled because these things have +# been ported to GTK+3. It's not practical to mix GTK+2 and GTK+3 bindings +# in gnome-python2-desktop, so for now we'll just have to disable the GTK+3 +# stuff. - AdamW 2010/07 +%configure --enable-metacity --disable-evince --disable-braseromedia --disable-braseroburn --disable-mediaprofiles make %install @@ -255,14 +259,14 @@ rm -rf $RPM_BUILD_ROOT %dir %{python_sitearch}/gtk-2.0/gnome/applet.* %{python_sitearch}/gtk-2.0/gnomeapplet.so -%files -n gnome-python2-brasero -%defattr(-,root,root,-) -%{python_sitearch}/gtk-2.0/braseroburn.so -%{python_sitearch}/gtk-2.0/braseromedia.so +#files -n gnome-python2-brasero +#defattr(-,root,root,-) +#{python_sitearch}/gtk-2.0/braseroburn.so +#{python_sitearch}/gtk-2.0/braseromedia.so -%files -n gnome-python2-evince -%defattr(-,root,root,-) -%{python_sitearch}/gtk-2.0/evince.so +#files -n gnome-python2-evince +#defattr(-,root,root,-) +#{python_sitearch}/gtk-2.0/evince.so %files -n gnome-python2-evolution %defattr(-,root,root,-) @@ -298,7 +302,7 @@ rm -rf $RPM_BUILD_ROOT %files -n gnome-python2-totem %defattr(-,root,root,-) %ifnarch s390 s390x -%{python_sitearch}/gtk-2.0/mediaprofiles.so +#{python_sitearch}/gtk-2.0/mediaprofiles.so %endif %{python_sitearch}/gtk-2.0/totem @@ -315,6 +319,12 @@ rm -rf $RPM_BUILD_ROOT %{python_sitearch}/gtk-2.0/gnomekeyring.so %changelog +* Tue Jul 27 2010 Adam Williamson - 2.31.1-3 +- gnome-media-profiles support also broken due to gtk3 port, so + disable it +- drop evince and brasero modules for now as they won't build due + to evince and brasero being ported to gtk3 + * Wed Jul 21 2010 David Malcolm - 2.31.1-2 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild