From c9caff126dbe834464e71676aabc55870f72aff5 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Tue, 4 Feb 2020 15:37:46 +0100 Subject: Make sure the release tag in appdata is in sync with the package version --- firefox.appdata.xml | 59 -------------------------------------------------- firefox.appdata.xml.in | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++ firefox.spec | 9 +++++--- 3 files changed, 65 insertions(+), 62 deletions(-) delete mode 100644 firefox.appdata.xml create mode 100644 firefox.appdata.xml.in diff --git a/firefox.appdata.xml b/firefox.appdata.xml deleted file mode 100644 index 4108449..0000000 --- a/firefox.appdata.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - firefox.desktop - CC0-1.0 - Firefox - Web Browser - =Navegador web - =Webový prohlížeč - =Navegador web - =مرورگر اینترنتی - =WWW-selain - =Navigateur Web - =Webböngésző - =Browser Web - =ウェブ・ブラウザ - =웹 브라우저 - =Nettleser - =Webbrowser - =Nettlesar - =Nettleser - =Przeglądarka WWW - =Navegador Web - =Navegador Web - =Internetový prehliadač - =Webbläsare - -

- Bringing together all kinds of awesomeness to make browsing better for you. - Get to your favorite sites quickly – even if you don’t remember the URLs. - Type your term into the location bar (aka the Awesome Bar) and the autocomplete - function will include possible matches from your browsing history, bookmarked - sites and open tabs. -

-
- https://www.mozilla.org - stransky@redhat.com - - ModernToolkit - SearchProvider - - Mozilla - GPL-3.0+ - Mozilla Corporation - https://bugzilla.mozilla.org/ - https://support.mozilla.org/ - firefox - - firefox.desktop - - - https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/firefox/a.png - https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/firefox/b.png - https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/firefox/c.png - - - - -
diff --git a/firefox.appdata.xml.in b/firefox.appdata.xml.in new file mode 100644 index 0000000..4de0200 --- /dev/null +++ b/firefox.appdata.xml.in @@ -0,0 +1,59 @@ + + + + firefox.desktop + CC0-1.0 + Firefox + Web Browser + =Navegador web + =Webový prohlížeč + =Navegador web + =مرورگر اینترنتی + =WWW-selain + =Navigateur Web + =Webböngésző + =Browser Web + =ウェブ・ブラウザ + =웹 브라우저 + =Nettleser + =Webbrowser + =Nettlesar + =Nettleser + =Przeglądarka WWW + =Navegador Web + =Navegador Web + =Internetový prehliadač + =Webbläsare + +

+ Bringing together all kinds of awesomeness to make browsing better for you. + Get to your favorite sites quickly – even if you don’t remember the URLs. + Type your term into the location bar (aka the Awesome Bar) and the autocomplete + function will include possible matches from your browsing history, bookmarked + sites and open tabs. +

+
+ https://www.mozilla.org + stransky@redhat.com + + ModernToolkit + SearchProvider + + Mozilla + GPL-3.0+ + Mozilla Corporation + https://bugzilla.mozilla.org/ + https://support.mozilla.org/ + firefox + + firefox.desktop + + + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/firefox/a.png + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/firefox/b.png + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/firefox/c.png + + + + +
diff --git a/firefox.spec b/firefox.spec index a788d9a..f82103a 100644 --- a/firefox.spec +++ b/firefox.spec @@ -124,7 +124,7 @@ Source29: firefox-wayland.desktop Source30: firefox-x11.sh.in Source31: firefox-x11.desktop Source32: node-stdout-nonblocking-wrapper -Source33: firefox.appdata.xml +Source33: firefox.appdata.xml.in Source34: firefox-search-provider.ini # Build patches @@ -813,9 +813,11 @@ sed -i -e "s/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/" %{buildroot}/%{moz %{__mkdir_p} %{buildroot}%{mozappdir}/distribution %{__cp} %{SOURCE26} %{buildroot}%{mozappdir}/distribution -# Install Gnome search provider files +# Install appdata file mkdir -p %{buildroot}%{_datadir}/metainfo -%{__cp} %{SOURCE33} %{buildroot}%{_datadir}/metainfo +%{__sed} -e 's/__VERSION__/%{version}/' %{SOURCE33} > %{buildroot}%{_datadir}/metainfo/firefox.appdata.xml + +# Install Gnome search provider files mkdir -p %{buildroot}%{_datadir}/gnome-shell/search-providers %{__cp} %{SOURCE34} %{buildroot}%{_datadir}/gnome-shell/search-providers @@ -941,6 +943,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : * Tue Feb 04 2020 Kalev Lember - 72.0.2-3 - Fix various issues with appdata, making the validation pass again - Validate appdata during the build +- Make sure the release tag in appdata is in sync with the package version * Tue Jan 28 2020 Fedora Release Engineering - 72.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild -- cgit