Hello community, here is the log from the commit of package decibel-audio-player for openSUSE:Factory checked in at Mon Feb 14 01:44:19 CET 2011. -------- --- decibel-audio-player/decibel-audio-player.changes 2010-10-28 15:46:36.000000000 +0200 +++ /mounts/work_src_done/STABLE/decibel-audio-player/decibel-audio-player.changes 2011-02-12 20:23:53.000000000 +0100 @@ -1,0 +2,10 @@ +Sat Feb 12 17:08:06 CET 2011 - vuntz@opensuse.org + +- Call relevant macros in %post/%postun: + + %desktop_database_post/postun because the package ships at + least one desktop file. +- Pass %{?no_lang_C} to %find_lang so that english documentation + can be packaged with the program, and not in the lang subpackage. +- Split lang subpackage. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ decibel-audio-player.spec ++++++ --- /var/tmp/diff_new_pack.FvhqoP/_old 2011-02-14 01:44:13.000000000 +0100 +++ /var/tmp/diff_new_pack.FvhqoP/_new 2011-02-14 01:44:13.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package decibel-audio-player (Version 1.06) +# spec file for package decibel-audio-player # -# 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 @@ -19,7 +19,7 @@ Name: decibel-audio-player Version: 1.06 -Release: 1 +Release: 2 License: GPLv2+ Summary: Decibel Audio Player Is an Easy to Use Audio Player Url: http://decibel.silent-blade.org/ @@ -32,6 +32,7 @@ Requires: python-gstreamer-0_10 Requires: python-gtk Requires: python-mutagen +Recommends: %{name}-lang # For the optional zeitgeist module Suggests: zeitgeist BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -44,6 +45,7 @@ by mean of a very clean and user friendly interface. It is especially targeted at Gnome and will follow as closely as possible the Gnome HIG. +%lang_package %prep %setup -q @@ -53,12 +55,24 @@ export CFLAGS="%{optflags}" DESTDIR=%{buildroot} prefix=/usr make install %suse_update_desktop_file -N "Decibel" -G "Audio Player" %name AudioVideo Player -%find_lang %{name} +%find_lang %{name} %{?no_lang_C} %clean rm -rf %{buildroot} -%files -f %{name}.lang +%if 0%{?suse_version} > 1130 + +%post +%desktop_database_post +%endif + +%if 0%{?suse_version} > 1130 + +%postun +%desktop_database_postun +%endif + +%files %defattr(-,root,root,-) %{_bindir}/* %{_datadir}/%{name}/ @@ -67,4 +81,6 @@ %{_datadir}/applications/*.desktop %{_datadir}/pixmaps/*.png +%files lang -f %{name}.lang + %changelog ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org