1
0

- added basic appdata definition

OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=259
This commit is contained in:
Wolfgang Rosenauer 2014-10-14 21:45:11 +00:00 committed by Git OBS Bridge
parent a2bcb59d79
commit dbaafc6809
3 changed files with 48 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 14 20:40:35 UTC 2014 - wr@rosenauer.org
- added basic appdata definition
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 12 22:47:42 UTC 2014 - wr@rosenauer.org Sun Oct 12 22:47:42 UTC 2014 - wr@rosenauer.org

View File

@ -91,6 +91,7 @@ Source4: l10n-%{version}.tar.xz
Source6: suse-default-prefs.js Source6: suse-default-prefs.js
Source7: find-external-requires.sh Source7: find-external-requires.sh
Source8: thunderbird-rpmlintrc Source8: thunderbird-rpmlintrc
Source9: thunderbird.appdata.xml
Source10: create-tar.sh Source10: create-tar.sh
Source11: compare-locales.tar.xz Source11: compare-locales.tar.xz
Source12: kde.js Source12: kde.js
@ -351,6 +352,9 @@ install -m 644 %{SOURCE1} \
sed "s:%%PROGDIR:%{progdir}:g" \ sed "s:%%PROGDIR:%{progdir}:g" \
%{SOURCE2} > $RPM_BUILD_ROOT%{progdir}/add-plugins.sh %{SOURCE2} > $RPM_BUILD_ROOT%{progdir}/add-plugins.sh
chmod 755 $RPM_BUILD_ROOT%{progdir}/add-plugins.sh chmod 755 $RPM_BUILD_ROOT%{progdir}/add-plugins.sh
# appdata
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
cp %{SOURCE9} $RPM_BUILD_ROOT%{_datadir}/appdata/%{desktop_file_name}.appdata.xml
# apply SUSE defaults # apply SUSE defaults
sed -e 's,RPM_VERSION,%{mainversion},g sed -e 's,RPM_VERSION,%{mainversion},g
s,GSSAPI,%{libgssapi},g' \ s,GSSAPI,%{libgssapi},g' \
@ -490,6 +494,7 @@ exit 0
%{progdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} %{progdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
%{progdir}/isp/ %{progdir}/isp/
%{progdir}/searchplugins/ %{progdir}/searchplugins/
%{_datadir}/appdata/
%{_datadir}/applications/%{desktop_file_name}.desktop %{_datadir}/applications/%{desktop_file_name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{progname}.png %{_datadir}/icons/hicolor/*/apps/%{progname}.png
%{_bindir}/%{progname} %{_bindir}/%{progname}

38
thunderbird.appdata.xml Normal file
View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
<!-- HOUSEKEEPING, REMOVE THIS COMMENT WHEN THIS GOES UPSTREAM
BugReportURL: https://bugzilla.mozilla.org/show_bug.cgi?id=1071065
SentUpstream: 2014-09-22
-->
<application>
<id type="desktop">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">FIXME</screenshot>
</screenshots>
-->
<!-- FIXME: change this to an upstream email address for spec updates
<updatecontact>someone_who_cares@upstream_project.org</updatecontact>
-->
</application>