Hello community, here is the log from the commit of package gnome-python-desktop for openSUSE:Factory checked in at Mon Jan 10 11:08:55 CET 2011. -------- --- gnome-python-desktop/gnome-python-desktop.changes 2010-09-28 20:34:21.000000000 +0200 +++ /mounts/work_src_done/STABLE/gnome-python-desktop/gnome-python-desktop.changes 2011-01-07 15:25:03.000000000 +0100 @@ -1,0 +2,15 @@ +Fri Jan 7 14:58:35 CET 2011 - vuntz@opensuse.org + +- Split all python modules in subpackages, so we can have more + fine-grained dependencies: + + Create python-brasero, python-bugbuddy, python-evince, + python-evolution, python-gnomeapplet, python-gnomedesktop, + python-gnomekeyring, python-gnomeprint, python-gtop, + python-mediaprofiles, python-metacity, python-rsvg, + python-totem, python-wnck. + + Ship a README.openSUSE file explaining the setup of the + package. +- Package code examples in the devel subpackage. + + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- README.openSUSE ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnome-python-desktop.spec ++++++ --- /var/tmp/diff_new_pack.VDAPnz/_old 2011-01-10 11:07:15.000000000 +0100 +++ /var/tmp/diff_new_pack.VDAPnz/_new 2011-01-10 11:07:15.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package gnome-python-desktop (Version 2.32.0) # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,12 +20,13 @@ Name: gnome-python-desktop Version: 2.32.0 -Release: 1 +Release: 2 Url: http://www.realistanew.com/projects/gnome-python-desktop Group: System/GUI/GNOME License: LGPLv2.1+ -Summary: Python modules for GNOME +Summary: Python bindings for GNOME Source: %{name}-%{version}.tar.bz2 +Source1: README.openSUSE BuildRequires: bug-buddy BuildRequires: fdupes BuildRequires: intltool @@ -56,47 +57,188 @@ BuildRequires: pkgconfig(pygobject-2.0) BuildRequires: pkgconfig(pygtk-2.0) BuildRequires: pkgconfig(totem-plparser) -Provides: evolution-python = 0.4 -Obsoletes: evolution-python < 0.4 +# Explicitly require all subpackages, so packages depending on +# gnome-python-desktop get all modules. +Requires: python-brasero +Requires: python-bugbuddy +Requires: python-evince +Requires: python-evolution +Requires: python-gnomeapplet +Requires: python-gnomedesktop +Requires: python-gnomekeyring +Requires: python-gnomeprint +Requires: python-gtop +Requires: python-mediaprofiles +Requires: python-metacity +Requires: python-rsvg +Requires: python-totem +Requires: python-wnck BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{py_requires} %description -This package contains a few python modules that used to live in -gnome-python-extras: +This package provides additional python bindings for GNOME libraries. + +%package -n python-brasero +License: LGPLv2.1+ +Group: Development/Libraries/Python +Summary: Python bindings for Brasero +Requires: python-gtk +%py_requires + +%description -n python-brasero +This package contains Python bindings for Brasero. + +%package -n python-bugbuddy +License: LGPLv2.1+ +Group: Development/Libraries/Python +Summary: Python bindings for Bug-Buddy +Recommends: bug-buddy +%py_requires + +%description -n python-bugbuddy +This package contains Python bindings for Bug-Buddy. + +%package -n python-evince +License: LGPLv2.1+ +Group: Development/Libraries/Python +Summary: Python bindings for Evince +Requires: python-gtk +%py_requires + +%description -n python-evince +This package contains Python bindings for Evince. + +%package -n python-evolution +License: LGPLv2.1+ +Group: Development/Libraries/Python +Summary: Python bindings for Evolution +Requires: python-bonobo +Requires: python-gobject2 +Provides: evolution-python = 0.4 +Obsoletes: evolution-python < 0.4 +%py_requires + +%description -n python-evolution +This package contains Python bindings for Evolution. + +%package -n python-gnomeapplet +License: LGPLv2.1+ +Group: Development/Libraries/Python +Summary: Python bindings for the GNOME Panel Applet Library +Requires: python-bonobo +Requires: python-gtk +%py_requires + +%description -n python-gnomeapplet +This package contains Python bindings for the GNOME Panel Applet Library. + +%package -n python-gnomedesktop +License: LGPLv2.1+ +Group: Development/Libraries/Python +Summary: Python bindings for libgnome-desktop +Requires: python-gnomevfs +Requires: python-gtk +%py_requires + +%description -n python-gnomedesktop +This package contains Python bindings for libgnome-desktop. + +%package -n python-gnomekeyring +License: LGPLv2.1+ +Group: Development/Libraries/Python +Summary: Python bindings for GNOME Keyring +%py_requires + +%description -n python-gnomekeyring +This package contains Python bindings for GNOME Keyring. + +%package -n python-gnomeprint +License: LGPLv2.1+ +Group: Development/Libraries/Python +Summary: Python bindings for libgnomeprint +Requires: python-gnomecanvas +Requires: python-gtk +%py_requires + +%description -n python-gnomeprint +This package contains Python bindings for libgnomeprint. + +%package -n python-gtop +License: LGPLv2.1+ +Group: Development/Libraries/Python +Summary: Python bindings for libgtop +%py_requires + +%description -n python-gtop +This package contains Python bindings for libgtop. + +%package -n python-mediaprofiles +License: LGPLv2.1+ +Group: Development/Libraries/Python +Summary: Python bindings for media profiles +Requires: python-gconf +Requires: python-gtk +%py_requires + +%description -n python-mediaprofiles +This package contains Python bindings for media profiles. + +%package -n python-metacity +License: LGPLv2.1+ +Group: Development/Libraries/Python +Summary: Python bindings for Metacity +Requires: python-gtk +%py_requires + +%description -n python-metacity +This package contains Python bindings for Metacity. + +%package -n python-rsvg +License: LGPLv2.1+ +Group: Development/Libraries/Python +Summary: Python bindings for librsvg +Requires: python-gobject2 +%py_requires -- gnomeapplet -- gnomeprint, gnomeprint.ui -- gtksourceview -- wnck -- totem.plparser -- gtop -- mediaprofiles -- metacity +%description -n python-rsvg +This package contains Python bindings for librsvg. + +%package -n python-totem +License: LGPLv2.1+ +Group: Development/Libraries/Python +Summary: Python bindings for Totem +Requires: python-gnomevfs +Requires: python-gobject2 +%py_requires + +%description -n python-totem +This package contains Python bindings for Totem. + +%package -n python-wnck +License: LGPLv2.1+ +Group: Development/Libraries/Python +Summary: Python bindings for libwnck +Requires: python-gtk +%py_requires + +%description -n python-wnck +This package contains Python bindings for libwnck. %package devel License: LGPLv2.1+ Group: Development/Libraries/Python -Summary: Python modules for GNOME +Summary: Python bindings for GNOME +# This will bring in all subpackages Requires: %{name} = %{version} Provides: %{name}-doc = %{version} Obsoletes: %{name}-doc < %{version} %description devel -This package contains a few python modules that used to live in -gnome-python-extras: - -- gnomeapplet -- gnomeprint, gnomeprint.ui -- gtksourceview -- wnck -- totem.plparser -- gtop -- mediaprofiles -- metacity +This package provides additional python bindings for GNOME libraries. %prep %setup -q +cp -a %{S:1} . %build %configure \ @@ -108,6 +250,8 @@ %install %makeinstall find %{buildroot} -type f -name "*.la" -delete -print +# Remove examples for bindings we don't ship +rm -r examples/{gtksourceview,nautilusburn} %fdupes %{buildroot} %clean @@ -115,53 +259,98 @@ %files %defattr (-, root, root) -%doc AUTHORS COPYING ChangeLog NEWS README -# Since the modules that are built depends in part upon the BuildRequires, -# explicitly list files here. Thus, when the "ideal" BuildRequires changes, -# it'll be obvious what in the file lists needs changing. See -# https://bugzilla.novell.com/show_bug.cgi?id=237144. +%doc AUTHORS COPYING ChangeLog NEWS README README.openSUSE +# Please list modules explicitly, do not use wildcards! +# Note: we don't want the gtksourceview 1.x bindings. We've migrated to +# gtksourceview 2. +#%{py_sitedir}/gtk-2.0/gtksourceview.so + +%files -n python-brasero +%defattr (-, root, root) +%doc COPYING %{py_sitedir}/gtk-2.0/braseroburn.so %{py_sitedir}/gtk-2.0/braseromedia.so -%{py_sitedir}/gtk-2.0/bugbuddy.py -%{py_sitedir}/gtk-2.0/bugbuddy.pyc -%{py_sitedir}/gtk-2.0/bugbuddy.pyo + +%files -n python-bugbuddy +%defattr (-, root, root) +%doc COPYING +%{py_sitedir}/gtk-2.0/bugbuddy.py* + +%files -n python-evince +%defattr (-, root, root) +%doc COPYING %{py_sitedir}/gtk-2.0/evince.so + +%files -n python-evolution +%defattr (-, root, root) +%doc COPYING %dir %{py_sitedir}/gtk-2.0/evolution %{py_sitedir}/gtk-2.0/evolution/__init__.py* %{py_sitedir}/gtk-2.0/evolution/ebook.so %{py_sitedir}/gtk-2.0/evolution/ecal.so + +%files -n python-gnomeapplet +%defattr (-, root, root) +%doc COPYING %dir %{py_sitedir}/gtk-2.0/gnome -%{py_sitedir}/gtk-2.0/gnome/applet.py -%{py_sitedir}/gtk-2.0/gnome/applet.pyc -%{py_sitedir}/gtk-2.0/gnome/applet.pyo +%{py_sitedir}/gtk-2.0/gnome/applet.py* %{py_sitedir}/gtk-2.0/gnomeapplet.so + +%files -n python-gnomedesktop +%defattr (-, root, root) +%doc COPYING %dir %{py_sitedir}/gtk-2.0/gnomedesktop -%{py_sitedir}/gtk-2.0/gnomedesktop/__init__.py -%{py_sitedir}/gtk-2.0/gnomedesktop/__init__.pyc -%{py_sitedir}/gtk-2.0/gnomedesktop/__init__.pyo +%{py_sitedir}/gtk-2.0/gnomedesktop/__init__.py* %{py_sitedir}/gtk-2.0/gnomedesktop/_gnomedesktop.so + +%files -n python-gnomekeyring +%defattr (-, root, root) +%doc COPYING %{py_sitedir}/gtk-2.0/gnomekeyring.so + +%files -n python-gnomeprint +%defattr (-, root, root) +%doc COPYING %dir %{py_sitedir}/gtk-2.0/gnomeprint -%{py_sitedir}/gtk-2.0/gnomeprint/__init__.py -%{py_sitedir}/gtk-2.0/gnomeprint/__init__.pyc -%{py_sitedir}/gtk-2.0/gnomeprint/__init__.pyo +%{py_sitedir}/gtk-2.0/gnomeprint/__init__.py* %{py_sitedir}/gtk-2.0/gnomeprint/_print.so %{py_sitedir}/gtk-2.0/gnomeprint/ui.so -# Note: we don't want the gtksourceview 1.x bindings. We've migrated to gtksourceview 2. -#%{py_sitedir}/gtk-2.0/gtksourceview.so + +%files -n python-gtop +%defattr (-, root, root) +%doc COPYING %{py_sitedir}/gtk-2.0/gtop.so + +%files -n python-mediaprofiles +%defattr (-, root, root) +%doc COPYING %{py_sitedir}/gtk-2.0/mediaprofiles.so + +%files -n python-metacity +%defattr (-, root, root) +%doc COPYING %{py_sitedir}/gtk-2.0/metacity.so + +%files -n python-rsvg +%defattr (-, root, root) +%doc COPYING %{py_sitedir}/gtk-2.0/rsvg.so + +%files -n python-totem +%defattr (-, root, root) +%doc COPYING %dir %{py_sitedir}/gtk-2.0/totem -%{py_sitedir}/gtk-2.0/totem/__init__.py -%{py_sitedir}/gtk-2.0/totem/__init__.pyc -%{py_sitedir}/gtk-2.0/totem/__init__.pyo +%{py_sitedir}/gtk-2.0/totem/__init__.py* %{py_sitedir}/gtk-2.0/totem/plparser.so + +%files -n python-wnck +%defattr (-, root, root) +%doc COPYING %{py_sitedir}/gtk-2.0/wnck.so %files devel %defattr (-, root, root) +%doc examples/ %{_datadir}/gtk-doc/html/pygnomeprint/ %{_datadir}/gtk-doc/html/pygnomeprintui/ %{_libdir}/pkgconfig/gnome-python-desktop-2.0.pc ++++++ README.openSUSE ++++++ This package installs all bindings from the upstream gnome-python-desktop module. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org