File mingw32-pidgin-otr.spec of Package mingw32-pidgin-otr
#
# spec file for package mingw32-pidgin-otr
#
# Copyright (c) 2014 SUSE LINUX Products 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: mingw32-pidgin-otr
Version: 4.0.1
Release: 0
Summary: "Off The Record" end-to-end encryption plugin for gaim
License: GPL-2.0-or-later
Group: Productivity/Networking/Instant Messenger
Url: http://www.cypherpunks.ca/otr/
Source: http://www.cypherpunks.ca/otr/pidgin-otr-%{version}.tar.gz
Patch0: pidgin-otr-%{version}-windows.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-filesystem >= 23
BuildRequires: mingw32-gtk2-devel
BuildRequires: mingw32-libgcrypt-devel
BuildRequires: mingw32-libotr-devel >= 4.0.0
BuildRequires: mingw32-libpurple-devel
BuildRequires: mingw32-pidgin-devel
Requires: %{name}-lang >= %{version}
%_mingw32_package_header_debug
BuildArch: noarch
#!BuildIgnore: post-build-checks
%description
This is a pidgin 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.
%_mingw32_debug_package
%lang_package
%prep
%setup -q -n pidgin-otr-%{version}
%patch -P 0 -p1 -b .windows
%build
libtoolize --force --copy --install
export ACLOCAL='aclocal -I %{_mingw32_datadir}/aclocal'
autoreconf -fi
export PATH="%{_mingw32_bindir}:$PATH"
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
%{_mingw32_configure} --disable-static
make %{?_smp_mflags} || make
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
rm -f %{buildroot}%{_mingw32_libdir}/pidgin/*.dll.a
mv %{buildroot}%{_mingw32_libdir}/pidgin %{buildroot}%{_mingw32_libdir}/purple-2
%find_lang pidgin-otr
%files
%defattr (-, root, root)
%{_mingw32_libdir}/purple-2/pidgin-otr.dll
%files lang -f pidgin-otr.lang
%defattr (-, root, root)
%changelog