Hello community, here is the log from the commit of package banshee checked in at Sat Apr 7 10:02:25 CEST 2007. -------- --- GNOME/banshee/banshee.changes 2007-03-27 15:54:38.000000000 +0200 +++ /mounts/work_src_done/STABLE/banshee/banshee.changes 2007-04-06 23:34:11.268212000 +0200 @@ -1,0 +2,27 @@ +Fri Apr 6 16:33:33 CDT 2007 - maw@suse.de + +- Update to version 0.12.1 +- Fixes for #257156, #239013, and #239107 +- Support iTunes 7.1, HFS+ iPods, and iPod Shuffle 2nd generations + +------------------------------------------------------------------- +Fri Apr 6 15:04:45 CDT 2007 - maw@suse.de + +- Fix the build for helix-banshee as well -- use pushd/popd + instead of cd in the %install section +- Rename the schemas installed with helix-banshee from + banshee*schemas to helix-banshee*schemas. + +------------------------------------------------------------------- +Thu Apr 5 10:36:12 CDT 2007 - maw@suse.de + +- Fix the build + * Package certain hitherto unpackaged files in both banshee and + helix-banshee + * Use the wacky fun magic gconf scripts. +- helix-banshee.spec is created as a copy of banshee.spec with + a few things changed. This is now performed via the small + script helix-banshee-fixup.sh. If the two specs diverge further, + the script can be enhanced. + +------------------------------------------------------------------- New: ---- banshee-0.12.1.tar.bz2 helix-banshee-fixup.sh ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ banshee.spec ++++++ --- /var/tmp/diff_new_pack.x25304/_old 2007-04-07 10:01:41.000000000 +0200 +++ /var/tmp/diff_new_pack.x25304/_new 2007-04-07 10:01:41.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package banshee (Version 0.12.0) +# spec file for package banshee (Version 0.12.1) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -13,8 +13,8 @@ Name: banshee %define HELIX_BANSHEE 0 # WARNING: If you are editing helix-banshee.spec, STOP. Always edit -# banshee.spec and then copy that to helix-banshee.spec. Only the above -# two variables should ever differ from banshee.spec. +# banshee.spec and then run helix-banshee-fixup.sh which will create +# helix-banshee.spec based upon banshee.spec. %if %HELIX_BANSHEE == 1 ExclusiveArch: %ix86 x86_64 %else @@ -56,13 +56,14 @@ Autoreqprov: on PreReq: filesystem gconf2 Requires: mono-core -Version: 0.12.0 -Release: 4 +Version: 0.12.1 +Release: 1 Source0: banshee-%{version}.tar.bz2 %if %HELIX_BANSHEE == 1 Source1: gstreamer-xing-0.10.2.tar.gz Source2: helix-banshee-client-%{hxbc_version}.tar.bz2 %endif +Source3: helix-banshee-fixup.sh URL: http://banshee-project.org BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: A Music Player @@ -84,6 +85,10 @@ Conflicts: helix-banshee Recommends: banshee-engine-gst banshee-plugins-default banshee-plugins-extra %endif +%if %suse_version >= 1030 + +%gconf_schemas_prereq +%endif %description Banshee is a music management and playback application. It supports @@ -160,6 +165,10 @@ Group: Productivity/Multimedia/Sound/Players Autoreqprov: on Requires: %{name} = %{version} +%if %suse_version >= 1030 + +%gconf_schemas_prereq +%endif %description plugins-default A default set of plugins for Banshee including AudioScrobbler support, @@ -176,6 +185,10 @@ Group: Productivity/Multimedia/Sound/Players Autoreqprov: on Requires: %{name} = %{version} +%if %suse_version >= 1030 + +%gconf_schemas_prereq +%endif %description plugins-extra Banshee plugins for Podcasting, MiniMode, and automatic music @@ -192,6 +205,10 @@ Group: Productivity/Multimedia/Sound/Players Autoreqprov: on Requires: %{name} = %{version} +%if %suse_version >= 1030 + +%gconf_schemas_prereq +%endif %description plugins-DAAP Digital Audio Access Protocol plugin for Banshee. @@ -246,61 +263,156 @@ %install export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=$RPM_BUILD_ROOT +# the magic gconf macros don't seem to work with schema files named +# banshee-whatever when the package is really named helix-banshee, so we +# perform this unutterable incantation. +%if %HELIX_BANSHEE == 1 + %if %suse_version >= 1030 + pushd $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas + for i in *.schemas; do + mv $i helix-$i + done + popd + %endif +%endif unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL %suse_update_desktop_file banshee AudioVideo Player %if %suse_version < 1030 -mkdir -p $RPM_BUILD_ROOT%{gstreamerprefix}/share -mv $RPM_BUILD_ROOT%{prefix}/share/icons $RPM_BUILD_ROOT%{gstreamerprefix}/share/ + mkdir -p $RPM_BUILD_ROOT%{gstreamerprefix}/share + mv $RPM_BUILD_ROOT%{prefix}/share/icons $RPM_BUILD_ROOT%{gstreamerprefix}/share/ %endif %if %HELIX_BANSHEE == 1 -%suse_update_desktop_file "-C" "Play and organize music" "-G" "Music Player" "-N" "Helix Banshee" %{src_name} + %suse_update_desktop_file "-C" "Play and organize music" "-G" "Music Player" "-N" "Helix Banshee" %{src_name} %else -%suse_update_desktop_file "-C" "Play and organize music" "-G" "Music Player" "-N" "Banshee" %{src_name} + %suse_update_desktop_file "-C" "Play and organize music" "-G" "Music Player" "-N" "Banshee" %{src_name} %endif %if %HELIX_BANSHEE == 1 -cd ../helix-banshee-client-%{hxbc_version} -export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 -make install DESTDIR=$RPM_BUILD_ROOT -%if %suse_version < 1030 -rm -rf $RPM_BUILD_ROOT%{gstreamerprefix}/share/icons -mv $RPM_BUILD_ROOT%{prefix}/share/icons $RPM_BUILD_ROOT%{gstreamerprefix}/share/ + pushd ../helix-banshee-client-%{hxbc_version} + export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 + make install DESTDIR=$RPM_BUILD_ROOT + %if %suse_version < 1030 + rm -rf $RPM_BUILD_ROOT%{gstreamerprefix}/share/icons + mv $RPM_BUILD_ROOT%{prefix}/share/icons $RPM_BUILD_ROOT%{gstreamerprefix}/share/ + %endif + unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL + popd + pushd ../gstreamer-xing-0.10.2 + make install DESTDIR=$RPM_BUILD_ROOT + rm -f $RPM_BUILD_ROOT/%{gstreamerprefix}/%{_lib}/gstreamer-%{gst_branch}/*.*a + # These two lines ensure gstreamer plugins installed become PRIVATE to Banshee + mkdir -p $RPM_BUILD_ROOT/usr/%{_lib}/banshee/gstreamer-%{gst_branch}/ + mv $RPM_BUILD_ROOT/%{gstreamerprefix}/%{_lib}/gstreamer-%{gst_branch}/*.so $RPM_BUILD_ROOT/usr/%{_lib}/banshee/gstreamer-%{gst_branch}/ + popd %endif -unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL -cd ../gstreamer-xing-0.10.2 -make install DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT/%{gstreamerprefix}/%{_lib}/gstreamer-%{gst_branch}/*.*a -# These two lines ensure gstreamer plugins installed become PRIVATE to Banshee -mkdir -p $RPM_BUILD_ROOT/usr/%{_lib}/banshee/gstreamer-%{gst_branch}/ -mv $RPM_BUILD_ROOT/%{gstreamerprefix}/%{_lib}/gstreamer-%{gst_branch}/*.so $RPM_BUILD_ROOT/usr/%{_lib}/banshee/gstreamer-%{gst_branch}/ +%if %suse_version >= 1030 + +%def_gconf_schemas %{name} + +%add_gconf_schemas %{name}-core + +%add_gconf_schemas %{name}-interface + +%def_gconf_schemas %{name}-plugins-default + +%add_gconf_schemas %{name}-plugin-audioscrobbler + +%add_gconf_schemas %{name}-plugin-metadatasearcher + +%add_gconf_schemas %{name}-plugin-mmkeys + +%add_gconf_schemas %{name}-plugin-notificationarea + +%def_gconf_schemas %{name}-plugins-extra + +%add_gconf_schemas %{name}-plugin-recommendation + +%add_gconf_schemas %{name}-plugin-minimode + +%add_gconf_schemas %{name}-plugin-podcast + +%add_gconf_schemas %{name}-plugin-radio + +%def_gconf_schemas %{name}-plugins-DAAP + +%add_gconf_schemas %{name}-plugin-daap + +%end_gconf_schemas +%endif +%if %suse_version >= 1030 + +%pre -f %{name}.schemas_pre + +%pre plugins-default -f %{name}-plugins-default.schemas_pre + +%pre plugins-extra -f %{name}-plugins-extra.schemas_pre + +%pre plugins-DAAP -f %{name}-plugins-DAAP.schemas_pre %endif %post -export GCONF_CONFIG_SOURCE=`%{gconf_config_source}` -%{gconf_schema_install}/banshee-core.schemas > /dev/null -%{gconf_schema_install}/banshee-interface.schemas > /dev/null +%if %suse_version >= 1030 + if test -x usr/bin/update-mime-database ; then + usr/bin/update-mime-database usr/share/mime >/dev/null + fi +%else + export GCONF_CONFIG_SOURCE=`%{gconf_config_source}` + %{gconf_schema_install}/banshee-core.schemas > /dev/null + %{gconf_schema_install}/banshee-interface.schemas > /dev/null +%endif %run_ldconfig %post plugins-default +%if %suse_version < 1030 export GCONF_CONFIG_SOURCE=`%{gconf_config_source}` %{gconf_schema_install}/banshee-plugin-metadatasearcher.schemas > /dev/null %{gconf_schema_install}/banshee-plugin-mmkeys.schemas > /dev/null %{gconf_schema_install}/banshee-plugin-notificationarea.schemas > /dev/null +%endif %post plugins-extra +%if %suse_version < 1030 export GCONF_CONFIG_SOURCE=`%{gconf_config_source}` %{gconf_schema_install}/banshee-plugin-radio.schemas > /dev/null %{gconf_schema_install}/banshee-plugin-podcast.schemas > /dev/null %{gconf_schema_install}/banshee-plugin-minimode.schemas > /dev/null %{gconf_schema_install}/banshee-plugin-recommendation.schemas > /dev/null +%endif %post plugins-DAAP +%if %suse_version < 1030 export GCONF_CONFIG_SOURCE=`%{gconf_config_source}` %{gconf_schema_install}/banshee-plugin-daap.schemas > /dev/null +%endif +%if %suse_version >= 1030 + +%posttrans -f %{name}.schemas_posttrans + +%posttrans plugins-default -f %{name}-plugins-default.schemas_posttrans + +%posttrans plugins-extra -f %{name}-plugins-extra.schemas_posttrans + +%posttrans plugins-DAAP -f %{name}-plugins-DAAP.schemas_posttrans +%endif +%if %suse_version >= 1030 + +%preun -f %{name}.schemas_preun + +%preun plugins-default -f %{name}-plugins-default.schemas_preun + +%preun plugins-extra -f %{name}-plugins-extra.schemas_preun + +%preun plugins-DAAP -f %{name}-plugins-DAAP.schemas_preun +%endif %clean -rm -rf $RPM_BUILD_ROOT +### rm -rf $RPM_BUILD_ROOT +%if %suse_version < 1030 %files +%else + +%files -f %{name}.schemas_list +%endif %defattr(-,root,root) %doc AUTHORS NEWS README COPYING %{prefix}/bin/banshee @@ -329,20 +441,20 @@ %{prefix}/%{_lib}/banshee/Banshee.Dap/njb-sharp.dll* %{prefix}/%{_lib}/banshee/Banshee.Dap/libnjbglue.* %if %HELIX_BANSHEE == 1 -%{prefix}/%{_lib}/banshee/branding.dll + %{prefix}/%{_lib}/banshee/branding.dll %endif %{prefix}/share/applications/banshee.desktop %{prefix}/share/dbus-1/services/org.gnome.Banshee.service %{prefix}/share/locale/*/LC_MESSAGES/banshee.mo %{prefix}/share/banshee/audio-profiles/*.xml -%{sysconfdir}/gconf/schemas/banshee-interface.schemas -%{sysconfdir}/gconf/schemas/banshee-core.schemas +%if %suse_version < 1030 + %{sysconfdir}/gconf/schemas/banshee-interface.schemas + %{sysconfdir}/gconf/schemas/banshee-core.schemas +%endif %{gstreamerprefix}/share/icons/hicolor/16x16/apps/music-player-banshee.png %{gstreamerprefix}/share/icons/hicolor/22x22/apps/music-player-banshee.png %{gstreamerprefix}/share/icons/hicolor/24x24/apps/music-player-banshee.png -%if %HELIX_BANSHEE == 0 %{gstreamerprefix}/share/icons/hicolor/32x32/apps/music-player-banshee.png -%endif %{gstreamerprefix}/share/icons/hicolor/scalable/apps/music-player-banshee.svg #%{prefix}/%{_lib}/monodoc/sources/banshee-docs.source #%{prefix}/%{_lib}/monodoc/sources/banshee-docs.tree @@ -370,38 +482,77 @@ %{prefix}/%{_lib}/banshee/transwav %endif %endif +%if %suse_version < 1030 %files plugins-default +%else + +%files plugins-default -f %{name}-plugins-default.schemas_list +%endif %defattr(-,root,root) +%if %suse_version < 1030 %{sysconfdir}/gconf/schemas/banshee-plugin-audioscrobbler.schemas %{sysconfdir}/gconf/schemas/banshee-plugin-metadatasearcher.schemas %{sysconfdir}/gconf/schemas/banshee-plugin-mmkeys.schemas %{sysconfdir}/gconf/schemas/banshee-plugin-notificationarea.schemas +%endif %dir %{prefix}/%{_lib}/banshee/Banshee.Plugins %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.Audioscrobbler.dll* %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.MMKeys.dll* %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.MetadataSearch.dll* %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.NotificationAreaIcon.dll* +%if %suse_version < 1030 %files plugins-extra +%else + +%files plugins-extra -f %{name}-plugins-extra.schemas_list +%endif %defattr(-,root,root) +%if %suse_version < 1030 %{sysconfdir}/gconf/schemas/banshee-plugin-recommendation.schemas %{sysconfdir}/gconf/schemas/banshee-plugin-minimode.schemas %{sysconfdir}/gconf/schemas/banshee-plugin-podcast.schemas %{sysconfdir}/gconf/schemas/banshee-plugin-radio.schemas +%endif %dir %{prefix}/%{_lib}/banshee/Banshee.Plugins %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.MiniMode.dll* %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.Podcast.dll* %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.Recommendation.dll* %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.Radio.dll* +%if %suse_version < 1030 %files plugins-DAAP +%else + +%files plugins-DAAP -f %{name}-plugins-DAAP.schemas_list +%endif %defattr(-,root,root) +%if %suse_version < 1030 %{sysconfdir}/gconf/schemas/banshee-plugin-daap.schemas +%endif %dir %{prefix}/%{_lib}/banshee/Banshee.Plugins %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.Daap.dll* %changelog +* Fri Apr 06 2007 - maw@suse.de +- Update to version 0.12.1 +- Fixes for #257156, #239013, and #239107 +- Support iTunes 7.1, HFS+ iPods, and iPod Shuffle 2nd generations +* Fri Apr 06 2007 - maw@suse.de +- Fix the build for helix-banshee as well -- use pushd/popd + instead of cd in the %%install section +- Rename the schemas installed with helix-banshee from + banshee*schemas to helix-banshee*schemas. +* Thu Apr 05 2007 - maw@suse.de +- Fix the build + * Package certain hitherto unpackaged files in both banshee and + helix-banshee + * Use the wacky fun magic gconf scripts. +- helix-banshee.spec is created as a copy of banshee.spec with + a few things changed. This is now performed via the small + script helix-banshee-fixup.sh. If the two specs diverge further, + the script can be enhanced. * Tue Mar 27 2007 - sbrabec@suse.cz - Build correctly with avahi-mono in GNOME Build Service. * Thu Mar 08 2007 - sbrabec@suse.cz ++++++ helix-banshee.spec ++++++ --- /var/tmp/diff_new_pack.x25304/_old 2007-04-07 10:01:41.000000000 +0200 +++ /var/tmp/diff_new_pack.x25304/_new 2007-04-07 10:01:41.000000000 +0200 @@ -13,8 +13,8 @@ Name: helix-banshee %define HELIX_BANSHEE 1 # WARNING: If you are editing helix-banshee.spec, STOP. Always edit -# banshee.spec and then copy that to helix-banshee.spec. Only the above -# two variables should ever differ from banshee.spec. +# banshee.spec and then run helix-banshee-fixup.sh which will create +# helix-banshee.spec based upon banshee.spec. %if %HELIX_BANSHEE == 1 ExclusiveArch: %ix86 x86_64 %else @@ -57,12 +57,13 @@ PreReq: filesystem gconf2 Requires: mono-core Version: 0.12.0 -Release: 3 +Release: 4 Source0: banshee-%{version}.tar.bz2 %if %HELIX_BANSHEE == 1 Source1: gstreamer-xing-0.10.2.tar.gz Source2: helix-banshee-client-%{hxbc_version}.tar.bz2 %endif +Source3: helix-banshee-fixup.sh URL: http://banshee-project.org BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: A Music Player @@ -84,6 +85,10 @@ Conflicts: helix-banshee Recommends: banshee-engine-gst banshee-plugins-default banshee-plugins-extra %endif +%if %suse_version >= 1030 + +%gconf_schemas_prereq +%endif %description Helix Banshee is a music management and playback application. It @@ -161,6 +166,10 @@ Group: Productivity/Multimedia/Sound/Players Autoreqprov: on Requires: %{name} = %{version} +%if %suse_version >= 1030 + +%gconf_schemas_prereq +%endif %description plugins-default A default set of plugins for Helix Banshee including AudioScrobbler @@ -177,6 +186,10 @@ Group: Productivity/Multimedia/Sound/Players Autoreqprov: on Requires: %{name} = %{version} +%if %suse_version >= 1030 + +%gconf_schemas_prereq +%endif %description plugins-extra Plugins for Podcasting, MiniMode, and automatic music recommendations @@ -192,6 +205,10 @@ Group: Productivity/Multimedia/Sound/Players Autoreqprov: on Requires: %{name} = %{version} +%if %suse_version >= 1030 + +%gconf_schemas_prereq +%endif %description plugins-DAAP Digital Audio Access Protocol plugin for Helix Banshee @@ -246,61 +263,156 @@ %install export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=$RPM_BUILD_ROOT +# the magic gconf macros don't seem to work with schema files named +# banshee-whatever when the package is really named helix-banshee, so we +# perform this unutterable incantation. +%if %HELIX_BANSHEE == 1 + %if %suse_version >= 1030 + pushd $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas + for i in *.schemas; do + mv $i helix-$i + done + popd + %endif +%endif unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL %suse_update_desktop_file banshee AudioVideo Player %if %suse_version < 1030 -mkdir -p $RPM_BUILD_ROOT%{gstreamerprefix}/share -mv $RPM_BUILD_ROOT%{prefix}/share/icons $RPM_BUILD_ROOT%{gstreamerprefix}/share/ + mkdir -p $RPM_BUILD_ROOT%{gstreamerprefix}/share + mv $RPM_BUILD_ROOT%{prefix}/share/icons $RPM_BUILD_ROOT%{gstreamerprefix}/share/ %endif %if %HELIX_BANSHEE == 1 -%suse_update_desktop_file "-C" "Play and organize music" "-G" "Music Player" "-N" "Helix Banshee" %{src_name} + %suse_update_desktop_file "-C" "Play and organize music" "-G" "Music Player" "-N" "Helix Banshee" %{src_name} %else -%suse_update_desktop_file "-C" "Play and organize music" "-G" "Music Player" "-N" "Banshee" %{src_name} + %suse_update_desktop_file "-C" "Play and organize music" "-G" "Music Player" "-N" "Banshee" %{src_name} %endif %if %HELIX_BANSHEE == 1 -cd ../helix-banshee-client-%{hxbc_version} -export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 -make install DESTDIR=$RPM_BUILD_ROOT -%if %suse_version < 1030 -rm -rf $RPM_BUILD_ROOT%{gstreamerprefix}/share/icons -mv $RPM_BUILD_ROOT%{prefix}/share/icons $RPM_BUILD_ROOT%{gstreamerprefix}/share/ + pushd ../helix-banshee-client-%{hxbc_version} + export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 + make install DESTDIR=$RPM_BUILD_ROOT + %if %suse_version < 1030 + rm -rf $RPM_BUILD_ROOT%{gstreamerprefix}/share/icons + mv $RPM_BUILD_ROOT%{prefix}/share/icons $RPM_BUILD_ROOT%{gstreamerprefix}/share/ + %endif + unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL + popd + pushd ../gstreamer-xing-0.10.2 + make install DESTDIR=$RPM_BUILD_ROOT + rm -f $RPM_BUILD_ROOT/%{gstreamerprefix}/%{_lib}/gstreamer-%{gst_branch}/*.*a + # These two lines ensure gstreamer plugins installed become PRIVATE to Banshee + mkdir -p $RPM_BUILD_ROOT/usr/%{_lib}/banshee/gstreamer-%{gst_branch}/ + mv $RPM_BUILD_ROOT/%{gstreamerprefix}/%{_lib}/gstreamer-%{gst_branch}/*.so $RPM_BUILD_ROOT/usr/%{_lib}/banshee/gstreamer-%{gst_branch}/ + popd %endif -unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL -cd ../gstreamer-xing-0.10.2 -make install DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT/%{gstreamerprefix}/%{_lib}/gstreamer-%{gst_branch}/*.*a -# These two lines ensure gstreamer plugins installed become PRIVATE to Banshee -mkdir -p $RPM_BUILD_ROOT/usr/%{_lib}/banshee/gstreamer-%{gst_branch}/ -mv $RPM_BUILD_ROOT/%{gstreamerprefix}/%{_lib}/gstreamer-%{gst_branch}/*.so $RPM_BUILD_ROOT/usr/%{_lib}/banshee/gstreamer-%{gst_branch}/ +%if %suse_version >= 1030 + +%def_gconf_schemas %{name} + +%add_gconf_schemas %{name}-core + +%add_gconf_schemas %{name}-interface + +%def_gconf_schemas %{name}-plugins-default + +%add_gconf_schemas %{name}-plugin-audioscrobbler + +%add_gconf_schemas %{name}-plugin-metadatasearcher + +%add_gconf_schemas %{name}-plugin-mmkeys + +%add_gconf_schemas %{name}-plugin-notificationarea + +%def_gconf_schemas %{name}-plugins-extra + +%add_gconf_schemas %{name}-plugin-recommendation + +%add_gconf_schemas %{name}-plugin-minimode + +%add_gconf_schemas %{name}-plugin-podcast + +%add_gconf_schemas %{name}-plugin-radio + +%def_gconf_schemas %{name}-plugins-DAAP + +%add_gconf_schemas %{name}-plugin-daap + +%end_gconf_schemas +%endif +%if %suse_version >= 1030 + +%pre -f %{name}.schemas_pre + +%pre plugins-default -f %{name}-plugins-default.schemas_pre + +%pre plugins-extra -f %{name}-plugins-extra.schemas_pre + +%pre plugins-DAAP -f %{name}-plugins-DAAP.schemas_pre %endif %post -export GCONF_CONFIG_SOURCE=`%{gconf_config_source}` -%{gconf_schema_install}/banshee-core.schemas > /dev/null -%{gconf_schema_install}/banshee-interface.schemas > /dev/null +%if %suse_version >= 1030 + if test -x usr/bin/update-mime-database ; then + usr/bin/update-mime-database usr/share/mime >/dev/null + fi +%else + export GCONF_CONFIG_SOURCE=`%{gconf_config_source}` + %{gconf_schema_install}/banshee-core.schemas > /dev/null + %{gconf_schema_install}/banshee-interface.schemas > /dev/null +%endif %run_ldconfig %post plugins-default +%if %suse_version < 1030 export GCONF_CONFIG_SOURCE=`%{gconf_config_source}` %{gconf_schema_install}/banshee-plugin-metadatasearcher.schemas > /dev/null %{gconf_schema_install}/banshee-plugin-mmkeys.schemas > /dev/null %{gconf_schema_install}/banshee-plugin-notificationarea.schemas > /dev/null +%endif %post plugins-extra +%if %suse_version < 1030 export GCONF_CONFIG_SOURCE=`%{gconf_config_source}` %{gconf_schema_install}/banshee-plugin-radio.schemas > /dev/null %{gconf_schema_install}/banshee-plugin-podcast.schemas > /dev/null %{gconf_schema_install}/banshee-plugin-minimode.schemas > /dev/null %{gconf_schema_install}/banshee-plugin-recommendation.schemas > /dev/null +%endif %post plugins-DAAP +%if %suse_version < 1030 export GCONF_CONFIG_SOURCE=`%{gconf_config_source}` %{gconf_schema_install}/banshee-plugin-daap.schemas > /dev/null +%endif +%if %suse_version >= 1030 + +%posttrans -f %{name}.schemas_posttrans + +%posttrans plugins-default -f %{name}-plugins-default.schemas_posttrans + +%posttrans plugins-extra -f %{name}-plugins-extra.schemas_posttrans + +%posttrans plugins-DAAP -f %{name}-plugins-DAAP.schemas_posttrans +%endif +%if %suse_version >= 1030 + +%preun -f %{name}.schemas_preun + +%preun plugins-default -f %{name}-plugins-default.schemas_preun + +%preun plugins-extra -f %{name}-plugins-extra.schemas_preun + +%preun plugins-DAAP -f %{name}-plugins-DAAP.schemas_preun +%endif %clean -rm -rf $RPM_BUILD_ROOT +### rm -rf $RPM_BUILD_ROOT +%if %suse_version < 1030 %files +%else + +%files -f %{name}.schemas_list +%endif %defattr(-,root,root) %doc AUTHORS NEWS README COPYING %{prefix}/bin/banshee @@ -329,20 +441,20 @@ %{prefix}/%{_lib}/banshee/Banshee.Dap/njb-sharp.dll* %{prefix}/%{_lib}/banshee/Banshee.Dap/libnjbglue.* %if %HELIX_BANSHEE == 1 -%{prefix}/%{_lib}/banshee/branding.dll + %{prefix}/%{_lib}/banshee/branding.dll %endif %{prefix}/share/applications/banshee.desktop %{prefix}/share/dbus-1/services/org.gnome.Banshee.service %{prefix}/share/locale/*/LC_MESSAGES/banshee.mo %{prefix}/share/banshee/audio-profiles/*.xml -%{sysconfdir}/gconf/schemas/banshee-interface.schemas -%{sysconfdir}/gconf/schemas/banshee-core.schemas +%if %suse_version < 1030 + %{sysconfdir}/gconf/schemas/banshee-interface.schemas + %{sysconfdir}/gconf/schemas/banshee-core.schemas +%endif %{gstreamerprefix}/share/icons/hicolor/16x16/apps/music-player-banshee.png %{gstreamerprefix}/share/icons/hicolor/22x22/apps/music-player-banshee.png %{gstreamerprefix}/share/icons/hicolor/24x24/apps/music-player-banshee.png -%if %HELIX_BANSHEE == 0 %{gstreamerprefix}/share/icons/hicolor/32x32/apps/music-player-banshee.png -%endif %{gstreamerprefix}/share/icons/hicolor/scalable/apps/music-player-banshee.svg #%{prefix}/%{_lib}/monodoc/sources/banshee-docs.source #%{prefix}/%{_lib}/monodoc/sources/banshee-docs.tree @@ -370,34 +482,55 @@ %{prefix}/%{_lib}/banshee/transwav %endif %endif +%if %suse_version < 1030 %files plugins-default +%else + +%files plugins-default -f %{name}-plugins-default.schemas_list +%endif %defattr(-,root,root) +%if %suse_version < 1030 %{sysconfdir}/gconf/schemas/banshee-plugin-audioscrobbler.schemas %{sysconfdir}/gconf/schemas/banshee-plugin-metadatasearcher.schemas %{sysconfdir}/gconf/schemas/banshee-plugin-mmkeys.schemas %{sysconfdir}/gconf/schemas/banshee-plugin-notificationarea.schemas +%endif %dir %{prefix}/%{_lib}/banshee/Banshee.Plugins %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.Audioscrobbler.dll* %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.MMKeys.dll* %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.MetadataSearch.dll* %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.NotificationAreaIcon.dll* +%if %suse_version < 1030 %files plugins-extra +%else + +%files plugins-extra -f %{name}-plugins-extra.schemas_list +%endif %defattr(-,root,root) +%if %suse_version < 1030 %{sysconfdir}/gconf/schemas/banshee-plugin-recommendation.schemas %{sysconfdir}/gconf/schemas/banshee-plugin-minimode.schemas %{sysconfdir}/gconf/schemas/banshee-plugin-podcast.schemas %{sysconfdir}/gconf/schemas/banshee-plugin-radio.schemas +%endif %dir %{prefix}/%{_lib}/banshee/Banshee.Plugins %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.MiniMode.dll* %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.Podcast.dll* %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.Recommendation.dll* %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.Radio.dll* +%if %suse_version < 1030 %files plugins-DAAP +%else + +%files plugins-DAAP -f %{name}-plugins-DAAP.schemas_list +%endif %defattr(-,root,root) +%if %suse_version < 1030 %{sysconfdir}/gconf/schemas/banshee-plugin-daap.schemas +%endif %dir %{prefix}/%{_lib}/banshee/Banshee.Plugins %{prefix}/%{_lib}/banshee/Banshee.Plugins/Banshee.Plugins.Daap.dll* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org