2007-11-16 04:43:45 +01:00
#
2011-11-28 12:55:46 +01:00
# spec file for package pidgin-otr
2007-11-16 04:43:45 +01:00
#
Accepting request 220735 from GNOME:Apps
Add patch to fix bnc#809052 for opensuse - its a 'closed' bug, bug juding from upstream commitlog we want it too, and not just for SLE (patch done by Federico)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-05-31
+
+* otr-plugin.c: Add a default max message size for Novell
+Groupwise. Patch from Federico Mena Quintero
+<federico@suse.com>.
+
2013-05-29
* configure.ac:
--- a/otr-plugin.c
+++ b/otr-plugin.c
@@ -1161,9 +1161,10 @@
static const struct s_OtrgIdProtPair {
char *protid;
int maxmsgsize;
- } mmsPairs[8] = {{prpl-msn, 1409}, {prpl-icq, 2346},
+ } mmsPairs[] = {{prpl-msn, 1409}, {prpl-icq, 2346},
{prpl-aim, 2343}, {prpl-yahoo, 799}, {prpl-gg, 1999},
-{prpl-irc, 417}, {prpl-oscar, 2343}, {NULL, 0}};
+{prpl-irc, 417}, {prpl-oscar, 2343},
+{prpl-novell, 1792}, {NULL, 0}};
int i = 0;
gchar *maxmsgsizefile;
FILE *mmsf; (forwarded request 220681 from Zaitor)
OBS-URL: https://build.opensuse.org/request/show/220735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pidgin-otr?expand=0&rev=18
2014-02-05 16:28:02 +01:00
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
2007-11-16 04:43:45 +01:00
#
2008-09-24 17:22:36 +02:00
# 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.
2007-11-16 04:43:45 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2008-03-10 02:59:59 +01:00
2007-11-16 04:43:45 +01:00
Name : pidgin-otr
2012-06-05 15:34:27 +02:00
BuildRequires : gtk2-devel
BuildRequires : intltool
Accepting request 220735 from GNOME:Apps
Add patch to fix bnc#809052 for opensuse - its a 'closed' bug, bug juding from upstream commitlog we want it too, and not just for SLE (patch done by Federico)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-05-31
+
+* otr-plugin.c: Add a default max message size for Novell
+Groupwise. Patch from Federico Mena Quintero
+<federico@suse.com>.
+
2013-05-29
* configure.ac:
--- a/otr-plugin.c
+++ b/otr-plugin.c
@@ -1161,9 +1161,10 @@
static const struct s_OtrgIdProtPair {
char *protid;
int maxmsgsize;
- } mmsPairs[8] = {{prpl-msn, 1409}, {prpl-icq, 2346},
+ } mmsPairs[] = {{prpl-msn, 1409}, {prpl-icq, 2346},
{prpl-aim, 2343}, {prpl-yahoo, 799}, {prpl-gg, 1999},
-{prpl-irc, 417}, {prpl-oscar, 2343}, {NULL, 0}};
+{prpl-irc, 417}, {prpl-oscar, 2343},
+{prpl-novell, 1792}, {NULL, 0}};
int i = 0;
gchar *maxmsgsizefile;
FILE *mmsf; (forwarded request 220681 from Zaitor)
OBS-URL: https://build.opensuse.org/request/show/220735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pidgin-otr?expand=0&rev=18
2014-02-05 16:28:02 +01:00
BuildRequires : libotr-devel >= 4.0.0
2012-06-05 15:34:27 +02:00
BuildRequires : pidgin-devel
BuildRequires : update-desktop-files
2012-10-31 07:02:43 +01:00
Version : 4.0.0
2012-06-05 15:34:27 +02:00
Release : 0
2007-11-16 04:43:45 +01:00
Url : http://www.cypherpunks.ca/otr/
Summary : " O f f T h e R e c o r d " end-to-end encryption plugin for gaim
2012-06-05 15:34:27 +02:00
License : GPL-2.0+
Group : Productivity/Networking/Instant Messenger
Source : http://www.cypherpunks.ca/otr/%{name} -%{version} .tar.gz
Accepting request 220735 from GNOME:Apps
Add patch to fix bnc#809052 for opensuse - its a 'closed' bug, bug juding from upstream commitlog we want it too, and not just for SLE (patch done by Federico)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-05-31
+
+* otr-plugin.c: Add a default max message size for Novell
+Groupwise. Patch from Federico Mena Quintero
+<federico@suse.com>.
+
2013-05-29
* configure.ac:
--- a/otr-plugin.c
+++ b/otr-plugin.c
@@ -1161,9 +1161,10 @@
static const struct s_OtrgIdProtPair {
char *protid;
int maxmsgsize;
- } mmsPairs[8] = {{prpl-msn, 1409}, {prpl-icq, 2346},
+ } mmsPairs[] = {{prpl-msn, 1409}, {prpl-icq, 2346},
{prpl-aim, 2343}, {prpl-yahoo, 799}, {prpl-gg, 1999},
-{prpl-irc, 417}, {prpl-oscar, 2343}, {NULL, 0}};
+{prpl-irc, 417}, {prpl-oscar, 2343},
+{prpl-novell, 1792}, {NULL, 0}};
int i = 0;
gchar *maxmsgsizefile;
FILE *mmsf; (forwarded request 220681 from Zaitor)
OBS-URL: https://build.opensuse.org/request/show/220735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pidgin-otr?expand=0&rev=18
2014-02-05 16:28:02 +01:00
# 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
2007-11-16 04:43:45 +01:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
Provides : gaim-otr = %{version}
Obsoletes : gaim-otr <= 3.0.0
2008-03-10 02:59:59 +01:00
%requires_eq pidgin
2007-11-16 04:43:45 +01:00
%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
Accepting request 220735 from GNOME:Apps
Add patch to fix bnc#809052 for opensuse - its a 'closed' bug, bug juding from upstream commitlog we want it too, and not just for SLE (patch done by Federico)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2013-05-31
+
+* otr-plugin.c: Add a default max message size for Novell
+Groupwise. Patch from Federico Mena Quintero
+<federico@suse.com>.
+
2013-05-29
* configure.ac:
--- a/otr-plugin.c
+++ b/otr-plugin.c
@@ -1161,9 +1161,10 @@
static const struct s_OtrgIdProtPair {
char *protid;
int maxmsgsize;
- } mmsPairs[8] = {{prpl-msn, 1409}, {prpl-icq, 2346},
+ } mmsPairs[] = {{prpl-msn, 1409}, {prpl-icq, 2346},
{prpl-aim, 2343}, {prpl-yahoo, 799}, {prpl-gg, 1999},
-{prpl-irc, 417}, {prpl-oscar, 2343}, {NULL, 0}};
+{prpl-irc, 417}, {prpl-oscar, 2343},
+{prpl-novell, 1792}, {NULL, 0}};
int i = 0;
gchar *maxmsgsizefile;
FILE *mmsf; (forwarded request 220681 from Zaitor)
OBS-URL: https://build.opensuse.org/request/show/220735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pidgin-otr?expand=0&rev=18
2014-02-05 16:28:02 +01:00
%patch0 -p1
2007-11-16 04:43:45 +01:00
%build
%configure --with-pic --disable-static
2012-06-05 15:34:27 +02:00
make %{?_smp_mflags}
2007-11-16 04:43:45 +01:00
%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
2008-03-10 02:59:59 +01:00
2007-11-16 04:43:45 +01:00
%changelog