Hello community, here is the log from the commit of package gnote for openSUSE:Factory checked in at Mon Feb 14 01:42:13 CET 2011. -------- --- GNOME/gnote/gnote.changes 2010-12-18 15:56:55.000000000 +0100 +++ /mounts/work_src_done/STABLE/gnote/gnote.changes 2011-02-12 20:25:20.000000000 +0100 @@ -1,0 +2,12 @@ +Sat Feb 12 18:46:05 CET 2011 - vuntz@opensuse.org + +- Call relevant macros in %post/%postun: + + %desktop_database_post/postun because the package ships at + least one desktop file. + + %icon_theme_cache_post/postun because the package ships themed + icons. +- Pass %{?no_lang_C} to %find_lang so that english documentation + can be packaged with the program, and not in the lang subpackage. +- Add missing Recommends for lang subpackage. + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gnote.spec ++++++ --- /var/tmp/diff_new_pack.IMqhvG/_old 2011-02-14 01:41:50.000000000 +0100 +++ /var/tmp/diff_new_pack.IMqhvG/_new 2011-02-14 01:41:50.000000000 +0100 @@ -20,12 +20,12 @@ Name: gnote Version: 0.7.3 -Release: 1 +Release: 2 License: GNU GPL v3 or later +Summary: A Port of Tomboy to C++ Group: Productivity/Text/Editors Url: http://live.gnome.org/Gnote Source: %{name}-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: boost-devel >= 1.34 BuildRequires: fdupes BuildRequires: gcc-c++ @@ -40,15 +40,14 @@ BuildRequires: libxslt-devel BuildRequires: pcre-devel BuildRequires: update-desktop-files +Recommends: %{name}-lang +BuildRoot: %{_tmppath}/%{name}-%{version}-build %gconf_schemas_prereq -Summary: A Port of Tomboy to C++ %description It is the same note taking application, including most of the add-ins (more are to come). Synchronization support is being worked on. - - %lang_package %prep %setup -q @@ -61,7 +60,10 @@ %__make install DESTDIR=%{buildroot} %suse_update_desktop_file gnote Utility DesktopUtility %find_gconf_schemas -%find_lang %{name} +%find_lang %{name} %{?no_lang_C} + +%clean +test "%{buildroot}" != "/" && %__rm -rf %{buildroot} %pre -f %{name}.schemas_pre @@ -69,17 +71,35 @@ %posttrans -f %{name}.schemas_posttrans -%clean -test "%{buildroot}" != "/" && %__rm -rf %{buildroot} +%if 0%{?suse_version} > 1130 + +%post +%desktop_database_post +%icon_theme_cache_post +%endif + +%if 0%{?suse_version} > 1130 + +%postun +%desktop_database_postun +%icon_theme_cache_postun +%endif %files -f %{name}.schemas_list %defattr(-,root,root) +%dir %{_datadir}/gnome/ +%dir %{_datadir}/gnome/help/ +%dir %{_datadir}/gnome/help/%{name}/ +%doc %{_datadir}/gnome/help/%{name}/C/ +%dir %{_datadir}/omf/ +%dir %{_datadir}/omf/%{name}/ +%doc %{_datadir}/omf/%{name}/%{name}-C.omf %{_bindir}/gnote %{_prefix}/lib/gnote-applet %{_libdir}/bonobo/servers/GNOME_GnoteApplet.server -%{_libdir}/gnote +%{_libdir}/gnote/ %{_datadir}/applications/gnote.desktop -%{_datadir}/gnote +%{_datadir}/gnote/ %{_datadir}/icons/hicolor/*/apps/gnote.* %{_mandir}/man1/gnote.1* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org