From fb8aed4eac528591385d9301be6b60e964b99d3f Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Aug 19 2014 15:39:55 +0000 Subject: Add a MetaInfo file for GNOME Software and Apper --- diff --git a/.gitignore b/.gitignore index d7d53a7..0d98100 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ /https-everywhere-3.5.xpi /https-everywhere-3.5.1.xpi /https-everywhere-3.5.3.xpi +/mozilla-https-everywhere.metainfo.xml diff --git a/mozilla-https-everywhere.spec b/mozilla-https-everywhere.spec index aeee787..15d017d 100644 --- a/mozilla-https-everywhere.spec +++ b/mozilla-https-everywhere.spec @@ -9,7 +9,7 @@ Name: mozilla-https-everywhere Version: 3.5.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: HTTPS/HSTS enforcement extension for Mozilla Firefox and SeaMonkey Group: Applications/Internet @@ -17,12 +17,14 @@ License: GPLv2+ URL: https://eff.org/https-everywhere # A git repo is available at git://git.torproject.org/https-everywhere.git Source0: https://www.eff.org/files/https-everywhere-%{version}.xpi +Source1: mozilla-https-everywhere.metainfo.xml Patch0: appManaged.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: dos2unix +BuildRequires: libappstream-glib %if 0%{?rhel} Requires: firefox >= 3.5 %else @@ -67,6 +69,9 @@ done mkdir -p %{buildroot}%{seamonkey_inst_dir} ln -s %{firefox_inst_dir} %{buildroot}%{seamonkey_inst_dir} +# install MetaInfo file for firefox +DESTDIR=%{buildroot} appstream-util install %{SOURCE1} + %clean rm -rf %{buildroot} @@ -76,9 +81,13 @@ rm -rf %{buildroot} # doc LICENSE.txt %{firefox_inst_dir} %{seamonkey_inst_dir} +%{_datadir}/appdata/*.metainfo.xml %changelog +* Tue Aug 19 2014 Richard Hughes - 3.5.3-2 +- Add a MetaInfo file for GNOME Software and Apper. + * Wed Jun 25 2014 Russell Golden - 3.5.3-1 - Now works when installed globally! - Various ruleset fixes, including PCWorld. diff --git a/sources b/sources index 128af74..7ceeac8 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 3656a09c110ddff17f782e69888a3234 https-everywhere-3.5.3.xpi +8291b18b3d65451a40ddc88fc0cd339b mozilla-https-everywhere.metainfo.xml