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
Version:        4.0.2
Release:        0
Summary:        "Off The Record" end-to-end encryption plugin for gaim
License:        GPL-2.0+
Group:          Productivity/Networking/Instant Messenger
Url:            http://www.cypherpunks.ca/otr/
Source:         http://www.cypherpunks.ca/otr/%{name}-%{version}.tar.gz
Source2:        http://www.cypherpunks.ca/otr/%{name}-%{version}.tar.gz.asc
Source3:        https://otr.cypherpunks.ca/gpgkey.asc#/pidgin-otr.keyring
BuildRequires:  gtk2-devel
BuildRequires:  intltool
BuildRequires:  libotr-devel >= 4.0.0
BuildRequires:  pidgin-devel
BuildRequires:  update-desktop-files
Provides:       gaim-otr = %{version}
Obsoletes:      gaim-otr <= 3.0.0
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%requires_ge    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.

%prep
%setup -q

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

%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
find %{buildroot} -type f -name "*.la" -delete -print
%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