SHA256
1
0
forked from pool/pidgin-otr
Dominique Leuenberger 2017-01-30 09:49:17 +00:00 committed by Git OBS Bridge
parent a1cf115ee0
commit 52072f339b
3 changed files with 25 additions and 1 deletions

View File

@ -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 Fri Dec 16 13:35:23 UTC 2016 - jengelh@inai.de

14
pidgin-otr.metainfo.xml Normal file
View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2015 Jiri Eischmann <eischmann@redhat.com>
-->
<component type="addon">
<id>pidgin-otr</id>
<extends>pidgin.desktop</extends>
<name>Off-the-Record Messaging</name>
<summary>A Pidgin plugin which implements Off-the-Record (OTR) Messaging</summary>
<url type="homepage">https://otr.cypherpunks.ca/</url>
<url type="bugtracker">https://bugs.otr.im/projects/pidgin-otr</url>
<metadata_license>GFDL-1.3</metadata_license>
<project_license>GPL-2.0</project_license>
<updatecontact>eischmann_at_redhat.com</updatecontact>
</component>

View File

@ -1,7 +1,7 @@
# #
# spec file for package pidgin-otr # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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 Source: https://otr.cypherpunks.ca/%{name}-%{version}.tar.gz
Source2: https://otr.cypherpunks.ca/%{name}-%{version}.tar.gz.asc Source2: https://otr.cypherpunks.ca/%{name}-%{version}.tar.gz.asc
Source3: https://otr.cypherpunks.ca/gpgkey.asc#/pidgin-otr.keyring 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: intltool
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(gtk+-2.0)
@ -89,6 +91,7 @@ make %{?_smp_mflags} V=1
%install %install
%make_install %make_install
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
install -Dm0644 %{SOURCE4} %{buildroot}%{_datadir}/appdata/pidgin-otr.metainfo.xml
%find_lang pidgin-otr %find_lang pidgin-otr
%post -n pidgin-plugin-otr -p /sbin/ldconfig %post -n pidgin-plugin-otr -p /sbin/ldconfig
@ -99,6 +102,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
%defattr(-,root,root) %defattr(-,root,root)
%doc AUTHORS COPYING NEWS README %doc AUTHORS COPYING NEWS README
%{_libdir}/pidgin/%{name}.so %{_libdir}/pidgin/%{name}.so
%dir %{_datadir}/appdata/
%{_datadir}/appdata/pidgin-otr.metainfo.xml
%files -n pidgin-plugin-otr-lang -f %{name}.lang %files -n pidgin-plugin-otr-lang -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)