diff --git a/evolution.changes b/evolution.changes index 507d283..46d10e6 100644 --- a/evolution.changes +++ b/evolution.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Sun Feb 13 14:03:33 CET 2011 - vuntz@opensuse.org + +- Call missing relevant macros in %post/%postun: + + %icon_theme_cache_post/postun because the package ships themed + icons. +- Stop calling %mime_database_post/postun: there is no mime type + definition. +- Pass %{?no_lang_C} to %find_lang so that english documentation + can be packaged with the program, and not in the lang subpackage. +- Change Requires of lang subpackage to Recommends, since the + english documentation is not there anymore. + ------------------------------------------------------------------- Sat Dec 18 23:38:40 UTC 2010 - badshah400@gmail.com diff --git a/evolution.spec b/evolution.spec index 81d9508..c9140bf 100644 --- a/evolution.spec +++ b/evolution.spec @@ -96,8 +96,8 @@ Patch54: bnc-445996-address-conflict.patch Patch55: evolution-mono2.patch Url: http://gnome.org/projects/evolution/ BuildRoot: %{_tmppath}/%{name}-%{version}-build +Recommends: %{name}-lang Recommends: bogofilter -Requires: %{name}-lang = %{version} %gconf_schemas_prereq %description @@ -231,8 +231,8 @@ grep -q "^Categories=.*Office" %{buildroot}%{_datadir}/applications/evolution.de %suse_update_desktop_file -r -G "Mail and Calendar" -N "Evolution" -D "evolution" evolution GNOME GTK Network Email Calendar ContactManagement %suse_update_desktop_file evolution-alarm-notify %suse_update_desktop_file evolution-settings -%find_lang evolution-%evolution_base_version -%find_lang evolution evolution-%evolution_base_version.lang +%find_lang evolution-%evolution_base_version %{?no_lang_C} +%find_lang evolution %{?no_lang_C} evolution-%evolution_base_version.lang %find_gconf_schemas %{__rm} -r %{buildroot}%{_datadir}/mime-info %if %USE_EVOLDAP @@ -249,7 +249,7 @@ grep -q "^Categories=.*Office" %{buildroot}%{_datadir}/applications/evolution.de %post %desktop_database_post -%mime_database_post +%icon_theme_cache_post %posttrans -f %{name}.schemas_posttrans @@ -257,11 +257,18 @@ grep -q "^Categories=.*Office" %{buildroot}%{_datadir}/applications/evolution.de %postun %desktop_database_postun -%mime_database_postun +%icon_theme_cache_postun %files -f %{name}.schemas_list %defattr(-,root,root) %doc AUTHORS COPYING COPYING.LGPL2 COPYING.LGPL3 COPYING-DOCS COPYING.OPENLDAP ChangeLog MAINTAINERS NEWS NEWS-1.0 README +%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}/* %{_datadir}/applications/*.desktop %{_datadir}/evolution