Hello community, here is the log from the commit of package libcanberra for openSUSE:Factory checked in at 2016-01-05 09:40:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcanberra (Old) and /work/SRC/openSUSE:Factory/.libcanberra.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libcanberra" Changes: -------- --- /work/SRC/openSUSE:Factory/libcanberra/libcanberra.changes 2015-11-08 14:35:47.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libcanberra.new/libcanberra.changes 2016-01-05 09:41:00.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Dec 28 16:43:10 UTC 2015 - zaitor@opensuse.org + +- Split out libcanberra-gtk-devel and libcanberra-gtk3-devel + sub-packages, this will make it possible for us to build + dependant packages without having to pull in both gtk2 and gtk3. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcanberra.spec ++++++ --- /var/tmp/diff_new_pack.GlQE6w/_old 2016-01-05 09:41:01.000000000 +0100 +++ /var/tmp/diff_new_pack.GlQE6w/_new 2016-01-05 09:41:01.000000000 +0100 @@ -188,19 +188,48 @@ %package devel Summary: Portable sound event library -- Development files Group: Development/Libraries/C and C++ -Requires: libcanberra-gtk0 = %{version} Requires: libcanberra0 = %{version} + +%description devel +libcanberra is an implementation of the XDG Sound Theme and Name +Specifications, for generating event sounds on free desktops, such as +GNOME. It comes with several backends (ALSA, PulseAudio, null) and is +designed to be portable. + +This package provides the development files for libcanberra. + %if %build_gtk3 + +%package -n libcanberra-gtk3-devel +Summary: Portable sound event library -- Development files +Group: Development/Libraries/C and C++ +Requires: libcanberra-devel Requires: libcanberra-gtk3-0 = %{version} +Requires: libcanberra0 = %{version} %endif -%description devel +%description -n libcanberra-gtk3-devel libcanberra is an implementation of the XDG Sound Theme and Name Specifications, for generating event sounds on free desktops, such as GNOME. It comes with several backends (ALSA, PulseAudio, null) and is designed to be portable. -This package provides the development files for libcanberra. +This package provides the development files for libcanberra-gtk3 + +%package -n libcanberra-gtk-devel +Summary: Portable sound event library -- Development files +Group: Development/Libraries/C and C++ +Requires: libcanberra-devel +Requires: libcanberra-gtk0 = %{version} +Requires: libcanberra0 = %{version} + +%description -n libcanberra-gtk-devel +libcanberra is an implementation of the XDG Sound Theme and Name +Specifications, for generating event sounds on free desktops, such as +GNOME. It comes with several backends (ALSA, PulseAudio, null) and is +designed to be portable. + +This package provides the development files for libcanberra-gtk2 %prep %setup -q @@ -294,21 +323,26 @@ %dir %{_datadir}/gdm/autostart/LoginWindow %{_datadir}/gdm/autostart/LoginWindow/libcanberra-ready-sound.desktop +%files -n libcanberra-gtk-devel +%defattr(-,root,root) +%{_libdir}/libcanberra-gtk.so +%{_libdir}/pkgconfig/libcanberra-gtk.pc + +%if %build_gtk3 + +%files -n libcanberra-gtk3-devel +%defattr(-,root,root) +%{_libdir}/libcanberra-gtk3.so +%{_libdir}/pkgconfig/libcanberra-gtk3.pc +%endif + %files devel %defattr(-,root,root) %doc %{_datadir}/gtk-doc/html/libcanberra %{_includedir}/canberra.h %{_includedir}/canberra-gtk.h %{_libdir}/libcanberra.so -%{_libdir}/libcanberra-gtk.so -%if %build_gtk3 -%{_libdir}/libcanberra-gtk3.so -%endif %{_libdir}/pkgconfig/libcanberra.pc -%{_libdir}/pkgconfig/libcanberra-gtk.pc -%if %build_gtk3 -%{_libdir}/pkgconfig/libcanberra-gtk3.pc -%endif %dir %{_datadir}/vala %dir %{_datadir}/vala/vapi %{_datadir}/vala/vapi/*.vapi