X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=pidgin.spec;h=8edb8b821f14fbccbd073a3f9a2c8d759c794aac;hb=b4a5bf13f8ba1ef181db722b7ff730724369fb33;hp=62ccc3e4def4659e246f8584c6abac236a25c138;hpb=92e79ce4c7b3d58d1113103ee85dbd7b2ea7975a;p=packages%2Fpidgin.git diff --git a/pidgin.spec b/pidgin.spec index 62ccc3e..8edb8b8 100644 --- a/pidgin.spec +++ b/pidgin.spec @@ -1,44 +1,32 @@ # TODO -# - fix broken linking, see filterout_ld -# - fix unref symbols: -# Unresolved symbols found in: /usr/lib64/purple-2/libjabber.so.0 -# Unresolved symbols found in: /usr/lib64/purple-2/liboscar.so.0 -# Unresolved symbols found in: /usr/lib64/purple-2/libymsg.so.0 -# - perl is installed to wrong dir on x8664: -# /usr/lib/perl5/x86_64-pld-linux-thread-multi/perllocal.pod +# - revise Requires for cyrus-sasl plugins (what is used in 2021? use Suggests instead?) # - subpackages for # - huge deps (mono...) -# - kerberos 4 with zephyr support? -# - external zephyr? -# http://packages.qa.debian.org/z/zephyr.html # - gtk3 status: http://developer.pidgin.im/wiki/GTK3 # -%bcond_without cap # without Contact Availability Prediction -%bcond_without dbus # without D-BUS (for pidgin-remote and others) -%bcond_without doc # do not generate and include documentation -%bcond_with dotnet # build with mono support -%bcond_without perl # build without Perl support -%bcond_with evolution # compile without the Pidgin-Evolution plugin +%bcond_without doc # Doxygen generated documentation +%bcond_without cap # Contact Availability Prediction plugin +%bcond_without dbus # D-Bus support (for pidgin-remote and others) +%bcond_without gconf # URL handler registration via GConf2 %bcond_with gnutls # use GnuTLS instead of NSS -%bcond_without gtkspell # without gtkspell support -%bcond_without meanwhile # without meanwhile support -%bcond_without sasl # disable SASL support -%bcond_without text # don't build text UI (finch) -%bcond_without silc # Build without SILC libraries +%bcond_without gtkspell # GtkSpell automatic spell checking %bcond_without nm # NetworkManager support (requires D-Bus) +%bcond_without perl # Perl scripting support +%bcond_without sasl # Cyrus SASL support +%bcond_without text # text UI (finch) %bcond_without vv # Voice and Video support +%bcond_without meanwhile # meanwhile (Sametime protocol) support +%bcond_without silc # SILC protocol support +%bcond_without evolution # Pidgin-Evolution plugin +%bcond_without system_zephyr # system installed Zephyr +%bcond_with unity # Unity interface %if %{without dbus} %undefine with_nm %endif -# plain i386 is not supported; mono uses cmpxchg/xadd which require i486 -%ifarch i386 -%undefine with_dotnet -%endif - %define gtk2_ver 2.10.6 -%define glib2_ver 2.24.0 +%define glib2_ver 2.68.0 Summary: A GTK+ based multiprotocol instant messaging client Summary(de.UTF-8): Pidgin ist ein Instant Messenger @@ -47,22 +35,20 @@ Summary(ko.UTF-8): AOL 인스턴트 메신저와 호환되는 클라이언트 Summary(pl.UTF-8): Oparty na GTK+ klient komunikatorów obsługujący wiele protokołów Summary(pt_BR.UTF-8): Um cliente para o AOL Instant Messenger (AIM) Name: pidgin -Version: 2.13.0 -Release: 8 +Version: 2.14.6 +Release: 1 License: GPL v2+ Group: Applications/Communications -Source0: http://downloads.sourceforge.net/pidgin/%{name}-%{version}.tar.bz2 -# Source0-md5: 423403494fe1951e47cc75231f743bb0 +Source0: https://downloads.sourceforge.net/pidgin/%{name}-%{version}.tar.bz2 +# Source0-md5: bba0fd38ee1d8b9b725c4dbdc33e58e7 Patch0: %{name}-nolibs.patch Patch1: %{name}-dbus-dir.patch -# Patch2: %{name}-libgadu.patch -# http://developer.pidgin.im/ticket/14936 -Patch3: %{name}-port-to-farstream.patch -Patch4: nm-1.0.patch -Patch5: python-3.8.patch +Patch2: %{name}-ca_file.patch URL: http://www.pidgin.im/ +%if %{with gconf} BuildRequires: GConf2 BuildRequires: GConf2-devel >= 2.16.0 +%endif %{?with_nm:BuildRequires: NetworkManager-devel} BuildRequires: autoconf >= 2.50 BuildRequires: automake >= 1:1.9 @@ -70,25 +56,32 @@ BuildRequires: avahi-devel BuildRequires: avahi-glib-devel BuildRequires: check >= 0.9.4 %{?with_sasl:BuildRequires: cyrus-sasl-devel} +%{?with_dbus:BuildRequires: dbus-devel >= 0.60} %{?with_dbus:BuildRequires: dbus-glib-devel >= 0.71} -%{?with_evolution:BuildRequires: evolution-data-server-devel >= 1.8.1} -BuildRequires: farstream-devel +%{?with_evolution:BuildRequires: evolution-data-server-devel >= 3.6} +BuildRequires: farstream-devel >= 0.2.7 BuildRequires: gettext-tools BuildRequires: glib2-devel >= 1:%{glib2_ver} %{?with_gnutls:BuildRequires: gnutls-devel} -BuildRequires: gstreamer0.10-devel >= 0.10.10 +BuildRequires: gstreamer-devel >= 1.0 +BuildRequires: gstreamer-plugins-base-devel >= 1.0 BuildRequires: gtk+2-devel >= 2:%{gtk2_ver} %{?with_gtkspell:BuildRequires: gtkspell-devel >= 1:2.0.16-2} +%{?with_unity:BuildRequires: indicator-messages-devel >= 12.10} BuildRequires: intltool -BuildRequires: libgadu-devel +BuildRequires: libgadu-devel >= 4:1.12.0 %{?with_text:BuildRequires: libgnt-devel >= 2.14.0} BuildRequires: libidn-devel BuildRequires: libtool -BuildRequires: libxml2-devel >= 2.6.26 +%{?with_unity:BuildRequires: libunity-devel >= 6.8} +BuildRequires: libxml2-devel >= 1:2.6.26 %{?with_meanwhile:BuildRequires: meanwhile-devel >= 1.0.0} -%{?with_dotnet:BuildRequires: mono-csharp} -%{?with_dotnet:BuildRequires: mono-devel} -BuildRequires: rpm >= 4.4.9-56 +BuildRequires: pango-devel >= 1:1.4.0 +BuildRequires: rpm-build >= 4.6 +%if %{with text} +BuildRequires: ncurses-devel +BuildRequires: ncurses-ext-devel +%endif %if %{without gnutls} BuildRequires: nspr-devel BuildRequires: nss-devel @@ -96,41 +89,42 @@ BuildRequires: nss-devel %{?with_perl:BuildRequires: perl-devel} BuildRequires: pkgconfig BuildRequires: protobuf-c-devel -BuildRequires: python-modules >= 1:2.4 +BuildRequires: python3-modules >= 1:3.2 %{?with_perl:BuildRequires: rpm-perlprov} BuildRequires: rpm-pythonprov -BuildRequires: rpmbuild(macros) >= 1.583 +BuildRequires: rpmbuild(macros) >= 1.745 %{?with_silc:BuildRequires: silc-toolkit-devel >= 1.1} BuildRequires: startup-notification-devel >= 0.5 -BuildRequires: tcl-devel -BuildRequires: tk-devel +BuildRequires: tcl-devel >= 8.3 +BuildRequires: tk-devel >= 8.3 %if %{with cap} BuildRequires: sqlite3-devel >= 3.3 %endif BuildRequires: xorg-lib-libSM-devel +BuildRequires: xorg-lib-libX11-devel +BuildRequires: xorg-lib-libXext-devel BuildRequires: xorg-lib-libXScrnSaver-devel +%{?with_system_zephyr:BuildRequires: zephyr-devel} %if %{with doc} BuildRequires: doxygen BuildRequires: graphviz %endif Requires(post,postun): gtk-update-icon-cache Requires(post,postun): hicolor-icon-theme -Requires(post,preun): GConf2 >= 2.16.0 +%{?with_gconf:Requires(post,preun): GConf2 >= 2.16.0} +Requires: gtk+2 >= 2:%{gtk2_ver} Requires: hicolor-icon-theme Requires: libpurple = %{version}-%{release} Requires: libpurple-protocol +Requires: pango >= 1:1.4.0 Suggests: enchant-myspell -Obsoletes: gaim -Obsoletes: gaim-ui -Obsoletes: gaim-ui-gtk +Obsoletes: gaim < 2.0.1 +Obsoletes: gaim-ui < 2.0.0 +Obsoletes: gaim-ui-gtk < 2.0.1 # discontinued gaim plugins -Obsoletes: gaim-encryption -Obsoletes: gaim-plugin-tlen -Obsoletes: gaim-plugin-xmms-remote -Obsoletes: libpurple-protocol-msn -Obsoletes: libpurple-protocol-mxit -Obsoletes: libpurple-protocol-myspace -Obsoletes: libpurple-protocol-yahoo +Obsoletes: gaim-encryption < 2.0.1 +Obsoletes: gaim-plugin-tlen < 2.0.1 +Obsoletes: gaim-plugin-xmms-remote < 2.0.1 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) # keep in sync ca-certificates @@ -140,13 +134,8 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define openssldir /var/lib/openssl/certs %endif -# /usr/bin/ld: gntaccount.o: undefined reference to symbol 'cur_term' -# /usr/bin/ld: note: 'cur_term' is defined in DSO /lib64/libtinfow.so.6 so try adding it to the linker command line -# /lib64/libtinfow.so.6: could not read symbols: Invalid operation -%define filterout_ld -Wl,--no-copy-dt-needed-entries - -# lots of purple and libxml syms -%define skip_post_check_so libjabber.so.0 libymsg.so.0 liboscar.so.0 +# internal libraries for plugins loaded by libpurple, use libpurple symbols (purple_*, xmlnode_*) +%define skip_post_check_so libjabber.so.0 %description Pidgin allows you to talk to anyone using a variety of messaging @@ -207,7 +196,7 @@ Summary(pl.UTF-8): Pliki programistyczne biblioteki klienta Pidgina Group: Development/Libraries Requires: gtk+2-devel >= 2:%{gtk2_ver} Requires: libpurple-devel = %{version}-%{release} -Obsoletes: gaim-devel +Obsoletes: gaim-devel < 2.0.1 %description devel Development files for Pidgin. @@ -218,15 +207,134 @@ Fejléc fájlok Pidginhez. %description devel -l pl.UTF-8 Pliki programistyczne biblioteki Pidgina. +%package doc +Summary: Pidgin documentation for developers (HTML format) +Summary(hu.UTF-8): Pidgin dokumentáció fejlesztőknek (HTML formában) +Summary(pl.UTF-8): Dokumentacja Pidgina dla programistów (format HTML) +Group: Documentation +Obsoletes: gaim-doc < 2.0.1 +BuildArch: noarch + +%description doc +Pidgin documentation for developers (HTML format). + +%description doc -l hu.UTF-8 +Pidgin dokumentáció fejlesztőknek (HTML formátumban). + +%description doc -l pl.UTF-8 +Dokumentacja Pidgina dla programistów (format HTML). + +%package perl +Summary: Pidgin files for Perl scripts +Summary(hu.UTF-8): Pidgin fájlok Perl szkriptekhez +Summary(pl.UTF-8): Pliki Pidgina dla skryptów w Perlu +Group: Libraries +Requires: libpurple = %{version}-%{release} +Requires: libpurple-perl = %{version}-%{release} +Obsoletes: gaim-perl < 2.0.1 + +%description perl +This package gives you ability to extend Pidgin functionality with +Perl scripts. + +%description perl -l hu.UTF-8 +Ezzel a csomaggal lehetőséged nyílik a Pidgin lehetőségeit bővíteni +Perl szkriptekkel. + +%description perl -l pl.UTF-8 +Ten pakiet daje możliwość rozszerzania funkcjonalności Pidgina za +pomocą skryptów Perla. + +%package plugin-evolution +Summary: Plugin for Ximian Evolution integration +Summary(hu.UTF-8): Plugin az Evolution-ba beépítéséhez +Summary(pl.UTF-8): Wtyczka do integracji z Evolution +Group: Libraries +Requires: %{name} = %{version}-%{release} +Requires: evolution-data-server >= 3.6 +Obsoletes: gaim-plugin-evolution < 2.0.1 + +%description plugin-evolution +Provides integration with Ximian Evolution. + +%description plugin-evolution -l hu.UTF-8 +Plugin az Evolution-ba beépítéséhez. + +%description plugin-evolution -l pl.UTF-8 +Wtyczka do integracji z Evolution. + +%package plugin-remote +Summary: Pidgin Remote Control +Summary(hu.UTF-8): Pidgin távoli irányítása +Summary(pl.UTF-8): Zdalne sterowanie Pidginem +Group: Libraries +Requires: %{name} = %{version}-%{release} +Requires: python3-dbus +Obsoletes: gaim-plugin-remote < 2.0.1 + +%description plugin-remote +This package gives Pidgin the ability to be remote-controlled through +third-party applications or through the pidgin-remote tool. + +%description plugin-remote -l hu.UTF-8 +Ezzel a csomaggal lehetőséged nyílik a Pidgint távolról irányítani +külső alkalmazásokkal vagy a pidgin-remote eszközzel. + +%description plugin-remote -l pl.UTF-8 +Ten pakiet daje możliwość zdalnego sterowania Pidginem przez inne +aplikacje albo narzędzie pidgin-remote. + +%package -n finch +Summary: A text-based user interface for Pidgin +Summary(pl.UTF-8): Tekstowy interfejs użytkownika dla Pidgina +Group: Applications/Networking +Requires: libgnt >= 2.14.0 +Requires: libpurple = %{version}-%{release} + +%description -n finch +A text-based user interface for using libpurple. This can be run from +a standard text console or from a terminal within X Window System. It +uses ncurses and our homegrown gnt library for drawing windows and +text. + +%description -n finch -l pl.UTF-8 +Tekstowy interfejs użytkownika wykorzystujący libpurple. Może być +uruchamiany na standardowej konsoli tekstowej lub z poziomu terminala +w systemi X Window. Wykorzystuje ncurses oraz własną bibliotekę gnt do +rysowania okien i wyświetlania tekstu. + +%package -n finch-devel +Summary: Header files and similar for Finch stuffs +Summary(pl.UTF-8): Pliki nagłówkowe do elementów Fincha +Group: Applications/Networking +Requires: libgnt-devel >= 2.14.0 +Requires: libpurple-devel = %{version}-%{release} + +%description -n finch-devel +The finch-devel package contains the header files and other +development files required for development of Finch scripts and +plugins. + +%description -n finch-devel -l pl.UTF-8 +Ten pakiet zwiera pliki nagłówkowe oraz inne niezbędne do +programowania skryptów oraz wtyczek do Fincha. + %package -n libpurple Summary: libpurple library for IM clients like Pidgin and Finch Summary(pl.UTF-8): Biblioteka libpurple dla klientów komunikatorów, takich jak Pidgin czy Finch Group: Applications/Networking Requires: ca-certificates -%{?with_sasl:Requires: cyrus-sasl-digest-md5} -%{?with_sasl:Requires: cyrus-sasl-plain} +Requires: farstream >= 0.2.7 Requires: glib2 >= 1:%{glib2_ver} +Requires: libxml2 >= 1:2.6.26 Obsoletes: libpurple-protocol-dir < 2.6.6-2 +Obsoletes: libpurple-protocol-msn < 2.12 +Obsoletes: libpurple-protocol-mtix < 2.6.6-5 +Obsoletes: libpurple-protocol-mxit < 2.12 +Obsoletes: libpurple-protocol-myspace < 2.12 +Obsoletes: libpurple-protocol-oscar < 2.14.4 +Obsoletes: libpurple-protocol-qq < 2.8 +Obsoletes: libpurple-protocol-yahoo < 2.12 Obsoletes: pidgin-libs < 2.6.6-2 %description -n libpurple @@ -252,9 +360,14 @@ Group: Applications/Networking Requires: libpurple = %{version}-%{release} %if %{with dbus} Requires: dbus-devel >= 0.60 -%endif Requires: dbus-glib-devel >= 0.70 -Requires: farstream-devel +%endif +Requires: farstream-devel >= 0.2.7 +Requires: glib2-devel >= 1:%{glib2_ver} +Requires: gstreamer-devel >= 1.0 +Requires: gstreamer-plugins-base-devel >= 1.0 +Requires: libidn-devel +Requires: libxml2-devel >= 1:2.6.26 Obsoletes: pidgin-devel < 2.6.6-2 %description -n libpurple-devel @@ -287,8 +400,8 @@ Summary(hu.UTF-8): Pidgin fájlok Tcl szkriptekhez Summary(pl.UTF-8): Obsługa skryptów Tcl-a dla libpurple Group: Libraries Requires: libpurple = %{version}-%{release} -Obsoletes: gaim-tcl -Obsoletes: pidgin-tcl +Obsoletes: gaim-tcl < 2.0.1 +Obsoletes: pidgin-tcl < 2.6.6-2 %description -n libpurple-tcl Tcl plugin loader for libpurple. This package will allow you to write @@ -302,115 +415,6 @@ Tcl szkriptekkel. Moduł wczytujący wtyczki Tcl-a dla libpurple. Umożliwia tworzenie oraz wykorzystywanie wtyczek dla libpurple napisanych w języku Tcl. -%package -n finch -Summary: A text-based user interface for Pidgin -Summary(pl.UTF-8): Tekstowy interfejs użytkownika dla Pidgina -Group: Applications/Networking -Requires: libpurple = %{version}-%{release} -Requires: libgnt >= 2.14.0 - -%description -n finch -A text-based user interface for using libpurple. This can be run from -a standard text console or from a terminal within X Window System. It -uses ncurses and our homegrown gnt library for drawing windows and -text. - -%description -n finch -l pl.UTF-8 -Tekstowy interfejs użytkownika wykorzystujący libpurple. Może być -uruchamiany na standardowej konsoli tekstowej lub z poziomu terminala -w systemi X Window. Wykorzystuje ncurses oraz własną bibliotekę gnt do -rysowania okien i wyświetlania tekstu. - -%package -n finch-devel -Summary: Header files and similar for Finch stuffs -Summary(pl.UTF-8): Pliki nagłówkowe do elementów Fincha -Group: Applications/Networking -Requires: finch = %{version}-%{release} -Requires: libpurple-devel = %{version}-%{release} -Requires: ncurses-devel - -%description -n finch-devel -The finch-devel package contains the header files and other -development files required for development of Finch scripts and -plugins. - -%description -n finch-devel -l pl.UTF-8 -Ten pakiet zwiera pliki nagłówkowe oraz inne niezbędne do -programowania skryptów oraz wtyczek do Fincha. - -%package perl -Summary: Pidgin files for Perl scripts -Summary(hu.UTF-8): Pidgin fájlok Perl szkriptekhez -Summary(pl.UTF-8): Pliki Pidgina dla skryptów w Perlu -Group: Libraries -Requires: libpurple = %{version}-%{release} -Requires: libpurple-perl = %{version}-%{release} -Obsoletes: gaim-perl - -%description perl -This package gives you ability to extend Pidgin functionality with -Perl scripts. - -%description perl -l hu.UTF-8 -Ezzel a csomaggal lehetőséged nyílik a Pidgin lehetőségeit bővíteni -Perl szkriptekkel. - -%description perl -l pl.UTF-8 -Ten pakiet daje możliwość rozszerzania funkcjonalności Pidgina za -pomocą skryptów Perla. - -%package plugin-evolution -Summary: Plugin for Ximian Evolution integration -Summary(hu.UTF-8): Plugin az Evolution-ba beépítéséhez -Summary(pl.UTF-8): Wtyczka do integracji z Evolution -Group: Libraries -Requires: %{name} = %{version}-%{release} -Obsoletes: gaim-plugin-evolution - -%description plugin-evolution -Provides integration with Ximian Evolution. - -%description plugin-evolution -l hu.UTF-8 -Plugin az Evolution-ba beépítéséhez. - -%description plugin-evolution -l pl.UTF-8 -Wtyczka do integracji z Evolution. - -%package plugin-remote -Summary: Pidgin Remote Control -Summary(hu.UTF-8): Pidgin távoli irányítása -Summary(pl.UTF-8): Zdalne sterowanie Pidginem -Group: Libraries -Requires: %{name} = %{version}-%{release} -Obsoletes: gaim-plugin-remote - -%description plugin-remote -This package gives Pidgin the ability to be remote-controlled through -third-party applications or through the pidgin-remote tool. - -%description plugin-remote -l hu.UTF-8 -Ezzel a csomaggal lehetőséged nyílik a Pidgint távolról irányítani -külső alkalmazásokkal vagy a pidgin-remote eszközzel. - -%description plugin-remote -l pl.UTF-8 -Ten pakiet daje możliwość zdalnego sterowania Pidginem przez inne -aplikacje albo narzędzie pidgin-remote. - -%package -n libpurple-protocol-oscar -Summary: Oscar protocol (AIM/ICQ Networks) support for libpurple -Summary(pl.UTF-8): Obsługa protokołu Oscar (sieci AIM/ICQ) dla biblioteki libpurple -Group: Applications/Communications -Requires: libpurple = %{version}-%{release} -Provides: libpurple-protocol -Obsoletes: libpurple-protocol-aim -Obsoletes: libpurple-protocol-icq - -%description -n libpurple-protocol-oscar -Oscar protocol (AIM/ICQ Networks) support for libpurple. - -%description -n libpurple-protocol-oscar -l pl.UTF-8 -Obsługa protokołu Oscar (sieci AIM/ICQ) dla biblioteki libpurple. - %package -n libpurple-protocol-bonjour Summary: Bonjour protocol support for libpurple Summary(pl.UTF-8): Obsługa protokołu Bonjour dla biblioteki libpurple @@ -428,6 +432,7 @@ Obsługa protokołu Bonjour dla biblioteki libpurple. Summary: Gadu-Gadu protocol support for libpurple Summary(pl.UTF-8): Obsługa protokołu Gadu-Gadu dla biblioteki libpurple Group: Applications/Communications +Requires: libgadu >= 4:1.12.0 Requires: libpurple = %{version}-%{release} Provides: libpurple-protocol @@ -456,6 +461,11 @@ Summary: IRC protocol support for libpurple Summary(pl.UTF-8): Obsługa protokołu IRC dla biblioteki libpurple Group: Applications/Communications Requires: libpurple = %{version}-%{release} +%if %{with sasl} +# most common SASL mechanisms for IRC are EXTERNAL (not supported), PLAIN and SCRAM-SHA-256 +Requires: cyrus-sasl-plain +Requires: cyrus-sasl-scram +%endif Provides: libpurple-protocol %description -n libpurple-protocol-irc @@ -464,25 +474,13 @@ IRC protocol support for libpurple. %description -n libpurple-protocol-irc -l pl.UTF-8 Obsługa protokołu IRC dla biblioteki libpurple. -%package -n libpurple-protocol-simple -Summary: SIP/SIMPLE protocol support for libpurple -Summary(pl.UTF-8): Obsługa protokołu SIP/SIMPLE dla libpurple -Group: Applications/Communications -Requires: libpurple = %{version}-%{release} -Provides: libpurple-protocol - -%description -n libpurple-protocol-simple -SIP/SIMPLE protocol support for libpurple. - -%description -n libpurple-protocol-simple -l pl.UTF-8 -Obsługa protokołu SIP/SIMPLE dla libpurple. - %package -n libpurple-protocol-sametime Summary: Lotus Sametime protocol support for libpurple Summary(pl.UTF-8): Obsługa protokołu Lotus Sametime dla libpurple Group: Applications/Communications URL: http://meanwhile.sourceforge.net/ Requires: libpurple = %{version}-%{release} +Requires: meanwhile >= 1.0.0 Provides: libpurple-protocol %description -n libpurple-protocol-sametime @@ -509,13 +507,32 @@ libpurple. Obsługa protokołu SILC (Secure Internet Live Conferencing) dla libpurple. +%package -n libpurple-protocol-simple +Summary: SIP/SIMPLE protocol support for libpurple +Summary(pl.UTF-8): Obsługa protokołu SIP/SIMPLE dla libpurple +Group: Applications/Communications +Requires: libpurple = %{version}-%{release} +Provides: libpurple-protocol + +%description -n libpurple-protocol-simple +SIP/SIMPLE protocol support for libpurple. + +%description -n libpurple-protocol-simple -l pl.UTF-8 +Obsługa protokołu SIP/SIMPLE dla libpurple. + %package -n libpurple-protocol-xmpp Summary: XMPP (Jabber, GTalk) protocol support for libpurple Summary(pl.UTF-8): Obsługa protokołu XMPP (Jabber, GTalk) dla libpurple Group: Applications/Communications Requires: libpurple = %{version}-%{release} +%if %{with sasl} +# most common SASL mechanisms for XMPP (beside EXTERNAL, which is not supported) +# (is it up to date? DIGEST-MD5 is obsolete SASL mechanism now) +Requires: cyrus-sasl-digest-md5 +Requires: cyrus-sasl-plain +%endif Provides: libpurple-protocol -Obsoletes: libpurple-protocol-jabber +Obsoletes: libpurple-protocol-jabber < 2.6.6-5 %description -n libpurple-protocol-xmpp Extensible Messaging and Presence Protocol (XMPP) protocol support for @@ -539,74 +556,45 @@ Zephyr protocol support for libpurple. %description -n libpurple-protocol-zephyr -l pl.UTF-8 Obsługa protokołu Zephyr dla libpurple. -%package doc -Summary: Pidgin documentation for developers (HTML format) -Summary(hu.UTF-8): Pidgin dokumentáció fejlesztőknek (HTML formában) -Summary(pl.UTF-8): Dokumentacja Pidgina dla programistów (format HTML) -Group: Documentation -Obsoletes: gaim-doc -%if "%{_rpmversion}" >= "5" -BuildArch: noarch -%endif - -%description doc -Pidgin documentation for developers (HTML format). - -%description doc -l hu.UTF-8 -Pidgin dokumentáció fejlesztőknek (HTML formátumban). - -%description doc -l pl.UTF-8 -Dokumentacja Pidgina dla programistów (format HTML). - %prep %setup -q %patch0 -p1 %patch1 -p1 -#%%patch2 -p1 -#%patch3 -p1 -%patch4 -p1 -%patch5 -p1 +%patch2 -p1 -%{__sed} -i -e '1s|#!/usr/bin/env python$|#!%{__python}|' libpurple/purple-{remote,url-handler} +%{__sed} -i -e '1s|#!/usr/bin/env python3$|#!%{__python3}|' libpurple/purple-{remote,url-handler} %build -%if %{with dotnet} -if [ ! -f /proc/cpuinfo ]; then - echo >&2 "Mono requires /proc to be mounted." - exit 1 -fi -%endif - -# %{__intltoolize} %{__libtoolize} %{__aclocal} -I m4macros -%{__autoheader} %{__autoconf} +%{__autoheader} %{__automake} %configure \ - --with-extraversion=%{release} \ - --with-system-ssl-certs=%{openssldir} \ + %{!?with_gconf:ac_cv_path_GCONFTOOL=no} \ + --enable-cap%{!?with_cap:=no} \ + --enable-consoleui%{!?with_text:=no} \ + %{?with_sasl:--enable-cyrus-sasl} \ + --enable-dbus%{!?with_dbus:=no} \ + %{?with_doc:--enable-devhelp --enable-dot} \ + --enable-gevolution%{!?with_evolution:=no} \ + %{!?with_gnutls:--disable-gnutls} \ + --enable-gtkspell%{!?with_gtkspell:=no} \ + %{!?with_meanwhile:--disable-meanwhile} \ + --enable-nm%{!?with_nm:=no} \ + %{?with_gnutls:--disable-nss} \ + --enable-perl%{!?with_perl:=no} \ --disable-schemas-install \ --disable-silent-rules \ - --%{?with_vv:en}%{!?with_vv:dis}able-vv \ - %{!?with_gnutls:--enable-gnutls=no} \ - %{!?with_meanwhile:--enable-meanwhile=no} \ - %{?with_gnutls:--enable-nss=no} \ - %{?with_doc:--enable-dot --enable-devhelp} \ + %{?with_unity:--enable-unity} \ + --enable-vv%{!?with_vv:=no} \ + --with-extraversion=%{release} \ %{!?with_silc:--with-silc-includes=not_existent_directory} \ - %{?with_sasl:--enable-cyrus-sasl} \ - --%{?with_cap:en}%{!?with_cap:dis}able-cap \ - --%{?with_dbus:en}%{!?with_dbus:dis}able-dbus \ - --%{?with_nm:en}%{!?with_nm:dis}able-nm \ - --%{?with_evolution:en}%{!?with_evolution:dis}able-gevolution \ - --%{!?with_gtkspell:dis}%{?with_gtkspell:en}able-gtkspell \ - --%{!?with_dotnet:dis}%{?with_dotnet:en}able-mono \ - --%{!?with_perl:dis}%{?with_perl:en}able-perl \ - --%{?with_text:en}%{!?with_text:dis}able-consoleui \ - --with-gadu-libs=%{_libdir} \ - --with-gadu-includes=%{_includedir} + --with-system-ssl-certs=%{openssldir} \ + --with-zephyr%{!?with_system_zephyr:=no} %{__make} + %{?with_doc:%{__make} docs} %install @@ -616,10 +604,11 @@ install -d $RPM_BUILD_ROOT%{_sysconfdir}/purple %{__make} install \ DESTDIR=$RPM_BUILD_ROOT +%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ar_SA +%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ku_IQ %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/mhr -%{__mv} $RPM_BUILD_ROOT%{_localedir}/my{_MM,} %{__mv} $RPM_BUILD_ROOT%{_localedir}/ms{_MY,} -%{__rm} -rf $RPM_BUILD_ROOT%{_localedir}/ku_IQ +%{__mv} $RPM_BUILD_ROOT%{_localedir}/my{_MM,} %find_lang %{name} --with-gnome @@ -643,8 +632,8 @@ install -d $RPM_BUILD_ROOT%{_sysconfdir}/purple # resolve soname symlinks, affected plugins have rpath pointing there for a in $RPM_BUILD_ROOT%{_libdir}/purple-2/lib*.so.*.*.*; do soname=$(objdump -p $a | awk '/SONAME/{print $2}') - mv $a $(dirname $a)/$soname - rm ${a%.*.*.*} + %{__mv} $a $(dirname $a)/$soname + %{__rm} ${a%.*.*.*} done # rm windows icons @@ -654,7 +643,7 @@ done rm -rf $RPM_BUILD_ROOT %post -%gconf_schema_install purple.schemas +%{?with_gconf:%gconf_schema_install purple.schemas} %update_icon_cache hicolor if [ "$1" = 1 ]; then %banner %{name} -e <<-EOF @@ -663,7 +652,7 @@ EOF fi %preun -%gconf_schema_uninstall purple.schemas +%{?with_gconf:%gconf_schema_uninstall purple.schemas} %postun %update_icon_cache hicolor @@ -677,7 +666,7 @@ fi %files -f %{name}.lang %defattr(644,root,root,755) %doc AUTHORS ChangeLog{,.API} HACKING NEWS PLUGIN_HOWTO README* -%{_sysconfdir}/gconf/schemas/purple.schemas +%{?with_gconf:%{_sysconfdir}/gconf/schemas/purple.schemas} %attr(755,root,root) %{_bindir}/pidgin %dir %{_libdir}/pidgin %if %{with cap} @@ -691,28 +680,86 @@ fi %attr(755,root,root) %{_libdir}/pidgin/history.so %attr(755,root,root) %{_libdir}/pidgin/iconaway.so %attr(755,root,root) %{_libdir}/pidgin/markerline.so +%if %{with dbus} +%attr(755,root,root) %{_libdir}/pidgin/musicmessaging.so +%endif %attr(755,root,root) %{_libdir}/pidgin/notify.so %attr(755,root,root) %{_libdir}/pidgin/relnot.so +%attr(755,root,root) %{_libdir}/pidgin/sendbutton.so %attr(755,root,root) %{_libdir}/pidgin/spellchk.so +%attr(755,root,root) %{_libdir}/pidgin/themeedit.so %attr(755,root,root) %{_libdir}/pidgin/ticker.so %attr(755,root,root) %{_libdir}/pidgin/timestamp.so %attr(755,root,root) %{_libdir}/pidgin/timestamp_format.so %attr(755,root,root) %{_libdir}/pidgin/transparency.so -%{?with_vv:%attr(755,root,root) %{_libdir}/pidgin/vvconfig.so} +%if %{with unity} +%attr(755,root,root) %{_libdir}/pidgin/unity.so +%endif +%if %{with vv} +%attr(755,root,root) %{_libdir}/pidgin/vvconfig.so +%endif %attr(755,root,root) %{_libdir}/pidgin/xmppconsole.so -%attr(755,root,root) %{_libdir}/pidgin/sendbutton.so -%attr(755,root,root) %{_libdir}/pidgin/themeedit.so %attr(755,root,root) %{_libdir}/pidgin/xmppdisco.so -%if %{with dbus} -%attr(755,root,root) %{_libdir}/pidgin/musicmessaging.so -%endif %{_mandir}/man1/pidgin.1* -%{_datadir}/appdata/pidgin.appdata.xml +%{_datadir}/metainfo/pidgin.appdata.xml %{_desktopdir}/pidgin.desktop %{_pixmapsdir}/pidgin -%{_iconsdir}/hicolor/*/apps/pidgin.png -%{_iconsdir}/hicolor/*/apps/pidgin.svg +%{_iconsdir}/hicolor/*x*/apps/pidgin.png +%{_iconsdir}/hicolor/scalable/apps/pidgin.svg + +%files devel +%defattr(644,root,root,755) +%{_includedir}/pidgin +%{_pkgconfigdir}/pidgin.pc + +%if %{with doc} +%files doc +%defattr(644,root,root,755) +%doc doc/html/*.{html,png,css} +%endif + +%if %{with perl} +%files perl +%defattr(644,root,root,755) +%dir %{_libdir}/pidgin/perl +%{_libdir}/pidgin/perl/Pidgin.pm +%dir %{_libdir}/pidgin/perl/auto +%dir %{_libdir}/pidgin/perl/auto/Pidgin +%attr(755,root,root) %{_libdir}/pidgin/perl/auto/Pidgin/Pidgin.so +%{_mandir}/man3/Pidgin.3pm* +%endif + +%if %{with evolution} +%files plugin-evolution +%defattr(644,root,root,755) +%attr(755,root,root) %{_libdir}/pidgin/gevolution.so +%endif + +%if %{with dbus} +%files plugin-remote +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/purple-remote +%endif + +%if %{with text} +%files -n finch +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/finch +%dir %{_libdir}/finch +%attr(755,root,root) %{_libdir}/finch/gntclipboard.so +%attr(755,root,root) %{_libdir}/finch/gntgf.so +%attr(755,root,root) %{_libdir}/finch/gnthistory.so +%attr(755,root,root) %{_libdir}/finch/gntlastlog.so +%attr(755,root,root) %{_libdir}/finch/gnttinyurl.so +%attr(755,root,root) %{_libdir}/finch/grouping.so +%{_mandir}/man1/finch.1* + +%files -n finch-devel +%defattr(644,root,root,755) +%{_includedir}/finch +%{_pkgconfigdir}/finch.pc +%endif %files -n libpurple %defattr(644,root,root,755) @@ -734,14 +781,12 @@ fi %attr(755,root,root) %{_libdir}/purple-2/offlinemsg.so %attr(755,root,root) %{_libdir}/purple-2/psychic.so %attr(755,root,root) %{_libdir}/purple-2/ssl.so +%if %{without gnutls} %attr(755,root,root) %{_libdir}/purple-2/nss-prefs.so +%attr(755,root,root) %{_libdir}/purple-2/ssl-nss.so +%endif %{?with_gnutls:%attr(755,root,root) %{_libdir}/purple-2/ssl-gnutls.so} -%{!?with_gnutls:%attr(755,root,root) %{_libdir}/purple-2/ssl-nss.so} %attr(755,root,root) %{_libdir}/purple-2/statenotify.so -%if %{with dotnet} -#%attr(755,root,root) %{_libdir}/purple-2/*.dll -#%attr(755,root,root) %{_libdir}/purple-2/mono.so -%endif %{_datadir}/sounds/purple %if %{with dbus} @@ -767,11 +812,11 @@ fi %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/purple-2/perl.so %dir %{_libdir}/purple-2/perl -%{_libdir}/purple-2/perl/*.pm +%{_libdir}/purple-2/perl/Purple.pm %dir %{_libdir}/purple-2/perl/auto %dir %{_libdir}/purple-2/perl/auto/Purple -%{_libdir}/purple-2/perl/auto/Purple/*.ix -%attr(755,root,root) %{_libdir}/purple-2/perl/auto/Purple/*.so +%{_libdir}/purple-2/perl/auto/Purple/autosplit.ix +%attr(755,root,root) %{_libdir}/purple-2/perl/auto/Purple/Purple.so %{_mandir}/man3/Purple.3pm* %endif @@ -779,60 +824,6 @@ fi %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/purple-2/tcl.so -%if %{with text} -%files -n finch -%defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/finch -%dir %{_libdir}/finch -%attr(755,root,root) %{_libdir}/finch/gntclipboard.so -%attr(755,root,root) %{_libdir}/finch/gntgf.so -%attr(755,root,root) %{_libdir}/finch/gnthistory.so -%attr(755,root,root) %{_libdir}/finch/gntlastlog.so -%attr(755,root,root) %{_libdir}/finch/gnttinyurl.so -%attr(755,root,root) %{_libdir}/finch/grouping.so -%{_mandir}/man1/finch.* - -%files -n finch-devel -%defattr(644,root,root,755) -%{_includedir}/finch -%{_pkgconfigdir}/finch.pc -%endif - -%files devel -%defattr(644,root,root,755) -%{_includedir}/pidgin -%{_pkgconfigdir}/pidgin.pc - -%if %{with perl} -%files perl -%defattr(644,root,root,755) -%dir %{_libdir}/pidgin/perl -%{_libdir}/pidgin/perl/*.pm -%dir %{_libdir}/pidgin/perl/auto -%dir %{_libdir}/pidgin/perl/auto/Pidgin -%attr(755,root,root) %{_libdir}/pidgin/perl/auto/Pidgin/*.so -%{_mandir}/man3/Pidgin.3pm* -%endif - -%if %{with evolution} -%files plugin-evolution -%defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/pidgin/gevolution.so -%endif - -%if %{with dbus} -%files plugin-remote -%defattr(644,root,root,755) -%attr(755,root,root) %{_bindir}/purple-remote -%endif - -%files -n libpurple-protocol-oscar -%defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/purple-2/libicq.so -%attr(755,root,root) %{_libdir}/purple-2/libaim.so -# shared library for aim/icq protocols -%attr(755,root,root) %{_libdir}/purple-2/liboscar.so.0 - %files -n libpurple-protocol-bonjour %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/purple-2/libbonjour.so @@ -849,9 +840,11 @@ fi %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/purple-2/libirc.so -%files -n libpurple-protocol-simple +%if %{with meanwhile} +%files -n libpurple-protocol-sametime %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/purple-2/libsimple.so +%attr(755,root,root) %{_libdir}/purple-2/libsametime.so +%endif %if %{with silc} %files -n libpurple-protocol-silc @@ -859,23 +852,15 @@ fi %attr(755,root,root) %{_libdir}/purple-2/libsilcpurple.so %endif -%if %{with meanwhile} -%files -n libpurple-protocol-sametime +%files -n libpurple-protocol-simple %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/purple-2/libsametime.so -%endif +%attr(755,root,root) %{_libdir}/purple-2/libsimple.so %files -n libpurple-protocol-xmpp %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/purple-2/libxmpp.so %attr(755,root,root) %{_libdir}/purple-2/libjabber.so.0 +%attr(755,root,root) %{_libdir}/purple-2/libxmpp.so %files -n libpurple-protocol-zephyr %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/purple-2/libzephyr.so - -%if %{with doc} -%files doc -%defattr(644,root,root,755) -%doc doc/html/*.{html,png,css} -%endif