diff --git a/pidgin-otr.changes b/pidgin-otr.changes index 2f2b36f..a9aeb9b 100644 --- a/pidgin-otr.changes +++ b/pidgin-otr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jan 28 09:20:00 UTC 2017 - mailaender@opensuse.org + +- Add pidgin-otr.metainfo.xml from Fedora rh#1293331 + ------------------------------------------------------------------- Fri Dec 16 13:35:23 UTC 2016 - jengelh@inai.de diff --git a/pidgin-otr.metainfo.xml b/pidgin-otr.metainfo.xml new file mode 100644 index 0000000..13cc6d5 --- /dev/null +++ b/pidgin-otr.metainfo.xml @@ -0,0 +1,14 @@ + + + +pidgin-otr +pidgin.desktop +Off-the-Record Messaging +A Pidgin plugin which implements Off-the-Record (OTR) Messaging +https://otr.cypherpunks.ca/ +https://bugs.otr.im/projects/pidgin-otr +GFDL-1.3 +GPL-2.0 +eischmann_at_redhat.com +​ diff --git a/pidgin-otr.spec b/pidgin-otr.spec index fb97c9c..4d87d4b 100644 --- a/pidgin-otr.spec +++ b/pidgin-otr.spec @@ -1,7 +1,7 @@ # # spec file for package pidgin-otr # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,6 +26,8 @@ Url: https://otr.cypherpunks.ca/ Source: https://otr.cypherpunks.ca/%{name}-%{version}.tar.gz Source2: https://otr.cypherpunks.ca/%{name}-%{version}.tar.gz.asc Source3: https://otr.cypherpunks.ca/gpgkey.asc#/pidgin-otr.keyring +# PATCH-FEATURE-UPSTREAM https://bugs.otr.im/plugins/pidgin-otr/issues/127 +Source4: pidgin-otr.metainfo.xml BuildRequires: intltool BuildRequires: pkgconfig BuildRequires: pkgconfig(gtk+-2.0) @@ -89,6 +91,7 @@ make %{?_smp_mflags} V=1 %install %make_install find %{buildroot} -type f -name "*.la" -delete -print +install -Dm0644 %{SOURCE4} %{buildroot}%{_datadir}/appdata/pidgin-otr.metainfo.xml %find_lang pidgin-otr %post -n pidgin-plugin-otr -p /sbin/ldconfig @@ -99,6 +102,8 @@ find %{buildroot} -type f -name "*.la" -delete -print %defattr(-,root,root) %doc AUTHORS COPYING NEWS README %{_libdir}/pidgin/%{name}.so +%dir %{_datadir}/appdata/ +%{_datadir}/appdata/pidgin-otr.metainfo.xml %files -n pidgin-plugin-otr-lang -f %{name}.lang %defattr(-,root,root)