Hello community, here is the log from the commit of package glibmm2 for openSUSE:Factory checked in at Fri Oct 15 16:21:21 CEST 2010. -------- --- GNOME/glibmm2/glibmm2.changes 2010-09-21 09:48:15.000000000 +0200 +++ /mounts/work_src_done/STABLE/glibmm2/glibmm2.changes 2010-10-11 18:01:21.000000000 +0200 @@ -1,0 +2,10 @@ +Mon Oct 11 17:58:44 CEST 2010 - vuntz@opensuse.org + +- Update packaging to use the shared library packaging policy: + + Create libglibmm-2_4-1 and libgiomm-2_4-1 subpackages. + + Add Provides/Obsoletes for glibmm2 to libglibmm-2_4-1. + + Update baselibs.conf accordingly. +- Update summaries and descriptions. +- Version the glibmm24-devel Obsoletes in devel subpackage. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ glibmm2.spec ++++++ --- /var/tmp/diff_new_pack.FmVFS9/_old 2010-10-15 16:21:12.000000000 +0200 +++ /var/tmp/diff_new_pack.FmVFS9/_new 2010-10-15 16:21:12.000000000 +0200 @@ -20,42 +20,65 @@ Name: glibmm2 %define _name glibmm -BuildRequires: fdupes -BuildRequires: gcc-c++ -BuildRequires: glib2-devel -BuildRequires: libsigc++2-devel Version: 2.25.5 -Release: 1 +Release: 2 +# NOTE: on upgrade to a new upstream version, change the Obsoletes from <= to < (here and in baselibs.conf) Group: System/Libraries License: LGPLv2.1+ -Summary: C++ Interface for GLib2 +Summary: C++ Interface for Glib Url: http://www.gtkmm.org/ Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.12/%{_name}-%{version}.tar.bz2 -Provides: glibmm24 = %{version} -Obsoletes: glibmm24 +BuildRequires: fdupes +BuildRequires: gcc-c++ +BuildRequires: glib2-devel +BuildRequires: libsigc++2-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Gtkmm provides a C++ interface to the GTK+ GUI library. glibmm24 wraps -GLib 2. Highlights include typesafe callbacks, widgets extensible via -inheritance, and a comprehensive set of widget classes that can be -freely combined to quickly create complex user interfaces. +Glibmm is the official C++ interface for the popular cross-platform +library Glib. It provides non-UI API that is not available in standard +C++ and makes it possible for gtkmm to wrap GObject-based APIs. + +%package -n libglibmm-2_4-1 +License: LGPLv2.1+ +Group: System/Libraries +Summary: C++ Interface for Glib +Provides: glibmm = %{version} +# Note: we keep <= (and a rpmlint warning...) until we get a version higher than 2.25.5 (when this provides/obsoletes was introduced) +Obsoletes: glibmm <= %{version} +Provides: glibmm24 = %{version} +Obsoletes: glibmm24 < %{version} + +%description -n libglibmm-2_4-1 +Glibmm is the official C++ interface for the popular cross-platform +library Glib. It provides non-UI API that is not available in standard +C++ and makes it possible for gtkmm to wrap GObject-based APIs. + +%package -n libgiomm-2_4-1 +License: LGPLv2.1+ +Group: System/Libraries +Summary: C++ Interface for Gio + +%description -n libgiomm-2_4-1 +Glibmm is the official C++ interface for the popular cross-platform +library Glib. It provides non-UI API that is not available in standard +C++ and makes it possible for gtkmm to wrap GObject-based APIs. %package devel License: LGPLv2.1+ Group: Development/Libraries/C and C++ -Summary: C++ Interface for GLib2 -Requires: %{name} = %{version} glib2-devel libsigc++2-devel libstdc++-devel +Summary: C++ Interface for GLib +Requires: libglibmm-2_4-1 = %{version} +Requires: libgiomm-2_4-1 = %{version} Provides: glibmm24-devel = %{version} -Obsoletes: glibmm24-devel +Obsoletes: glibmm24-devel < %{version} Provides: %{name}-doc = %{version} Obsoletes: %{name}-doc <= %{version} %description devel -Gtkmm provides a C++ interface to the GTK+ GUI library. glibmm24 wraps -GLib 2. Highlights include typesafe callbacks, widgets extensible via -inheritance and a comprehensive set of widget classes that can be -freely combined to quickly create complex user interfaces. +Glibmm is the official C++ interface for the popular cross-platform +library Glib. It provides non-UI API that is not available in standard +C++ and makes it possible for gtkmm to wrap GObject-based APIs. %prep %setup -q -n %{_name}-%{version} @@ -72,14 +95,23 @@ %clean rm -rf %{buildroot} -%post -p /sbin/ldconfig +%post -n libglibmm-2_4-1 -p /sbin/ldconfig + +%postun -n libglibmm-2_4-1 -p /sbin/ldconfig + +%post -n libgiomm-2_4-1 -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n libgiomm-2_4-1 -p /sbin/ldconfig -%files +%files -n libglibmm-2_4-1 %defattr (-, root, root) %doc AUTHORS COPYING ChangeLog INSTALL NEWS README -%{_libdir}/*.so.* +%{_libdir}/libglibmm-2.4.so.* +%{_libdir}/libglibmm_generate_extra_defs-2.4.so.* + +%files -n libgiomm-2_4-1 +%defattr (-, root, root) +%{_libdir}/libgiomm-2.4.so.* %files devel %defattr (-, root, root) ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.FmVFS9/_old 2010-10-15 16:21:12.000000000 +0200 +++ /var/tmp/diff_new_pack.FmVFS9/_new 2010-10-15 16:21:12.000000000 +0200 @@ -1 +1,4 @@ -glibmm2 +libglibmm-2_4-1 + provides "glibmm2-<targettype> = <version>" + obsoletes "glibmm2-<targettype> <= <version>" +libgiomm-2_4-1 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org