[packages/mozilla-thunderbird-bin] - up to 31.3.0 - added handled MimeType to desktop file - update desktop database - drop one more up

atler atler at pld-linux.org
Tue Dec 2 21:44:41 CET 2014


commit ada42ebffbd4093e1a8a0905a0e29ba4d57749a5
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Dec 2 21:41:34 2014 +0100

    - up to 31.3.0
    - added handled MimeType to desktop file
    - update desktop database
    - drop one more update related file

 mozilla-thunderbird-bin.desktop |  5 +++--
 mozilla-thunderbird-bin.spec    | 12 +++++++++---
 2 files changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/mozilla-thunderbird-bin.spec b/mozilla-thunderbird-bin.spec
index ad19886..6d56741 100644
--- a/mozilla-thunderbird-bin.spec
+++ b/mozilla-thunderbird-bin.spec
@@ -4,18 +4,19 @@
 Summary:	Mozilla Thunderbird - email client
 Summary(pl.UTF-8):	Mozilla Thunderbird - klient poczty
 Name:		mozilla-thunderbird-bin
-Version:	31.2.0
+Version:	31.3.0
 Release:	1
 License:	MPL 1.1 or GPL v2+ or LGPL v2.1+
 Group:		X11/Applications/Networking
 Source0:	http://download.cdn.mozilla.net/pub/mozilla.org/thunderbird/releases/%{version}/linux-i686/en-US/thunderbird-%{version}.tar.bz2?/%{realname}-%{version}.tar.bz2
-# Source0-md5:	fa1b546dad551180688a6c4f95c16ef9
+# Source0-md5:	a2f6d1046fb20c6dbe5391dad726fdaa
 Source1:	http://download.cdn.mozilla.net/pub/mozilla.org/thunderbird/releases/%{version}/linux-x86_64/en-US/thunderbird-%{version}.tar.bz2?/%{realname}64-%{version}.tar.bz2
-# Source1-md5:	ad1508f0111790e06e9da73115f5a222
+# Source1-md5:	bbd90a37e208f1cea1a408fcd0fefbe2
 Source2:	%{name}.desktop
 Source3:	%{name}.sh
 URL:		http://www.mozilla.org/projects/thunderbird/
 BuildRequires:	tar >= 1:1.15.1
+Requires(post,postun):	desktop-file-utils
 Requires:	mktemp
 Requires:	myspell-common
 Requires:	sqlite3 >= 3.6.22-2
@@ -101,6 +102,7 @@ grep -v 'lib\(nspr4\|plc4\|plds4\|nssutil3\|nss3\|smime3\|ssl3\|ldap60\|ldif60\|
 	dependentlibs.list > $RPM_BUILD_ROOT%{_libdir}/%{name}/dependentlibs.list
 
 # remove update notifier, we prefer rpm packages for updating
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/update-settings.ini
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/updater
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/updater.ini
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/Throbber-small.gif
@@ -113,6 +115,7 @@ grep -v 'lib\(nspr4\|plc4\|plds4\|nssutil3\|nss3\|smime3\|ssl3\|ldap60\|ldif60\|
 rm -rf $RPM_BUILD_ROOT
 
 %post
+%update_desktop_database_post
 # it attempts to register crashreport in $HOME/.thunderbird
 # make temporary $HOME to avoid polluting home of user installing this package
 # via sudo.
@@ -125,6 +128,9 @@ umask 022
 
 rm -rf $HOME
 
+%postun
+%update_desktop_database_postun
+
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/%{name}
diff --git a/mozilla-thunderbird-bin.desktop b/mozilla-thunderbird-bin.desktop
index d95b26f..0aff5f4 100644
--- a/mozilla-thunderbird-bin.desktop
+++ b/mozilla-thunderbird-bin.desktop
@@ -1,6 +1,6 @@
 [Desktop Entry]
-Name=Mozilla Thunderbird (bin)
-Name[pl]=Mozilla Thunderbird (bin)
+Name=Mozilla Thunderbird
+Name[pl]=Mozilla Thunderbird
 Comment=Email client based on Mozilla technology
 Comment[ca]=Llegiu i escriviu correu
 Comment[de]=Emails lesen und verfassen
@@ -10,6 +10,7 @@ Exec=mozilla-thunderbird-bin
 Icon=mozilla-thunderbird-bin.xpm
 Terminal=false
 Type=Application
+MimeType=x-scheme-handler/mailto;x-scheme-handler/webcal;
 Categories=GTK;Network;Email;
 Encoding=UTF-8
 # vi: encoding=utf-8
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mozilla-thunderbird-bin.git/commitdiff/ada42ebffbd4093e1a8a0905a0e29ba4d57749a5



More information about the pld-cvs-commit mailing list