Add an AppData file for the software center
This commit is contained in:
parent
0ef0bfbaee
commit
99a12e25e2
@ -58,7 +58,7 @@
|
|||||||
Summary: Mozilla Thunderbird mail/newsgroup client
|
Summary: Mozilla Thunderbird mail/newsgroup client
|
||||||
Name: thunderbird
|
Name: thunderbird
|
||||||
Version: 31.5.0
|
Version: 31.5.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
URL: http://www.mozilla.org/projects/thunderbird/
|
URL: http://www.mozilla.org/projects/thunderbird/
|
||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
@ -387,6 +387,53 @@ touch $RPM_BUILD_ROOT%{mozappdir}/components/xpti.dat
|
|||||||
%{__cp} %{objdir}/mozilla/dist/%{symbols_file_name} $RPM_BUILD_ROOT/%{moz_debug_dir}
|
%{__cp} %{objdir}/mozilla/dist/%{symbols_file_name} $RPM_BUILD_ROOT/%{moz_debug_dir}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Register as an application to be visible in the software center
|
||||||
|
#
|
||||||
|
# NOTE: It would be *awesome* if this file was maintained by the upstream
|
||||||
|
# project, translated and installed into the right place during `make install`.
|
||||||
|
#
|
||||||
|
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
|
||||||
|
#
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
||||||
|
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/mozilla-thunderbird.appdata.xml <<EOF
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
|
||||||
|
<!--
|
||||||
|
BugReportURL: https://bugzilla.mozilla.org/show_bug.cgi?id=1071065
|
||||||
|
SentUpstream: 2014-09-22
|
||||||
|
-->
|
||||||
|
<application>
|
||||||
|
<id type="desktop">mozilla-thunderbird.desktop</id>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
Thunderbird is an email client that allows you to read, write and organise all
|
||||||
|
of your email messages. It is compatible with most email accounts, including the
|
||||||
|
most popular webmail services.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Thunderbird is designed by Mozilla, a global community working together to make
|
||||||
|
the Internet better. Mozilla believe that the Internet should be open, public,
|
||||||
|
and accessible to everyone without any restrictions.
|
||||||
|
</p>
|
||||||
|
<ul>
|
||||||
|
<li>Easier than ever to set up a new e-mail account</li>
|
||||||
|
<li>Awesome search allows you to find your messages fast</li>
|
||||||
|
<li>Thousands of add-ons give you the freedom to make Thunderbird your own</li>
|
||||||
|
</ul>
|
||||||
|
</description>
|
||||||
|
<url type="homepage">http://www.mozilla.org/thunderbird/</url>
|
||||||
|
<!--
|
||||||
|
<screenshots>
|
||||||
|
<screenshot type="default">https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/mozilla-thunderbird/a.png</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
-->
|
||||||
|
<!-- FIXME: change this to an upstream email address for spec updates
|
||||||
|
<updatecontact>someone_who_cares@upstream_project.org</updatecontact>
|
||||||
|
-->
|
||||||
|
</application>
|
||||||
|
EOF
|
||||||
|
|
||||||
#===============================================================================
|
#===============================================================================
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -407,6 +454,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
%files -f %{tarballdir}/%{name}.lang
|
%files -f %{tarballdir}/%{name}.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%attr(755,root,root) %{_bindir}/thunderbird
|
%attr(755,root,root) %{_bindir}/thunderbird
|
||||||
|
%{_datadir}/appdata/*.appdata.xml
|
||||||
%attr(644,root,root) %{_datadir}/applications/mozilla-thunderbird.desktop
|
%attr(644,root,root) %{_datadir}/applications/mozilla-thunderbird.desktop
|
||||||
%dir %{_datadir}/mozilla/extensions/%{thunderbird_app_id}
|
%dir %{_datadir}/mozilla/extensions/%{thunderbird_app_id}
|
||||||
%dir %{_libdir}/mozilla/extensions/%{thunderbird_app_id}
|
%dir %{_libdir}/mozilla/extensions/%{thunderbird_app_id}
|
||||||
@ -460,6 +508,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
#===============================================================================
|
#===============================================================================
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 31.5.0-3
|
||||||
|
- Add an AppData file for the software center
|
||||||
|
|
||||||
* Thu Mar 19 2015 Jan Horak <jhorak@redhat.com> - 31.5.0-2
|
* Thu Mar 19 2015 Jan Horak <jhorak@redhat.com> - 31.5.0-2
|
||||||
- Fixed build flags for s390(x)
|
- Fixed build flags for s390(x)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user