From 48cee5322b561e476cace9581c4a2bc7ee408a20 Mon Sep 17 00:00:00 2001 From: Marcin Banasiak Date: Wed, 4 May 2011 13:02:02 +0000 Subject: [PATCH] - updated desktop files (added missing MimeTypes) - release 2 Changed files: evolution-addressbook.desktop -> 1.5 evolution-calendar.desktop -> 1.5 evolution-mail.desktop -> 1.7 evolution-tasks.desktop -> 1.5 evolution.spec -> 1.290 --- evolution-addressbook.desktop | 8 ++++---- evolution-calendar.desktop | 5 +++-- evolution-mail.desktop | 6 +++--- evolution-tasks.desktop | 3 +-- evolution.spec | 12 +++++++++++- 5 files changed, 22 insertions(+), 12 deletions(-) diff --git a/evolution-addressbook.desktop b/evolution-addressbook.desktop index 18d032f..60d99f2 100644 --- a/evolution-addressbook.desktop +++ b/evolution-addressbook.desktop @@ -52,11 +52,11 @@ Exec=evolution -c contacts Icon=stock_addressbook Terminal=false Type=Application -Categories=GTK;GNOME;Utility; +Categories=GTK;GNOME;Office;ContactManagement; StartupNotify=true -MimeType=text/x-vcard; +MimeType=text/x-vcard;text/directory; X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=Evolution X-GNOME-Bugzilla-Component=BugBuddyBugs -X-GNOME-Bugzilla-Version=2.28.x -X-GNOME-Bugzilla-OtherBinaries=evolution-data-server-2.28;evolution-exchange-storage;evolution-alarm-notify; +X-GNOME-Bugzilla-Version=3.0.x +X-GNOME-Bugzilla-OtherBinaries=e-addressbook-factory diff --git a/evolution-calendar.desktop b/evolution-calendar.desktop index d522b09..2697f29 100644 --- a/evolution-calendar.desktop +++ b/evolution-calendar.desktop @@ -54,8 +54,9 @@ Terminal=false Type=Application Categories=GTK;GNOME;Office;Calendar; StartupNotify=true +MimeType=text/calendar; X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=Evolution X-GNOME-Bugzilla-Component=BugBuddyBugs -X-GNOME-Bugzilla-Version=2.28.x -X-GNOME-Bugzilla-OtherBinaries=evolution-data-server-2.28;evolution-exchange-storage;evolution-alarm-notify; +X-GNOME-Bugzilla-Version=3.0.x +X-GNOME-Bugzilla-OtherBinaries=e-calendar-factory diff --git a/evolution-mail.desktop b/evolution-mail.desktop index c1e5a8d..0b08319 100644 --- a/evolution-mail.desktop +++ b/evolution-mail.desktop @@ -52,10 +52,10 @@ Exec=evolution -c mail Icon=evolution Terminal=false Type=Application -Categories=GTK;GNOME;Network;Email; +Categories=GTK;GNOME;Office;Network;Email; StartupNotify=true +MimeType=application/mbox;message/rfc822;x-scheme-handler/mailto; X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=Evolution X-GNOME-Bugzilla-Component=BugBuddyBugs -X-GNOME-Bugzilla-Version=2.28.x -X-GNOME-Bugzilla-OtherBinaries=evolution-data-server-2.28;evolution-exchange-storage;evolution-alarm-notify; +X-GNOME-Bugzilla-Version=3.0.x diff --git a/evolution-tasks.desktop b/evolution-tasks.desktop index 33234b2..51a46e5 100644 --- a/evolution-tasks.desktop +++ b/evolution-tasks.desktop @@ -57,5 +57,4 @@ StartupNotify=true X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Product=Evolution X-GNOME-Bugzilla-Component=BugBuddyBugs -X-GNOME-Bugzilla-Version=2.28.x -X-GNOME-Bugzilla-OtherBinaries=evolution-data-server-2.28;evolution-exchange-storage;evolution-alarm-notify; +X-GNOME-Bugzilla-Version=3.0.x diff --git a/evolution.spec b/evolution.spec index ce06585..f1ab19e 100644 --- a/evolution.spec +++ b/evolution.spec @@ -11,7 +11,7 @@ Summary(pt_BR.UTF-8): Cliente de email integrado com calendário e catálogo de Summary(zh_CN.UTF-8): Evolution - GNOME个人和工作组信息管理工具(包括电子邮件,日历和地址薄) Name: evolution Version: 3.0.1 -Release: 1 +Release: 2 License: GPL v2+ Group: X11/Applications Source0: http://ftp.gnome.org/pub/GNOME/sources/evolution/3.0/%{name}-%{version}.tar.bz2 @@ -164,6 +164,7 @@ aplicações. Summary: Evolution mail component Summary(pl.UTF-8): Moduł pocztowy Evolution Group: X11/Applications/Mail +Requires(post,postun): desktop-file-utils Requires(post,preun): GConf2 # mail composer requires addressbook component Requires: %{name}-addressbook = %{version}-%{release} @@ -194,6 +195,7 @@ Książka adresowa Evolution. Summary: Evolution calendar and todo component Summary(pl.UTF-8): Moduł kalendarza i listy zadań Evolution Group: X11/Applications +Requires(post,postun): desktop-file-utils Requires(post,preun): GConf2 Requires: %{name} = %{version}-%{release} Provides: %{name}-component = %{version}-%{release} @@ -308,6 +310,7 @@ rm -rf $RPM_BUILD_ROOT %gconf_schema_install apps_evolution_email_custom_header.schemas %gconf_schema_install bogo-junk-plugin.schemas %gconf_schema_install evolution-mail.schemas +%update_desktop_database_post %preun mail %gconf_schema_uninstall apps-evolution-attachment-reminder.schemas @@ -318,6 +321,9 @@ rm -rf $RPM_BUILD_ROOT %gconf_schema_uninstall bogo-junk-plugin.schemas %gconf_schema_uninstall evolution-mail.schemas +%postun main +%update_desktop_database_postun + %post addressbook %update_desktop_database_post %gconf_schema_install apps_evolution_addressbook.schemas @@ -330,10 +336,14 @@ rm -rf $RPM_BUILD_ROOT %post calendar %gconf_schema_install apps_evolution_calendar.schemas +%update_desktop_database_post %preun calendar %gconf_schema_uninstall apps_evolution_calendar.schemas +%postun calendar +%update_desktop_database_postun + %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog NEWS* README -- 2.44.0