File pidgin-otr.spec of Package pidgin-otr

#
# spec file for package pidgin-otr
#
# Copyright (c) 2016 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           pidgin-otr
BuildRequires:  gtk2-devel
BuildRequires:  intltool
BuildRequires:  libotr-devel >= 4.0.0
BuildRequires:  pidgin-devel
BuildRequires:  update-desktop-files
Version:        4.0.0
Release:        0
Url:            http://www.cypherpunks.ca/otr/
Summary:        "Off The Record" end-to-end encryption plugin for gaim
License:        GPL-2.0+
Group:          Productivity/Networking/Instant Messenger
Source:         http://www.cypherpunks.ca/otr/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM pidgin-otr-fix-max-msg-length-groupwize.patch bnc#809052 zaitor@opensuse.org -- Add a default max message size for Novell Groupwise
Patch0:         pidgin-otr-fix-max-msg-length-groupwize.patch
# PATCH-FIX-UPSTREAM pidgin-otr-bnc970498.patch bnc#970498 sreeves@suse.com -- fix use after free
Patch1:         pidgin-otr-bnc970498.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Provides:       gaim-otr = %{version}
Obsoletes:      gaim-otr <= 3.0.0
%requires_eq    pidgin

%description
This is a gaim plugin which implements Off-the-Record (OTR)
   Messaging. OTR allows you to have private conversations over IM
   by providing: - Encryption

- No one else can read your instant messages.

- Authentication

- You are assured the correspondent is who you think it is.

- Deniability

- The messages you send do _not_ have digital signatures that are
   checkable by a third party.	Anyone can forge messages after a
   conversation to make them look like they came from you.  However,
   _during_ a conversation, your correspondent is assured the
   messages he sees are authentic and unmodified.

- Perfect forward secrecy

- If you lose control of your private keys, no previous conversation is
compromised.



Authors:
--------
    Nikita Borisov and Ian Goldberg <otr@cypherpunks.ca>

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
%configure --with-pic --disable-static
make %{?_smp_mflags}

%install
%{__make} DESTDIR=$RPM_BUILD_ROOT install
%{__rm} $RPM_BUILD_ROOT%{_libdir}/pidgin/*.la
%find_lang pidgin-otr

%files -f pidgin-otr.lang
%defattr (-, root, root)
%doc COPYING README AUTHORS NEWS ChangeLog
%{_libdir}/pidgin/*.so

%changelog
openSUSE Build Service is sponsored by