From a1cf115ee0d02861ecef040b982720b32dd628994279b1d412f6ceb364976c02 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Thu, 29 Dec 2016 21:44:06 +0000 Subject: [PATCH] Accepting request 446722 from network OBS-URL: https://build.opensuse.org/request/show/446722 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pidgin-otr?expand=0&rev=23 --- pidgin-otr.changes | 13 +++++- pidgin-otr.spec | 102 ++++++++++++++++++++++++++++----------------- 2 files changed, 76 insertions(+), 39 deletions(-) diff --git a/pidgin-otr.changes b/pidgin-otr.changes index 8b18682..2f2b36f 100644 --- a/pidgin-otr.changes +++ b/pidgin-otr.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Dec 16 13:35:23 UTC 2016 - jengelh@inai.de + +- Drop --with-pic, this is only meaningful for static libs. + +------------------------------------------------------------------- +Fri Dec 16 09:13:38 UTC 2016 - sor.alexei@meowr.ru + +- Rename the pidgin-otr package to pidgin-plugin-otr. +- Separate locales into pidgin-otr-lang. +- Clean description up, update URLs. + ------------------------------------------------------------------- Fri Mar 11 07:31:22 UTC 2016 - astieger@suse.com @@ -138,4 +150,3 @@ Wed Nov 9 22:01:44 CET 2005 - bwhiteley@suse.de Tue Nov 1 22:59:47 CET 2005 - bwhiteley@suse.de - First time suse package (version 2.0.2) - diff --git a/pidgin-otr.spec b/pidgin-otr.spec index f77ee6e..fb97c9c 100644 --- a/pidgin-otr.spec +++ b/pidgin-otr.spec @@ -19,62 +19,88 @@ Name: pidgin-otr Version: 4.0.2 Release: 0 -Summary: "Off The Record" end-to-end encryption plugin for gaim +Summary: "Off The Record" end-to-end encryption plugin for Pidgin 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 +Url: https://otr.cypherpunks.ca/ +Source: https://otr.cypherpunks.ca/%{name}-%{version}.tar.gz +Source2: https://otr.cypherpunks.ca/%{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 +BuildRequires: pkgconfig +BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(libotr) >= 4.0.0 +BuildRequires: pkgconfig(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 +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. -- No one else can read your instant messages. +%package -n pidgin-plugin-otr +Summary: "Off The Record" end-to-end encryption plugin for Pidgin +Group: Productivity/Networking/Instant Messenger +Recommends: pidgin-plugin-otr-lang +# pidgin-otr was last used in openSUSE Leap 42.2. +Provides: %{name} = %{version}-%{release} +Obsoletes: %{name} < %{version}-%{release} +%requires_ge pidgin -- Authentication +%description -n pidgin-plugin-otr +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. -- 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. +%lang_package -n pidgin-plugin-otr %prep %setup -q %build -%configure --with-pic --disable-static -make %{?_smp_mflags} +%configure --disable-static +make %{?_smp_mflags} V=1 %install -make %{?_smp_mflags} DESTDIR=%{buildroot} install +%make_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 +%post -n pidgin-plugin-otr -p /sbin/ldconfig + +%postun -n pidgin-plugin-otr -p /sbin/ldconfig + +%files -n pidgin-plugin-otr +%defattr(-,root,root) +%doc AUTHORS COPYING NEWS README +%{_libdir}/pidgin/%{name}.so + +%files -n pidgin-plugin-otr-lang -f %{name}.lang +%defattr(-,root,root) %changelog