Hello community, here is the log from the commit of package blueproximity for openSUSE:Factory checked in at Mon Feb 14 01:45:33 CET 2011. -------- --- blueproximity/blueproximity.changes 2010-08-12 16:23:29.000000000 +0200 +++ /mounts/work_src_done/STABLE/blueproximity/blueproximity.changes 2011-02-12 20:23:33.000000000 +0100 @@ -1,0 +2,10 @@ +Sat Feb 12 16:55:57 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 translations in lang subpackage. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ blueproximity.spec ++++++ --- /var/tmp/diff_new_pack.MUZfPq/_old 2011-02-14 01:45:25.000000000 +0100 +++ /var/tmp/diff_new_pack.MUZfPq/_new 2011-02-14 01:45:25.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package blueproximity (Version 1.2.5) +# spec file for package blueproximity # -# 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: blueproximity Version: 1.2.5 -Release: 2 +Release: 3 License: GPLv2 Summary: Utility to lock/unlock the screen based on the presence of bluetooth devices Url: http://blueproximity.sourceforge.net/ @@ -36,6 +36,7 @@ Requires: python-configobj >= 4.7.0 Requires: python-gtk >= 2.17 Requires: python-pybluez +Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -44,6 +45,7 @@ unlocking the screen when you and your phone leave/enter the desk. Think of a proximity detector for your mobile phone via bluetooth. +%lang_package %prep %setup -q -n %{name}-%{version}.orig %patch0 -p0 @@ -88,12 +90,24 @@ %suse_update_desktop_file -i -r -G "Bluetooth Security Lock" %{name} GNOME GTK Settings HardwareSettings # Find Languages -%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) %doc ChangeLog COPYING README doc/manual* %{_bindir}/%{name} @@ -103,4 +117,6 @@ %{_datadir}/pixmaps/%{name}_base.svg %{_datadir}/pixmaps/blueproximity.xpm +%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