Accepting request 61146 from home:vuntz:branches:GNOME:Factory

Forwarding to openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/61146
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/evolution?expand=0&rev=109
This commit is contained in:
Vincent Untz 2011-02-14 11:24:22 +00:00 committed by Git OBS Bridge
parent 262991ff10
commit 0b0d4a7db6
2 changed files with 25 additions and 5 deletions

View File

@ -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 Sat Dec 18 23:38:40 UTC 2010 - badshah400@gmail.com

View File

@ -96,8 +96,8 @@ Patch54: bnc-445996-address-conflict.patch
Patch55: evolution-mono2.patch Patch55: evolution-mono2.patch
Url: http://gnome.org/projects/evolution/ Url: http://gnome.org/projects/evolution/
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
Recommends: %{name}-lang
Recommends: bogofilter Recommends: bogofilter
Requires: %{name}-lang = %{version}
%gconf_schemas_prereq %gconf_schemas_prereq
%description %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 -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-alarm-notify
%suse_update_desktop_file evolution-settings %suse_update_desktop_file evolution-settings
%find_lang evolution-%evolution_base_version %find_lang evolution-%evolution_base_version %{?no_lang_C}
%find_lang evolution evolution-%evolution_base_version.lang %find_lang evolution %{?no_lang_C} evolution-%evolution_base_version.lang
%find_gconf_schemas %find_gconf_schemas
%{__rm} -r %{buildroot}%{_datadir}/mime-info %{__rm} -r %{buildroot}%{_datadir}/mime-info
%if %USE_EVOLDAP %if %USE_EVOLDAP
@ -249,7 +249,7 @@ grep -q "^Categories=.*Office" %{buildroot}%{_datadir}/applications/evolution.de
%post %post
%desktop_database_post %desktop_database_post
%mime_database_post %icon_theme_cache_post
%posttrans -f %{name}.schemas_posttrans %posttrans -f %{name}.schemas_posttrans
@ -257,11 +257,18 @@ grep -q "^Categories=.*Office" %{buildroot}%{_datadir}/applications/evolution.de
%postun %postun
%desktop_database_postun %desktop_database_postun
%mime_database_postun %icon_theme_cache_postun
%files -f %{name}.schemas_list %files -f %{name}.schemas_list
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING COPYING.LGPL2 COPYING.LGPL3 COPYING-DOCS COPYING.OPENLDAP ChangeLog MAINTAINERS NEWS NEWS-1.0 README %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}/* %{_bindir}/*
%{_datadir}/applications/*.desktop %{_datadir}/applications/*.desktop
%{_datadir}/evolution %{_datadir}/evolution