Hello community,
here is the log from the commit of package python-gnome-extras for
openSUSE:Factory
checked in at Wed Apr 27 11:43:06 CEST 2011.
--------
--- python-gnome-extras/python-gnome-extras.changes 2011-01-17
23:43:36.000000000 +0100
+++
/mounts/work_src_done/STABLE/python-gnome-extras/python-gnome-extras.changes
2011-04-27 00:02:53.000000000 +0200
@@ -1,0 +2,10 @@
+Tue Apr 26 23:52:57 CEST 2011 - [email protected]
+
+- Add build_gdl/build_gtkmozembed defines to decide whether to
+ build gdl and gtkmozembed bindings.
+- Set build_gdl to 0 as gdl now has introspection support and the
+ bindings don't support the latest gdl.
+- Set build_gtkmozembed to 0 as mozilla announced they're dropping
+ support for gtkmozembed.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-gnome-extras.spec ++++++
--- /var/tmp/diff_new_pack.VscV7R/_old 2011-04-27 11:39:02.000000000 +0200
+++ /var/tmp/diff_new_pack.VscV7R/_new 2011-04-27 11:39:02.000000000 +0200
@@ -17,6 +17,9 @@
# norootforbuild
+%define build_gdl 0
+%define build_gtkmozembed 0
+
%if 0%{suse_version} > 1130
%define xulrunner_version 20
%else
@@ -34,7 +37,7 @@
Name: python-gnome-extras
%define _name gnome-python-extras
Version: 2.25.3
-Release: 16
+Release: 22
Summary: Python bindings for GNOME
License: GPLv2+ ; LGPLv2.1+
Group: Development/Libraries/Python
@@ -47,13 +50,17 @@
Patch1: python-gnome-extras-gdl.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
+%if %{build_gdl}
BuildRequires: gdl-devel
+%endif
BuildRequires: gtk-doc
BuildRequires: gtk2-devel
BuildRequires: gtkspell-devel
BuildRequires: libgda-4_0-devel
BuildRequires: libgnomeui-devel
+%if %{build_gtkmozembed}
BuildRequires: mozilla-xulrunner%{xulrunner_version}-devel
+%endif
BuildRequires: python-devel
BuildRequires: python-gnome-devel
%if %suse_version <= 1130
@@ -63,8 +70,12 @@
# Explicitly require all subpackages, so packages depending on
# python-gnome-extras get all modules.
Requires: python-egg
+%if %{build_gdl}
Requires: python-gdl
+%endif
+%if %{build_gtkmozembed}
Requires: python-gtkmozembed
+%endif
Requires: python-gtkspell
Requires: python-gda
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@@ -88,6 +99,8 @@
Note that libegg use is generally not advised.
+%if %{build_gdl}
+
%package -n python-gdl
Summary: Python bindings for GDL
License: LGPLv2.1+
@@ -97,6 +110,9 @@
%description -n python-gdl
This package contains Python bindings for GDL.
+%endif
+
+%if %{build_gtkmozembed}
%package -n python-gtkmozembed
Summary: Python bindings for GtkMozEmbed
@@ -108,6 +124,7 @@
%description -n python-gtkmozembed
This package contains Python bindings for GtkMozEmbed.
+%endif
%package -n python-gtkspell
Summary: Python bindings for GtkSpell
@@ -181,15 +198,21 @@
%{py_sitedir}/gtk-2.0/egg/recent.so
%{py_sitedir}/gtk-2.0/egg/trayicon.so
+%if %{build_gdl}
+
%files -n python-gdl
%defattr(-, root, root)
%doc COPYING.LGPL
%{py_sitedir}/gtk-2.0/gdl.so
+%endif
+
+%if %{build_gtkmozembed}
%files -n python-gtkmozembed
%defattr(-, root, root)
%doc COPYING.LGPL
%{py_sitedir}/gtk-2.0/gtkmozembed.so
+%endif
%files -n python-gtkspell
%defattr(-, root, root)
@@ -216,7 +239,9 @@
# Own these repositories to not depend on gtk-doc while building:
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
+%if %{build_gtkmozembed}
%{_datadir}/gtk-doc/html/pygtkmozembed/
+%endif
%{_datadir}/gtk-doc/html/pygtkspell/
%changelog
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]